/* ==========================================================================
   Panacea MedTech — theme stylesheet
   ========================================================================== */

:root {
	--color-navy: #0f3d4c;
	--color-gold: #e39a5f;
	--color-cream: #eff4f4;
	--color-cream-deep: #e0eaea;
	--color-charcoal: #1e2a2e;
	--color-background: #fbfdfd;
	--color-primary: #0f3d4c;
	--color-button-text: var(--color-cream);
	--logo-height: 56px;

	--font-display: 'Outfit', 'Segoe UI', system-ui, sans-serif;
	--font-body: 'Inter', system-ui, sans-serif;
	--transition-smooth: cubic-bezier(0.22, 1, 0.36, 1);

	--radius: 0.5rem;
	--card-radius: 0.75rem;
	--section-padding: 2rem;
	--header-height: 88px;
	--checkout-gap: 1.5rem;

	--btn-radius: 0.5rem;
	--btn-height: 3.125rem;
	--btn-padding: 1rem 1.75rem;
	--btn-font-size: 0.875rem;
	--btn-font-weight: 600;
	--btn-letter-spacing: 0.08em;
	--btn-text-transform: none;
	--btn-icon-padding: 0.75rem;
}

/* ==========================================================================
   Base / reset
   ========================================================================== */
* { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: clip; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
	background: var(--color-background);
	color: var(--color-charcoal);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.5;
	margin: 0;
	-webkit-font-smoothing: antialiased;
}

p, span, a, button, li, label, input, textarea, select, small, time, figcaption, blockquote, cite {
	font-size: max(0.875rem, 14px);
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: inherit;
	font-size: inherit;
	letter-spacing: -0.02em;
	line-height: 1.15;
	color: var(--color-charcoal);
	margin: 0;
}

a { color: inherit; text-decoration: none; cursor: pointer; }
img, video { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; background: none; border: none; padding: 0; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dt, dd { margin: 0; }
p { margin: 0; }

/* Cover/full-bleed image exclusion list (Section 15.1) — every class below
   MUST also appear in the cover ruleset. Keep in sync. */
img:not(.cover-img):not(.hero-video):not(.cta-video):not(.theme-media-preview) {
	max-width: 100%;
}
.cover-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.sr-only,
.screen-reader-text {
	position: absolute;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.container-wide {
	width: 100%;
	max-width: 1360px;
	margin: 0 auto;
	padding-inline: 20px;
}
@media (min-width: 640px) { .container-wide { padding-inline: 32px; } }
@media (min-width: 1024px) { .container-wide { padding-inline: 48px; } }

/* ==========================================================================
   Typography utility classes
   ========================================================================== */
.eyebrow {
	font-family: var(--font-body);
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	font-size: 14px;
	line-height: 1.2;
	display: block;
}
.display-xl {
	font-family: var(--font-display);
	font-weight: 500;
	line-height: 1.06;
	letter-spacing: -0.025em;
	margin: 0;
}
.rule-gold { display: block; height: 1px; width: 64px; background: var(--color-gold); }

.section-index {
	font-family: var(--font-body);
	font-weight: 500;
	font-size: 14px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	display: inline-flex;
	align-items: center;
	gap: 14px;
	color: var(--color-navy);
}
.section-index::before { content: ''; width: 40px; height: 1px; background: var(--color-gold); }
.theme-index-on-navy { color: color-mix(in srgb, var(--color-cream) 70%, transparent); }
.theme-eyebrow-on-navy { color: color-mix(in srgb, var(--color-cream) 55%, transparent); }

/* ==========================================================================
   Icon badge (fills with gold on hover)
   ========================================================================== */
.icon-badge {
	background: transparent;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background-color 400ms ease, border-color 400ms ease, transform 400ms ease;
}
.icon-badge .theme-icon { transition: color 400ms ease; color: var(--color-navy); }
.group:hover .icon-badge, .icon-badge:hover { background: var(--color-gold); border-color: var(--color-gold); }
.group:hover .icon-badge .theme-icon, .icon-badge:hover .theme-icon { color: var(--color-navy); }
@media (prefers-reduced-motion: reduce) { .icon-badge, .icon-badge .theme-icon { transition: none; } }

/* ==========================================================================
   Buttons — transform + opacity hover only
   ========================================================================== */
.btn-primary, .btn-gold, .btn-outline {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 1rem 1.75rem;
	border-radius: var(--btn-radius);
	font-weight: 600;
	font-size: 14px;
	letter-spacing: 0.08em;
	text-transform: none;
	cursor: pointer;
	transition: transform 350ms var(--transition-smooth), opacity 350ms var(--transition-smooth);
}
.btn-primary { background: var(--color-navy); color: var(--color-cream); }
.btn-primary:hover { transform: translateY(-2px); opacity: 0.9; }
.btn-gold { background: var(--color-gold); color: var(--color-charcoal); }
.btn-gold:hover { transform: translateY(-2px); opacity: 0.9; }
.btn-outline { border: 1px solid currentColor; }
.btn-outline:hover { transform: translateY(-2px); opacity: 0.75; }
.theme-navy-outline { color: var(--color-navy); }
.theme-cream-outline { color: var(--color-cream); border-color: color-mix(in srgb, var(--color-cream) 50%, transparent); }
@media (prefers-reduced-motion: reduce) {
	.btn-primary, .btn-gold, .btn-outline { transition: none !important; }
	.btn-primary:hover, .btn-gold:hover, .btn-outline:hover { transform: none !important; }
}

.nav-link,
.theme-nav-list a,
.theme-mobile-link,
.theme-products-panel-link,
.theme-product-card__details-link,
.site-logo-link,
.footer-product-link,
.footer-contact-link,
.footer-nav a,
.footer-linkedin-link,
.leadership-linkedin,
.contact-list-link,
.theme-back-to-top,
.faq-question,
.theme-cart-toggle,
.theme-menu-toggle,
.theme-products-toggle,
.cart-drawer-item-img-link,
.cart-drawer-item-name,
.cart-drawer-remove {
	cursor: pointer;
}

.nav-link {
	position: relative;
	display: inline-block;
	padding-bottom: 3px;
	transition: opacity 250ms var(--transition-smooth);
}
.nav-link::after {
	content: '';
	position: absolute; left: 0; right: 0; bottom: 0;
	height: 1px;
	background: var(--color-gold);
	transform: scaleX(0);
	transform-origin: right center;
	transition: transform 380ms var(--transition-smooth);
}
.nav-link:hover::after, .nav-link:focus-visible::after { transform: scaleX(1); transform-origin: left center; }

.practice-card {
	position: relative;
	border-top: 1px solid color-mix(in srgb, var(--color-navy) 16%, transparent);
	padding-top: 1.75rem;
	transition: transform 500ms var(--transition-smooth);
}
.practice-card::before {
	content: '';
	position: absolute; top: -1px; left: 0; right: 0; height: 2px;
	background: var(--color-gold);
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform 500ms var(--transition-smooth);
}
.practice-card:hover { transform: translateY(-6px); }
.practice-card:hover::before { transform: scaleX(1); }

.hairline-frame { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--color-navy) 10%, transparent); }

/* ==========================================================================
   Backgrounds
   ========================================================================== */
.paper-grain { position: relative; isolation: isolate; }
.paper-grain::before {
	content: '';
	position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0.5;
	background-image:
		linear-gradient(color-mix(in srgb, var(--color-navy) 3.5%, transparent) 1px, transparent 1px),
		linear-gradient(90deg, color-mix(in srgb, var(--color-navy) 3.5%, transparent) 1px, transparent 1px);
	background-size: 96px 96px;
}
.paper-grain > * { position: relative; z-index: 1; }

.bg-cream { background: var(--color-cream); }
.bg-cream-deep { background: var(--color-cream-deep); }

.field-lines-light {
	background-image: repeating-linear-gradient(
		90deg,
		color-mix(in srgb, var(--color-cream) 7%, transparent) 0px,
		color-mix(in srgb, var(--color-cream) 7%, transparent) 1px,
		transparent 1px,
		transparent 88px
	);
}

.scrim-navy {
	position: absolute; inset: 0;
	background: linear-gradient(180deg, color-mix(in srgb, var(--color-navy) 66%, transparent) 0%, color-mix(in srgb, var(--color-navy) 44%, transparent) 45%, color-mix(in srgb, var(--color-navy) 88%, transparent) 100%);
}
.scrim-bottom {
	position: absolute; inset: 0;
	background: linear-gradient(180deg, transparent 40%, color-mix(in srgb, var(--color-navy) 80%, transparent) 100%);
}

/* ==========================================================================
   Motion — scroll reveal, parallax, tilt, zoom, ken-burns
   ========================================================================== */
[data-cs-fade] {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 850ms var(--transition-smooth), transform 850ms var(--transition-smooth);
	transition-delay: var(--cs-fade-delay, 0ms);
}
[data-cs-fade].is-visible { opacity: 1; transform: translateY(0); }

.parallax-bg { transform: translate3d(0, var(--parallax-y, 0px), 0); will-change: transform; }

.card-lift { transition: transform 500ms var(--transition-smooth); will-change: transform; }
.card-lift:hover { transform: translateY(-6px); }

.tilt-3d { transition: transform 600ms var(--transition-smooth); transform-style: preserve-3d; will-change: transform; }
.tilt-3d:hover { transform: perspective(900px) rotateX(1.4deg) rotateY(-1.6deg) translateY(-5px); }

.img-zoom { transition: transform 900ms var(--transition-smooth); will-change: transform; }
.group:hover .img-zoom, a:hover .img-zoom { transform: scale(1.06); }

@keyframes ken-burns {
	0% { transform: scale(1.05) translate3d(0, 0, 0); }
	50% { transform: scale(1.14) translate3d(-1.5%, -1%, 0); }
	100% { transform: scale(1.05) translate3d(0, 0, 0); }
}
.ken-burns { animation: ken-burns 32s ease-in-out infinite; will-change: transform; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.animate-fade-in { animation: fadeIn 0.45s var(--transition-smooth) forwards; }

/* Customizer preview + no-JS fallback: reveal content must never be stuck
   invisible (Section 2.1 item 5). */
body.is-customizer [data-cs-fade],
body.is-customizer [data-img-reveal],
body.is-customizer .reveal-item {
	opacity: 1 !important;
	transform: none !important;
	clip-path: none !important;
}
@media (prefers-reduced-motion: reduce) {
	[data-cs-fade] { opacity: 1 !important; transform: none !important; transition: none !important; }
	.card-lift, .card-lift:hover, .img-zoom, .tilt-3d, .tilt-3d:hover { transition: none !important; transform: none !important; }
	.ken-burns { animation: none !important; }
	.parallax-bg { transform: none !important; }
}
noscript ~ * [data-cs-fade],
html.no-js [data-cs-fade] { opacity: 1; transform: none; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
	position: sticky;
	top: 0;
	left: 0; right: 0;
	z-index: 50;
	width: 100%;
	background: color-mix(in srgb, var(--color-background) 95%, transparent);
	backdrop-filter: blur(6px);
	border-bottom: 1px solid transparent;
	transition: border-color 300ms ease;
}
body.admin-bar .site-header {
	top: 32px;
}
@media screen and (max-width: 782px) {
	body.admin-bar .site-header {
		top: 46px;
	}
}
.site-header.is-scrolled { border-bottom-color: color-mix(in srgb, var(--color-navy) 15%, transparent); }

.site-nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 72px; }
@media (min-width: 1280px) { .site-nav { height: 96px; } }

.site-logo-link { display: flex; align-items: center; flex-shrink: 0; transition: transform 300ms ease; }
.site-logo-link:hover { transform: translateY(-2px); }
.site-logo-img { width: auto; }
.site-logo-mobile { height: 2.75rem; }
.site-logo-desktop { display: none; height: 3rem; }
@media (min-width: 640px) {
	.site-logo-desktop { display: block; }
	.site-logo-mobile { display: none; }
}
@media (min-width: 1280px) {
	.site-logo-desktop { height: var(--logo-height); }
}
.site-logo-text { font-family: var(--font-display); font-size: 1.35rem; color: var(--color-navy); }
.site-brand-name { margin-left: 0.5rem; font-family: var(--font-display); font-size: 1.1rem; color: var(--color-navy); }

.site-nav-primary { display: none; align-items: center; gap: 1.75rem; }
@media (min-width: 1280px) { .site-nav-primary { display: flex; } }

.theme-products-dropdown { position: relative; }
.theme-products-toggle {
	display: inline-flex; align-items: center; gap: 0.375rem;
	font-family: var(--font-body); font-weight: 500; font-size: 14px; color: var(--color-charcoal);
}
.theme-chevron { transition: transform 300ms ease; }
.theme-products-dropdown.is-open .theme-chevron { transform: rotate(-180deg); }
.theme-products-panel {
	position: absolute; left: 0; top: 100%;
	padding-top: 0.75rem;
	width: 18rem;
	opacity: 0; visibility: hidden; transform: translateY(-6px);
	transition: opacity 250ms ease, transform 250ms ease, visibility 250ms;
	z-index: 50;
	pointer-events: none;
}
.theme-products-dropdown.is-open .theme-products-panel,
.theme-products-dropdown:hover .theme-products-panel {
	opacity: 1; visibility: visible; transform: translateY(0);
	pointer-events: auto;
}
.theme-products-panel-inner {
	display: flex; flex-direction: column;
	border-radius: 0.5rem;
	border: 1px solid color-mix(in srgb, var(--color-navy) 15%, transparent);
	background: var(--color-background);
	padding-block: 0.5rem;
}
.theme-products-panel-link {
	display: block; padding: 0.625rem 1.25rem;
	font-family: var(--font-body); font-weight: 500; font-size: 14px; color: var(--color-charcoal);
	transition: transform 300ms ease;
}
.theme-products-panel-link:hover { transform: translateX(4px); }

.theme-nav-list { display: flex; align-items: center; gap: 1.75rem; }
.theme-nav-list a, .theme-nav-list .nav-link { font-family: var(--font-body); font-weight: 500; font-size: 14px; color: var(--color-charcoal); }

.site-nav-actions { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }

.theme-cart-toggle {
	position: relative;
	display: inline-flex; align-items: center; justify-content: center;
	width: 44px; height: 44px; border-radius: 0.5rem;
	color: var(--color-charcoal);
	transition: transform 300ms ease;
}
.theme-cart-toggle:hover { transform: translateY(-2px); }
.theme-cart-count {
	position: absolute; top: 6px; right: 4px;
	min-width: 18px; height: 18px; padding: 0 4px;
	border-radius: 9999px;
	background: var(--color-gold); color: var(--color-charcoal);
	font-size: 12px; font-weight: 600; line-height: 18px; text-align: center;
}
.theme-cart-count:empty { display: none; }

.theme-header-cta { display: none; padding: 0.75rem 1.25rem !important; font-size: 14px !important; }
@media (min-width: 768px) { .theme-header-cta { display: inline-flex; } }

.theme-menu-toggle {
	position: relative;
	display: inline-flex; align-items: center; justify-content: center;
	width: 44px; height: 44px; border-radius: 0.5rem;
	color: var(--color-charcoal);
}
@media (min-width: 1280px) { .theme-menu-toggle { display: none; } }
.theme-menu-icon-close { display: none; }
.theme-menu-toggle.is-open .theme-menu-icon-open { display: none; }
.theme-menu-toggle.is-open .theme-menu-icon-close { display: block; }

.theme-mobile-menu {
	display: none;
	background: var(--color-background);
	border-top: 1px solid color-mix(in srgb, var(--color-navy) 10%, transparent);
}
.theme-mobile-menu.is-open { display: block; animation: fadeIn 0.3s var(--transition-smooth); }
.theme-mobile-menu .container-wide { padding-block: 1.25rem; display: flex; flex-direction: column; gap: 0.25rem; }
.theme-mobile-link, .theme-mobile-nav-list a {
	display: block; padding: 0.75rem 0;
	font-family: var(--font-body); font-weight: 500; font-size: 15px; color: var(--color-charcoal);
	align-self: flex-start;
}
.theme-mobile-nav-list { display: flex; flex-direction: column; }
.theme-mobile-divider { display: block; height: 1px; margin: 0.5rem 0; background: color-mix(in srgb, var(--color-gold) 40%, transparent); }
.theme-mobile-cta { margin-top: 1rem; width: 100%; }
@media (min-width: 768px) { .theme-mobile-cta { display: none; } }
@media (min-width: 1280px) { .theme-mobile-menu { display: none !important; } }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { position: relative; overflow: hidden; background: var(--color-navy); color: var(--color-cream); }
.site-footer .container-wide { position: relative; padding-top: 4rem; padding-bottom: 2rem; }
@media (min-width: 1024px) { .site-footer .container-wide { padding-top: 5rem; padding-bottom: 2.5rem; } }

.site-footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 768px) { .site-footer-grid { grid-template-columns: repeat(12, 1fr); gap: 3.5rem; } }
.site-footer-brand { grid-column: span 12; }
.site-footer-products { grid-column: span 12; }
.site-footer-contact { grid-column: span 12; }
@media (min-width: 768px) {
	.site-footer-brand { grid-column: span 5; }
	.site-footer-products { grid-column: span 3; }
	.site-footer-contact { grid-column: span 4; }
}

.footer-logo-img { height: 4rem; width: auto; transition: transform 300ms ease; }
@media (min-width: 1024px) { .footer-logo-img { height: 5rem; } }
.footer-logo-link:hover .footer-logo-img { transform: translateY(-2px); }
.footer-about-text { margin-top: 1.75rem; max-width: 28rem; font-size: 15px; line-height: 1.6; color: color-mix(in srgb, var(--color-cream) 75%, transparent); }
.footer-linkedin-link { margin-top: 1.5rem; display: inline-flex; align-items: center; gap: 0.625rem; font-size: 14px; color: color-mix(in srgb, var(--color-cream) 80%, transparent); transition: transform 300ms ease; }
.footer-linkedin-link:hover { transform: translateY(-2px); }
.footer-linkedin-link .theme-icon { color: var(--color-gold); }

.footer-col-heading { font-size: 14px; color: color-mix(in srgb, var(--color-cream) 55%, transparent); margin-bottom: 1.25rem; text-transform: uppercase; letter-spacing: 0.2em; font-weight: 500; }
.footer-products-list { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-product-link { font-size: 14px; color: color-mix(in srgb, var(--color-cream) 80%, transparent); }
.footer-product-link:hover { color: var(--color-cream); }

.footer-contact-list { display: flex; flex-direction: column; gap: 1rem; font-size: 14px; }
.footer-contact-link { display: inline-flex; align-items: flex-start; gap: 0.75rem; color: color-mix(in srgb, var(--color-cream) 80%, transparent); transition: transform 300ms ease; word-break: break-all; }
.footer-contact-link:hover { color: var(--color-cream); transform: translateY(-2px); }
.footer-contact-link .theme-icon { color: var(--color-gold); margin-top: 2px; flex-shrink: 0; }
.footer-nav { margin-top: 1.75rem; }
.footer-nav .theme-footer-nav-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
.footer-nav a { font-size: 14px; color: color-mix(in srgb, var(--color-cream) 70%, transparent); }
.footer-nav a:hover { color: var(--color-cream); }

.site-footer-bottom {
	margin-top: 3rem; padding-top: 1.5rem;
	border-top: 1px solid color-mix(in srgb, var(--color-cream) 15%, transparent);
	display: flex; flex-direction: column; gap: 0.75rem;
}
@media (min-width: 640px) { .site-footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; } }
.footer-copyright { font-size: 14px; color: color-mix(in srgb, var(--color-cream) 65%, transparent); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero-section {
	position: relative;
	min-height: calc(100svh - 72px);
	width: 100%;
	display: flex; align-items: center;
	overflow: hidden;
	background: var(--color-navy);
}
@media (min-width: 1280px) { .hero-section { min-height: calc(100svh - 112px); } }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-video { width: 100%; height: 100%; object-fit: cover; }
.hero-scrim {
	position: absolute; inset: 0; z-index: 1;
	background: linear-gradient(105deg, color-mix(in srgb, var(--color-navy) 86%, transparent) 0%, color-mix(in srgb, var(--color-navy) 62%, transparent) 38%, color-mix(in srgb, var(--color-navy) 28%, transparent) 70%, color-mix(in srgb, var(--color-navy) 12%, transparent) 100%);
}
.hero-inner { position: relative; z-index: 2; padding-block: 5rem; }
@media (min-width: 1024px) { .hero-inner { padding-block: 6rem; } }
.hero-content { max-width: 48rem; }
.hero-eyebrow { color: var(--color-gold); }
.hero-title { margin-top: 1.75rem; color: var(--color-cream); font-size: clamp(2.5rem, 6.6vw, 5rem); }
.hero-subtitle { margin-top: 2rem; max-width: 36rem; font-size: 17px; line-height: 1.6; color: color-mix(in srgb, var(--color-cream) 85%, transparent); }
.hero-actions { margin-top: 2.75rem; display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 640px) { .hero-actions { flex-direction: row; } }

/* ==========================================================================
   About
   ========================================================================== */
.about-section { padding: 5rem 0; }
@media (min-width: 1024px) { .about-section { padding: 7rem 0; } }
.about-card {
	overflow: hidden; border-radius: 0.75rem;
	background: var(--color-background);
	box-shadow: 0 32px 64px -20px color-mix(in srgb, var(--color-navy) 18%, transparent);
	box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--color-navy) 5%, transparent), 0 32px 64px -20px color-mix(in srgb, var(--color-navy) 18%, transparent);
}
@media (min-width: 1024px) { .about-card { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; } }
.about-image-col { position: relative; min-height: 420px; overflow: hidden; }
@media (min-width: 1024px) { .about-image-col { min-height: 100%; } }
.about-image { position: absolute; inset: 0; }
.about-image-scrim { position: absolute; inset: 0; background: linear-gradient(to top, color-mix(in srgb, var(--color-navy) 55%, transparent), color-mix(in srgb, var(--color-navy) 5%, transparent) 60%, transparent); }
.about-image-caption { position: absolute; left: 2rem; bottom: 2rem; display: flex; align-items: center; gap: 0.75rem; }
.about-image-caption span:last-child { font-family: var(--font-display); font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.2em; color: color-mix(in srgb, #fff 90%, transparent); }

.about-content-col { display: flex; flex-direction: column; justify-content: center; gap: 2.25rem; padding: 2rem; }
@media (min-width: 640px) { .about-content-col { padding: 3rem; } }
@media (min-width: 1024px) { .about-content-col { padding: 4rem; } }
.about-header { display: flex; flex-direction: column; gap: 1.25rem; }
.about-title { color: var(--color-charcoal); font-size: clamp(2rem, 4.2vw, 3.2rem); line-height: 1.1; }
.about-copy { display: flex; flex-direction: column; gap: 1.25rem; font-size: 16px; line-height: 1.6; color: color-mix(in srgb, var(--color-charcoal) 75%, transparent); }
.about-dl { display: flex; flex-direction: column; gap: 1.25rem; }
.about-mission-card, .about-vision-card { border-radius: 1rem; padding: 1.5rem; transition: box-shadow 300ms ease, border-color 300ms ease; }
.about-mission-card { background: var(--color-navy); color: var(--color-cream); }
.about-mission-card:hover { box-shadow: 0 20px 40px -10px color-mix(in srgb, var(--color-navy) 25%, transparent); }
.about-mission-card dt { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; color: var(--color-cream); }
.about-mission-card dd { margin-top: 0.5rem; font-size: 14px; line-height: 1.6; color: color-mix(in srgb, var(--color-cream) 70%, transparent); }
.about-vision-card { background: var(--color-cream); border: 1px solid color-mix(in srgb, var(--color-navy) 10%, transparent); }
.about-vision-card:hover { border-color: var(--color-gold); }
.about-vision-card dt { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; color: var(--color-navy); }
.about-vision-card dd { margin-top: 0.5rem; font-size: 14px; line-height: 1.6; color: color-mix(in srgb, var(--color-charcoal) 70%, transparent); }
.about-icon-badge { width: 2.5rem; height: 2.5rem; border-radius: 0.75rem; margin-bottom: 1rem; background: color-mix(in srgb, var(--color-gold) 20%, transparent); }
.about-icon-badge .theme-icon { color: var(--color-gold); }
.about-icon-badge--vision { background: var(--color-navy); }
.about-icon-badge--vision .theme-icon { color: var(--color-gold); }

/* ==========================================================================
   Technology
   ========================================================================== */
.technology-section { position: relative; overflow: hidden; background: var(--color-navy); padding: 6rem 0; color: var(--color-cream); }
@media (min-width: 1024px) { .technology-section { padding: 8rem 0; } }
.technology-section::before {
	content: ''; position: absolute; inset: 0; opacity: 0.5; pointer-events: none;
	background-image: repeating-linear-gradient(90deg, color-mix(in srgb, var(--color-cream) 7%, transparent) 0px, color-mix(in srgb, var(--color-cream) 7%, transparent) 1px, transparent 1px, transparent 88px);
}
.technology-section > .container-wide { position: relative; }
.technology-intro { max-width: 48rem; }
.technology-title { margin-top: 1.5rem; color: var(--color-cream); font-size: clamp(2rem, 4.6vw, 3.4rem); }
.technology-paragraph { margin-top: 1.5rem; font-size: 16px; line-height: 1.6; color: color-mix(in srgb, var(--color-cream) 75%, transparent); }

.technology-panels { margin-top: 3.5rem; display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .technology-panels { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; } }
.technology-panel { position: relative; overflow: hidden; border-radius: 0.75rem; aspect-ratio: 4 / 5; }
.technology-panel-img { position: absolute; inset: 0; }
.technology-panel-caption { position: absolute; inset-inline: 0; bottom: 0; padding: 1.5rem; }
.technology-panel-caption h3 { font-family: var(--font-display); font-size: 1.4rem; color: var(--color-cream); line-height: 1.2; }
.technology-panel-caption p { margin-top: 0.5rem; font-size: 14px; line-height: 1.6; color: color-mix(in srgb, var(--color-cream) 80%, transparent); }

.technology-barriers { margin-top: 3.5rem; padding-top: 2.5rem; border-top: 1px solid color-mix(in srgb, var(--color-cream) 15%, transparent); }
@media (min-width: 1024px) { .technology-barriers { margin-top: 4rem; } }
.technology-barriers-grid {
	margin-top: 1.75rem;
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
}
@media (min-width: 640px) {
	.technology-barriers-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
	.technology-barriers-grid { gap: 2.5rem; }
}
.technology-barrier { display: flex; align-items: flex-start; gap: 1rem; min-width: 0; }
.technology-barrier-icon {
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 9999px;
	border: 1px solid color-mix(in srgb, var(--color-gold) 50%, transparent);
	flex-shrink: 0;
}
.technology-barrier-icon .theme-icon { color: var(--color-gold); }
.technology-section .group:hover .technology-barrier-icon,
.technology-section .technology-barrier-icon:hover {
	background: var(--color-gold);
	border-color: var(--color-gold);
}
.technology-section .group:hover .technology-barrier-icon .theme-icon,
.technology-section .technology-barrier-icon:hover .theme-icon {
	color: var(--color-navy);
}
.technology-barrier dt { font-family: var(--font-display); font-size: 1.35rem; line-height: 1; color: var(--color-cream); }
.technology-barrier dd {
	margin-top: 0.625rem;
	font-size: 14px;
	line-height: 1.625;
	color: color-mix(in srgb, var(--color-cream) 70%, transparent);
}

/* ==========================================================================
   Products
   ========================================================================== */
.products-section { padding: 6rem 0; }
@media (min-width: 1024px) { .products-section { padding: 8rem 0; } }
.products-intro { display: flex; flex-direction: column; gap: 2rem; }
@media (min-width: 1024px) { .products-intro { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.products-intro-copy { max-width: 42rem; }
.products-title { margin-top: 1.5rem; font-size: clamp(2rem, 4.6vw, 3.4rem); }
.products-paragraph { max-width: 24rem; font-size: 15px; line-height: 1.6; color: color-mix(in srgb, var(--color-charcoal) 70%, transparent); }

.theme-product-grid {
	margin-top: 3.5rem;
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.75rem;
	align-items: stretch;
}
@media (min-width: 640px) { .theme-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .theme-product-grid--home, .theme-product-grid--archive { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; } }

.theme-product-card {
	display: flex; flex-direction: column; height: 100%;
	background: var(--color-background);
	border-radius: 0.75rem;
	overflow: hidden;
}
.theme-product-card__image-link { display: block; overflow: hidden; }
.theme-product-card__image-wrapper { position: relative; display: block; overflow: hidden; aspect-ratio: 1 / 1; }
.theme-product-card-img { position: absolute; inset: 0; }
.theme-stock-badge {
	position: absolute; bottom: 0.75rem; right: 0.75rem; z-index: 2;
	background: var(--color-charcoal); color: var(--color-cream);
	font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
	padding: 0.35rem 0.75rem; border-radius: 9999px;
}
.theme-product-card__info { display: flex; flex-direction: column; flex: 1; padding: 1.5rem; min-width: 0; }
.theme-product-card__season { color: color-mix(in srgb, var(--color-navy) 60%, transparent); font-size: 14px; }
.theme-product-card__title-row { margin-top: 0.75rem; line-height: 1.25; min-width: 0; }
.theme-product-card__title { font-family: var(--font-display); font-size: 1.3rem; color: var(--color-charcoal); }
.theme-product-card__tagline { margin-top: 0.75rem; font-size: 14px; line-height: 1.6; color: color-mix(in srgb, var(--color-charcoal) 70%, transparent); flex: 1; }
.theme-product-card__price { margin-top: 1.25rem; font-family: var(--font-display); font-size: 1.5rem; color: var(--color-navy); }
.theme-product-card__price .woocommerce-Price-amount { font-family: var(--font-display); }
.theme-product-card__actions { margin-top: 1.25rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; }
.theme-product-card__details-link { font-size: 14px; color: var(--color-navy); text-decoration: underline; text-decoration-color: var(--color-gold); text-underline-offset: 4px; }

.products-bottom-link { margin-top: 3rem; }

.theme-products-load-more-wrap {
	margin-top: 2.5rem;
	display: flex;
	justify-content: center;
}
.theme-products-load-more {
	display: inline-flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.75rem 1.5rem;
	min-height: var(--btn-height);
	border-radius: var(--btn-radius);
	border: 1px solid color-mix(in srgb, var(--color-navy) 25%, transparent);
	background: var(--color-background);
	color: var(--color-navy);
	font-family: var(--font-body);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.02em;
	transition: transform 300ms var(--transition-smooth), border-color 300ms ease, background-color 300ms ease;
}
.theme-products-load-more:hover {
	transform: translateY(-2px);
	border-color: var(--color-gold);
	background: color-mix(in srgb, var(--color-cream) 50%, var(--color-background));
}
.theme-products-load-more.is-loading {
	opacity: 0.6;
	pointer-events: none;
}
.theme-products-load-more .theme-icon {
	color: var(--color-gold);
	flex-shrink: 0;
}

/* ==========================================================================
   Story break
   ========================================================================== */
.story-break-section { position: relative; overflow: hidden; background: var(--color-navy); }
.story-break-media { position: absolute; inset: 0; }
.story-break-img { opacity: 0.5; }
.story-break-inner { position: relative; padding-block: 6rem; }
@media (min-width: 1024px) { .story-break-inner { padding-block: 9rem; } }
.story-break-quote { max-width: 48rem; }
.story-break-quote p { color: var(--color-cream); font-size: clamp(1.6rem, 3.6vw, 2.75rem); }
.story-break-author { margin-top: 2rem; color: var(--color-gold); }

/* ==========================================================================
   Leadership
   ========================================================================== */
.leadership-section { padding: 6rem 0; }
@media (min-width: 1024px) { .leadership-section { padding: 8rem 0; } }
.leadership-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .leadership-grid { grid-template-columns: 5fr 7fr; gap: 5rem; } }
.leadership-content { order: 2; }
.leadership-image-col { order: 1; }
@media (min-width: 1024px) { .leadership-content { order: 1; } .leadership-image-col { order: 2; } }
.leadership-title { margin-top: 1.5rem; font-size: clamp(2rem, 4.2vw, 3.2rem); }
.leadership-role { margin-top: 0.75rem; color: color-mix(in srgb, var(--color-navy) 60%, transparent); }
.leadership-bio { margin-top: 1.75rem; display: flex; flex-direction: column; gap: 1.25rem; font-size: 16px; line-height: 1.6; color: color-mix(in srgb, var(--color-charcoal) 75%, transparent); }
.leadership-linkedin { margin-top: 2.25rem; color: var(--color-navy); }
.leadership-image-col { overflow: hidden; border-radius: 0.75rem; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--color-navy) 10%, transparent); }
.leadership-image { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }

/* ==========================================================================
   Values
   ========================================================================== */
.values-section { background: var(--color-background); padding: 6rem 0; }
@media (min-width: 1024px) { .values-section { padding: 8rem 0; } }
.values-intro { max-width: 42rem; }
.values-title { margin-top: 1.5rem; font-size: clamp(2rem, 4.6vw, 3.4rem); }
.values-grid { margin-top: 3.5rem; display: grid; grid-template-columns: 1fr; gap: 2.5rem 2rem; }
@media (min-width: 640px) { .values-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .values-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.value-card-icon { width: 3rem; height: 3rem; border-radius: 9999px; border: 1px solid color-mix(in srgb, var(--color-navy) 25%, transparent); }
.value-card-icon .theme-icon { color: var(--color-navy); }
.value-card h3 { margin-top: 1.25rem; font-family: var(--font-display); font-size: 1.35rem; color: var(--color-charcoal); }
.value-card p { margin-top: 0.75rem; font-size: 15px; line-height: 1.6; color: color-mix(in srgb, var(--color-charcoal) 70%, transparent); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-section { background: var(--color-cream-deep); padding: 6rem 0; }
@media (min-width: 1024px) { .faq-section { padding: 8rem 0; } }
.faq-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 1024px) { .faq-grid { grid-template-columns: 4fr 8fr; gap: 4rem; } }
.faq-intro { position: sticky; top: 7rem; align-self: flex-start; }
@media (max-width: 1023px) { .faq-intro { position: static; } }
.faq-title { margin-top: 1.5rem; font-size: clamp(2rem, 4.2vw, 3.2rem); }
.faq-paragraph { margin-top: 1.5rem; font-size: 15px; line-height: 1.6; color: color-mix(in srgb, var(--color-charcoal) 70%, transparent); }
.faq-list { border-top: 1px solid color-mix(in srgb, var(--color-navy) 15%, transparent); }
.faq-item { border-bottom: 1px solid color-mix(in srgb, var(--color-navy) 15%, transparent); }
.faq-question {
	width: 100%; display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem;
	padding: 1.5rem 0; text-align: left;
}
.faq-question span:first-child { font-family: var(--font-display); font-size: 1.15rem; color: var(--color-charcoal); line-height: 1.35; }
@media (min-width: 640px) { .faq-question span:first-child { font-size: 1.3rem; } }
.faq-toggle-icon { width: 2.25rem; height: 2.25rem; border-radius: 9999px; border: 1px solid color-mix(in srgb, var(--color-navy) 25%, transparent); flex-shrink: 0; margin-top: 2px; }
.faq-toggle-icon .theme-icon { color: var(--color-navy); }
.faq-icon-minus { display: none; }
.faq-item.is-open .faq-icon-plus { display: none; }
.faq-item.is-open .faq-icon-minus { display: block; }
.faq-answer {
	overflow: hidden;
	max-height: 0;
	opacity: 0;
	transition: max-height 400ms var(--transition-smooth), opacity 300ms var(--transition-smooth);
}
.faq-item.is-open .faq-answer { max-height: 40rem; opacity: 1; }
.faq-answer p { padding-bottom: 1.5rem; padding-right: 3rem; font-size: 15px; line-height: 1.6; color: color-mix(in srgb, var(--color-charcoal) 72%, transparent); }
@media (prefers-reduced-motion: reduce) { .faq-answer { transition: none; } }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-section { position: relative; overflow: hidden; background: var(--color-navy); }
.cta-media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.cta-video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}
.cta-scrim {
	position: absolute; inset: 0; z-index: 1;
	background: linear-gradient(100deg, rgba(15, 61, 76, 0.92) 0%, rgba(15, 61, 76, 0.78) 42%, rgba(15, 61, 76, 0.5) 100%);
}
.cta-inner { position: relative; z-index: 2; padding-block: 6rem; }
@media (min-width: 1024px) { .cta-inner { padding-block: 8rem; } }
.cta-content { max-width: 48rem; }
.cta-eyebrow { color: var(--color-gold); }
.cta-title { margin-top: 1.5rem; color: var(--color-cream); font-size: clamp(2rem, 4.8vw, 3.6rem); }
.cta-paragraph { margin-top: 1.75rem; max-width: 36rem; font-size: 17px; line-height: 1.6; color: color-mix(in srgb, var(--color-cream) 85%, transparent); }
.cta-actions { margin-top: 2.75rem; display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 640px) { .cta-actions { flex-direction: row; } }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-section { padding: 6rem 0; }
@media (min-width: 1024px) { .contact-section { padding: 8rem 0; } }
.contact-intro { max-width: 42rem; }
.contact-title { margin-top: 1.5rem; font-size: clamp(2rem, 4.6vw, 3.4rem); }
.contact-paragraph { margin-top: 1.5rem; font-size: 16px; line-height: 1.6; color: color-mix(in srgb, var(--color-charcoal) 70%, transparent); }
.contact-grid { margin-top: 3.5rem; display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 5fr 7fr; gap: 4rem; } }
.contact-details { display: flex; flex-direction: column; }
.contact-list { display: flex; flex-direction: column; gap: 1.75rem; }
.contact-list-link { display: flex; align-items: flex-start; gap: 1rem; transition: transform 300ms ease; }
.contact-list-link:hover { transform: translateY(-2px); }
.contact-list-link .theme-icon { margin-top: 4px; flex-shrink: 0; color: var(--color-navy); }
.contact-list-label { color: color-mix(in srgb, var(--color-navy) 55%, transparent); }
.contact-list-value { display: block; margin-top: 0.25rem; font-size: 17px; font-weight: 500; color: var(--color-charcoal); word-break: break-word; }
.contact-hours { margin-top: 2.25rem; display: flex; align-items: flex-start; gap: 0.75rem; }
.contact-hours .theme-icon { margin-top: 2px; flex-shrink: 0; color: var(--color-gold); }
.contact-hours p { font-size: 15px; line-height: 1.6; color: color-mix(in srgb, var(--color-charcoal) 70%, transparent); }
.contact-note { margin-top: auto; padding-top: 2rem; }
.contact-note-label { color: color-mix(in srgb, var(--color-navy) 55%, transparent); }
.contact-note-text { margin-top: 0.75rem; font-size: 15px; line-height: 1.6; color: color-mix(in srgb, var(--color-charcoal) 70%, transparent); }
.contact-note { border-radius: 0.75rem; background: var(--color-cream); padding: 1.75rem; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--color-navy) 10%, transparent); }

.contact-form-col { display: flex; }
.contact-form { width: 100%; background: var(--color-cream); border-radius: 0.75rem; padding: 1.5rem; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--color-navy) 10%, transparent); }
@media (min-width: 640px) { .contact-form { padding: 2.25rem; } }
.contact-form-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .contact-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.contact-form-field--full { grid-column: 1 / -1; }
.contact-form label { margin-bottom: 0.5rem; color: color-mix(in srgb, var(--color-navy) 60%, transparent); }
.theme-field {
	width: 100%; border-radius: 0.5rem;
	border: 1px solid color-mix(in srgb, var(--color-navy) 25%, transparent);
	background: var(--color-background);
	padding: 0.75rem 1rem;
	font-size: 15px; color: var(--color-charcoal);
	transition: border-color 300ms ease;
}
.theme-field::placeholder { color: color-mix(in srgb, var(--color-charcoal) 40%, transparent); }
.theme-field:focus, .theme-field:focus-visible { outline: none; border-color: var(--color-gold); }
.contact-submit { margin-top: 1.75rem; width: 100%; }
@media (min-width: 640px) { .contact-submit { width: auto; } }
.contact-form-status { margin-top: 1.25rem; font-size: 15px; color: var(--color-navy); min-height: 1.5rem; }
.contact-form-status.is-error { color: var(--color-charcoal); }

/* ==========================================================================
   404
   ========================================================================== */
.theme-404-section { padding: 8rem 0; background: var(--color-background); }
.theme-404-inner { max-width: 32rem; margin: 0 auto; text-align: center; }
.theme-404-eyebrow { color: var(--color-gold); justify-content: center; }
.theme-404-title { margin-top: 1.5rem; font-size: clamp(2rem, 5vw, 3rem); }
.theme-404-text { margin-top: 1rem; font-size: 16px; line-height: 1.6; color: color-mix(in srgb, var(--color-charcoal) 70%, transparent); }
.theme-404-cta { margin-top: 2rem; }

/* ==========================================================================
   Generic page shell (used by page.php for non-checkout pages)
   ========================================================================== */
.theme-page-container { padding-top: 4rem; padding-bottom: 4rem; }
.page-title { font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: 2rem; }

/* ==========================================================================
   Back to top
   ========================================================================== */
.theme-back-to-top {
	position: fixed; bottom: 2rem; right: 2rem; z-index: 50;
	width: 2.5rem; height: 2.5rem; border-radius: 9999px;
	background: var(--color-navy); color: #fff;
	display: flex; align-items: center; justify-content: center;
	opacity: 0; pointer-events: none;
	transition: transform 200ms ease, opacity 200ms ease;
}
@media (min-width: 768px) { .theme-back-to-top { width: 3rem; height: 3rem; } }
.theme-back-to-top.is-visible { opacity: 1; pointer-events: auto; }
.theme-back-to-top:hover { transform: scale(1.1); }

/* ==========================================================================
   WooCommerce — side cart drawer
   ========================================================================== */
#theme-cart-overlay {
	position: fixed; inset: 0; z-index: 79;
	background: color-mix(in srgb, var(--color-navy) 60%, transparent);
	opacity: 0; visibility: hidden;
	transition: opacity 300ms ease, visibility 300ms;
}
body.cart-open #theme-cart-overlay { opacity: 1; visibility: visible; }

#theme-cart-drawer {
	position: fixed; top: 0; right: 0; height: 100%;
	width: 100%; max-width: 26rem;
	background: var(--color-cream);
	border-left: 1px solid color-mix(in srgb, var(--color-navy) 12%, transparent);
	display: flex; flex-direction: column;
	transform: translateX(100%);
	transition: transform 300ms ease-out;
	z-index: 80;
}
body.cart-open #theme-cart-drawer { transform: translateX(0); }
#theme-cart-drawer.is-updating { opacity: 0.6; pointer-events: none; }

.cart-drawer-header { display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 1.5rem; border-bottom: 1px solid color-mix(in srgb, var(--color-navy) 12%, transparent); }
.cart-drawer-eyebrow { color: color-mix(in srgb, var(--color-navy) 55%, transparent); }
.cart-drawer-count { font-family: var(--font-display); font-size: 1.25rem; color: var(--color-navy); line-height: 1.2; }
.cart-drawer-close { width: 2.5rem; height: 2.5rem; border-radius: 0.5rem; display: inline-flex; align-items: center; justify-content: center; color: var(--color-navy); transition: transform 300ms ease; }
.cart-drawer-close:hover { transform: translateY(-2px); }

.cart-drawer-body { flex: 1; overflow-y: auto; padding: 1.5rem; }
.cart-drawer-empty { text-align: center; padding: 2.5rem 0; }
.cart-drawer-empty-title { font-size: 16px; color: color-mix(in srgb, var(--color-navy) 80%, transparent); }
.cart-drawer-empty-sub { margin-top: 0.75rem; font-size: 14px; color: color-mix(in srgb, var(--color-navy) 60%, transparent); }
.cart-drawer-browse { margin-top: 1.75rem; display: inline-flex; }

.cart-drawer-list { display: flex; flex-direction: column; gap: 1.25rem; }
.cart-drawer-item { display: flex; gap: 1rem; padding-bottom: 1.25rem; border-bottom: 1px solid color-mix(in srgb, var(--color-navy) 10%, transparent); }
.cart-drawer-item:last-child { border-bottom: none; padding-bottom: 0; }
.cart-drawer-item-img-link { flex-shrink: 0; }
.cart-drawer-item-img { width: 5rem; height: 5rem; object-fit: cover; border-radius: 0.5rem; transition: transform 500ms ease; }
.cart-drawer-item-img-link:hover .cart-drawer-item-img { transform: scale(1.05); }
.cart-drawer-item-info { min-width: 0; flex: 1; }
.cart-drawer-item-name { font-family: var(--font-display); font-size: 1.05rem; color: var(--color-navy); }
.cart-drawer-item-price { margin-top: 0.25rem; font-size: 14px; color: color-mix(in srgb, var(--color-navy) 70%, transparent); }
.cart-drawer-item-variation { margin-top: 0.25rem; font-size: 13px; color: color-mix(in srgb, var(--color-navy) 60%, transparent); }
.cart-drawer-item-controls { margin-top: 0.75rem; display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; }
.cart-drawer-qty { display: inline-flex; align-items: center; border: 1px solid color-mix(in srgb, var(--color-navy) 20%, transparent); border-radius: 0.5rem; }
.cart-drawer-qty button { padding: 0.5rem; color: var(--color-navy); transition: opacity 300ms ease; }
.cart-drawer-qty button:hover { opacity: 0.6; }
.cart-drawer-qty-value { padding: 0 0.75rem; font-size: 14px; font-weight: 600; color: var(--color-navy); }
.cart-drawer-remove { display: inline-flex; align-items: center; gap: 0.375rem; font-size: 14px; color: color-mix(in srgb, var(--color-navy) 60%, transparent); transition: transform 300ms ease; }
.cart-drawer-remove:hover { transform: translateY(-2px); }

.cart-drawer-footer { border-top: 1px solid color-mix(in srgb, var(--color-navy) 12%, transparent); padding: 1.5rem; background: var(--color-background); }
.cart-drawer-subtotal { display: flex; align-items: baseline; justify-content: space-between; }
.cart-drawer-subtotal span:first-child { font-size: 14px; font-weight: 600; color: var(--color-navy); }
.cart-drawer-subtotal-value { font-family: var(--font-display); font-size: 1.35rem; color: var(--color-navy); }
.cart-drawer-shipping-note { margin-top: 0.5rem; font-size: 14px; line-height: 1.6; color: color-mix(in srgb, var(--color-navy) 65%, transparent); }
.cart-drawer-checkout { margin-top: 1.25rem; width: 100%; }
.cart-drawer-ask { margin-top: 0.75rem; width: 100%; }

/* Hide WooCommerce's own "View cart" link 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; }

/* Section 14.1 — scoped notice hiding where the drawer already gives feedback */
.single-product .woocommerce-message,
.single-product .woocommerce-info,
#theme-cart-drawer .woocommerce-message { display: none; }

/* ==========================================================================
   WooCommerce — add to cart buttons (Section 11.4.1)
   ========================================================================== */
.single_add_to_cart_button.button,
.add_to_cart_button.button,
a.single_add_to_cart_button,
a.add_to_cart_button {
	background-color: var(--color-navy) !important;
	color: var(--color-cream) !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;
	gap: 0.5rem;
	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: var(--btn-text-transform) !important;
	cursor: pointer !important;
	transition: opacity 0.2s ease, transform 350ms var(--transition-smooth) !important;
}
.single_add_to_cart_button.button:hover,
.add_to_cart_button.button:hover {
	opacity: 0.9 !important;
	transform: translateY(-2px);
	background-color: var(--color-navy) !important;
	color: var(--color-cream) !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;
	transform: 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-navy) !important;
}
.ajax_add_to_cart.theme-btn-loading { opacity: 0.6 !important; pointer-events: none !important; cursor: wait !important; }
.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !important; }

/* Card compact button variant — overrides the global rules above (scoped after) */
.theme-product-card .add_to_cart_button.ajax_add_to_cart {
	min-height: unset !important;
	padding: 0.75rem 1.25rem !important;
	font-size: 13px !important;
}

/* ==========================================================================
   WooCommerce — shop archive / single product layout
   ========================================================================== */
.shop-archive-section { padding: 4rem 0 6rem; }
.shop-heading { margin-bottom: 2.5rem; font-size: clamp(2rem, 4.5vw, 3rem); }
.shop-empty-state { padding: 3rem 0; text-align: center; font-size: 16px; color: color-mix(in srgb, var(--color-charcoal) 60%, transparent); }

/* ProductDetail.tsx — hero: pt-6 pb-14 lg:pt-8 lg:pb-20 */
body.single-product .single-product-main {
	padding-top: 0;
	padding-bottom: 0;
	max-width: none;
}
.single-product-main .product-hero-section {
	padding: 1.5rem 0 3.5rem;
	background: var(--color-background);
}
@media (min-width: 1024px) {
	.single-product-main .product-hero-section { padding: 2rem 0 5rem; }
}

.single-product-main .product-back-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 14px;
	color: color-mix(in srgb, var(--color-charcoal) 70%, transparent);
	transition: transform 300ms ease;
}
.single-product-main .product-back-link:hover { transform: translateX(-4px); }

.single-product-main .product-detail-grid {
	margin-top: 1.5rem;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 2.5rem;
	align-items: start;
	min-width: 0;
}
@media (min-width: 1024px) {
	.single-product-main .product-detail-grid {
		grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
		gap: 4rem;
	}
}

.single-product-main .product-gallery-col,
.single-product-main .product-info-col { min-width: 0; max-width: 100%; }

.single-product-main .product-main-image-wrap {
	overflow: hidden;
	border-radius: var(--card-radius);
}
.single-product-main .product-main-image {
	position: static !important;
	display: block;
	width: 100%;
	height: auto;
	max-width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	object-position: center;
}

.single-product-main .product-info-col { position: static; }
@media (min-width: 1024px) {
	.single-product-main .product-info-col { position: sticky; top: 7rem; }
}

.single-product-main .product-season { color: color-mix(in srgb, var(--color-navy) 60%, transparent); font-size: 14px; }
.single-product-main .product-title {
	margin-top: 1rem;
	font-family: var(--font-display);
	font-size: clamp(2rem, 4.4vw, 3.1rem);
	font-weight: 500;
	line-height: 1.06;
	letter-spacing: -0.025em;
	color: var(--color-charcoal);
}
.single-product-main .product-tagline {
	margin-top: 1.25rem;
	font-size: 17px;
	line-height: 1.6;
	color: color-mix(in srgb, var(--color-charcoal) 75%, transparent);
}
.single-product-main .product-price {
	margin-top: 2rem;
	font-family: var(--font-display);
	font-size: 2rem;
	font-weight: 500;
	color: var(--color-navy);
}
.single-product-main .product-price .woocommerce-Price-amount,
.single-product-main .product-price bdi,
.single-product-main .product-price span { font-family: inherit; font-size: inherit; font-weight: inherit; color: inherit; }

.single-product-main .product-stock-status {
	margin-top: 0.75rem;
	font-size: 14px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--color-charcoal);
}

.single-product-main .theme-add-to-cart-area {
	margin-top: 1.75rem;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 1rem;
}
@media (min-width: 640px) {
	.single-product-main .theme-add-to-cart-area {
		flex-direction: row;
		align-items: center;
		flex-wrap: wrap;
	}
}
.single-product-main .theme-add-to-cart-area .single_add_to_cart_button,
.single-product-main .theme-add-to-cart-area .theme-ask-question-link {
	flex: 1 1 auto;
	min-width: 160px;
}
.single-product-main .theme-add-to-cart-area form.variations_form {
	width: 100%;
	flex: 1 1 100%;
}
.single-product-main form.variations_form .theme-product-options {
	margin-top: 0;
	margin-bottom: 1rem;
}

.single-product-main .product-added-message {
	margin-top: 1rem;
	font-size: 14px;
	color: var(--color-charcoal);
	min-height: 0;
}
.single-product-main .product-added-message[hidden] { display: none !important; }
.single-product-main .product-added-message__inner {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	flex-wrap: wrap;
}
.single-product-main .product-added-message__icon { color: var(--color-navy); flex-shrink: 0; }
.single-product-main .product-added-message__view {
	font: inherit;
	color: inherit;
	text-decoration: underline;
	text-decoration-color: var(--color-gold);
	text-underline-offset: 4px;
	cursor: pointer;
	background: none;
	border: none;
	padding: 0;
}
.single-product-main .product-added-message.is-visible {
	animation: fadeIn 300ms ease;
}

.single-product-main .product-included-block {
	margin-top: 2.5rem;
	padding-top: 1.75rem;
	border-top: 1px solid color-mix(in srgb, var(--color-navy) 15%, transparent);
}
.single-product-main .product-included-list {
	margin-top: 1.25rem;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}
.single-product-main .product-included-list li {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	font-size: 15px;
	line-height: 1.6;
	color: color-mix(in srgb, var(--color-charcoal) 75%, transparent);
}
.single-product-main .product-included-list .theme-icon {
	margin-top: 3px;
	flex-shrink: 0;
	color: var(--color-navy);
}
.single-product-main .product-note-text {
	margin-top: 1.5rem;
	font-size: 14px;
	line-height: 1.6;
	color: color-mix(in srgb, var(--color-charcoal) 60%, transparent);
}

.single-product-main .product-details-section { background: var(--color-cream); padding: 5rem 0; }
@media (min-width: 1024px) { .single-product-main .product-details-section { padding: 7rem 0; } }
.single-product-main .product-details-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 3rem;
}
@media (min-width: 1024px) {
	.single-product-main .product-details-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 3rem; }
}
.single-product-main .product-long-description {
	margin-top: 1.5rem;
	font-size: 17px;
	line-height: 1.7;
	color: color-mix(in srgb, var(--color-charcoal) 80%, transparent);
	overflow-wrap: break-word;
	word-break: break-word;
}
.single-product-main .product-long-description p + p { margin-top: 1.25rem; }
.single-product-main .product-materials {
	margin-top: 1.5rem;
	font-size: 15px;
	line-height: 1.7;
	color: color-mix(in srgb, var(--color-charcoal) 65%, transparent);
	overflow-wrap: break-word;
	word-break: break-word;
}
.single-product-main .product-materials p + p { margin-top: 1.25rem; }

.single-product-main .product-highlights-dl { display: flex; flex-direction: column; gap: 1.5rem; }
.single-product-main .product-highlight {
	border-top: 1px solid color-mix(in srgb, var(--color-navy) 20%, transparent);
	padding-top: 1.25rem;
}
.single-product-main .product-highlight dt { color: color-mix(in srgb, var(--color-navy) 55%, transparent); font-size: 14px; }
.single-product-main .product-highlight dd {
	margin-top: 0.5rem;
	font-size: 15px;
	line-height: 1.6;
	color: color-mix(in srgb, var(--color-charcoal) 75%, transparent);
}

.single-product-main .product-gallery-section { background: var(--color-background); padding: 5rem 0; }
@media (min-width: 1024px) { .single-product-main .product-gallery-section { padding: 7rem 0; } }
.single-product-main .product-gallery-grid {
	margin-top: 2.5rem;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1.5rem;
}
@media (min-width: 640px) {
	.single-product-main .product-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
	.single-product-main .product-gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.single-product-main .product-gallery-item {
	overflow: hidden;
	border-radius: var(--card-radius);
	margin: 0;
}
.single-product-main .product-gallery-item img {
	position: static !important;
	display: block;
	width: 100%;
	height: auto;
	max-width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.single-product-main .related-products-section { background: var(--color-cream-deep); padding: 4rem 0 5rem; }
@media (min-width: 1024px) { .single-product-main .related-products-section { padding: 4rem 0 5rem; } }
.single-product-main .related-products-pills { margin-top: 1.75rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.single-product-main .related-product-pill {
	border: 1px solid color-mix(in srgb, var(--color-navy) 25%, transparent);
	border-radius: 9999px;
	padding: 0.625rem 1.25rem;
	font-size: 14px;
	font-weight: 500;
	color: var(--color-charcoal);
	transition: transform 300ms ease;
}
.single-product-main .related-product-pill:hover { transform: translateY(-4px); }

.single-product-main .product-cta-section { background: var(--color-navy); padding: 4rem 0; }
@media (min-width: 1024px) { .single-product-main .product-cta-section { padding: 6rem 0; } }
.single-product-main .product-cta-inner { display: flex; flex-direction: column; gap: 2rem; }
@media (min-width: 1024px) {
	.single-product-main .product-cta-inner { flex-direction: row; align-items: flex-end; justify-content: space-between; }
}
.single-product-main .product-cta-copy { max-width: 42rem; }
.single-product-main .product-cta-title {
	margin-top: 1.25rem;
	color: var(--color-cream);
	font-family: var(--font-display);
	font-size: clamp(1.75rem, 3.6vw, 2.75rem);
	font-weight: 500;
	line-height: 1.06;
}
.single-product-main .product-cta-text {
	margin-top: 1rem;
	font-size: 15px;
	line-height: 1.6;
	color: color-mix(in srgb, var(--color-cream) 75%, transparent);
}
.single-product-main .product-cta-actions { display: flex; flex-direction: column; gap: 1rem; flex-shrink: 0; }
@media (min-width: 640px) { .single-product-main .product-cta-actions { flex-direction: row; } }

/* Hide WC chrome on single product — keep variable form functional */
.single-product-main .woocommerce-product-gallery,
.single-product-main .woocommerce-tabs,
.single-product-main .product_meta,
.single-product-main .woocommerce-notices-wrapper { display: none !important; }

/* Native variation table: hide when custom pills/swatches are rendered */
.single-product-main form.variations_form:has(.theme-product-options) table.variations {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.single-product-main form.variations_form .reset_variations {
	font-size: 13px;
	color: color-mix(in srgb, var(--color-navy) 65%, transparent);
	margin-top: 0.5rem;
}

.single-product-main form.variations_form table.variations {
	width: 100%;
	border: none;
	margin-bottom: 1rem;
}
.single-product-main form.variations_form table.variations th,
.single-product-main form.variations_form table.variations td {
	border: none;
	padding: 0.5rem 0;
	vertical-align: top;
}
.single-product-main form.variations_form table.variations label {
	font-size: 14px;
	font-weight: 600;
	color: color-mix(in srgb, var(--color-navy) 70%, transparent);
}
.single-product-main form.variations_form table.variations select {
	width: 100%;
	max-width: 20rem;
	padding: 0.625rem 0.75rem;
	border-radius: 0.5rem;
	border: 1px solid color-mix(in srgb, var(--color-navy) 25%, transparent);
	background: var(--color-background);
	font-family: var(--font-body);
	font-size: 15px;
}

.single-product-main .woocommerce-variation-add-to-cart {
	margin-top: 1rem;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}
@media (min-width: 640px) {
	.single-product-main .woocommerce-variation-add-to-cart {
		flex-direction: row;
		flex-wrap: wrap;
		align-items: center;
	}
}
.single-product-main .woocommerce-variation-add-to-cart .single_add_to_cart_button {
	flex: 1 1 auto;
	min-width: 160px;
}
.single-product-main .theme-product-qty-stepper {
	display: inline-flex;
	align-items: center;
	border: 1px solid color-mix(in srgb, var(--color-navy) 20%, transparent);
	border-radius: 0.5rem;
	background: var(--color-background);
	flex-shrink: 0;
}
.single-product-main .theme-product-qty-btn {
	padding: 0.625rem 0.75rem;
	color: var(--color-navy);
	line-height: 1;
	font-size: 1rem;
	font-weight: 600;
	transition: opacity 300ms ease, background-color 300ms ease;
}
.single-product-main .theme-product-qty-btn:hover {
	opacity: 0.7;
	background: color-mix(in srgb, var(--color-navy) 4%, transparent);
}
.single-product-main .theme-product-qty-btn--dec {
	border-radius: 0.5rem 0 0 0.5rem;
}
.single-product-main .theme-product-qty-btn--inc {
	border-radius: 0 0.5rem 0.5rem 0;
}
.single-product-main .theme-product-qty-value {
	padding: 0 0.875rem;
	min-width: 2.25rem;
	text-align: center;
	font-size: 14px;
	font-weight: 600;
	color: var(--color-navy);
	font-variant-numeric: tabular-nums;
}
.single-product-main .theme-product-qty-input {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
}
.single-product-main .woocommerce-variation-add-to-cart .quantity {
	margin: 0;
}
.single-product-main .woocommerce-variation-add-to-cart .single_add_to_cart_button.disabled,
.single-product-main .woocommerce-variation-add-to-cart .single_add_to_cart_button.wc-variation-selection-needed {
	opacity: 0.45;
	pointer-events: none;
	cursor: not-allowed;
}
.single-product-main .woocommerce-variation-price {
	margin-bottom: 0.5rem;
	font-family: var(--font-display);
	font-size: 1.5rem;
	color: var(--color-navy);
}

/* Section 11.13 — responsive safety net */
.single-product .product-detail-grid { min-width: 0; }
.single-product .theme-product-gallery,
.single-product .theme-product-info { min-width: 0; max-width: 100%; }
.single-product .single_add_to_cart_button { flex: 1 1 auto; min-width: 160px; }
.single-product .posted_in { overflow-wrap: break-word; word-break: break-word; }

/* ==========================================================================
   WooCommerce — global notices (Section 14.1)
   ========================================================================== */
.woocommerce-message, .woocommerce-error, .woocommerce-info {
	border-radius: 0.5rem;
	border: 1px solid color-mix(in srgb, var(--color-navy) 20%, transparent);
	background: var(--color-cream);
	color: var(--color-charcoal);
	padding: 1rem 1.5rem;
	font-size: 14px;
	list-style: none;
	margin: 0 0 1.5rem;
}
.woocommerce-error { border-color: var(--color-navy); }

/* ==========================================================================
   WooCommerce Checkout Block (Section 13)
   ========================================================================== */
body.woocommerce-checkout,
body.woocommerce-checkout .site-main,
body.woocommerce-checkout .theme-checkout-main,
body.woocommerce-checkout .theme-checkout-shell,
body.woocommerce-checkout .theme-checkout-content,
body.woocommerce-checkout article,
body.woocommerce-checkout .theme-page-container,
body.woocommerce-checkout .container-wide,
body.woocommerce-checkout #page-content,
body.woocommerce-checkout #content,
body.woocommerce-checkout .entry-content {
	--theme-checkout-max: 1280px;
	max-width: none;
	width: 100%;
	box-sizing: border-box;
}

body.woocommerce-checkout .site-main,
body.woocommerce-checkout .theme-checkout-main {
	padding-top: 2rem;
	padding-bottom: 4rem;
}

body.woocommerce-checkout .theme-checkout-shell {
	max-width: var(--theme-checkout-max);
	width: 100%;
	margin-inline: auto;
	padding-inline: 20px;
	box-sizing: border-box;
}
@media (min-width: 640px) {
	body.woocommerce-checkout .theme-checkout-shell { padding-inline: 32px; }
}
@media (min-width: 1024px) {
	body.woocommerce-checkout .theme-checkout-shell { padding-inline: 48px; }
}

.theme-checkout-header { margin-bottom: 2rem; }
.theme-checkout-back-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 14px;
	color: color-mix(in srgb, var(--color-charcoal) 70%, transparent);
	transition: transform 300ms ease;
}
.theme-checkout-back-link:hover { transform: translateX(-4px); }
.theme-checkout-title { margin-top: 1.25rem; font-size: clamp(2rem, 5vw, 3.4rem); }
.theme-checkout-intro {
	margin-top: 1rem;
	max-width: 42rem;
	font-size: 16px;
	line-height: 1.6;
	color: color-mix(in srgb, var(--color-charcoal) 75%, transparent);
}

/* Outer checkout block — centered container, NOT the grid parent */
body.woocommerce-checkout .wp-block-woocommerce-checkout,
body.woocommerce-checkout .wc-block-checkout,
.entry-content .wp-block-woocommerce-checkout,
.entry-content .wc-block-checkout {
	display: block;
	max-width: var(--theme-checkout-max);
	width: 100%;
	margin-inline: auto;
	padding-inline: 0;
	box-sizing: border-box;
}

/* Notices — full width, aligned with checkout content */
body.woocommerce-checkout .wc-block-components-notices,
.entry-content .wc-block-components-notices {
	display: block;
	max-width: var(--theme-checkout-max);
	width: 100%;
	margin-inline: auto;
	margin-bottom: var(--checkout-gap);
	box-sizing: border-box;
}

body.woocommerce-checkout .wc-block-components-notice-banner,
.entry-content .wc-block-components-notice-banner {
	width: 100%;
	box-sizing: border-box;
}

/* 2-column layout — sidebar-layout is the real grid container */
body.woocommerce-checkout .wc-block-components-sidebar-layout,
body.woocommerce-checkout .wc-block-checkout-sidebar-layout,
body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large,
.entry-content .wc-block-components-sidebar-layout,
.entry-content .wc-block-checkout-sidebar-layout {
	display: flex;
	flex-direction: column;
	gap: var(--checkout-gap);
	width: 100%;
	max-width: 100%;
	min-width: 0;
	box-sizing: border-box;
}

@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-components-sidebar-layout,
	body.woocommerce-checkout .wc-block-checkout-sidebar-layout,
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large,
	.entry-content .wc-block-components-sidebar-layout,
	.entry-content .wc-block-checkout-sidebar-layout {
		display: grid !important;
		grid-template-columns: 1fr minmax(360px, 400px) !important;
		gap: var(--checkout-gap);
		align-items: start;
	}

	/* Notices may render inside the sidebar layout on some WC versions */
	body.woocommerce-checkout .wc-block-components-sidebar-layout > .wc-block-components-notices,
	body.woocommerce-checkout .wc-block-checkout-sidebar-layout > .wc-block-components-notices,
	.entry-content .wc-block-components-sidebar-layout > .wc-block-components-notices,
	.entry-content .wc-block-checkout-sidebar-layout > .wc-block-components-notices {
		grid-column: 1 / -1;
		order: 1;
		margin-bottom: 0;
	}

	body.woocommerce-checkout .wc-block-checkout__main,
	body.woocommerce-checkout .wp-block-woocommerce-checkout-fields-block,
	.entry-content .wc-block-checkout__main,
	.entry-content .wp-block-woocommerce-checkout-fields-block {
		grid-column: 1;
		order: 2;
		min-width: 0;
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
	}

	body.woocommerce-checkout .wc-block-checkout__sidebar,
	body.woocommerce-checkout .wp-block-woocommerce-checkout-totals-block,
	.entry-content .wc-block-checkout__sidebar,
	.entry-content .wp-block-woocommerce-checkout-totals-block {
		grid-column: 2;
		order: 3;
		min-width: 360px;
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
	}
}

body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar,
.entry-content .wc-block-checkout__main,
.entry-content .wc-block-checkout__sidebar {
	min-width: 0;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

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 {
	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%;
	min-width: 0;
	background-color: var(--color-cream);
	border-radius: var(--card-radius);
	padding: var(--section-padding);
	box-sizing: border-box;
}

body.woocommerce-checkout .wc-block-checkout-empty,
.entry-content .wc-block-checkout-empty {
	margin-inline: auto;
	max-width: 36rem;
	width: 100%;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	box-sizing: border-box;
}

body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout .wc-block-components-textarea textarea,
.entry-content .wc-block-components-text-input input,
.entry-content .wc-block-components-select select,
.entry-content .wc-block-components-textarea textarea {
	font-family: var(--font-body);
	font-size: 15px;
	color: var(--color-charcoal);
	border: 1px solid color-mix(in srgb, var(--color-navy) 25%, transparent);
	border-radius: 0.5rem;
	background: var(--color-background);
}
body.woocommerce-checkout .wc-block-components-text-input input::placeholder,
.entry-content .wc-block-components-text-input input::placeholder { color: color-mix(in srgb, var(--color-charcoal) 40%, transparent); }
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus,
.entry-content .wc-block-components-text-input input:focus,
.entry-content .wc-block-components-select select:focus {
	outline: none;
	border-color: var(--color-gold);
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
.entry-content .wc-block-components-checkout-place-order-button {
	background-color: var(--color-navy) !important;
	color: var(--color-cream) !important;
	border-radius: var(--btn-radius) !important;
	font-family: var(--font-body) !important;
	font-weight: 600 !important;
	letter-spacing: var(--btn-letter-spacing) !important;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover,
.entry-content .wc-block-components-checkout-place-order-button:hover { opacity: 0.9; }
body.woocommerce-checkout h2,
body.woocommerce-checkout h3,
.entry-content .wc-block-checkout h2,
.entry-content .wc-block-checkout h3 { font-family: var(--font-display); color: var(--color-charcoal); }

/* ==========================================================================
   PDP product options (swatches / pills)
   ========================================================================== */
.theme-product-options { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 1.5rem; }
.theme-product-option-label { display: block; margin-bottom: 0.75rem; color: color-mix(in srgb, var(--color-navy) 55%, transparent); }
.theme-color-swatches { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.theme-color-swatch-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.625rem;
	padding: 0.5rem 0.75rem;
	border-radius: 9999px;
	border: 1px solid color-mix(in srgb, var(--color-navy) 15%, transparent);
	background: transparent;
	transition: border-color 250ms ease, background-color 250ms ease;
	cursor: pointer;
}
.theme-color-swatch-btn.is-selected {
	border-color: var(--color-navy);
	background: color-mix(in srgb, var(--color-navy) 5%, transparent);
}
.theme-color-swatch {
	width: 1.25rem;
	height: 1.25rem;
	border-radius: 9999px;
	background: var(--swatch-color);
	box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--color-charcoal) 12%, transparent);
	flex-shrink: 0;
}
.theme-color-swatch-label { font-size: 14px; font-weight: 500; color: var(--color-charcoal); }
.theme-attribute-pills { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.theme-attribute-pill {
	padding: 0.5rem 1rem;
	border-radius: 9999px;
	border: 1px solid color-mix(in srgb, var(--color-navy) 20%, transparent);
	background: var(--color-background);
	font-size: 14px;
	font-weight: 500;
	color: var(--color-charcoal);
	cursor: pointer;
	transition: background-color 250ms ease, border-color 250ms ease, color 250ms ease;
}
.theme-attribute-pill.is-selected {
	background: var(--color-navy);
	border-color: var(--color-navy);
	color: var(--color-cream);
}
.theme-product-option-textarea {
	width: 100%;
	border-radius: 0.5rem;
	border: 1px solid color-mix(in srgb, var(--color-navy) 25%, transparent);
	background: var(--color-background);
	padding: 0.75rem 1rem;
	font-family: var(--font-body);
	font-size: 15px;
	color: var(--color-charcoal);
	resize: vertical;
	min-height: 5rem;
}
.theme-product-option-textarea:focus {
	outline: none;
	border-color: var(--color-gold);
}
.theme-variation-select-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ==========================================================================
   Cart drawer line meta
   ========================================================================== */
.cart-drawer-item-meta {
	margin-top: 0.5rem;
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}
.cart-drawer-item-meta-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem;
	font-size: 13px;
	line-height: 1.4;
	color: color-mix(in srgb, var(--color-navy) 70%, transparent);
}
.cart-drawer-item-meta-label { font-weight: 600; color: color-mix(in srgb, var(--color-navy) 80%, transparent); }
.cart-drawer-color-swatch {
	width: 0.875rem;
	height: 0.875rem;
	border-radius: 9999px;
	background: var(--swatch-color);
	box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--color-charcoal) 12%, transparent);
	flex-shrink: 0;
}
.cart-drawer-item-meta-value--request { font-style: italic; }

/* ==========================================================================
   Thank-you page (Section 22.8)
   ========================================================================== */
body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .woocommerce-order,
body.theme-thankyou-page .woocommerce-order-overview,
body.theme-thankyou-page .woocommerce-customer-details,
body.theme-thankyou-page .woocommerce-order-details { margin-top: 2rem; }
body.theme-thankyou-page .woocommerce-order-overview {
	display: flex; flex-wrap: wrap; gap: 1.5rem; list-style: none; padding: 0;
	border-radius: 0.75rem; background: var(--color-cream); padding: 1.5rem;
}
body.theme-thankyou-page .woocommerce-order-overview li { font-size: 14px; }
body.theme-thankyou-page h2, body.theme-thankyou-page .woocommerce-order-details__title {
	font-family: var(--font-display); padding: 0 0 1rem 0;
}
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; border-collapse: collapse; }
body.theme-thankyou-page .woocommerce-order-details table th,
body.theme-thankyou-page .woocommerce-order-details table td { padding: 0.75rem; border-bottom: 1px solid color-mix(in srgb, var(--color-navy) 12%, transparent); font-size: 14px; }
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 address { min-width: 0; overflow-wrap: break-word; }
@media (min-width: 768px) {
	body.theme-thankyou-page .woocommerce-customer-details {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 2rem;
		align-items: start;
	}
}

/* ==========================================================================
   Cart / My Account width parity (Section 13.7)
   ========================================================================== */
body.woocommerce-cart .site-main,
body.woocommerce-account .site-main { padding-top: 2rem; padding-bottom: 4rem; }
