/* Shared light storefront theme. Legacy color aliases keep existing components compatible. */
:root {
  color-scheme: light;
  --wonda-forest: #254f42;
  --wonda-forest-hover: #193c31;
  --wonda-ink: #202822;
  --wonda-muted: #59645d;
  --wonda-line: #dce3de;
  --wonda-paper: #ffffff;
  --wonda-silver: #f2f5f3;
  --black: #ffffff;
  --black-soft: #f2f5f3;
  --black-mid: #edf1ee;
  --black-light: #e7ede8;
  --gray-900: #edf1ee;
  --gray-800: #e3e9e5;
  --gray-700: #ced9d1;
  --gray-600: #6c7970;
  --gray-500: #59645d;
  --gray-400: #4f5c53;
  --gray-300: #3b4b40;
  --gray-200: #34493b;
  --gray-100: #263f30;
  --gray-50: #202f25;
  --white: #202822;
  --white-soft: #35483b;
  --accent: #254f42;
  --accent-hover: #193c31;
  --gold: #456b53;
  --gold-light: #c5d7c9;
  --glass-bg: rgba(37, 79, 66, .04);
  --glass-border: #dce3de;
  --radius-sm: 3px;
  --radius-md: 4px;
  --radius-lg: 6px;
  --radius-xl: 8px;
  --shadow-sm: 0 2px 10px #20282208;
  --shadow-md: 0 8px 30px #2028220d;
  --shadow-lg: 0 14px 44px #20282216;
  --shadow-xl: 0 24px 70px #20282222;
}

body { background: var(--wonda-paper); color: var(--wonda-ink); }
body, h1, h2, h3, h4, p, a, button, label, span, select { letter-spacing: 0; }
::selection { background: #d5e4d9; color: #193c31; }
:is(a, button, input, select, textarea):focus-visible {
  outline: 2px solid #39775f;
  outline-offset: 4px;
}
[id] { scroll-margin-top: calc(var(--header-height) + var(--announcement-height) + 24px); }
.announcement-bar { background: var(--wonda-forest); color: #fff; font-weight: 500; font-size: 11px; text-transform: none; }
.announcement-bar span::before { background: #c9dacf; }
.site-header, .site-header.scrolled { background: #fffffff5; border-bottom: 1px solid var(--wonda-line); box-shadow: none; backdrop-filter: blur(16px); }
.header-logo { font-size: 25px; font-weight: 800; }
.header-logo span { background: none; color: var(--wonda-ink); -webkit-text-fill-color: currentColor; }
.header-nav { gap: 26px; }
.header-nav a { color: #49564e; font-size: 12px; font-weight: 500; text-transform: none; }
.header-nav a::after { background: var(--wonda-forest); }
.header-nav a:hover, .header-nav a[aria-current="page"] { color: var(--wonda-forest); }
.header-actions { gap: 12px; }
.header-actions button { color: var(--wonda-ink); width: 44px; height: 44px; }
.mobile-menu-btn { width: 44px; min-height: 44px; align-items: center; justify-content: center; }
.mobile-menu-btn span { background: var(--wonda-ink); }
.cart-count { background: var(--wonda-forest); color: #fff; border: 2px solid #fff; }

.btn { min-height: 46px; border-radius: 3px; font-weight: 500; text-transform: none; padding: 13px 24px; transition: background .2s, border-color .2s, color .2s; }
.btn-primary, .add-to-cart-btn, .checkout-btn { background: var(--wonda-forest); color: #fff; border: 1px solid var(--wonda-forest); }
.btn-primary:hover, .add-to-cart-btn:hover, .checkout-btn:hover { background: var(--wonda-forest-hover); border-color: var(--wonda-forest-hover); color: #fff; transform: none; box-shadow: none; }
.btn-outline { color: var(--wonda-ink); border-color: #b1bfb6; background: transparent; }
.btn-outline:hover { color: var(--wonda-forest); background: #e9f0eb; border-color: var(--wonda-forest); transform: none; }
.btn-lg { padding: 15px 28px; font-size: 14px; }

.hero { margin-top: calc(var(--announcement-height) + var(--header-height)); padding: 0; min-height: 0; height: min(680px, calc(100svh - 168px)); color: #fff; justify-content: flex-start; background: #25312b; }
.hero-media { background: #25312b; }
.hero-video { opacity: 1; object-position: 65% 38%; }
.hero-overlay { background: linear-gradient(90deg, rgba(15,25,20,.9) 0%, rgba(15,25,20,.65) 37%, rgba(15,25,20,.08) 72%); }
.hero-pattern, .hero-scroll-indicator { display: none; }
.sticky-shop-cta { display: none; }
.hero-content { width: 100%; max-width: var(--max-width); margin: auto; padding: 44px 6%; text-align: left; }
.hero-badge { border: 0; border-radius: 0; padding: 0; background: none; backdrop-filter: none; color: #e1e9e3; margin-bottom: 22px; font-size: 12px; text-transform: none; }
.hero-badge .badge-dot { background: #bdd2c2 !important; }
.hero-title { color: #fff; font-size: 76px; font-weight: 750; line-height: 1.05; margin-bottom: 16px; }
.hero-title .line { opacity: 1; transform: none; animation: none; }
.hero-tagline { color: #fff; font-size: 27px; font-weight: 400; line-height: 1.28; margin: 0 0 18px; }
.hero-subtitle { max-width: 385px; color: #e0e7e2; font-size: 14px; line-height: 1.8; margin: 0 0 26px; opacity: 1; transform: none; animation: none; }
.hero-actions { justify-content: flex-start; gap: 12px; margin: 0; max-width: none; width: auto; opacity: 1; transform: none; animation: none; }
.hero-actions .btn-primary { background: #fff; border-color: #fff; color: #244c3d; }
.hero-actions .btn-primary:hover { background: #e3ece6; border-color: #e3ece6; }
.hero-actions .btn-outline { border-color: #c6d1c9; color: #fff; background: #182c2233; }
.hero-actions .btn-outline:hover { background: #ffffff1f; border-color: #fff; color: #fff; }
.hero-trust-row { justify-content: flex-start; gap: 12px 22px; margin-top: 24px; opacity: 1; transform: none; animation: none; }
.hero-trust-row span { color: #e3eae5; font-size: 11px; }
.hero-trust-row svg { color: #d1e2d5; }

.trust-bar { padding: 24px 0; background: #fff; border-bottom: 1px solid var(--wonda-line); }
.trust-item svg { color: var(--wonda-forest); }
.trust-item strong { color: var(--wonda-ink); font-size: 12px; font-weight: 600; }
.trust-item span { color: var(--wonda-muted); font-size: 11px; }
.marquee-section { padding: 18px 0; background: var(--wonda-silver); border-color: var(--wonda-line); }
.marquee-item { font-size: 12px; font-weight: 400; color: #4f6256; text-transform: none; }
.marquee-item .dot { width: 3px; height: 3px; background: #758d7d; }
.section { padding: 76px 0; }
.section-header { margin-bottom: 36px; }
.section-label { color: var(--wonda-forest); font-size: 11px; font-weight: 600; text-transform: uppercase; margin-bottom: 12px; }
.section-title { font-size: 36px; font-weight: 500; line-height: 1.2; }
.section-description { color: var(--wonda-muted); font-size: 14px; line-height: 1.8; }
.text-gradient { background: none; -webkit-text-fill-color: currentColor; color: var(--wonda-forest); }
.section-dark { background: var(--wonda-silver); }

.scroll-showcase, .scroll-showcase-sticky { background: #edf2ee; }
.scroll-showcase-copy { background: #edf2ee; border-color: var(--wonda-line); }
.scroll-showcase-media::after { background: linear-gradient(90deg, transparent 80%, #edf2ee 100%); }
.scroll-frame, .scroll-frame.active { filter: none; }
.scroll-copy-step h2 { font-size: 40px; font-weight: 500; line-height: 1.2; }
.scroll-copy-step span { border-radius: 0; border: 0; justify-content: flex-start; font-weight: 500; font-size: 12px; color: var(--wonda-forest); margin-bottom: 12px; }
.scroll-copy-step p { font-size: 14px; color: var(--wonda-muted); margin: 20px 0 24px; }
.scroll-copy-step a { background: var(--wonda-forest); border-color: var(--wonda-forest); color: #fff; font-weight: 500; text-transform: none; min-height: 46px; }
.scroll-copy-step a:hover { background: var(--wonda-forest-hover); color: #fff; transform: none; }
.showcase-nav { display: none; }
.legend-section { background: #fff; padding: 76px 0; border-color: var(--wonda-line); }
.legend-copy h2 { font-size: 36px; font-weight: 500; line-height: 1.25; }
.legend-copy p { color: var(--wonda-muted); font-size: 14px; }
.legend-marks { border-color: var(--wonda-line); }
.legend-mark { background: transparent; border-radius: 0; border-bottom: 1px solid var(--wonda-line); padding: 14px 0; }
.legend-mark span { color: var(--wonda-forest); }
.legend-media { border-radius: 0; border: 0; }
.legend-media::after { display: none; }

.product-grid { gap: 32px 20px; background: transparent; }
.product-grid .product-card, .product-card { background: transparent; border-radius: 0; box-shadow: none; }
#featuredGrid { max-width: var(--max-width); padding: 0 40px; margin: auto; }
.product-card-image { background: #eef1ee; border-radius: 2px; }
.product-card-image img { transition: none; }
.editorial-image-note { position: absolute; bottom: 9px; left: 9px; padding: 4px 7px; background: #fffffff0; color: #46564b; font-size: 9px; border-radius: 2px; }
.product-image-note { font-size: 11px; line-height: 1.6; color: var(--wonda-muted); margin: 12px 0; }
.product-card-info { display: block; padding: 14px 0 0; }
.product-card-topline { font-size: 10px; font-weight: 400; color: var(--wonda-muted); margin-bottom: 6px; }
.product-card-info .product-name { color: var(--wonda-ink); font-size: 14px; font-weight: 500; line-height: 1.55; }
.product-card-info .product-price { margin-top: 7px; color: var(--wonda-forest); font-size: 13px; }
.product-card-info .product-price .compare-at { color: #6c7970; }
.product-card-footer { margin-top: 12px; }
.product-card-swatches { gap: 7px; }
.product-card-swatches span { width: 12px; height: 12px; border: 1px solid #20282233; }
.product-card-colors { font-size: 10px; color: var(--wonda-muted); }
.badge-new { background: #fff; color: var(--wonda-forest); }
.badge-sale { background: var(--wonda-forest); color: #fff; }
.product-card-actions { background: linear-gradient(0deg, #172e22cc, #172e2200); }
.quick-size-row span { color: #fff; background: #172e2255; border-color: #ffffff55; border-radius: 2px; }
.product-card-actions .quick-add-btn { background: #fff; color: var(--wonda-forest); border: 1px solid #d7e1d9; }
.product-card-actions .quick-add-btn:hover { background: #e8f0ea; }
.product-card:focus-within .product-card-actions { transform: translateY(0); }
.collection-card, .collection-card-wide { border-radius: 0; }
.collection-card-overlay { color: #fff; background: linear-gradient(0deg, rgba(13,24,18,.75), transparent 70%); }
.collection-card-overlay .collection-label { color: #e0eae3; }
.collection-card-overlay .collection-name { color: #fff; font-size: 27px; font-weight: 500; }
.collection-card .collection-desc { color: #e0eae3; }
.collection-card-overlay .collection-cta { color: #fff; border-color: #ffffff80; }
.collection-toolbar { border-color: var(--wonda-line); }
.collection-filter-chips a, .collection-sort select { background: #fff; border: 1px solid #bbc9bf; color: #42584a; border-radius: 3px; font-weight: 400; text-transform: none; }
.collection-filter-chips a:hover, .collection-filter-chips a[aria-current="page"] { background: var(--wonda-forest); color: #fff; border-color: var(--wonda-forest); }
.collection-page-header .section-title { font-size: 40px; font-weight: 500; }

.candle-highlight-section { background: #edf3ef; border-color: var(--wonda-line); }
.candle-highlight-copy .section-title { font-size: 40px; }
.candle-highlight-meta span { border: 0; border-right: 1px solid #bbc9bf; padding: 0 18px 0 0; border-radius: 0; background: transparent; color: #465f4e; }
.candle-media-frame { border-radius: 2px; border-color: var(--wonda-line); box-shadow: none; background: #e1e8e2; }
.candle-media-frame figcaption { color: #fff; background: #20352bd9; border: 0; border-radius: 2px; }
.product-gallery-main, .product-gallery-thumbs button { background: #eef1ee; border-radius: 3px; }
.product-gallery-thumbs button.active, .color-swatch.active { border-color: var(--wonda-forest); }
.product-info .product-title { font-size: 34px; font-weight: 500; line-height: 1.25; }
.size-btn { border-radius: 3px; min-height: 44px; border-color: #b6c4bb; }
.size-btn.active { background: var(--wonda-forest); color: #fff; border-color: var(--wonda-forest); }
.quantity-selector { border-color: #b6c4bb; border-radius: 3px; }
.product-actions-bar .btn { min-height: 52px; }
.cart-page h1 { font-size: 38px; font-weight: 500; }
.cart-summary { background: var(--wonda-silver); border: 1px solid var(--wonda-line); border-radius: 4px; box-shadow: none; }
.cart-summary h2 { font-size: 23px; font-weight: 500; }
.cart-item { border-color: var(--wonda-line); }
.cart-item-image { border-radius: 2px; }
.payment-option { background: #fff; border-color: #bccac1; }
.payment-option:hover, .payment-option:has(input:checked) { background: #e5eee7; border-color: var(--wonda-forest); }
.payment-option input { accent-color: var(--wonda-forest); }
.checkout-fields input, .checkout-fields textarea, .form-group input { background: #fff; border-color: #a8b9ad; }
.checkout-fields input::placeholder, .checkout-fields textarea::placeholder, .form-group input::placeholder { color: #67766b; }
.service-notice { margin-top: 16px; color: var(--wonda-muted); font-size: 13px; line-height: 1.7; }
.checkout-btn:disabled, .auth-card button:disabled { background: #dce5de; border-color: #bdcbbf; color: #475b4d; cursor: not-allowed; }
.checkout-fields input:disabled, .checkout-fields textarea:disabled { background: #f2f5f3; }
.auth-card { box-shadow: none; border: 1px solid var(--wonda-line); }
.search-overlay, .gender-overlay { background: #14261c88; backdrop-filter: blur(6px); }
.search-modal { background: #fff; padding: 22px; border: 1px solid var(--wonda-line); border-radius: 4px; box-shadow: var(--shadow-xl); }
.search-input-wrap input { background: #f2f5f3; border: 1px solid #a8b9ad; }
.search-result-item { border-color: var(--wonda-line); }
.gender-modal { background: #fff; border: 1px solid var(--wonda-line); padding: 32px; border-radius: 4px; }
.gender-modal h2 { font-size: 28px; font-weight: 500; }
.gender-card { border-color: var(--wonda-line); background: #f2f5f3; border-radius: 3px; }
.gender-card:hover { border-color: var(--wonda-forest); background: #e7eee8; transform: none; }
.gender-icon { display: none; }
.toast.success { background: var(--wonda-forest); color: #fff; }
.toast.error { background: #912f3e; color: #fff; }
.guarantee-strip { background: var(--wonda-silver); border-color: var(--wonda-line); }
.insta-section { background: #fff; }
.insta-copy h2 { font-size: 34px; font-weight: 500; line-height: 1.25; }

.site-footer { background: #1c2922; color: #d7e0da; border: 0; padding-top: 56px; }
.footer-brand .footer-logo { color: #fff; font-size: 28px; }
.footer-brand p { color: #bbc9c0; }
.footer-brand .footer-badge { color: #c6d4cb !important; border-color: #61766a !important; border-radius: 3px !important; }
.footer-brand .footer-badge span { color: #c6d4cb !important; }
.footer-col h4 { color: #f4f7f5; font-weight: 500; }
.footer-col a { color: #bbc9c0; font-size: 13px; }
.footer-col a:hover { color: #fff; }
.footer-payments span { border-color: #61766a; color: #dce5df; background: transparent; border-radius: 2px; }
.footer-bottom { color: #b3c2b8; border-color: #46584c; }
.footer-bottom .social-links a { color: #bbc9c0; }

@media (min-width: 1600px) { .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 1100px) { .header-nav { gap: 16px; } }
@media (max-width: 1024px) {
  .site-header, .site-header.scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .header-nav { background: #fff; backdrop-filter: none; }
  .header-nav a { font-size: 18px; padding: 20px 0; border-color: var(--wonda-line); color: var(--wonda-ink); }
  .hero { height: 620px; min-height: 0; }
  .hero-content { padding-inline: 32px; }
  .scroll-showcase-copy { padding: 36px 24px; }
  .showcase-nav { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 28px; }
  .showcase-nav button { min-height: 44px; padding: 8px 12px; border: 1px solid #b4c5b9; border-radius: 3px; font-size: 11px; }
  .showcase-nav button[aria-pressed="true"] { background: var(--wonda-forest); border-color: var(--wonda-forest); color: #fff; }
  .scroll-copy-step { left: auto; right: auto; top: auto; }
  .scroll-copy-step, .scroll-copy-step.active { transform: none; }
  .scroll-showcase-media::after { display: none; }
}
@media (max-width: 768px) {
  .hero { height: min(650px, calc(100svh - 140px)); min-height: 470px; align-items: flex-end; }
  .hero-content { margin: 0; padding: 32px 24px; }
  .hero-video { object-position: 62% 35%; }
  .hero-overlay { background: linear-gradient(0deg, #101f18eb 0%, #101f18a6 42%, #101f180d 90%); }
  .hero-title { font-size: 58px; }
  .hero-tagline { font-size: 23px; }
  .hero-badge { font-size: 11px; margin-bottom: 16px; }
  .hero-subtitle { font-size: 13px; line-height: 1.65; max-width: 325px; margin-bottom: 20px; }
  .hero-actions { flex-direction: row; align-items: center; width: auto; margin: 0; max-width: none; }
  .hero-actions .btn { width: auto; font-size: 12px; padding: 12px 17px; }
  .hero-trust-row { margin-top: 18px; gap: 8px 16px; }
  .hero-trust-row span { font-size: 10px; }
  .trust-bar { padding: 20px 0; }
  .trust-bar-grid { gap: 22px 16px; }
  .trust-item { align-items: flex-start; }
  .trust-item strong { font-size: 11px; }
  .trust-item span { font-size: 10px; }
  .trust-item svg { width: 18px; flex-shrink: 0; }
  .section, .legend-section { padding-block: 48px; }
  .section-title, .legend-copy h2 { font-size: 28px; }
  .section-description { font-size: 13px; }
  .scroll-copy-step h2 { font-size: 29px; }
  .product-grid, .product-grid.gap-lg { gap: 24px 12px; }
  #featuredGrid { padding-inline: 16px; }
  .product-card-image { aspect-ratio: auto; overflow: visible; background: transparent; }
  .product-card-image .product-link { position: relative; display: block; height: auto; aspect-ratio: 3/4; overflow: hidden; }
  .product-card-image img { height: 100%; width: 100%; object-fit: cover; }
  .product-card-actions { background: none; }
  .product-card-actions .quick-add-btn { min-height: 40px; padding: 10px 8px; font-size: 11px; }
  .product-card-info .product-name { font-size: 12px; }
  .product-card-info .product-price { font-size: 12px; }
  .product-card-topline span:last-child { display: none; }
  .collection-grid { gap: 16px; }
  .collection-card { aspect-ratio: 4/5; }
  .collection-card-wide { aspect-ratio: 4/3; }
  .collection-card-overlay .collection-name { font-size: 25px; }
  .collection-page-header .section-title { font-size: 29px; }
  .collection-filter-chips { gap: 8px; }
  .collection-filter-chips a { min-height: 42px; padding: 11px 13px; font-size: 11px; }
  .candle-highlight-copy .section-title { font-size: 30px; }
  .candle-highlight-meta { flex-wrap: wrap; gap: 12px; }
  .candle-highlight-meta span { width: auto; padding-right: 12px; font-size: 11px; }
  .product-info .product-title { font-size: 28px; }
  .checkout-fields input, .checkout-fields textarea, .form-group input { font-size: 16px; }
  .site-footer { padding-top: 42px; }
}
@media (max-width: 360px) {
  .hero-content { padding-inline: 18px; }
  .hero-title { font-size: 48px; }
  .hero-tagline { font-size: 21px; }
  .hero-badge { font-size: 10px; }
  .hero-trust-row span:last-child { display: none; }
  .hero-actions { gap: 8px; }
  .hero-actions .btn { padding-inline: 13px; }
  .header-actions { gap: 0; }
  .header-logo { font-size: 21px; }
  .product-grid, .product-grid.gap-lg { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-video { visibility: hidden; }
  .hero-media { background: url('/assets/hero/wonda-hero-feature-poster.jpg') 62% 35% / cover; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee-item:nth-child(n+6) { display: none; }
  .scroll-showcase { height: auto; }
  .scroll-showcase-sticky { position: relative; top: auto; min-height: 0; }
  .scroll-showcase-media { min-height: 520px; }
  .scroll-showcase-copy { min-height: 0; display: block; }
  .scroll-showcase-copy .section-label { position: static; }
  .showcase-nav { display: none; }
  .scroll-copy-step, .scroll-copy-step.active { position: static; display: block; opacity: 1; pointer-events: auto; transform: none; padding: 20px 0; }
  .scroll-copy-step + .scroll-copy-step { border-top: 1px solid var(--wonda-line); }
  .scroll-frame, .scroll-frame.active { transform: none; }
}
@media (max-height: 650px) and (max-width: 639px) {
  .hero { height: calc(100svh - 150px); min-height: 370px; }
  .hero-content { padding-block: 24px; }
  .hero-badge, .hero-trust-row { display: none; }
  .hero-title { font-size: 48px; margin-bottom: 12px; }
  .hero-tagline { font-size: 21px; margin-bottom: 14px; }
  .hero-subtitle { font-size: 12px; margin-bottom: 18px; }
}
@media (max-height: 540px) and (min-width: 640px) {
  .hero { height: calc(100svh - 160px); min-height: 250px; }
  .hero-content { padding-block: 18px; }
  .hero-title { font-size: 48px; margin-bottom: 8px; }
  .hero-tagline { font-size: 20px; margin-bottom: 14px; }
  .hero-badge, .hero-subtitle, .hero-trust-row { display: none; }
}
