/* =========================================================================
   FINPRINTED THEME STYLESHEET
   Theme by The Free Website Guys.
   ========================================================================= */

/* -------------------------------------------------------------------------
   1. ROOT TOKENS
   ------------------------------------------------------------------------- */
:root {
	--color-background: #faf8f5;
	--color-foreground: #152937;
	--color-primary: #1a4761;
	--color-primary-foreground: #faf8f5;
	--color-secondary: #f3f1ec;
	--color-muted-foreground: #586874;
	--color-destructive: #b1402f;
	--color-border: #e3e0d9;
	--color-button-text: #faf8f5;

	--font-display: 'Fraunces', serif;
	--font-body: 'Jost', sans-serif;

	--radius: 0.25rem;
	--btn-radius: 0.375rem;
	--btn-height: 3rem;
	--btn-padding: 0.9rem 1.75rem;
	--btn-font-size: 0.875rem;
	--btn-font-size-compact: 11px;
	--btn-font-weight: 500;
	--btn-letter-spacing: 0.02em;
	--btn-letter-spacing-compact: 0.32em;
	--btn-text-transform: uppercase;
	--btn-icon-padding: 0.6rem;

	--shadow-elevated: 0 12px 40px -8px rgba(21, 41, 55, 0.16);
	--transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
	--header-height: 112px;
	--logo-height: 76px;
	--logo-height-footer: 56px;
	--section-padding: 2rem;
	--card-radius: 0.5rem;
	--checkout-gap: 2rem;
	--checkout-max-width: 1280px;
}

/* -------------------------------------------------------------------------
   2. RESET / BASE
   ------------------------------------------------------------------------- */
* { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: clip; }

body {
	background-color: var(--color-background);
	color: var(--color-foreground);
	font-family: var(--font-body);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	margin: 0;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	letter-spacing: -0.015em;
	text-wrap: balance;
	margin: 0;
}

p, li { text-wrap: pretty; }
p { margin: 0; }
a { color: inherit; text-decoration: none; cursor: pointer; }
button { font-family: inherit; background: none; border: none; cursor: pointer; color: inherit; }
[role="button"], .link-underline, .theme-tile, .theme-cat-filter, .theme-cart-button,
.theme-accordion__trigger, .theme-product-thumb, .theme-product-card, .theme-review__image-link,
.theme-suggested-products__add, .theme-announcement-bar__dismiss, .theme-modal__close,
.theme-shop__filter-toggle, .theme-mobile-menu-toggle, .theme-qty-minus, .theme-qty-plus {
	cursor: pointer;
}
input, textarea, select { font-family: inherit; font-size: 1rem; }
ul { margin: 0; padding: 0; list-style: none; }

img:not(.cover-img):not(.hero-bg-img):not(.theme-product-card__image):not(.theme-product-img):not(.theme-suggested-products__image):not(.site-logo-img):not(.theme-tile__image):not(.theme-hero__slide-img):not(.theme-review__image):not(.theme-lifestyle-banner__poster) {
	max-width: 100%;
	height: auto;
	display: block;
}
.cover-img, .hero-bg-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	display: block;
	object-fit: cover;
	object-position: center;
}
.container-wide {
	width: 100%;
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 1.5rem;
}
@media (min-width: 1024px) {
	.container-wide { padding: 0 2rem; }
}

.scroll-mt-24 { scroll-margin-top: 6rem; }

.link-underline {
	position: relative;
	display: inline-block;
}
.link-underline::after {
	content: '';
	position: absolute;
	bottom: 0; left: 0; width: 100%; height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s var(--transition-smooth);
}
.link-underline:hover::after { transform: scaleX(1); }

/* -------------------------------------------------------------------------
   3. ANIMATIONS
   ------------------------------------------------------------------------- */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes marquee-reverse { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@keyframes ken-burns { 0% { transform: scale(1) translate3d(0,0,0); } 100% { transform: scale(1.08) translate3d(-2%,-1.5%,0); } }
@keyframes ken-burns-alt { 0% { transform: scale(1.08) translate3d(2%,1%,0); } 100% { transform: scale(1) translate3d(0,0,0); } }

.animate-fade-in { animation: fadeIn 0.6s var(--transition-smooth) forwards; }
.animate-slide-up { animation: slideUp 0.6s var(--transition-smooth) forwards; }

/* Scroll-reveal — global reach so every product-card context is covered
   (Section 2.1.5): shop, archive, home sections, related products. */
.reveal-item {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.7s var(--transition-smooth), transform 0.7s var(--transition-smooth);
}
.reveal-item.is-visible { opacity: 1; transform: translateY(0); }
body.is-customizer .reveal-item { opacity: 1 !important; transform: none !important; }

@media (prefers-reduced-motion: reduce) {
	.reveal-item, .theme-hero__slide-img, .theme-service, * {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
	}
}

/* -------------------------------------------------------------------------
   4. HEADING SCALES (per section, Section 2.2.5)
   ------------------------------------------------------------------------- */
.section-heading,
.theme-about__title,
.theme-contact-section__title,
.theme-lifestyle-banner__title,
.theme-services__subheading,
.theme-bestsellers__subheading {
	font-family: var(--font-display);
	font-weight: 300;
}
.theme-about__title { font-size: 2.25rem; line-height: 1.05; margin-bottom: 2rem; }
@media (min-width: 768px) { .theme-about__title { font-size: 3rem; } }
@media (min-width: 1024px) { .theme-about__title { font-size: 3.75rem; } }

.theme-services__subheading, .theme-bestsellers__subheading { font-size: 1.875rem; line-height: 1.1; max-width: 42rem; margin-bottom: 2.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--color-border); }
@media (min-width: 768px) { .theme-services__subheading, .theme-bestsellers__subheading { font-size: 3rem; } }

.theme-contact-section__title { font-size: 2.25rem; line-height: 1.05; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .theme-contact-section__title { font-size: 3.75rem; } }

.theme-lifestyle-banner__title { font-size: 1.875rem; line-height: 1.1; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .theme-lifestyle-banner__title { font-size: 3rem; } }

/* -------------------------------------------------------------------------
   5. ANNOUNCEMENT BAR
   ------------------------------------------------------------------------- */
.theme-announcement-bar {
	position: relative;
	background: var(--color-foreground);
	color: var(--color-background);
}
.theme-announcement-bar__inner { padding: 0.5rem 2rem 0.5rem 0; text-align: center; }
.theme-announcement-bar__text { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; }
.theme-announcement-bar__dismiss {
	position: absolute; right: 0.75rem; top: 50%; transform: translateY(-50%);
	padding: 0.25rem; opacity: 0.7; transition: opacity 0.2s;
}
.theme-announcement-bar__dismiss:hover { opacity: 1; }

/* -------------------------------------------------------------------------
   6. HEADER
   ------------------------------------------------------------------------- */
.site-header {
	position: sticky; top: 0; left: 0; right: 0; z-index: 50;
	background: color-mix(in srgb, var(--color-background) 95%, transparent);
	backdrop-filter: blur(6px);
	border-bottom: 1px solid var(--color-border);
	transition: background-color 0.3s;
}
body.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
	body.admin-bar .site-header { top: 46px; }
}
.site-header__nav { display: flex; align-items: center; justify-content: space-between; height: 7rem; gap: 1rem; }
.site-header__brand { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }
.site-logo-img {
	flex-shrink: 0;
	object-fit: contain;
}
.site-header__brand .site-logo-img,
.site-logo-img--header {
	height: var(--logo-height) !important;
	width: auto !important;
	max-width: none !important;
	max-height: var(--logo-height) !important;
}
.site-header__brand-name { display: none; font-family: var(--font-display); font-size: 1.5rem; letter-spacing: 0.12em; text-transform: uppercase; }
@media (min-width: 640px) { .site-header__brand-name { display: block; } }

.site-header__links { display: none; align-items: center; gap: 2rem; }
@media (min-width: 1024px) { .site-header__links { display: flex; } }
.theme-nav-list { display: flex; align-items: center; gap: 2rem; }
.theme-nav-link, .theme-nav-list button {
	font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; font-family: var(--font-body);
	cursor: pointer; transition: color 0.3s;
	background: none; border: none; padding: 0; color: inherit; text-decoration: none;
}

.site-header__actions { display: flex; align-items: center; gap: 0.25rem; flex-shrink: 0; }
@media (min-width: 768px) { .site-header__actions { gap: 0.5rem; } }
.theme-cart-button { position: relative; padding: 0.5rem; transition: opacity 0.2s; }
.theme-cart-button:hover { opacity: 0.6; }
.theme-cart-count-badge {
	position: absolute; top: 0; right: 0; min-width: 18px; height: 18px; padding: 0 4px;
	display: flex; align-items: center; justify-content: center;
	font-size: 12px; font-weight: 500; background: var(--color-primary); color: var(--color-primary-foreground);
	border-radius: 50%;
}
.theme-cart-count-badge:empty { display: none; }

.theme-mobile-menu-toggle { padding: 0.5rem; }
@media (min-width: 1024px) { .theme-mobile-menu-toggle { display: none; } }

.hamburger-svg { transition: transform 600ms var(--transition-smooth); transform-origin: 50% 50%; overflow: visible; }
.hamburger-line { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.25; transition: stroke-dasharray 600ms var(--transition-smooth), stroke-dashoffset 600ms var(--transition-smooth), transform 600ms var(--transition-smooth); }
.hamburger-line-top-bottom { stroke-dasharray: 12 63; }
.hamburger-svg.is-open { transform: rotate(-45deg); }
.hamburger-svg.is-open .hamburger-line-top-bottom { stroke-dasharray: 20 300; stroke-dashoffset: -33; transform: translateX(-1px); }

.theme-mobile-menu { display: none; border-top: 1px solid var(--color-border); padding: 1rem 0; }
.theme-mobile-menu.is-open { display: block; animation: fadeIn 0.3s var(--transition-smooth); }
@media (min-width: 1024px) { .theme-mobile-menu { display: none !important; } }
.theme-mobile-nav-list, .theme-mobile-menu .theme-nav-list { display: flex; flex-direction: column; gap: 1rem; }
.theme-mobile-nav-list a, .theme-mobile-nav-list button,
.theme-mobile-menu .theme-nav-link { font-size: 14px; letter-spacing: 0.05em; padding: 0.5rem 0; display: block; text-align: left; width: 100%; }

/* -------------------------------------------------------------------------
   7. HERO
   ------------------------------------------------------------------------- */
.theme-hero { position: relative; height: 80vh; min-height: 520px; overflow: hidden; background: var(--color-foreground); }
@media (min-width: 1280px) { .theme-hero { height: 88vh; min-height: 640px; } }
.theme-hero__slides { position: absolute; inset: 0; }
.theme-hero__slide-img {
	position: absolute; inset: 0; width: 100%; height: 100%; max-width: none;
	object-fit: cover; object-position: center; display: block;
	opacity: 0; transition: opacity 1.2s ease-in-out; will-change: transform;
}
.theme-hero__slide-img.is-active { opacity: 1; }
.theme-hero__slide-img.theme-ken-burns.is-active { animation: ken-burns 9s ease-in-out forwards; }
.theme-hero__slide-img.theme-ken-burns-alt.is-active { animation: ken-burns-alt 9s ease-in-out forwards; }
.theme-hero__gradient {
	position: absolute; inset: 0; z-index: 1; pointer-events: none;
	background: linear-gradient(to top, color-mix(in srgb, var(--color-foreground) 70%, transparent), color-mix(in srgb, var(--color-foreground) 20%, transparent) 60%, transparent);
}
@media (min-width: 1280px) {
	.theme-hero__gradient {
		background: linear-gradient(to top, color-mix(in srgb, var(--color-foreground) 60%, transparent), color-mix(in srgb, var(--color-foreground) 20%, transparent) 60%, transparent);
	}
}
.theme-hero__title-overlay {
	position: absolute; inset: 0; z-index: 2;
	display: flex; align-items: center; justify-content: center;
	background: color-mix(in srgb, var(--color-foreground) 10%, transparent);
	pointer-events: none;
}
@media (min-width: 1280px) {
	.theme-hero__title-overlay { background: transparent; }
}
.theme-hero__title {
	margin: 0;
	color: var(--color-background);
	font-family: var(--font-body);
	font-weight: 400;
	font-size: 1.5rem;
	line-height: 1.2;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	text-align: center;
	padding: 0 1.5rem;
	text-shadow: 0 2px 24px rgba(0, 0, 0, 0.6);
}
@media (min-width: 640px) and (max-width: 1279px) {
	.theme-hero__title { font-size: 1.875rem; }
}
@media (min-width: 1280px) {
	.theme-hero__title {
		font-size: 3.75rem;
		letter-spacing: 0.35em;
		text-shadow: 0 2px 32px rgba(0, 0, 0, 0.55);
	}
}
.theme-hero__actions {
	position: absolute; inset-inline: 0; bottom: 1.5rem; z-index: 3;
	display: flex; flex-direction: column; align-items: center; gap: 0.75rem;
	padding: 0 1.5rem;
}
@media (min-width: 1280px) {
	.theme-hero__actions {
		flex-direction: row; justify-content: center; gap: 1rem;
		bottom: 3rem; padding: 0 1rem;
	}
}
.theme-btn-hero {
	width: 100%; max-width: 20rem; padding: 0.75rem 1.5rem;
	font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase;
	background: transparent; border: 1px solid var(--color-background); color: var(--color-background);
	transition: background-color 0.3s, color 0.3s;
}
@media (min-width: 1280px) {
	.theme-btn-hero { width: auto; min-width: 12.5rem; max-width: none; padding: 0.75rem 1.5rem; text-transform: none; }
}
.theme-btn-hero:hover { background: var(--color-background); color: var(--color-foreground); }
.theme-btn-hero--light { border-color: #fff; color: #fff; }
.theme-btn-hero--light:hover { background: #fff; color: var(--color-foreground); }

@media (min-width: 640px) { .theme-hero__actions { bottom: 2.5rem; } }

/* -------------------------------------------------------------------------
   8. CAMPAIGN TILES
   ------------------------------------------------------------------------- */
.theme-tiles-grid { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--color-border); }
@media (min-width: 768px) { .theme-tiles-grid { grid-template-columns: 1fr 1fr; } }
.theme-tile { display: block; text-align: left; background: var(--color-background); width: 100%; }
.theme-tile__image-wrap { position: relative; aspect-ratio: 4/5; overflow: hidden; background: var(--color-secondary); }
@media (min-width: 768px) { .theme-tile__image-wrap { aspect-ratio: auto; height: calc(100vh - 14rem); } }
.theme-tile__image {
	position: absolute; inset: 0; width: 100%; height: 100%; max-width: none;
	object-fit: cover; object-position: center; display: block;
	transition: transform 0.9s var(--transition-smooth);
}
.theme-tile:hover .theme-tile__image { transform: scale(1.03); }
.theme-tile__content { padding: 2rem 1.5rem; }
@media (min-width: 768px) { .theme-tile__content { padding: 1.5rem 2.5rem; } }
.theme-tile__eyebrow { display: block; font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--color-muted-foreground); margin-bottom: 0.75rem; }
.theme-tile__label { font-family: var(--font-body); font-size: 1rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500; margin-bottom: 1rem; }
.theme-tile__cta { font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; }

/* -------------------------------------------------------------------------
   9. GENERIC SECTION HEAD
   ------------------------------------------------------------------------- */
.theme-section { background: var(--color-background); border-top: 1px solid var(--color-border); }
.theme-section__head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 2.5rem; padding-bottom: 1rem; border-bottom: 1px solid var(--color-border); gap: 1rem; }
.theme-section__label { font-size: 12px; letter-spacing: 0.32em; text-transform: uppercase; font-family: var(--font-body); }
.theme-section__link { font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--color-muted-foreground); }
.theme-section__link:hover { color: var(--color-foreground); }
.theme-section--products, .theme-shop-section, .theme-services-section, .theme-about-section, .theme-faq-section, .theme-reviews-section { padding-top: 4rem; padding-bottom: 4rem; }
@media (min-width: 768px) { .theme-section--products, .theme-shop-section, .theme-services-section, .theme-about-section, .theme-faq-section, .theme-reviews-section { padding-top: 5rem; padding-bottom: 5rem; } }

/* -------------------------------------------------------------------------
   10. PRODUCT CARDS + GRIDS
   ------------------------------------------------------------------------- */
.theme-product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem 1.5rem; row-gap: 3rem; align-items: stretch; }
@media (min-width: 768px) { .theme-product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .theme-product-grid { grid-template-columns: repeat(4, 1fr); } }
.theme-product-grid--4col { grid-template-columns: repeat(2,1fr); }
@media (min-width: 768px) { .theme-product-grid--4col { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media (min-width: 1024px) { .theme-product-grid--4col { grid-template-columns: repeat(4,minmax(0,1fr)); } }
.theme-product-grid--bestsellers { grid-template-columns: repeat(1,1fr); max-width: 64rem; margin: 0 auto; gap: 2.5rem 2.5rem; }
@media (min-width: 640px) { .theme-product-grid--bestsellers { grid-template-columns: repeat(2,minmax(0,1fr)); } }
.theme-product-grid--related { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.5rem; }
@media (min-width: 1024px) { .theme-product-grid--related { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 2rem; } }

.theme-product-card-wrap { display: flex; flex-direction: column; height: 100%; }
.theme-product-card { display: flex; flex-direction: column; height: 100%; text-align: left; }
.theme-product-card__image-wrapper {
	display: grid; position: relative; aspect-ratio: 4 / 5; overflow: hidden;
	background: var(--color-secondary); margin-bottom: 1rem;
}
.theme-product-card__image {
	grid-area: 1 / 1; width: 100%; height: 100% !important; max-width: none;
	object-fit: contain; object-position: center;
	padding: 0.75rem; box-sizing: border-box; display: block; transition: opacity 0.5s;
}
.theme-product-card__image--primary.is-sold-out { opacity: 0.6; }
.theme-product-card__image--secondary { opacity: 0; }
.theme-product-card:hover .theme-product-card__image--primary { opacity: 0; }
.theme-product-card:hover .theme-product-card__image--secondary { opacity: 1; }
.theme-product-card:hover .theme-product-card__image--primary.is-sold-out { opacity: 0.6; }
.theme-product-card__badge {
	position: absolute; top: 0.75rem; left: 0.75rem; z-index: 2;
	padding: 0.25rem 0.75rem; font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase;
	background: var(--color-foreground); color: var(--color-background);
}
.theme-product-card__info { flex: 1; display: flex; flex-direction: column; gap: 0.25rem; }
.theme-product-card__title { font-family: var(--font-body); font-size: 0.875rem; font-weight: 500; letter-spacing: 0.025em; min-width: 0; }
.theme-product-card__price { font-size: 0.875rem; color: var(--color-muted-foreground); }
.theme-product-card__price .woocommerce-Price-amount { font-family: var(--font-body); }

/* -------------------------------------------------------------------------
   11. ABOUT
   ------------------------------------------------------------------------- */
.theme-about-section { background: var(--color-secondary); padding-top: 5rem; padding-bottom: 5rem; }
@media (min-width: 768px) { .theme-about-section { padding-top: 7rem; padding-bottom: 7rem; } }
.theme-about__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: stretch; }
@media (min-width: 768px) { .theme-about__grid { grid-template-columns: 1fr 1fr; gap: 5rem; } }
.theme-about__image-wrap { position: relative; overflow: hidden; min-height: 420px; background: var(--color-secondary); }
@media (min-width: 768px) { .theme-about__image-wrap { min-height: 0; height: 100%; align-self: stretch; } }
.theme-about__image { object-position: top center; }
.theme-about__eyebrow { display: block; font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--color-muted-foreground); margin-bottom: 1.5rem; }
.theme-about__paragraph { color: color-mix(in srgb, var(--color-foreground) 75%, transparent); font-size: 1rem; line-height: 1.8; margin-bottom: 1.25rem; overflow-wrap: break-word; }
.theme-about__cta { font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; }

/* -------------------------------------------------------------------------
   12. SERVICES
   ------------------------------------------------------------------------- */
.theme-services__list { display: flex; flex-direction: column; gap: 1px; background: var(--color-border); }
@media (min-width: 1024px) { .theme-services__list { flex-direction: row; } }
.theme-service {
	background: var(--color-background); display: flex; flex-direction: column; min-width: 0;
	transition: flex 0.7s cubic-bezier(0.25,1,0.5,1);
}
@media (min-width: 1024px) {
	.theme-service { flex-direction: row; height: 26rem; overflow: hidden; flex: 2 1 0%; }
	.theme-service.is-active { flex: 4 1 0%; }
	.theme-service.is-dimmed { flex: 0.5 1 0%; }
}
.theme-service__panel { display: flex; flex-direction: column; padding: 2rem; width: 100%; flex-shrink: 0; transition: all 0.7s cubic-bezier(0.25,1,0.5,1); }
@media (min-width: 1024px) {
	.theme-service__panel { width: 100%; min-width: 20rem; }
	.theme-service.is-active .theme-service__panel { width: 50%; }
	.theme-service.is-dimmed .theme-service__panel { width: 5.5rem; min-width: 0; padding: 1rem; align-items: center; }
}
.theme-service__number { display: block; font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--color-muted-foreground); margin-bottom: 1rem; transition: all 0.7s cubic-bezier(0.25,1,0.5,1); }
@media (min-width: 1024px) { .theme-service.is-dimmed .theme-service__number { writing-mode: vertical-rl; transform: rotate(180deg); margin-bottom: 0.75rem; } }
.theme-service__title { font-family: var(--font-display); font-weight: 300; font-size: 1.5rem; line-height: 1.15; margin-bottom: 1rem; white-space: nowrap; transition: all 0.7s cubic-bezier(0.25,1,0.5,1); }
@media (min-width: 768px) { .theme-service__title { font-size: 1.875rem; } }
@media (min-width: 1024px) { .theme-service.is-dimmed .theme-service__title { writing-mode: vertical-rl; transform: rotate(180deg); margin-bottom: 0; } }
.theme-service__copy { color: color-mix(in srgb, var(--color-foreground) 75%, transparent); font-size: 15px; line-height: 1.8; margin-bottom: 2rem; transition: opacity 0.7s cubic-bezier(0.25,1,0.5,1); overflow-wrap: break-word; }
@media (min-width: 1024px) { .theme-service.is-dimmed .theme-service__copy { opacity: 0; display: none; } }
.theme-service__cta { align-self: flex-start; margin-top: auto; font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; transition: opacity 0.7s cubic-bezier(0.25,1,0.5,1); }
@media (min-width: 1024px) { .theme-service.is-dimmed .theme-service__cta { opacity: 0; pointer-events: none; } }
.theme-service__image-wrap { position: relative; width: 100%; height: 14rem; flex-shrink: 0; overflow: hidden; align-self: stretch; background: var(--color-secondary); transition: all 0.7s cubic-bezier(0.25,1,0.5,1); }
@media (min-width: 640px) { .theme-service__image-wrap { height: 18rem; } }
@media (min-width: 1024px) {
	.theme-service__image-wrap { width: 0; opacity: 0; height: 100%; min-height: 0; }
	.theme-service.is-active .theme-service__image-wrap { width: 50%; opacity: 1; }
}
.theme-service__image { object-position: center; }

/* -------------------------------------------------------------------------
   13. FISH MARQUEE
   ------------------------------------------------------------------------- */
.theme-fish-marquee {
	position: relative; overflow: hidden; background: var(--color-background); padding: 1.25rem 0;
	-webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
	mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}
@media (min-width: 768px) { .theme-fish-marquee { padding: 2rem 0; } }
.theme-fish-marquee__rows { display: flex; flex-direction: column; gap: 0.5rem; }
@media (min-width: 768px) { .theme-fish-marquee__rows { gap: 1rem; } }
.theme-fish-marquee__row { display: flex; width: max-content; align-items: center; will-change: transform; }
.theme-fish-marquee__row--marquee { animation-name: marquee; animation-timing-function: linear; animation-iteration-count: infinite; }
.theme-fish-marquee__row--marquee-reverse { animation-name: marquee-reverse; animation-timing-function: linear; animation-iteration-count: infinite; }
.theme-fish-marquee__group { display: flex; flex-shrink: 0; align-items: center; }
.theme-fish-marquee__fish { flex-shrink: 0; width: 80px; height: auto; margin-right: 0.25rem; }
@media (min-width: 640px) { .theme-fish-marquee__fish { width: 110px; } }
@media (min-width: 768px) { .theme-fish-marquee__fish { width: 150px; } }
@media (min-width: 1024px) { .theme-fish-marquee__fish { width: 180px; } }

/* -------------------------------------------------------------------------
   14. SHOP SECTION
   ------------------------------------------------------------------------- */
.theme-shop-section .theme-section__head { margin-bottom: 1.5rem; }
.theme-shop__filter-toggle { display: flex; align-items: center; gap: 0.5rem; font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--color-muted-foreground); transition: color 0.2s; }
.theme-shop__filter-toggle:hover { color: var(--color-foreground); }
.theme-shop__filter-chevron { transition: transform 0.3s; }
.theme-shop__filter-toggle.is-open .theme-shop__filter-chevron { transform: rotate(180deg); }

.theme-shop__categories { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--color-border); }
.theme-cat-filter { font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--color-muted-foreground); padding-bottom: 0.15rem; transition: color 0.2s; }
.theme-cat-filter:hover { color: var(--color-foreground); }
.theme-cat-filter.is-active { color: var(--color-foreground); border-bottom: 1px solid var(--color-foreground); }

.theme-shop__filter-panel { max-height: 0; opacity: 0; overflow: hidden; transition: max-height 0.3s var(--transition-smooth), opacity 0.3s var(--transition-smooth); }
.theme-shop__filter-panel.is-open { max-height: 20rem; opacity: 1; }
.theme-shop__filter-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; padding: 1.5rem 0; border-bottom: 1px solid var(--color-border); }
@media (min-width: 768px) { .theme-shop__filter-grid { grid-template-columns: 1fr 1fr; } }
.theme-shop__search { position: relative; }
.theme-shop__search-icon { position: absolute; left: 0; top: 50%; transform: translateY(-50%); color: var(--color-muted-foreground); }
.theme-shop__search input {
	width: 100%; padding: 0.5rem 0 0.5rem 1.75rem; background: transparent; border: none; border-bottom: 1px solid var(--color-border);
	color: var(--color-foreground); transition: border-color 0.2s;
}
.theme-shop__search input:focus { outline: none; border-color: var(--color-foreground); }
.theme-shop__search input::placeholder { color: var(--color-muted-foreground); }

.theme-shop__price-labels { display: flex; justify-content: space-between; font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--color-muted-foreground); margin-bottom: 0.75rem; }

/* Dual-handle price range (Section 31.4 — overlapping full-width inputs) */
.price-range-wrapper { position: relative; height: 1.5rem; }
.range-track-bg, .range-track-fill { position: absolute; height: 4px; top: 50%; transform: translateY(-50%); pointer-events: none; border-radius: 4px; }
.range-track-bg { left: 0; right: 0; background: var(--color-border); }
.range-track-fill { background: var(--color-primary); }
.range-input { position: absolute; left: 0; top: 0; width: 100%; height: 100%; margin: 0; -webkit-appearance: none; appearance: none; background: transparent; pointer-events: none; }
.range-input::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 20px; height: 20px; border-radius: 50%; background: var(--color-background); border: 2px solid var(--color-primary); cursor: pointer; }
.range-input::-moz-range-thumb { pointer-events: auto; width: 20px; height: 20px; border-radius: 50%; background: var(--color-background); border: 2px solid var(--color-primary); cursor: pointer; }
.range-input--max { z-index: 3; }
.range-input--min { z-index: 4; }

.theme-shop__show-more-wrap { text-align: center; margin-top: 3rem; }
.theme-shop__empty { text-align: center; padding: 5rem 0; color: var(--color-muted-foreground); }

/* -------------------------------------------------------------------------
   15. REVIEWS
   ------------------------------------------------------------------------- */
.theme-reviews__head { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 2.5rem; padding-bottom: 1rem; border-bottom: 1px solid var(--color-border); }
@media (min-width: 640px) { .theme-reviews__head { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.theme-reviews__rating { display: flex; align-items: center; gap: 0.5rem; }
.theme-reviews__stars { display: flex; }
.theme-star { color: var(--color-border); }
.theme-star.is-filled { color: var(--color-primary); }
.theme-reviews__count { font-size: 13px; color: var(--color-muted-foreground); }
.theme-reviews__grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .theme-reviews__grid { grid-template-columns: 1fr 1fr; gap: 3rem; } }
.theme-review { display: flex; flex-direction: column; gap: 1.25rem; }
@media (min-width: 640px) { .theme-review { flex-direction: row; } }
.theme-review__image-link {
	display: grid; flex-shrink: 0; width: 100%; height: 10rem; overflow: hidden;
	background: var(--color-secondary);
}
@media (min-width: 640px) {
	.theme-review__image-link { width: 7rem; height: 7rem; }
}
.theme-review__image {
	grid-area: 1 / 1; width: 100%; height: 100% !important; max-width: none;
	object-fit: cover; object-position: center; display: block;
}
.theme-review__stars { display: flex; margin-bottom: 0.5rem; }
.theme-review__text { font-size: 15px; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); line-height: 1.625; margin-bottom: 0.75rem; overflow-wrap: break-word; }
.theme-review__meta { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); }
.theme-review__product-link { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; margin-top: 0.5rem; display: inline-block; }

/* -------------------------------------------------------------------------
   16. LIFESTYLE BANNER
   ------------------------------------------------------------------------- */
.theme-lifestyle-banner {
	position: relative; isolation: isolate; min-height: 60vh;
	border-top: 1px solid var(--color-border); overflow: hidden;
}
@media (min-width: 768px) { .theme-lifestyle-banner { min-height: 70vh; } }
.theme-lifestyle-banner__media-wrap {
	position: absolute !important;
	left: 0; right: 0; top: -10%; height: 120%;
	z-index: 0; overflow: hidden;
	background-color: var(--color-secondary); background-size: cover;
	background-position: center; background-repeat: no-repeat;
	will-change: transform;
}
.theme-lifestyle-banner__poster,
.theme-lifestyle-banner__video {
	position: absolute; inset: 0; width: 100%; height: 100%; max-width: none !important;
	object-fit: cover; object-position: center; display: block;
}
.theme-lifestyle-banner__poster { z-index: 1; }
.theme-lifestyle-banner__video {
	z-index: 2; opacity: 0; pointer-events: none;
	transition: opacity 0.4s ease;
}
.theme-lifestyle-banner__video.is-playing { opacity: 1; }
@media (max-width: 767px) {
	.theme-lifestyle-banner__video { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
	.theme-lifestyle-banner__video { display: none !important; }
}
.theme-lifestyle-banner__overlay {
	position: absolute; inset: 0; z-index: 1; pointer-events: none;
	background: rgba(21, 41, 55, 0.45);
}
.theme-lifestyle-banner__inner {
	position: relative; z-index: 2; min-height: 60vh; display: flex; align-items: flex-end;
	padding-top: 4rem; padding-bottom: 4rem;
}
@media (min-width: 768px) {
	.theme-lifestyle-banner__inner { min-height: 70vh; padding-top: 5rem; padding-bottom: 5rem; }
}
.theme-lifestyle-banner__content { max-width: 36rem; color: #fff; }
.theme-lifestyle-banner__eyebrow { display: block; font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; margin-bottom: 1.25rem; opacity: 0.9; }

/* -------------------------------------------------------------------------
   17. FAQ ACCORDION (generic .theme-accordion reused for product accordions)
   ------------------------------------------------------------------------- */
.theme-faq-section { background: var(--color-secondary); }
.theme-accordion__item { border-bottom: 1px solid var(--color-border); }
.theme-accordion__trigger {
	display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%;
	padding: 1.25rem 0; text-align: left; font-family: var(--font-body); font-size: 15px; font-weight: 400;
	transition: color 0.2s;
}
.theme-product-accordion .theme-accordion__trigger { padding: 1.25rem 0; font-size: 13px; letter-spacing: 0.25em; text-transform: uppercase; }
.theme-accordion__trigger:hover { color: color-mix(in srgb, var(--color-foreground) 70%, transparent); }
.theme-accordion__chevron { flex-shrink: 0; transition: transform 0.3s; }
.theme-accordion__item.is-open .theme-accordion__chevron { transform: rotate(180deg); }
.theme-accordion__panel { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.theme-accordion__item.is-open .theme-accordion__panel { max-height: 640px; }
.theme-accordion__panel-inner { padding-bottom: 1.5rem; padding-right: 1.5rem; font-size: 15px; font-family: var(--font-body); color: var(--color-muted-foreground); line-height: 1.625; overflow-wrap: break-word; }
.theme-accordion__panel-inner p { margin-bottom: 1rem; }
.theme-accordion__panel-inner ul { padding-left: 0; }
.theme-accordion__panel-inner li { position: relative; padding-left: 1rem; margin-bottom: 0.5rem; }
.theme-accordion__panel-inner li::before { content: ''; position: absolute; left: 0; top: 0.55em; width: 4px; height: 4px; border-radius: 50%; background: var(--color-foreground); }

/* -------------------------------------------------------------------------
   18. CONTACT SECTION
   ------------------------------------------------------------------------- */
.theme-contact-section { position: relative; overflow: hidden; border-top: 1px solid var(--color-border); }
.theme-contact-section__backdrop { z-index: 0; }
.theme-contact-section__overlay { position: absolute; inset: 0; background: color-mix(in srgb, var(--color-background) 85%, transparent); z-index: 1; }
.theme-contact-section__inner { position: relative; z-index: 2; padding-top: 5rem; padding-bottom: 5rem; }
@media (min-width: 768px) { .theme-contact-section__inner { padding-top: 7rem; padding-bottom: 7rem; } }
.theme-contact-section__content { max-width: 42rem; margin: 0 auto; text-align: center; }
.theme-contact-section__eyebrow { display: block; font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--color-muted-foreground); margin-bottom: 1.5rem; }
.theme-contact-section__copy { color: color-mix(in srgb, var(--color-foreground) 75%, transparent); font-size: 1rem; line-height: 1.8; margin-bottom: 2.5rem; overflow-wrap: break-word; }
.theme-contact-section__actions { display: flex; flex-direction: column; align-items: stretch; justify-content: center; gap: 1rem; margin-bottom: 2rem; width: 100%; }
@media (min-width: 640px) { .theme-contact-section__actions { flex-direction: row; align-items: center; width: auto; } }
.theme-btn-contact { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; width: 100%; min-width: 0; padding: 0.9rem 1.5rem; font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; border: 1px solid var(--color-foreground); transition: background-color 0.3s, color 0.3s; box-sizing: border-box; }
@media (min-width: 640px) { .theme-btn-contact { width: auto; min-width: 220px; } }
.theme-btn-contact--filled { background: var(--color-foreground); color: var(--color-background); }
.theme-btn-contact--filled:hover { background: transparent; color: var(--color-foreground); }
.theme-btn-contact--outline { background: transparent; color: var(--color-foreground); }
.theme-btn-contact--outline:hover { background: var(--color-foreground); color: var(--color-background); }
.theme-contact-section__meta { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.75rem; font-size: 13px; color: var(--color-muted-foreground); }
@media (min-width: 640px) { .theme-contact-section__meta { flex-direction: row; gap: 1.5rem; } }
.theme-contact-section__meta span, .theme-contact-section__meta a { display: flex; align-items: center; gap: 0.5rem; }
.theme-contact-section__meta a:hover { color: var(--color-foreground); }

/* -------------------------------------------------------------------------
   19. CONTACT MODAL (Dialog)
   ------------------------------------------------------------------------- */
#theme-contact-modal-overlay { position: fixed; inset: 0; z-index: 90; background: rgba(0,0,0,0.7); opacity: 0; visibility: hidden; transition: opacity 0.2s; }
#theme-contact-modal-overlay.is-open { opacity: 1; visibility: visible; }
#theme-contact-modal {
	position: fixed; top: 50%; left: 50%; z-index: 91; width: calc(100% - 2rem); max-width: 34rem; max-height: 90vh; overflow-y: auto;
	background: var(--color-background); border-radius: 0.5rem; box-shadow: var(--shadow-elevated);
	padding: 1.5rem; opacity: 0; visibility: hidden;
	transform: translate(-50%, -48%) scale(0.96);
	transition: opacity 0.2s, transform 0.2s;
}
#theme-contact-modal.is-open { opacity: 1; visibility: visible; transform: translate(-50%, -50%) scale(1); }
.theme-modal__close { position: absolute; right: 1rem; top: 1rem; opacity: 0.7; padding: 0.25rem; }
.theme-modal__close:hover { opacity: 1; }
.theme-modal__header { text-align: left; margin-bottom: 1rem; }
.theme-modal__title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 400; margin-bottom: 0.5rem; }
.theme-modal__description { font-size: 0.875rem; font-family: var(--font-body); color: var(--color-muted-foreground); }
.theme-modal__contact-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; font-size: 14px; color: var(--color-muted-foreground); margin-bottom: 1rem; }
.theme-modal__contact-link { display: flex; align-items: center; gap: 0.5rem; }
.theme-modal__contact-link:hover { color: var(--color-foreground); }
.theme-modal__form-row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .theme-modal__form-row { grid-template-columns: 1fr 1fr; } }
.theme-modal__field { margin-bottom: 1rem; }
.theme-modal__field label { font-size: 0.875rem; font-weight: 500; font-family: var(--font-body); margin-bottom: 0.375rem; display: block; }
.theme-modal__field input, .theme-modal__field textarea {
	width: 100%; padding: 0.625rem 0.75rem; background: var(--color-background); border: 1px solid var(--color-border);
	border-radius: 0.375rem; font-size: 1rem;
}
.theme-modal__field input:focus, .theme-modal__field textarea:focus { outline: 2px solid color-mix(in srgb, var(--color-primary) 50%, transparent); outline-offset: 0; }
.theme-modal__form-actions { display: flex; justify-content: flex-end; }
.theme-modal__success { text-align: center; padding: 2rem 0; }
.theme-modal__success-icon { width: 3.5rem; height: 3.5rem; border-radius: 50%; background: var(--color-primary); color: var(--color-primary-foreground); display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }
.theme-modal__success-title { font-family: var(--font-display); font-size: 1.25rem; font-weight: 400; margin-bottom: 0.5rem; }
.theme-modal__success-copy { font-size: 0.875rem; font-family: var(--font-body); color: var(--color-muted-foreground); }
body.contact-modal-open { overflow: hidden; }

/* -------------------------------------------------------------------------
   20. GENERIC BUTTONS
   ------------------------------------------------------------------------- */
.theme-btn-primary {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
	background: var(--color-primary); color: var(--color-button-text); border-radius: var(--btn-radius);
	min-height: var(--btn-height); padding: var(--btn-padding); font-size: var(--btn-font-size);
	font-weight: var(--btn-font-weight); letter-spacing: var(--btn-letter-spacing); text-transform: none;
	transition: opacity 0.2s;
}
.theme-btn-primary:hover { opacity: 0.85; }
.theme-btn-outline {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
	background: transparent; color: var(--color-foreground); border: 1px solid var(--color-border);
	border-radius: var(--btn-radius); min-height: 2.75rem; padding: 0.6rem 1.5rem; font-size: 0.875rem;
	transition: background-color 0.2s;
}
.theme-btn-outline:hover { background: var(--color-secondary); }

/* -------------------------------------------------------------------------
   21. FOOTER
   ------------------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--color-border); }
.site-footer__inner { padding-top: 2.5rem; padding-bottom: 1.5rem; }
@media (min-width: 1024px) { .site-footer__inner { padding-top: 3rem; padding-bottom: 1.5rem; } }
.site-footer__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
.site-footer__col { display: flex; flex-direction: column; gap: 1rem; }
.site-footer__brand { display: flex; align-items: center; gap: 0.75rem; }
.site-footer__brand .site-logo-img,
.site-logo-img--footer {
	height: var(--logo-height-footer) !important;
	width: auto !important;
	max-width: none !important;
	max-height: var(--logo-height-footer) !important;
}
.site-footer__brand-name { font-family: var(--font-display); font-size: 1.25rem; letter-spacing: 0.12em; text-transform: uppercase; }
.site-footer__tagline { font-size: 13px; color: var(--color-muted-foreground); max-width: 20rem; overflow-wrap: break-word; }
.site-footer__heading { font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; }
.site-footer__nav .theme-nav-list, .site-footer__nav .theme-footer-nav-list { flex-direction: column; align-items: flex-start; gap: 0.625rem; }
.site-footer__nav a, .site-footer__nav button { font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--color-muted-foreground); }
.site-footer__nav a:hover, .site-footer__nav button:hover { color: var(--color-foreground); }
.site-footer__contact { display: flex; flex-direction: column; gap: 0.625rem; }
.site-footer__contact-link { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--color-muted-foreground); overflow-wrap: anywhere; }
.site-footer__contact-link:hover { color: var(--color-foreground); }
.site-footer__contact-line { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--color-muted-foreground); }
.site-footer__bottom { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--color-border); display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 0.5rem; }
@media (min-width: 640px) { .site-footer__bottom { flex-direction: row; } }
.site-footer__copyright, .site-footer__credit { font-size: 13px; color: var(--color-muted-foreground); }

/* -------------------------------------------------------------------------
   22. SINGLE PRODUCT (ProductDetail.tsx parity)
   ------------------------------------------------------------------------- */
.single-product-main { padding-bottom: 5rem; background: var(--color-background); }
.theme-breadcrumb { padding: 1.5rem 0; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); font-family: var(--font-body); }
.theme-breadcrumb a { color: var(--color-muted-foreground); transition: color 0.2s; }
.theme-breadcrumb a:hover { color: var(--color-foreground); }
.theme-breadcrumb__sep { margin: 0 0.5rem; opacity: 0.5; }
.theme-breadcrumb__current { color: var(--color-foreground); }

.theme-product-layout {
	display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem;
	padding-top: 1rem; padding-bottom: 6rem; align-items: start; min-width: 0;
}
@media (min-width: 1024px) {
	.theme-product-layout { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4rem; }
	.theme-product-gallery { grid-column: span 7 / span 7; }
	.theme-product-info { grid-column: span 5 / span 5; padding-left: 1rem; position: sticky; top: 7rem; align-self: start; }
}
.theme-product-gallery, .theme-product-info { min-width: 0; max-width: 100%; }

/* Gallery: mobile thumbs + desktop stacked */
.theme-product-gallery__mobile { display: block; }
.theme-product-gallery__desktop { display: none; }
@media (min-width: 1024px) {
	.theme-product-gallery__mobile { display: none; }
	.theme-product-gallery__desktop { display: flex; flex-direction: column; gap: 1rem; }
}
.theme-product-media {
	display: grid; aspect-ratio: 1 / 1; overflow: hidden;
	background: var(--color-secondary);
}
.theme-product-img {
	grid-area: 1 / 1; width: 100%; height: 100% !important; max-width: none;
	object-fit: contain; object-position: center;
	padding: 1rem; box-sizing: border-box; display: block;
}
.theme-product-img--thumb { padding: 0.25rem; opacity: 0.6; transition: opacity 0.2s; }
.theme-product-thumb:hover .theme-product-img--thumb,
.theme-product-thumb.is-active .theme-product-img--thumb { opacity: 1; }
.theme-product-thumbnails { display: flex; gap: 0.75rem; margin-top: 1rem; overflow-x: auto; padding-bottom: 0.25rem; }
.theme-product-thumb {
	display: grid; position: relative; width: 5rem; height: 5rem; flex-shrink: 0;
	overflow: hidden; background: var(--color-secondary); border: none; padding: 0; cursor: pointer;
}
.theme-product-thumb .theme-product-img--thumb {
	width: 100%; height: 100% !important; max-width: none;
}
.theme-product-thumb::after {
	content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
	background: var(--color-foreground); opacity: 0; transition: opacity 0.2s;
}
.theme-product-thumb.is-active::after { opacity: 1; }

.theme-product-info__category {
	display: block; font-size: 13px; letter-spacing: 0.25em; text-transform: uppercase;
	color: var(--color-muted-foreground); font-family: var(--font-body);
}
.single-product-main .product-title {
	font-family: var(--font-display); font-weight: 400; font-size: 1.875rem; line-height: 1.1;
	margin-top: 0.75rem; margin-bottom: 1.25rem; text-transform: none; overflow-wrap: break-word;
}
@media (min-width: 768px) { .single-product-main .product-title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .single-product-main .product-title { font-size: 2.75rem; } }
.single-product-main .theme-product-info__price {
	font-size: 1.25rem; margin-bottom: 1.5rem; font-family: var(--font-body); color: var(--color-foreground);
}
.single-product-main .theme-product-info__price .woocommerce-Price-amount,
.single-product-main .theme-product-info__price bdi { font-family: inherit; font-weight: inherit; }
.theme-product-info__lead {
	color: var(--color-muted-foreground); line-height: 1.625; margin-bottom: 2rem;
	font-size: 1rem; font-family: var(--font-body);
}
.theme-product-info__stock { font-size: 13px; letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 1.5rem; }
.theme-product-info__stock.is-out-of-stock { color: var(--color-destructive); }

.theme-field-label {
	font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase;
	color: var(--color-muted-foreground); margin-bottom: 0.75rem; font-family: var(--font-body); font-weight: 400;
}
.theme-notes-field { margin-bottom: 1.5rem; }
.theme-notes-field label { font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); margin-bottom: 0.75rem; display: block; font-family: var(--font-body); }
.theme-notes-field__optional { text-transform: none; letter-spacing: normal; opacity: 0.6; }
.theme-notes-field input {
	width: 100%; padding: 0.75rem 1rem; background: var(--color-background);
	border: 1px solid var(--color-border); font-size: 1rem; font-family: var(--font-body);
}
.theme-notes-field input:focus { outline: none; border-color: var(--color-foreground); }

.theme-quantity-field { margin-bottom: 1rem; }
.single-product-main .theme-quantity-wrapper { display: inline-flex; align-items: center; border: 1px solid var(--color-border); }
.single-product-main .theme-qty-minus,
.single-product-main .theme-qty-plus {
	padding: 0.5rem 0.75rem; border: none; background: transparent; cursor: pointer; transition: background-color 0.2s;
	display: inline-flex; align-items: center; justify-content: center;
}
.single-product-main .theme-qty-minus:hover,
.single-product-main .theme-qty-plus:hover { background: var(--color-secondary); }
.single-product-main .theme-qty-display {
	padding: 0.5rem 1rem; min-width: 2.75rem; text-align: center; font-size: 0.875rem; font-family: var(--font-body);
}
.single-product-main .theme-add-to-cart-area { display: block; margin-bottom: 0; }

.single-product-main .theme-product-atc-btn,
.single-product-main .theme-product-atc-btn.button,
.single-product-main .single_add_to_cart_button.button {
	background-color: var(--color-foreground) !important;
	color: var(--color-background) !important;
	border: none !important;
	border-radius: var(--btn-radius) !important;
	width: 100% !important;
	padding: 1rem !important;
	min-height: auto !important;
	font-family: var(--font-body) !important;
	font-size: 12px !important;
	font-weight: 500 !important;
	letter-spacing: 0.25em !important;
	text-transform: uppercase !important;
	cursor: pointer !important;
	transition: opacity 0.2s, background-color 0.2s !important;
	flex: none !important;
	min-width: 0 !important;
}
.single-product-main .theme-product-atc-btn:hover,
.single-product-main .single_add_to_cart_button.button:hover {
	background-color: color-mix(in srgb, var(--color-foreground) 90%, transparent) !important;
	color: var(--color-background) !important;
	opacity: 1 !important;
}
.single-product-main .theme-product-atc-btn:disabled,
.single-product-main .theme-product-atc-btn.disabled {
	opacity: 0.6 !important; cursor: not-allowed !important; pointer-events: none !important;
}

.theme-product-accordion { margin-top: 2.5rem; border-top: 1px solid var(--color-border); }
.theme-product-features-text {
	font-size: 15px; color: var(--color-muted-foreground); line-height: 1.625;
	margin-bottom: 1rem; white-space: pre-line; font-family: var(--font-body);
}
.theme-product-details-list { margin: 0; padding: 0; list-style: none; }
.theme-product-details-list li {
	display: flex; align-items: flex-start; font-size: 15px; color: var(--color-muted-foreground);
	margin-bottom: 0.5rem; font-family: var(--font-body);
}
.theme-product-details-list li::before {
	content: ''; width: 4px; height: 4px; border-radius: 50%; background: var(--color-foreground);
	margin-top: 0.5rem; margin-right: 0.75rem; flex-shrink: 0;
}

.theme-related__head { text-align: center; margin-bottom: 3rem; }
.theme-related__eyebrow { font-family: var(--font-display); font-style: italic; font-size: 1rem; color: var(--color-muted-foreground); margin-bottom: 0.5rem; }
.theme-related__title { font-family: var(--font-display); font-weight: 400; font-size: 1.875rem; }
@media (min-width: 768px) { .theme-related__title { font-size: 2.25rem; } }
.related-products-section { padding: 5rem 0; border-top: 1px solid var(--color-border); }

/* Hide leftover WC chrome on PDP */
.single-product-main .woocommerce-product-gallery,
.single-product-main .product_meta,
.single-product-main .woocommerce-tabs,
.single-product-main .posted_in,
.single-product-main .woocommerce-breadcrumb { display: none !important; }

.single-product .woocommerce-product-details__short-description,
.single-product .woocommerce-variation-description,
.single-product .posted_in { overflow-wrap: break-word; word-break: break-word; }

/* Variable product variations table layout */
.single-product .variations.shop_attributes tbody,
.single-product .variations tbody tr,
.single-product .variations tbody td { display: block; width: 100%; }
.single-product .variations tbody td.label { padding-bottom: 0.25rem; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; }
.single-product .variations tbody td.value { padding-top: 0; padding-bottom: 1rem; }

/* Attribute pills / selects (variable PDP) */
.theme-attr-field { margin-bottom: 1.5rem; }
.theme-attr-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.75rem; }
.theme-attr-pills--color { gap: 0.75rem; }
.theme-attr-pill {
	display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem;
	font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase; font-family: var(--font-body);
	border: 1px solid var(--color-border); border-radius: 9999px; background: transparent;
	cursor: pointer; transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}
.theme-attr-pill--color.is-selected {
	border-color: var(--color-primary);
	background: color-mix(in srgb, var(--color-primary) 5%, transparent);
}
.theme-attr-pill--license.is-selected {
	border-color: var(--color-foreground);
	background: var(--color-foreground);
	color: var(--color-background);
}
.theme-attr-pill__swatch {
	width: 0.75rem; height: 0.75rem; border-radius: 50%; border: 1px solid var(--color-border); flex-shrink: 0;
}
.theme-attr-select-wrap { max-width: 100%; }
.single-product-main .theme-attr-select {
	width: 100%; padding: 0.75rem 1rem; background: var(--color-background);
	border: 1px solid var(--color-border); font-size: 1rem; font-family: var(--font-body);
	appearance: auto;
}
.single-product-main .theme-attr-select:focus { outline: none; border-color: var(--color-foreground); }
.theme-attr-select-hidden { display: none !important; }

/* -------------------------------------------------------------------------
   23. ADD TO CART BUTTON STYLE OVERRIDE (Section 11.4.1, MANDATORY)
   ------------------------------------------------------------------------- */
.single_add_to_cart_button.button,
.add_to_cart_button.button,
a.single_add_to_cart_button:not(.theme-suggested-products__item),
a.add_to_cart_button:not(.theme-suggested-products__item) {
	background-color: var(--color-primary) !important;
	color: var(--color-button-text) !important;
	border: none !important;
	border-radius: var(--btn-radius) !important;
	min-height: var(--btn-height) !important;
	padding: var(--btn-padding) !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	font-family: var(--font-body) !important;
	font-size: var(--btn-font-size) !important;
	font-weight: var(--btn-font-weight) !important;
	letter-spacing: var(--btn-letter-spacing) !important;
	text-transform: none !important;
	cursor: pointer !important;
	transition: opacity 0.2s ease !important;
	width: 100%;
	flex: 1 1 auto;
	min-width: 160px;
}
.single_add_to_cart_button.button:hover,
.add_to_cart_button.button:hover,
a.add_to_cart_button:not(.theme-suggested-products__item):hover {
	opacity: 0.85 !important;
	background-color: var(--color-primary) !important;
	color: var(--color-button-text) !important;
}
.single_add_to_cart_button.button:disabled,
.single_add_to_cart_button.button.disabled,
.add_to_cart_button.button:disabled,
.add_to_cart_button.button.disabled {
	cursor: not-allowed !important;
	opacity: 0.4 !important;
	pointer-events: none !important;
}
.single_add_to_cart_button.button:disabled:hover,
.single_add_to_cart_button.button.disabled:hover,
.add_to_cart_button.button:disabled:hover,
.add_to_cart_button.button.disabled:hover {
	opacity: 0.4 !important;
	background-color: var(--color-primary) !important;
}
.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !important; }
.ajax_add_to_cart.theme-btn-loading { opacity: 0.6 !important; pointer-events: none !important; cursor: wait !important; }

/* Hide "View cart" injected after AJAX add (Section 11.4.2) */
.woocommerce-page a.added_to_cart.wc-forward,
.single-product a.added_to_cart.wc-forward,
body a.added_to_cart.wc-forward { display: none !important; }

/* -------------------------------------------------------------------------
   24. SUGGESTED PRODUCTS ("Pair it with...")
   ------------------------------------------------------------------------- */
.theme-suggested-products { padding-top: 1.5rem; border-top: 1px solid var(--color-border); }
.theme-suggested-products--drawer { margin-top: 0; }
.theme-suggested-products--checkout { margin-top: 2.5rem; padding-top: 1.5rem; }
.theme-suggested-products__heading { font-family: var(--font-display); font-size: 1.125rem; font-weight: 400; margin-bottom: 0.25rem; }
.theme-suggested-products__subheading { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--color-muted-foreground); margin-bottom: 1rem; }
.theme-suggested-products__list { display: flex; gap: 0.75rem; overflow-x: auto; padding-bottom: 0.5rem; margin-inline: -0.25rem; padding-inline: 0.25rem; }
.theme-suggested-products--checkout .theme-suggested-products__list { display: grid; grid-template-columns: repeat(2,1fr); gap: 1rem; overflow: visible; margin-inline: 0; padding-inline: 0; }
@media (min-width: 640px) { .theme-suggested-products--checkout .theme-suggested-products__list { grid-template-columns: repeat(4,1fr); } }
.theme-suggested-products__item,
.theme-suggested-products__item.add_to_cart_button,
.theme-suggested-products__item.ajax_add_to_cart {
	display: block; flex-shrink: 0; width: 8rem; min-width: 8rem; min-height: 0;
	text-align: left; text-decoration: none; color: inherit;
	background: none !important; border: none !important; border-radius: 0 !important;
	padding: 0 !important; box-shadow: none !important;
}
.theme-suggested-products__item:hover,
.theme-suggested-products__item.add_to_cart_button:hover {
	opacity: 1 !important; background: none !important; color: inherit !important;
}
.theme-suggested-products--checkout .theme-suggested-products__item { width: 100%; min-width: 0; }
.theme-suggested-products__image-wrap {
	display: grid; width: 100%; aspect-ratio: 3 / 4; overflow: hidden;
	background: var(--color-secondary); margin-bottom: 0.5rem;
}
.theme-suggested-products__image,
.theme-suggested-products__image-wrap img {
	grid-area: 1 / 1; width: 100%; height: 100% !important; max-width: none;
	object-fit: contain; object-position: center; padding: 0.5rem; box-sizing: border-box;
	display: block; transition: transform 0.7s;
}
.theme-suggested-products__item:hover .theme-suggested-products__image,
.theme-suggested-products__item:hover .theme-suggested-products__image-wrap img { transform: scale(1.05); }
.theme-suggested-products__name {
	display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
	font-size: 11px; font-family: var(--font-body); letter-spacing: 0.18em; text-transform: uppercase; line-height: 1.625;
}
.theme-suggested-products__price { display: block; font-size: 0.75rem; font-family: var(--font-body); color: var(--color-muted-foreground); margin-top: 0.25rem; }
.theme-suggested-products__price .woocommerce-Price-amount { font-family: inherit; font-size: inherit; color: inherit; }
.theme-suggested-products__add { display: inline-block; margin-top: 0.25rem; font-size: 11px; font-family: var(--font-body); letter-spacing: 0.18em; text-transform: uppercase; color: var(--color-primary); opacity: 0; transition: opacity 0.2s; }
.theme-suggested-products__item:hover .theme-suggested-products__add { opacity: 1; }

/* -------------------------------------------------------------------------
   25. SIDE CART DRAWER
   ------------------------------------------------------------------------- */
#theme-cart-overlay { position: fixed; inset: 0; z-index: 60; background: rgba(21,41,55,0.2); opacity: 0; visibility: hidden; transition: opacity 0.3s; }
body.cart-open #theme-cart-overlay { opacity: 1; visibility: visible; }
#theme-cart-drawer {
	position: fixed; right: 0; top: 0; height: 100%; width: 100%; max-width: 28rem; z-index: 61;
	background: var(--color-background); box-shadow: var(--shadow-elevated); display: flex; flex-direction: column;
	transform: translateX(100%); transition: transform 0.35s var(--transition-smooth);
}
body.cart-open #theme-cart-drawer { transform: translateX(0); }
#theme-cart-drawer.is-updating { opacity: 0.6; pointer-events: none; }
.theme-cart-drawer__header { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem; border-bottom: 1px solid var(--color-border); }
.theme-cart-drawer__title { font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; }
.theme-cart-drawer__close { padding: 0.25rem; opacity: 0.8; }
.theme-cart-drawer__close:hover { opacity: 1; }
.theme-cart-drawer__empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem; text-align: center; gap: 1rem; }
.theme-cart-drawer__empty svg { color: var(--color-muted-foreground); }
.theme-cart-drawer__items { flex: 1; overflow: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.theme-cart-item { display: flex; gap: 1rem; }
.theme-cart-item__image-link {
	display: grid; width: 5rem; height: 6rem; overflow: hidden; flex-shrink: 0;
	background: var(--color-secondary);
}
.theme-cart-item__image-link img {
	grid-area: 1 / 1; width: 100%; height: 100% !important; max-width: none;
	object-fit: contain; object-position: center; padding: 0.25rem; box-sizing: border-box;
	display: block;
}
.theme-cart-item__info { flex: 1; min-width: 0; }
.theme-cart-item__name { font-size: 0.875rem; font-weight: 500; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.theme-cart-item__name:hover { opacity: 0.7; }
.theme-cart-item__price { font-size: 0.875rem; color: var(--color-muted-foreground); margin-top: 0.125rem; }
.theme-cart-item-meta { list-style: none; margin: 0.25rem 0 0; padding: 0; }
.theme-cart-item-meta-row {
	display: flex; align-items: center; gap: 0.5rem; font-size: 11px; letter-spacing: 0.15em;
	text-transform: uppercase; color: var(--color-muted-foreground); margin-top: 0.25rem;
}
.theme-cart-item-meta-swatch {
	width: 0.625rem; height: 0.625rem; border-radius: 50%; border: 1px solid var(--color-border); flex-shrink: 0;
}
.theme-cart-item-meta-note {
	font-size: 12px; letter-spacing: normal; text-transform: none; font-style: italic;
	color: var(--color-muted-foreground); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.theme-cart-item__controls { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.75rem; }
.theme-cart-qty-btn { padding: 0.25rem; border-radius: 4px; transition: background-color 0.2s; }
.theme-cart-qty-btn:hover { background: var(--color-secondary); }
.theme-cart-item__qty { font-size: 0.875rem; width: 1.5rem; text-align: center; }
.theme-cart-item__remove { margin-left: auto; font-size: 0.875rem; color: var(--color-muted-foreground); }
.theme-cart-item__remove:hover { color: var(--color-foreground); }
.theme-cart-drawer__footer { padding: 1.5rem; border-top: 1px solid var(--color-border); display: flex; flex-direction: column; gap: 1rem; }
.theme-cart-drawer__subtotal-row { display: flex; justify-content: space-between; font-size: 0.875rem; }
.theme-cart-drawer__shipping-note { font-size: 0.875rem; color: var(--color-muted-foreground); }
.theme-cart-drawer__checkout-btn { width: 100%; text-align: center; }
.theme-cart-drawer__empty-btn { width: 100%; }

/* -------------------------------------------------------------------------
   26. WOOCOMMERCE NOTICES (scoped)
   ------------------------------------------------------------------------- */
.single-product .woocommerce-message, .single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }
.woocommerce-message, .woocommerce-error, .woocommerce-info {
	font-family: var(--font-body); border-radius: var(--card-radius); border: 1px solid var(--color-border);
	padding: 1rem 1.5rem; margin-bottom: 1.5rem; list-style: none; background: var(--color-secondary); color: var(--color-foreground);
}
.woocommerce-error { border-color: var(--color-destructive); }

/* -------------------------------------------------------------------------
   27. 404 / GENERIC PAGE
   ------------------------------------------------------------------------- */
.page-title { font-family: var(--font-display); font-size: 2.25rem; font-weight: 700; line-height: 1.08; margin: 2rem 0 1.5rem; overflow-wrap: break-word; }
.theme-404 { min-height: 60vh; display: flex; align-items: center; }
.theme-404__inner { text-align: center; padding: 5rem 0; }
.theme-404__title { font-family: var(--font-display); font-size: 2.25rem; font-weight: 700; line-height: 1.08; margin-bottom: 1rem; }
.theme-404__text { font-size: 1.25rem; font-family: var(--font-body); color: var(--color-muted-foreground); margin-bottom: 2rem; }
.theme-generic-content { padding: 3rem 0; }
.entry-content { padding-bottom: 3rem; }

/* -------------------------------------------------------------------------
   28. WOOCOMMERCE CHECKOUT BLOCK OVERRIDE
   ------------------------------------------------------------------------- */
/* Logo size guards */
body.woocommerce-checkout .site-header__brand .site-logo-img,
body.woocommerce-cart .site-header__brand .site-logo-img,
body.single-product .site-header__brand .site-logo-img,
body.woocommerce-account .site-header__brand .site-logo-img,
body.post-type-archive-product .site-header__brand .site-logo-img,
body.theme-thankyou-page .site-header__brand .site-logo-img {
	height: var(--logo-height) !important;
	width: auto !important;
	max-width: none !important;
	max-height: var(--logo-height) !important;
	object-fit: contain;
}

/* C — checkout shell + header alignment */
body.woocommerce-checkout .theme-checkout-main { padding-top: 0; padding-bottom: 4rem; }
body.woocommerce-checkout .theme-checkout-main > .container-wide,
body.woocommerce-checkout .theme-checkout-shell,
body.woocommerce-checkout .theme-checkout-main .entry-content,
.entry-content:has(.wc-block-checkout) {
	max-width: none; width: 100%;
}
.theme-checkout-shell { padding-block: 0.5rem 4rem; box-sizing: border-box; }
.theme-checkout-header {
	max-width: var(--checkout-max-width); width: 100%; margin-inline: auto; box-sizing: border-box;
	margin-bottom: 0;
}
.checkout-continue-link {
	display: inline-flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem;
	font-size: 0.875rem; color: var(--color-muted-foreground); font-family: var(--font-body);
	transition: color 0.2s;
}
.checkout-continue-link:hover { color: var(--color-foreground); }
.theme-checkout-title {
	font-family: var(--font-display); font-size: 1.875rem; font-weight: 700; margin: 0;
}
@media (min-width: 768px) { .theme-checkout-title { font-size: 2.25rem; } }
.theme-checkout-intro { margin: 0.75rem 0 0; color: var(--color-muted-foreground); font-family: var(--font-body); }

/* C.2 — vertical spacing collapse */
body.woocommerce-checkout .theme-checkout-main .entry-content,
.entry-content:has(.wc-block-checkout) { margin-top: 0; padding-top: 0; }
body.woocommerce-checkout .theme-checkout-main .entry-content > .wc-block-checkout,
body.woocommerce-checkout .theme-checkout-main .entry-content > .wp-block-woocommerce-checkout,
.entry-content > .wc-block-checkout:first-child,
.entry-content > .wp-block-woocommerce-checkout:first-child { margin-top: 0; }

/* D — checkout block width */
body.woocommerce-checkout .wc-block-checkout,
body.woocommerce-checkout .wp-block-woocommerce-checkout,
.entry-content .wc-block-checkout,
.entry-content .wp-block-woocommerce-checkout {
	max-width: var(--checkout-max-width); width: 100%; margin-inline: auto; box-sizing: border-box;
	min-width: 0; margin-top: 0; padding-top: 0;
}
body.woocommerce-checkout .wc-block-checkout.alignwide,
.entry-content .wc-block-checkout.alignwide { margin-top: 0; }

body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-components-main,
.entry-content .wc-block-checkout__main,
.entry-content .wc-block-components-main {
	margin-top: 0; padding-top: 0;
}

body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout,
body.woocommerce-checkout .wc-block-checkout .wc-block-checkout-sidebar-layout,
.entry-content .wc-block-checkout .wc-block-components-sidebar-layout,
.entry-content .wc-block-checkout .wc-block-checkout-sidebar-layout {
	margin-top: 0; padding-top: 0;
}

/* G — notices */
body.woocommerce-checkout .wc-block-components-notices,
.entry-content .wc-block-components-notices {
	max-width: var(--checkout-max-width); margin-inline: auto; width: 100%; box-sizing: border-box;
	margin-top: 0; padding-top: 0; margin-bottom: var(--checkout-gap);
}
body.woocommerce-checkout .wc-block-checkout > .wc-block-components-notices:empty,
.entry-content .wc-block-checkout > .wc-block-components-notices:empty {
	display: none; margin: 0; padding: 0;
}

/* E — 2-column grid on internal wrapper only */
@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout,
	body.woocommerce-checkout .wc-block-checkout .wc-block-checkout-sidebar-layout,
	.entry-content .wc-block-checkout .wc-block-components-sidebar-layout,
	.entry-content .wc-block-checkout .wc-block-checkout-sidebar-layout {
		display: grid !important;
		grid-template-columns: 1fr minmax(360px, 400px);
		gap: var(--checkout-gap);
		align-items: start;
		flex-direction: unset;
		flex-wrap: nowrap;
		margin: 0;
	}
	body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-checkout__main,
	body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-components-main,
	body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-checkout__sidebar,
	body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-components-sidebar,
	.entry-content .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-checkout__main,
	.entry-content .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-components-main,
	.entry-content .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-checkout__sidebar,
	.entry-content .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-components-sidebar {
		width: auto !important; max-width: 100%; min-width: 0;
		margin: 0 !important; padding: 0 !important; box-sizing: border-box;
	}
	body.woocommerce-checkout .wc-block-checkout:has(> .wc-block-checkout__main):has(> .wc-block-checkout__sidebar),
	.entry-content .wc-block-checkout:has(> .wc-block-checkout__main):has(> .wc-block-checkout__sidebar) {
		display: grid;
		grid-template-columns: 1fr minmax(360px, 400px);
		gap: var(--checkout-gap);
		align-items: start;
	}
	body.woocommerce-checkout .wc-block-checkout > .wc-block-components-notices,
	.entry-content .wc-block-checkout > .wc-block-components-notices { grid-column: 1 / -1; }
}

/* F — sidebar: card only on order summary */
body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-checkout .wc-block-components-sidebar,
body.woocommerce-checkout .wp-block-woocommerce-checkout-totals-block,
.entry-content .wc-block-checkout__sidebar,
.entry-content .wc-block-components-sidebar,
.entry-content .wp-block-woocommerce-checkout-totals-block {
	background: transparent; border-radius: 0; padding: 0;
}
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block,
.entry-content .wp-block-woocommerce-checkout-order-summary-block {
	width: 100%; background: var(--color-secondary); border-radius: var(--card-radius); padding: var(--section-padding);
	box-sizing: border-box;
}

/* H — empty checkout cart */
body.woocommerce-checkout .wc-block-checkout-empty,
.entry-content .wc-block-checkout-empty {
	margin-inline: auto; max-width: 36rem; text-align: center;
	display: flex; flex-direction: column; align-items: center;
}

/* Form inputs + place order */
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select,
.entry-content .wc-block-components-text-input input,
.entry-content .wc-block-components-select select {
	width: 100% !important; max-width: none !important; font-family: var(--font-body);
	border: 1px solid var(--color-border); border-radius: var(--btn-radius);
	background: var(--color-background); color: var(--color-foreground);
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus,
body.woocommerce-checkout .wc-block-components-textarea textarea:focus,
.entry-content .wc-block-components-text-input input:focus,
.entry-content .wc-block-components-select select:focus,
.entry-content .wc-block-components-textarea textarea:focus {
	outline: 2px solid color-mix(in srgb, var(--color-primary) 50%, transparent);
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
.entry-content .wc-block-components-checkout-place-order-button {
	background-color: var(--color-primary) !important; color: var(--color-button-text) !important;
	border-radius: var(--btn-radius) !important; font-family: var(--font-body) !important; text-transform: none !important;
}
body.woocommerce-checkout .wc-block-components-notice-banner,
.entry-content .wc-block-components-notice-banner { border-radius: var(--card-radius); }
body.woocommerce-checkout .wc-block-cart-items,
.entry-content .wc-block-cart-items { font-family: var(--font-body); }

/* Cart / Account / Thank-you width parity (Section 13.7) */
body.woocommerce-cart .site-main,
body.woocommerce-account .site-main { padding-top: 2rem; padding-bottom: 4rem; }

/* -------------------------------------------------------------------------
   29. THANK YOU PAGE
   ------------------------------------------------------------------------- */
body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title { padding: 0 0 1rem 0; font-size: 1.5rem; }
body.theme-thankyou-page .woocommerce-order-overview { display: flex; flex-wrap: wrap; gap: 1.5rem; list-style: none; padding: 0 0 2rem; }
body.theme-thankyou-page .woocommerce-order-overview li { font-size: 0.875rem; }
body.theme-thankyou-page .woocommerce-order-details tfoot th { text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot td { text-align: right; }
body.theme-thankyou-page .woocommerce-customer-details { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2rem; }
body.theme-thankyou-page .woocommerce-customer-details address { max-width: 480px; overflow-wrap: break-word; }
@media (min-width: 768px) {
	body.theme-thankyou-page .woocommerce-customer-details { flex-direction: row; gap: 2rem; }
	body.theme-thankyou-page .woocommerce-customer-details > div { flex: 1; min-width: 0; }
}

/* -------------------------------------------------------------------------
   30. IMAGE / ABSOLUTE-CHILD SAFETY
   ------------------------------------------------------------------------- */
.theme-product-card__image-wrapper, .theme-about__image-wrap, .theme-service__image-wrap, .theme-tile__image-wrap,
.theme-contact-section, .theme-product-thumb {
	position: relative;
}

/* WooCommerce checkout / cart block product thumbnails */
body.woocommerce-checkout .wc-block-cart-item__image img,
body.woocommerce-cart .wc-block-cart-item__image img,
body.woocommerce-checkout .wc-block-components-order-summary-item__image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
}
body.woocommerce-checkout .wc-block-cart-item__image,
body.woocommerce-cart .wc-block-cart-item__image,
body.woocommerce-checkout .wc-block-components-order-summary-item__image {
	overflow: hidden;
	background: var(--color-secondary);
}
