/*
Theme Name: Betterlife Theme
Theme URI: https://betterlife.ng
Author: Betterlife Digital Services Limited
Description: Storefront and brand site for Betterlife: everyday payments, marketplace and China sourcing. WooCommerce ready, mobile-first, with a China sourcing request system.
Version: 1.0.0
Requires at least: 6.2
Tested up to: 6.8
Requires PHP: 8.0
WC requires at least: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: betterlife
Tags: e-commerce, woocommerce, fintech, marketplace, responsive
*/

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
  --paper: #ffffff;
  --mint: #edf4ef;         /* soft surfaces, image wells */
  --mint-deep: #dcebe2;
  --line: #dfe7e2;
  --line-strong: #c3d0c8;
  --ink: #0f241c;          /* brand-tinted text */
  --graphite: #4a5b53;
  --faint: #7d8c85;
  --evergreen: #0c3b2e;    /* primary brand */
  --evergreen-2: #124c3b;
  --leaf: #1d7a54;         /* links, hover, focus */
  --sun: #ffc845;          /* highlight CTA on dark */
  --sale: #c2412a;
  --success: #1d7a54;
  --error: #b42318;
  --alipay: #1677ff;
  --wechat: #07c160;

  --display: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
  --sans: 'Figtree', 'Segoe UI', system-ui, -apple-system, sans-serif;

  --step--1: 0.8125rem;
  --step-0: 1rem;
  --step-1: 1.125rem;
  --step-2: 1.5rem;
  --step-3: clamp(1.875rem, 1.35rem + 1.8vw, 2.75rem);
  --step-4: clamp(2.25rem, 1.5rem + 3vw, 3.5rem);
  --step-5: clamp(2.5rem, 1.3rem + 4.4vw, 4.75rem);

  --track-caps: 0;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 28px;
  --container: 1320px;
  --gutter: clamp(16px, 4vw, 40px);
  --gap: clamp(12px, 1.6vw, 24px);
  --section: clamp(56px, 8vw, 112px);
  --header-h: 64px;
  --bottom-nav-h: 64px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --dur: 240ms;
}

/* ==========================================================================
   Reset & base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
html.is-locked, html.is-locked body { overflow: hidden; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; }
table { border-collapse: collapse; width: 100%; }
[hidden] { display: none !important; }
::selection { background: var(--ink); color: var(--paper); }

:focus-visible { outline: 2px solid var(--leaf); outline-offset: 3px; }
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--ink); color: var(--paper); padding: 10px 16px; }
.skip-link:focus { top: 12px; }
.hp-field { position: absolute; left: -9999px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.site-main { outline: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0ms !important; animation-duration: 0ms !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   Type utilities
   ========================================================================== */
.page-title { font-family: var(--display); font-size: var(--step-4); letter-spacing: -0.01em; line-height: 1.05; }
.page-title--xl { font-size: var(--step-5); }
.section-title { font-family: var(--display); font-size: var(--step-3); letter-spacing: -0.01em; }
.panel-heading { font-family: var(--sans); font-size: var(--step--1); font-weight: 500; letter-spacing: var(--track-caps); text-transform: none; }

.link-underline {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: var(--step--1); font-weight: 500; letter-spacing: 0.06em;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  padding-bottom: 2px; transition: background-size var(--dur) var(--ease);
}
.link-underline:hover { background-size: 0 1px; background-position: 100% 100%; }

/* ==========================================================================
   Buttons & forms
   ========================================================================== */
.btn,
.button,
.woocommerce-button,
.wc-block-components-button:not(.is-link),
button.single_add_to_cart_button,
#place_order,
.checkout-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 28px;
  font-family: var(--sans); font-size: var(--step--1); font-weight: 500;
  letter-spacing: var(--track-caps); text-transform: none; line-height: 1;
  border: 1px solid var(--ink); background: var(--ink); color: var(--paper);
  border-radius: 999px; cursor: pointer; text-align: center;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.btn:hover, .button:hover, .woocommerce-button:hover, #place_order:hover, .checkout-button:hover,
button.single_add_to_cart_button:hover, .wc-block-components-button:not(.is-link):hover { background: var(--leaf); border-color: var(--leaf); color: var(--paper); }
.btn:disabled, .button:disabled, .btn.is-loading { opacity: .55; cursor: progress; }
.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-light:hover { background: transparent; color: var(--paper); border-color: var(--paper); }
.btn-ghost { background: transparent; color: var(--ink); border-color: transparent; padding-inline: 12px; }
.btn-ghost:hover { background: transparent; color: var(--leaf); border-color: transparent; text-decoration: underline; }
.btn-lg { min-height: 56px; padding-inline: 36px; }
.btn-sm { min-height: 40px; padding-inline: 16px; }
.btn-block { width: 100%; }

label { display: block; font-size: var(--step--1); font-weight: 500; margin-bottom: 6px; }
.required { color: var(--sale); text-decoration: none; border: 0; }
input[type="text"], input[type="email"], input[type="password"], input[type="tel"], input[type="number"],
input[type="search"], input[type="url"], input[type="date"], select, textarea,
.select2-container .select2-selection--single {
  width: 100%; min-height: 48px; padding: 12px 14px;
  background: var(--paper); border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  font-size: 16px; line-height: 1.3; transition: border-color var(--dur) var(--ease);
  appearance: none; -webkit-appearance: none;
}
textarea { min-height: 120px; resize: vertical; }
input:hover, select:hover, textarea:hover { border-color: var(--graphite); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
select {
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23000' stroke-width='1.5'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
input[type="checkbox"], input[type="radio"] { width: 18px; height: 18px; accent-color: var(--ink); vertical-align: middle; margin-right: 8px; }
::placeholder { color: var(--faint); opacity: 1; }

/* Select2 (WooCommerce country / state) */
.select2-container .select2-selection--single { display: flex; align-items: center; height: auto; }
.select2-container--default .select2-selection--single .select2-selection__rendered { padding: 0; line-height: 1.3; color: var(--ink); }
.select2-container--default .select2-selection--single .select2-selection__arrow { top: 50%; transform: translateY(-50%); right: 10px; }
.select2-dropdown { border: 1px solid var(--ink); border-radius: var(--r-sm); overflow: hidden; }
.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted[data-selected] { background: var(--ink); }
.select2-search--dropdown .select2-search__field { min-height: 40px; }

/* ==========================================================================
   Announcement + header
   ========================================================================== */
.announcement {
  background: var(--evergreen); color: var(--paper); text-align: center;
  font-size: 12px; letter-spacing: 0.08em; padding: 9px var(--gutter); line-height: 1.4;
}
.announcement a { text-decoration: underline; text-underline-offset: 3px; }

.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid transparent; transition: border-color var(--dur) var(--ease); }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.admin-bar .site-header { top: 46px; }
@media (min-width: 783px) { .admin-bar .site-header { top: 32px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }

.header-bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: var(--header-h); gap: 16px; }
.header-left { display: flex; align-items: center; gap: 8px; min-width: 0; }
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 2px; }

.icon-btn {
  position: relative; display: inline-grid; place-items: center;
  width: 44px; height: 44px; color: var(--ink); transition: color var(--dur) var(--ease);
}
.icon-btn:hover { color: var(--leaf); }
.cart-count {
  position: absolute; top: 5px; right: 3px; min-width: 17px; height: 17px; padding: 0 4px;
  border-radius: 9px; background: var(--ink); color: var(--paper);
  font-size: 10px; font-weight: 600; line-height: 17px; text-align: center;
}

.site-logo { display: block; justify-self: center; text-align: center; line-height: 1; }
.site-logo .custom-logo { max-height: 40px; width: auto; }
.wordmark {
  font-family: var(--display); font-weight: 500; font-size: clamp(1.25rem, 1rem + 1.2vw, 1.875rem);
  letter-spacing: 0.18em; text-transform: none; white-space: nowrap;
  font-variation-settings: "opsz" 96;
}
.wordmark--sm { font-size: 1.125rem; }

.primary-nav { display: none; }
.primary-nav .nav-list { display: flex; gap: 28px; }
.primary-nav .nav-list > li { position: relative; }
.primary-nav .nav-list > li > a {
  display: block; padding: 22px 0; font-size: 12.5px; font-weight: 500;
  letter-spacing: var(--track-caps); text-transform: none; position: relative;
}
.primary-nav .nav-list > li > a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 16px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform var(--dur) var(--ease);
}
.primary-nav .nav-list > li > a:hover::after,
.primary-nav .current-menu-item > a::after,
.primary-nav .current-menu-ancestor > a::after { transform: scaleX(1); }
.primary-nav .sub-menu {
  position: absolute; top: 100%; left: -20px; min-width: 220px; padding: 12px 0;
  background: var(--paper); border: 1px solid var(--line); list-style: none;
  opacity: 0; visibility: hidden; transform: translateY(4px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur);
}
.primary-nav li:hover > .sub-menu, .primary-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.primary-nav .sub-menu a { display: block; padding: 8px 20px; font-size: var(--step-0); }
.primary-nav .sub-menu a:hover { color: var(--leaf); }

@media (min-width: 1000px) {
  :root { --header-h: 76px; }
  .nav-toggle { display: none; }
  .primary-nav { display: block; }
}
@media (max-width: 699px) {
  .hide-sm { display: none; }
  .header-bar { gap: 4px; }
}

/* Header search */
.header-search { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); opacity: 0; transition: opacity var(--dur) var(--ease); }
.header-search.is-open { opacity: 1; }
.search-form-inline { display: flex; align-items: center; gap: 12px; height: 72px; }
.search-form-inline input[type="search"] { border: 0; border-bottom: 1px solid var(--ink); box-shadow: none; font-family: var(--display); font-size: var(--step-2); padding-inline: 0; }
.search-form-inline input[type="search"]:focus { box-shadow: none; }

/* ==========================================================================
   Panels (menu, bag, filters)
   ========================================================================== */
.overlay { position: fixed; inset: 0; z-index: 90; background: rgba(0, 0, 0, .35); opacity: 0; transition: opacity var(--dur) var(--ease); }
.overlay.is-open { opacity: 1; }

.side-panel {
  position: fixed; top: 0; bottom: 0; z-index: 100; width: min(420px, 92vw);
  background: var(--paper); display: flex; flex-direction: column;
  transition: transform 360ms var(--ease);
}
.side-panel--left { left: 0; transform: translateX(-100%); }
.side-panel--right { right: 0; transform: translateX(100%); }
.side-panel.is-open { transform: none; }
.side-panel-head { display: flex; align-items: center; justify-content: space-between; min-height: 64px; padding: 0 12px 0 24px; border-bottom: 1px solid var(--line); flex-shrink: 0; }
.side-panel-body { flex: 1; overflow-y: auto; padding: 24px; overscroll-behavior: contain; }

.mobile-nav .nav-list { list-style: none; padding: 0; }
.mobile-nav .nav-list > li > a { display: block; padding: 10px 0; font-family: var(--display); font-size: 1.875rem; line-height: 1.2; }
.mobile-nav .nav-list > li > a:hover { color: var(--leaf); }
.mobile-nav .sub-menu { list-style: none; padding: 0 0 8px 2px; }
.mobile-nav .sub-menu a { display: block; padding: 6px 0; color: var(--graphite); }
.mobile-cats { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.mobile-cats ul { list-style: none; padding: 0; margin-top: 12px; }
.mobile-cats a { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--line); }
.mobile-cats a span { color: var(--faint); font-size: var(--step--1); }
.mobile-extras { list-style: none; padding: 0; margin-top: 32px; }
.mobile-extras a { display: flex; align-items: center; gap: 12px; padding: 10px 0; color: var(--graphite); }
.mobile-extras a:hover { color: var(--ink); }

/* Bag drawer */
.drawer-title { font-family: var(--display); font-size: var(--step-2); }
.drawer-count { font-family: var(--sans); font-size: var(--step-0); color: var(--faint); }
.drawer-body { padding-top: 8px; }
.drawer-empty { padding: 64px 0; text-align: center; color: var(--graphite); }
.drawer-item { display: grid; grid-template-columns: 84px 1fr auto; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); transition: opacity var(--dur); }
.drawer-item.is-busy { opacity: .4; pointer-events: none; }
.drawer-item-img { background: var(--mint); aspect-ratio: 1 / 1; overflow: hidden; }
.drawer-item-img img { width: 100%; height: 100%; object-fit: cover; }
.drawer-item-name { display: block; font-weight: 500; line-height: 1.35; }
.drawer-item-meta { color: var(--graphite); font-size: var(--step--1); margin-top: 4px; }
.drawer-item-remove { margin-top: 10px; font-size: 12px; color: var(--graphite); text-decoration: underline; text-underline-offset: 3px; }
.drawer-item-remove:hover { color: var(--sale); }
.drawer-item-price { font-size: var(--step-0); white-space: nowrap; }
.drawer-footer { padding: 20px 24px calc(20px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: grid; gap: 10px; flex-shrink: 0; }
.drawer-total { display: flex; justify-content: space-between; font-size: var(--step-1); font-weight: 500; }
.drawer-note { font-size: var(--step--1); color: var(--graphite); margin-bottom: 6px; }

/* Toasts */
.toast-stack { position: fixed; left: 50%; bottom: calc(24px + var(--bottom-nav-h)); transform: translateX(-50%); z-index: 200; display: grid; gap: 8px; width: min(420px, calc(100vw - 32px)); pointer-events: none; }
@media (min-width: 1000px) { .toast-stack { bottom: 32px; } }
.toast { background: var(--ink); color: var(--paper); padding: 14px 18px; font-size: var(--step--1); text-align: center; opacity: 0; transform: translateY(8px); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); }
.toast.is-visible { opacity: 1; transform: none; }
.toast.is-error { background: var(--error); }

/* ==========================================================================
   Bottom nav (mobile)
   ========================================================================== */
.bottom-nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: grid; grid-template-columns: repeat(5, 1fr);
  height: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line);
  backdrop-filter: saturate(1.4) blur(10px);
}
.bottom-nav-item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--faint); font-size: 10.5px; letter-spacing: 0.04em; }
.bottom-nav-item.is-active, .bottom-nav-item:hover { color: var(--ink); }
.bottom-nav-bag { position: relative; }
.mobile-cart-count { position: absolute; top: -5px; right: -8px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: var(--ink); color: var(--paper); font-style: normal; font-size: 9.5px; font-weight: 600; line-height: 16px; text-align: center; }
body { padding-bottom: var(--bottom-nav-h); }
body.woocommerce-checkout { padding-bottom: 0; }
@media (min-width: 1000px) {
  .bottom-nav { display: none; }
  body { padding-bottom: 0; }
}

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding-block: var(--section); }
.section + .section { padding-top: 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: clamp(24px, 3vw, 40px); }

/* Product grid */
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 48px) var(--gap); }
@media (min-width: 1000px) {
  .product-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .product-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.empty-note { padding: 32px; background: var(--mint); color: var(--graphite); }

/* Product card */
.product-card { position: relative; min-width: 0; }
.card-media { position: relative; background: var(--mint); aspect-ratio: 1 / 1; overflow: hidden; }
.card-img { display: block; height: 100%; }
.card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 500ms var(--ease), transform 1200ms var(--ease); }
.card-img .card-img-alt { opacity: 0; }
@media (hover: hover) {
  .product-card.has-alt:hover .card-img-alt { opacity: 1; }
  .product-card:not(.has-alt):hover .card-img-main { transform: scale(1.03); }
}
.card-badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  padding: 5px 9px; background: var(--paper); color: var(--ink);
  font-size: 11px; font-weight: 500; letter-spacing: 0.06em; line-height: 1;
}
.card-badge.is-sale { background: var(--sale); color: var(--paper); }
.card-badge.is-soldout { background: var(--ink); color: var(--paper); }
.card-quick {
  position: absolute; right: 10px; bottom: 10px; z-index: 2;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--paper); color: var(--ink);
  font-size: 12px; font-weight: 500; letter-spacing: var(--track-caps); text-transform: none;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.card-quick-label { display: none; }
.card-quick--link { display: none; }
.card-quick:hover { background: var(--ink); color: var(--paper); }
.card-quick.is-loading { opacity: .6; }
@media (hover: hover) and (min-width: 1000px) {
  .card-quick, .card-quick--link {
    display: flex; left: 0; right: 0; bottom: 0; width: auto; height: 48px; border-radius: 0 0 var(--r-md) var(--r-md);
    background: rgba(255, 255, 255, .94); transform: translateY(100%);
    transition: transform var(--dur) var(--ease), background-color var(--dur), color var(--dur);
  }
  .card-quick-label { display: inline; }
  .product-card:hover .card-quick, .card-quick:focus-visible { transform: none; }
}
.card-body { padding-top: 14px; }
.card-cat { font-size: 12px; color: var(--faint); margin-bottom: 2px; }
.card-title { font-family: var(--sans); font-size: var(--step-0); font-weight: 400; line-height: 1.4; }
.card-title a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size var(--dur) var(--ease); }
.card-title a:hover { background-size: 100% 1px; }
.card-title a::after { content: ""; position: absolute; inset: 0 0 auto 0; aspect-ratio: 1 / 1; z-index: 1; }
.card-price { margin-top: 4px; font-size: var(--step-0); }
.card-rating { margin-top: 6px; }

/* Prices */
.price-current, .price-current .amount { font-weight: 500; }
.price-sale { color: var(--sale); }
.price-original, del { color: var(--faint); font-weight: 400; margin-left: 8px; }
ins { text-decoration: none; }
.price-current del { margin-left: 0; margin-right: 6px; }
.price-current ins { color: var(--sale); }

/* Stars */
.stars { --size: 13px; display: inline-block; width: calc(var(--size) * 5); height: var(--size); vertical-align: -1px;
  background: linear-gradient(90deg, var(--ink) var(--rating, 0%), var(--line-strong) var(--rating, 0%));
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z'/%3E%3C/svg%3E") 0 0 / var(--size) var(--size) repeat-x;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3l2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z'/%3E%3C/svg%3E") 0 0 / var(--size) var(--size) repeat-x;
}
.stars-count { margin-left: 6px; font-size: 12px; color: var(--graphite); }

/* Services */
.services { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.services-grid { display: grid; grid-template-columns: 1fr; }
.service { display: flex; gap: 16px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.service:last-child { border-bottom: 0; }
.service .icon { flex-shrink: 0; margin-top: 2px; }
.service-title { font-family: var(--sans); font-size: var(--step-0); font-weight: 500; line-height: 1.4; }
.service-text { color: var(--graphite); font-size: var(--step--1); margin-top: 4px; max-width: 34ch; }
@media (min-width: 700px) { .services-grid { grid-template-columns: repeat(2, 1fr); column-gap: 32px; } .service:nth-last-child(2):nth-child(odd) { border-bottom: 0; } }
@media (min-width: 1100px) {
  .services-grid { grid-template-columns: repeat(4, 1fr); column-gap: 0; }
  .service { padding: 40px 28px; border-bottom: 0; border-left: 1px solid var(--line); }
  .service:first-child { border-left: 0; padding-left: 0; }
}
.services--compact { border: 0; margin: 28px 0 8px; }
.services--compact .services-grid { grid-template-columns: 1fr 1fr; gap: 12px 16px; }
.services--compact .service { padding: 0; border: 0; align-items: center; gap: 10px; }
.services--compact .service-title { font-size: var(--step--1); font-weight: 400; color: var(--graphite); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--evergreen); color: var(--paper); margin-top: 0; }
.site-footer a:hover { color: rgba(255, 255, 255, .7); }
.footer-newsletter { border-bottom: 1px solid rgba(255, 255, 255, .14); padding-block: clamp(48px, 6vw, 80px); }
.newsletter-grid { display: grid; gap: 24px; align-items: end; }
.newsletter-title { font-family: var(--display); font-size: var(--step-3); }
.newsletter-desc { color: rgba(255, 255, 255, .7); margin-top: 8px; max-width: 46ch; }
.newsletter-form { display: grid; grid-template-columns: 1fr auto; gap: 0; position: relative; }
.newsletter-form input[type="email"] { background: transparent; color: var(--paper); border: 0; border-bottom: 1px solid rgba(255, 255, 255, .5); padding-inline: 0; }
.newsletter-form input[type="email"]:focus { border-bottom-color: var(--paper); box-shadow: 0 1px 0 var(--paper); }
.newsletter-form input::placeholder { color: rgba(255, 255, 255, .5); }
.newsletter-form .btn { margin-left: 10px; }
.newsletter-status { grid-column: 1 / -1; min-height: 1.5em; margin-top: 10px; font-size: var(--step--1); color: rgba(255, 255, 255, .85); }
.newsletter-status.is-error { color: #f3b6b6; }
@media (min-width: 900px) { .newsletter-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }

.footer-main { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 24px; padding-block: clamp(48px, 6vw, 72px); }
.footer-brand { grid-column: 1 / -1; }
.footer-tagline { font-family: var(--display); font-size: var(--step-2); line-height: 1.25; max-width: 18ch; }
.footer-email { display: inline-block; margin-top: 16px; color: rgba(255, 255, 255, .75); }
.footer-social { display: flex; gap: 6px; margin-top: 20px; }
.footer-social a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 50%; }
.footer-social a:hover { border-color: var(--paper); color: var(--paper); }
.footer-col-title { font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: var(--track-caps); text-transform: none; color: rgba(255, 255, 255, .55); margin-bottom: 16px; }
.footer-links { list-style: none; padding: 0; display: grid; gap: 10px; }
@media (min-width: 900px) {
  .footer-main { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .footer-brand { grid-column: auto; }
}
.footer-masthead { overflow: hidden; border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 24px; }
.wordmark--giant { display: block; font-size: clamp(2.5rem, 11.5vw, 11rem); letter-spacing: 0.04em; line-height: .9; text-align: center; color: rgba(255, 255, 255, .92); white-space: nowrap; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 24px 32px; font-size: 12px; color: rgba(255, 255, 255, .55); }

/* ==========================================================================
   Page heads, breadcrumb, content
   ========================================================================== */
.page-head { padding-top: clamp(28px, 4vw, 48px); padding-bottom: clamp(24px, 3vw, 40px); }
.page-head--narrow { max-width: calc(760px + var(--gutter) * 2); }
.page-intro { margin-top: 14px; color: var(--graphite); max-width: 60ch; font-size: var(--step-1); }
.breadcrumb ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 12px; color: var(--faint); margin-bottom: 16px; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--line-strong); }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb [aria-current] { color: var(--graphite); }

.page-body { max-width: calc(760px + var(--gutter) * 2); padding-bottom: var(--section); }
.page-body--wide { max-width: var(--container); }

.entry-content { font-size: var(--step-1); line-height: 1.7; color: #262422; }
.entry-content > * + * { margin-top: 1.1em; }
.entry-content h2 { font-family: var(--display); font-size: var(--step-3); margin-top: 1.8em; color: var(--ink); }
.entry-content h3 { font-family: var(--display); font-size: var(--step-2); margin-top: 1.6em; color: var(--ink); }
.entry-content a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.entry-content a:hover { color: var(--leaf); }
.entry-content ul, .entry-content ol { padding-left: 1.2em; }
.entry-content li + li { margin-top: .4em; }
.entry-content blockquote { font-family: var(--display); font-size: var(--step-2); line-height: 1.35; border-left: 1px solid var(--ink); padding-left: 24px; }
.entry-content img { margin-block: 1.5em; }
.entry-content--lead > p:first-child { font-family: var(--display); font-size: var(--step-2); line-height: 1.4; color: var(--ink); }
.about-figure { margin-bottom: var(--section); }
.about-figure img { width: 100%; max-height: 80vh; object-fit: cover; }
.admin-note { margin-top: 24px; padding: 12px 16px; background: var(--mint); color: var(--graphite); font-size: var(--step--1); }

/* FAQ */
.faq-list { display: grid; margin-top: 0; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 22px 0; font-family: var(--sans); font-size: var(--step-1); font-weight: 500; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-weight: 300; font-size: 1.5em; line-height: .8; transition: transform var(--dur) var(--ease); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding-bottom: 22px; color: var(--graphite); margin: 0; font-size: var(--step-0); max-width: 62ch; }
.help-box { margin-top: 56px; padding: clamp(28px, 4vw, 48px); background: var(--mint); }
.help-box h2 { font-family: var(--display); font-size: var(--step-3); }
.help-box p { color: var(--graphite); margin-top: 8px; }
.help-box .hero-actions { margin-top: 24px; }

/* Contact */
.contact-layout { display: grid; gap: 48px; padding-bottom: var(--section); }
.contact-list { display: grid; border-top: 1px solid var(--line); }
.contact-list > div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.contact-list dt { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; }
.contact-list dd { color: var(--graphite); }
.contact-list a:hover { color: var(--ink); text-decoration: underline; }
@media (min-width: 900px) { .contact-layout { grid-template-columns: 1fr 1fr; gap: 96px; } }
@media (max-width: 520px) { .contact-list > div { grid-template-columns: 1fr; gap: 4px; } }

/* Posts */
.post-grid { display: grid; gap: 48px var(--gap); grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.post-card-img { display: block; aspect-ratio: 4 / 5; background: var(--mint); overflow: hidden; margin-bottom: 16px; }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; }
.post-card-date { font-size: 12px; color: var(--faint); }
.post-card-title { font-family: var(--display); font-size: var(--step-2); margin: 6px 0 8px; }
.post-card-excerpt { color: var(--graphite); }

/* Empty states */
.empty-state { text-align: center; padding: 72px 0; max-width: 520px; margin-inline: auto; }
.empty-state--page { padding-block: clamp(72px, 12vw, 160px); }
.empty-state .icon { margin: 0 auto 20px; }
.empty-state h1, .empty-state h2 { font-family: var(--display); font-size: var(--step-3); }
.empty-state p { color: var(--graphite); margin: 12px auto 28px; }
.empty-state .hero-actions { justify-content: center; }
.not-found-num { font-family: var(--display); font-size: clamp(6rem, 22vw, 14rem); line-height: .9; color: var(--mint); -webkit-text-stroke: 1px var(--line-strong); }
.search-form-page { display: flex; gap: 8px; max-width: 420px; margin-inline: auto; }

/* Pagination */
.pagination { margin-top: clamp(48px, 6vw, 80px); display: flex; justify-content: center; }
.pagination ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.pagination a, .pagination span.page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 8px; border: 1px solid transparent; }
.pagination a:hover { border-color: var(--line-strong); }
.pagination .current { border-color: var(--ink); }

/* ==========================================================================
   Shop archive
   ========================================================================== */
.cat-tabs { border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.cat-tabs ul { display: flex; gap: 28px; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
.cat-tabs ul::-webkit-scrollbar { display: none; }
.cat-tabs a { display: block; padding: 12px 0; white-space: nowrap; color: var(--graphite); border-bottom: 1px solid transparent; margin-bottom: -1px; }
.cat-tabs a:hover { color: var(--ink); }
.cat-tabs a[aria-current] { color: var(--ink); border-bottom-color: var(--ink); }

.shop-layout { display: grid; gap: 48px; padding-bottom: var(--section); }
.shop-toolbar { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; }
.shop-count { color: var(--graphite); font-size: var(--step--1); margin-right: auto; }
.shop-sort select { min-height: 40px; width: auto; border-color: transparent; padding-left: 8px; font-size: var(--step--1); background-color: transparent; }
.shop-sort select:hover { border-color: var(--line-strong); }
.woocommerce-ordering { margin: 0; }

.shop-sidebar { position: fixed; top: 0; bottom: 0; left: 0; z-index: 100; width: min(360px, 88vw); background: var(--paper); overflow-y: auto; transform: translateX(-100%); transition: transform 360ms var(--ease); }
.shop-sidebar.is-open { transform: none; }
@media (max-width: 999px) { .shop-sidebar:not(.is-open) { visibility: hidden; transition: transform 360ms var(--ease), visibility 0s 360ms; } }
.shop-sidebar-head { display: flex; align-items: center; justify-content: space-between; min-height: 64px; padding: 0 12px 0 24px; border-bottom: 1px solid var(--line); }
.filter-block { padding: 24px; }
.filter-title { font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: var(--track-caps); text-transform: none; margin-bottom: 12px; }
.filter-list { list-style: none; padding: 0; }
.filter-list a { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; color: var(--graphite); }
.filter-list a:hover, .filter-list a[aria-current] { color: var(--ink); }
.filter-list a[aria-current] span:first-child { text-decoration: underline; text-underline-offset: 4px; }
.filter-count { color: var(--faint); font-size: var(--step--1); }
.filter-widgets .widget + .widget { margin-top: 28px; }
.widget-title { font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: var(--track-caps); text-transform: none; margin-bottom: 12px; }
.widget ul { list-style: none; padding: 0; }
.widget li { padding: 6px 0; }

@media (min-width: 1000px) {
  .shop-layout { grid-template-columns: 220px minmax(0, 1fr); }
  .shop-sidebar { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; z-index: auto; width: auto; transform: none; overflow: visible; max-height: none; }
  .shop-sidebar-head, #filter-overlay, .filter-toggle { display: none !important; }
  .filter-block { padding: 0 0 32px; }
}

/* ==========================================================================
   Single product
   ========================================================================== */
.product-page { padding-top: clamp(16px, 2vw, 28px); }
.product-page > .breadcrumb { margin-bottom: 20px; }
.product-layout { display: grid; gap: 28px; }
@media (min-width: 1000px) {
  .product-layout { grid-template-columns: minmax(0, 1.35fr) minmax(360px, 1fr); gap: clamp(40px, 5vw, 88px); align-items: start; }
}

.gallery { position: relative; margin-inline: calc(var(--gutter) * -1); }
.gallery-main { position: relative; }
.gallery-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-slide { flex: 0 0 100%; scroll-snap-align: start; background: var(--mint); aspect-ratio: 1 / 1; }
.gallery-slide img { width: 100%; height: 100%; object-fit: cover; }
.gallery-dots { display: flex; justify-content: center; gap: 6px; padding-top: 14px; }
.gallery-dots span { width: 6px; height: 6px; border-radius: 50%; background: var(--line-strong); transition: background-color var(--dur); }
.gallery-dots span.is-active { background: var(--ink); }
@media (min-width: 1000px) {
  .gallery { margin-inline: 0; }
  .gallery-track { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; overflow: visible; }
  .gallery-slide:first-child { grid-column: 1 / -1; }
  .gallery:not(.is-multi) .gallery-track { grid-template-columns: 1fr; }
  .gallery-dots { display: none; }
}
.gallery-main > .card-badge { top: 16px; left: 16px; }

.product-summary { min-width: 0; }
@media (min-width: 1000px) { .summary-inner { position: sticky; top: calc(var(--header-h) + 24px); } }
.summary-cat { display: inline-block; font-size: var(--step--1); color: var(--graphite); margin-bottom: 8px; }
.summary-cat:hover { color: var(--ink); text-decoration: underline; }
.product-title { font-family: var(--display); font-size: clamp(2rem, 1.5rem + 1.8vw, 3rem); line-height: 1.08; letter-spacing: -0.01em; }
.summary-price { margin-top: 14px; font-size: var(--step-1); }
.summary-rating { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-size: var(--step--1); color: var(--graphite); }
.summary-rating:hover { color: var(--ink); }
.summary-short { margin-top: 20px; color: var(--graphite); }
.summary-short > * + * { margin-top: .6em; }

.atc-form { margin-top: 28px; }
.variant { border: 0; padding: 0; margin: 0 0 22px; min-width: 0; }
.variant-label { display: flex; gap: 8px; margin-bottom: 10px; font-size: var(--step--1); font-weight: 500; padding: 0; }
.variant-chosen { font-weight: 400; color: var(--graphite); }
.variant.is-missing .variant-label { color: var(--sale); }
.variant-options { display: flex; flex-wrap: wrap; gap: 8px; }
.size-btn { min-width: 52px; height: 44px; padding: 0 14px; border: 1px solid var(--line-strong); font-size: var(--step--1); transition: border-color var(--dur), background-color var(--dur), color var(--dur); }
.size-btn:hover { border-color: var(--ink); }
.size-btn.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.swatch { position: relative; width: 36px; height: 36px; border-radius: 50%; background: var(--swatch, var(--mint)); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); }
.swatch::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid transparent; transition: border-color var(--dur); }
.swatch:hover::after { border-color: var(--line-strong); }
.swatch.is-active::after { border-color: var(--ink); }
.is-unavailable { opacity: .45; }
.size-btn.is-unavailable { text-decoration: line-through; }
.variant.is-missing .size-btn, .variant.is-missing .swatch { box-shadow: inset 0 0 0 1px var(--sale); }
.variant-message { min-height: 1.4em; font-size: var(--step--1); color: var(--sale); margin: -8px 0 12px; }

.atc-row { display: grid; grid-template-columns: auto 1fr; gap: 10px; }
.atc-btn[aria-disabled="true"] { background: var(--graphite); border-color: var(--graphite); }
.qty-stepper { display: inline-flex; align-items: stretch; border: 1px solid var(--line-strong); height: 56px; }
.qty-btn { width: 44px; display: grid; place-items: center; }
.qty-btn:hover { color: var(--leaf); }
.qty-stepper .quantity { display: flex; }
.qty-stepper input[type="number"] { width: 44px; min-height: 0; height: 100%; padding: 0; border: 0; text-align: center; -moz-appearance: textfield; box-shadow: none; }
.qty-stepper input::-webkit-outer-spin-button, .qty-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-stepper--sm { height: 40px; }
.qty-stepper--sm .qty-btn { width: 36px; }

.summary-help { display: flex; align-items: center; gap: 10px; margin-top: 16px; font-size: var(--step--1); color: var(--graphite); }
.summary-help:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.soldout-block { margin-top: 28px; display: grid; gap: 12px; }
.soldout-title { font-family: var(--display); font-size: var(--step-2); }
.wc-atc-default { margin-top: 28px; }
.wc-atc-default form.cart { display: flex; flex-wrap: wrap; gap: 10px; }
.wc-atc-default .group_table td { padding: 8px 0; }

.accordion { margin-top: 32px; border-top: 1px solid var(--line); }
.accordion-item { border-bottom: 1px solid var(--line); }
.accordion-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font-size: var(--step--1); font-weight: 500; letter-spacing: var(--track-caps); text-transform: none; }
.accordion-item summary::-webkit-details-marker { display: none; }
.accordion-item summary .icon { transition: transform var(--dur) var(--ease); }
.accordion-item[open] summary .icon { transform: rotate(180deg); }
.accordion-body { padding-bottom: 24px; color: var(--graphite); font-size: var(--step-0); }
.accordion-body.entry-content { font-size: var(--step-0); color: var(--graphite); }
.spec-list > div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.spec-list > div:last-child { border-bottom: 0; }
.spec-list dt { color: var(--ink); }

.section--related { padding-bottom: var(--section); }

.sticky-atc {
  position: fixed; left: 0; right: 0; bottom: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom)); z-index: 39;
  display: flex; align-items: center; gap: 12px; padding: 10px var(--gutter);
  background: var(--paper); border-top: 1px solid var(--line);
  transform: translateY(120%); transition: transform var(--dur) var(--ease);
}
.sticky-atc.is-visible { transform: none; }
.sticky-atc-info { min-width: 0; flex: 1; display: grid; }
.sticky-atc-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: var(--step--1); }
.sticky-atc-price { font-size: var(--step--1); }
@media (min-width: 1000px) { .sticky-atc { display: none; } }

/* Reviews (WooCommerce markup) */
.reviews-body .woocommerce-Reviews-title, .reviews-body #reply-title { font-family: var(--display); font-size: var(--step-2); color: var(--ink); margin-bottom: 16px; }
.reviews-body .commentlist { list-style: none; padding: 0; }
.reviews-body .comment_container { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.reviews-body .avatar { border-radius: 50%; }
.reviews-body .meta { font-size: var(--step--1); }
.reviews-body .comment-form > p { margin-top: 14px; }
.star-rating { position: relative; display: inline-block; width: 5.4em; height: 1em; overflow: hidden; font-size: 13px; line-height: 1; }
.star-rating::before { content: "★★★★★"; position: absolute; color: var(--line-strong); letter-spacing: .08em; }
.star-rating span { position: absolute; top: 0; left: 0; overflow: hidden; padding-top: 1.5em; }
.star-rating span::before { content: "★★★★★"; position: absolute; top: 0; left: 0; color: var(--ink); letter-spacing: .08em; }
p.stars a { display: inline-block; width: 1.2em; overflow: hidden; color: transparent; position: relative; font-size: 20px; }
p.stars a::before { content: "☆"; position: absolute; left: 0; top: 0; color: var(--ink); }
p.stars:hover a::before, p.stars.selected a::before { content: "★"; }
p.stars a:hover ~ a::before, p.stars.selected a.active ~ a::before { content: "☆"; }

/* ==========================================================================
   WooCommerce notices
   ========================================================================== */
.woocommerce-notices-wrapper:not(:empty) { max-width: var(--container); margin: 16px auto 0; padding-inline: var(--gutter); }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .wc-block-components-notice-banner {
  list-style: none; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 18px; margin: 0 0 16px; border-left: 2px solid var(--ink); background: var(--mint); font-size: var(--step-0);
}
.woocommerce-error { border-left-color: var(--error); color: var(--error); display: block; }
.woocommerce-error li + li { margin-top: 4px; }
.woocommerce-message { border-left-color: var(--success); }
.woocommerce-message .button, .woocommerce-info .button { order: 2; min-height: 36px; padding-inline: 16px; background: transparent; color: var(--ink); }
.woocommerce-message .button:hover, .woocommerce-info .button:hover { background: var(--ink); color: var(--paper); }
.woocommerce-info a:not(.button), .woocommerce-message a:not(.button) { text-decoration: underline; }

/* ==========================================================================
   Cart, checkout, account (flow pages)
   ========================================================================== */
.flow-page { padding-top: clamp(28px, 4vw, 48px); padding-bottom: var(--section); }
.flow-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: clamp(24px, 3vw, 40px); padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.flow-head--center { flex-direction: column; align-items: center; text-align: center; border-bottom: 0; }
.flow-sub { color: var(--graphite); }
.flow-layout { display: grid; gap: 40px; }
@media (min-width: 1000px) {
  .flow-layout { grid-template-columns: minmax(0, 1fr) 400px; gap: clamp(40px, 5vw, 80px); align-items: start; }
  .flow-summary { position: sticky; top: calc(var(--header-h) + 24px); }
}
.summary-card { background: var(--mint); padding: clamp(20px, 3vw, 32px); }

/* Cart */
.cart-list { border-top: 1px solid var(--line); }
.cart-row { display: grid; grid-template-columns: 96px 1fr auto; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 700px) { .cart-row { grid-template-columns: 128px 1fr auto; gap: 24px; } }
.cart-thumb { background: var(--mint); aspect-ratio: 1 / 1; overflow: hidden; }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-name { font-family: var(--display); font-size: var(--step-1); line-height: 1.25; }
.cart-name:hover { text-decoration: underline; text-underline-offset: 3px; }
.cart-variation dl.variation { display: grid; grid-template-columns: auto 1fr; gap: 0 6px; margin-top: 6px; font-size: var(--step--1); color: var(--graphite); }
.cart-variation dd p { margin: 0; }
.cart-unit { font-size: var(--step--1); color: var(--graphite); margin-top: 4px; }
.cart-controls { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 14px; }
.cart-remove { color: var(--graphite); font-weight: 400; letter-spacing: 0; }
.cart-remove:hover { color: var(--sale); }
.cart-line { font-weight: 500; white-space: nowrap; }
.cart-actions { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 24px; }
.coupon { display: flex; gap: 0; flex: 1 1 280px; max-width: 420px; }
.coupon input { border-right: 0; }
.cart-update[disabled] { opacity: .45; }
.continue-link { margin-top: 20px; }

.cart_totals h2 { font-family: var(--display); font-size: var(--step-2); margin-bottom: 16px; }
.cart_totals table, .woocommerce-checkout-review-order-table { font-size: var(--step-0); }
.cart_totals th, .cart_totals td, .woocommerce-checkout-review-order-table th, .woocommerce-checkout-review-order-table td { padding: 12px 0; border-bottom: 1px solid var(--line-strong); text-align: left; vertical-align: top; font-weight: 400; }
.cart_totals td, .woocommerce-checkout-review-order-table td:last-child, .woocommerce-checkout-review-order-table th:last-child { text-align: right; }
.cart_totals .order-total th, .cart_totals .order-total td, .woocommerce-checkout-review-order-table .order-total th, .woocommerce-checkout-review-order-table .order-total td { border-bottom: 0; font-size: var(--step-1); font-weight: 500; padding-top: 16px; }
.woocommerce-shipping-methods { list-style: none; padding: 0; text-align: right; }
.woocommerce-shipping-methods li { margin-bottom: 6px; }
.woocommerce-shipping-methods label { display: inline; font-weight: 400; }
.woocommerce-shipping-destination, .shipping-calculator-button { font-size: var(--step--1); color: var(--graphite); }
.shipping-calculator-form { margin-top: 12px; text-align: left; }
.wc-proceed-to-checkout { margin-top: 20px; }
.wc-proceed-to-checkout .checkout-button { width: 100%; min-height: 56px; }

/* Checkout */
.checkout-step + .checkout-step { margin-top: 48px; }
.step-title { display: flex; align-items: center; gap: 14px; font-family: var(--display); font-size: var(--step-2); margin-bottom: 20px; }
.step-num { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--ink); border-radius: 50%; font-family: var(--sans); font-size: var(--step--1); font-weight: 500; flex-shrink: 0; }
.woocommerce-billing-fields h3, .woocommerce-shipping-fields h3:not(#ship-to-different-address), .woocommerce-additional-fields h3 { display: none; }
#ship-to-different-address { font-family: var(--sans); font-size: var(--step-0); font-weight: 500; margin-bottom: 16px; }
#ship-to-different-address label { display: flex; align-items: center; font-size: var(--step-0); }
.woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper, .woocommerce-address-fields__field-wrapper, .woocommerce-account-fields, .woocommerce-additional-fields__field-wrapper {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px 14px;
}
.form-row { grid-column: 1 / -1; margin: 0; }
@media (min-width: 600px) { .form-row-first { grid-column: 1; } .form-row-last { grid-column: 2; } }
.form-row .optional { color: var(--faint); font-weight: 400; }
.form-row.woocommerce-invalid input, .form-row.woocommerce-invalid select { border-color: var(--error); }
.form-row .description { font-size: var(--step--1); color: var(--graphite); margin-top: 4px; }
.woocommerce-additional-fields { margin-top: 32px; }
.woocommerce-form-login-toggle, .woocommerce-form-coupon-toggle { margin-bottom: 8px; }
.checkout_coupon, .woocommerce-form-login { padding: 20px; border: 1px solid var(--line); margin-bottom: 24px; display: grid; gap: 12px; }

#payment { margin-top: 24px; }
#payment .wc_payment_methods { list-style: none; padding: 0; border-top: 1px solid var(--line-strong); }
#payment .wc_payment_method { padding: 14px 0; border-bottom: 1px solid var(--line-strong); }
#payment .wc_payment_method > label { display: inline; font-size: var(--step-0); font-weight: 500; }
#payment .wc_payment_method img { display: inline-block; max-height: 22px; vertical-align: middle; margin-left: 6px; }
#payment .payment_box { margin-top: 10px; padding: 14px; background: var(--paper); font-size: var(--step--1); color: var(--graphite); }
#payment .place-order { margin-top: 20px; display: grid; gap: 14px; }
.woocommerce-terms-and-conditions-wrapper { font-size: var(--step--1); color: var(--graphite); }
#place_order { width: 100%; min-height: 56px; }
.blockUI.blockOverlay { background: rgba(255, 255, 255, .6) !important; }

/* Thank you */
.thankyou-hero { text-align: center; max-width: 640px; margin: 0 auto clamp(32px, 5vw, 56px); }
.thankyou-hero p { color: var(--graphite); margin-top: 14px; font-size: var(--step-1); }
.thankyou-hero .hero-actions { justify-content: center; }
.success-mark { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 20px; border: 1px solid var(--ink); border-radius: 50%; }
.order-meta { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 48px; }
.order-meta > div { padding: 20px 16px; }
.order-meta dt { font-size: 12px; color: var(--faint); }
.order-meta dd { font-family: var(--display); font-size: var(--step-1); margin-top: 4px; }
@media (min-width: 800px) { .order-meta { grid-template-columns: repeat(4, 1fr); } .order-meta > div + div { border-left: 1px solid var(--line); } }
.thankyou-details { max-width: 820px; margin-inline: auto; }
.woocommerce-order-details__title, .woocommerce-column__title { font-family: var(--display); font-size: var(--step-2); margin: 32px 0 16px; }
.woocommerce-table--order-details th, .woocommerce-table--order-details td { padding: 12px 0; border-bottom: 1px solid var(--line); text-align: left; }
.woocommerce-table--order-details td:last-child, .woocommerce-table--order-details tfoot td { text-align: right; }
.woocommerce-customer-details address { font-style: normal; line-height: 1.7; padding: 20px; background: var(--mint); }
.woocommerce-columns--addresses { display: grid; gap: 24px; }
@media (min-width: 700px) { .woocommerce-columns--addresses { grid-template-columns: 1fr 1fr; } }
.thankyou-continue { text-align: center; margin-top: 48px; }

/* Account */
.account-layout { display: grid; gap: 32px; }
@media (min-width: 1000px) { .account-layout { grid-template-columns: 220px minmax(0, 1fr); gap: 64px; } }
.account-nav ul { list-style: none; padding: 0; display: flex; gap: 24px; overflow-x: auto; border-bottom: 1px solid var(--line); scrollbar-width: none; }
.account-nav a { display: block; padding: 10px 0; white-space: nowrap; color: var(--graphite); border-bottom: 1px solid transparent; margin-bottom: -1px; }
.account-nav a:hover { color: var(--ink); }
.account-nav a[aria-current] { color: var(--ink); border-bottom-color: var(--ink); }
@media (min-width: 1000px) {
  .account-nav ul { display: grid; gap: 0; border: 0; border-top: 1px solid var(--line); }
  .account-nav li { border-bottom: 1px solid var(--line); }
  .account-nav a { padding: 14px 0; border: 0; margin: 0; }
  .account-nav a[aria-current] { font-weight: 500; }
}
.account-content h2, .account-content h3 { font-family: var(--display); font-size: var(--step-2); margin-bottom: 16px; }
.account-content > p { color: var(--graphite); }
.account-content form { display: grid; gap: 16px; }
.account-content fieldset { border: 1px solid var(--line); padding: 20px; display: grid; gap: 14px; }
.account-content legend { font-weight: 500; padding: 0 6px; }
.dashboard-hello { font-family: var(--display); font-size: var(--step-3); margin-bottom: 24px !important; }
.dashboard-last { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; padding: 20px; background: var(--mint); margin-bottom: 24px; }
.dashboard-last:hover { background: #ebe9e5; }
.dashboard-label { font-size: 12px; color: var(--faint); width: 100%; }
.dashboard-order { font-family: var(--display); font-size: var(--step-2); }
.dashboard-total { margin-left: auto; font-weight: 500; }
.status-pill { padding: 4px 10px; border: 1px solid var(--line-strong); font-size: 12px; }
.status-completed { border-color: var(--success); color: var(--success); }
.status-processing, .status-on-hold { border-color: var(--leaf); color: var(--leaf); }
.status-failed, .status-cancelled { border-color: var(--error); color: var(--error); }
.dashboard-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.dashboard-links a { display: grid; gap: 4px; padding: 22px; border: 1px solid var(--line); transition: border-color var(--dur); }
.dashboard-links a:hover { border-color: var(--ink); }
.dashboard-links .icon { margin-bottom: 10px; }
.dashboard-links small { color: var(--graphite); }
.dashboard-logout { margin-top: 28px; }
.woocommerce-orders-table { font-size: var(--step--1); }
.woocommerce-orders-table th, .woocommerce-orders-table td { padding: 14px 8px 14px 0; border-bottom: 1px solid var(--line); text-align: left; }
.woocommerce-orders-table .button { min-height: 34px; padding-inline: 14px; font-size: 11px; background: transparent; color: var(--ink); margin: 2px; }
@media (max-width: 700px) {
  .woocommerce-orders-table thead { display: none; }
  .woocommerce-orders-table tr { display: grid; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .woocommerce-orders-table td { border: 0; padding: 3px 0; display: flex; justify-content: space-between; gap: 12px; }
  .woocommerce-orders-table td::before { content: attr(data-title); color: var(--faint); }
}
.woocommerce-Addresses { display: grid; gap: 24px; }
@media (min-width: 700px) { .woocommerce-Addresses { grid-template-columns: 1fr 1fr; } }
.woocommerce-Address { padding: 20px; background: var(--mint); }
.woocommerce-Address-title { display: flex; justify-content: space-between; align-items: baseline; }
.woocommerce-Address-title a { font-size: var(--step--1); text-decoration: underline; }
.woocommerce-Address address { font-style: normal; color: var(--graphite); }

/* Auth */
.auth-page .flow-head { margin-bottom: 32px; }
.account-auth { display: grid; gap: 24px; max-width: 980px; margin-inline: auto; }
@media (min-width: 860px) { .account-auth { grid-template-columns: 1fr 1fr; gap: 0; } .account-auth-card + .account-auth-card { border-left: 0; } }
.account-auth-card { padding: clamp(24px, 4vw, 48px); border: 1px solid var(--line); }
.account-auth-card--register { background: var(--mint); border-color: var(--mint); }
.account-auth-title { font-family: var(--display); font-size: var(--step-2); }
.account-auth-desc { color: var(--graphite); margin: 6px 0 24px; }
.account-auth form { display: grid; gap: 16px; }
.account-auth-actions { display: grid; gap: 16px; }
.account-remember { display: flex; align-items: center; font-weight: 400; }
.account-lost-password a { font-size: var(--step--1); text-decoration: underline; text-underline-offset: 3px; color: var(--graphite); }
.account-register-note { font-size: var(--step--1); color: var(--graphite); }
.woocommerce-privacy-policy-text { font-size: 12px; color: var(--graphite); }
.woocommerce-password-strength { font-size: 12px; margin-top: 6px; }
.show-password-input { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); }
.password-input { position: relative; display: block; }

/* WooCommerce Blocks (if cart/checkout pages use blocks) */
.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout { max-width: var(--container); margin-inline: auto; padding: clamp(28px, 4vw, 48px) var(--gutter) var(--section); }
.wc-block-components-title, .wc-block-cart__totals-title { font-family: var(--display) !important; text-transform: none !important; font-weight: 700 !important; }
.wc-block-components-text-input input, .wc-block-components-combobox .wc-block-components-combobox-control input { border-radius: var(--r-sm) !important; }

/* Fallback wrapper */
.wc-fallback { padding-top: 32px; }


/* ==========================================================================
   Betterlife layer — brand components and overrides
   ========================================================================== */

/* Type & brand */
body { font-size: var(--step-0); line-height: 1.6; }
.page-title, .section-title, .product-title, .drawer-title, .newsletter-title, .footer-tagline,
.cart-name, .step-title, .empty-state h1, .empty-state h2, .help-box h2, .account-auth-title,
.dashboard-hello, .dashboard-order, .order-meta dd, .post-card-title, .soldout-title,
.entry-content h2, .entry-content h3, .woocommerce-order-details__title, .woocommerce-column__title,
.cart_totals h2, .account-content h2, .account-content h3, .reviews-body .woocommerce-Reviews-title, .reviews-body #reply-title {
  font-weight: 700; letter-spacing: -0.025em;
}
.cart-name, .footer-tagline, .order-meta dd, .dashboard-order { font-weight: 600; letter-spacing: -0.01em; }
.section-lead { color: var(--graphite); font-size: var(--step-1); max-width: 56ch; margin-top: 10px; }
.section-head--stack { display: block; }
::selection { background: var(--evergreen); color: var(--paper); }

.wordmark { font-family: var(--display); font-weight: 800; font-size: 1.625rem; letter-spacing: -0.04em; text-transform: none; display: inline-flex; align-items: baseline; }
.wordmark::after { content: ""; width: .28em; height: .28em; margin-left: .06em; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 1px rgba(0,0,0,.06); }
.wordmark--sm { font-size: 1.375rem; }
.site-logo { justify-self: start; }
.header-bar { grid-template-columns: auto 1fr auto; }
.header-left { order: 2; justify-content: center; }
.site-logo { order: 1; }
.header-actions { order: 3; }
@media (max-width: 999px) {
  .header-bar { grid-template-columns: auto 1fr auto; }
  .header-left { order: 0; justify-content: flex-start; }
  .site-logo { order: 1; justify-self: center; }
}
.primary-nav .nav-list { gap: 4px; }
.primary-nav .nav-list > li > a { font-size: 15px; font-weight: 500; letter-spacing: 0; padding: 8px 14px; border-radius: 999px; }
.primary-nav .nav-list > li > a::after { display: none; }
.primary-nav .nav-list > li > a:hover { background: var(--mint); }
.primary-nav .current-menu-item > a, .primary-nav .current-menu-ancestor > a { background: var(--mint); color: var(--evergreen); }
.primary-nav .sub-menu { border-radius: var(--r-md); box-shadow: 0 12px 32px -12px rgba(12, 59, 46, .25); }
.cart-count, .mobile-cart-count { background: var(--sun); color: var(--ink); }
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line); }

/* Buttons */
.btn, .button, .woocommerce-button, #place_order, .checkout-button, button.single_add_to_cart_button, .wc-block-components-button:not(.is-link) {
  font-size: 15px; font-weight: 600; letter-spacing: 0; background: var(--evergreen); border-color: var(--evergreen);
}
.btn:hover, .button:hover, .woocommerce-button:hover, #place_order:hover, .checkout-button:hover, button.single_add_to_cart_button:hover { background: var(--leaf); border-color: var(--leaf); }
.btn .icon { flex-shrink: 0; }
.btn-outline { background: transparent; color: var(--evergreen); border-color: var(--line-strong); }
.btn-outline:hover { background: var(--mint); color: var(--evergreen); border-color: var(--evergreen); }
.btn-light { background: var(--paper); color: var(--evergreen); border-color: var(--paper); }
.btn-light:hover { background: var(--sun); color: var(--ink); border-color: var(--sun); }
.btn-sun { background: var(--sun); color: var(--ink); border-color: var(--sun); }
.btn-sun:hover { background: var(--paper); color: var(--evergreen); border-color: var(--paper); }
.btn-ghost { background: transparent; border-color: transparent; color: var(--evergreen); }
.link-underline { font-size: 15px; font-weight: 600; letter-spacing: 0; color: var(--evergreen); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 28px; }

/* Surfaces: rounded */
.card-media, .gallery-slide, .cart-thumb, .drawer-item-img, .post-card-img, .summary-card, .help-box, .admin-note,
.empty-note, .dashboard-last, .dashboard-links a, .woocommerce-Address, .woocommerce-customer-details address,
.account-auth-card, .checkout_coupon, .woocommerce-form-login, #payment .payment_box, .about-figure img,
.woocommerce-message, .woocommerce-info, .woocommerce-error, .toast { border-radius: var(--r-md); }
.card-media { background: var(--mint); }
.card-badge { border-radius: 999px; padding: 6px 10px; font-weight: 600; }
.card-badge.is-new { background: var(--sun); color: var(--ink); }
.card-quick { box-shadow: 0 4px 14px -4px rgba(12, 59, 46, .35); color: var(--evergreen); }
@media (hover: hover) and (min-width: 1000px) { .card-quick, .card-quick--link { box-shadow: none; } }
.card-quick:hover { background: var(--evergreen); }
.card-title { font-weight: 500; }
.card-price { font-weight: 600; }
.price-current, .price-current .amount { font-weight: 700; color: var(--ink); }
.price-sale, .price-current ins { color: var(--sale); }
.stars { background: linear-gradient(90deg, var(--sun) var(--rating, 0%), var(--line-strong) var(--rating, 0%)); }
.size-btn { border-radius: var(--r-sm); }
.size-btn.is-active { background: var(--evergreen); border-color: var(--evergreen); }
.qty-stepper { border-radius: 999px; overflow: hidden; }
.accordion-item summary { font-size: var(--step-0); font-weight: 600; }
.coupon input { border-radius: 999px 0 0 999px; }
.coupon .btn { border-radius: 0 999px 999px 0; }
.step-num { border: 0; background: var(--sun); color: var(--ink); font-weight: 700; }
.success-mark { border: 0; background: var(--mint); color: var(--leaf); }
.account-auth-card--register { background: var(--mint); }
@media (min-width: 860px) {
  .account-auth { gap: 20px; }
  .account-auth-card + .account-auth-card { border-left: 1px solid var(--mint); }
}
.side-panel { border-radius: 0; }
.side-panel--right { border-top-left-radius: var(--r-lg); border-bottom-left-radius: var(--r-lg); }
.side-panel--left { border-top-right-radius: var(--r-lg); border-bottom-right-radius: var(--r-lg); }
.mobile-nav .nav-list > li > a { font-weight: 700; font-size: 1.625rem; letter-spacing: -0.02em; }
.cat-tabs a[aria-current] { color: var(--evergreen); border-bottom-color: var(--evergreen); font-weight: 600; }
.bottom-nav-item.is-active { color: var(--evergreen); }
.bottom-nav-item.is-active .icon { stroke-width: 2; }
.filter-title, .footer-col-title, .widget-title, .panel-heading { letter-spacing: 0; font-weight: 700; font-size: 14px; }
.faq-item summary { font-weight: 600; }
.faq-item summary::after { color: var(--leaf); }
.pagination a, .pagination span.page-numbers { border-radius: 999px; }
.pagination .current { background: var(--evergreen); color: var(--paper); border-color: var(--evergreen); }
.toast { background: var(--evergreen); }
.woocommerce-message, .woocommerce-info, .woocommerce-error { border-left-width: 4px; }

/* Hero */
.hero { background: linear-gradient(180deg, var(--mint) 0%, var(--paper) 100%); overflow: hidden; }
.hero-grid { display: grid; gap: 40px; align-items: center; padding-block: clamp(40px, 6vw, 88px) 0; }
.hero-title { font-family: var(--display); font-size: var(--step-5); font-weight: 800; line-height: 1.0; letter-spacing: -0.045em; max-width: 15ch; color: var(--evergreen); text-wrap: balance; }
.hero-desc { margin-top: 20px; max-width: 48ch; font-size: var(--step-1); color: var(--graphite); }
.hero-points { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 32px; font-size: 14px; color: var(--graphite); }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points .icon { color: var(--leaf); }
.hero-visual { position: relative; display: grid; place-items: end center; min-height: 460px; }
.hero-visual::before { content: ""; position: absolute; left: 50%; bottom: -140px; width: min(560px, 110%); aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: var(--evergreen); }
.hero-visual::after { content: ""; position: absolute; right: 8%; top: 12%; width: 84px; height: 84px; border-radius: 50%; background: var(--sun); }
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; padding-bottom: 0; }
  .hero-copy { padding-bottom: clamp(56px, 7vw, 96px); }
  .hero-visual { min-height: 600px; }
}

/* Phone illustration */
.phone { position: relative; z-index: 1; width: min(310px, 78vw); aspect-ratio: 9 / 18.5; padding: 10px; border-radius: 44px 44px 0 0; background: #0a1a14; box-shadow: 0 30px 60px -20px rgba(12, 59, 46, .55); translate: 0 1px; }
.phone-screen { height: 100%; border-radius: 36px 36px 0 0; background: var(--paper); overflow: hidden; padding: 22px 16px 0; display: flex; flex-direction: column; gap: 14px; font-size: 12px; }
.phone-shot { width: 100%; height: 100%; object-fit: cover; object-position: top; margin: -22px -16px 0; width: calc(100% + 32px); max-width: none; }
.ph-top { display: flex; justify-content: space-between; align-items: center; }
.ph-hello { font-weight: 600; color: var(--graphite); }
.ph-avatar { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--sun); font-weight: 700; }
.ph-balance { background: var(--evergreen); color: var(--paper); border-radius: 20px; padding: 16px; display: grid; gap: 2px; }
.ph-label { opacity: .7; }
.ph-amount { font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: -0.03em; }
.ph-amount small { font-size: 15px; opacity: .6; }
.ph-fund { justify-self: start; display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; padding: 6px 10px; border-radius: 999px; background: var(--sun); color: var(--ink); font-weight: 600; }
.ph-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ph-tile { display: grid; justify-items: center; gap: 6px; padding: 10px 4px; border-radius: 14px; background: var(--mint); font-size: 11px; font-weight: 600; color: var(--evergreen); }
.ph-ic { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--paper); color: var(--leaf); }
.ph-list { display: grid; gap: 10px; }
.ph-list-title { font-weight: 700; font-size: 13px; }
.ph-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; font-weight: 600; }
.ph-row small { display: block; font-weight: 400; color: var(--faint); font-size: 10.5px; }
.ph-row b { font-weight: 700; font-size: 12px; }
.ph-row b.is-in { color: var(--leaf); }
.ph-ic--sm { width: 28px; height: 28px; border-radius: 9px; background: var(--mint); }
.ph-ic--in { background: #d9f2e5; }
@media (prefers-reduced-motion: no-preference) {
  .phone { animation: phone-up 900ms 120ms var(--ease) both; }
  .hero-title, .hero-desc, .hero-actions, .hero-points { animation: bl-fade 700ms var(--ease) both; }
  .hero-desc { animation-delay: 80ms; } .hero-actions { animation-delay: 160ms; } .hero-points { animation-delay: 240ms; }
}
@keyframes phone-up { from { transform: translateY(60px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes bl-fade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* Everyday services */
.service-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 760px) { .service-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
.service-tile { display: grid; align-content: start; gap: 8px; padding: clamp(18px, 2.4vw, 28px); border-radius: var(--r-lg); background: var(--mint); transition: background-color var(--dur) var(--ease); }
.service-tile:hover { background: var(--mint-deep); }
.service-tile-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--paper); color: var(--leaf); margin-bottom: 8px; }
.service-tile h3 { font-size: var(--step-1); letter-spacing: -0.015em; color: var(--evergreen); }
.service-tile p { color: var(--graphite); font-size: 14.5px; }
@media (max-width: 520px) { .service-tile p { display: none; } .service-tile { justify-items: start; } }

/* China band + steps */
.china-band { background: var(--evergreen); color: var(--paper); padding-block: var(--section); border-radius: var(--r-lg); margin-inline: clamp(0px, 1.5vw, 20px); }
.china-grid { display: grid; gap: 48px; align-items: start; }
@media (min-width: 960px) { .china-grid { grid-template-columns: 1fr 1fr; gap: 88px; align-items: center; } }
.china-band .section-title { color: var(--paper); font-size: var(--step-4); max-width: 14ch; }
.china-band .section-lead { color: rgba(255, 255, 255, .78); }
.china-band .link-underline { color: var(--paper); }
.china-figure { margin-top: 32px; }
.china-figure img { border-radius: var(--r-md); }
.pay-chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.pay-chips li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .1); font-weight: 600; font-size: 14px; }
.chip-dot { width: 10px; height: 10px; border-radius: 50%; }
.chip-dot--alipay { background: var(--alipay); }
.chip-dot--wechat { background: var(--wechat); }
.steps { list-style: none; padding: 0; counter-reset: step; display: grid; gap: 12px; }
.steps li { counter-increment: step; position: relative; padding: 22px 22px 22px 80px; border-radius: var(--r-md); background: var(--evergreen-2); }
.steps li::before { content: counter(step); position: absolute; left: 22px; top: 22px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--sun); color: var(--ink); font-family: var(--display); font-weight: 800; }
.steps h2, .steps h3 { font-size: var(--step-1); letter-spacing: -0.01em; }
.steps p { margin-top: 4px; color: rgba(255, 255, 255, .75); font-size: 15px; }
.steps--light li { background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.steps--light p { color: var(--graphite); }
.steps--light h2 { color: var(--evergreen); }

/* Categories */
.section--cats { padding-top: var(--section); }
.cat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 900px) { .cat-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; } }
.cat-card { display: grid; justify-items: center; text-align: center; gap: 2px; }
.cat-card-img { display: grid; place-items: center; width: 100%; aspect-ratio: 1; border-radius: 50%; background: var(--mint); color: var(--leaf); overflow: hidden; margin-bottom: 10px; transition: box-shadow var(--dur) var(--ease); }
.cat-card-img img { width: 100%; height: 100%; object-fit: cover; }
.cat-card:hover .cat-card-img { box-shadow: 0 0 0 3px var(--sun); }
.cat-card-name { font-weight: 600; line-height: 1.3; }
.cat-card-count { font-size: 13px; color: var(--faint); }

/* Services strip (marketplace promises) */
.services { border: 0; background: var(--paper); }
.services .icon { color: var(--leaf); }
.services-grid .service { border-color: var(--line); }
.service-title { font-weight: 600; }

/* Mission */
.mission-grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .mission-grid { grid-template-columns: 1fr 1.2fr; gap: 96px; } }
.mission-title { font-family: var(--display); font-size: var(--step-4); font-weight: 800; letter-spacing: -0.04em; line-height: 1.02; color: var(--evergreen); max-width: 12ch; }
.mission-lead p { margin-top: 16px; font-size: var(--step-1); color: var(--graphite); max-width: 36ch; }
.mission-list { display: grid; gap: 16px; }
.mission-list > div { padding: 28px; border-radius: var(--r-lg); background: var(--mint); }
.mission-list dt { font-family: var(--display); font-weight: 700; font-size: var(--step-1); color: var(--leaf); }
.mission-list dd { margin-top: 8px; font-size: var(--step-1); line-height: 1.5; color: var(--ink); }

/* App CTA */
.app-cta { padding-block: 0 var(--section); }
.app-cta-inner { display: grid; gap: 24px; align-items: center; padding: clamp(28px, 5vw, 56px); border-radius: var(--r-lg); background: var(--sun); }
.app-cta .section-title { color: var(--ink); }
.app-cta .section-lead { color: rgba(15, 36, 28, .78); }
@media (min-width: 900px) { .app-cta-inner { grid-template-columns: 1fr auto; } }
.app-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.app-badge { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 18px 8px 14px; border-radius: 14px; background: var(--ink); color: var(--paper); line-height: 1.1; font-weight: 700; font-size: 16px; }
.app-badge small { display: block; font-size: 10.5px; font-weight: 500; opacity: .75; }
.app-badge:hover { background: var(--evergreen-2); color: var(--paper); }
.app-badges--light { margin-top: 20px; }
.app-badges--light .app-badge { background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
.app-badges--light .app-badge:hover { background: rgba(255, 255, 255, .18); color: var(--paper); }

/* Buy from China page */
.china-hero { background: var(--mint); padding-block: clamp(28px, 4vw, 48px) clamp(48px, 6vw, 88px); }
.china-hero-grid { display: grid; gap: 40px; align-items: end; }
@media (min-width: 960px) { .china-hero-grid { grid-template-columns: 1.1fr .9fr; gap: 72px; } }
.china-hero .page-title { color: var(--evergreen); font-weight: 800; letter-spacing: -0.045em; }
.china-hero .pay-chips li { background: var(--paper); color: var(--ink); }
.china-hero .pay-chips .icon { color: var(--leaf); }
.sourcing-layout { display: grid; gap: 40px; align-items: start; }
@media (min-width: 960px) { .sourcing-layout { grid-template-columns: .8fr 1.2fr; gap: 80px; } .sourcing-aside { position: sticky; top: calc(var(--header-h) + 24px); } }
.check-list { list-style: none; padding: 0; display: grid; gap: 12px; margin: 28px 0; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list .icon { color: var(--leaf); margin-top: 3px; flex-shrink: 0; }
.sourcing-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 14px; padding: clamp(20px, 3.5vw, 40px); border-radius: var(--r-lg); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line), 0 24px 48px -32px rgba(12, 59, 46, .35); }
.field { grid-column: 1 / -1; min-width: 0; }
@media (min-width: 600px) { .field--half { grid-column: span 1; } }
.field .optional { color: var(--faint); font-weight: 400; }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--error); box-shadow: inset 0 0 0 1px var(--error); }
.field-error { margin-top: 6px; font-size: 13px; color: var(--error); }
.radio-row { border: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.radio-row legend { font-size: var(--step--1); font-weight: 500; margin-bottom: 8px; width: 100%; }
.radio-row label { display: inline-flex; align-items: center; margin: 0; padding: 10px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-strong); font-weight: 500; cursor: pointer; }
.radio-row label:has(input:checked) { box-shadow: inset 0 0 0 2px var(--evergreen); background: var(--mint); }
.radio-row input { margin-right: 8px; }
.form-status { min-height: 1.4em; margin-top: 12px; font-size: 15px; }
.form-status.is-success { padding: 14px 16px; border-radius: var(--r-sm); background: var(--mint); color: var(--evergreen); font-weight: 600; }
.form-status.is-error { color: var(--error); }

/* Footer */
.site-footer a:hover { color: var(--sun); }
.footer-newsletter { border-bottom-color: rgba(255, 255, 255, .12); }
.newsletter-form input[type="email"] { border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px; padding-inline: 20px; }
.newsletter-form input[type="email"]:focus { border-color: var(--sun); box-shadow: none; }
.newsletter-form .btn-light { background: var(--sun); border-color: var(--sun); color: var(--ink); }
.newsletter-form .btn-light:hover { background: var(--paper); border-color: var(--paper); }
.footer-tagline { max-width: 22ch; }
.footer-social a { border-color: rgba(255, 255, 255, .2); }
.footer-masthead { border-top-color: rgba(255, 255, 255, .12); }
.wordmark--giant { font-size: clamp(3rem, 16vw, 15rem); letter-spacing: -0.06em; color: rgba(255, 255, 255, .95); justify-content: center; width: 100%; }

/* ==========================================================================
   Print
   ========================================================================== */
@media print {
  .site-header, .announcement, .bottom-nav, .site-footer, .sticky-atc, .toast-stack { display: none !important; }
  body { padding: 0; }
}
