/* TYDAL Boutique: shared tokens + base. Used by the site and the hero option pages. */
@font-face {
  font-family: 'Quicksand';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/quicksand-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Quicksand';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/quicksand-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Chloe's brand colours (exact) */
  --breeze: #B8E8EF;      /* main brand bg, hero, footer */
  --coconut: #584240;     /* text, headings, buttons, borders, logo */
  --white: #FFFFFF;       /* page bg, product pages, button text */
  --soft-band: #CAE8EF;   /* alternate sections, tiles */
  --aqua: #97E7E3;        /* thin lines, hovers, small details */
  --pale: #C1F1EE;        /* very light dividers */
  /* Shades */
  --shade-breeze: #B8E8EF;
  --shade-dune: #FFF8BD;
  --shade-seaweed: #DEEBD1;
  --shade-sunset: #EBD1E8;
  --shade-coconut: #584240;

  --text: var(--coconut);
  --font: 'Quicksand', ui-rounded, 'SF Pro Rounded', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --radius-s: 10px;
  --radius: 18px;
  --radius-l: 28px;
  --shadow: 0 10px 30px -12px rgba(88, 66, 64, .28);
  --shadow-lg: 0 30px 60px -24px rgba(88, 66, 64, .38);
  --ease: cubic-bezier(.22, .8, .25, 1);
  --nav-h: 72px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 500;
  color: var(--text);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }

.btn {
  --bg: var(--coconut); --fg: var(--white);
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 0 1.5em;
  border-radius: 999px; border: 2px solid var(--coconut);
  background: var(--bg); color: var(--fg);
  font-weight: 700; font-size: 1rem; letter-spacing: .02em;
  text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s, color .25s, box-shadow .25s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px -10px rgba(88,66,64,.6); }
.btn:active { transform: translateY(0); }
.btn--ghost { --bg: transparent; --fg: var(--coconut); }
.btn--ghost:hover { --bg: var(--coconut); --fg: var(--white); }
.btn--light { --bg: var(--white); --fg: var(--coconut); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--coconut); outline-offset: 3px;
}
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

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