/* ===========================================================================
   Moods Interior — shop design tokens (DESIGN.md §2–4)

   Loaded on WooCommerce views only, after main.css. Values mirror the live
   homepage (assets/css/build/_variables.scss) wherever the homepage defines
   the same thing; the homepage always wins. Everything in woocommerce.css
   references these — no hardcoded colours, radii, shadows or spacing there.
   =========================================================================== */

:root {
  /* ---- Core colours ----------------------------------------------------- */
  --color-slate:            #444F59;                  /* = --c-slate */
  --color-slate-deep:       #3B4650;                  /* = --c-slate-2, hover/footer */
  --color-slate-pill:       #333333;                  /* = --c-nav-pill, "selected" pill */
  --color-surface:          #F4F5F5;                  /* light section background */
  --color-white:            #FFFFFF;

  /* ---- Text ------------------------------------------------------------- */
  --color-text-heading:     #444F5A;                  /* = --c-slate-text */
  --color-text-body:        #6B767F;                  /* body copy on light */
  --color-text-muted:       #8A949C;                  /* subtext, breadcrumbs, counts */
  --color-text-strong:      #2E3A45;                  /* prices, emphasised values */
  --color-text-invert:      #FFFFFF;
  --color-text-invert-soft: rgba(255, 255, 255, .75);

  /* ---- Accent — DESIGN.md §2.1: logo, sale dot, in-stock dot ONLY ------- */
  --color-accent:           #4AA485;                  /* = --c-green */

  /* ---- Utility ---------------------------------------------------------- */
  --color-border:           #E3E6E8;                  /* = --c-line */
  --color-border-soft:      #ECEEEF;                  /* hairlines inside white panels */
  --color-star:             #111111;                  /* = --c-star (homepage: black stars) */
  --color-placeholder:      #ECEEEF;                  /* image background while loading */
  --color-overlay:          rgba(68, 79, 89, .78);    /* photo overlay on shop heroes */
  --color-overlay-soft:     rgba(68, 79, 89, .5);
  --color-grad-card:        linear-gradient(180deg, rgba(68, 79, 89, 0) 45%, rgba(40, 50, 60, .78) 100%);
  --color-grad-card-hover:  linear-gradient(180deg, rgba(68, 79, 89, .1) 30%, rgba(40, 50, 60, .92) 100%);
  --color-grad-divider:     linear-gradient(90deg, rgba(68, 79, 89, 0), rgba(68, 79, 89, .5), rgba(68, 79, 89, 0));
  --color-bar:              rgba(68, 79, 89, .96);    /* card add-to-cart bar */
  --color-hover-wash:       rgba(255, 255, 255, .1);  /* nav/ghost hover on dark */
  --color-focus:            var(--color-slate);

  /* ---- Typography (Josefin Sans is the entire type system) ------------- */
  --font-heading:           var(--font, "Josefin Sans", "Segoe UI", system-ui, sans-serif);
  --font-body:              var(--font, "Josefin Sans", "Segoe UI", system-ui, sans-serif);

  --text-display:           40px;   /* page hero titles; 28px mobile */
  --text-display-mobile:    28px;
  --text-section:           28px;   /* "COLLECTIONS", "COMPLETE THE ROOM"; 22px mobile */
  --text-section-mobile:    22px;
  --text-band:              18px;   /* pre-footer band headings */
  --text-product-title:     24px;
  --text-card-title:        12px;
  --text-sub:               12px;
  --text-body:              14px;
  --text-body-lg:           15px;
  --text-price:             15px;
  --text-price-lg:          28px;
  --text-micro:             11px;
  --text-button:            12px;

  --tracking-display:       .42em;
  --tracking-section:       .42em;
  --tracking-band:          .32em;
  --tracking-product-title: .3em;
  --tracking-card-title:    .22em;
  --tracking-collection:    .3em;
  --tracking-button:        .2em;
  --tracking-button-ghost:  .08em;
  --tracking-label:         .18em;
  --tracking-micro:         .14em;
  --tracking-tab:           .12em;
  --tracking-sub:           .04em;

  --leading-body:           1.9;

  /* ---- Spacing & layout (8px grid) ------------------------------------- */
  --space-1:                8px;
  --space-2:                16px;
  --space-3:                24px;
  --space-4:                32px;
  --space-5:                40px;
  --space-6:                48px;
  --space-8:                64px;
  --space-9:                72px;
  --space-12:               96px;
  --space-13:               104px;

  --section-pad-y:          var(--space-12);          /* 56px mobile */
  --section-pad-y-mobile:   56px;
  --content-max:            var(--container, 1400px); /* homepage container wins over the 1200px mockup */
  --content-gutter:         var(--gutter, clamp(20px, 4vw, 40px));
  --grid-gap:               28px;                     /* card grid column gap */
  --grid-row-gap:           40px;
  --grid-gap-mobile:        16px;
  --header-height:          72px;
  --hero-height:            420px;
  --hero-height-mobile:     260px;
  --control-height:         52px;                     /* PDP buttons, qty stepper */
  --bar-height:             52px;                     /* card cart bar */
  --tap-min:                44px;

  /* ---- Radii ------------------------------------------------------------ */
  --radius-card:            12px;                     /* homepage wins over the 8px mockup */
  --radius-thumb:           6px;
  --radius-pill:            999px;
  --radius-input:           4px;
  --radius-button:          var(--radius-pill);       /* decision: every mockup uses pill buttons */

  /* ---- Elevation -------------------------------------------------------- */
  --shadow-card:            0 1px 2px rgba(0, 0, 0, .04), 0 8px 24px rgba(68, 79, 89, .08);
  --shadow-card-hover:      0 2px 6px rgba(68, 79, 89, .08), 0 16px 40px rgba(68, 79, 89, .12);
  --shadow-float:           0 16px 40px rgba(0, 0, 0, .18);

  /* ---- Motion (DESIGN.md §8) ------------------------------------------- */
  --motion:                 220ms;
  --motion-slow:            400ms;
  --ease-out:               var(--ease, cubic-bezier(.4, 0, .2, 1));
  --ease-bar:               cubic-bezier(.2, .7, .2, 1);

  /* ---- Focus (DESIGN.md §9) -------------------------------------------- */
  --focus-ring:             2px solid var(--color-focus);
  --focus-offset:           2px;
}
