.bt-catalog-shell {
	--bt-catalog-gutter: clamp(16px, 4vw, 72px);
	--bt-catalog-offset: 0px;
	width: min(1720px, calc(100vw - (2 * var(--bt-catalog-gutter))));
	max-width: none;
	margin: clamp(30px, 4vw, 62px) 50% 0;
	transform: translateX(calc(-50% + var(--bt-catalog-offset)));
}

.bt-catalog-shell--compact {
	width: 100%;
	max-width: none;
	margin: 0;
	transform: none;
}

.bt-catalog-filters {
	display: flex;
	margin: 0 0 clamp(24px, 3vw, 42px);
	padding: 0 0 18px;
	border-bottom: 1px solid rgba(243, 236, 223, .14);
	gap: 10px;
	flex-wrap: wrap;
}

.bt-catalog-filter {
	display: inline-flex;
	min-height: 42px;
	box-sizing: border-box;
	align-items: center;
	justify-content: center;
	padding: 9px 15px;
	border: 1px solid rgba(243, 236, 223, .18);
	color: rgba(243, 236, 223, .76);
	font-size: .72rem;
	font-weight: 800;
	letter-spacing: .055em;
	line-height: 1.15;
	text-decoration: none;
	text-transform: uppercase;
	transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}

.bt-catalog-filter:hover,
.bt-catalog-filter:focus-visible {
	border-color: #c88b2a;
	color: #f3ecdf;
}

.bt-catalog-filter.is-active {
	border-color: #c88b2a;
	background: #c88b2a;
	color: #111210;
}

.bt-catalog-grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: clamp(18px, 1.5vw, 28px);
}

.bt-catalog-grid--columns-1 { grid-template-columns: minmax(0, 1fr); }
.bt-catalog-grid--columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bt-catalog-grid--columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bt-catalog-grid--columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.bt-catalog-grid--columns-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.bt-catalog-grid--columns-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }

.bt-catalog-card {
	display: flex;
	min-width: 0;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid rgba(243, 236, 223, .14);
	background: #121310;
	box-shadow: 0 18px 48px rgba(0, 0, 0, .18);
	transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.bt-catalog-card:hover {
	transform: translateY(-6px);
	border-color: rgba(200, 139, 42, .72);
	box-shadow: 0 24px 60px rgba(0, 0, 0, .3);
}

.bt-catalog-card__media {
	position: relative;
	display: flex;
	aspect-ratio: 4 / 5;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	overflow: hidden;
	background:
		radial-gradient(circle at 50% 36%, rgba(200, 139, 42, .18), transparent 42%),
		linear-gradient(145deg, #1c1d18, #0d0e0c);
	color: #f3ecdf;
	text-decoration: none;
}

.bt-catalog-card__media::after {
	position: absolute;
	right: 20px;
	bottom: 20px;
	left: 20px;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(200, 139, 42, .75), transparent);
	content: "";
}

.bt-catalog-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	box-sizing: border-box;
	padding: clamp(10px, 7%, 20px);
	object-fit: contain;
	object-position: center center;
	transition: transform .35s ease;
}

.bt-catalog-card:hover .bt-catalog-card__media img { transform: scale(1.025); }

.bt-catalog-card__placeholder-mark {
	font-family: "Playfair Display", Georgia, serif;
	font-size: clamp(3rem, 3.5vw, 4.8rem);
	font-weight: 700;
	line-height: 1;
	letter-spacing: -.06em;
}

.bt-catalog-card__placeholder-copy {
	margin-top: 14px;
	color: rgba(243, 236, 223, .58);
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.bt-catalog-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: clamp(17px, 1.25vw, 24px);
}

.bt-catalog-card--compact .bt-catalog-card__body {
	padding: clamp(18px, 1.5vw, 26px);
}

.bt-catalog-card--compact .bt-catalog-card__title {
	margin-bottom: 14px !important;
}

.bt-catalog-card--compact .bt-catalog-card__description {
	font-size: .9rem;
	line-height: 1.6;
}

.bt-catalog-card__line {
	margin: 0 0 10px;
	color: #c88b2a;
	font-size: .69rem;
	font-weight: 800;
	letter-spacing: .11em;
	text-transform: uppercase;
}

.bt-catalog-card__title {
	margin: 0 0 16px !important;
	font-family: "Playfair Display", Georgia, serif;
	font-size: clamp(1.4rem, 1.45vw, 1.85rem) !important;
	line-height: 1.08;
}

.bt-catalog-card__title a {
	color: #f3ecdf;
	text-decoration: none;
}

.bt-catalog-card__attributes {
	display: flex;
	margin: 0 0 17px;
	padding: 0;
	gap: 8px;
	flex-wrap: wrap;
	list-style: none;
}

.bt-catalog-card__attributes li {
	display: flex;
	padding: 7px 9px;
	border: 1px solid rgba(243, 236, 223, .13);
	background: rgba(255, 255, 255, .025);
	gap: 5px;
	font-size: .72rem;
	line-height: 1.15;
}

.bt-catalog-card__attributes span { color: rgba(243, 236, 223, .56); }
.bt-catalog-card__attributes strong { color: #f3ecdf; font-weight: 700; }

.bt-catalog-card__description {
	margin: 0 0 22px;
	color: rgba(243, 236, 223, .72);
	font-size: .84rem;
	line-height: 1.55;
}

.bt-catalog-card__link {
	align-self: flex-start;
	margin-top: auto;
	color: #c88b2a;
	font-size: .76rem;
	font-weight: 800;
	letter-spacing: .06em;
	text-decoration: none;
	text-transform: uppercase;
}

.bt-catalog-card__link span {
	display: inline-block;
	margin-left: 6px;
	transition: transform .2s ease;
}

.bt-catalog-card__link:hover span { transform: translateX(4px); }

.bt-catalog-empty {
	padding: 30px;
	border: 1px solid rgba(243, 236, 223, .14);
	color: rgba(243, 236, 223, .72);
	text-align: center;
}

/* Public WooCommerce customer login is intentionally disabled. */
.wp-block-woocommerce-customer-account {
	display: none !important;
}

/* Compact product specifications and remove the unused long-description area. */
.bt-single-product .wp-block-woocommerce-product-specifications {
	width: 100%;
	max-width: 560px !important;
	margin: 0 !important;
}

.bt-single-product .wp-block-woocommerce-product-specifications table,
.bt-single-product table.woocommerce-product-attributes {
	width: 100% !important;
	max-width: 560px !important;
	margin: 0 !important;
	border-collapse: collapse !important;
	border-spacing: 0 !important;
	table-layout: fixed;
}

.bt-single-product .wp-block-woocommerce-product-specifications tr,
.bt-single-product table.woocommerce-product-attributes tr {
	height: auto !important;
}

.bt-single-product .wp-block-woocommerce-product-specifications th,
.bt-single-product .wp-block-woocommerce-product-specifications td,
.bt-single-product table.woocommerce-product-attributes th,
.bt-single-product table.woocommerce-product-attributes td {
	height: auto !important;
	min-height: 0 !important;
	padding: 7px 0 !important;
	font-size: .84rem !important;
	line-height: 1.3 !important;
	vertical-align: top !important;
}

.bt-single-product .wp-block-woocommerce-product-specifications th,
.bt-single-product table.woocommerce-product-attributes th {
	width: 38% !important;
	padding-right: 18px !important;
}

.bt-single-product .wp-block-woocommerce-product-specifications td,
.bt-single-product table.woocommerce-product-attributes td {
	width: 62% !important;
	font-size: .9rem !important;
}

.bt-single-product .wp-block-woocommerce-product-specifications td > :first-child,
.bt-single-product table.woocommerce-product-attributes td > :first-child {
	margin-top: 0 !important;
}

.bt-single-product .wp-block-woocommerce-product-specifications td > :last-child,
.bt-single-product table.woocommerce-product-attributes td > :last-child {
	margin-bottom: 0 !important;
}

.bt-single-product .bt-product-rule {
	margin: 18px 0 !important;
}

.bt-single-product .bt-product-details-title {
	margin-bottom: 7px !important;
}

.bt-single-product__description {
	display: none !important;
}

.bt-product-downloads {
	width: 100%;
	max-width: 560px;
	box-sizing: border-box;
	margin: 22px 0 0;
	padding: 17px 0 0;
	border-top: 1px solid rgba(243, 236, 223, .14);
}

.bt-product-downloads__title {
	margin: 0 0 11px !important;
	color: rgba(243, 236, 223, .62);
	font-size: .68rem;
	font-weight: 800;
	letter-spacing: .11em;
	text-transform: uppercase;
}

.bt-product-downloads__buttons {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.bt-product-download {
	display: inline-flex;
	min-height: 42px;
	box-sizing: border-box;
	align-items: center;
	justify-content: center;
	padding: 10px 16px;
	border: 1px solid #c88b2a;
	color: #f3ecdf;
	font-size: .72rem;
	font-weight: 800;
	letter-spacing: .055em;
	line-height: 1.2;
	text-decoration: none;
	text-transform: uppercase;
	transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.bt-product-download::before {
	margin-right: 8px;
	font-size: .9rem;
	line-height: 1;
	content: "↓";
}

.bt-product-download:hover,
.bt-product-download:focus-visible {
	background: #c88b2a;
	color: #111210;
	transform: translateY(-2px);
}

.bt-product-download--xlsx {
	border-color: rgba(243, 236, 223, .34);
}

.bt-product-download--xlsx:hover,
.bt-product-download--xlsx:focus-visible {
	border-color: #f3ecdf;
	background: #f3ecdf;
}

@media (min-width: 901px) and (max-width: 1200px) {
	.bt-catalog-card__body { padding: 14px; }
	.bt-catalog-card--full .bt-catalog-card__description { display: none; }
	.bt-catalog-card__attributes { gap: 5px; }
	.bt-catalog-card__attributes li {
		width: 100%;
		box-sizing: border-box;
		padding: 6px 7px;
		font-size: .66rem;
	}
	.bt-catalog-card__placeholder-copy {
		font-size: .62rem;
		letter-spacing: .08em;
	}
}

@media (max-width: 900px) {
	.bt-catalog-grid,
	.bt-catalog-grid--columns-5,
	.bt-catalog-grid--columns-6 {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (max-width: 720px) {
	.bt-catalog-grid,
	.bt-catalog-grid--columns-4,
	.bt-catalog-grid--columns-5,
	.bt-catalog-grid--columns-6 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 560px) {
	.bt-catalog-grid,
	.bt-catalog-grid--columns-3,
	.bt-catalog-grid--columns-4,
	.bt-catalog-grid--columns-5,
	.bt-catalog-grid--columns-6 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 420px) {
	.bt-catalog-shell {
		--bt-catalog-gutter: 16px;
		margin-top: 28px;
	}
	.bt-catalog-shell--compact { margin-top: 0; }

	.bt-catalog-grid,
	.bt-catalog-grid--columns-2,
	.bt-catalog-grid--columns-3,
	.bt-catalog-grid--columns-4,
	.bt-catalog-grid--columns-5,
	.bt-catalog-grid--columns-6 {
		grid-template-columns: minmax(0, 1fr);
	}

	.bt-catalog-card__body { padding: 20px; }
	.bt-catalog-filter { width: 100%; }
}

@media (max-width: 600px) {
	.bt-single-product .wp-block-woocommerce-product-specifications,
	.bt-single-product .wp-block-woocommerce-product-specifications table,
	.bt-single-product table.woocommerce-product-attributes {
		max-width: 100% !important;
	}

	.bt-product-downloads { max-width: 100%; }
	.bt-product-downloads__buttons { display: grid; grid-template-columns: 1fr; }
	.bt-product-download { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
	.bt-catalog-card,
	.bt-catalog-card__media img,
	.bt-catalog-card__link span,
	.bt-catalog-filter,
	.bt-product-download {
		transition: none;
	}
}
