/* =====================================================================
   MULTI-PURPOSE STORE — Design System
   ---------------------------------------------------------------------
   Every visual knob is a CSS variable. Edit these in :root (or use the
   Theme Studio panel → "Export" to grab a copy) to re-skin the whole
   theme: brand color, rounded pill menus, button shapes, fonts, density,
   dark mode, layout width, borders, shadows...
   ===================================================================== */

/* ------------------------------------------------------------------ */
/* 1. TOKENS                                                           */
/* ------------------------------------------------------------------ */
:root {
  /* --- Brand palette ---------------------------------------------- */
  --brand: #7c5cf6;            /* primary brand color                 */
  --brand-ink: #5a3ee0;        /* darker press state                  */
  --brand-soft: #efeafd;       /* brand tint used for chips/ghosts    */
  --brand-contrast: #ffffff;   /* text sitting on brand                */
  --accent: #ff8a3d;           /* secondary accent                     */
  --accent-ink: #e86f1c;
  --accent-soft: #fff1e6;

  /* --- Surfaces ---------------------------------------------------- */
  --bg: #f7f7fb;               /* page background                      */
  --surface: #ffffff;          /* cards, panels                        */
  --surface-2: #ffffff;        /* elevated blocks                      */
  --border: #e8e8f0;           /* hairlines                            */

  /* --- Typography -------------------------------------------------- */
  --text: #191928;             /* body text                            */
  --text-muted: #6b6b80;       /* secondary text                       */
  --text-faint: #9c9cb0;
  --font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: var(--font-family);
  --fs-base: 16px;
  --lh: 1.6;

  /* --- Shape & radius --------------------------------------------- */
  --radius-sm: 10px;           /* inputs, chips                        */
  --radius-md: 16px;           /* cards                                */
  --radius-lg: 24px;           /* hero / big sections                  */
  --radius-pill: 999px;        /* pill menus / buttons                 */
  --btn-radius: 999px;         /* button corner — set 4px for square   */

  /* --- Navigation (the famous rounded menu) ------------------------ */
  --menu-bg: #ffffff;          /* nav bar background                   */
  --menu-text: #191928;        /* nav link color                       */
  --menu-radius: 999px;        /* 999px = pill · 18px = soft · 4px = sq*/
  --menu-item-radius: 999px;   /* hover pill shape on each link        */
  --menu-hover-bg: #efeafd;    /* link hover tint                      */
  --menu-hover-text: var(--brand);
  --menu-active-bg: var(--brand);
  --menu-active-text: var(--brand-contrast);
  --menu-pad: 14px 22px;       /* link padding                         */
  --menu-shadow: 0 6px 24px rgba(18, 15, 40, 0.06);

  /* --- Buttons ------------------------------------------------------ */
  --btn-radius: 999px;
  --btn-py: 13px;
  --btn-px: 26px;

  /* --- Layout ------------------------------------------------------- */
  --maxw: 1240px;              /* container width                      */
  --gap: 24px;                 /* grid gutters                         */
  --section-y: 88px;           /* vertical rhythm between sections     */

  /* --- Elevation ---------------------------------------------------- */
  --shadow-sm: 0 2px 10px rgba(18, 15, 40, 0.06);
  --shadow-md: 0 12px 32px rgba(18, 15, 40, 0.10);
  --shadow-lg: 0 24px 60px rgba(18, 15, 40, 0.16);

  /* --- Motion ------------------------------------------------------- */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 0.18s;
  --t-med: 0.32s;

  /* --- Misc --------------------------------------------------------- */
  --header-h: 76px;
}

/* Dark theme is a variable override — toggling [data-theme] re-skins
   everything with no extra CSS. */
[data-theme="dark"] {
  --bg: #0f0f18;
  --surface: #171724;
  --surface-2: #1d1d2e;
  --border: #26263a;
  --text: #ededf4;
  --text-muted: #a3a3bb;
  --text-faint: #70708c;
  --brand-soft: #26204a;
  --accent-soft: #3d2a1c;
  --menu-bg: #171724;
  --menu-text: #ededf4;
  --menu-hover-bg: #26204a;
  --menu-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.30);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.55);
}

/* ------------------------------------------------------------------ */
/* 2. RESET + BASE                                                    */
/* ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-family);
  font-size: var(--fs-base);
  line-height: var(--lh);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background var(--t-med) var(--ease), color var(--t-med) var(--ease);
}

img, svg, video { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea, fieldset { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 6px; }

::selection { background: var(--brand); color: var(--brand-contrast); }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; }

/* ------------------------------------------------------------------ */
/* 3. LAYOUT PRIMITIVES                                               */
/* ------------------------------------------------------------------ */
.container {
  width: min(100% - 40px, var(--maxw));
  margin-inline: auto;
}

.section { padding-block: var(--section-y); }

.grid {
  display: grid;
  gap: var(--gap);
}
.grid.min-2 { grid-template-columns: repeat(2, 1fr); }
.grid.min-3 { grid-template-columns: repeat(3, 1fr); }
.grid.min-4 { grid-template-columns: repeat(4, 1fr); }

.stack { display: flex; flex-direction: column; gap: 16px; }
.stack.sm { gap: 10px; }

.split { display: flex; align-items: center; justify-content: space-between; gap: 16px; }

.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); }
.section-head p { color: var(--text-muted); margin-top: 10px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--brand);
  /* Derive the chip from the brand hue itself — var(--brand-soft) can be a
     dark tint on presets (e.g. #38404d over #182130) making text/bg nearly
     identical. A 10% brand tint over the page bg keeps the soft-pill look
     while guaranteeing strong contrast on light backgrounds. */
  background: color-mix(in srgb, var(--brand) 10%, var(--bg));
  padding: 7px 14px; border-radius: var(--radius-pill);
  margin-bottom: 16px;
}

/* --- Buttons --------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: var(--btn-py) var(--btn-px);
  border-radius: var(--btn-radius);
  font-weight: 700; font-size: 15px; letter-spacing: 0.01em;
  background: var(--brand); color: var(--brand-contrast);
  border: 2px solid transparent;
  transition: transform var(--t-fast) var(--ease), background var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
  text-decoration: none; white-space: nowrap;
  box-shadow: 0 8px 20px -8px color-mix(in srgb, var(--brand) 55%, transparent);
}
.btn:hover { background: var(--brand-ink); transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(0.98); }

.btn--accent { background: var(--accent); color: #1a1a1a; box-shadow: 0 8px 20px -8px color-mix(in srgb, var(--accent) 60%, transparent); }
.btn--accent:hover { background: var(--accent-ink); color: #fff; }

.btn--outline {
  background: transparent; color: var(--text); border-color: var(--border);
  box-shadow: none;
}
.btn--outline:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }

.btn--ghost { background: var(--brand-soft); color: var(--brand); box-shadow: none; }
.btn--ghost:hover { background: color-mix(in srgb, var(--brand) 16%, white); }

.btn--block { width: 100%; }
.btn--lg { padding: calc(var(--btn-py) + 4px) calc(var(--btn-px) + 12px); font-size: 16px; }

.btn .ico, .btn svg { width: 19px; height: 19px; }

/* --- Badges / chips --------------------------------------------------- */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text-muted); font-size: 13px; font-weight: 600;
  padding: 7px 12px; border-radius: var(--radius-pill);
}
.chip--brand { background: color-mix(in srgb, var(--brand) 10%, var(--bg)); color: var(--brand); border-color: transparent; }
.chip--accent { background: var(--accent-soft); color: var(--accent-ink); border-color: transparent; }

.pill-badge {
  position: absolute; top: 14px; inset-inline-start: 14px; z-index: 2;
  background: var(--accent); color: #1a1a1a;
  font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em;
  padding: 6px 12px; border-radius: var(--radius-pill);
}
.pill-badge--new { background: var(--brand); color: var(--brand-contrast); }

/* --- Forms ------------------------------------------------------------- */
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 13px; font-weight: 700; letter-spacing: 0.02em; }
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  font-size: 15px;
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-faint); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 18%, transparent);
}
.field .hint { font-size: 12px; color: var(--text-muted); }
.field .error-text { font-size: 12px; color: #e5484d; font-weight: 600; display: none; }
.field.error .error-text { display: block; }
.field.error input, .field.error select, .field.error textarea { border-color: #e5484d; }

.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ------------------------------------------------------------------ */
/* 4. ANNOUNCEMENT BAR                                                 */
/* ------------------------------------------------------------------ */
.announce {
  background: var(--brand); color: var(--brand-contrast);
  font-size: 13px; font-weight: 600; text-align: center;
  padding: 9px 16px;
}
.announce a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* ------------------------------------------------------------------ */
/* 5. HEADER + ROUNDED NAV                                             */
/* ------------------------------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  padding-block: 12px;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* Wrapper keeps the sticky header and centers the desktop nav pill.
   The nav MUST NOT be a descendant of .site-header: backdrop-filter on
   an ancestor turns it into a containing block for position:fixed, so
   the mobile drawer (inset-block:0) would size to the ~67px header
   instead of the viewport. A sibling stays safe. */
.site-header-wrap { position: relative; }

.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; font-size: 19px; letter-spacing: -0.02em; color: var(--text); }
.brand svg { width: 30px; height: 30px; }
.brand__mark { width: 30px; height: 30px; border-radius: var(--radius-sm); background: var(--brand); color: var(--brand-contrast); display: grid; place-items: center; font-weight: 900; }

/* The nav sits as a sibling of the header, not inside it (see above).
   On desktop it's positioned absolutely over the header center. On mobile
   it becomes a fixed full-height drawer; inset-block/inset-inline in the
   media query override the absolute values. */
.main-nav {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: flex; justify-content: center;
  /* above the sticky header (z:50) so the pill isn't painted under the
     frosted background — a z:auto positioned element paints below a
     positive-z-index sibling. Mobile overrides this with z-index:90. */
  z-index: 60;
}

.main-nav ul {
  display: flex; align-items: center; gap: 4px;
  background: var(--menu-bg);
  border-radius: var(--menu-radius);
  box-shadow: var(--menu-shadow);
  padding: 8px;
}
.main-nav a {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--menu-text);
  font-size: 14.5px; font-weight: 600;
  padding: var(--menu-pad);
  border-radius: var(--menu-item-radius);
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
  white-space: nowrap;
}
.main-nav a:hover { background: var(--menu-hover-bg); color: var(--menu-hover-text); }
.main-nav a.active { background: var(--menu-active-bg); color: var(--menu-active-text); }

.header-actions { display: flex; align-items: center; gap: 12px; }

.icon-btn {
  position: relative;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: var(--radius-pill);
  background: var(--menu-bg); color: var(--menu-text);
  box-shadow: var(--menu-shadow);
  transition: transform var(--t-fast) var(--ease), background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.icon-btn:hover { background: var(--menu-hover-bg); color: var(--menu-hover-text); transform: translateY(-2px); }
.icon-btn svg { width: 21px; height: 21px; }

.lang-toggle {
  font-size: 17px; font-weight: 800; letter-spacing: 0;
  font-family: "Cairo", "Inter", system-ui, sans-serif;
  min-width: 44px; padding: 0 6px; color: var(--menu-text);
}

.cart-count {
  position: absolute; top: -4px; inset-inline-end: -4px;
  min-width: 19px; height: 19px; padding: 0 5px;
  display: grid; place-items: center;
  background: var(--accent); color: #1a1a1a;
  font-size: 11px; font-weight: 800;
  border-radius: var(--radius-pill);
  border: 2px solid var(--bg);
}
.cart-count[data-count="0"] { display: none; }

.menu-toggle { display: none; }

/* Close button is mobile-only (matched by .menu-toggle pattern). */
.nav-close-btn { display: none; }

/* Nav backdrop — always fixed & hidden by default; only active in the
   mobile drawer, where body.nav-open reveals it. */
.nav-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,0.4);
  opacity: 0; pointer-events: none; transition: opacity var(--t-med) var(--ease); z-index: 80;
}
body.nav-open .nav-backdrop { opacity: 1; pointer-events: auto; }

/* Mobile drawer */
@media (max-width: 900px) {
  .menu-toggle { display: grid; }
  .main-nav {
    position: fixed; inset-block: 0; inset-inline: auto 0; width: min(340px, 86vw);
    background: var(--menu-bg);
    box-shadow: var(--shadow-lg);
    transform: translateX(105%);
    transition: transform var(--t-med) var(--ease);
    justify-content: flex-start; align-items: stretch;
    z-index: 90;
    will-change: transform;
  }
  body.nav-open .main-nav { transform: translateX(0); }
  .main-nav ul {
    flex-direction: column; align-items: stretch; width: 100%;
    background: transparent; box-shadow: none; border-radius: 0;
    padding: 24px; padding-top: 16px;
    overflow-y: auto; overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
  }
  .main-nav a {
    display: flex; align-items: center; gap: 10px;
    padding: 14px 18px;
    font-size: 15px; min-height: 48px;
    border-radius: min(var(--menu-item-radius), 12px);
    white-space: normal;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
  }
  .main-nav a:active { transform: scale(0.97); }
  .main-nav a.active {
    background: color-mix(in srgb, var(--menu-text) 14%, var(--menu-bg));
    color: var(--menu-text);
    font-weight: 700;
  }
  .main-nav .ico-arrow {
    width: 18px; height: 18px;
    margin-inline-start: auto; flex-shrink: 0;
    transition: transform var(--t-fast) var(--ease);
  }
  .main-nav .nav-has-drop.open > a .ico-arrow { transform: rotate(180deg); }
  .main-nav .nav-has-drop > a {
    justify-content: flex-start; gap: 10px;
    cursor: pointer;
    user-select: none; -webkit-user-select: none;
  }
  .brand { font-size: 17px; }
  .site-header__inner { gap: 14px; }

  .nav-close-btn {
    position: absolute; top: 16px; inset-inline-end: 16px;
    width: 36px; height: 36px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: var(--brand-soft); color: var(--brand);
    transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
    z-index: 2;
  }
  .nav-close-btn:hover { background: var(--brand); color: var(--brand-contrast); }
  .nav-close-btn svg { width: 18px; height: 18px; }
}

/* ------------------------------------------------------------------ */
/* 6. HERO                                                             */
/* ------------------------------------------------------------------ */
.hero {
  position: relative;
  margin: 26px auto 0;
  width: min(100% - 40px, var(--maxw));
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: var(--gap);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  padding: clamp(28px, 5vw, 72px);
}
.hero::before {
  content: ""; position: absolute; inset-block: auto -120px; inset-inline: auto -80px;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--brand) 22%, transparent), transparent 65%);
  pointer-events: none;
}
.hero__kicker { color: var(--accent); font-weight: 800; letter-spacing: 0.1em; font-size: 12px; text-transform: uppercase; }
.hero h1 { font-size: clamp(34px, 5vw, 60px); margin-block: 16px 22px; }
.hero p.lead { color: var(--text-muted); font-size: 17px; max-width: 46ch; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.hero__meta { display: flex; gap: 26px; margin-top: 36px; flex-wrap: wrap; }
.hero__meta b { display: block; font-size: 19px; }
.hero__meta span { color: var(--text-muted); font-size: 13px; }

.hero__media { display: grid; place-items: center; }
.hero__media img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.hero__float {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 12px 16px;
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700;
  animation: floaty 5s ease-in-out infinite;
}
.hero__float svg { width: 20px; height: 20px; color: var(--brand); }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; text-align: left; }
  .hero__cta, .hero__meta { justify-content: flex-start; }
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ------------------------------------------------------------------ */
/* 7. FEATURE STRIP                                                    */
/* ------------------------------------------------------------------ */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.feature {
  display: flex; gap: 15px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature svg { width: 26px; height: 26px; color: var(--brand); flex-shrink: 0; }
.feature h3 { font-size: 15.5px; margin-bottom: 4px; }
.feature p { font-size: 13.5px; color: var(--text-muted); }

@media (max-width: 900px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ */
/* 8. PRODUCT CARD                                                     */
/* ------------------------------------------------------------------ */
.product-grid { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .product-grid { grid-template-columns: 1fr; } }

.product-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.product-card__media {
  position: relative; aspect-ratio: 1 / 1;
  overflow: hidden; background: #f0f0f5;
}
[data-theme="dark"] .product-card__media { background: #22222f; }
.product-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.product-card:hover .product-card__media img { transform: scale(1.06); }

.product-card__quick {
  position: absolute; inset: auto 14px 14px; text-align: center; opacity: 0; translate: 0 10px;
  transition: opacity var(--t-med) var(--ease), translate var(--t-med) var(--ease);
}
.product-card:hover .product-card__quick { opacity: 1; translate: 0 0; }
.product-card__quick .btn { padding: 11px 16px; font-size: 13.5px; }

.product-card__body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-card__cat { font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-faint); }
.product-card h3 a { color: var(--text); font-size: 16.5px; font-weight: 700; font-family: var(--font-display); }
.product-card h3 a:hover { color: var(--brand); }
.product-card__price { display: flex; align-items: center; gap: 9px; margin-top: auto; padding-top: 8px; font-weight: 800; font-size: 17px; }
.price-was { color: var(--text-faint); font-weight: 600; text-decoration: line-through; font-size: 13.5px; }
.price-now { color: var(--brand); }

.rating { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; color: var(--text-muted); font-weight: 600; }
.rating svg { width: 15px; height: 15px; color: #f5b301; }

/* ------------------------------------------------------------------ */
/* 9. PRODUCT PAGE                                                     */
/* ------------------------------------------------------------------ */
.breadcrumbs { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-muted); padding-block: 18px; }
.breadcrumbs a:hover { color: var(--brand); }
.breadcrumbs .sep { color: var(--text-faint); }

.product-layout { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(24px, 4vw, 56px); align-items: start; }

.gallery { position: sticky; top: calc(var(--header-h) + 20px); }
.gallery__main {
  border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border);
  background: var(--surface); aspect-ratio: 1 / 1;
}
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 12px; }
.gallery__thumbs button {
  aspect-ratio: 1 / 1; border-radius: var(--radius-sm); overflow: hidden;
  border: 2px solid var(--border); opacity: 0.65; transition: opacity var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.gallery__thumbs button.active { opacity: 1; border-color: var(--brand); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }

.product-info .price-line { display: flex; align-items: baseline; gap: 14px; margin-block: 18px; }
.product-info .price-line .price-now { font-size: 34px; font-weight: 800; }
.product-info .price-line .price-was { font-size: 18px; }

.option-group { margin-top: 22px; }
.option-group > span { font-size: 13px; font-weight: 700; display: block; margin-bottom: 9px; }
.swatches { display: flex; gap: 9px; flex-wrap: wrap; }
.swatch {
  min-width: 42px; padding: 9px 15px;
  border: 2px solid var(--border); border-radius: var(--radius-pill);
  font-size: 13.5px; font-weight: 600; color: var(--text-muted);
  transition: all var(--t-fast) var(--ease);
}
.swatch:hover { border-color: var(--brand); color: var(--brand); }
.swatch.active { border-color: var(--brand); background: var(--brand); color: var(--brand-contrast); }
.swatch--dot {
  width: 34px; min-width: 34px; height: 34px; padding: 0; border-radius: 50%;
  border: 2px solid var(--border);
}
.swatch--dot.active { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 25%, transparent); }

.qty { display: inline-flex; align-items: center; border: 2px solid var(--border); border-radius: var(--radius-pill); overflow: hidden; }
.qty button { width: 46px; height: 46px; font-size: 19px; font-weight: 700; color: var(--text-muted); transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease); }
.qty button:hover { background: var(--brand-soft); color: var(--brand); }
.qty input { width: 44px; text-align: center; border: 0; background: transparent; font-weight: 700; font-size: 15px; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }

.buy-row { display: grid; grid-template-columns: auto 1fr 1fr; gap: 12px; margin-top: 26px; }

.trust { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.trust .chip svg { width: 16px; height: 16px; color: var(--brand); }

.acc { border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; margin-top: 30px; }
.acc details { border-bottom: 1px solid var(--border); }
.acc details:last-child { border-bottom: 0; }
.acc summary { padding: 18px 22px; font-weight: 700; cursor: pointer; display: flex; justify-content: space-between; align-items: center; list-style: none; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-size: 20px; color: var(--text-muted); transition: transform var(--t-fast) var(--ease); }
.acc details[open] summary::after { transform: rotate(45deg); }
.acc .acc__body { padding: 0 22px 20px; color: var(--text-muted); font-size: 14.5px; }

.sticky-cta {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 40;
  display: none; gap: 10px;
}
.sticky-cta .btn { flex: 1; }

@media (max-width: 820px) {
  .product-layout { grid-template-columns: 1fr; }
  .gallery { position: static; }
  .buy-row { grid-template-columns: auto 1fr; grid-auto-rows: 46px; }
  .buy-row .btn--outline { order: 3; grid-column: 1 / -1; }
  .sticky-cta { display: flex; }
  .side-shop { display: none !important; }
}

/* ------------------------------------------------------------------ */
/* 10. CHECKOUT (ONE-PAGE)                                             */
/* ------------------------------------------------------------------ */
.checkout-layout { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 28px; align-items: start; }

.checkout-steps { display: flex; gap: 10px; margin-bottom: 26px; flex-wrap: wrap; }
.step {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13px; font-weight: 700; color: var(--text-muted);
  background: var(--surface); border: 1px solid var(--border);
  padding: 9px 16px; border-radius: var(--radius-pill);
}
.step b { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--border); color: var(--text); font-size: 12px; }
.step.done b, .step.active b { background: var(--brand); color: var(--brand-contrast); }
.step.active { color: var(--brand); border-color: var(--brand); background: var(--brand-soft); }
.step.done { color: var(--text); }

.panel {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: clamp(20px, 3vw, 30px);
  margin-bottom: 22px;
}
.panel h3 { font-size: 19px; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.panel h3 .num { width: 26px; height: 26px; border-radius: 50%; background: var(--brand-soft); color: #fff; display: grid; place-items: center; font-size: 13px; }

.pay-methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.pay-method {
  display: flex; flex-direction: column; align-items: center; gap: 9px;
  padding: 16px 10px; border: 2px solid var(--border); border-radius: var(--radius-sm);
  cursor: pointer; font-size: 13px; font-weight: 700; color: var(--text-muted);
  transition: all var(--t-fast) var(--ease); text-align: center;
}
.pay-method svg { width: 30px; height: 22px; }
.pay-method:hover { border-color: var(--brand); }
.pay-method.active { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 10%, var(--bg)); color: var(--brand); }

/* Order summary */
.summary {
  position: sticky; top: calc(var(--header-h) + 16px);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 26px;
}
.summary h3 { font-size: 19px; margin-bottom: 6px; }
.summary__rows { margin-top: 18px; display: flex; flex-direction: column; }
.summary__item { display: flex; gap: 13px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.summary__item:last-of-type { border-bottom: 0; }
.summary__item img { width: 62px; height: 62px; border-radius: var(--radius-sm); object-fit: cover; border: 1px solid var(--border); }
.summary__item .meta { flex: 1; min-width: 0; }
.summary__item .meta b { display: block; font-size: 14px; }
.summary__item .meta span { font-size: 12.5px; color: var(--text-muted); display: block; margin-top: 2px; }
.summary__item .q { font-weight: 800; font-size: 14px; }
.summary__totals { border-top: 1px solid var(--border); margin-top: 14px; padding-top: 14px; display: flex; flex-direction: column; gap: 9px; }
.summary__totals .row { display: flex; justify-content: space-between; font-size: 14px; color: var(--text-muted); }
.summary__totals .row.grand { color: var(--text); font-weight: 800; font-size: 17px; padding-top: 8px; border-top: 1px dashed var(--border); }
.summary__totals .grand .price-now { font-size: 20px; }

.shipping-opt { display: flex; align-items: flex-start; gap: 12px; padding: 13px 15px; border: 2px solid var(--border); border-radius: var(--radius-sm); cursor: pointer; transition: all var(--t-fast) var(--ease); }
.shipping-opt .muted { font-size: 12.5px; color: var(--text-muted); display: block; }
.shipping-opt input { accent-color: var(--brand); margin-top: 3px; }
.shipping-opt .price { margin-left: auto; font-weight: 800; }
.shipping-opt.active { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 10%, var(--bg)); color: var(--brand); }

.promo { display: flex; gap: 10px; }
.promo input { flex: 1; }

/* Success state */
.order-success { text-align: center; padding: 60px 24px; }
.order-success .check-ring { width: 92px; height: 92px; margin: 0 auto 22px; border-radius: 50%; background: color-mix(in srgb, var(--brand) 14%, transparent); display: grid; place-items: center; }
.order-success .check-ring svg { width: 46px; height: 46px; color: var(--brand); animation: pop 0.5s var(--ease); }
.order-success h2 { font-size: clamp(26px, 4vw, 38px); margin-bottom: 10px; }
.order-success p { color: var(--text-muted); max-width: 40ch; margin: 0 auto 10px; }
.order-number { display: inline-block; background: var(--brand-soft); color: var(--brand); font-weight: 800; padding: 6px 14px; border-radius: var(--radius-pill); margin-top: 14px; }
.order-success .btn { margin-top: 30px; }

@keyframes pop { 0% { transform: scale(0); } 70% { transform: scale(1.15); } 100% { transform: scale(1); } }

@media (max-width: 900px) {
  .checkout-layout { grid-template-columns: 1fr; }
  .summary { position: static; order: -1; }
  .pay-methods { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------------ */
/* 10b. CART DRAWER                                                    */
/* ------------------------------------------------------------------ */
.cart-drawer {
  position: fixed; inset-block: 0; inset-inline: auto 0; z-index: 95;
  width: min(400px, 92vw);
  background: var(--surface);
  border-inline-start: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  transform: translateX(105%);
  transition: transform var(--t-med) var(--ease);
  overflow-y: auto;
  padding: 26px;
}
.cart-drawer.open { transform: translateX(0); }
.cart-drawer__head {
  position: sticky; top: 0; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 14px; margin-bottom: 8px;
  background: var(--surface);
}
.cart-drawer__head h3 { font-size: 17px; display: inline-flex; align-items: center; gap: 9px; }
.cart-drawer__count {
  min-width: 22px; height: 22px; padding: 0 7px;
  display: inline-grid; place-items: center;
  background: var(--brand-soft); color: var(--brand);
  font-size: 12px; font-weight: 800; border-radius: var(--radius-pill);
}
.cart-drawer__head .icon-btn { width: 40px; height: 40px; background: var(--brand-soft); color: var(--brand); box-shadow: none; }
.cart-drawer__head .icon-btn:hover { transform: none; background: var(--brand); color: var(--brand-contrast); }
.cart-drawer .card-remove {
  width: 28px; height: 28px; display: grid; place-items: center;
  border-radius: 50%; background: var(--brand-soft); color: var(--text-muted);
  font-size: 12px; flex-shrink: 0; transition: all var(--t-fast) var(--ease);
}
.cart-drawer .card-remove:hover { background: var(--brand); color: var(--brand-contrast); }

/* ------------------------------------------------------------------ */
/* 11. CAROUSEL / COLLECTION BAND                                      */
/* ------------------------------------------------------------------ */
.band {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
}
.band__inner { display: grid; grid-template-columns: 1.2fr 1fr; min-height: 340px; }
.band__media { position: relative; }
.band__media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.band__body { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.band__body h2 { font-size: clamp(24px, 3.4vw, 36px); }
.band__body p { color: var(--text-muted); }

@media (max-width: 760px) { .band__inner { grid-template-columns: 1fr; } .band__media { aspect-ratio: 16/9; position: relative; min-height: 0; } }

/* ------------------------------------------------------------------ */
/* 12. NEWSLETTER CTA                                                  */
/* ------------------------------------------------------------------ */
.newsletter {
  background: var(--brand); color: var(--brand-contrast);
  border-radius: var(--radius-lg);
  padding: clamp(30px, 5vw, 64px);
  text-align: center;
  position: relative; overflow: hidden;
}
.newsletter::before { content: ""; position: absolute; inset-block: -120px auto; inset-inline: -80px auto; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,0.22), transparent 65%); }
.newsletter h2 { font-size: clamp(24px, 3.5vw, 38px); }
.newsletter p { opacity: 0.9; max-width: 46ch; margin: 10px auto 26px; }
.newsletter form { display: flex; gap: 10px; max-width: 460px; margin: 0 auto; position: relative; z-index: 1; flex-wrap: wrap; justify-content: center; }
.newsletter input { flex: 1; min-width: 220px; border-radius: var(--radius-pill); border: 0; padding: 15px 20px; background: rgba(255,255,255,0.95); color: #191928; }
.newsletter .btn { background: var(--text); color: var(--bg); box-shadow: none; }
.newsletter .btn:hover { background: #000; }

/* ------------------------------------------------------------------ */
/* 13. FOOTER                                                          */
/* ------------------------------------------------------------------ */
.site-footer { border-top: 1px solid var(--border); background: var(--bg); margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; padding-block: 56px 40px; }
.footer-grid h4 { font-size: 13.5px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 16px; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { color: var(--text-muted); font-size: 14.5px; transition: color var(--t-fast) var(--ease); }
.footer-grid a:hover { color: var(--brand); }
.footer-brand p { color: var(--text-muted); font-size: 14.5px; max-width: 34ch; margin-top: 12px; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 40px; height: 40px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: 50%; color: var(--text-muted); transition: all var(--t-fast) var(--ease); }
.socials a:hover { background: var(--brand); color: var(--brand-contrast); border-color: var(--brand); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid var(--border); padding-block: 20px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.footer-bottom p { font-size: 13.5px; color: var(--text-muted); }
.pay-badges { display: flex; gap: 8px; }
.pay-badges span { font-size: 11px; font-weight: 800; background: var(--surface); border: 1px solid var(--border); padding: 5px 10px; border-radius: 6px; color: var(--text-muted); letter-spacing: 0.03em; }

@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ */
/* 14. THEME STUDIO (live customizer)                                  */
/* ------------------------------------------------------------------ */
.studio-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 70;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--brand); color: var(--brand-contrast);
  display: grid; place-items: center;
  box-shadow: var(--shadow-lg);
  transition: transform var(--t-med) var(--ease);
}
.studio-fab:hover { transform: rotate(60deg); }
.studio-fab svg { width: 25px; height: 25px; animation: spin-slow 8s linear infinite; }

.studio {
  position: fixed; inset-block: 0; inset-inline: auto 0; z-index: 100;
  width: min(380px, 92vw);
  background: var(--surface);
  border-inline-start: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  transform: translateX(105%);
  transition: transform var(--t-med) var(--ease);
  display: flex; flex-direction: column;
}
.studio.open { transform: translateX(0); }
.studio__head { padding: 20px 22px; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 12px; }
.studio__head h3 { font-size: 17px; flex: 1; }
.studio__close { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--brand-soft); color: var(--brand); }
.studio__body { flex: 1; overflow-y: auto; padding: 20px 22px; display: flex; flex-direction: column; gap: 22px; }
.studio__foot { padding: 16px 22px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 10px; }

.st-group { border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; }
.st-group summary { padding: 13px 16px; font-weight: 800; font-size: 13px; letter-spacing: 0.05em; text-transform: uppercase; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; background: var(--surface-2); }
.st-group summary::-webkit-details-marker { display: none; }
.st-group summary::after { content: "▾"; color: var(--text-muted); font-size: 12px; }
.st-group[open] summary::after { transform: rotate(180deg); }
.st-group .st-inner { padding: 16px; display: flex; flex-direction: column; gap: 15px; }

.st-row { display: flex; flex-direction: column; gap: 7px; }
.st-row > label { font-size: 12.5px; font-weight: 700; }
.st-row .st-val { margin-left: auto; font-size: 11.5px; color: var(--text-faint); font-weight: 600; font-family: ui-monospace, monospace; }

.st-colors { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.color-pick { display: flex; flex-direction: column; gap: 6px; }
.color-pick label { font-size: 11.5px; font-weight: 700; color: var(--text-muted); }
.color-pick input[type="color"] { width: 100%; height: 38px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); cursor: pointer; padding: 3px; }
.color-pick input[type="color"]::-webkit-color-swatch-wrapper { padding: 0; }
.color-pick input[type="color"]::-webkit-color-swatch { border: 0; border-radius: 6px; }

.opt-row { display: flex; align-items: center; gap: 9px; padding: 10px 12px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); cursor: pointer; font-size: 13px; font-weight: 600; transition: all var(--t-fast) var(--ease); }
.opt-row:hover { border-color: var(--brand); }
.opt-row.active { border-color: var(--brand); background: var(--brand-soft); color: var(--brand); }
.opt-row .mini { width: 20px; height: 20px; border-radius: 6px; flex-shrink: 0; border: 1px solid var(--border); }
.opt-row .mini.pill { border-radius: 999px; }

input[type="range"] { width: 100%; accent-color: var(--brand); }

.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.seg button { padding: 9px 6px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); font-size: 12.5px; font-weight: 700; color: var(--text-muted); transition: all var(--t-fast) var(--ease); }
.seg button.active { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 10%, var(--surface)); color: var(--brand); }

select.st-select { width: 100%; padding: 11px 13px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); font-weight: 600; }

.util-links { display: flex; flex-direction: column; gap: 6px; }
.st-domains { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.st-domain { display: flex; align-items: center; gap: 8px; padding: 9px 10px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); font-size: 12px; font-weight: 700; color: var(--text-muted); background: var(--surface); cursor: pointer; transition: all var(--t-fast) var(--ease); text-align: start; word-break: break-word; }
.st-domain i { width: 10px; height: 10px; border-radius: 50%; background: var(--dc, var(--brand)); flex: none; opacity: 0.9; }
.st-domain:hover { border-color: var(--brand); color: var(--text); }
.st-domain:active { transform: scale(0.97); }
.st-domain.active { border-color: var(--brand); background: var(--brand-soft); color: var(--brand); }

.studio-backdrop { position: fixed; inset: 0; z-index: 99; background: rgba(0,0,0,0.35); opacity: 0; pointer-events: none; transition: opacity var(--t-med) var(--ease); }
.studio-backdrop.show { opacity: 1; pointer-events: auto; }

@keyframes spin-slow { to { transform: rotate(360deg); } }

/* ------------------------------------------------------------------ */
/* 15. TOASTS                                                          */
/* ------------------------------------------------------------------ */
.toast-wrap { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 120; display: flex; flex-direction: column; gap: 10px; align-items: center; pointer-events: none; }
.toast {
  display: inline-flex; align-items: center; gap: 11px;
  background: var(--text); color: var(--bg);
  padding: 13px 20px; border-radius: var(--radius-pill);
  font-size: 14px; font-weight: 700;
  box-shadow: var(--shadow-lg);
  animation: toast-in 0.35s var(--ease);
}
.toast svg { width: 18px; height: 18px; color: var(--brand); }
@media (prefers-reduced-motion: reduce) { .toast { animation: none; } }
@keyframes toast-in { from { opacity: 0; transform: translateY(16px) scale(0.95); } to { opacity: 1; transform: translateY(0) scale(1); } }

/* ------------------------------------------------------------------ */
/* 16. MISC / UTILITIES                                                */
/* ------------------------------------------------------------------ */
.empty-state { text-align: center; padding: 60px 20px; }
.empty-state svg { width: 64px; height: 64px; color: var(--text-faint); margin: 0 auto 16px; }
.empty-state h3 { margin-bottom: 6px; }
.empty-state p { color: var(--text-muted); margin-bottom: 22px; }

.text-muted { color: var(--text-muted); }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 40px; }
.hidden { display: none !important; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001s !important; transition-duration: 0.001s !important; }
}

/* ------------------------------------------------------------------ */
/* 17. CONTACT PAGE                                                     */
/* ------------------------------------------------------------------ */
.contact-grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 28px; align-items: start; margin-bottom: 28px; }
.contact-info { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.info-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 18px; display: flex; gap: 13px; align-items: flex-start;
}
.info-card svg { width: 26px; height: 26px; color: var(--brand); flex: none; margin-top: 2px; }
.info-card h4 { font-size: 14.5px; font-weight: 800; font-family: var(--font-display); margin-bottom: 4px; }
.info-card p { font-size: 13.5px; color: var(--text-muted); line-height: 1.5; }
.info-card a { font-size: 13px; color: var(--brand); font-weight: 700; }
.info-card span { font-size: 12px; color: var(--text-faint); }

.contact-form {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px; display: flex; flex-direction: column; gap: 16px;
  box-shadow: var(--menu-shadow);
}
.contact-form h3 { font-size: 22px; font-family: var(--font-display); }
.contact-form .btn { align-self: flex-start; }

.map-wrap {
  margin-block: 4px 8px; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--menu-shadow);
  aspect-ratio: 16 / 8; background: var(--surface);
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(0.92) contrast(1.02); }

@media (max-width: 880px) {
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .contact-info { grid-template-columns: 1fr; }
  .map-wrap { aspect-ratio: 4 / 4; }
}

/* ------------------------------------------------------------------ */
/* 18. ABOUT PAGE                                                       */
/* ------------------------------------------------------------------ */
.about-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 44px); box-shadow: var(--menu-shadow);
}
.about-card__body { max-width: 76ch; margin: 0 auto; }
.about-card__body p { color: var(--text); font-size: 16px; line-height: 1.9; white-space: pre-line; }
.about-cta { margin-top: 28px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ------------------------------------------------------------------ */
/* 19. CHECKOUT (stepped order form)                                   */
/* ------------------------------------------------------------------ */
/* Promo / discount code field (outside a .field wrapper on this form) */
.promo input[type="text"] {
  flex: 1; min-width: 0;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  font-size: 15px; color: var(--text);
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.promo input[type="text"]::placeholder { color: var(--text-faint); }
.promo input[type="text"]:focus {
  outline: none; border-color: var(--brand);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 18%, transparent);
}

.discount-result {
  padding: 12px 14px; border-radius: var(--radius-sm);
  font-size: 13.5px; line-height: 1.6;
  border: 1.5px solid var(--border);
}
.discount-result.is-success {
  border-color: color-mix(in srgb, var(--brand) 45%, transparent);
  background: color-mix(in srgb, var(--brand) 8%, var(--bg));
}
.discount-result.is-error { border-color: #e5484d; background: color-mix(in srgb, #e5484d 8%, var(--bg)); color: #e5484d; }
.discount-result .strike { text-decoration: line-through; color: var(--text-muted); }
.discount-result .is-new { font-weight: 800; color: var(--brand); }

/* A single selected payment method spans the full row.                */
.pay-method.single { grid-column: 1 / -1; flex-direction: row; gap: 10px; justify-content: center; }
.pay-method.active.single { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, var(--bg)); color: var(--accent); }
.pay-method i { font-size: 22px; }

/* --brand-soft can be a dark tint (dark mode → #26204a), making the    */
/* brand-on-soft active state unreadable. Use a solid brand fill.        */
.checkout-steps .step.active { color: var(--brand-contrast); background: var(--brand); }

/* Upsell cards reuse .shipping-opt; keep the active highlight working */
/* without extra JS (progressive enhancement).                         */
.shipping-opt:has(input:checked) { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 10%, var(--bg)); color: var(--brand); }
.shipping-opt .price { flex: none; margin-inline-start: auto; }

/* Discount row inside the order summary.                              */
#discount-summary-row .discount-amount { color: var(--brand); font-weight: 700; }

.wa-row { text-align: center; }
.wa-row a { display: inline-flex; align-items: center; gap: 10px; color: #25d366; font-weight: 700; font-size: 14.5px; }
.wa-row a i { font-size: 24px; }

.aff-details { border: 1.5px solid var(--border); border-radius: var(--radius-sm); background: var(--bg); padding: 0 14px; }
.aff-details summary { cursor: pointer; font-weight: 700; padding: 12px 0; list-style: none; display: flex; align-items: center; gap: 8px; }
.aff-details summary::-webkit-details-marker { display: none; }
.aff-details__body { display: grid; gap: 12px; padding: 2px 0 14px; }

/* ------------------------------------------------------------------ */
/* 20. RTL / ARABIC SUPPORT                                            */
/* ------------------------------------------------------------------ */
/* Slide-in drawers come from the left edge in RTL (mirror of LTR).    */
[dir="rtl"] .cart-drawer:not(.open),
[dir="rtl"] .studio:not(.open) { transform: translateX(-105%); }
@media (max-width: 900px) {
  [dir="rtl"] .main-nav { transform: translateX(-105%); }
}

/* Directional arrow icons (→) point the "forward" way in RTL (←).     */
[dir="rtl"] .ico-arrow { transform: scaleX(-1); }

/* Arabic: swap the theme's Latin fonts for an Arabic-friendly stack.  */
[lang^="ar"] {
  --font-family: "Cairo", "Tajawal", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif !important;
  --font-display: var(--font-family);
}
/* Arabic has no capitals — drop the spaced-out uppercase lettering.   */
[lang^="ar"] .eyebrow,
[lang^="ar"] .hero__kicker,
[lang^="ar"] .product-card__cat,
[lang^="ar"] .footer-grid h4,
[lang^="ar"] .announce { letter-spacing: 0; }