/* AQUA Beauty UI uplift, phase 1 (Dec 2026): design tokens and shared foundations.
   Loaded after every older stylesheet, so these rules win where they overlap. Colours are the Colour Play
   palette from BRAND-GUIDELINES.md, unchanged; this file names them once and adds type, spacing, corners,
   elevation and motion. New work uses these variables instead of raw values.
   Plan: https://claude.ai/artifact/2vqnJJjW5Ze5LNmGfKtyKc */
:root{
  /* Colour: base */
  --c-bg:#fff;--c-surface:#f7f5f7;--c-surface-2:#fff0f7;--c-line:#dfd7de;--c-line-strong:#aba0a9;
  --c-ink:#151215;--c-muted:#625861;--c-black:#111;--c-black-hover:#343034;
  /* Colour: brand */
  --c-pink:#ffb7da;--c-pink-soft:#ffc1df;--c-pink-hot:#ff4faa;--c-berry:#a60054;--c-lilac:#c8b5fa;--c-lime:#dfff70;--c-orange:#ff965f;--c-cherry:#ca163d;
  /* Colour: states */
  --c-save:#146b81;--c-error:#b42338;--c-warn-bg:#fff6d6;
  /* Type */
  --font-display:'Space Grotesk',Arial,sans-serif;--font-body:'Jost',Arial,sans-serif;
  --t-xs:12px;--t-sm:14px;--t-md:16px;--t-lg:18px;--t-xl:22px;--t-2xl:28px;--t-3xl:36px;--t-4xl:48px;--t-5xl:64px;
  --lh-tight:1.1;--lh-snug:1.3;--lh-body:1.55;
  /* Spacing (4px base) */
  --s-1:4px;--s-2:8px;--s-3:12px;--s-4:16px;--s-5:20px;--s-6:24px;--s-7:32px;--s-8:40px;--s-9:56px;--s-10:80px;
  /* Corners */
  --r-xs:4px;--r-sm:8px;--r-md:12px;--r-lg:20px;--r-pill:999px;
  /* Elevation */
  --e-1:0 1px 2px rgb(21 18 21/.06),0 2px 8px rgb(21 18 21/.06);
  --e-2:0 4px 16px rgb(21 18 21/.10);
  --e-3:0 -8px 32px rgb(21 18 21/.14);
  /* Motion */
  --d-fast:120ms;--d-base:220ms;--d-slow:360ms;
  --ease-out:cubic-bezier(.2,0,0,1);--ease-spring:cubic-bezier(.34,1.56,.64,1);
  /* Layout */
  --gutter:16px;--max:1440px;--header-h:56px;--tabbar-h:64px;--safe-b:env(safe-area-inset-bottom,0px);
  /* Layers */
  --z-sticky:20;--z-tabbar:40;--z-sheet:60;--z-toast:80;
  --focus:0 0 0 2px var(--c-bg),0 0 0 4px var(--c-save);
}
@media(min-width:701px){:root{--gutter:28px;--header-h:64px}}
@media(min-width:1024px){:root{--gutter:60px;--header-h:72px}}

/* Base */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{font-family:var(--font-body);color:var(--c-ink);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-tap-highlight-color:transparent}
img{max-width:100%}
:where(a,button,input,select,textarea,summary,[tabindex]):focus-visible{outline:none;box-shadow:var(--focus);border-radius:var(--r-xs)}

/* Buttons: one shape, one press feel */
.primary,.secondary,.quick-add,.whatsapp,.christmas-button,.register-btn,.basket-btn,.icon-btn,.text-button,.chips button,.saved-toggle,.discounts button,.mobile-bag{border-radius:var(--r-sm);transition:background-color var(--d-fast) var(--ease-out),color var(--d-fast) var(--ease-out),border-color var(--d-fast) var(--ease-out),transform var(--d-fast) var(--ease-out)}
.primary,.secondary,.whatsapp,.christmas-button{min-height:48px;font-weight:600}
.primary:active,.secondary:active,.quick-add:active,.whatsapp:active,.christmas-button:active,.chips button:active,.discounts button:active,.icon-btn:active,.basket-btn:active{transform:scale(.97)}

/* Chips become pills */
.chips button,.saved-toggle,.discounts button,.chip-choice{border-radius:var(--r-pill)}

/* Inputs: rounded, 16px text so phones never zoom */
.search-box{border-radius:var(--r-pill)}
.selects select,.order input,.order select,.order textarea,.signup-form input:not([type=checkbox]),.signup-form select{border-radius:var(--r-sm);font-size:16px}

/* Cards and media */
.ph{border-radius:var(--r-md);overflow:hidden}
.tile .favorite{border-radius:var(--r-pill)}
.off,.welcome-tag{border-radius:var(--r-xs)}

/* Dialogs and toast */
dialog.sheet{border-radius:var(--r-lg)}
.toast{border-radius:var(--r-md);font-size:var(--t-sm);z-index:var(--z-toast)}

@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:1ms!important;animation-iteration-count:1!important;transition-duration:1ms!important;scroll-behavior:auto!important}
}
