/* The salon offer pages (/hsrhaircoloroffers and the rest) in the site's fonts. Loaded after each page's own styles,
   so the same selectors win. Only the look changes: the pages' layout, sizes, text and pictures are their own.
   Their colours are moved onto the site's palette by the build (src/lib/offerPageHtml.ts).
   Fonts and palette: src/index.css and tailwind.config.ts. */

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('/fonts/cormorant-garamond.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: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/cormorant-garamond-italic-500.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: 'Poppins';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/fonts/poppins-300.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: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/poppins-400.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: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/poppins-500.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;
}
/* The pages' 700 and 800 weights use the site's heaviest, as the site never goes past 600. */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600 900;
  font-display: swap;
  src: url('/fonts/poppins-600.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;
}

:root {
  --sans: Poppins, 'Poppins Fallback', system-ui, sans-serif;
  --display: 'Cormorant Garamond', Georgia, serif;
  /* The buttons' pink-to-violet blend: the site's solid berry. */
  --blend: linear-gradient(110deg, #A8325E 0%, #A8325E 100%);
}

/* Headings in Cormorant Garamond at medium weight, as across the site; accent words in its italic. */
h1, h2, h3, h4, .title, .section-title, .wordmark {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: 0;
}
h1 .accent, h2 .accent, .section-title .accent { font-style: italic; }

/* Small capitals labels, as the site's eyebrows. */
.kicker { font-weight: 500; letter-spacing: 0.22em; }

/* The site's logo in the footer, at the site footer's size (h-12). */
.footer .brand .site-logo { display: block; height: 48px; width: auto; max-width: none; }

/* The site's header (/embed/site-header.js): its place is kept while it loads, so nothing moves (60px on phones;
   the 32px salon bar and the 76px header from 1024px). */
[data-site-header] { display: block; min-height: 3.75rem; font-weight: 400; line-height: 1.5; }
@media (min-width: 1024px) {
  [data-site-header] { min-height: calc(2rem + 4.75rem); }
}

/*
  Hair-colour offer pages are supplied legacy documents. Their original phone rules
  made labels 9–10px and several interactive controls only 40px high.  Keep the
  supplied desktop composition intact; on a phone, make the same content readable
  and comfortably tappable instead.
*/
@media (max-width: 640px) {
  body.hair-colour-offers .announcement {
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    line-height: 1.35;
  }

  body.hair-colour-offers .hero h1 {
    font-size: clamp(44px, 12.5vw, 58px);
  }

  body.hair-colour-offers .hero-reassurance,
  body.hair-colour-offers .hero-trust,
  body.hair-colour-offers .hero-visual-top,
  body.hair-colour-offers .hero-visual-foot,
  body.hair-colour-offers .reference-note {
    font-size: 11px;
  }

  body.hair-colour-offers .hero-actions .btn,
  body.hair-colour-offers .reference-actions .btn,
  body.hair-colour-offers .offer-actions .btn,
  body.hair-colour-offers .color-help .btn {
    min-height: 48px;
    font-size: 12px;
  }

  body.hair-colour-offers .hero-picker {
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline proximity;
    padding-bottom: 5px;
  }

  body.hair-colour-offers .hero-picker button {
    flex: 0 0 auto;
    min-height: 44px;
    padding-inline: 14px;
    font-size: 11px;
    scroll-snap-align: start;
  }

  body.hair-colour-offers .hero-enquire {
    min-height: 44px;
    font-size: 12px;
  }

  body.hair-colour-offers .offer-tabs a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    font-size: 12px;
  }

  body.hair-colour-offers .offer-category,
  body.hair-colour-offers .offer-category span:first-child,
  body.hair-colour-offers .offer-price small,
  body.hair-colour-offers .offers-note,
  body.hair-colour-offers .kicker {
    font-size: 11px;
  }

  body.hair-colour-offers .offer-info > p,
  body.hair-colour-offers .section-top .section-intro,
  body.hair-colour-offers .enquire-copy > p,
  body.hair-colour-offers .steps p,
  body.hair-colour-offers .faq-list details p {
    font-size: 14px;
  }
}
