/* Montserrat, self-hosted (GDPR: no Google CDN). The salon's own logo is set
   in it, and it matches NAK Hair's geometric caps. latin-ext carries ő/ű. */
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("../fonts/montserrat-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("../fonts/montserrat-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;
}

/* ==========================================================================
   Bergamot — design tokens
   Palette read from the client's homepage mockup: deep olive, warm cream,
   muted gold. Montserrat (the logo face) throughout — headings light, UI medium.
   ========================================================================== */

:root {
  /* surfaces */
  --bg:          #f7f5f0;   /* warm off-white, main page ground */
  --bg-alt:      #efeae1;   /* sand, alternating band */
  --bg-olive:    #4f5644;   /* deep olive, header + dark bands */
  --bg-olive-dk: #363b2c;   /* footer */

  /* ink */
  --ink:         #2a2a26;
  --ink-muted:   #6e6e66;
  --ink-invert:  #f7f5f0;

  /* accent */
  --gold:        #b8a06a;
  --line:        #ded8cc;

  /* type */
  --font-display: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif; /* was a serif (Cormorant, never loaded → Georgia); owner wants the logo face throughout */
  --font-body:    "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  /* rhythm */
  --step--1: clamp(0.78rem, 0.75rem + 0.15vw, 0.86rem);
  --step-0:  clamp(0.95rem, 0.92rem + 0.18vw, 1.05rem);
  --step-1:  clamp(1.15rem, 1.05rem + 0.5vw,  1.4rem);
  --step-2:  clamp(1.5rem,  1.3rem  + 1vw,    2.1rem);
  --step-3:  clamp(2rem,    1.6rem  + 2vw,    3.2rem);

  --gutter:  clamp(1.15rem, 0.8rem + 1.6vw, 2.5rem);
  --band:    clamp(3.5rem, 2.5rem + 4vw, 6.5rem);
  --wrap:    1280px;
}

/* --------------------------------------------------------------- reset -- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0.01em;
  margin: 0 0 0.5em;
}
h1 { font-size: var(--step-3); }
h2 { font-size: var(--step-2); }
h3 { font-size: var(--step-1); }

/* ------------------------------------------------------------- layout --- */
.wrap { width: min(100% - (var(--gutter) * 2), var(--wrap)); margin-inline: auto; }
.band { padding-block: var(--band); }
.band--sand  { background: var(--bg-alt); }
.band--olive { background: var(--bg-olive); color: var(--ink-invert); }

/* Section eyebrow — the small letterspaced label above headings */
.eyebrow {
  font-size: var(--step--1);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.9rem;
}

.section-head { text-align: center; margin-bottom: clamp(2rem, 1rem + 3vw, 3.5rem); }
.section-head h2 { letter-spacing: 0.06em; text-transform: uppercase; font-size: var(--step-2); }
.section-head p  { color: var(--ink-muted); margin: 0; }

/* ------------------------------------------------------------ buttons --- */
.btn {
  display: inline-block;
  padding: 0.85em 1.9em;
  font-size: var(--step--1);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.btn--solid  { background: var(--bg-olive); color: var(--ink-invert); }
.btn--solid:hover  { background: var(--bg-olive-dk); }
.btn--ghost  { border-color: currentColor; }
.btn--ghost:hover  { background: var(--ink-invert); color: var(--bg-olive); }

/* Custom buttons draw their own pressed state; the platform tap flash
   (blue on Android) fights the olive header. Focus rings below are kept. */
.nav-toggle, .bgc-fab, .icon-link, .btn, .chip, .bgc-choice { -webkit-tap-highlight-color: transparent; }

/* accessible focus, never removed */
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ==========================================================================
   Components
   ========================================================================== */

/* -------------------------------------------------------------- a11y ----- */
.screen-reader-text {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip-link:focus-visible {
  position: fixed; top: 0.5rem; left: 0.5rem; z-index: 999;
  width: auto; height: auto; clip: auto; clip-path: none;
  padding: 0.7em 1.2em; background: var(--bg-olive); color: var(--ink-invert);
}

/* ---------------------------------------------------- announcement bar --- */
.announce {
  background: var(--bg-olive-dk);
  color: var(--ink-invert);
  font-size: var(--step--1);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.announce__inner {
  display: flex; justify-content: space-between; gap: 1.5rem;
  padding-block: 0.7rem; text-align: center;
}
/* On narrow screens only the first promise survives — shipping threshold is
   the one that changes behaviour. */
@media (max-width: 720px) {
  .announce__inner { justify-content: center; }
  .announce__inner span + span { display: none; }
}

/* ---------------------------------------------------------- masthead ----- */
.masthead { background: var(--bg-olive); color: var(--ink-invert); }
.masthead__inner {
  display: flex; align-items: center; gap: clamp(1rem, 3vw, 3rem);
  padding-block: 1.1rem;
}
.brandmark {
  display: inline-flex; align-items: center; gap: 0.8rem;
  text-decoration: none; line-height: 1.1; flex: none;
}
/* The B in an outlined square, as in the salon's logo file. */
.brandmark__mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.6rem; height: 2.6rem; flex: none;
  border: 2px solid currentColor;
  font-family: var(--font-body); font-weight: 300; font-size: 1.65rem; line-height: 1;
  padding-left: 0.08em; /* optical centring: B's bowls pull it left */
}
.brandmark__text { display: flex; flex-direction: column; gap: 0.3rem; }
.brandmark__name {
  display: block; font-family: var(--font-body); font-weight: 500;
  font-size: 1.15rem; letter-spacing: 0.3em; text-transform: uppercase;
  margin-right: -0.3em; /* trailing tracking would push the block off-centre */
}
.brandmark__sub {
  display: block; font-size: 0.58rem; font-weight: 400; letter-spacing: 0.2em;
  text-transform: uppercase; opacity: 0.75;
}
.nav { margin-inline: auto; }
.nav__list {
  display: flex; gap: clamp(0.8rem, 1.8vw, 1.8rem);
  list-style: none; margin: 0; padding: 0;
  font-size: 0.74rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
}
.nav__list a { text-decoration: none; opacity: 0.9; }
.nav__list a:hover { opacity: 1; }

/* ------------------------------------------------------------ dropdowns --- */
.nav__list > li { position: relative; display: flex; align-items: center; gap: 0.2rem; }
.sub-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 1.1rem; height: 1.1rem; padding: 0;
  background: none; border: 0; color: inherit; cursor: pointer; opacity: .75;
}
.sub-toggle::before {
  content: ""; width: 0.36rem; height: 0.36rem;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg); transition: transform .18s ease;
}
.sub-toggle[aria-expanded="true"]::before { transform: translateY(1px) rotate(-135deg); }
.sub-menu {
  position: absolute; top: calc(100% + 1.15rem); left: -1.1rem; z-index: 160;
  min-width: 14rem; margin: 0; padding: 0.55rem 0; list-style: none;
  background: var(--bg); color: var(--ink);
  border-top: 2px solid var(--gold);
  box-shadow: 0 14px 34px rgba(30,33,25,.18);
  text-transform: none; letter-spacing: 0.02em; font-weight: 400; font-size: 0.86rem;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .16s ease, transform .16s ease, visibility 0s linear .16s;
}
/* invisible bridge over the gap, so the pointer can travel from item to panel */
.sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -1.3rem; height: 1.3rem; }
.nav__list > li:hover > .sub-menu,
.nav__list > li:focus-within > .sub-menu,
.nav__list > li.is-open > .sub-menu {
  opacity: 1; visibility: visible; transform: none; transition-delay: 0s;
}
.sub-menu a { display: block; padding: 0.5rem 1.1rem; opacity: 1; white-space: nowrap; }
.sub-menu a:hover, .sub-menu a:focus-visible { background: var(--bg-alt); }
.masthead__tools { display: flex; align-items: center; gap: 1rem; }
.icon-link { position: relative; display: inline-flex; }
.cart-count {
  position: absolute; top: -0.4rem; right: -0.5rem;
  min-width: 1.1rem; padding: 0 0.25rem;
  background: var(--gold); color: var(--bg-olive-dk);
  border-radius: 999px; font-size: 0.65rem; line-height: 1.1rem; text-align: center;
}
/* Hamburger toggle — hidden on desktop, where the full nav fits. */
.nav-toggle {
  display: none; width: 2.4rem; height: 2.4rem; padding: 0.55rem;
  background: none; border: 0; cursor: pointer; color: inherit;
  flex-direction: column; justify-content: space-between;
}
.nav-toggle__bar { display: block; height: 1.5px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(0.5rem) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-0.5rem) rotate(-45deg); }
.nav__utility { display: none; }
.btn--book__short { display: none; }

@media (max-width: 1100px) {
  .masthead { position: relative; }
  .brandmark__sub { white-space: nowrap; font-size: 0.55rem; letter-spacing: 0.12em; }
  .masthead__inner { justify-content: space-between; }
  .nav-toggle { display: flex; }
  .masthead__tools .icon-link:not(.icon-link--cart) { display: none; }
  .btn--book__long { display: none; }
  .btn--book__short { display: inline; }

  /* The nav becomes a panel under the masthead, toggled by body.nav-open. */
  .nav {
    position: absolute; left: 0; right: 0; top: 100%; z-index: 150;
    display: none; margin: 0; padding: 0.6rem var(--gutter) 1.2rem;
    background: var(--bg-olive); box-shadow: 0 12px 24px rgba(30,33,25,.25);
  }
  body.nav-open .nav { display: block; }
  .nav__list, .nav__utility {
    display: flex; flex-direction: column; gap: 0;
    list-style: none; margin: 0; padding: 0;
    font-size: var(--step--1); letter-spacing: 0.12em; text-transform: uppercase;
  }
  .nav__list a, .nav__utility a {
    display: block; padding: 0.85rem 0;
    border-bottom: 1px solid rgba(247,245,240,.14); text-decoration: none;
  }
  .nav__utility { margin-top: 0.4rem; opacity: .85; }
  .nav__utility a { border-bottom: 0; padding-block: 0.6rem; }

  /* In the panel, sub-items are listed under their parent — nothing hidden
     behind a second tap on a small screen. */
  .nav__list > li { display: block; }
  .sub-toggle { display: none; }
  .sub-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    min-width: 0; padding: 0.2rem 0 0.6rem; background: none; color: inherit;
    border: 0; box-shadow: none; font-size: 0.86rem;
  }
  .sub-menu::before { display: none; }
  .nav__list .sub-menu a { padding: 0.45rem 0 0.45rem 1rem; border-bottom: 0; opacity: .8; }
  .sub-menu a:hover { background: none; opacity: 1; }
}
/* Phones: mark + wordmark only, as in the salon's logo file. The subtitle in
   Montserrat is wider than the old serif and pushed the hamburger off-screen. */
@media (max-width: 600px) {
  .brandmark__sub { display: none; }
  .masthead__tools { gap: 0.7rem; }
}
@media (max-width: 420px) {
  .brandmark { gap: 0.6rem; }
  .brandmark__mark { width: 2.2rem; height: 2.2rem; font-size: 1.4rem; }
  .brandmark__name { font-size: 0.95rem; letter-spacing: 0.24em; }
}

/* -------------------------------------------------------------- hero ----- */
.hero { position: relative; background: var(--bg-olive-dk); color: var(--ink-invert); overflow: hidden; }
.hero__media {
  position: absolute; inset: 0;
  /* Replace with the client's shot once supplied; gradient is a stand-in. */
  background: linear-gradient(105deg, #2f3427 0%, #4f5644 45%, #6b6d58 100%);
}
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(30,33,25,.82) 0%, rgba(30,33,25,.45) 55%, rgba(30,33,25,.1) 100%);
}
.hero__inner { position: relative; padding-block: clamp(4rem, 3rem + 8vw, 9rem); max-width: 46rem; }
.hero__sub { display: block; font-size: 0.78em; opacity: 0.95; }
.hero__lede { max-width: 34rem; color: rgba(247,245,240,.85); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 2rem; }

/* ----------------------------------------------------------- usp bar ----- */
.usp-bar { background: var(--bg-olive); color: var(--ink-invert); }
.usp-bar__list {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: 1.5rem; list-style: none; margin: 0; padding-block: 2rem; text-align: center;
}
.usp-bar__list strong {
  display: block; font-size: var(--step--1);
  letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500;
}
.usp-bar__list span { font-size: var(--step--1); opacity: 0.75; }

/* ------------------------------------------------------------ brands ----- */
.brands__grid {
  display: grid; gap: clamp(1.5rem, 3vw, 3rem); align-items: center;
  grid-template-columns: 1fr 1.4fr 1fr;
}
.brand-card { text-align: center; }
.brand-card__name {
  font-size: var(--step-2); letter-spacing: 0.2em; text-transform: uppercase;
}
.brand-card p { color: var(--ink-muted); margin-bottom: 1.6rem; }
.brands__media {
  min-height: clamp(14rem, 22vw, 20rem);
  background: linear-gradient(135deg, #e6ded1, #cfc4b0);
}
@media (max-width: 860px) {
  .brands__grid { grid-template-columns: 1fr; }
  .brands__media { order: -1; }
}

/* ---------------------------------------------------------- problems ----- */
.problems { background: var(--bg); }
.problems__grid {
  display: grid; gap: 1rem; list-style: none; margin: 0; padding: 0;
  grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr));
}
.problem-card a {
  display: flex; flex-direction: column; align-items: center; gap: 0.35rem;
  height: 100%; padding: 1.8rem 1rem;
  background: #fff; border: 1px solid var(--line);
  text-align: center; text-decoration: none;
  transition: border-color .18s ease, transform .18s ease;
}
.problem-card a:hover { border-color: var(--bg-olive); transform: translateY(-2px); }
.problem-card__icon {
  width: 2.6rem; height: 2.6rem; margin-bottom: 0.6rem;
  border: 1px solid var(--line); border-radius: 50%;
}
.problem-card__title {
  font-size: var(--step--1); letter-spacing: 0.12em; text-transform: uppercase;
}
.problem-card__sub { font-size: var(--step--1); color: var(--ink-muted); }
.problem-card__cta {
  margin-top: auto; padding-top: 0.9rem;
  font-size: var(--step--1); color: var(--bg-olive);
}
.problems__quiz {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 1.2rem; margin-top: 2.5rem;
}
.problems__quiz-note {
  font-family: var(--font-display); font-style: italic;
  font-size: var(--step-1); color: var(--ink-muted);
}

/* -------------------------------------------------------- treatments ----- */
.treatments { position: relative; overflow: hidden; }
.treatments__media {
  position: absolute; inset: 0;
  background: linear-gradient(120deg, #3a3f30 0%, #565b48 60%, #6f7159 100%);
}
.treatments__media::after {
  content: ""; position: absolute; inset: 0; background: rgba(30,33,25,.55);
}
.treatments__inner {
  position: relative; display: grid; gap: clamp(1.5rem, 4vw, 3.5rem);
  grid-template-columns: 1fr 1.25fr; align-items: center;
}
.treatments__intro p { color: rgba(247,245,240,.85); }
.treatments__intro .btn { margin-top: 1.2rem; }
.treatments__cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  list-style: none; margin: 0; padding: 0;
  background: rgba(247,245,240,.22);
  border: 1px solid rgba(247,245,240,.22);
}
.treatments__cards a {
  display: flex; flex-direction: column; gap: 0.5rem; height: 100%;
  padding: 1.8rem 1.2rem; background: rgba(30,33,25,.35);
  text-align: center; text-decoration: none;
}
.treatments__cards a:hover { background: rgba(30,33,25,.55); }
.treatment-card__title {
  font-size: var(--step--1); letter-spacing: 0.12em; text-transform: uppercase;
}
.treatment-card__desc { font-size: var(--step--1); color: rgba(247,245,240,.75); }
.treatment-card__cta { margin-top: auto; padding-top: 0.9rem; font-size: var(--step--1); color: var(--gold); }
@media (max-width: 900px) {
  .treatments__inner { grid-template-columns: 1fr; }
  .treatments__cards { grid-template-columns: 1fr; }
}

/* ----------------------------------------------------------- routine ----- */
.routine { background: var(--bg); }
.routine__inner {
  display: grid; gap: clamp(1.5rem, 4vw, 3.5rem);
  grid-template-columns: 0.85fr 2fr; align-items: start;
}
.routine__intro p { color: var(--ink-muted); margin-bottom: 1.6rem; }
.routine__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr));
  gap: 1rem; list-style: none; margin: 0; padding: 0;
}
.category-card a {
  display: flex; flex-direction: column; height: 100%;
  text-align: center; text-decoration: none;
}
.category-card__media {
  display: block; aspect-ratio: 3 / 4; margin-bottom: 0.9rem;
  background: linear-gradient(150deg, #ece5da, #d8cebd);
}
.category-card__title {
  font-size: var(--step--1); letter-spacing: 0.12em; text-transform: uppercase;
}
.category-card__sub { font-size: var(--step--1); color: var(--ink-muted); }
.category-card__cta { margin-top: auto; padding-top: 0.7rem; font-size: var(--step--1); color: var(--bg-olive); }
@media (max-width: 860px) { .routine__inner { grid-template-columns: 1fr; } }

/* --------------------------------------------------------- trust bar ----- */
.trust-bar { background: var(--bg-alt); }
.trust-bar__list {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  gap: 1.2rem; list-style: none; margin: 0; padding-block: 1.6rem;
  text-align: center; font-size: var(--step--1);
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted);
}

/* ------------------------------------------------------------ footer ----- */
.site-footer { background: var(--bg-olive-dk); color: var(--ink-invert); }
.site-footer__grid {
  display: grid; gap: clamp(1.8rem, 4vw, 3.5rem);
  grid-template-columns: 1fr 1fr 1fr; padding-block: var(--band);
}
.footer-h {
  font-family: var(--font-body); font-size: var(--step--1);
  letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 0.9rem;
}
.footer-col p, .footer-col address { color: rgba(247,245,240,.75); font-style: normal; }
.signup { display: flex; margin-top: 1.2rem; border-bottom: 1px solid rgba(247,245,240,.4); }
.signup input {
  flex: 1; padding: 0.6em 0; background: none; border: 0;
  color: inherit; font: inherit;
}
.signup input::placeholder { color: rgba(247,245,240,.5); }
.signup button { padding: 0 0.6em; background: none; border: 0; color: inherit; cursor: pointer; font-size: 1.1rem; }
.promises { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; }
.promises strong {
  display: block; font-size: var(--step--1);
  letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500;
}
.promises span { font-size: var(--step--1); color: rgba(247,245,240,.7); }
.site-footer__legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  padding-block: 1.4rem; border-top: 1px solid rgba(247,245,240,.15);
  font-size: var(--step--1);
}
.legal-menu { display: flex; flex-wrap: wrap; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.legal-menu a, .copyright { color: rgba(247,245,240,.7); text-decoration: none; }
.copyright { margin: 0; }
@media (max-width: 860px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------- booking CTA ----- */
/* Gold rather than olive: booking is the one action that should out-rank
   everything else in the header, including the cart. */
.btn--book {
  background: var(--gold);
  color: #2a2a26;
  white-space: nowrap;
}
.btn--book:hover { background: #a68e59; }
.masthead__tools .btn--book { padding: 0.7em 1.3em; }

.treatments__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.2rem; }
.treatments__actions .btn { margin-top: 0; }

.footer-book { margin-top: 1rem; }
.footer-book a {
  font-size: var(--step--1); letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gold); text-decoration: none;
}

/* Below the nav breakpoint the label alone is too wide next to the icons. */
@media (max-width: 560px) {
  .masthead__tools .btn--book { padding: 0.6em 0.9em; font-size: 0.68rem; letter-spacing: 0.08em; }
}

/* ==========================================================================
   Placeholders — "Hamarosan" states standing in for missing photography.
   These read as intentional rather than broken. Delete the class, not the
   markup, once real images land.
   ========================================================================== */
.is-placeholder { position: relative; }
.is-placeholder > span {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: var(--step--1); letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-muted); opacity: 0.65;
}

/* ---------------------------------------------------------- instagram --- */
.instagram { background: var(--bg); }
.instagram__head {
  display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between;
  gap: 1rem; margin-bottom: 1.5rem;
}
.instagram__title {
  font-family: var(--font-body); font-size: var(--step--1);
  letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 0.3rem;
}
.instagram__head p { margin: 0; color: var(--ink-muted); font-size: var(--step--1); }
.instagram__handle {
  font-size: var(--step--1); letter-spacing: 0.1em;
  color: var(--bg-olive); text-decoration: none;
  border-bottom: 1px solid var(--line); padding-bottom: 2px;
}
.instagram__grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 0.6rem;
  list-style: none; margin: 0; padding: 0;
}
.instagram__grid li {
  aspect-ratio: 1; background: linear-gradient(150deg, #ece5da, #d8cebd);
}
@media (max-width: 760px) { .instagram__grid { grid-template-columns: repeat(3, 1fr); } }

/* ------------------------------------------------------------- social --- */
.social { display: flex; gap: 0.8rem; list-style: none; margin: 1.2rem 0 0; padding: 0; }
.social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.2rem; height: 2.2rem;
  border: 1px solid rgba(247,245,240,.3); border-radius: 50%;
  color: var(--ink-invert); transition: background-color .18s ease;
}
.social a:hover { background: rgba(247,245,240,.12); }

/* ==========================================================================
   WooCommerce
   Woo's own general/layout stylesheets are dequeued in functions.php; these
   rules replace them so the shop inherits the site's design language.
   ========================================================================== */
.shop-band { background: var(--bg); }
.woocommerce-products-header__title,
.shop-band .entry-title,
.woocommerce-products-header h1 {
  font-family: var(--font-display); font-size: var(--step-2);
  letter-spacing: 0.06em; text-transform: uppercase; text-align: center;
  margin-bottom: 0.6rem;
}
.woocommerce-breadcrumb {
  font-size: var(--step--1); color: var(--ink-muted);
  margin-bottom: 1.5rem; text-align: center;
}
.woocommerce-breadcrumb a { color: var(--ink-muted); text-decoration: none; }

.woocommerce-result-count, .woocommerce-ordering { font-size: var(--step--1); }
.woocommerce-ordering select {
  padding: 0.5em 0.8em; border: 1px solid var(--line);
  background: #fff; font: inherit; font-size: var(--step--1);
}
.shop-band .woocommerce-notices-wrapper:empty { display: none; }

/* product grid */
ul.products {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 2rem);
  list-style: none; margin: 2rem 0 0; padding: 0; clear: both;
}
ul.products li.product { text-align: center; }
ul.products li.product a { text-decoration: none; color: inherit; }
ul.products li.product img {
  width: 100%; aspect-ratio: 3 / 4; object-fit: cover;
  margin-bottom: 0.9rem; background: linear-gradient(150deg, #ece5da, #d8cebd);
}
.woocommerce-loop-product__title {
  font-family: var(--font-body); font-size: var(--step--1);
  letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 0.35rem;
}
ul.products li.product .price {
  display: block; font-size: var(--step-0); color: var(--ink); margin-bottom: 0.9rem;
}
ul.products li.product .price del { opacity: .5; margin-right: .4em; }
ul.products li.product .price ins { text-decoration: none; }
.onsale {
  display: inline-block; padding: 0.2em 0.7em; margin-bottom: 0.5rem;
  background: var(--gold); color: #2a2a26;
  font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase;
}

/* buttons — one look across shop, cart and checkout */
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce #respond input#submit, .wc-block-components-button {
  display: inline-block; padding: 0.8em 1.7em;
  background: var(--bg-olive); color: var(--ink-invert);
  border: 1px solid transparent; border-radius: 0; cursor: pointer;
  font-family: var(--font-body); font-size: var(--step--1);
  letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none;
  transition: background-color .18s ease;
}
.woocommerce a.button:hover, .woocommerce button.button:hover,
.woocommerce input.button:hover, .woocommerce #respond input#submit:hover {
  background: var(--bg-olive-dk); color: var(--ink-invert);
}
.woocommerce a.button.alt, .woocommerce button.button.alt {
  background: var(--gold); color: #2a2a26;
}
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover { background: #a68e59; }

/* single product */
.woocommerce div.product { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); }
.woocommerce div.product .woocommerce-product-gallery { grid-column: 1; }
.woocommerce div.product .summary { grid-column: 2; }
.woocommerce div.product .woocommerce-tabs,
.woocommerce div.product .related { grid-column: 1 / -1; }
.woocommerce div.product .product_title { font-size: var(--step-2); }
.woocommerce div.product p.price { font-size: var(--step-1); color: var(--ink); }
.woocommerce div.product form.cart { display: flex; gap: 0.7rem; margin: 1.5rem 0; }
.woocommerce .quantity input[type="number"] {
  width: 4.5rem; padding: 0.7em; border: 1px solid var(--line); font: inherit;
}
.woocommerce div.product .woocommerce-tabs ul.tabs {
  display: flex; gap: 1.5rem; list-style: none; margin: 2.5rem 0 1rem; padding: 0 0 0.6rem;
  border-bottom: 1px solid var(--line);
  font-size: var(--step--1); letter-spacing: 0.1em; text-transform: uppercase;
}
.woocommerce div.product .woocommerce-tabs ul.tabs a { text-decoration: none; color: var(--ink-muted); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--ink); }

/* cart + checkout tables */
.woocommerce table.shop_table {
  width: 100%; border-collapse: collapse; margin-bottom: 2rem;
}
.woocommerce table.shop_table th, .woocommerce table.shop_table td {
  padding: 0.9rem 0.6rem; border-bottom: 1px solid var(--line); text-align: left;
}
.woocommerce table.shop_table th {
  font-size: var(--step--1); letter-spacing: 0.1em; text-transform: uppercase; font-weight: 500;
}
.woocommerce form .form-row { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 1rem; }
.woocommerce form .form-row label { font-size: var(--step--1); color: var(--ink-muted); }
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
  padding: 0.7em 0.8em; border: 1px solid var(--line); background: #fff; font: inherit;
}
.woocommerce .cart-empty, .woocommerce-info, .woocommerce-message {
  padding: 1rem 1.2rem; background: var(--bg-alt);
  border-left: 3px solid var(--gold); margin-bottom: 1.5rem;
}

@media (max-width: 1000px) { ul.products { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) {
  ul.products { grid-template-columns: repeat(2, 1fr); }
  /* Block flow, not a one-column grid: an explicitly placed child would
     otherwise spawn an implicit second column and overflow by one gap. */
  .woocommerce div.product { display: block; }
  .woocommerce div.product .woocommerce-product-gallery,
  .woocommerce div.product .summary,
  .woocommerce div.product .woocommerce-tabs,
  .woocommerce div.product .related { grid-column: auto; margin-bottom: 1.5rem; }
}

/* -------------------------------------------------------- shop filters --- */
.shop-filters {
  display: grid; gap: 1rem; margin: 1.5rem 0 0.5rem;
  padding: 1.4rem 1.6rem; background: var(--bg-alt); clear: both;
}
.shop-filters__group { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1rem; }
.shop-filters__label {
  min-width: 6rem; font-size: var(--step--1);
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-muted);
}
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; margin: 0; padding: 0; }
.chip {
  display: inline-block; padding: 0.45em 1.1em;
  background: #fff; border: 1px solid var(--line);
  font-size: var(--step--1); letter-spacing: 0.08em;
  text-decoration: none; color: var(--ink);
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.chip:hover { border-color: var(--bg-olive); }
.chip.is-active { background: var(--bg-olive); border-color: var(--bg-olive); color: var(--ink-invert); }
@media (max-width: 620px) {
  .shop-filters__label { min-width: 100%; }
}

/* ==========================================================================
   Scalp consultant chat
   ========================================================================== */
/* Flex column aligned to the end: the launcher hugs the right edge even when
   the container is pinned to both sides for a full-width panel on mobile.
   (margin-left:auto cannot do this on an inline-flex launcher.) */
#bergamot-chat {
  position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 200;
  display: flex; flex-direction: column; align-items: flex-end;
}

.bgc-fab {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.8rem 1.25rem 0.8rem 1.05rem; margin-left: auto;
  border: 0; border-radius: 999px; cursor: pointer;
  background: var(--bg-olive-dk); color: var(--ink-invert);
  font-family: var(--font-body); font-size: 0.86rem; font-weight: 500;
  box-shadow: 0 8px 28px rgba(30,33,25,.35);
  transition: background-color .18s ease, transform .18s ease;
}
.bgc-fab:hover { background: var(--bg-olive); transform: translateY(-1px); }
.bgc-fab svg { display: block; flex: none; }

/* `hidden` alone cannot beat an explicit display value, so state it. Without
   this the panel renders open on every page load. */
.bgc-panel[hidden], .bgc-fab[hidden] { display: none !important; }

.bgc-panel {
  display: flex; flex-direction: column; overflow: hidden;
  border-radius: 1.25rem 1.25rem 0.4rem 1.25rem;
  width: min(23rem, calc(100vw - 2.4rem));
  max-height: min(34rem, calc(100vh - 3rem));
  background: var(--bg);
  border: 1px solid var(--line);
  box-shadow: 0 12px 40px rgba(30,33,25,.3);
}

.bgc-head {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 1rem;
  background: var(--bg-olive); color: var(--ink-invert);
}
.bgc-title {
  flex: 1; font-size: var(--step--1);
  letter-spacing: 0.14em; text-transform: uppercase;
}
.bgc-icon {
  width: 1.8rem; height: 1.8rem; padding: 0;
  background: none; border: 0; cursor: pointer;
  color: inherit; font-size: 0.95rem; line-height: 1; opacity: .8;
}
.bgc-icon:hover { opacity: 1; }

.bgc-log {
  display: flex; flex-direction: column; gap: 0.55rem;
  padding: 1rem; overflow-y: auto; flex: 1; min-height: 6rem;
}
.bgc-bubble {
  max-width: 85%; padding: 0.6rem 0.85rem;
  font-size: 0.86rem; line-height: 1.5; white-space: pre-wrap;
}
.bgc-bubble--bot { align-self: flex-start; background: var(--bg-alt); color: var(--ink); }
.bgc-bubble--me  { align-self: flex-end;   background: var(--bg-olive); color: var(--ink-invert); }

.bgc-input-area { padding: 0 1rem 0.9rem; }
.bgc-choices { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.bgc-choice {
  padding: 0.45em 0.9em; cursor: pointer;
  background: #fff; border: 1px solid var(--line);
  color: var(--ink); font: inherit; font-size: 0.8rem; text-decoration: none;
  transition: border-color .18s ease, background-color .18s ease;
}
.bgc-choice:hover { border-color: var(--bg-olive); }
.bgc-choice--primary { background: var(--bg-olive); border-color: var(--bg-olive); color: var(--ink-invert); }
.bgc-choice--primary:hover { background: var(--bg-olive-dk); }

.bgc-field { display: flex; gap: 0.4rem; }
.bgc-input {
  flex: 1; padding: 0.55em 0.7em;
  border: 1px solid var(--line); background: #fff;
  font: inherit; font-size: 0.85rem; resize: vertical;
}
.bgc-send {
  padding: 0.55em 1.1em; cursor: pointer;
  background: var(--bg-olive); border: 0; color: var(--ink-invert);
  font: inherit; font-size: 0.75rem;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.bgc-send:disabled { opacity: .6; cursor: default; }
.bgc-send--wide { width: 100%; margin-top: 0.6rem; }

.bgc-consent__label {
  display: flex; gap: 0.5rem; align-items: flex-start;
  font-size: 0.76rem; line-height: 1.45; color: var(--ink-muted);
}
.bgc-consent__label input { margin-top: 0.2rem; flex: none; }

.bgc-back {
  margin-top: 0.6rem; padding: 0;
  background: none; border: 0; cursor: pointer;
  color: var(--ink-muted); font: inherit; font-size: 0.76rem;
  text-decoration: underline;
}
.bgc-error {
  margin: 0 0 0.5rem; padding: 0.5rem 0.7rem;
  background: #f6e9e4; border-left: 3px solid #b4644a;
  font-size: 0.78rem; color: #7a3d2a;
}
.bgc-disclaimer {
  margin: 0; padding: 0.6rem 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.7rem; line-height: 1.4; color: var(--ink-muted);
}

@media (max-width: 480px) {
  #bergamot-chat { right: 0.8rem; bottom: 0.8rem; left: 0.8rem; }
  .bgc-panel { width: 100%; max-height: calc(100vh - 5rem); }
  .bgc-fab { padding: 0.7rem 1.1rem 0.7rem 0.95rem; font-size: 0.82rem; }
}

/* ==========================================================================
   Mobile refinements
   ========================================================================== */
@media (max-width: 640px) {
  /* Six problem cards two-up instead of a 1750px single column. */
  .problems__grid { grid-template-columns: repeat(2, 1fr); gap: 0.7rem; }
  .problem-card a { padding: 1.3rem 0.7rem; }
  .problem-card__icon { width: 2.2rem; height: 2.2rem; }
  .problems__quiz { flex-direction: column; text-align: center; }

  /* Filter groups become one-line scroll rails so all three fit in ~150px. */
  .shop-filters { padding: 1rem var(--gutter); margin-inline: calc(var(--gutter) * -1); }
  /* A grid item defaults to min-width:auto and will not shrink below its
     nowrap content — this is the line that actually stops the overflow. */
  .shop-filters__group { flex-wrap: nowrap; align-items: center; min-width: 0; }
  .shop-filters__label { min-width: auto; flex: none; }
  /* min-width:0 is what lets a flex child actually shrink and scroll;
     without it the rail expands to its content and overflows the page. */
  .chips {
    flex: 1; min-width: 0; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch;
    scrollbar-width: none; padding-bottom: 2px;
  }
  .chips::-webkit-scrollbar { display: none; }
  .chip { white-space: nowrap; }

  /* Loop cards: keep the CTA on one line, calm the title. */
  .woocommerce-loop-product__title { font-size: 0.72rem; letter-spacing: 0.06em; }
  ul.products li.product .price { font-size: 0.9rem; }
  ul.products li.product .button {
    padding: 0.7em 0.9em; font-size: 0.66rem; letter-spacing: 0.08em; white-space: nowrap;
  }

  /* Single product: tabs as a scroll rail, meta stacked. */
  .woocommerce div.product .woocommerce-tabs ul.tabs {
    flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: 1.2rem;
  }
  .woocommerce div.product .woocommerce-tabs ul.tabs::-webkit-scrollbar { display: none; }
  .woocommerce div.product .woocommerce-tabs ul.tabs a { white-space: nowrap; }
  .woocommerce div.product .product_meta > span { display: block; margin-bottom: 0.3rem; }
  .woocommerce div.product form.cart .button { flex: 1; text-align: center; }
}


/* ---------------------------------------------------- contrast fix ------- */
/* `ul.products li.product a { color: inherit }` was out-ranking the button
   colour, leaving "Kosárba teszem" in dark ink on olive (1.9:1). */
ul.products li.product a.button,
ul.products li.product a.added_to_cart { color: var(--ink-invert); }
ul.products li.product a.added_to_cart {
  display: inline-block; margin-top: 0.5rem; color: var(--bg-olive);
  font-size: var(--step--1); text-decoration: underline;
}

/* ==========================================================================
   Palette: DAYLIGHT  (html[data-palette="daylight"])
   A light blend of the two brands, sampled from the packshots:
     Oway     terracotta #e46c3c · amber-brown #6c3c0c · sand #ccb49c
     NAK Hair aqua #cce4e4 · blush #fccccc · lilac #e4cce4 · apricot #fce4cc
              periwinkle #ccccfc · plum #54243c (Structure line)
   Oway gives the warmth and the action colour; NAK gives the pastel field
   and the plum anchor. Revert: `wp option update bergamot_palette classic`.
   Everything below is additive — delete this block and "classic" is intact.
   ========================================================================== */
html[data-palette="daylight"] {
  --bg:          #fbf8f4;
  --bg-alt:      #f5eee6;
  --bg-olive:    #9c4526;   /* primary action: deep Oway terracotta, white text 7.3:1 */
  --bg-olive-dk: #54243c;   /* NAK plum: announce bar, footer, treatments band */
  --ink:         #2b2224;
  --ink-muted:   #6f6266;
  --gold:        #e39468;   /* warm apricot accent (on plum, and as a fill) */
  --line:        #eadfd6;

  --nak-aqua:   #d3e9e8;
  --nak-blush:  #fbd8d6;
  --nak-lilac:  #eadaf0;
  --nak-apricot:#fde6cf;
  --nak-peri:   #d9dafa;
  --oway-sand:  #eadccb;
}

/* header: light, so the brand colour lives in the content, not the chrome */
html[data-palette="daylight"] .masthead {
  background: var(--bg); color: var(--ink);
  border-bottom: 1px solid var(--line);
}
html[data-palette="daylight"] .btn--book { background: var(--bg-olive); color: #fff; }
html[data-palette="daylight"] .btn--book:hover { background: #7f371e; }
html[data-palette="daylight"] .cart-count { background: var(--bg-olive); color: #fff; }
@media (max-width: 1100px) {
  html[data-palette="daylight"] .nav { background: var(--bg); box-shadow: 0 14px 28px rgba(84,36,60,.14); }
  html[data-palette="daylight"] .nav__list a,
  html[data-palette="daylight"] .nav__utility a { border-bottom-color: var(--line); }
}

/* hero: a soft pastel wash across the NAK range, ink text */
html[data-palette="daylight"] .hero { background: var(--nak-apricot); color: var(--ink); }
html[data-palette="daylight"] .hero__media {
  background: linear-gradient(115deg, var(--nak-apricot) 0%, var(--nak-blush) 38%, var(--nak-lilac) 68%, var(--nak-aqua) 100%);
}
html[data-palette="daylight"] .hero__media::after {
  background: linear-gradient(90deg, rgba(251,248,244,.55) 0%, rgba(251,248,244,.15) 60%, rgba(251,248,244,0) 100%);
}
html[data-palette="daylight"] .hero .eyebrow { color: var(--bg-olive); }
html[data-palette="daylight"] .hero__lede { color: var(--ink-muted); }
html[data-palette="daylight"] .hero .btn--ghost:hover { background: var(--ink); color: #fff; }

/* USP strip: aqua, the calmest of the NAK tints */
html[data-palette="daylight"] .usp-bar { background: var(--nak-aqua); color: var(--ink); }

/* eyebrows on light grounds need the deeper tone to stay readable */
html[data-palette="daylight"] .eyebrow { color: var(--bg-olive); }
html[data-palette="daylight"] .band--olive .eyebrow { color: var(--gold); }

/* placeholders pick up the pastels instead of beige */
html[data-palette="daylight"] .brands__media { background: linear-gradient(135deg, var(--nak-blush), var(--oway-sand)); }
html[data-palette="daylight"] .routine__grid li:nth-child(4n+1) .category-card__media { background: var(--nak-aqua); }
html[data-palette="daylight"] .routine__grid li:nth-child(4n+2) .category-card__media { background: var(--nak-blush); }
html[data-palette="daylight"] .routine__grid li:nth-child(4n+3) .category-card__media { background: var(--nak-lilac); }
html[data-palette="daylight"] .routine__grid li:nth-child(4n+4) .category-card__media { background: var(--nak-apricot); }
html[data-palette="daylight"] .instagram__grid li:nth-child(3n+1) { background: var(--nak-apricot); }
html[data-palette="daylight"] .instagram__grid li:nth-child(3n+2) { background: var(--nak-aqua); }
html[data-palette="daylight"] .instagram__grid li:nth-child(3n+3) { background: var(--nak-lilac); }

/* scalp-problem cards: each problem gets its own NAK tint on the icon + top edge */
html[data-palette="daylight"] .problem-card a { border-top-width: 3px; }
html[data-palette="daylight"] .problems__grid li:nth-child(1) a { border-top-color: #9fcfcc; } html[data-palette="daylight"] .problems__grid li:nth-child(1) .problem-card__icon { background: var(--nak-aqua);    border-color: transparent; }
html[data-palette="daylight"] .problems__grid li:nth-child(2) a { border-top-color: #f2aaa6; } html[data-palette="daylight"] .problems__grid li:nth-child(2) .problem-card__icon { background: var(--nak-blush);   border-color: transparent; }
html[data-palette="daylight"] .problems__grid li:nth-child(3) a { border-top-color: #f5c08e; } html[data-palette="daylight"] .problems__grid li:nth-child(3) .problem-card__icon { background: var(--nak-apricot); border-color: transparent; }
html[data-palette="daylight"] .problems__grid li:nth-child(4) a { border-top-color: #d3b8de; } html[data-palette="daylight"] .problems__grid li:nth-child(4) .problem-card__icon { background: var(--nak-lilac);   border-color: transparent; }
html[data-palette="daylight"] .problems__grid li:nth-child(5) a { border-top-color: #b4b6f0; } html[data-palette="daylight"] .problems__grid li:nth-child(5) .problem-card__icon { background: var(--nak-peri);    border-color: transparent; }
html[data-palette="daylight"] .problems__grid li:nth-child(6) a { border-top-color: #d8c2a6; } html[data-palette="daylight"] .problems__grid li:nth-child(6) .problem-card__icon { background: var(--oway-sand);   border-color: transparent; }

/* treatments band: plum instead of olive */
html[data-palette="daylight"] .treatments__media { background: linear-gradient(120deg, #3e1a2c 0%, #54243c 55%, #6e3a4f 100%); }
html[data-palette="daylight"] .treatments__media::after { background: rgba(40,16,28,.35); }
html[data-palette="daylight"] .treatments .btn--book { background: var(--gold); color: #2b2224; }

/* trust strip + shop filter panel on the sand tone */
html[data-palette="daylight"] .trust-bar { background: var(--oway-sand); color: var(--ink); }

/* gold-filled elements keep dark text; hover darkens toward terracotta */
html[data-palette="daylight"] .woocommerce a.button.alt:hover,
html[data-palette="daylight"] .woocommerce button.button.alt:hover { background: #d27d4f; }

/* Narrow Androids (360px): the booking pill and tracking give back a few px. */
@media (max-width: 380px) {
  .masthead__tools { gap: 0.5rem; }
  .masthead__tools .btn--book { padding: 0.55em 0.75em; letter-spacing: 0.08em; }
  .brandmark__name { letter-spacing: 0.2em; margin-right: -0.2em; }
}
/* 320px (first-gen iPhone SE): the B mark alone carries the brand. */
@media (max-width: 340px) { .brandmark__text { display: none; } }

/* Montserrat runs wider than the old fallback: nav labels must never wrap,
   and between the hamburger breakpoint and a wide desktop the header gives
   back space instead (short booking label, tighter tracking). */
.nav__list > li > a { white-space: nowrap; }
@media (min-width: 1101px) and (max-width: 1360px) {
  .masthead__inner { gap: 1.2rem; }
  .nav__list { gap: 0.9rem; letter-spacing: 0.08em; font-size: 0.7rem; }
  .brandmark__sub { display: none; }
  .btn--book__long { display: none; }
  .btn--book__short { display: inline; }
  .masthead__tools { gap: 0.7rem; }
}

/* The chat launcher would sit on top of the open mobile menu. */
body.nav-open #bergamot-chat { display: none; }

/* Headings in Montserrat: light weight echoes the thin B of the logo; slightly
   tighter leading because a geometric sans sets taller than the old serif. */
h1, h2, h3 { font-weight: 300; line-height: 1.2; letter-spacing: 0; }
h1 { letter-spacing: -0.01em; }
.hero h1 { font-weight: 400; }
.hero__sub { font-weight: 300; }
.section-head h2, .brand-card__name { font-weight: 400; }
/* Only upright Montserrat is loaded; a synthesised italic looks broken. */
.problems__quiz-note { font-style: normal; font-weight: 300; }

/* Daylight footer: warm brown from the Oway amber-brown packaging (#6c3c0c),
   softened so it sits next to the terracotta actions and the plum top bar.
   Cream text on #5e4030 is 8.6:1, apricot links 5.8:1. Owner request 2026-10-02. */
html[data-palette="daylight"] .site-footer { background: #5e4030; }
html[data-palette="daylight"] .site-footer__legal { border-top-color: rgba(247,245,240,.16); } /* legal row is a .wrap, so a fill would stop at the content edge — divider only */
html[data-palette="daylight"] .site-footer .footer-book a,
html[data-palette="daylight"] .site-footer a:hover { color: #f2c49c; }

/* newsletter consent + result line */
.signup-consent { display: flex; gap: 0.5rem; align-items: flex-start; margin-top: 0.7rem; font-size: 0.75rem; line-height: 1.45; color: rgba(247,245,240,.75); }
.signup-consent input { margin-top: 0.15rem; flex: none; }
.signup-msg { margin: 0.6rem 0 0; font-size: 0.82rem; }
.signup-msg--ok { color: #cfe8c4; }
.signup-msg--err { color: #f6c8b8; }

/* ==========================================================================
   Go-live finish (2026-10-22): brand imagery, shop toolbar, filters,
   pagination, product gallery, reassurance line, long-form pages.
   ========================================================================== */

/* ---- hero: text left, brand photo panel right ---- */
.hero__inner { max-width: none; }
.hero__inner > * { max-width: 34rem; }
.hero__photo {
  position: absolute; top: 0; right: 0; bottom: 0; width: 44%; margin: 0;
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; display: block; }
@media (max-width: 900px) {
  .hero__photo { position: relative; width: 100%; height: clamp(16rem, 70vw, 24rem); }
  .hero__inner { padding-block: 2.5rem 3rem; }
}

/* ---- brands centre image ---- */
.brands__media { overflow: hidden; }
.brands__media img { width: 100%; height: 100%; min-height: inherit; object-fit: cover; object-position: 50% 45%; display: block; }

/* ---- category cards: packshot on the tint, white backgrounds dissolve ---- */
.category-card__media { display: flex; align-items: center; justify-content: center; overflow: hidden; }
.category-card__media img { width: 78%; height: 86%; object-fit: contain; mix-blend-mode: multiply; transition: transform .25s ease; }
.category-card a:hover .category-card__media img { transform: scale(1.04); }

/* ---- instagram tiles ---- */
.instagram__grid li { overflow: hidden; }
.instagram__grid a { display: block; height: 100%; }
.instagram__grid img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease, opacity .3s ease; }
.instagram__grid a:hover img { transform: scale(1.04); opacity: .92; }

/* ---- shop toolbar: count left, sort right, one line ---- */
.shop-band .woocommerce-result-count { float: left; margin: 1.4rem 0 0; color: var(--ink-muted); }
.shop-band .woocommerce-ordering { float: right; margin: 1rem 0 0; }
.woocommerce-ordering select {
  appearance: none; -webkit-appearance: none; padding: 0.55em 2.2em 0.55em 0.9em;
  background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23887a7d' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 0.8em center;
  border: 1px solid var(--line); color: var(--ink); cursor: pointer;
}
ul.products { clear: both; }

/* ---- filters: category tabs + compact facet chips ---- */
.shop-filters { gap: 0.9rem; padding: 1.1rem 1.4rem 1.2rem; }
.shop-filters__group { flex-wrap: nowrap; align-items: center; gap: 1rem; min-width: 0; }
.shop-filters__label { flex: none; min-width: 7.5rem; font-size: 0.68rem; font-weight: 600; }
.shop-filters .chips { flex-wrap: wrap; gap: 0.4rem; min-width: 0; }
.shop-filters .chip {
  padding: 0.38em 0.95em; border-radius: 999px; background: var(--bg);
  font-size: 0.78rem; letter-spacing: 0.02em; white-space: nowrap;
}
.shop-filters .chip.is-active { background: var(--bg-olive-dk); border-color: var(--bg-olive-dk); color: var(--ink-invert); }
/* category = tabs: text with an underline, no boxes */
.shop-filters__group--tabs { padding-bottom: 0.9rem; border-bottom: 1px solid var(--line); }
.shop-filters__group--tabs .chips { gap: 0.2rem 1.4rem; }
.shop-filters__group--tabs .chip {
  padding: 0.3em 0; border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: none;
  font-size: 0.82rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-muted);
}
.shop-filters__group--tabs .chip:hover { color: var(--ink); }
.shop-filters__group--tabs .chip.is-active { background: none; color: var(--ink); border-bottom-color: var(--bg-olive); }
.shop-filters__clear { margin: 0; font-size: 0.8rem; }
.shop-filters__clear a { color: var(--bg-olive); }
@media (max-width: 760px) {
  .shop-filters { padding: 1rem var(--gutter); }
  .shop-filters__group { flex-direction: column; align-items: stretch; gap: 0.45rem; }
  /* one swipeable row per facet, edges fade to show there is more */
  .shop-filters .chips {
    flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 0.15rem;
    -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent);
            mask-image: linear-gradient(90deg, #000 85%, transparent);
  }
  .shop-filters .chips::-webkit-scrollbar { display: none; }
  .shop-filters .chips li:last-child { padding-right: 2rem; }
  .shop-band .woocommerce-result-count, .shop-band .woocommerce-ordering { float: none; }
  .shop-band .woocommerce-ordering select { width: 100%; }
}

/* ---- product grid: full-width images, readable titles on phones ---- */
ul.products li.product a.woocommerce-LoopProduct-link { display: block; }
ul.products li.product img { width: 100%; height: auto; }
ul.products li.product { min-width: 0; display: flex; flex-direction: column; }
ul.products li.product .button { margin-top: auto; align-self: center; }
@media (max-width: 760px) {
  ul.products { gap: 1.6rem 0.9rem; }
  .woocommerce-loop-product__title { font-size: 0.72rem; letter-spacing: 0.04em; }
  ul.products li.product .button { padding: 0.75em 1em; font-size: 0.68rem; letter-spacing: 0.08em; }
}

/* ---- pagination ---- */
.woocommerce-pagination { margin-top: 3rem; clear: both; }
.woocommerce-pagination ul.page-numbers {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem;
  list-style: none; margin: 0; padding: 0;
}
.woocommerce-pagination .page-numbers li { margin: 0; }
.woocommerce-pagination a.page-numbers, .woocommerce-pagination span.page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 2.6rem; height: 2.6rem; padding: 0 0.7rem;
  border: 1px solid var(--line); background: var(--bg);
  font-size: 0.9rem; font-variant-numeric: tabular-nums; text-decoration: none; color: var(--ink);
  transition: border-color .15s ease, background-color .15s ease;
}
.woocommerce-pagination a.page-numbers:hover { border-color: var(--bg-olive); }
.woocommerce-pagination span.current { background: var(--bg-olive-dk); border-color: var(--bg-olive-dk); color: var(--ink-invert); }
.woocommerce-pagination span.dots { border: 0; background: none; min-width: 1.4rem; }

/* ---- product gallery ---- */
.woocommerce div.product .woocommerce-product-gallery { position: relative; }
.woocommerce-product-gallery__trigger {
  position: absolute; top: 0.8rem; right: 0.8rem; z-index: 5; width: 2.3rem; height: 2.3rem;
  display: flex; align-items: center; justify-content: center; border-radius: 50%;
  background: var(--bg); border: 1px solid var(--line); font-size: 0; text-decoration: none;
}
.woocommerce-product-gallery__trigger::before { content: "⤢"; font-size: 1rem; color: var(--ink); }
.woocommerce-product-gallery__trigger img { display: none !important; }
.flex-control-nav.flex-control-thumbs {
  display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; margin: 0.8rem 0 0; padding: 0;
}
.flex-control-thumbs li { width: 4.5rem; margin: 0; }
.flex-control-thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; cursor: pointer; opacity: .55; border: 1px solid var(--line); transition: opacity .15s ease; }
.flex-control-thumbs img.flex-active, .flex-control-thumbs img:hover { opacity: 1; }
.woocommerce div.product .product_title { text-align: left; }
.pdp-trust { list-style: none; margin: 0.4rem 0 1.4rem; padding: 0.9rem 1rem; display: grid; gap: 0.35rem; background: var(--bg-alt); font-size: 0.82rem; }
.pdp-trust li { position: relative; padding-left: 1.3rem; }
.pdp-trust li::before { content: "✓"; position: absolute; left: 0; color: var(--bg-olive); font-weight: 600; }

/* ---- long-form pages (ÁSZF, adatvédelem, elállás) ---- */
.entry { max-width: 48rem; }
.entry h1 { margin-bottom: 1.2rem; }
.entry h2 { font-size: var(--step-1); font-weight: 500; margin: 2rem 0 0.6rem; }
.entry p, .entry li { line-height: 1.7; }
.entry table { border-collapse: collapse; width: 100%; font-size: 0.85rem; margin: 1rem 0; }
.entry th, .entry td { border: 1px solid var(--line); padding: 0.55rem 0.7rem; text-align: left; vertical-align: top; }
.entry th { background: var(--bg-alt); font-weight: 600; }
@media (max-width: 760px) { .entry table { display: block; overflow-x: auto; } }

/* equal label column so every chip row starts at the same x */
.shop-filters__label { flex: 0 0 9.5rem; min-width: 0; }
@media (max-width: 760px) { .shop-filters__label { flex-basis: auto; } }

/* out-of-stock notice in place of the add-to-cart form */
.pdp-oos { display: grid; gap: 0.8rem; justify-items: start; margin: 0.4rem 0 1rem; padding: 1rem 1.1rem; border-left: 3px solid var(--bg-olive); background: var(--bg-alt); font-size: 0.9rem; }
.pdp-oos p { margin: 0; }
.summary .stock.out-of-stock { display: none; } /* replaced by .pdp-oos */

/* ==========================================================================
   Coming-soon page (standalone) + staff reminder bar
   ========================================================================== */
body.coming-soon { margin: 0; min-height: 100vh; background: var(--bg); color: var(--ink); }
.cs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); min-height: 100vh; }
.cs__body {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 1.1rem;
  padding: clamp(2.5rem, 6vw, 6rem) max(1.5rem, 7vw);
  background: linear-gradient(135deg, var(--bg) 0%, var(--bg-alt) 100%);
}
.cs__brand { display: inline-flex; align-items: center; gap: 0.9rem; }
.cs__brand .brandmark__mark { width: 3.2rem; height: 3.2rem; font-size: 2rem; }
.cs__name { font-family: var(--font-body); font-weight: 500; font-size: 1.5rem; letter-spacing: 0.32em; }
.cs__eyebrow { margin: 0; font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-muted); }
.cs__title { margin: 1.2rem 0 0; font-family: var(--font-display); font-weight: 300; font-size: clamp(2.4rem, 1.6rem + 3vw, 4rem); line-height: 1.05; }
.cs__lede { margin: 0; max-width: 30rem; color: var(--ink-muted); line-height: 1.7; }
.cs__social { display: flex; flex-wrap: wrap; gap: 0.7rem; list-style: none; margin: 0.6rem 0 0; padding: 0; }
.cs__social a {
  display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.6rem 1.1rem;
  border: 1px solid var(--line); border-radius: 999px; background: var(--bg);
  color: var(--ink); text-decoration: none; font-size: 0.88rem; transition: border-color .15s ease;
}
.cs__social a:hover { border-color: var(--bg-olive); }
.cs__login { margin-top: 0.4rem; color: var(--ink); }
.cs__address { margin: 1.4rem 0 0; font-size: 0.8rem; color: var(--ink-muted); }
.cs__photo { margin: 0; position: relative; min-height: 18rem; }
.cs__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
@media (max-width: 800px) {
  .cs { grid-template-columns: 1fr; }
  .cs__photo { order: -1; height: 42vh; min-height: 15rem; }
}
.cs-staff-bar { padding: 0.5rem max(16px, 2vw); background: var(--bg-olive-dk); color: var(--ink-invert); font-size: 0.8rem; text-align: center; }
.cs-staff-bar a { color: var(--gold); margin-left: 0.4rem; }

/* ==========================================================================
   Product search
   ========================================================================== */
.product-search { display: flex; align-items: stretch; width: 100%; max-width: 40rem; border: 1px solid var(--line); background: var(--bg); }
.product-search input[type=search] {
  flex: 1; min-width: 0; padding: 0.75rem 1rem; border: 0; background: transparent;
  font: inherit; font-size: 0.95rem; color: var(--ink); -webkit-appearance: none;
}
.product-search input[type=search]:focus { outline: none; }
.product-search:focus-within { border-color: var(--bg-olive); }
.product-search button { flex: none; width: 3rem; display: inline-flex; align-items: center; justify-content: center; border: 0; background: transparent; color: var(--ink); cursor: pointer; }
.search-toggle { background: none; border: 0; padding: 0; color: inherit; cursor: pointer; }
.site-search { border-top: 1px solid var(--line); background: var(--bg); padding-block: 1rem; }
.site-search .product-search { margin-inline: auto; }
.shop-search { margin: 1.4rem 0 0; }
.nav__search { list-style: none; }
.nav__search .product-search { max-width: none; margin: 0.4rem 0 0.6rem; }
@media (min-width: 1101px) { .nav__search { display: none; } }
@media (max-width: 800px) {
  .cs__photo { height: 28vh; min-height: 11rem; }
  .cs__body { gap: 0.8rem; padding-block: 1.8rem 2.4rem; }
  .cs__brand .brandmark__mark { width: 2.6rem; height: 2.6rem; font-size: 1.6rem; }
  .cs__name { font-size: 1.15rem; }
  .cs__title { margin-top: 0.4rem; }
}
