/**
 * Decorss Theme - Custom Styles
 *
 * Extends theme.json with animations, hover effects,
 * and layout refinements for a premium architectural feel.
 */

/* ==============================================
   Base & Typography
   ============================================== */

/* Smooth scrolling for a polished feel */
html {
	scroll-behavior: smooth;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* Selection color */
::selection {
	background-color: var(--wp--preset--color--terracotta);
	color: var(--wp--preset--color--white);
}

/* ==============================================
   Header & Navigation
   ============================================== */

/* Sticky header with subtle background transition */
.wp-site-blocks > header,
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background-color: rgba(249, 247, 244, 0.92);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--wp--preset--color--light-neutral);
	transition: background-color 0.3s ease;
}

/* Navigation link hover — underline animation */
.wp-block-navigation .wp-block-navigation-item__content {
	position: relative;
	transition: color 0.3s ease;
}

.wp-block-navigation .wp-block-navigation-item__content::after {
	content: '';
	position: absolute;
	bottom: -2px;
	left: 0;
	width: 0;
	height: 1.5px;
	background-color: var(--wp--preset--color--terracotta);
	transition: width 0.3s ease;
}

.wp-block-navigation .wp-block-navigation-item__content:hover::after {
	width: 100%;

	}

	/* Remove underline from header nav links */
	.site-header a,
	.site-header p a {
		text-decoration: none !important;
	}

	.site-header a:hover {
		color: var(--wp--preset--color--terracotta);
		text-decoration: none !important;
	}

/* ==============================================
   Cards & Product Grids
   ============================================== */

/* Product category card — smooth hover lift */
.product-card,
.wp-block-cover.product-card {
	transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
	            box-shadow 0.4s ease;
}

.product-card:hover,
.wp-block-cover.product-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--wp--preset--shadow--hover);
}

/* ==============================================
   Buttons
   ============================================== */

/* Outline button variant for secondary CTAs */
.wp-block-button.is-style-outline .wp-block-button__link {
	border-width: 1.5px;
	transition: all 0.3s ease;
}

/* Button hover lift */
.wp-block-button__link {
	transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.wp-block-button__link:hover {
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ==============================================
   Hero Section Overlay
   ============================================== */

.hero-overlay {
	background: linear-gradient(
		180deg,
		rgba(0, 0, 0, 0.35) 0%,
		rgba(0, 0, 0, 0.15) 50%,
		rgba(0, 0, 0, 0.35) 100%
	);
}

/* ==============================================
   Image display
   ============================================== */

/* Ensure images look sharp */
.wp-block-image img,
.wp-block-post-featured-image img {
	object-fit: cover;
}

/* Subtle image zoom on hover for product cards */
.product-image-wrapper {
	overflow: hidden;
}

.product-image-wrapper img {
	transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-image-wrapper:hover img {
	transform: scale(1.05);
}

/* ==============================================
   Feature / Service Cards
   ============================================== */

.feature-card {
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
	transform: translateY(-2px);
	box-shadow: var(--wp--preset--shadow--card);
}

/* ==============================================
   Divider / Separator lines
   ============================================== */

hr.wp-block-separator {
	border-color: var(--wp--preset--color--light-neutral);
	opacity: 0.6;
}

/* ==============================================
   Footer
   ============================================== */

.site-footer {
	border-top: 1px solid var(--wp--preset--color--light-neutral);
}

.site-footer a {
	transition: color 0.3s ease, opacity 0.3s ease;
}

.site-footer a:hover {
	opacity: 0.7;
}

/* ==============================================
   Fade-in animation for sections
   ============================================== */

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(24px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: no-preference) {
	.wp-block-group.animate-in {
		animation: fadeInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
	}
}

/* ==============================================
   Product Category Cards (900x1200 cover blocks)
   ============================================== */

.product-category-cards .category-card-overlay {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
	padding: var(--wp--preset--spacing--xl) var(--wp--preset--spacing--l);
	text-align: center;
	background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.1) 40%, transparent 100%);
}

/* ==============================================
   Responsive refinements
   ============================================== */

@media (max-width: 781px) {
	/* Tighter padding on mobile */
	.wp-site-blocks {
		padding-left: var(--wp--preset--spacing--m);
		padding-right: var(--wp--preset--spacing--m);
	}

	/* Stack cards vertically */
	.wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column {
		margin-bottom: var(--wp--preset--spacing--l);
	}
}

/* ==============================================
   Print styles
   ============================================== */

@media print {
	.site-header,
	.site-footer {
		position: static;
	}

	.wp-block-button {
		display: none;
	}
}

/* ==============================================
   Product System — Container
   ============================================== */

.product-single,
.product-archive,
.product-taxonomy {
	background-color: var(--wp--preset--color--cream);
}

.container {
	max-width: var(--wp--style--global--wide-size, 1200px);
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--wp--preset--spacing--l);
	padding-right: var(--wp--preset--spacing--l);
}

/* ==============================================
   Breadcrumb
   ============================================== */

.product-breadcrumb {
	padding: var(--wp--preset--spacing--m) 0;
	border-bottom: 1px solid var(--wp--preset--color--light-neutral);
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--mid-gray);
}

.product-breadcrumb a {
	color: var(--wp--preset--color--mid-gray);
	text-decoration: none;
	transition: color 0.2s ease;
}

.product-breadcrumb a:hover {
	color: var(--wp--preset--color--terracotta);
}

.product-breadcrumb .sep {
	margin: 0 0.35rem;
	color: var(--wp--preset--color--light-neutral);
}

.product-breadcrumb .current {
	color: var(--wp--preset--color--charcoal);
	font-weight: 500;
}

/* ==============================================
   Category Tabs
   ============================================== */

.product-category-tabs {
	border-bottom: 1px solid var(--wp--preset--color--light-neutral);
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.cat-tabs-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 0.5rem;
}

.cat-tab {
	flex-shrink: 0;
}

.cat-tab a {
	display: block;
	padding: 0.75rem 1.25rem;
	text-decoration: none;
	font-size: var(--wp--preset--font-size--small);
	font-weight: 500;
	color: var(--wp--preset--color--mid-gray);
	border-bottom: 2px solid transparent;
	transition: color 0.2s ease, border-color 0.2s ease;
}

.cat-tab a:hover {
	color: var(--wp--preset--color--charcoal);
}

.cat-tab.active a {
	color: var(--wp--preset--color--charcoal);
	border-bottom-color: var(--wp--preset--color--charcoal);
}

/* ==============================================
   Archive Layout: sidebar + grid
   ============================================== */

.product-archive-layout {
	display: grid;
	grid-template-columns: 240px 1fr;
	gap: var(--wp--preset--spacing--xxl);
	padding-top: var(--wp--preset--spacing--l);
	padding-bottom: var(--wp--preset--spacing--section);
}

@media (max-width: 860px) {
	.product-archive-layout {
		grid-template-columns: 1fr;
	}
}

/* ==============================================
   Filter Sidebar
   ============================================== */

.product-filters-sidebar {
	font-size: var(--wp--preset--font-size--small);
}

.filters-heading {
	font-size: var(--wp--preset--font-size--base);
	font-weight: 600;
	margin: 0 0 var(--wp--preset--spacing--m);
	color: var(--wp--preset--color--charcoal);
}

.filter-group {
	margin-bottom: var(--wp--preset--spacing--l);
	padding-bottom: var(--wp--preset--spacing--l);
	border-bottom: 1px solid var(--wp--preset--color--light-neutral);
}

.filter-group-title {
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	margin: 0 0 var(--wp--preset--spacing--s);
	color: var(--wp--preset--color--dark-gray);
}

.filter-checkbox,
.filter-radio {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.4rem 0;
	cursor: pointer;
	color: var(--wp--preset--color--charcoal);
	transition: color 0.2s ease;
}

.filter-checkbox:hover,
.filter-radio:hover {
	color: var(--wp--preset--color--terracotta);
}

.filter-checkbox input,
.filter-radio input {
	accent-color: var(--wp--preset--color--charcoal);
	width: 1rem;
	height: 1rem;
	margin: 0;
	flex-shrink: 0;
}

.filter-clear {
	display: inline-block;
	margin-top: 0.5rem;
	font-size: 0.75rem;
	color: var(--wp--preset--color--terracotta);
	text-decoration: underline;
}

.btn-filter-apply {
	width: 100%;
	margin-bottom: 0.5rem;
}

.btn-filter-reset {
	display: block;
	text-align: center;
	font-size: 0.75rem;
	color: var(--wp--preset--color--mid-gray);
	text-decoration: underline;
	padding: 0;
	background: none;
	border: none;
	cursor: pointer;
}

/* ==============================================
   Product Toolbar
   ============================================== */

.product-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: var(--wp--preset--spacing--m);
}

.product-count {
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--mid-gray);
	margin: 0;
}

.view-toggle {
	display: flex;
	gap: 0.25rem;
}

.view-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	font-size: 1.15rem;
	text-decoration: none;
	color: var(--wp--preset--color--mid-gray);
	border: 1px solid var(--wp--preset--color--light-neutral);
	border-radius: 0;
	transition: all 0.2s ease;
}

.view-btn:hover {
	border-color: var(--wp--preset--color--charcoal);
	color: var(--wp--preset--color--charcoal);
}

.view-btn.active {
	background: var(--wp--preset--color--charcoal);
	color: var(--wp--preset--color--white);
	border-color: var(--wp--preset--color--charcoal);
}

/* ==============================================
   Product Grid
   ============================================== */

.product-grid-view {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--wp--preset--spacing--xl);
}

@media (max-width: 1024px) {
	.product-grid-view {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 600px) {
	.product-grid-view {
		grid-template-columns: 1fr;
	}
}

/* ==============================================
   Product Card
   ============================================== */

.product-card {
	position: relative;
}

.product-card-link {
	display: block;
	text-decoration: none;
	color: inherit;
}

.product-card-image {
	position: relative;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background-color: var(--wp--preset--color--light-neutral);
}

.product-card-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-card-link:hover .product-card-img {
	transform: scale(1.04);
}

.product-card-placeholder {
	width: 100%;
	height: 100%;
	background-color: var(--wp--preset--color--warm-stone);
}

.variant-badge {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 0.5rem 0.75rem;
	background: rgba(26, 26, 26, 0.75);
	color: #fff;
	font-size: 0.7rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	text-align: center;
}

.product-card-info {
	padding: var(--wp--preset--spacing--m) 0;
}

.product-card-collection {
	font-size: 0.7rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--wp--preset--color--terracotta);
	margin: 0 0 0.35rem;
	font-weight: 600;
}

.product-card-title {
	font-size: var(--wp--preset--font-size--base);
	font-weight: 500;
	margin: 0 0 0.35rem;
	color: var(--wp--preset--color--charcoal);
	line-height: 1.3;
	letter-spacing: -0.01em;
}

.product-card-excerpt {
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--mid-gray);
	margin: 0;
	line-height: 1.5;
}

/* List view variant */
.product-list-view .product-card--list .product-card-link {
	display: grid;
	grid-template-columns: 200px 1fr;
	gap: var(--wp--preset--spacing--l);
	align-items: start;
}

.product-list-view .product-card {
	border-bottom: 1px solid var(--wp--preset--color--light-neutral);
	padding-bottom: var(--wp--preset--spacing--l);
	margin-bottom: var(--wp--preset--spacing--l);
}

@media (max-width: 600px) {
	.product-list-view .product-card--list .product-card-link {
		grid-template-columns: 120px 1fr;
	}
}

/* ==============================================
   Pagination
   ============================================== */

.product-pagination {
	margin-top: var(--wp--preset--spacing--xxl);
	text-align: center;
}

.product-pagination .page-numbers {
	display: inline-flex;
	gap: 0.35rem;
	align-items: center;
	padding: 0;
	list-style: none;
}

.product-pagination .page-numbers > * {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.5rem;
	height: 2.5rem;
	padding: 0 0.5rem;
	font-size: var(--wp--preset--font-size--small);
	text-decoration: none;
	color: var(--wp--preset--color--charcoal);
	border: 1px solid var(--wp--preset--color--light-neutral);
	transition: all 0.2s ease;
}

.product-pagination .page-numbers .current {
	background: var(--wp--preset--color--charcoal);
	color: var(--wp--preset--color--white);
	border-color: var(--wp--preset--color--charcoal);
}

.product-pagination .page-numbers a:hover {
	border-color: var(--wp--preset--color--charcoal);
}

/* ==============================================
   Category Header (taxonomy page)
   ============================================== */

.category-header {
	margin-bottom: var(--wp--preset--spacing--l);
}

.category-title {
	font-size: var(--wp--preset--font-size--xx-large);
	font-weight: 300;
	letter-spacing: -0.02em;
	margin: 0 0 var(--wp--preset--spacing--s);
	color: var(--wp--preset--color--charcoal);
}

.category-description {
	font-size: var(--wp--preset--font-size--medium);
	color: var(--wp--preset--color--mid-gray);
	max-width: 640px;
	line-height: 1.7;
}

/* ==============================================
   Single Product: Hero Section
   ============================================== */

.product-hero {
	padding: var(--wp--preset--spacing--xl) 0;
}

.product-hero-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--wp--preset--spacing--xxl);
	align-items: start;
}

@media (max-width: 860px) {
	.product-hero-grid {
		grid-template-columns: 1fr;
	}
}

/* Gallery */
.product-gallery-col {
	position: sticky;
	top: 5rem;
}

@media (max-width: 860px) {
	.product-gallery-col {
		position: static;
	}
}

.product-gallery {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--s);
}

.gallery-main {
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: var(--wp--preset--color--light-neutral);
}

.gallery-main img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.gallery-thumbs {
	display: flex;
	gap: 0.5rem;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.gallery-thumb {
	flex-shrink: 0;
	width: 72px;
	height: 72px;
	padding: 0;
	border: 2px solid transparent;
	background: var(--wp--preset--color--light-neutral);
	cursor: pointer;
	transition: border-color 0.2s ease;
	overflow: hidden;
}

.gallery-thumb:hover {
	border-color: var(--wp--preset--color--warm-stone);
}

.gallery-thumb.active {
	border-color: var(--wp--preset--color--charcoal);
}

.gallery-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Info column */
.product-info-col {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--m);
}

.product-collection-label {
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--wp--preset--color--terracotta);
	margin: 0;
	font-weight: 600;
}

.product-title {
	font-size: var(--wp--preset--font-size--xx-large);
	font-weight: 300;
	letter-spacing: -0.02em;
	margin: 0;
	color: var(--wp--preset--color--charcoal);
	line-height: 1.15;
}

.product-excerpt {
	font-size: var(--wp--preset--font-size--medium);
	color: var(--wp--preset--color--dark-gray);
	line-height: 1.7;
}

/* Features bullet list */
.product-features-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
}

.product-features-list li {
	padding-left: 1.25rem;
	position: relative;
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--charcoal);
	line-height: 1.5;
}

.product-features-list li::before {
	content: '•';
	position: absolute;
	left: 0;
	color: var(--wp--preset--color--terracotta);
	font-weight: bold;
}

/* Key specs inline */
.product-key-specs {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
	gap: var(--wp--preset--spacing--m);
	padding: var(--wp--preset--spacing--m) 0;
	border-top: 1px solid var(--wp--preset--color--light-neutral);
	border-bottom: 1px solid var(--wp--preset--color--light-neutral);
}

.key-spec {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
}

.key-spec-label {
	font-size: 0.65rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--wp--preset--color--mid-gray);
}

.key-spec-value {
	font-size: var(--wp--preset--font-size--base);
	font-weight: 500;
	color: var(--wp--preset--color--charcoal);
}

/* ==============================================
   CTA Buttons (B2B — no cart)
   ============================================== */

.product-ctas {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: var(--wp--preset--spacing--s);
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.9rem 1.75rem;
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	border: 1.5px solid transparent;
	cursor: pointer;
	transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	line-height: 1.2;
}

.btn-primary {
	background-color: var(--wp--preset--color--charcoal);
	color: var(--wp--preset--color--white);
	border-color: var(--wp--preset--color--charcoal);
}

.btn-primary:hover {
	background-color: var(--wp--preset--color--almost-black);
	border-color: var(--wp--preset--color--almost-black);
	transform: translateY(-1px);
	color: var(--wp--preset--color--white);
}

.btn-outline {
	background-color: transparent;
	color: var(--wp--preset--color--charcoal);
	border-color: var(--wp--preset--color--charcoal);
}

.btn-outline:hover {
	background-color: var(--wp--preset--color--charcoal);
	color: var(--wp--preset--color--white);
	transform: translateY(-1px);
}

.btn-outline-light {
	background-color: transparent;
	color: var(--wp--preset--color--white);
	border-color: var(--wp--preset--color--white);
}

.btn-outline-light:hover {
	background-color: var(--wp--preset--color--white);
	color: var(--wp--preset--color--charcoal);
}

.btn-text {
	background: none;
	border: none;
	color: var(--wp--preset--color--mid-gray);
	text-decoration: underline;
	text-transform: none;
	letter-spacing: normal;
	font-weight: 400;
	padding: 0;
}

/* ==============================================
   Anchor links
   ============================================== */

.product-anchors {
	display: flex;
	gap: var(--wp--preset--spacing--l);
}

.anchor-link {
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--dark-gray);
	text-decoration: underline;
	text-underline-offset: 4px;
	transition: color 0.2s ease;
}

.anchor-link:hover {
	color: var(--wp--preset--color--terracotta);
}

/* ==============================================
   Order Info
   ============================================== */

.product-order-info {
	padding: var(--wp--preset--spacing--m);
	background: var(--wp--preset--color--light-neutral);
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--dark-gray);
	line-height: 1.7;
}

.product-order-info ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.product-order-info li {
	padding: 0.2rem 0;
}

.product-order-info strong {
	color: var(--wp--preset--color--charcoal);
}

/* ==============================================
   Cert badges
   ============================================== */

.product-certs {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.cert-badge {
	display: inline-block;
	padding: 0.25rem 0.75rem;
	font-size: 0.65rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	border: 1px solid var(--wp--preset--color--warm-stone);
	color: var(--wp--preset--color--dark-gray);
}

/* ==============================================
   Full Description Section
   ============================================== */

.product-description-section {
	padding: var(--wp--preset--spacing--section) 0;
	border-top: 1px solid var(--wp--preset--color--light-neutral);
}

.product-long-description {
	max-width: 800px;
	font-size: var(--wp--preset--font-size--medium);
	line-height: 1.85;
	color: var(--wp--preset--color--dark-gray);
}

.product-long-description h2 {
	font-size: var(--wp--preset--font-size--x-large);
	font-weight: 300;
	margin-top: var(--wp--preset--spacing--xxl);
	margin-bottom: var(--wp--preset--spacing--m);
}

.product-long-description p {
	margin-bottom: var(--wp--preset--spacing--m);
}

/* ==============================================
   Specifications Section (Accordions)
   ============================================== */

.product-specs-section,
.product-downloads-section {
	padding: var(--wp--preset--spacing--section) 0;
	border-top: 1px solid var(--wp--preset--color--light-neutral);
}

.section-title {
	font-size: var(--wp--preset--font-size--x-large);
	font-weight: 300;
	letter-spacing: -0.02em;
	margin: 0 0 var(--wp--preset--spacing--xl);
	color: var(--wp--preset--color--charcoal);
}

/* Accordions — used in specs & downloads sections */
.specs-accordion,
.downloads-accordion {
	max-width: 800px;
	border-top: 1px solid var(--wp--preset--color--light-neutral);
}

.accordion-item {
	border-bottom: 1px solid var(--wp--preset--color--light-neutral);
}

.accordion-title {
	padding: var(--wp--preset--spacing--m) 0;
	font-size: var(--wp--preset--font-size--base);
	font-weight: 500;
	cursor: pointer;
	list-style: none;
	color: var(--wp--preset--color--charcoal);
	display: flex;
	align-items: center;
	justify-content: space-between;
	transition: color 0.2s ease;
}

.accordion-title::-webkit-details-marker {
	display: none;
}

.accordion-title:hover {
	color: var(--wp--preset--color--terracotta);
}

.accordion-title::after {
	content: '+';
	font-size: 1.25rem;
	font-weight: 300;
	transition: transform 0.3s ease;
	flex-shrink: 0;
	margin-left: var(--wp--preset--spacing--s);
}

details[open] > .accordion-title::after {
	content: '−';
}

.accordion-content {
	padding: 0 0 var(--wp--preset--spacing--m);
}

/* Spec table — inside accordion content */
.accordion-content .spec-table {
	width: 100%;
	border-collapse: collapse;
	font-size: var(--wp--preset--font-size--small);
}

.accordion-content .spec-table th,
.accordion-content .spec-table td {
	padding: 0.6rem 0.75rem;
	text-align: left;
	border-bottom: 1px solid var(--wp--preset--color--light-neutral);
	vertical-align: top;
}

.accordion-content .spec-table th {
	width: 200px;
	font-weight: 600;
	color: var(--wp--preset--color--dark-gray);
	text-transform: uppercase;
	letter-spacing: 0.04em;
	font-size: 0.7rem;
}

.accordion-content .spec-table td {
	color: var(--wp--preset--color--charcoal);
}

.accordion-content .spec-table thead th {
	font-size: 0.7rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	font-weight: 600;
	color: var(--wp--preset--color--dark-gray);
	border-bottom-width: 2px;
}

/* Acoustic table — center the αw column */
.accordion-content .acoustic-table th:last-child,
.accordion-content .acoustic-table td:last-child {
	width: 120px;
	text-align: center;
}

.file-count {
	font-weight: 400;
	color: var(--wp--preset--color--mid-gray);
	font-size: var(--wp--preset--font-size--small);
}

/* Spec table */
.spec-table {
	width: 100%;
	border-collapse: collapse;
	font-size: var(--wp--preset--font-size--small);
}

.spec-table th,
.spec-table td {
	padding: 0.6rem 0.75rem;
	text-align: left;
	border-bottom: 1px solid var(--wp--preset--color--light-neutral);
	vertical-align: top;
}

.spec-table th {
	width: 180px;
	font-weight: 600;
	color: var(--wp--preset--color--dark-gray);
	text-transform: uppercase;
	letter-spacing: 0.04em;
	font-size: 0.7rem;
}

.spec-table td {
	color: var(--wp--preset--color--charcoal);
}

.spec-table thead th {
	font-size: 0.7rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

/* Applications list */
.applications-list {
	list-style: disc;
	margin: 0;
	padding-left: 1.25rem;
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--charcoal);
	line-height: 1.7;
}

/* ==============================================
   Downloads Section
   ============================================== */

.download-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.download-item {
	border-bottom: 1px solid var(--wp--preset--color--light-neutral);
}

.download-item:last-child {
	border-bottom: none;
}

.download-item a {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.6rem 0;
	text-decoration: none;
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--charcoal);
	transition: color 0.2s ease;
}

.download-item a:hover {
	color: var(--wp--preset--color--terracotta);
}

.download-icon {
	flex-shrink: 0;
	font-size: 1rem;
}

.download-name {
	flex: 1;
}

.download-size {
	color: var(--wp--preset--color--mid-gray);
	font-size: 0.75rem;
}

.download-arrow {
	flex-shrink: 0;
	color: var(--wp--preset--color--mid-gray);
}

/* ==============================================
   CTA Banner (bottom of single product)
   ============================================== */

.product-cta-banner {
	padding: var(--wp--preset--spacing--section) 0;
	background: var(--wp--preset--color--charcoal);
	color: var(--wp--preset--color--white);
	text-align: center;
}

.product-cta-banner h2 {
	font-size: var(--wp--preset--font-size--x-large);
	font-weight: 300;
	letter-spacing: -0.02em;
	margin: 0 0 var(--wp--preset--spacing--s);
	color: var(--wp--preset--color--white);
}

.product-cta-banner p {
	font-size: var(--wp--preset--font-size--medium);
	color: var(--wp--preset--color--warm-stone);
	margin: 0 0 var(--wp--preset--spacing--l);
	max-width: 560px;
	margin-left: auto;
	margin-right: auto;
}

.cta-buttons {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem;
}

/* ==============================================
   No Products / Empty State
   ============================================== */

.no-products {
	text-align: center;
	padding: var(--wp--preset--spacing--section) 0;
}

.no-products p {
	font-size: var(--wp--preset--font-size--medium);
	color: var(--wp--preset--color--mid-gray);
	margin-bottom: var(--wp--preset--spacing--m);
}

/* ==============================================
   Spec Summary Row (Material / Thickness / Colours)
   ============================================== */

.product-spec-summary {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	font-size: var(--wp--preset--font-size--base);
	color: var(--wp--preset--color--charcoal);
	font-weight: 400;
	line-height: 1.6;
	padding: var(--wp--preset--spacing--s) 0;
	border-top: 1px solid var(--wp--preset--color--light-neutral);
	border-bottom: 1px solid var(--wp--preset--color--light-neutral);
}

.spec-summary-item {
	white-space: nowrap;
}

.spec-summary-sep {
	margin: 0 0.5rem;
	color: var(--wp--preset--color--mid-gray);
	font-weight: 300;
}

/* ==============================================
   Dimensions & Weight Block
   ============================================== */

.product-dimensions-block {
	margin: 0;
	padding: var(--wp--preset--spacing--s) 0;
}

.product-dimensions-block p {
	margin: 0 0 0.15rem;
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--charcoal);
	line-height: 1.6;
}

.product-dimensions-block p:last-child {
	margin-bottom: 0;
}

.dim-label {
	font-weight: 600;
	color: var(--wp--preset--color--dark-gray);
}

/* ==============================================
   Specs Detail Table (repeater-based, full width)
   ============================================== */

.specs-table-wrapper {
	max-width: 800px;
	margin: 0 auto;
}

.specs-detail-table {
	width: 100%;
	border-collapse: collapse;
	font-size: var(--wp--preset--font-size--small);
}

.specs-detail-table th,
.specs-detail-table td {
	padding: 0.75rem 1rem;
	text-align: left;
	border-bottom: 1px solid var(--wp--preset--color--light-neutral);
	vertical-align: top;
	line-height: 1.5;
}

.specs-detail-table th {
	width: 220px;
	font-weight: 600;
	color: var(--wp--preset--color--dark-gray);
	text-transform: uppercase;
	letter-spacing: 0.04em;
	font-size: 0.7rem;
}

.specs-detail-table td {
	color: var(--wp--preset--color--charcoal);
}

.specs-detail-table thead th {
	font-size: 0.7rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	font-weight: 600;
	color: var(--wp--preset--color--dark-gray);
	border-bottom-width: 2px;
}

/* Acoustic table — two equal columns */
.acoustic-table th:first-child,
.acoustic-table td:first-child {
	width: auto;
}

.acoustic-table th:last-child,
.acoustic-table td:last-child {
	width: 140px;
	text-align: center;
}

/* ==============================================
   Acoustic & Applications Sections
   ============================================== */

.product-acoustic-section,
.product-applications-section {
	padding: var(--wp--preset--spacing--section) 0;
	border-top: 1px solid var(--wp--preset--color--light-neutral);
}

/* ==============================================
   Material Highlight (within description)
   ============================================== */

.product-long-description .material-highlight {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--wp--preset--spacing--xxl);
	align-items: center;
	margin: var(--wp--preset--spacing--xxl) 0;
}

@media (max-width: 860px) {
	.product-long-description .material-highlight {
		grid-template-columns: 1fr;
	}
}

.material-highlight-image img {
	width: 100%;
	height: auto;
	display: block;
}

.material-highlight-text .material-label {
	font-size: 0.7rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--wp--preset--color--terracotta);
	font-weight: 600;
	margin: 0 0 0.5rem;
}

.material-highlight-text h3 {
	font-size: var(--wp--preset--font-size--x-large);
	font-weight: 300;
	letter-spacing: -0.02em;
	margin: 0 0 var(--wp--preset--spacing--m);
	color: var(--wp--preset--color--charcoal);
}

/* ==============================================
   Downloads Grid (refactored — card-style category blocks)
   ============================================== */

.downloads-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: var(--wp--preset--spacing--xl);
}

@media (max-width: 700px) {
	.downloads-grid {
		grid-template-columns: 1fr;
	}
}

.download-category-block {
	border: 1px solid var(--wp--preset--color--light-neutral);
	padding: var(--wp--preset--spacing--l);
}

.download-category-title {
	font-size: var(--wp--preset--font-size--base);
	font-weight: 600;
	margin: 0 0 var(--wp--preset--spacing--s);
	color: var(--wp--preset--color--charcoal);
	display: flex;
	align-items: baseline;
	gap: 0.35rem;
}

.download-label-link {
	flex-shrink: 0;
	font-size: 0.7rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--wp--preset--color--terracotta);
	text-decoration: underline;
	text-underline-offset: 4px;
}

/* ==============================================
   HR Dividers (double-divider pattern from refelt)
   ============================================== */

.product-divider {
	border: none;
	border-top: 1px solid var(--wp--preset--color--light-neutral);
	margin: 0;
}

.product-divider + .product-divider {
	margin-top: 4px;
}

/* ==============================================
   Responsive — Product Single
   ============================================== */

@media (max-width: 600px) {
	.product-title {
		font-size: var(--wp--preset--font-size--x-large);
	}

	.product-key-specs {
		grid-template-columns: 1fr 1fr;
	}

	.product-spec-summary {
		font-size: var(--wp--preset--font-size--small);
	}

	.product-dimensions-block p {
		font-size: 0.8rem;
	}

	.specs-detail-table th {
		width: 120px;
		font-size: 0.65rem;
	}

	.specs-detail-table th,
	.specs-detail-table td {
		padding: 0.6rem 0.5rem;
		font-size: 0.75rem;
	}

	.product-ctas {
		flex-direction: column;
	}

	.product-ctas .btn {
		width: 100%;
	}

	.gallery-thumbs {
		gap: 0.35rem;
	}

	.gallery-thumb {
		width: 56px;
		height: 56px;
	}

	.container {
		padding-left: var(--wp--preset--spacing--m);
		padding-right: var(--wp--preset--spacing--m);
	}
}


/* ==============================================
   Collection Color Swatches (Sidebar Filter)
   ============================================== */

.collection-swatch {
	display: inline-block;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	border: 1px solid rgba(0, 0, 0, 0.12);
	flex-shrink: 0;
	vertical-align: middle;
}

/* ==============================================
   Collection Tag & Color Dot (Single Product)
   ============================================== */

.collection-tag {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.2rem 0.6rem;
	margin-right: 0.5rem;
	margin-bottom: 0.25rem;
	font-size: 0.75rem;
	font-weight: 500;
	color: var(--wp--preset--color--charcoal);
	background: var(--wp--preset--color--light-neutral);
	border-radius: 2px;
}

.collection-color-dot {
	display: inline-block;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	border: 1px solid rgba(0, 0, 0, 0.15);
	flex-shrink: 0;
}

/* ==============================================
   Accordion Content — Download List
   ============================================== */

.accordion-content .download-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.accordion-content .download-item {
	border-bottom: 1px solid var(--wp--preset--color--light-neutral);
}

.accordion-content .download-item:last-child {
	border-bottom: none;
}

.accordion-content .download-item a {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.6rem 0;
	text-decoration: none;
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--charcoal);
	transition: color 0.2s ease;
}

.accordion-content .download-item a:hover {
	color: var(--wp--preset--color--terracotta);
}

.accordion-content .download-icon {
	flex-shrink: 0;
	color: var(--wp--preset--color--mid-gray);
}

.accordion-content .download-name {
	flex: 1;
}

.accordion-content .download-size {
	color: var(--wp--preset--color--mid-gray);
	font-size: 0.75rem;
}

.accordion-content .download-label-link {
	flex-shrink: 0;
	font-size: 0.7rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--wp--preset--color--terracotta);
	text-decoration: underline;
	text-underline-offset: 4px;
}

/* ==============================================
   Product Gallery — Thumbnails & Lightbox
   ============================================== */

/* ---- Gallery Main Image (lightbox-ready) ---- */
.gallery-main {
	cursor: pointer;
	border-radius: 6px;
	max-width: 560px;
	max-height: 560px;
	margin: 0 auto;
}

.gallery-main img {
	transition: opacity 0.2s ease;
}

/* ---- Thumbnail Strip ---- */
.gallery-thumbs {
	display: flex;
	gap: 10px;
	margin-top: 12px;
	overflow-x: auto;
	padding-bottom: 4px;
}

.gallery-thumb {
	flex: 0 0 72px;
	width: 72px;
	height: 72px;
	border: 2px solid transparent;
	border-radius: 4px;
	padding: 0;
	overflow: hidden;
	cursor: pointer;
	background: #f0f0f0;
	transition: border-color 0.2s ease, opacity 0.2s ease;
	opacity: 0.6;
}

.gallery-thumb:hover {
	opacity: 0.85;
	border-color: #ccc;
}

.gallery-thumb.active {
	opacity: 1;
	border-color: var(--wp--preset--color--terracotta, #b85c3a);
}

.gallery-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* ---- Lightbox ---- */
.gallery-lightbox {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 99999;
	align-items: center;
	justify-content: center;
}

.gallery-lightbox.active {
	display: flex;
}

.lightbox-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.92);
}

.lightbox-content {
	position: relative;
	max-width: 90vw;
	max-height: 90vh;
	display: flex;
	align-items: center;
	justify-content: center;
}

.lightbox-img {
	max-width: 90vw;
	max-height: 85vh;
	object-fit: contain;
	border-radius: 4px;
	box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
	transition: opacity 0.15s ease;
	background: #111;
}

.lightbox-close {
	position: absolute;
	top: -40px;
	right: 0;
	background: none;
	border: none;
	color: #fff;
	font-size: 36px;
	line-height: 1;
	cursor: pointer;
	opacity: 0.7;
	transition: opacity 0.2s;
	padding: 0 4px;
}

.lightbox-close:hover {
	opacity: 1;
}

.lightbox-prev,
.lightbox-next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(255, 255, 255, 0.15);
	border: none;
	color: #fff;
	font-size: 40px;
	line-height: 1;
	padding: 8px 14px;
	cursor: pointer;
	border-radius: 4px;
	opacity: 0.6;
	transition: opacity 0.2s, background 0.2s;
}

.lightbox-prev:hover,
.lightbox-next:hover {
	opacity: 1;
	background: rgba(255, 255, 255, 0.25);
}

.lightbox-prev {
	left: -60px;
}

.lightbox-next {
	right: -60px;
}

@media (max-width: 768px) {
	.lightbox-prev {
		left: 10px;
	}
	.lightbox-next {
		right: 10px;
	}

	.lightbox-close {
		top: -36px;
		right: 8px;
		font-size: 28px;
	}
}
