/* Chairside Coaching — theme stylesheet. Editorial black, ivory, and gold. */

/* -------------------------------------------------------------------------
 * 1. Design tokens
 * ---------------------------------------------------------------------- */
:root {
	--ink: #0a0a0a;
	--ink-2: #131313;
	--charcoal: #1c1c1c;
	--ivory: #f7f2e8;
	--gold: #f0b429;
	--line: #333333;
	--muted-foreground: #adaaa2;
	/* Derived from customizable tokens (Customizer overrides --ink through --muted-foreground). */
	--color-primary: var(--gold);
	--gold-soft: color-mix(in srgb, var(--gold) 72%, var(--ivory) 28%);
	--gold-deep: color-mix(in srgb, var(--gold) 62%, var(--ink) 38%);
	--ivory-2: color-mix(in srgb, var(--ivory) 82%, var(--ink) 18%);
	--line-light: color-mix(in srgb, var(--line) 45%, var(--ivory) 55%);

	--logo-height: 60px;
	--header-height: 96px;
	--radius: 0.5rem;
	--btn-radius: 2px;
	--btn-height: 52px;
	--btn-padding: 16px 30px;
	--btn-font-size: 14px;
	--btn-font-weight: 600;
	--btn-letter-spacing: 0.16em;
	--btn-text-transform: uppercase;
	--btn-icon-padding: 0;
	--checkout-gap: 2rem;
	--card-radius: 3px;
	--section-padding: 2rem;

	--font-display: 'Bodoni Moda', Georgia, 'Times New Roman', serif;
	--font-hero: 'Bodoni Moda', Georgia, serif;
	--font-body: 'Inter', system-ui, -apple-system, sans-serif;
	--font-label: 'Inter', system-ui, sans-serif;

	--transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
	--shadow-elevated: 0 24px 60px -18px rgba(0, 0, 0, 0.7);
	--shadow-gold: 0 14px 34px -14px rgba(240, 180, 41, 0.35);
}

/* -------------------------------------------------------------------------
 * 2. Base reset
 * ---------------------------------------------------------------------- */
* { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: clip; }

body {
	background-color: var(--ink);
	color: var(--ivory);
	font-family: var(--font-body);
	font-size: 16px;
	font-weight: 400;
	margin: 0;
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
img:not(.cover-img):not(.hero-bg-img):not(.beyond-bg-video):not(.contact-bg-video):not(.theme-product-card-img) {
	max-width: 100%;
	height: auto;
}
.cover-img,
.hero-bg-img,
.hero-bg-video,
.beyond-bg-video,
.contact-bg-video,
.theme-product-card-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: inherit;
	font-size: inherit;
	letter-spacing: -0.01em;
	line-height: 1.08;
	color: inherit;
	margin: 0;
}

a { color: inherit; text-decoration: none; }
a[href], button:not(:disabled), .cc-btn, .cc-nav-link, .question-toggle, .cart-toggle-btn, .hero-scroll-btn, .theme-modal-close, .theme-cart-drawer-close, .theme-cart-remove-btn, .theme-empty-cart-btn, .contact-form-quicknote-link, .mobile-menu-toggle, .theme-details-toggle, [data-contact-open], [data-cart-open], [data-cart-close], [data-faq-toggle] {
	cursor: pointer;
}
button { font-family: inherit; background: none; border: none; cursor: pointer; color: inherit; }
input, textarea, select { font-family: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }

html { scroll-behavior: smooth; }

.container-wide {
	width: 100%;
	max-width: 80rem;
	margin: 0 auto;
	padding-inline: 1.25rem;
}
@media (min-width: 640px) { .container-wide { padding-inline: 1.5rem; } }
@media (min-width: 1024px) { .container-wide { padding-inline: 2.5rem; } }

/* -------------------------------------------------------------------------
 * 3. Typography utilities
 * ---------------------------------------------------------------------- */
.cs-label {
	font-family: var(--font-label);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	font-size: 13px;
	line-height: 1.3;
	display: block;
}
.font-hero { font-family: var(--font-hero); font-weight: 600; letter-spacing: -0.02em; line-height: 1.02; }
.font-display { font-family: var(--font-display); }

.cc-eyebrow {
	display: inline-flex; align-items: center; gap: 10px;
	font-family: var(--font-label);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.22em;
	font-size: 13px;
	color: var(--gold);
}
.cc-eyebrow::before {
	content: '';
	width: 8px; height: 8px;
	border-radius: 999px;
	background: var(--gold);
	flex: none;
}
.cc-eyebrow-square::before { border-radius: 2px; transform: rotate(45deg); }
.eyebrow-on-light { color: var(--gold-deep); }

.cc-cue-dot { display: inline-block; width: 8px; height: 8px; border-radius: 999px; background: var(--gold); flex-shrink: 0; }
.cc-chalk-mark { display: inline-block; width: 8px; height: 8px; background: var(--gold); flex-shrink: 0; transform: rotate(45deg); }
.theme-gold-rule { display: block; height: 1px; width: 4rem; background: var(--gold); margin-top: 1.5rem; }

/* -------------------------------------------------------------------------
 * 4. Buttons
 * ---------------------------------------------------------------------- */
.cc-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: var(--btn-padding);
	border-radius: var(--btn-radius);
	font-family: var(--font-label);
	font-weight: var(--btn-font-weight);
	font-size: var(--btn-font-size);
	letter-spacing: var(--btn-letter-spacing);
	text-transform: var(--btn-text-transform);
	cursor: pointer;
	position: relative;
	transition: transform 400ms var(--transition-smooth), background-color 400ms, color 400ms, border-color 400ms, opacity 300ms;
}
.cc-btn svg { transition: transform 400ms var(--transition-smooth); }
.cc-btn:hover svg { transform: translateX(4px); }
.cc-btn-gold { background: var(--gold); color: var(--ink); }
.cc-btn-gold:hover { transform: translateY(-3px); background: var(--gold-soft); }
.cc-btn-outline { background: transparent; color: var(--ivory); border: 1px solid rgba(247, 242, 232, 0.35); }
.cc-btn-outline:hover { transform: translateY(-3px); border-color: var(--gold); color: var(--gold); }

/* Hero CTAs and add-to-cart stay sentence case (Section 2.2) */
.btn-hero-primary, .btn-hero-outline, .single_add_to_cart_button {
	text-transform: none;
}

/* -------------------------------------------------------------------------
 * 5. Sections & cards
 * ---------------------------------------------------------------------- */
.cc-section-black { background-color: var(--ink); color: var(--ivory); }
.cc-section-charcoal { background-color: var(--ink-2); color: var(--ivory); }
.cc-section-ivory { background-color: var(--ivory); color: var(--ink); }
.cc-section-ivory-alt { background-color: var(--ivory-2); color: var(--ink); }

.cc-card, .cc-card-light {
	border-radius: var(--card-radius);
	overflow: hidden;
	transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1), border-color 400ms;
	transform-style: preserve-3d;
}
.cc-card { background: var(--charcoal); border: 1px solid var(--line); }
.cc-card:hover { transform: translateY(-8px); border-color: rgba(240, 180, 41, 0.55); }
.cc-card-light { background: var(--ivory); border: 1px solid var(--line-light); }
.cc-card-light.cc-card-gold { border-color: rgba(240, 180, 41, 0.32); }
.cc-card-light.cc-card-gold:hover { border-color: var(--gold); transform: translateY(-4px); }

.cc-badge-soon {
	display: inline-flex; align-items: center; gap: 7px;
	padding: 6px 12px;
	border-radius: 2px;
	background: var(--gold);
	color: var(--ink);
	font-family: var(--font-label);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.16em;
	font-size: 13px;
}

.cc-field {
	width: 100%;
	padding: 14px 16px;
	border-radius: 2px;
	background: var(--ink-2);
	border: 1px solid var(--line);
	color: var(--ivory);
	font-size: 14px;
	transition: border-color 300ms ease;
}
.cc-field::placeholder { color: var(--muted-foreground); }
.cc-field:focus { outline: none; border-color: var(--gold); }

.section-heading { font-family: var(--font-display); }
.section-paragraph { margin-top: 1.5rem; font-size: 15px; line-height: 1.7; color: rgba(10, 10, 10, 0.72); max-width: 42rem; }
.section-paragraph--dark { color: var(--muted-foreground); }
.section-intro { max-width: 42rem; }

/* -------------------------------------------------------------------------
 * 6. Animation / reveal system (Section 2.1)
 * ---------------------------------------------------------------------- */
.animate-fade-in { animation: fadeIn 0.6s var(--transition-smooth) forwards; }
.animate-slide-up { animation: slideUp 0.5s var(--transition-smooth) forwards; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

[data-reveal-child] {
	opacity: 0; transform: translateY(22px);
	transition: opacity 800ms cubic-bezier(0.22, 1, 0.36, 1), transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
	transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal-child].is-revealed { opacity: 1; transform: translateY(0); }

.parallax-bg { transform: translate3d(0, var(--parallax-y, 0px), 0); }

@keyframes ken-burns {
	0% { transform: scale(1.02) translate3d(0, 0, 0); }
	50% { transform: scale(1.12) translate3d(-1.5%, -1%, 0); }
	100% { transform: scale(1.02) translate3d(0, 0, 0); }
}
.ken-burns { animation: ken-burns 26s ease-in-out infinite; will-change: transform; }

@keyframes cc-ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.cc-ticker-viewport { background: var(--ink); border-bottom: 1px solid var(--line); overflow: hidden; position: relative; }
.cc-ticker-track { display: flex; width: max-content; padding: 0.6rem 0; animation: cc-ticker 52s linear infinite; will-change: transform; }
.cc-ticker-viewport:hover .cc-ticker-track { animation-play-state: paused; }
.cc-ticker-group { display: flex; align-items: center; gap: 2rem; padding-right: 2rem; flex-shrink: 0; }
.cc-ticker-item { display: flex; align-items: center; gap: 2rem; flex-shrink: 0; }
.cc-ticker-item .cs-label { color: var(--ivory); white-space: nowrap; }

/* Global product-card reveal — observed in every context: shop, homepage
 * bookstore grid, and single-product related grid (Section 2.1 rule 5). */
.reveal-item {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity 800ms cubic-bezier(0.22, 1, 0.36, 1), transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-item.is-visible { opacity: 1; transform: none; }

/* Customizer preview fallback (Section 2.1 rule 5) */
body.is-customizer [data-reveal],
body.is-customizer [data-reveal-child],
body.is-customizer .reveal-item {
	opacity: 1 !important;
	transform: none !important;
}

@media (prefers-reduced-motion: reduce) {
	[data-reveal-child], .reveal-item { opacity: 1 !important; transform: none !important; transition: none !important; }
	.cc-card, .cc-card:hover, .cc-card-light, .cc-card-light:hover { transition: none !important; transform: none !important; }
	.ken-burns, .cc-ticker-track { animation: none !important; }
	[data-tilt] { transform: none !important; }
}

/* -------------------------------------------------------------------------
 * 7. Header
 * ---------------------------------------------------------------------- */
.site-header {
	position: sticky; top: 0; left: 0; right: 0; z-index: 50;
	width: 100%;
	background-color: var(--ink);
	border-bottom: 1px solid var(--line);
	transition: all 500ms;
}
body.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
	body.admin-bar .site-header { top: 46px; }
}
.site-header.is-solid { border-bottom-color: rgba(240, 180, 41, 0.35); box-shadow: var(--shadow-elevated); }
.site-nav { position: relative; display: flex; align-items: center; justify-content: space-between; height: 4.5rem; gap: 0.75rem; flex-wrap: nowrap; }
@media (min-width: 768px) { .site-nav { height: 6rem; } }

.site-brand { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; min-width: 0; }
.site-logo-img { height: var(--logo-height) !important; width: auto !important; display: block; transition: transform 500ms; }
.site-brand:hover .site-logo-img { transform: scale(1.05); }
.site-logo-text { font-family: var(--font-display); font-size: 1.5rem; color: var(--ivory); }
.site-brand-text { font-family: var(--font-label); text-transform: uppercase; letter-spacing: 0.16em; font-size: 13px; color: var(--ivory); }

.site-nav-links {
	display: none;
	align-items: center; gap: 1.75rem;
	position: absolute; left: 50%; transform: translateX(-50%);
}
@media (min-width: 1024px) { .site-nav-links { display: flex; } }
.theme-nav-list { display: flex; align-items: center; gap: 1.75rem; }
.cc-nav-link {
	position: relative;
	display: inline-block;
	padding-bottom: 3px;
	font-family: var(--font-label);
	font-weight: 500;
	font-size: 13px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ivory);
	white-space: nowrap;
	transition: color 280ms ease, opacity 280ms ease;
}
.cc-nav-link::after {
	content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px;
	background: var(--gold); transform: scaleX(0); transform-origin: right center;
	transition: transform 400ms cubic-bezier(0.22, 1, 0.36, 1);
}
.cc-nav-link:hover::after, .cc-nav-link:focus-visible::after { transform: scaleX(1); transform-origin: left center; }

.site-nav-actions { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }
.header-cta-btn { display: none; padding: 0.75rem 1.5rem !important; }
@media (min-width: 768px) { .header-cta-btn { display: inline-flex; } }

.cart-toggle-btn {
	position: relative; display: inline-flex; align-items: center; justify-content: center;
	width: 2.75rem; height: 2.75rem; border-radius: 999px; color: var(--ivory);
	transition: background-color 300ms, transform 300ms;
}
.cart-toggle-btn:hover { background-color: rgba(255, 255, 255, 0.1); transform: translateY(-1px); }
.theme-cart-count {
	position: absolute; top: 0; right: 0; min-width: 19px; height: 19px; padding: 0 4px;
	border-radius: 999px; background: var(--gold); color: var(--ink);
	font-size: 12px; font-weight: 600; display: flex; align-items: center; justify-content: center;
	font-family: var(--font-label);
}
.theme-cart-count:empty { display: none; }

.mobile-menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border-radius: 999px; color: var(--ivory); }
@media (min-width: 1024px) { .mobile-menu-toggle { display: none; } }
.mobile-menu-toggle:hover { background-color: rgba(255, 255, 255, 0.1); }

.mobile-menu-panel { padding: 1rem 0; background: var(--ink); border-top: 1px solid var(--line); }
.theme-nav-list-mobile { display: flex; flex-direction: column; gap: 0.25rem; }
.theme-nav-list-mobile .cc-nav-link { text-align: left; padding: 0.75rem 0.25rem; align-self: flex-start; }
.mobile-cta-btn { margin-top: 0.75rem; width: 100%; }

/* -------------------------------------------------------------------------
 * 8. Hero
 * ---------------------------------------------------------------------- */
.hero-section {
	position: relative;
	min-height: calc(100svh - 110px);
	display: flex; align-items: center;
	overflow: hidden;
	background-color: var(--ink);
}
@media (min-width: 768px) { .hero-section { min-height: calc(100svh - 136px); } }
body.theme-no-hero .hero-section { display: none; }

.hero-bg { position: absolute; inset: 0; overflow: hidden; z-index: 0; background-color: var(--ink); }
.hero-gradient { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(180deg, rgba(10, 10, 10, 0.72) 0%, rgba(10, 10, 10, 0.42) 45%, rgba(10, 10, 10, 0.92) 100%); }
.hero-radial { position: absolute; inset: 0; z-index: 3; pointer-events: none; background: radial-gradient(ellipse at 20% 55%, rgba(240, 180, 41, 0.12) 0%, transparent 58%); }
.hero-content { position: relative; z-index: 4; padding-block: 4rem; }
@media (min-width: 768px) { .hero-content { padding-block: 5rem; } }
.hero-max { max-width: 48rem; }
.hero-title { margin-top: 1rem; font-size: 2.2rem; color: var(--ivory); }
@media (min-width: 640px) { .hero-title { font-size: 3rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 3.8rem; } }
.hero-subtitle { margin-top: 1rem; font-family: var(--font-display); font-size: 1.35rem; line-height: 1.3; max-width: 42rem; color: var(--gold); }
@media (min-width: 768px) { .hero-subtitle { font-size: 1.7rem; } }
.hero-paragraph { margin-top: 1rem; max-width: 36rem; font-size: 15px; line-height: 1.7; color: rgba(247, 242, 232, 0.85); }
@media (min-width: 768px) { .hero-paragraph { font-size: 1rem; } }
.hero-ctas { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 640px) { .hero-ctas { flex-direction: row; } }
.hero-scroll-btn {
	position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
	display: none; align-items: center; justify-content: center;
	width: 2.75rem; height: 2.75rem; border-radius: 999px;
	color: var(--gold); border: 1px solid rgba(240, 180, 41, 0.5);
	transition: transform 300ms; z-index: 5;
}
@media (min-width: 768px) { .hero-scroll-btn { display: inline-flex; } }
.hero-scroll-btn:hover { transform: translate(-50%, 4px); }

/* -------------------------------------------------------------------------
 * 9. Philosophy (full bleed statement)
 * ---------------------------------------------------------------------- */
.philosophy-section { position: relative; overflow: hidden; background-color: var(--ink); }
.philosophy-bg { position: absolute; inset: 0; overflow: hidden; }
.philosophy-gradient { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,8,8,0.85) 0%, rgba(8,8,8,0.7) 50%, rgba(8,8,8,0.9) 100%); }
.philosophy-content { position: relative; padding-block: 6rem; text-align: center; }
@media (min-width: 768px) { .philosophy-content { padding-block: 9rem; } }
.philosophy-dots { display: flex; align-items: center; justify-content: center; gap: 0.75rem; margin-bottom: 1.5rem; }
.philosophy-title { font-size: 2.1rem; max-width: 56rem; margin: 0 auto; color: var(--ivory); }
@media (min-width: 640px) { .philosophy-title { font-size: 3rem; } }
@media (min-width: 1024px) { .philosophy-title { font-size: 4rem; } }
.philosophy-tagline { margin-top: 2rem; color: var(--gold); }

/* -------------------------------------------------------------------------
 * 10. Pillars section
 * ---------------------------------------------------------------------- */
.pillars-section, .lessons-section, .bookstore-section, .questions-section { position: relative; overflow: hidden; padding: 5rem 0; }
@media (min-width: 768px) { .pillars-section, .lessons-section, .bookstore-section, .questions-section { padding: 7rem 0; } }

.pillars-heading, .story-heading { font-size: 2.25rem; margin-top: 1.25rem; }
@media (min-width: 768px) { .pillars-heading, .story-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .pillars-heading, .story-heading { font-size: 3.4rem; } }

.pillars-grid { margin-top: 3.5rem; display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .pillars-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .pillars-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.pillar-card, .lesson-card { display: flex; flex-direction: column; height: 100%; }
.pillar-card__image-wrapper, .lesson-card__image-wrapper {
	position: relative; aspect-ratio: 4 / 3; overflow: hidden; background-color: var(--ink);
}
.pillar-card__image-wrapper img, .lesson-card__image-wrapper img { transition: transform 1200ms ease-out; }
.pillar-card:hover .pillar-card__image-wrapper img { transform: scale(1.08); }
.pillar-card__index {
	position: absolute; top: 0.75rem; left: 0.75rem;
	width: 2.25rem; height: 2.25rem; display: flex; align-items: center; justify-content: center;
	background: var(--gold); color: var(--ink); font-family: var(--font-display); font-size: 15px;
}
.pillar-card__body, .lesson-card__body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; min-width: 0; }
.pillar-card__rule { display: block; width: 2rem; height: 2px; margin-bottom: 1rem; background: var(--gold); }
.pillar-card__title { font-size: 1.5rem; color: var(--ink); }
.pillar-card__copy { margin-top: 0.75rem; font-size: 14px; line-height: 1.6; color: rgba(10, 10, 10, 0.7); }

.lesson-card__badge-wrap { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.lesson-card__image { filter: blur(6px); transform: scale(1.1); opacity: 0.8; }
.lesson-card { cursor: default; }

.lessons-grid {
	margin-top: 3.5rem;
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
	align-items: stretch;
}
@media (min-width: 640px) { .lessons-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .lessons-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* -------------------------------------------------------------------------
 * 11. Bookstore / product cards
 * ---------------------------------------------------------------------- */
.bookstore-heading, .lessons-heading, .questions-heading { font-size: 2.25rem; margin-top: 1.25rem; }
@media (min-width: 768px) { .bookstore-heading, .lessons-heading, .questions-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .bookstore-heading, .lessons-heading, .questions-heading { font-size: 3.4rem; } }

.theme-product-grid {
	margin-top: 3.5rem;
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
	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 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.theme-product-card-wrap { height: 100%; }
.theme-product-card {
	position: relative;
	display: flex; flex-direction: column; height: 100%;
	border-radius: var(--card-radius);
	background: var(--charcoal);
	border: 1px solid var(--line);
	overflow: hidden;
	transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1), border-color 400ms, opacity 400ms;
}
.theme-product-card:hover { transform: translateY(-8px); border-color: rgba(240, 180, 41, 0.55); }
.theme-product-card > .theme-card-link { position: absolute; inset: 0; z-index: 2; pointer-events: auto; }
.theme-product-card *:not(.theme-card-link) { pointer-events: none; }
.theme-product-card .theme-quick-add-btn,
.theme-product-card .theme-product-card__quick-add { pointer-events: auto; }

.theme-product-card__image-wrapper { position: relative; aspect-ratio: 4 / 5; width: 100%; overflow: hidden; background-color: var(--ink); }
.theme-product-card__image-wrapper img { transition: transform 1200ms ease-out; }
.theme-product-card:hover .theme-product-card__image-wrapper img { transform: scale(1.07); }
.theme-product-card.is-coming-soon .theme-product-card__image-wrapper img { filter: blur(6px); transform: scale(1.05); opacity: 0.7; }
.theme-product-card__image-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(10,10,10,0.75) 100%); }
.theme-product-card__soon-badge-wrap { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; z-index: 1; }
.theme-product-card__category { position: absolute; top: 0.9rem; left: 0.9rem; z-index: 1; }
.theme-product-card__category .cs-label { padding: 0.4rem 0.75rem; display: inline-flex; align-items: center; gap: 0.5rem; background: var(--gold); color: var(--ink); }

.theme-product-card__quick-add {
	position: absolute; bottom: 0.9rem; right: 0.9rem; z-index: 3;
	opacity: 0; transform: translateY(0.5rem);
	transition: opacity 500ms, transform 500ms;
}
.theme-product-card:hover .theme-product-card__quick-add { opacity: 1; transform: translateY(0); }
.theme-quick-add-btn {
	width: 3rem; height: 3rem; border-radius: 999px;
	display: flex !important; align-items: center; justify-content: center;
	background-color: var(--gold) !important; color: var(--ink) !important;
	transition: transform 300ms; box-shadow: var(--shadow-gold);
	min-height: unset !important; padding: 0 !important;
}
.theme-quick-add-btn:hover { transform: scale(1.1); }

.theme-product-card__info { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: 1.25rem; flex: 1; }
.theme-product-card__info-text { min-width: 0; flex: 1; }
.theme-product-card__title { font-size: 19px; line-height: 1.3; color: var(--ivory); }
.theme-product-card__desc {
	margin-top: 0.5rem; font-size: 14px; color: var(--muted-foreground);
	display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.theme-product-card__price { font-family: var(--font-display); font-size: 21px; color: var(--gold); flex-shrink: 0; white-space: nowrap; }
.theme-product-card__price .woocommerce-Price-amount { color: var(--gold); }

/* -------------------------------------------------------------------------
 * 12. Beyond (statement, full bleed video)
 * ---------------------------------------------------------------------- */
.beyond-section, .contact-section { position: relative; overflow: hidden; }
.beyond-bg, .contact-bg { position: absolute; inset: 0; overflow: hidden; }
.beyond-gradient { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,8,8,0.94) 0%, rgba(8,8,8,0.72) 55%, rgba(8,8,8,0.55) 100%); }
.contact-gradient { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,8,8,0.94) 0%, rgba(8,8,8,0.82) 52%, rgba(8,8,8,0.72) 100%); }
.beyond-content { padding-block: 6rem; }
.contact-section { padding-block: 6rem; }
@media (min-width: 768px) {
	.beyond-content { padding-block: 9rem; }
	.contact-section { padding-block: 9rem; }
}
.beyond-max { position: relative; max-width: 42rem; }
.beyond-title { margin-top: 1.5rem; font-size: 2.1rem; color: var(--ivory); }
@media (min-width: 640px) { .beyond-title { font-size: 3rem; } }
@media (min-width: 1024px) { .beyond-title { font-size: 3.8rem; } }
.beyond-paragraph { margin-top: 1.75rem; font-size: 15px; line-height: 1.7; color: rgba(247, 242, 232, 0.85); }
@media (min-width: 768px) { .beyond-paragraph { font-size: 1.125rem; } }

/* -------------------------------------------------------------------------
 * 13. Story section
 * ---------------------------------------------------------------------- */
.story-section, .chair-section { position: relative; overflow: hidden; padding: 5rem 0; }
@media (min-width: 768px) { .story-section, .chair-section { padding: 7rem 0; } }
.story-grid, .chair-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .story-grid { grid-template-columns: 5fr 7fr; gap: 4rem; } }
.story-image-wrapper { position: relative; overflow: hidden; background-color: var(--ink); aspect-ratio: 4 / 5; }
.story-image { transition: transform 1400ms ease-out; }
.story-image-wrapper:hover .story-image { transform: scale(1.04); }
.story-role { margin-top: 1rem; color: var(--gold-deep); }
.story-quote { margin-top: 2rem; padding: 1.75rem; position: relative; background-color: var(--ink); color: var(--ivory); }
.story-quote-icon { margin-bottom: 1rem; color: var(--gold); }
.story-quote blockquote { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.3; margin: 0; }
@media (min-width: 768px) { .story-quote blockquote { font-size: 1.6rem; } }
.story-quote figcaption { margin-top: 1.25rem; color: var(--gold); }

/* -------------------------------------------------------------------------
 * 14. Why the Chair Matters
 * ---------------------------------------------------------------------- */
@media (min-width: 1024px) { .chair-grid { grid-template-columns: 5fr 7fr; gap: 4rem; align-items: start; } }
.chair-image-col { position: sticky; top: 8rem; }
@media (max-width: 1023px) { .chair-image-col { position: static; } }
.chair-image-wrapper { position: relative; overflow: hidden; background-color: var(--charcoal); }
.chair-image-inner { overflow: hidden; aspect-ratio: 4 / 5; position: relative; }
.chair-heading { margin-top: 1.25rem; font-size: 2.25rem; color: var(--ivory); }
@media (min-width: 768px) { .chair-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .chair-heading { font-size: 3.4rem; } }
.chair-points-list { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 2rem; }
.chair-point { display: flex; gap: 1.25rem; }
.chair-point__number { font-family: var(--font-display); font-size: 1.6rem; line-height: 1; color: var(--gold); flex-shrink: 0; padding-top: 0.25rem; }
.chair-point__body { border-left: 1px solid var(--line); padding-left: 1.25rem; min-width: 0; }
.chair-point__body h3 { font-size: 1.25rem; color: var(--ivory); }
@media (min-width: 768px) { .chair-point__body h3 { font-size: 1.5rem; } }
.chair-point__body p { margin-top: 0.5rem; font-size: 14px; line-height: 1.6; color: var(--muted-foreground); }

/* -------------------------------------------------------------------------
 * 15. Questions Answered
 * ---------------------------------------------------------------------- */
.questions-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 1024px) { .questions-grid { grid-template-columns: 4fr 8fr; } }
.question-item { border-top: 1px solid var(--line-light); }
.question-toggle { width: 100%; display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem; padding: 1.5rem 0; text-align: left; }
.question-toggle__q { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.3; color: var(--ink); transition: opacity 200ms; }
@media (min-width: 768px) { .question-toggle__q { font-size: 1.5rem; } }
.question-toggle:hover .question-toggle__q { opacity: 0.8; }
.question-toggle__icon { flex-shrink: 0; margin-top: 0.4rem; width: 1.75rem; height: 1.75rem; display: flex; align-items: center; justify-content: center; color: var(--gold-deep); transition: transform 300ms; }
.question-answer { padding-bottom: 1.5rem; padding-right: 2.5rem; }
.question-answer p { font-size: 15px; line-height: 1.7; color: rgba(10, 10, 10, 0.72); }

/* -------------------------------------------------------------------------
 * 16. Contact section
 * ---------------------------------------------------------------------- */
.contact-grid { position: relative; display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: flex-start; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 5fr 7fr; gap: 4rem; } }
.contact-title { margin-top: 1.5rem; font-size: 2.2rem; color: var(--ivory); }
@media (min-width: 768px) { .contact-title { font-size: 3rem; } }
.contact-paragraph { margin-top: 1.5rem; font-size: 15px; line-height: 1.7; color: var(--muted-foreground); }
.contact-ctas { margin-top: 2rem; display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 640px) { .contact-ctas { flex-direction: row; } }
.contact-tagline { margin-top: 2rem; color: var(--gold); }

.contact-success { padding: 2rem; text-align: center; background: var(--ink); border: 1px solid var(--line); }
.contact-success-icon { width: 4rem; height: 4rem; margin: 0 auto 1.25rem; border-radius: 999px; display: flex; align-items: center; justify-content: center; background: var(--gold); color: var(--ink); }
.contact-success h3 { font-size: 1.875rem; color: var(--ivory); }
.contact-success p { margin-top: 0.75rem; font-size: 15px; color: var(--muted-foreground); }

.contact-form { padding: 1.5rem; background: var(--ink); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 1.25rem; }
@media (min-width: 768px) { .contact-form { padding: 2.25rem; } }
.theme-form-row-2 { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .theme-form-row-2 { grid-template-columns: 1fr 1fr; } }
.theme-form-row-2 label, .contact-form label { display: block; margin-bottom: 0.5rem; color: var(--muted-foreground); }
.contact-form-actions { display: flex; flex-direction: column; gap: 1rem; justify-content: space-between; }
@media (min-width: 640px) { .contact-form-actions { flex-direction: row; align-items: center; } }
.contact-form-quicknote-link { color: var(--muted-foreground); text-align: left; transition: color 200ms; }
.contact-form-quicknote-link:hover { color: var(--gold); }

/* -------------------------------------------------------------------------
 * 17. Footer
 * ---------------------------------------------------------------------- */
.site-footer { position: relative; overflow: hidden; background: var(--ink); color: var(--ivory); border-top: 1px solid var(--line); }
.site-footer .container-wide {
	min-width: 0;
	max-width: 100%;
	overflow-x: clip;
}
.site-footer-inner { padding-block-start: 4rem; padding-block-end: 2rem; }
@media (min-width: 1024px) { .site-footer-inner { padding-block-start: 6rem; padding-block-end: 2.5rem; } }
.footer-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 2.5rem;
	width: 100%;
	max-width: 100%;
	min-width: 0;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2.5rem 3.5rem; } }
.footer-col { min-width: 0; max-width: 100%; }
.footer-col-brand {
	grid-column: span 12;
	overflow-x: clip;
	contain: inline-size;
}
@media (min-width: 768px) { .footer-col-brand { grid-column: span 5; } }
.footer-col-explore { grid-column: span 12; }
@media (min-width: 768px) { .footer-col-explore { grid-column: span 3; } }
.footer-col-contact { grid-column: span 12; }
@media (min-width: 768px) { .footer-col-contact { grid-column: span 4; } }
.footer-col-brand .site-brand { max-width: 100%; }
.footer-col-brand .site-logo-img.footer-logo-img {
	width: auto !important;
	max-width: 100%;
	height: auto !important;
	max-height: 6rem;
	object-fit: contain;
}
@media (min-width: 768px) { .footer-col-brand .site-logo-img.footer-logo-img { max-height: 8rem; } }
.footer-description {
	margin-top: 1.5rem;
	max-width: min(28rem, 100%);
	font-size: 15px;
	line-height: 1.7;
	color: var(--muted-foreground);
	overflow-wrap: break-word;
	text-wrap: pretty;
}
.footer-tagline {
	margin-top: 1.5rem;
	color: var(--gold);
	max-width: 100%;
	white-space: normal;
	overflow-wrap: break-word;
	text-wrap: balance;
	/* Trailing letter-spacing paints past the content box on the last line */
	padding-inline-end: 0.2em;
	box-sizing: border-box;
}
@media (max-width: 767px) {
	.footer-col-brand .footer-description {
		max-width: 100%;
		width: 100%;
		box-sizing: border-box;
		padding-inline-end: 1.25rem;
	}
	.footer-col-brand .footer-tagline {
		font-size: clamp(0.5625rem, 2.35vw, 0.6875rem);
		letter-spacing: 0.05em;
		line-height: 1.55;
		max-width: 20.5rem;
		width: 100%;
	}
}
.footer-heading { margin-bottom: 1rem; color: var(--gold); }
.footer-gold-rule { display: block; height: 1px; width: 4rem; background: var(--gold); opacity: 0.6; margin-bottom: 1.25rem; }
.footer-nav-list { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-nav-list .cc-nav-link, .footer-nav-list button.cc-nav-link { color: var(--muted-foreground); font-size: 14px; text-transform: none; letter-spacing: normal; font-weight: 400; }
.footer-email-link { margin-top: 0; display: inline-flex; align-items: center; gap: 0.5rem; font-size: 14px; color: var(--muted-foreground); word-break: break-all; transition: color 200ms; }
.footer-email-link:hover { color: var(--gold); }
.footer-contact-btn { margin-top: 1.5rem; padding: 0.75rem 1.5rem !important; }
.footer-bottom { margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 640px) { .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; } }
.footer-copyright, .footer-credit { font-size: 14px; color: var(--muted-foreground); margin: 0; }
.footer-credit a { text-decoration: underline; text-underline-offset: 4px; transition: color 200ms; }
.footer-credit a:hover { color: var(--gold); }

.back-to-top-btn {
	position: fixed; bottom: 2rem; right: 2rem; z-index: 50;
	width: 2.75rem; height: 2.75rem; border-radius: 999px; display: flex; align-items: center; justify-content: center;
	background: var(--gold); color: var(--ink); box-shadow: var(--shadow-gold);
	opacity: 0; pointer-events: none; transition: opacity 300ms, transform 300ms;
}
.back-to-top-btn.is-visible { opacity: 1; pointer-events: auto; }
.back-to-top-btn:hover { transform: scale(1.1) translateY(-2px); }

/* -------------------------------------------------------------------------
 * 18. Contact modal (quick note)
 * ---------------------------------------------------------------------- */
.theme-modal-overlay {
	position: fixed; inset: 0; z-index: 90; background: rgba(2, 2, 2, 0.6);
	opacity: 0; pointer-events: none; transition: opacity 300ms;
}
body.contact-modal-open .theme-modal-overlay { opacity: 1; pointer-events: auto; }

.theme-modal {
	position: fixed; inset: 0; z-index: 91; display: flex; align-items: center; justify-content: center; padding: 1rem;
	opacity: 0; pointer-events: none; transition: opacity 300ms;
}
.theme-modal.is-open { opacity: 1; pointer-events: auto; }
.theme-modal-panel {
	width: 100%; max-width: 32rem; max-height: 90vh; overflow-y: auto;
	background: var(--ink); border: 1px solid var(--line); border-radius: var(--radius);
	padding: 2rem; position: relative;
	transform: scale(0.96); transition: transform 300ms;
}
.theme-modal.is-open .theme-modal-panel { transform: scale(1); }
.theme-modal-close { position: absolute; top: 1rem; right: 1rem; width: 2.25rem; height: 2.25rem; display: flex; align-items: center; justify-content: center; border-radius: 999px; color: var(--ivory); transition: background-color 200ms; }
.theme-modal-close:hover { background: rgba(255,255,255,0.1); }
.theme-modal-title { font-size: 1.875rem; color: var(--ivory); margin-bottom: 0.5rem; }
.theme-modal-description { font-size: 14px; color: var(--muted-foreground); margin-bottom: 1.25rem; }
.theme-modal-email-link { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 14px; color: var(--muted-foreground); word-break: break-all; margin-bottom: 1.25rem; transition: color 200ms; }
.theme-modal-email-link:hover { color: var(--gold); }
.theme-modal-form { display: flex; flex-direction: column; gap: 1rem; }
.theme-modal-form-actions { display: flex; justify-content: flex-end; }
.theme-modal-success { text-align: center; padding-block: 2rem; }
.theme-modal-success-icon { width: 4rem; height: 4rem; margin: 0 auto 1rem; border-radius: 999px; background: var(--gold); color: var(--ink); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-gold); }
.theme-modal-success h3 { font-size: 1.5rem; color: var(--ivory); margin-bottom: 0.5rem; }
.theme-modal-success p { font-size: 14px; color: var(--muted-foreground); }

/* -------------------------------------------------------------------------
 * 19. Cart drawer + overlay
 * ---------------------------------------------------------------------- */
#theme-cart-overlay {
	position: fixed; inset: 0; z-index: 95; background: rgba(2, 2, 2, 0.6); backdrop-filter: blur(2px);
	opacity: 0; pointer-events: none; transition: opacity 300ms;
}
body.cart-open #theme-cart-overlay { opacity: 1; pointer-events: auto; }

#theme-cart-drawer {
	position: fixed; right: 0; top: 0; height: 100%; width: 100%; max-width: 28rem; z-index: 96;
	display: flex; flex-direction: column;
	background: var(--ink); border-left: 1px solid var(--line); box-shadow: var(--shadow-elevated);
	transform: translateX(100%); transition: transform 400ms var(--transition-smooth), opacity 300ms;
}
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(--line); }
.theme-cart-drawer-header h2 { font-size: 1.5rem; color: var(--ivory); }
.theme-cart-drawer-close { width: 2.5rem; height: 2.5rem; display: flex; align-items: center; justify-content: center; border-radius: 999px; color: var(--ivory); transition: background-color 200ms, transform 300ms; }
.theme-cart-drawer-close:hover { background: rgba(255,255,255,0.1); transform: rotate(90deg); }

.theme-cart-drawer-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem; text-align: center; }
.theme-cart-drawer-empty-icon { width: 5rem; height: 5rem; border-radius: 999px; background: var(--charcoal); display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; color: var(--gold); }
.theme-cart-drawer-empty p { margin-bottom: 1.5rem; color: var(--muted-foreground); }

.theme-cart-drawer-items { flex: 1; overflow: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.25rem; }
.theme-cart-item { display: flex; gap: 1rem; padding: 0.75rem; border-radius: var(--radius); transition: background-color 200ms; }
.theme-cart-item:hover { background: rgba(255,255,255,0.05); }
.theme-cart-item-image { width: 5rem; height: 6rem; flex-shrink: 0; overflow: hidden; background: var(--charcoal); display: block; }
.theme-cart-item-image img { width: 100%; height: 100%; object-fit: cover; }
.theme-cart-item-body { flex: 1; min-width: 0; }
.theme-cart-item-title { font-family: var(--font-display); font-size: 15px; display: block; color: var(--ivory); transition: color 200ms; }
.theme-cart-item-title:hover { color: var(--gold); }
.theme-cart-item-price { font-size: 14px; font-weight: 600; margin-top: 0.25rem; color: var(--gold); }
.theme-cart-item-price .woocommerce-Price-amount { color: var(--gold); }
.theme-cart-item-variation { margin-top: 0.25rem; font-size: 12px; color: var(--muted-foreground); }
.theme-cart-item-meta { margin: 0.35rem 0 0; padding: 0; list-style: none; font-size: 12px; line-height: 1.45; color: var(--muted-foreground); }
.theme-cart-item-meta li { margin: 0.15rem 0; }
.theme-cart-meta-label { text-transform: uppercase; letter-spacing: 0.08em; font-size: 11px; }
.theme-cart-item-controls { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.75rem; }
.theme-cart-qty-btn { width: 1.75rem; height: 1.75rem; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); transition: background-color 200ms; }
.theme-cart-qty-btn:hover { background: rgba(255,255,255,0.1); }
.theme-cart-qty-value { font-size: 14px; width: 1.5rem; text-align: center; }
.theme-cart-remove-btn { margin-left: auto; font-size: 14px; color: var(--muted-foreground); transition: color 200ms; }
.theme-cart-remove-btn:hover { color: var(--gold); }

.theme-cart-drawer-footer { padding: 1.5rem; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 1rem; }
.theme-cart-subtotal-row { display: flex; justify-content: space-between; align-items: baseline; }
.theme-cart-subtotal-value { font-family: var(--font-display); font-size: 1.875rem; color: var(--gold); }
.theme-cart-subtotal-value .woocommerce-Price-amount { color: var(--gold); }
.theme-checkout-btn { width: 100%; }
.theme-empty-cart-btn { width: 100%; display: flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.5rem; font-size: 14px; color: var(--muted-foreground); transition: color 200ms; }
.theme-empty-cart-btn:hover { color: var(--gold); }

/* 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; }

/* -------------------------------------------------------------------------
 * 20. Add-to-cart button style override (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-primary) !important;
	color: var(--ink) !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;
}
.single_add_to_cart_button.button:hover,
.add_to_cart_button.button:hover {
	opacity: 0.85 !important;
	background-color: var(--color-primary) !important;
	color: var(--ink) !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;
}
.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 circular button — overrides global rules above */
.theme-product-card .add_to_cart_button.ajax_add_to_cart {
	min-height: unset !important;
	padding: var(--btn-icon-padding) !important;
	border-radius: 50% !important;
}

/* -------------------------------------------------------------------------
 * 21. Single product page
 * ---------------------------------------------------------------------- */
.theme-single-product { padding-top: 2.5rem; padding-bottom: 6rem; }
.theme-single-product .theme-variations { display: flex; flex-direction: column; gap: 1.25rem; margin-bottom: 1.5rem; }
.theme-single-product .theme-attr-select-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.theme-single-product .theme-variation-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.5rem; }
.theme-single-product .theme-variation-pill {
	padding: 0.45rem 1rem;
	border-radius: 999px;
	border: 1px solid var(--line);
	background: transparent;
	color: var(--ivory);
	font-family: var(--font-label);
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	cursor: pointer;
	transition: background-color 200ms, border-color 200ms, color 200ms, opacity 200ms;
}
.theme-single-product .theme-variation-pill.is-selected {
	background: var(--ivory);
	color: var(--ink);
	border-color: var(--ivory);
}
.theme-single-product .theme-variation-pill:disabled { opacity: 0.35; cursor: not-allowed; }
.theme-single-product .theme-variable-add-to-cart:disabled { opacity: 0.55; cursor: not-allowed; }
.theme-breadcrumb { padding-block: 1.5rem; font-size: 13px; text-transform: uppercase; letter-spacing: 0.16em; font-family: var(--font-label); color: var(--muted-foreground); }
.theme-breadcrumb a { transition: color 200ms; }
.theme-breadcrumb a:hover { color: var(--gold); }
.theme-breadcrumb-sep { margin: 0 0.5rem; opacity: 0.5; }
.theme-breadcrumb-current { color: var(--ivory); }

.theme-product-layout { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: flex-start; min-width: 0; }
@media (min-width: 1024px) { .theme-product-layout { grid-template-columns: 7fr 5fr; gap: 4rem; } }
.theme-product-gallery, .theme-product-info { min-width: 0; max-width: 100%; }

.theme-product-main-image { display: block; width: 100%; aspect-ratio: 4 / 5; overflow: hidden; cursor: zoom-in; position: relative; background: var(--charcoal); box-shadow: var(--shadow-elevated); }
.theme-product-main-image img { transition: transform 700ms; }
.theme-product-main-image:hover img { transform: scale(1.05); }
.theme-product-thumbnails { margin-top: 1rem; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.75rem; flex-wrap: wrap; max-width: 100%; }
.theme-product-thumb { aspect-ratio: 1 / 1; overflow: hidden; background: var(--charcoal); transition: transform 300ms, box-shadow 300ms; box-shadow: 0 0 0 1px var(--line); position: relative; }
.theme-product-thumb:hover { transform: translateY(-4px); }
.theme-product-thumb.is-active { box-shadow: 0 0 0 2px var(--gold); }

.theme-product-info .cc-eyebrow { margin-bottom: 0; }
.product-title { font-family: var(--font-body); font-weight: 600; font-size: 1.875rem; line-height: 1.1; color: var(--ivory); margin-top: 1.25rem; margin-bottom: 1.25rem; }
@media (min-width: 768px) { .product-title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .product-title { font-size: 3.1rem; } }
.theme-product-price-row { display: flex; align-items: baseline; gap: 0.75rem; margin-bottom: 1.5rem; margin-top: 1.5rem; }
.theme-product-price { font-family: var(--font-display); font-size: 2.25rem; color: var(--gold); }
.theme-product-price .woocommerce-Price-amount { color: var(--gold); }
.theme-stock-indicator--out { display: inline-flex; margin: 1.5rem 0; padding: 0.5rem 1rem; background: var(--charcoal); border: 1px solid var(--line); color: var(--muted-foreground); font-family: var(--font-label); text-transform: uppercase; letter-spacing: 0.1em; font-size: 13px; }
.theme-product-description { margin-bottom: 2rem; font-size: 15px; line-height: 1.7; color: var(--muted-foreground); overflow-wrap: break-word; word-break: break-word; }
.theme-product-description p { margin-bottom: 1em; }

.theme-block-label { margin-bottom: 0.75rem; color: var(--muted-foreground); }
.theme-quantity-block { margin-bottom: 1.5rem; }
.theme-quantity-wrapper { display: inline-flex; align-items: center; overflow: hidden; background: var(--ink-2); border: 1px solid var(--line); }
.theme-qty-minus, .theme-qty-plus { padding: 0.75rem 1rem; transition: background-color 200ms; }
.theme-qty-minus:hover, .theme-qty-plus:hover { background: rgba(255,255,255,0.05); }
.theme-qty-input { width: 3rem; text-align: center; background: transparent; border: none; color: var(--ivory); padding: 0.75rem 0; -moz-appearance: textfield; }
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.theme-add-to-cart-area { display: flex; align-items: stretch; flex-wrap: wrap; gap: 0.75rem; }
.theme-add-to-cart-area .single_add_to_cart_button { flex: 1 1 auto; min-width: 160px; }
.theme-ask-question-btn { flex: 1 1 auto; min-width: 160px; }

.theme-price-note { margin-top: 1.25rem; display: flex; align-items: center; gap: 0.6rem; font-size: 14px; padding: 0.75rem 1rem; background: var(--ink-2); border: 1px solid var(--line); color: var(--muted-foreground); }

.theme-details-accordion { margin-top: 2.5rem; border-top: 1px solid var(--line); }
.theme-details-toggle { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 0; text-align: left; transition: color 200ms; }
.theme-details-toggle:hover .cs-label { color: var(--gold); }
.theme-details-toggle svg { transition: transform 300ms; }
.theme-details-content { padding-bottom: 1.5rem; overflow-wrap: break-word; word-break: break-word; }
.theme-details-content ul { list-style: none; padding: 0; }

.theme-related-products { padding-top: 5rem; border-top: 1px solid var(--line); }
.theme-related-header { margin-bottom: 2.5rem; }
.theme-related-header h2 { margin-top: 1rem; font-size: 1.875rem; color: var(--ivory); }
@media (min-width: 768px) { .theme-related-header h2 { font-size: 3rem; } }

.theme-lightbox {
	position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center;
	padding: 1rem; background: rgba(2, 2, 2, 0.94); backdrop-filter: blur(4px);
}
@media (min-width: 768px) { .theme-lightbox { padding: 2.5rem; } }
.theme-lightbox[hidden] { display: none; }
.theme-lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; }
.theme-lightbox-close { position: absolute; top: 1rem; right: 1rem; width: 2.75rem; height: 2.75rem; border-radius: 999px; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; color: var(--ivory); transition: background-color 200ms; }
@media (min-width: 768px) { .theme-lightbox-close { top: 1.5rem; right: 1.5rem; } }
.theme-lightbox-close:hover { background: rgba(255,255,255,0.25); }

/* Shop archive */
.theme-shop-archive { padding: 4rem 0 6rem; }
.theme-shop-header { margin-bottom: 2rem; }
.shop-heading { margin-top: 1rem; font-size: 2.5rem; color: var(--ivory); }
.theme-shop-empty { color: var(--muted-foreground); padding-block: 3rem; text-align: center; }

/* -------------------------------------------------------------------------
 * 22. WooCommerce notices (Section 14.1)
 * ---------------------------------------------------------------------- */
.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(--radius); padding: 1rem 1.25rem; margin-bottom: 1.5rem;
	background: var(--ink-2); border: 1px solid var(--line); color: var(--ivory); list-style: none;
}
body.woocommerce-checkout .woocommerce-error,
body.woocommerce-account .woocommerce-error,
body.woocommerce-cart .woocommerce-error { display: block; }

/* -------------------------------------------------------------------------
 * 23. Checkout / Cart / My Account / Thank you (Sections 13, 13.7)
 * ---------------------------------------------------------------------- */
body.woocommerce-checkout .site-main,
body.woocommerce-cart .site-main,
body.woocommerce-account .site-main {
	padding-top: 2rem;
	padding-bottom: 4rem;
}
body.woocommerce-checkout .entry-content,
body.woocommerce-cart .entry-content,
body.woocommerce-account .entry-content {
	max-width: 100%;
}
body.woocommerce-checkout .page-title,
body.woocommerce-cart .page-title,
body.woocommerce-account .page-title,
body.theme-thankyou-page .page-title {
	font-size: 2.5rem;
	margin-bottom: 2rem;
	color: var(--ivory);
}

body.woocommerce-checkout .wc-block-checkout,
body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large {
	display: block;
}
@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: var(--checkout-gap);
		align-items: start;
	}
}

body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar {
	min-width: 0;
	width: 100%;
	max-width: none;
}

/* Checkout Blocks — floating labels: field chrome follows wrapper .is-active / :focus-within */
body.woocommerce-checkout .wc-block-checkout .wc-block-components-text-input,
body.woocommerce-checkout .wc-block-checkout .wc-block-components-textarea,
body.woocommerce-checkout .wc-block-checkout .wc-block-components-combobox,
body.woocommerce-checkout .wc-block-components-address-form .wc-block-components-text-input,
body.woocommerce-checkout .entry-content .wc-block-checkout .wc-block-components-text-input,
body.woocommerce-checkout .entry-content .wc-block-checkout .wc-block-components-textarea,
body.woocommerce-checkout .entry-content .wc-block-checkout .wc-block-components-combobox,
body.woocommerce-checkout .entry-content .wc-block-components-address-form .wc-block-components-text-input {
	--checkout-field-bg: var(--charcoal);
	--checkout-field-fg: var(--ivory);
	--checkout-label-fg: var(--ivory);
}

body.woocommerce-checkout .wc-block-checkout .wc-block-components-text-input.is-active,
body.woocommerce-checkout .wc-block-checkout .wc-block-components-text-input:focus-within,
body.woocommerce-checkout .wc-block-checkout .wc-block-components-textarea.is-active,
body.woocommerce-checkout .wc-block-checkout .wc-block-components-textarea:focus-within,
body.woocommerce-checkout .wc-block-checkout .wc-block-components-combobox.is-active,
body.woocommerce-checkout .wc-block-checkout .wc-block-components-combobox:focus-within,
body.woocommerce-checkout .wc-block-components-address-form .wc-block-components-text-input.is-active,
body.woocommerce-checkout .wc-block-components-address-form .wc-block-components-text-input:focus-within,
body.woocommerce-checkout .entry-content .wc-block-checkout .wc-block-components-text-input.is-active,
body.woocommerce-checkout .entry-content .wc-block-checkout .wc-block-components-text-input:focus-within,
body.woocommerce-checkout .entry-content .wc-block-checkout .wc-block-components-textarea.is-active,
body.woocommerce-checkout .entry-content .wc-block-checkout .wc-block-components-textarea:focus-within,
body.woocommerce-checkout .entry-content .wc-block-checkout .wc-block-components-combobox.is-active,
body.woocommerce-checkout .entry-content .wc-block-checkout .wc-block-components-combobox:focus-within,
body.woocommerce-checkout .entry-content .wc-block-components-address-form .wc-block-components-text-input.is-active,
body.woocommerce-checkout .entry-content .wc-block-components-address-form .wc-block-components-text-input:focus-within {
	--checkout-field-bg: #fff;
	--checkout-field-fg: #000;
	--checkout-label-fg: #000;
}

body.woocommerce-checkout .wc-block-checkout .wc-block-components-text-input label,
body.woocommerce-checkout .wc-block-checkout .wc-block-components-textarea label,
body.woocommerce-checkout .wc-block-checkout .wc-block-components-combobox label,
body.woocommerce-checkout .wc-block-components-address-form .wc-block-components-text-input label,
body.woocommerce-checkout .entry-content .wc-block-checkout .wc-block-components-text-input label,
body.woocommerce-checkout .entry-content .wc-block-checkout .wc-block-components-textarea label,
body.woocommerce-checkout .entry-content .wc-block-checkout .wc-block-components-combobox label {
	color: var(--checkout-label-fg) !important;
	opacity: 1;
}

body.woocommerce-checkout .wc-block-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-checkout .wc-block-components-textarea textarea,
body.woocommerce-checkout .wc-block-checkout .wc-block-components-combobox input,
body.woocommerce-checkout .wc-block-components-address-form .wc-block-components-text-input input,
body.woocommerce-checkout .entry-content .wc-block-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .entry-content .wc-block-checkout .wc-block-components-textarea textarea,
body.woocommerce-checkout .entry-content .wc-block-checkout .wc-block-components-combobox input {
	width: 100% !important;
	max-width: none !important;
	font-family: var(--font-body);
	background-color: var(--checkout-field-bg) !important;
	border: 1px solid var(--line);
	border-radius: 2px;
	color: var(--checkout-field-fg) !important;
	caret-color: var(--checkout-field-fg);
	transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease;
}

body.woocommerce-checkout .wc-block-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-checkout .wc-block-components-textarea textarea:focus,
body.woocommerce-checkout .wc-block-checkout .wc-block-components-combobox input:focus,
body.woocommerce-checkout .wc-block-components-address-form .wc-block-components-text-input input:focus {
	border-color: var(--gold);
	outline: none;
}

body.woocommerce-checkout .wc-block-checkout .wc-block-components-text-input input::placeholder,
body.woocommerce-checkout .wc-block-checkout .wc-block-components-textarea textarea::placeholder,
body.woocommerce-checkout .wc-block-checkout .wc-block-components-combobox input::placeholder,
body.woocommerce-checkout .wc-block-components-address-form .wc-block-components-text-input input::placeholder {
	color: var(--muted-foreground);
}

body.woocommerce-checkout .wc-block-checkout .wc-block-components-text-input.is-active input::placeholder,
body.woocommerce-checkout .wc-block-checkout .wc-block-components-text-input:focus-within input::placeholder,
body.woocommerce-checkout .wc-block-checkout .wc-block-components-textarea.is-active textarea::placeholder,
body.woocommerce-checkout .wc-block-checkout .wc-block-components-textarea:focus-within textarea::placeholder,
body.woocommerce-checkout .wc-block-checkout .wc-block-components-combobox.is-active input::placeholder,
body.woocommerce-checkout .wc-block-checkout .wc-block-components-combobox:focus-within input::placeholder,
body.woocommerce-checkout .wc-block-components-address-form .wc-block-components-text-input.is-active input::placeholder,
body.woocommerce-checkout .wc-block-components-address-form .wc-block-components-text-input:focus-within input::placeholder {
	color: rgb(0 0 0 / 0.45);
}

body.woocommerce-checkout .wc-block-checkout .wc-block-components-text-input input:-webkit-autofill,
body.woocommerce-checkout .wc-block-checkout .wc-block-components-textarea textarea:-webkit-autofill,
body.woocommerce-checkout .wc-block-checkout .wc-block-components-combobox input:-webkit-autofill,
body.woocommerce-checkout .wc-block-components-address-form .wc-block-components-text-input input:-webkit-autofill {
	-webkit-text-fill-color: var(--checkout-field-fg);
	box-shadow: 0 0 0 1000px var(--checkout-field-bg) inset;
	transition: background-color 5000s ease-in-out 0s;
}

body.woocommerce-checkout .wc-block-checkout .wc-block-components-text-input.is-active input:-webkit-autofill,
body.woocommerce-checkout .wc-block-checkout .wc-block-components-text-input:focus-within input:-webkit-autofill,
body.woocommerce-checkout .wc-block-checkout .wc-block-components-textarea.is-active textarea:-webkit-autofill,
body.woocommerce-checkout .wc-block-checkout .wc-block-components-textarea:focus-within textarea:-webkit-autofill,
body.woocommerce-checkout .wc-block-checkout .wc-block-components-combobox.is-active input:-webkit-autofill,
body.woocommerce-checkout .wc-block-checkout .wc-block-components-combobox:focus-within input:-webkit-autofill,
body.woocommerce-checkout .wc-block-components-address-form .wc-block-components-text-input.is-active input:-webkit-autofill,
body.woocommerce-checkout .wc-block-components-address-form .wc-block-components-text-input:focus-within input:-webkit-autofill {
	-webkit-text-fill-color: #000;
	box-shadow: 0 0 0 1000px #fff inset;
}

/* Country / state selects — light chrome; labels always dark */
body.woocommerce-checkout .wc-block-components-select select {
	width: 100% !important;
	max-width: none !important;
	font-family: var(--font-body);
	border: 1px solid var(--line);
	border-radius: 2px;
}
body.woocommerce-checkout .wc-block-components-select select:focus {
	border-color: var(--gold);
	outline: none;
}
body.woocommerce-checkout .wc-blocks-components-select__label,
body.woocommerce-checkout .wc-block-components-select__label {
	color: #000 !important;
	opacity: 1;
}

body.woocommerce-checkout .wc-block-checkout__sidebar {
	background-color: var(--charcoal);
	border-radius: var(--card-radius);
	padding: var(--section-padding);
}

body.woocommerce-checkout .wc-block-components-order-summary-item__quantity {
	color: #000 !important;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
	background-color: var(--gold) !important;
	color: var(--ink) !important;
	border-radius: var(--btn-radius) !important;
	font-family: var(--font-label) !important;
	font-weight: 600 !important;
	letter-spacing: 0.1em !important;
	text-transform: uppercase !important;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover {
	opacity: 0.85 !important;
}

body.woocommerce-checkout .wc-block-components-notice-banner { grid-column: 1 / -1; border-radius: var(--radius); }

body.theme-thankyou-page .woocommerce-order-overview {
	display: flex; flex-wrap: wrap; gap: 1.5rem; list-style: none; padding: 0; margin: 0 0 2rem;
}
body.theme-thankyou-page .woocommerce-order-overview li { border: none; padding: 0; }
body.theme-thankyou-page .woocommerce-order,
body.theme-thankyou-page .woocommerce-order-details,
body.theme-thankyou-page .woocommerce-customer-details { margin-bottom: 2rem; }
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 var(--line); }
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-order h2,
body.theme-thankyou-page .woocommerce-order-details__title { padding: 0 0 1rem 0; font-size: 1.75rem; color: var(--ivory); }
body.theme-thankyou-page { overflow-x: hidden; }
@media (min-width: 768px) {
	body.theme-thankyou-page .woocommerce-customer-details {
		display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start;
	}
}
body.theme-thankyou-page .woocommerce-customer-details address { min-width: 0; }

/* Cart / My Account block width parity (Section 13.7) */
body.woocommerce-cart .wp-block-woocommerce-cart,
body.woocommerce-account .woocommerce-MyAccount-content {
	max-width: 100%;
}

/* -------------------------------------------------------------------------
 * 24. 404 page
 * ---------------------------------------------------------------------- */
.theme-404 { display: flex; min-height: 70vh; align-items: center; justify-content: center; }
.theme-404-inner { text-align: center; }
.theme-404-eyebrow { justify-content: center; }
.theme-404-title { margin: 1.25rem 0; font-size: 3rem; color: var(--ivory); }
.theme-404-text { margin-bottom: 2rem; color: var(--muted-foreground); }

/* -------------------------------------------------------------------------
 * 25. Generic page shell
 * ---------------------------------------------------------------------- */
.theme-generic-page { padding: 4rem 0 6rem; }
.page-title { font-size: 2.5rem; margin-bottom: 2rem; color: var(--ivory); }

/* -------------------------------------------------------------------------
 * 26. Misc utility
 * ---------------------------------------------------------------------- */
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }
