/* =========================================================================
   Charlie Foxtrot Gear — theme.css
   ========================================================================= */

/* ---------- Design tokens (overridden live via wp_add_inline_style) ---- */
:root {
	--color-background: #f5f2ea;
	--color-foreground: #1a1c1e;
	--color-primary: #12d94d;
	--color-accent: #ff6a00;
	--color-secondary: #e6e3db;
	--color-muted: #dbd8d1;
	--color-muted-foreground: #5b6167;
	--color-border: #bdc2c7;
	--color-butter: #ebe8e0;
	--color-button-text: #131416;

	--font-display: 'Oxanium', sans-serif;
	--font-body: 'Inter', sans-serif;

	--radius: 0.5rem;
	--shadow-soft: 0 4px 20px -4px rgba(26, 28, 30, 0.10);
	--shadow-elevated: 0 12px 40px -10px rgba(26, 28, 30, 0.24);
	--transition-smooth: cubic-bezier(0.25, 0.4, 0.25, 1);

	--logo-height: 56px;
	--header-height: 80px;

	--btn-radius: 0;
	--btn-radius-md: calc(var(--radius) - 2px);
	--btn-height: 3rem;
	--admin-bar-height: 0px;
	--btn-padding: 0.9rem 2.25rem;
	--btn-font-size: 0.8125rem;
	--btn-font-weight: 500;
	--btn-letter-spacing: 0.22em;
	--btn-text-transform: uppercase;
	--btn-icon-padding: 0.6rem;
}

/* ---------- Reset & base ------------------------------------------------ */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { max-width: 100%; overflow-x: clip; }

body {
	background: var(--color-background);
	color: var(--color-foreground);
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	margin: 0;
}

h1, h2, h3, h4, h5, h6 { font-weight: inherit; font-size: inherit; margin: 0; text-wrap: balance; }
p { margin: 0; }
button { font-family: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

/* Pointer cursor on every clickable element. */
a[href], button, [role="button"], summary, label[for], select,
input[type="submit"], input[type="button"], input[type="reset"], input[type="checkbox"], input[type="radio"], input[type="range"], input[type="file"],
.theme-file-drop, [data-open-contact-modal], [data-open-discount-modal], [data-cart-open], [data-cart-close], [data-scroll-to], [data-cat-target],
.theme-product-card .theme-card-link, .wc-block-components-button, .wc-block-components-radio-control__option, .wc-block-components-checkbox__input {
	cursor: pointer;
}
button:disabled, button.disabled, [aria-disabled="true"] { cursor: not-allowed; }
#theme-cart-overlay, .theme-modal-overlay { cursor: default; }

/* WordPress admin bar: keep the sticky header and fixed drawers below it. */
body.admin-bar { --admin-bar-height: 32px; }
@media screen and (max-width: 782px) { body.admin-bar { --admin-bar-height: 46px; } }
@media screen and (max-width: 600px) { body.admin-bar { --admin-bar-height: 0px; } }

img:not(.cover-img):not(.hero-poster-img):not(.hero-video):not(.contact-bg-video):not(.category-tile-img):not(.about-image):not(.owner-image):not(.product-card-img):not(.theme-footer-logo) {
	max-width: 100%;
	height: auto;
	display: block;
}
.cover-img, .hero-poster-img, .hero-video, .contact-bg-video, .category-tile-img, .about-image, .owner-image, .product-card-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.container-wide { width: 100%; max-width: 80rem; margin: 0 auto; padding: 0 1.5rem; }
@media (min-width: 1024px) { .container-wide { padding: 0 2rem; } }

.section-padding { padding-top: 4rem; padding-bottom: 4rem; }
.section-padding-lg { padding-top: 5rem; padding-bottom: 5rem; }
.section-padding-xl { padding-top: 6rem; padding-bottom: 8rem; }
@media (min-width: 768px) {
	.section-padding { padding-top: 6rem; padding-bottom: 6rem; }
	.section-padding-lg { padding-top: 7rem; padding-bottom: 7rem; }
	.section-padding-xl { padding-top: 6rem; padding-bottom: 8rem; }
}
.scroll-mt { scroll-margin-top: 6rem; }

.text-accent-color { color: var(--color-primary); }
.section-eyebrow { display: block; margin-bottom: 0.75rem; font-family: var(--font-display); font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.18em; }
.section-eyebrow-accent { color: var(--color-accent); }
.section-subtitle { margin-top: 1rem; max-width: 40rem; font-size: 1rem; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
@media (min-width: 768px) { .section-subtitle { font-size: 1.125rem; } }

.theme-link-underline { position: relative; display: inline-block; background: none; border: none; padding: 0; font-family: var(--font-body); font-size: 0.875rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--color-foreground); }
.theme-link-underline::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--transition-smooth); }
.theme-link-underline:hover::after { transform: scaleX(1); }

.theme-btn-primary, .theme-btn-hero-primary, .theme-btn-outline, .theme-btn-hero-outline {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
	border: none; border-radius: var(--btn-radius);
	font-family: var(--font-body); font-size: var(--btn-font-size); font-weight: var(--btn-font-weight);
	letter-spacing: var(--btn-letter-spacing); text-transform: var(--btn-text-transform);
	padding: var(--btn-padding); cursor: pointer; transition: all 0.2s ease;
	text-transform: none;
}
.theme-btn-primary, .theme-btn-hero-primary { background: var(--color-primary); color: var(--color-button-text); }
.theme-btn-hero-primary { box-shadow: 0 10px 15px -3px color-mix(in srgb, var(--color-primary) 30%, transparent), 0 4px 6px -4px color-mix(in srgb, var(--color-primary) 30%, transparent); }
.theme-btn-primary:hover, .theme-btn-hero-primary:hover { opacity: 0.9; }
.theme-btn-outline { background: var(--color-background); border: 1px solid var(--color-border); color: var(--color-foreground); }
.theme-btn-outline:hover { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-button-text); }
.theme-btn-hero-primary, .theme-btn-hero-outline { text-transform: uppercase; letter-spacing: 0.28em; font-weight: 400; }
.contact-cta-row .theme-btn-hero-primary { box-shadow: none; }

/* Form + cart buttons mirror the design's shadcn <Button> (rounded-md). */
.theme-btn-form, .theme-cart-checkout-btn, .theme-cart-empty-btn, .theme-cart-drawer-empty .theme-btn-outline {
	border-radius: var(--btn-radius-md); text-transform: none; letter-spacing: normal; font-size: 1rem; font-weight: 500; gap: 0.5rem;
}
.theme-btn-form, .theme-cart-drawer-empty .theme-btn-outline { min-height: 2.5rem; padding: 0.5rem 1rem; }
.theme-btn-form:disabled { opacity: 0.5; pointer-events: none; }
.theme-btn-hero-outline { background: color-mix(in srgb, var(--color-background) 10%, transparent); color: var(--color-background); border: 1px solid color-mix(in srgb, var(--color-background) 40%, transparent); backdrop-filter: blur(4px); }
.theme-btn-hero-outline:hover { background: color-mix(in srgb, var(--color-background) 20%, transparent); }

/* ---------- Reveal animations (Section 2.1) ----------------------------- */
.reveal-up { opacity: 0; transform: translateY(32px); transition: opacity 0.7s var(--transition-smooth), transform 0.7s var(--transition-smooth); transition-delay: var(--reveal-delay, 0s); }
.reveal-up.is-visible { opacity: 1; transform: translateY(0); }
.reveal-item { opacity: 0; transform: translateY(16px) scale(0.98); transition: opacity 0.5s var(--transition-smooth), transform 0.5s var(--transition-smooth); }
.reveal-item.is-visible { opacity: 1; transform: translateY(0) scale(1); }

body.is-customizer .reveal-up,
body.is-customizer .reveal-item {
	opacity: 1 !important;
	transform: none !important;
}

@media (prefers-reduced-motion: reduce) {
	.reveal-up, .reveal-item { transition: none !important; opacity: 1 !important; transform: none !important; }
	.hero-marquee-track { animation: none !important; }
}

/* ---------- Announcement bar -------------------------------------------- */
.theme-announcement-bar { position: relative; background: var(--color-foreground); color: var(--color-background); }
.theme-announcement-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.5rem 2.5rem 0.5rem 1.5rem; }
.theme-announcement-text, .theme-announcement-badge { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; margin: 0; }
.theme-announcement-badge { display: none; align-items: center; gap: 0.5rem; color: var(--color-primary); }
@media (min-width: 640px) { .theme-announcement-badge { display: flex; color: var(--color-background); } .theme-announcement-badge svg { color: var(--color-primary); fill: var(--color-primary); } }
.theme-announcement-dismiss { position: absolute; right: 0.75rem; top: 50%; transform: translateY(-50%); background: none; border: none; color: inherit; opacity: 0.7; padding: 0.25rem; }
.theme-announcement-dismiss:hover { opacity: 1; }
.theme-announcement-bar.is-dismissed { display: none; }

/* ---------- Header ------------------------------------------------------ */
.site-header { position: sticky; top: var(--admin-bar-height); left: 0; right: 0; z-index: 50; background: transparent; border-bottom: 1px solid transparent; transition: background-color 0.3s ease, border-color 0.3s ease; }
.site-header.is-solid, .site-header.is-scrolled { background: color-mix(in srgb, var(--color-background) 95%, transparent); backdrop-filter: blur(6px); border-bottom-color: var(--color-border); }
.site-nav { display: flex; align-items: center; justify-content: space-between; height: 5rem; }
.site-brand { display: flex; align-items: center; min-width: 0; gap: 0.5rem; }
.site-logo-img { height: var(--logo-height) !important; width: auto !important; max-width: 160px; object-fit: contain; display: block; }
.site-logo-text { font-family: var(--font-display); font-size: 1.25rem; text-transform: uppercase; letter-spacing: 0.05em; line-height: var(--logo-height); display: block; }
.site-brand-name { font-family: var(--font-display); font-size: 1rem; text-transform: uppercase; }

.site-nav-links { display: none; align-items: center; gap: 1.75rem; margin-left: auto; margin-right: 1.75rem; }
@media (min-width: 1024px) { .site-nav-links { display: flex; } }
.theme-nav-list, .theme-mobile-nav-list, .theme-footer-nav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.75rem; }
.theme-nav-link, .theme-nav-list a { font-size: 0.875rem; font-family: var(--font-body); letter-spacing: 0.24em; text-transform: uppercase; }
.theme-nav-list a, .theme-nav-link { position: relative; display: inline-block; background: none; border: none; padding: 0; color: var(--color-foreground); }
.theme-nav-list a::after, .theme-nav-link::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--transition-smooth); }
.theme-nav-list a:hover::after, .theme-nav-link:hover::after { transform: scaleX(1); }

.site-nav-actions { display: flex; align-items: center; gap: 0.5rem; }
.site-icon-btn { background: none; border: none; padding: 0.5rem; display: inline-flex; color: var(--color-foreground); transition: opacity 0.2s ease; position: relative; }
.site-icon-btn:hover { opacity: 0.6; }
.theme-search-btn, .theme-account-btn { display: none; }
@media (min-width: 768px) { .theme-search-btn, .theme-account-btn { display: inline-flex; } }
.theme-account-btn { color: color-mix(in srgb, var(--color-foreground) 62%, transparent); transition: color 0.2s ease; }
.theme-account-btn:hover { opacity: 1; color: var(--color-primary); }
.theme-cart-count { position: absolute; top: -2px; right: -2px; min-width: 1.25rem; height: 1.25rem; padding: 0 0.25rem; display: flex; align-items: center; justify-content: center; font-size: 0.6875rem; font-weight: 600; background: var(--color-primary); color: var(--color-button-text); border-radius: 999px; }
.theme-cart-count:empty { display: none; }
.theme-mobile-toggle { display: inline-flex; }
@media (min-width: 1024px) { .theme-mobile-toggle { display: none; } }
.theme-mobile-toggle .icon-close { display: none; }
.theme-mobile-toggle[aria-expanded="true"] .icon-menu { display: none; }
.theme-mobile-toggle[aria-expanded="true"] .icon-close { display: inline-flex; }

.theme-mobile-menu { display: grid; grid-template-rows: 0fr; overflow: hidden; border-top: 0px solid var(--color-border); transition: grid-template-rows 0.35s var(--transition-smooth), border-color 0.2s; }
.theme-mobile-menu.is-open { grid-template-rows: 1fr; border-top-width: 1px; }
.theme-mobile-menu > * { min-height: 0; overflow: hidden; }
@media (min-width: 1024px) { .theme-mobile-menu { display: none; } }
.theme-mobile-nav-list { flex-direction: column; gap: 1rem; padding: 1rem 0; }
.theme-mobile-nav-list a { position: static; display: block; padding: 0.5rem 0; font-family: var(--font-body); font-size: 1rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--color-foreground); transition: color 0.2s ease; }
.theme-mobile-nav-list a::after { display: none; }
.theme-mobile-nav-list a:hover { color: var(--color-primary); }

/* ---------- Hero --------------------------------------------------------- */
.hero-section { background: var(--color-background); }
.hero-media-wrap { position: relative; width: 100%; min-height: 100vh; overflow: hidden; background: var(--color-foreground); }
.hero-video { opacity: 0.85; }
.hero-overlay-dark { position: absolute; inset: 0; background: color-mix(in srgb, var(--color-foreground) 20%, transparent); }
.hero-overlay-gradient-top { position: absolute; inset: 0; background: linear-gradient(to top, color-mix(in srgb, var(--color-foreground) 85%, transparent), color-mix(in srgb, var(--color-foreground) 30%, transparent) 60%, transparent); }
.hero-overlay-gradient-side { position: absolute; inset: 0; background: linear-gradient(to right, color-mix(in srgb, var(--color-foreground) 65%, transparent), color-mix(in srgb, var(--color-foreground) 20%, transparent) 60%, transparent); }

.hero-content { position: absolute; inset-inline: 0; bottom: 4.5rem; display: flex; align-items: flex-end; padding-bottom: 1.5rem; }
@media (min-width: 768px) { .hero-content { bottom: 5.5rem; padding-bottom: 4rem; } }
.hero-content-inner { width: 100%; }
.hero-content-grid { display: grid; grid-template-columns: 1fr; gap: 0.75rem; align-items: end; }
@media (min-width: 1024px) { .hero-content-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }

.hero-eyebrow { display: block; font-family: var(--font-display); font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--color-primary); margin-bottom: 0.25rem; }
@media (min-width: 768px) { .hero-eyebrow { font-size: 14px; margin-bottom: 1.25rem; } }
.hero-title { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.5rem, 7vw, 5rem); line-height: 0.95; text-transform: uppercase; letter-spacing: 0.02em; color: var(--color-background); }

.hero-copy-col { display: flex; flex-direction: column; align-items: flex-start; }
@media (min-width: 1024px) { .hero-copy-col { align-items: flex-end; } }
.hero-subtitle { color: color-mix(in srgb, var(--color-background) 85%, transparent); font-size: 0.875rem; line-height: 1.6; margin-bottom: 0.75rem; max-width: 28rem; }
@media (min-width: 768px) { .hero-subtitle { font-size: 1.125rem; margin-bottom: 2rem; } }
@media (min-width: 1024px) { .hero-subtitle { text-align: right; } }
.hero-cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
@media (min-width: 1024px) { .hero-cta-row { justify-content: flex-end; } }
.theme-btn-hero-primary, .theme-btn-hero-outline { padding: 0.5rem 1rem; font-size: 11px; }
@media (min-width: 768px) { .theme-btn-hero-primary, .theme-btn-hero-outline { padding: 1.25rem 2.5rem; font-size: 13px; } }
.contact-cta-row .theme-btn-hero-primary { padding: 1rem 2.25rem; font-size: 13px; }

.hero-marquee-wrap { position: absolute; inset-inline: 0; bottom: 0; border-top: 1px solid color-mix(in srgb, var(--color-background) 20%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--color-background) 20%, transparent); background: color-mix(in srgb, var(--color-foreground) 80%, transparent); backdrop-filter: blur(4px); overflow: hidden; }
.hero-marquee-track { display: flex; padding: 0.75rem 0; }
.hero-marquee-set { display: flex; flex-shrink: 0; align-items: center; animation: theme-marquee 26s linear infinite; }
.hero-marquee-tag { display: inline-flex; align-items: center; gap: 1.25rem; margin: 0 1.25rem; font-size: 13px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--color-background); white-space: nowrap; }
@media (min-width: 768px) { .hero-marquee-tag { font-size: 15px; } }
.hero-marquee-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--color-primary); }
@keyframes theme-marquee { from { transform: translateX(0); } to { transform: translateX(-100%); } }

/* ---------- Categories --------------------------------------------------- */
.section-heading-block { max-width: 42rem; margin-bottom: 2.5rem; }
.categories-title { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.75rem, 4vw, 3rem); line-height: 1.1; }
.categories-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .categories-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .categories-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.category-tile { position: relative; display: block; min-height: 340px; overflow: hidden; border: 1px solid var(--color-border); background: var(--color-foreground); text-align: left; box-shadow: var(--shadow-soft); text-decoration: none; width: 100%; padding: 0; }
.category-tile-img { opacity: 0.65; transition: transform 0.5s ease; }
.category-tile:hover .category-tile-img { transform: scale(1.05); }
.category-tile-gradient { position: absolute; inset: 0; background: linear-gradient(to top, var(--color-foreground), color-mix(in srgb, var(--color-foreground) 55%, transparent), transparent); }
.category-tile-content { position: absolute; inset-inline: 0; bottom: 0; padding: 1.25rem; }
.category-tile-icon { display: inline-flex; align-items: center; justify-content: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--color-primary); color: var(--color-button-text); margin-bottom: 0.75rem; }
.category-tile-title { font-family: var(--font-display); font-weight: 400; font-size: 1.25rem; text-transform: uppercase; color: var(--color-background); }
.category-tile-desc { margin-top: 0.5rem; font-size: 0.875rem; line-height: 1.5; color: color-mix(in srgb, var(--color-background) 75%, transparent); }

/* ---------- Shop ---------------------------------------------------------- */
.shop-header { text-align: center; margin-bottom: 3rem; }
.shop-heading { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.75rem, 4vw, 3rem); margin-bottom: 2.5rem; }
.shop-search-wrap { position: relative; max-width: 28rem; margin: 0 auto 2rem; }
.shop-search-icon { position: absolute; left: 0; top: 50%; transform: translateY(-50%); color: color-mix(in srgb, var(--color-foreground) 55%, transparent); }
.shop-search-input { width: 100%; padding: 0.5rem 0 0.5rem 1.75rem; background: transparent; border: none; border-bottom: 1px solid var(--color-border); border-radius: 0; outline: none; transition: border-color 0.2s; }
.shop-search-input:focus { border-color: var(--color-foreground); }
.shop-category-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-bottom: 1rem; }
.shop-cat-pill { padding: 0.5rem 1.25rem; font-size: 0.875rem; letter-spacing: 0.2em; text-transform: uppercase; border-radius: 999px; border: 1px solid var(--color-border); background: transparent; color: var(--color-foreground); transition: all 0.3s ease; }
.shop-cat-pill:hover { border-color: var(--color-primary); color: var(--color-primary); }
.shop-cat-pill.is-active { background: var(--color-primary); color: var(--color-button-text); border-color: var(--color-primary); }
.shop-price-filter-wrap { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.shop-price-filter-toggle { display: inline-flex; align-items: center; gap: 0.5rem; background: none; border: none; padding: 0.5rem 1rem; font-size: 0.875rem; letter-spacing: 0.2em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.shop-price-filter-toggle:hover { color: var(--color-foreground); }
.shop-price-filter-toggle svg { transition: transform 0.3s; }
.shop-price-filter-toggle.is-open svg { transform: rotate(180deg); }
.shop-price-filter-panel { width: 100%; max-width: 22rem; overflow: hidden; height: 0; opacity: 0; transition: height 0.3s var(--transition-smooth), opacity 0.3s var(--transition-smooth); }
.shop-price-filter-panel.is-open { height: auto; opacity: 1; }
.price-range-labels { display: flex; justify-content: space-between; font-size: 1rem; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); margin-top: 0.75rem; }

.price-range-wrapper { position: relative; height: 1.5rem; margin-top: 0.5rem; }
.range-track-bg, .range-track-fill { position: absolute; height: 4px; top: 50%; transform: translateY(-50%); pointer-events: none; border-radius: 2px; }
.range-track-bg { left: 0; right: 0; background: var(--color-border); }
.range-track-fill { background: var(--color-primary); }
.range-input { position: absolute; left: 0; top: 0; width: 100%; height: 100%; margin: 0; -webkit-appearance: none; appearance: none; background: transparent; pointer-events: none; }
.range-input::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 16px; height: 16px; border-radius: 50%; background: var(--color-background); border: 2px solid var(--color-primary); cursor: pointer; }
.range-input::-moz-range-thumb { pointer-events: auto; width: 16px; height: 16px; border-radius: 50%; background: var(--color-background); border: 2px solid var(--color-primary); cursor: pointer; }
.range-input--max { z-index: 3; }
.range-input--min { z-index: 4; }

.theme-product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; align-items: stretch; }
@media (min-width: 768px) { .theme-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; } }
@media (min-width: 1024px) { .theme-product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.theme-product-card-wrap { display: flex; height: 100%; }
.theme-product-card-wrap[hidden] { display: none; }
.theme-product-card { position: relative; display: flex; flex-direction: column; height: 100%; width: 100%; background: var(--color-background); border: 1px solid var(--color-border); box-shadow: var(--shadow-soft); transition: box-shadow 0.4s ease, border-color 0.4s ease, transform 0.3s ease; }
.theme-product-card:hover { box-shadow: var(--shadow-elevated); border-color: var(--color-primary); transform: translateY(-4px); }
.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__quick-add, .theme-product-card__image-wrapper { pointer-events: auto; }

.theme-product-card__image-wrapper { position: relative; aspect-ratio: 4/5; overflow: hidden; padding: 1rem; display: flex; align-items: center; justify-content: center; background: color-mix(in srgb, var(--color-secondary) 40%, transparent); }
@media (min-width: 768px) { .theme-product-card__image-wrapper { padding: 1.5rem; } }
.theme-product-card-img { object-fit: contain !important; padding: inherit; transition: transform 0.7s var(--transition-smooth); }
.theme-product-card:hover .theme-product-card-img { transform: scale(1.05); }
.theme-product-card-accent-border { position: absolute; inset: 0.75rem; border: 1px solid color-mix(in srgb, var(--color-primary) 20%, transparent); pointer-events: none; transition: inset 0.4s ease, border-color 0.4s ease; }
.theme-product-card:hover .theme-product-card-accent-border { inset: 0.5rem; border-color: color-mix(in srgb, var(--color-primary) 50%, transparent); }
.theme-product-badge-soldout { position: absolute; top: 1rem; left: 1rem; padding: 0.4rem 0.75rem; font-size: 0.8125rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.18em; background: var(--color-foreground); color: var(--color-background); border-radius: 999px; z-index: 3; }
.theme-product-card__quick-add.add_to_cart_button.ajax_add_to_cart {
	position: absolute; bottom: 1rem; right: 1rem; z-index: 3;
	width: 2.5rem; height: 2.5rem; min-height: unset !important; padding: var(--btn-icon-padding) !important;
	border-radius: 50% !important; display: inline-flex !important; align-items: center; justify-content: center;
	background: var(--color-background) !important; color: var(--color-foreground) !important;
	box-shadow: var(--shadow-soft); opacity: 0; transition: opacity 0.3s ease, transform 0.2s ease;
}
.theme-product-card:hover .theme-product-card__quick-add.add_to_cart_button.ajax_add_to_cart { opacity: 1; }
@media (max-width: 767px) { .theme-product-card__quick-add.add_to_cart_button.ajax_add_to_cart { opacity: 1; } }
.theme-product-card__quick-add:hover { transform: scale(1.08); }

.theme-product-card__info { flex: 1; display: flex; flex-direction: column; padding: 1.5rem; text-align: center; }
@media (min-width: 768px) { .theme-product-card__info { padding: 2rem; } }
.theme-product-card-title { flex: 1; display: flex; align-items: flex-start; justify-content: center; font-family: var(--font-body); font-size: 1.125rem; text-transform: uppercase; letter-spacing: -0.01em; line-height: 1.3; transition: color 0.3s ease; }
.theme-product-card:hover .theme-product-card-title { color: var(--color-primary); }
.theme-product-card-price { margin-top: 0.5rem; font-size: 1rem; font-weight: 600; color: var(--color-primary); }

.shop-empty-message { text-align: center; padding: 5rem 0; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.shop-show-all-wrap { text-align: center; margin-top: 3rem; }

/* ---------- CTA band ------------------------------------------------------ */
.cta-band-section { background: var(--color-foreground); color: var(--color-background); }
.cta-band-inner { display: grid; gap: 2rem; padding-block: 4rem; align-items: center; }
@media (min-width: 768px) { .cta-band-inner { grid-template-columns: 1fr auto; padding-block: 5rem; } }
.cta-band__title { max-width: 48rem; font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.75rem, 4vw, 3rem); color: var(--color-background); }
.cta-band-subtitle { margin-top: 1rem; max-width: 40rem; color: color-mix(in srgb, var(--color-background) 70%, transparent); font-size: 1rem; }
@media (min-width: 768px) { .cta-band-subtitle { font-size: 1.125rem; } }
.cta-band-button { text-transform: uppercase; font-size: 0.875rem; font-weight: 600; letter-spacing: 0.12em; padding: 0.75rem 1.75rem; min-height: 3rem; }

/* ---------- Quality promise ----------------------------------------------- */
.quality-section { background: var(--color-butter); }
.quality-inner { display: grid; gap: 2rem; padding-block: 4rem; align-items: center; }
@media (min-width: 768px) { .quality-inner { grid-template-columns: auto 1fr; gap: 3rem; padding-block: 5rem; } }
.quality-icon-badge { display: flex; align-items: center; justify-content: center; width: 4rem; height: 4rem; border-radius: 50%; border: 1px solid var(--color-primary); color: var(--color-primary); }
.about-section-heading { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.75rem, 4vw, 3rem); line-height: 1.1; }
.quality-subtitle { margin-top: 1rem; max-width: 48rem; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); font-size: 1rem; }
@media (min-width: 768px) { .quality-subtitle { font-size: 1.125rem; } }

/* ---------- About / Owner -------------------------------------------------- */
.about-grid { display: grid; grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 1024px) { .about-grid { grid-template-columns: 1fr 1fr; } }
.about-image-col { position: relative; min-height: 380px; }
@media (min-width: 768px) { .about-image-col { min-height: 520px; } }
@media (min-width: 1024px) { .about-image-col { min-height: 620px; } }
.about-copy-col { display: flex; align-items: center; background: var(--color-background); padding: 4rem 1.5rem; }
@media (min-width: 768px) { .about-copy-col { padding: 6rem 3.5rem; } }
@media (min-width: 1280px) { .about-copy-col { padding: 6rem 6rem; } }
.about-copy-inner { max-width: 36rem; }
.about-eyebrow { display: block; font-family: var(--font-display); font-size: 0.875rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--color-primary); margin-bottom: 1.25rem; }
.about-paragraph { color: color-mix(in srgb, var(--color-foreground) 80%, transparent); font-size: 1rem; line-height: 1.7; margin-bottom: 1.25rem; }
@media (min-width: 768px) { .about-paragraph { font-size: 1.125rem; } }
.about-button { margin-top: 0.5rem; }

.owner-section { background: var(--color-butter); }
.owner-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; align-items: center; }
@media (min-width: 1024px) {
	.owner-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4rem; }
	.owner-image-col { grid-column: span 5 / span 5; }
	.owner-copy-col { grid-column: span 7 / span 7; }
}
.owner-image-col { position: relative; }
img.owner-image { position: static; inset: auto; display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; max-height: 560px; object-fit: cover; }
.owner-copy-col .about-eyebrow { margin-bottom: 1rem; }
.owner-copy-col .about-section-heading { line-height: 1.05; letter-spacing: 0.025em; margin-bottom: 0.75rem; }
.owner-subtitle { font-family: var(--font-body); font-size: 0.875rem; line-height: 1.6; letter-spacing: 0.28em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 62%, transparent); margin-bottom: 1.75rem; }
.owner-copy-col .about-paragraph { line-height: 1.625; margin-bottom: 1.25rem; }
.owner-copy-col .about-paragraph:last-of-type { margin-bottom: 2.5rem; }
.owner-copy-col .about-button { margin-top: 0; }

/* ---------- FAQ ------------------------------------------------------------ */
.faq-section { background: var(--color-butter); }
.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-sidebar { position: static; }
@media (min-width: 1024px) { .faq-sidebar { position: sticky; top: calc(6rem + var(--admin-bar-height)); align-self: start; } }
.faq-sidebar-text { margin: 1.5rem 0; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); font-size: 1rem; }
@media (min-width: 768px) { .faq-sidebar-text { font-size: 1.125rem; } }
.faq-discount-btn { display: block; margin-top: 1rem; color: var(--color-accent); }
.faq-list { border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-item:last-child { border-bottom: none; }
.faq-question { width: 100%; display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem; padding: 1.5rem 0; text-align: left; background: none; border: none; }
.faq-question span:first-child { font-size: 1.125rem; text-transform: uppercase; letter-spacing: 0.02em; }
@media (min-width: 768px) { .faq-question span:first-child { font-size: 1.25rem; } }
.faq-icon { margin-top: 0.35rem; color: var(--color-primary); flex-shrink: 0; }
.faq-icon .icon-minus { display: none; }
.faq-question[aria-expanded="true"] .icon-plus { display: none; }
.faq-question[aria-expanded="true"] .icon-minus { display: inline-flex; }
.faq-answer { overflow: hidden; transition: height 0.35s var(--transition-smooth), opacity 0.35s var(--transition-smooth); }
.faq-answer p { padding-bottom: 1.5rem; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); font-size: 1rem; line-height: 1.7; }
@media (min-width: 768px) { .faq-answer p { font-size: 1.125rem; } }

/* ---------- Contact / Final CTA -------------------------------------------- */
.contact-section { position: relative; background: var(--color-foreground); overflow: hidden; }
.contact-overlay-dark { position: absolute; inset: 0; background: color-mix(in srgb, var(--color-foreground) 55%, transparent); }
.contact-overlay-gradient { position: absolute; inset: 0; background: linear-gradient(135deg, color-mix(in srgb, var(--color-foreground) 82%, transparent), color-mix(in srgb, var(--color-foreground) 62%, transparent), color-mix(in srgb, var(--color-foreground) 45%, transparent)); }
.contact-inner { position: relative; }
.contact-copy { max-width: 42rem; margin: 0 auto; text-align: center; }
.contact-eyebrow { display: block; font-family: var(--font-display); font-size: 0.875rem; font-weight: 600; letter-spacing: 0.32em; text-transform: uppercase; color: var(--color-primary); margin-bottom: 1rem; }
.contact-title { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.75rem, 4vw, 3rem); color: var(--color-background); margin-bottom: 1.5rem; }
.contact-subtitle { color: color-mix(in srgb, var(--color-background) 75%, transparent); font-size: 1rem; line-height: 1.7; max-width: 28rem; margin: 0 auto 2.5rem; }
@media (min-width: 768px) { .contact-subtitle { font-size: 1.125rem; } }
.contact-cta-row { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.25rem; }
@media (min-width: 640px) { .contact-cta-row { flex-direction: row; } }
.contact-email-link { color: var(--color-background); font-size: 0.875rem; letter-spacing: 0.22em; }

.contact-form-panel { margin-top: 3.5rem; max-width: 48rem; margin-inline: auto; border: 1px solid color-mix(in srgb, var(--color-background) 20%, transparent); background: color-mix(in srgb, var(--color-foreground) 70%, transparent); backdrop-filter: blur(4px); padding: 1.5rem; }
@media (min-width: 768px) { .contact-form-panel { padding: 2.5rem; } }
.contact-form-heading { font-family: var(--font-body); text-transform: uppercase; letter-spacing: 0.02em; color: var(--color-background); margin-bottom: 0.5rem; font-size: 1.125rem; }
.contact-form-subtext { color: color-mix(in srgb, var(--color-background) 70%, transparent); font-size: 1rem; margin-bottom: 1.75rem; }

/* ---------- Forms (shared: custom order, discount, footer newsletter) ----- */
.theme-form-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .theme-form-grid { grid-template-columns: 1fr 1fr; } }
.theme-form-field { margin-bottom: 1rem; }
.theme-form-field label, .theme-form-label { display: block; margin-bottom: 0.375rem; font-size: 1rem; font-weight: 500; }
.theme-form-field input, .theme-form-field select, .theme-form-field textarea { width: 100%; padding: 0.6rem 0.75rem; border: 1px solid var(--color-border); border-radius: var(--radius); background: var(--color-background); font-size: 1rem; }
.theme-form-field input::placeholder, .theme-form-field textarea::placeholder { color: color-mix(in srgb, var(--color-foreground) 45%, transparent); }
.theme-form-field textarea { resize: none; }
.theme-form-field input:focus, .theme-form-field select:focus, .theme-form-field textarea:focus { outline: none; box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-primary) 50%, transparent); }
.theme-file-drop { display: flex; align-items: center; gap: 0.75rem; padding: 0.6rem 0.75rem; border: 1px dashed var(--color-border); border-radius: var(--radius); cursor: pointer; transition: border-color 0.2s; }
.theme-file-drop:hover { border-color: var(--color-primary); }
.theme-file-drop input[type="file"] { display: none; }
.theme-file-drop-label { font-size: 1rem; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.theme-form-help { font-size: 0.8125rem; margin-top: 0.25rem; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); }
.theme-form-actions { display: flex; justify-content: flex-end; }
.theme-form-success { text-align: center; padding: 2rem 0; }
.theme-form-success-icon { display: flex; align-items: center; justify-content: center; width: 3.5rem; height: 3.5rem; margin: 0 auto 1rem; border-radius: 50%; background: var(--color-primary); color: var(--color-button-text); }
.theme-form-error { color: #ca2121; font-size: 0.9rem; margin-top: 0.75rem; }
.theme-form-error[hidden], .theme-form-success[hidden] { display: none; }
.theme-form-field .is-invalid, .theme-file-drop.is-invalid { border-color: #ca2121 !important; }
.theme-file-drop svg { flex-shrink: 0; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.contact-form-panel .theme-file-drop svg { color: color-mix(in srgb, var(--color-background) 70%, transparent); }
.theme-file-drop-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.theme-form-success h3 { font-family: var(--font-body); text-transform: uppercase; letter-spacing: 0.025em; margin-bottom: 0.5rem; font-size: clamp(1.25rem, 2vw, 1.5rem); }
.theme-form-success-message { color: color-mix(in srgb, var(--color-foreground) 62%, transparent); }

.contact-form-panel .theme-form-field label,
.contact-form-panel .theme-form-label,
.contact-form-panel .theme-form-help,
.contact-form-panel .theme-file-drop-label { color: color-mix(in srgb, var(--color-background) 85%, transparent); }
.contact-form-panel .theme-form-field input,
.contact-form-panel .theme-form-field select,
.contact-form-panel .theme-form-field textarea { background: color-mix(in srgb, var(--color-background) 10%, transparent); border-color: color-mix(in srgb, var(--color-background) 30%, transparent); color: var(--color-background); }
.contact-form-panel .theme-file-drop { border-color: color-mix(in srgb, var(--color-background) 40%, transparent); }
.contact-form-panel .theme-form-success h3, .contact-form-panel .theme-form-success p { color: var(--color-background); }

/* ---------- Modals (contact / discount) ------------------------------------ */
.theme-modal-overlay { position: fixed; inset: 0; z-index: 90; background: rgba(0,0,0,0.6); opacity: 0; pointer-events: none; transition: opacity 0.25s ease; }
.theme-modal { position: fixed; top: calc(50% + var(--admin-bar-height) / 2); left: 50%; z-index: 91; width: calc(100% - 2rem); max-width: 36rem; max-height: calc(90vh - var(--admin-bar-height)); overflow-y: auto; background: var(--color-background); border-radius: var(--radius); box-shadow: var(--shadow-elevated); padding: 1.5rem; transform: translate(-50%, -48%) scale(0.96); opacity: 0; pointer-events: none; transition: opacity 0.2s ease, transform 0.2s ease; }
@media (min-width: 640px) { .theme-modal { padding: 2rem; } }
body.theme-modal-open .theme-modal-overlay#theme-contact-modal-overlay.is-active,
body.theme-modal-open .theme-modal-overlay#theme-discount-modal-overlay.is-active { opacity: 1; pointer-events: auto; }
.theme-modal.is-open { opacity: 1; pointer-events: auto; transform: translate(-50%, -50%) scale(1); }
.theme-modal-close { position: absolute; top: 1rem; right: 1rem; background: none; border: none; opacity: 0.7; padding: 0.25rem; }
.theme-modal-close:hover { opacity: 1; }
.theme-modal-title { font-family: var(--font-display); font-size: 1.75rem; letter-spacing: 0.02em; text-transform: uppercase; margin-bottom: 0.5rem; }
.theme-modal-description { color: color-mix(in srgb, var(--color-foreground) 60%, transparent); margin-bottom: 1rem; }
.theme-modal-contact-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; font-size: 1rem; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); margin-bottom: 1.5rem; }
.theme-modal-contact-item { display: inline-flex; align-items: center; gap: 0.5rem; }
.theme-modal-contact-row a { transition: color 0.2s; }
.theme-modal-contact-row a:hover { color: var(--color-foreground); }
body:not(.theme-modal-open) .theme-modal-overlay,
body:not(.theme-modal-open) .theme-modal { display: block; }

/* ---------- Footer ---------------------------------------------------------- */
.site-footer { background: var(--color-foreground); color: var(--color-background); }
.theme-footer-inner { padding-top: 4rem; padding-bottom: 2.5rem; }
@media (min-width: 768px) { .theme-footer-inner { padding-top: 5rem; padding-bottom: 3rem; } }
.theme-footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 640px) { .theme-footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .theme-footer-grid { grid-template-columns: repeat(5, minmax(0,1fr)); gap: 2rem; } }
.theme-footer-brand { }
@media (min-width: 640px) { .theme-footer-brand { grid-column: span 2; } }
@media (min-width: 1024px) { .theme-footer-brand { grid-column: span 1; } }
.theme-footer-logo { width: 100%; max-width: 15rem; height: auto; margin-bottom: 1.25rem; display: block; }
.theme-footer-tagline { color: color-mix(in srgb, var(--color-background) 70%, transparent); font-size: 1rem; line-height: 1.6; margin-bottom: 1.5rem; max-width: 20rem; }
.theme-footer-social { display: flex; gap: 1rem; }
.theme-footer-social a { color: color-mix(in srgb, var(--color-background) 70%, transparent); transition: color 0.2s; }
.theme-footer-social a:hover { color: var(--color-primary); }
.theme-footer-col h4 { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.02em; color: var(--color-primary); margin-bottom: 1.25rem; font-size: 1rem; }
.theme-footer-nav-list, .theme-footer-category-list, .theme-footer-contact-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.75rem; color: color-mix(in srgb, var(--color-background) 70%, transparent); font-size: 1rem; }
.theme-footer-nav-list a, .theme-footer-category-list a { color: inherit; background: none; border: none; text-align: left; transition: color 0.2s; }
.theme-footer-nav-list a:hover, .theme-footer-category-list a:hover { color: var(--color-primary); }
.theme-footer-contact-list { gap: 1rem; }
.theme-footer-contact-list li, .theme-footer-contact-list a { display: flex; align-items: flex-start; gap: 0.75rem; }
.theme-footer-contact-list a { color: inherit; transition: color 0.2s; }
.theme-footer-contact-list a:hover { color: var(--color-background); }
.theme-footer-contact-icon { flex-shrink: 0; margin-top: 0.25rem; color: var(--color-primary); }
.theme-footer-nav-list a.theme-footer-discount-link { color: var(--color-accent); }
.theme-footer-nav-list a.theme-footer-discount-link:hover { color: var(--color-primary); }
@media (min-width: 640px) { .theme-footer-newsletter { grid-column: span 2; } }
@media (min-width: 1024px) { .theme-footer-newsletter { grid-column: span 1; } }
.theme-newsletter-form { display: flex; flex-direction: column; gap: 0.75rem; }
.theme-newsletter-input { width: 100%; background: transparent; border: none; border-bottom: 1px solid color-mix(in srgb, var(--color-background) 30%, transparent); padding: 0.75rem 0; color: var(--color-background); }
.theme-newsletter-input::placeholder { color: color-mix(in srgb, var(--color-background) 45%, transparent); }
.theme-newsletter-input:focus { outline: none; border-color: var(--color-primary); }
.theme-newsletter-submit { width: 100%; min-height: 3rem; font-size: 0.875rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.theme-newsletter-message { font-size: 0.8125rem; color: color-mix(in srgb, var(--color-background) 70%, transparent); }
.theme-footer-bottom { margin-top: 4rem; padding-top: 2rem; border-top: 1px solid color-mix(in srgb, var(--color-background) 10%, transparent); display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 1rem; text-align: center; }
@media (min-width: 768px) { .theme-footer-bottom { flex-direction: row; text-align: left; } }
.theme-footer-bottom p { color: color-mix(in srgb, var(--color-background) 50%, transparent); font-size: 0.875rem; }
.theme-footer-bottom a { color: inherit; }
.theme-footer-bottom a:hover { color: var(--color-primary); }
.theme-footer-bottom-links { display: flex; align-items: center; gap: 1.5rem; }
.theme-footer-bottom-links a { color: color-mix(in srgb, var(--color-background) 50%, transparent); font-size: 0.875rem; }
.theme-footer-bottom-links a:hover { color: var(--color-background); }

/* ---------- Cart drawer + overlay -------------------------------------------- */
#theme-cart-overlay { position: fixed; inset: 0; z-index: 95; background: color-mix(in srgb, var(--color-foreground) 20%, transparent); opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
body.cart-open #theme-cart-overlay { opacity: 1; pointer-events: auto; }
#theme-cart-drawer { position: fixed; top: var(--admin-bar-height); right: 0; height: calc(100% - var(--admin-bar-height)); width: 100%; max-width: 26rem; background: var(--color-background); z-index: 96; box-shadow: var(--shadow-elevated); display: flex; flex-direction: column; transform: translateX(100%); transition: transform 0.35s var(--transition-smooth); }
body.cart-open #theme-cart-drawer { transform: translateX(0); }
#theme-cart-drawer.is-updating { opacity: 0.6; pointer-events: none; }
.theme-cart-drawer-header { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem; border-bottom: 1px solid var(--color-border); }
.theme-cart-drawer-title { font-family: var(--font-display); font-size: 1.25rem; }
.theme-cart-close { background: none; border: none; padding: 0.25rem; opacity: 0.7; }
.theme-cart-close:hover { opacity: 1; }
.theme-cart-drawer-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem; text-align: center; gap: 1rem; }
.theme-cart-drawer-empty svg { color: color-mix(in srgb, var(--color-foreground) 45%, transparent); }
.theme-cart-drawer-empty p { color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.theme-cart-drawer-items { flex: 1; overflow: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.theme-cart-item { display: flex; gap: 1rem; }
.theme-cart-item-image { width: 5rem; height: 6rem; flex-shrink: 0; background: var(--color-secondary); overflow: hidden; padding: 0.5rem; display: block; }
.theme-cart-item-image img { width: 100%; height: 100%; object-fit: contain; display: block; }
.theme-cart-item-details { flex: 1; min-width: 0; }
.theme-cart-item-name { display: block; font-weight: 500; margin-bottom: 0.125rem; }
.theme-cart-item-name:hover { opacity: 0.7; }
.theme-cart-item-price { color: color-mix(in srgb, var(--color-foreground) 60%, transparent); font-size: 1rem; }
.theme-cart-item-variation { font-size: 0.8125rem; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); margin-top: 0.25rem; }
.theme-cart-item-controls { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.75rem; }
.theme-cart-qty-btn { background: none; border: none; padding: 0.25rem; border-radius: var(--radius); }
.theme-cart-qty-btn:hover { background: var(--color-secondary); }
.theme-cart-qty-value { min-width: 1.25rem; text-align: center; }
.theme-cart-remove-btn { margin-left: auto; background: none; border: none; font-size: 1rem; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.theme-cart-remove-btn:hover { color: var(--color-foreground); }
.theme-cart-drawer-footer { padding: 1.5rem; border-top: 1px solid var(--color-border); display: flex; flex-direction: column; gap: 1rem; }
.theme-cart-subtotal-row { display: flex; justify-content: space-between; font-size: 1rem; }
.theme-cart-subtotal-row .theme-cart-subtotal-value { font-weight: 600; }
.theme-cart-checkout-btn { width: 100%; min-height: 2.75rem; padding: 0.5rem 2rem; }
.theme-cart-empty-btn { width: 100%; min-height: 2.25rem; padding: 0.25rem 0.75rem; }

/* ---------- Product accordions (single product) ----------------------------- */
.theme-product-accordions { margin-top: 2.5rem; border-top: 1px solid var(--color-border); }
.theme-accordion { border-bottom: 1px solid var(--color-border); }
.theme-accordion-toggle { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 0; background: none; border: none; text-align: left; }
.theme-accordion-toggle span { font-size: 0.9375rem; line-height: 1.6; letter-spacing: 0.25em; text-transform: uppercase; color: var(--color-foreground); }
.theme-accordion-toggle svg { flex-shrink: 0; transition: transform 0.3s; }
.theme-accordion-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.theme-accordion-panel { overflow: hidden; transition: height 0.35s var(--transition-smooth), opacity 0.35s var(--transition-smooth); }
.theme-accordion-body { padding-bottom: 1.5rem; font-size: 1rem; color: var(--color-muted-foreground); line-height: 1.625; overflow-wrap: break-word; word-break: break-word; }
.theme-accordion-body p { margin: 0 0 1rem; }
.theme-accordion-body > :last-child { margin-bottom: 0; }
.theme-accordion-body ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.theme-accordion-body li { display: flex; align-items: flex-start; font-size: 1rem; line-height: 1.5; }
.theme-accordion-body li::before { content: ''; width: 4px; height: 4px; margin: 0.5rem 0.75rem 0 0; border-radius: 999px; background: var(--color-foreground); flex-shrink: 0; }
.theme-accordion-body.theme-shipping-body p { margin: 0; }
.theme-accordion-body.theme-shipping-body p + p { margin-top: 0.75rem; }

/* =========================================================================
   WooCommerce overrides
   ========================================================================= */

/* 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(--color-button-text) !important;
	border: none !important;
	border-radius: var(--btn-radius) !important;
	min-height: var(--btn-height) !important;
	padding: var(--btn-padding) !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	font-family: var(--font-body) !important;
	font-size: var(--btn-font-size) !important;
	font-weight: var(--btn-font-weight) !important;
	letter-spacing: var(--btn-letter-spacing) !important;
	text-transform: none !important;
	cursor: pointer !important;
	transition: opacity 0.2s ease !important;
}
.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(--color-button-text) !important;
}
.single_add_to_cart_button.button:disabled,
.single_add_to_cart_button.button.disabled,
.add_to_cart_button.button:disabled,
.add_to_cart_button.button.disabled {
	cursor: not-allowed !important;
	opacity: 0.4 !important;
	pointer-events: none !important;
}
.single_add_to_cart_button.button:disabled:hover,
.single_add_to_cart_button.button.disabled:hover,
.add_to_cart_button.button:disabled:hover,
.add_to_cart_button.button.disabled:hover {
	opacity: 0.4 !important;
	background-color: var(--color-primary) !important;
}
.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;
}
.single-product .theme-product-info .single_add_to_cart_button {
	width: 100%;
	min-height: 0 !important;
	padding: 1rem !important;
	border-radius: 999px !important;
	background-color: var(--color-foreground) !important;
	color: var(--color-background) !important;
	font-size: 0.875rem !important;
	line-height: 1.25rem !important;
	font-weight: 500 !important;
	letter-spacing: 0.25em !important;
	text-transform: uppercase !important;
	box-shadow: none !important;
	transition: background-color 0.2s ease !important;
}
.single-product .theme-product-info .single_add_to_cart_button:hover {
	opacity: 1 !important;
	background-color: color-mix(in srgb, var(--color-foreground) 90%, transparent) !important;
	color: var(--color-background) !important;
}
.single-product .theme-product-info .single_add_to_cart_button:disabled,
.single-product .theme-product-info .single_add_to_cart_button.disabled {
	opacity: 0.6 !important;
	background-color: var(--color-foreground) !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; }

/* Hide "View cart" injected by WooCommerce 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; }

/* Notices — scoped visibility (Section 14.1) */
.single-product .woocommerce-message,
.single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error {
	max-width: 60rem; margin: 1rem auto; padding: 1rem 1.25rem; border-radius: var(--radius);
	background: var(--color-secondary); color: var(--color-foreground); font-size: 1rem; list-style: none;
}
.woocommerce-error { background: color-mix(in srgb, #ca2121 12%, var(--color-background)); border: 1px solid color-mix(in srgb, #ca2121 40%, transparent); }

/* Quantity control */
.theme-quantity-wrapper { display: inline-flex; align-items: stretch; border: 1px solid var(--color-border); border-radius: var(--btn-radius); overflow: hidden; }
.theme-qty-minus, .theme-qty-plus { display: inline-flex; align-items: center; padding: 0.5rem 0.75rem; background: none; border: none; color: var(--color-foreground); transition: background-color 0.2s; }
.theme-qty-minus:hover, .theme-qty-plus:hover { background: var(--color-secondary); }
.theme-qty-input { width: 2.75rem; min-width: 44px; padding: 0.5rem 0; border: none; background: none; font-family: var(--font-body); font-size: 1rem; line-height: 1.5rem; color: var(--color-foreground); text-align: center; -moz-appearance: textfield; }
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Variations table layout (Section 11.5.1) */
.single-product .variations.shop_attributes tbody,
.single-product .variations tbody tr,
.single-product .variations tbody td { display: block; width: 100%; }
.single-product table.variations.shop_attributes tr:nth-child(n) td { background: transparent; }
.single-product .theme-product-info form.cart,
.single-product .theme-product-info form.cart table.variations { margin: 0; border: 0; }
.single-product .variations tbody tr { margin-bottom: 1.5rem; }
.single-product .variations tbody td { padding: 0; border: 0; }
.single-product .variations tbody td.label { padding-bottom: 0.75rem; }
.single-product .variations tbody td.label label,
.theme-product-option-heading { display: block; margin: 0; font-family: var(--font-body); font-size: 0.9375rem; font-weight: 600; font-style: normal; line-height: 1.3; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); }
.theme-product-option-heading { margin-bottom: 0.75rem; }
.single-product .variations tbody td.value { padding-top: 0; }
.single-product .variations .reset_variations { display: none !important; }
.single-product .variations tbody td.value select { display: none; }
.theme-attr-select-hidden { display: none !important; }
.theme-attr-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.theme-attr-pill { padding: 0.5rem 1rem; font-size: 0.875rem; line-height: 1.25rem; letter-spacing: 0.15em; text-transform: uppercase; border-radius: 999px; border: 1px solid var(--color-border); background: transparent; transition: all 0.2s; }
.theme-attr-pill:hover { border-color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.theme-attr-pill.is-selected { background: var(--color-foreground); color: var(--color-background); border-color: var(--color-foreground); }
.theme-attr-pill.has-swatch { display: inline-flex; align-items: center; gap: 0.5rem; }
.theme-attr-pill.has-swatch.is-selected { background: color-mix(in srgb, var(--color-foreground) 5%, transparent); color: inherit; }
.theme-attr-swatch { width: 0.75rem; height: 0.75rem; border-radius: 999px; border: 1px solid var(--color-border); flex-shrink: 0; }
.single_variation_wrap { margin-top: 0; }
.single_variation_wrap .woocommerce-variation > * { margin: 0; }
.single_variation_wrap .woocommerce-variation > :has(*) { margin-bottom: 1rem; }
.single_variation_wrap .woocommerce-variation > * > p { margin: 0; }

/* Single product responsive layout (Section 11.13) */
.single-product-main { padding-top: 4rem; padding-bottom: 0; }
@media (min-width: 1024px) { .single-product-main { padding-top: 7rem; } }
.single-product-breadcrumb { padding: 1rem 0; font-size: 0.9375rem; line-height: 1.6; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); }
@media (min-width: 1024px) { .single-product-breadcrumb { padding: 1.5rem 0; } }
.single-product-breadcrumb a { transition: color 0.2s; }
.single-product-breadcrumb a:hover { color: var(--color-foreground); }
.single-product-breadcrumb .breadcrumb-sep { margin: 0 0.5rem; opacity: 0.5; }
.single-product-breadcrumb .breadcrumb-current:last-child { color: var(--color-foreground); }

.theme-product-layout { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: start; min-width: 0; padding: 1rem 0 6rem; }
@media (min-width: 1024px) { .theme-product-layout { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4rem; } .theme-product-gallery { grid-column: span 7 / span 7; } .theme-product-info { grid-column: span 5 / span 5; } }
.theme-product-gallery, .theme-product-info { min-width: 0; max-width: 100%; }
.theme-product-gallery { display: flex; flex-direction: column; gap: 1rem; }
.theme-product-main-image-wrap { position: relative; aspect-ratio: 1/1; overflow: hidden; background: var(--color-secondary); }
.theme-product-main-img { object-fit: contain !important; padding: 2rem; background: var(--color-secondary); }
.theme-product-thumbnails { display: flex; gap: 0.75rem; flex-wrap: wrap; max-width: 100%; overflow-x: auto; }
.theme-product-thumb { position: relative; width: 5rem; height: 5rem; flex-shrink: 0; overflow: hidden; background: var(--color-secondary); border: none; padding: 0.4rem; opacity: 0.6; transition: opacity 0.2s; }
.theme-product-thumb img { object-fit: contain !important; }
.theme-product-thumb:hover, .theme-product-thumb.is-active { opacity: 1; }
.theme-product-thumb.is-active { box-shadow: inset 0 0 0 2px var(--color-foreground); }

.theme-product-info { padding-left: 0; align-self: start; }
@media (min-width: 1024px) { .theme-product-info { padding-left: 1rem; position: sticky; top: calc(7rem + var(--admin-bar-height)); } }
.theme-product-cat { display: inline; font-size: 0.9375rem; line-height: 1.6; letter-spacing: 0.25em; text-transform: uppercase; color: var(--color-muted-foreground); }
.theme-product-info .product-title { margin: 0.75rem 0 1.25rem; font-family: var(--font-display); font-weight: 400; font-size: clamp(2.25rem, 5.5vw, 4rem); line-height: 1.05; letter-spacing: 0; text-transform: none; text-wrap: balance; }
.theme-product-price { font-size: 1.25rem; line-height: 1.75rem; margin: 0 0 1.5rem; color: var(--color-foreground); }
.theme-product-price ins { text-decoration: none; color: var(--color-primary); }
.theme-product-price del { opacity: 0.5; margin-right: 0.5rem; }
.theme-product-stock.is-out-of-stock { display: inline-block; margin-bottom: 1.5rem; padding: 0.4rem 0.9rem; border-radius: 999px; background: var(--color-foreground); color: var(--color-background); font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.12em; }
.theme-product-intro { color: var(--color-muted-foreground); line-height: 1.625; margin-bottom: 2rem; font-size: 1.125rem; }
.theme-product-intro p { margin: 0; }
.theme-product-intro p + p { margin-top: 1rem; }
.theme-add-to-cart-area { display: flex; flex-direction: column; align-items: flex-start; }
.theme-add-to-cart-area .theme-quantity-wrapper { margin-bottom: 1rem; }

.variations label { font-family: var(--font-body); font-weight: 600; font-style: normal; }
.woocommerce-variation-description, .posted_in { overflow-wrap: break-word; word-break: break-word; }

/* Related products (Section 11.7) */
.related-products-section { padding: 5rem 0; border-top: 1px solid var(--color-border); }
.related-products-heading { text-align: center; margin-bottom: 3rem; }
.related-products-pre { font-style: italic; font-size: 1.125rem; line-height: 1.75rem; color: var(--color-muted-foreground); margin-bottom: 0.5rem; }

/* Shop archive header */
.shop-archive-header { margin-bottom: 2rem; }
.shop-archive-header .page-title { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.75rem, 4vw, 3rem); }

/* =========================================================================
   Checkout Block (Section 13)
   ========================================================================= */
body.woocommerce-checkout .site-main { padding-top: 2.5rem; padding-bottom: 4rem; }
body.woocommerce-checkout .page-title { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.75rem, 4vw, 3rem); margin-bottom: 2rem; }

body.woocommerce-checkout .wc-block-checkout { display: block; }
@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout,
	body.woocommerce-checkout .wc-block-checkout__main-and-sidebar {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: var(--checkout-gap, 2rem);
		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;
}
body.woocommerce-checkout .wc-block-components-notice-banner { grid-column: 1 / -1; }

body.woocommerce-checkout .wc-block-checkout__sidebar {
	background-color: var(--color-butter);
	border-radius: var(--radius);
	padding: 2rem;
}
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 {
	width: 100% !important; max-width: none !important;
	font-family: var(--font-body); font-size: 1rem; color: var(--color-foreground);
	border: 1px solid var(--color-border); border-radius: var(--radius); background: var(--color-background);
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus { outline: none; box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-primary) 50%, transparent); }
body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
	background-color: var(--color-primary) !important; color: var(--color-button-text) !important;
	border-radius: var(--btn-radius-md) !important; text-transform: none !important; font-family: var(--font-body) !important;
	min-height: 2.75rem !important; width: 100%;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover { opacity: 0.9; }

/* =========================================================================
   Thank you page (Section 22.8)
   ========================================================================= */
body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .site-main { padding-top: 2.5rem; padding-bottom: 4rem; }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; padding: 0 0 1rem 0; }
body.theme-thankyou-page .woocommerce-order-overview { list-style: none; display: flex; flex-wrap: wrap; gap: 1.5rem; padding: 0; margin: 0 0 2rem; }
body.theme-thankyou-page .woocommerce-order-overview li { border: 1px solid var(--color-border); border-radius: var(--radius); padding: 0.75rem 1.25rem; }
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; border-collapse: collapse; margin-bottom: 2rem; }
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(--color-border); }
body.theme-thankyou-page .woocommerce-order-details tfoot th { text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot td { text-align: right; }
body.theme-thankyou-page .woocommerce-customer-details { display: flex; flex-direction: column; gap: 1.5rem; }
body.theme-thankyou-page .woocommerce-customer-details address { max-width: 480px; overflow-wrap: break-word; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 1rem 1.25rem; font-style: normal; }

/* =========================================================================
   Customizer media control (loaded also in customizer-controls.css)
   ========================================================================= */
