/* ==========================================================================
   Skincare Hub Rwanda — Design System
   Palette: White (primary) · Dark Blue (secondary) · Soft Gold (accent)
   Mobile-first. No build step, no dependencies.
   --------------------------------------------------------------------------
   1. Tokens          6. Buttons
   2. Reset / base    7. Badges, ratings, pills
   3. Typography      8. Forms
   4. Layout          9. Cards
   5. Utilities      10. Chrome: header, nav, drawers, footer, overlays
   ========================================================================== */

/* 1 ─────────────────────────────────────────────────────────────── Tokens */
:root {
  /* Brand colour */
  --navy: #0a1e3c;
  --navy-800: #0d2445;
  --navy-700: #14305a;
  --navy-600: #1d3e6b;
  --navy-300: #6b86ab;
  --navy-100: #e7edf6;
  --navy-50: #f3f7fc;

  --gold: #c6a664;
  --gold-400: #d8c08c;
  --gold-300: #e8d9b6;
  --gold-200: #f1e7d0;
  --gold-100: #f8f3e8;
  --gold-700: #a3844a;

  /* One accent gradient for every gold surface - dividers, progress bars and
     the round brand mark behind the logo - so the icon set, the header and the
     page all speak the same palette. */
  --grad-gold: linear-gradient(135deg, var(--gold-300) 0%, var(--gold) 100%);

  --white: #ffffff;
  --cream: #fbf9f6;
  --sand: #f5f0e8;

  --ink: #0c1b2e;
  --body: #4b5b73;
  --muted: #7a889c;

  --line: #e9edf3;
  --line-2: #dce3ec;

  --success: #2e7d5b;
  --success-bg: #eaf5f0;
  --danger: #b3261e;
  --danger-bg: #fdeceb;
  --warning: #b07a20;
  --warning-bg: #fdf5e7;
  --whatsapp: #25d366;
  --whatsapp-dark: #1da851;
  --star: #e2af4b;

  /* Type */
  --font-display: "Playfair Display", "Times New Roman", Georgia, serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;

  /* Space */
  --container: 1240px;
  --gutter: clamp(20px, 4.4vw, 44px);
  --section-y: clamp(56px, 7.5vw, 108px);
  --gap: clamp(16px, 2.2vw, 28px);

  /* Radius */
  --r-xs: 3px;
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 26px;
  --r-pill: 999px;

  /* Shadow */
  --sh-xs: 0 1px 2px rgba(10, 30, 60, 0.05);
  --sh-sm: 0 2px 10px rgba(10, 30, 60, 0.06);
  --sh-md: 0 14px 34px -14px rgba(10, 30, 60, 0.2);
  --sh-lg: 0 30px 64px -26px rgba(10, 30, 60, 0.3);
  --sh-gold: 0 18px 40px -22px rgba(198, 166, 100, 0.6);

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 0.32s;

  /* Layers */
  --z-sticky: 40;
  --z-header: 60;
  --z-chat: 80;
  --z-drawer: 90;
  --z-modal: 100;
  --z-toast: 120;

  /* Header height (kept in sync by JS) */
  --header-h: 68px;
}

/* 2 ────────────────────────────────────────────────────────── Reset / base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--body);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

/* Embeds scale to the column they sit in, the same way images do. The contact
   page's map is already given width:100% by .map-frame; this is what keeps any
   embed that arrives without that wrapper from pushing the page sideways. */
iframe,
embed,
object {
  max-width: 100%;
}

a {
  color: var(--navy-700);
  text-decoration: none;
  transition: color var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

a:hover {
  color: var(--gold-700);
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: 0;
  background: none;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: clamp(28px, 4vw, 48px) 0;
}

::selection {
  background: var(--gold-300);
  color: var(--navy);
}

:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
  border-radius: var(--r-xs);
}

/* 3 ─────────────────────────────────────────────────────────── Typography */
h1,
h2,
h3,
h4,
h5 {
  margin: 0 0 0.5em;
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -0.01em;
}

h1,
.h1 {
  font-size: clamp(2.1rem, 5.6vw, 4rem);
}

h2,
.h2 {
  font-size: clamp(1.65rem, 3.6vw, 2.75rem);
}

h3,
.h3 {
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
}

h4,
.h4 {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
}

p {
  margin: 0 0 1.1em;
}

p:last-child {
  margin-bottom: 0;
}

strong,
b {
  color: var(--navy);
  font-weight: 600;
}

small {
  font-size: 0.8125rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  margin-bottom: 0.9em;
  color: var(--gold-700);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--gold);
}

.eyebrow--center::after {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--gold);
}

.lead {
  color: var(--body);
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
  line-height: 1.75;
}

.section-head {
  max-width: 660px;
  margin: 0 auto clamp(32px, 4.5vw, 58px);
  text-align: center;
}

.section-head--left {
  margin-left: 0;
  text-align: left;
}

.section-head h2 {
  margin-bottom: 0.35em;
}

.section-head p {
  color: var(--body);
  font-size: 1.05rem;
}

.divider-gold {
  width: 54px;
  height: 2px;
  margin: 0 auto 1.4rem;
  background: linear-gradient(90deg, var(--gold-300), var(--gold));
}

.text-gold {
  color: var(--gold-700);
}

.text-navy {
  color: var(--navy);
}

.text-muted {
  color: var(--muted);
}

/* 4 ─────────────────────────────────────────────────────────────── Layout */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow {
  max-width: 880px;
}

.container--wide {
  max-width: 1440px;
}

.section {
  padding-block: var(--section-y);
}

.section--tight {
  padding-block: clamp(40px, 5vw, 68px);
}

.section--cream {
  background: var(--cream);
}

.section--sand {
  background: var(--sand);
}

.section--navy {
  background: var(--navy);
  color: var(--navy-100);
}

.section--navy h1,
.section--navy h2,
.section--navy h3,
.section--navy h4,
.section--navy strong {
  color: var(--white);
}

.section--navy .lead,
.section--navy p {
  color: rgba(255, 255, 255, 0.76);
}

.section--navy .eyebrow {
  color: var(--gold-400);
}

.grid {
  display: grid;
  gap: var(--gap);
}

.grid--2 {
  grid-template-columns: minmax(0, 1fr);
}

.grid--3,
.grid--4 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.split {
  display: grid;
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
  grid-template-columns: minmax(0, 1fr);
}

.stack {
  display: grid;
  gap: 12px;
}

.cluster {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.cluster--center {
  justify-content: center;
}

.cluster--between {
  justify-content: space-between;
}

.row-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* 5 ────────────────────────────────────────────────────────────── Utilities */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px
  ;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 12px;
  z-index: var(--z-toast);
  padding: 10px 18px;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--r-sm);
  font-size: 0.875rem;
}

.skip-link:focus {
  top: 12px;
  color: var(--white);
}

.mt-0 {
  margin-top: 0;
}
.mt-1 {
  margin-top: 0.5rem;
}
.mt-2 {
  margin-top: 1rem;
}
.mt-3 {
  margin-top: 1.75rem;
}
.mt-4 {
  margin-top: 2.5rem;
}
.mb-0 {
  margin-bottom: 0;
}
.mb-1 {
  margin-bottom: 0.5rem;
}
.mb-2 {
  margin-bottom: 1rem;
}
.mb-3 {
  margin-bottom: 1.75rem;
}

.text-center {
  text-align: center;
}

.hide {
  display: none !important;
}

/* Hidden on small screens only (used for the account icon and secondary CTAs) */
@media (max-width: 699px) {
  .hide-mobile {
    display: none !important;
  }
}

.chip--brand {
  padding: 0.55rem 1.15rem;
  font-family: var(--font-display);
  font-size: 0.98rem;
  letter-spacing: 0.01em;
}

.routine-steps {
  display: grid;
}

@media (max-width: 700px) {
  .announce__inner {
    flex-direction: column;
    gap: 2px;
    padding-block: 0.45rem;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* 6 ────────────────────────────────────────────────────────────── Buttons */
.btn {
  --btn-bg: var(--navy);
  --btn-fg: var(--white);
  --btn-bd: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 52px;
  padding: 0.85rem 1.7rem;
  border: 1px solid var(--btn-bd);
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-align: center;
  line-height: 1.2;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
    background var(--dur) var(--ease), color var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--sh-md);
  color: var(--btn-fg);
}

.btn:active {
  transform: translateY(0);
}

.btn svg {
  width: 17px;
  height: 17px;
  flex: none;
}

.btn--gold {
  --btn-bg: var(--gold);
  --btn-bd: var(--gold);
  --btn-fg: var(--navy);
}

.btn--gold:hover {
  --btn-bg: var(--gold-700);
  --btn-bd: var(--gold-700);
  --btn-fg: var(--white);
}

.btn--outline {
  --btn-bg: transparent;
  --btn-bd: var(--navy);
  --btn-fg: var(--navy);
}

.btn--outline:hover {
  --btn-bg: var(--navy);
  --btn-fg: var(--white);
}

.btn--light {
  --btn-bg: var(--white);
  --btn-bd: var(--white);
  --btn-fg: var(--navy);
}

.btn--outline-light {
  --btn-bg: transparent;
  --btn-bd: rgba(255, 255, 255, 0.5);
  --btn-fg: var(--white);
}

.btn--outline-light:hover {
  --btn-bg: var(--white);
  --btn-fg: var(--navy);
}

.btn--whatsapp {
  --btn-bg: var(--whatsapp);
  --btn-bd: var(--whatsapp);
  --btn-fg: #04240f;
}

.btn--whatsapp:hover {
  --btn-bg: var(--whatsapp-dark);
  --btn-bd: var(--whatsapp-dark);
  --btn-fg: var(--white);
}

.btn--sm {
  min-height: 42px;
  padding: 0.55rem 1.15rem;
  font-size: 0.8rem;
}

.btn--lg {
  min-height: 58px;
  padding: 1rem 2.2rem;
  font-size: 0.92rem;
}

.btn--block {
  width: 100%;
}

.btn--link {
  --btn-bg: transparent;
  --btn-bd: transparent;
  --btn-fg: var(--navy-700);
  min-height: 0;
  padding: 0.35rem 0;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--gold-400);
}

.btn--link:hover {
  box-shadow: none;
  color: var(--gold-700);
}

.btn[disabled],
.btn[aria-disabled="true"] {
  opacity: 0.55;
  pointer-events: none;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  color: var(--navy);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.link-arrow svg {
  width: 15px;
  height: 15px;
  transition: transform var(--dur) var(--ease);
}

.link-arrow:hover svg {
  transform: translateX(4px);
}

/* 7 ────────────────────────────────────────────── Badges, ratings, pills */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.3rem 0.7rem;
  border-radius: var(--r-pill);
  background: var(--navy-50);
  color: var(--navy-700);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  white-space: nowrap;
}

.badge--gold {
  background: var(--gold-100);
  color: var(--gold-700);
}

.badge--navy {
  background: var(--navy);
  color: var(--white);
}

.badge--sale {
  background: var(--danger-bg);
  color: var(--danger);
}

.badge--new {
  background: var(--success-bg);
  color: var(--success);
}

.badge--low {
  background: var(--warning-bg);
  color: var(--warning);
}

.badge--out {
  background: #f1f2f4;
  color: var(--muted);
}

.badge--plain {
  background: transparent;
  border: 1px solid var(--line-2);
  color: var(--body);
  letter-spacing: 0.04em;
  text-transform: none;
  font-weight: 500;
}

.rating {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-size: 0.8rem;
  color: var(--body);
}

.stars {
  display: inline-flex;
  gap: 2px;
  color: var(--star);
}

.stars svg {
  width: 14px;
  height: 14px;
}

.stars--lg svg {
  width: 17px;
  height: 17px;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trust-strip li {
  display: flex;
  align-items: center;
  gap: 0.55em;
  color: var(--body);
  font-size: 0.82rem;
  font-weight: 500;
}

.trust-strip svg {
  width: 16px;
  height: 16px;
  color: var(--gold-700);
  flex: none;
}

.section--navy .trust-strip li {
  color: rgba(255, 255, 255, 0.82);
}

.section--navy .trust-strip svg {
  color: var(--gold-400);
}

/* 8 ──────────────────────────────────────────────────────────────── Forms */
.form {
  display: grid;
  gap: clamp(16px, 2vw, 22px);
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field--full {
  grid-column: 1 / -1;
}

.field > label,
.label {
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.field .hint {
  color: var(--muted);
  font-size: 0.78rem;
}

.req {
  color: var(--gold-700);
}

.input,
.select,
.textarea {
  width: 100%;
  min-height: 52px;
  padding: 0.8rem 1rem;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  background: var(--white);
  color: var(--ink);
  font-size: 0.95rem;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.textarea {
  min-height: 130px;
  resize: vertical;
}

.select {
  appearance: none;
  padding-right: 2.6rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234b5b73' stroke-width='1.6'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.95rem center;
  background-size: 17px;
}

.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-100);
}

.input::placeholder,
.textarea::placeholder {
  color: #a7b1c1;
}

.field.has-error .input,
.field.has-error .select,
.field.has-error .textarea {
  border-color: var(--danger);
}

.field.has-error .input:focus {
  box-shadow: 0 0 0 3px var(--danger-bg);
}

.error-text {
  display: none;
  color: var(--danger);
  font-size: 0.78rem;
  font-weight: 500;
}

.field.has-error .error-text {
  display: block;
}

.checks {
  display: grid;
  gap: 10px;
}

.check {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.88rem;
  line-height: 1.55;
  cursor: pointer;
}

.check input {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--navy);
}

/* Selectable tile (skin type, concern, payment method) */
.option {
  position: relative;
  display: flex;
  gap: 0.7rem;
  align-items: center;
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  background: var(--white);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy);
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.option:hover {
  border-color: var(--gold-400);
  transform: translateY(-1px);
}

.option input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.option__dot {
  flex: none;
  width: 18px;
  height: 18px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: var(--white);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.option input:checked ~ .option__dot {
  border-color: var(--gold);
  background: var(--gold);
  box-shadow: inset 0 0 0 3px var(--white);
}

.option input:checked ~ .option__body .option__title,
.option input:checked ~ .option__title {
  color: var(--navy);
}

.option:has(input:checked) {
  border-color: var(--gold);
  background: var(--gold-100);
  box-shadow: var(--sh-xs);
}

.option:has(input:focus-visible) {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}

.option__body {
  display: grid;
  gap: 2px;
}

.option__title {
  font-weight: 600;
  color: var(--navy);
}

.option__meta {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 400;
}

.option__icon {
  width: 20px;
  height: 20px;
  color: var(--gold-700);
  flex: none;
}

.option-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
}

.form-note {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.6;
}

.form-status {
  display: none;
  gap: 0.7rem;
  align-items: flex-start;
  padding: 0.9rem 1.1rem;
  border-radius: var(--r-md);
  font-size: 0.88rem;
  line-height: 1.6;
}

.form-status.is-shown {
  display: flex;
}

.form-status--ok {
  background: var(--success-bg);
  color: #1d5941;
}

.form-status--err {
  background: var(--danger-bg);
  color: #8a1d17;
}

.form-status svg {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 2px;
}

/* File upload */
.upload {
  display: grid;
  gap: 0.6rem;
  place-items: center;
  padding: clamp(20px, 4vw, 34px);
  border: 1px dashed var(--line-2);
  border-radius: var(--r-md);
  background: var(--cream);
  text-align: center;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}

.upload:hover {
  border-color: var(--gold);
  background: var(--gold-100);
}

.upload svg {
  width: 26px;
  height: 26px;
  color: var(--gold-700);
}

.upload input[type="file"] {
  display: none;
}

.upload__title {
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 600;
}

.upload__hint {
  color: var(--muted);
  font-size: 0.78rem;
}

.upload-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.upload-list__item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 0.6rem 0.45rem 0.45rem;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--white);
  font-size: 0.78rem;
  color: var(--body);
}

.upload-list__item img {
  width: 38px;
  height: 38px;
  border-radius: var(--r-xs);
  object-fit: cover;
}

.upload-list__item button {
  color: var(--muted);
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
}

.upload-list__item button:hover {
  color: var(--danger);
}

/* 9 ──────────────────────────────────────────────────────────────── Cards */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}

.card--hover:hover {
  transform: translateY(-4px);
  border-color: var(--gold-300);
  box-shadow: var(--sh-md);
}

.card__body {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: clamp(18px, 2.4vw, 26px);
  flex: 1;
}

.card__title {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.3;
}

.card__text {
  margin: 0;
  color: var(--body);
  font-size: 0.9rem;
  line-height: 1.65;
}

.feature {
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}

.feature:hover {
  transform: translateY(-4px);
  border-color: var(--gold-300);
  box-shadow: var(--sh-md);
}

.feature__icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 1.1rem;
  border-radius: 50%;
  background: var(--gold-100);
  color: var(--gold-700);
}

.feature__icon svg {
  width: 23px;
  height: 23px;
}

.feature h3 {
  margin-bottom: 0.45em;
  font-size: 1.1rem;
}

.feature p {
  margin: 0;
  color: var(--body);
  font-size: 0.9rem;
  line-height: 1.65;
}

.section--navy .feature {
  background: var(--navy-800);
  border-color: rgba(255, 255, 255, 0.1);
}

.section--navy .feature__icon {
  background: rgba(198, 166, 100, 0.16);
  color: var(--gold-400);
}

/* Stat block */
.stats {
  display: grid;
  gap: var(--gap);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: clamp(26px, 4vw, 44px);
  border: 1px solid var(--gold-200);
  border-radius: var(--r-lg);
  background: var(--gold-100);
}

.stat {
  text-align: center;
}

.stat__num {
  display: block;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw, 2.45rem);
  font-weight: 600;
  line-height: 1.1;
}

.stat__label {
  color: var(--body);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Table */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--white);
}

table.spec {
  width: 100%;
  min-width: 460px;
  border-collapse: collapse;
  font-size: 0.9rem;
}

table.spec th,
table.spec td {
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

table.spec th {
  width: 34%;
  color: var(--navy);
  font-weight: 600;
  background: var(--cream);
}

table.spec tr:last-child th,
table.spec tr:last-child td {
  border-bottom: 0;
}

/* 10 ──────────────────────────────────────────────────────────── Chrome */

/* Announcement bar */
.announce {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.76rem;
  letter-spacing: 0.03em;
}

.announce__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 38px;
  padding-block: 0.35rem;
  text-align: center;
}

.announce strong {
  color: var(--gold-400);
  font-weight: 600;
}

.announce a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--gold-400);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid transparent;
  backdrop-filter: saturate(160%) blur(10px);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: var(--sh-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.6vw, 22px);
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-right: auto;
  color: var(--navy);
  /* allowed to shrink so the icon buttons beside it keep their 42px targets on
     a 320px screen; nothing shrinks while there is room */
  flex: 0 1 auto;
  min-width: 0;
}

.brand:hover {
  color: var(--navy);
}

/* The mark is the shop's own photograph - a dark navy ampersand with a silver
   vine - so the circle behind it is the light end of the palette. On the old
   navy fill the art and its background were the same darkness and the logo read
   as a blank disc. */
.brand__mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--grad-gold);
  color: var(--navy);
  flex: none;
}

.brand__mark svg {
  width: 22px;
  height: 22px;
}

/* The lockup now carries the shop's own logo photograph as an image rather than
   a drawn SVG. `contain` keeps its proportions whatever box it lands in, and
   the explicit size stops a 512px file from painting at its natural size while
   the stylesheet is still loading. */
.brand__mark img {
  width: 26px;
  height: 26px;
  display: block;
  object-fit: contain;
}

.brand__text {
  display: grid;
  min-width: 0;
  line-height: 1.05;
}

.brand__text strong {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--navy);
}

.brand__text small {
  color: var(--gold-700);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.mainnav {
  display: none;
}

.mainnav__list {
  display: flex;
  align-items: center;
  gap: clamp(2px, 0.6vw, 8px);
}

.mainnav__item {
  position: relative;
}

.mainnav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  padding: 0.55rem 0.7rem;
  border-radius: var(--r-sm);
  color: var(--navy);
  font-size: 0.855rem;
  font-weight: 500;
  white-space: nowrap;
}

.mainnav__link svg {
  width: 13px;
  height: 13px;
  opacity: 0.6;
}

.mainnav__link:hover,
.mainnav__link[aria-current="page"] {
  color: var(--gold-700);
}

.mainnav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  bottom: -1px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

/* Megamenu */
.megamenu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  z-index: 5;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(20px, 3vw, 40px);
  width: min(700px, 76vw);
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: var(--sh-lg);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease),
    visibility var(--dur);
}

.mainnav__item:hover > .megamenu,
.mainnav__item:focus-within > .megamenu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.megamenu__title {
  margin-bottom: 0.9rem;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.megamenu__links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px 18px;
}

.megamenu__links a {
  padding: 0.34rem 0;
  color: var(--navy);
  font-size: 0.87rem;
}

.megamenu__links a:hover {
  color: var(--gold-700);
}

.megamenu__cta {
  display: grid;
  gap: 0.7rem;
  align-content: start;
  padding: clamp(16px, 2vw, 22px);
  border-radius: var(--r-md);
  background: var(--navy);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  line-height: 1.6;
}

.megamenu__cta strong {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: none;
}

.icon-btn {
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--navy);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}

.icon-btn:hover {
  background: var(--gold-100);
  color: var(--gold-700);
}

.icon-btn svg {
  width: 21px;
  height: 21px;
}

.icon-btn .count {
  position: absolute;
  top: 2px;
  right: 0;
  display: grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: var(--r-pill);
  background: var(--gold);
  color: var(--navy);
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1;
}

.icon-btn .count[data-empty="true"] {
  display: none;
}

.header__burger {
  order: -1;
  flex: none;
}

/* At 320px the header runs out of room - the burger, the search and the cart are
   42px each - and a flex line short of space squeezes the burger to 12px wide,
   which is no longer a target a thumb can hit. The controls keep their size and
   the space comes out of the wordmark instead. */
@media (max-width: 380px) {
  /* The logo mark used to be dropped here to buy the header 44px. It stays
     instead - smaller, with a tighter gap and a slightly smaller wordmark - so
     the shop's own mark is on every screen at every size. The wordmark still
     fits at 320px; it is the controls that set the floor. */
  .brand {
    gap: 0.3rem;
  }

  /* every pixel the header can spare goes to the name, so the mark never has to
     be dropped to make room for it */
  .header__inner {
    gap: 6px;
  }

  .brand__mark {
    width: 26px;
    height: 26px;
  }

  .brand__mark img {
    width: 18px;
    height: 18px;
  }

  .brand__text strong {
    font-size: 0.9rem;
  }
}

/* No page may scroll sideways, whoever is looking at it. The only thing that
   ever crossed the edge was a decorative ring, drawn outside a band and clipped
   on purpose - but `clip` here means a stray one can never turn into a sideways
   scroll on a phone. `clip` rather than `hidden` so the sticky header keeps
   working: it does not turn the page into a scroll container. */
html,
body {
  overflow-x: clip;
}

/* Very narrow screens: the 280px cover display of a folding phone is the
   narrowest a browser reports, and at that width the burger, the search and the
   cart left the shop's name 63px - ellipsised to "Skincare…". The gutter and the
   three header controls give those pixels back here, so the name still reads on
   the smallest screen there is. */
@media (max-width: 360px) {
  :root {
    --gutter: 10px;
  }

  .header__inner {
    gap: 4px;
  }

  .header__burger.icon-btn,
  .header__actions .icon-btn {
    width: 36px;
    height: 36px;
  }

  .brand__text strong {
    font-size: 0.84rem;
  }

  .brand__text small {
    letter-spacing: 0.2em;
  }
}

/* Mobile nav toggle: burger visible only on small screens */
@media (min-width: 1024px) {
  .header__burger {
    display: none;
  }
  .mainnav {
    display: block;
  }
  .brand__text strong {
    font-size: 1.15rem;
  }
}

/* Mobile nav drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: var(--z-drawer);
  display: grid;
  grid-template-columns: 1fr;
  visibility: hidden;
}

.drawer[hidden] {
  display: none;
}

.drawer__scrim {
  position: absolute;
  inset: 0;
  background: rgba(9, 22, 42, 0.5);
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
  backdrop-filter: blur(2px);
}

.drawer__panel {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: min(400px, 90vw);
  display: flex;
  flex-direction: column;
  background: var(--white);
  box-shadow: var(--sh-lg);
  transform: translateX(-101%);
  transition: transform 0.4s var(--ease);
}

.drawer--right .drawer__panel {
  left: auto;
  right: 0;
  width: min(440px, 94vw);
  transform: translateX(101%);
}

.drawer.is-open {
  visibility: visible;
}

.drawer.is-open .drawer__scrim {
  opacity: 1;
}

.drawer.is-open .drawer__panel {
  transform: none;
}

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px clamp(18px, 4vw, 26px);
  border-bottom: 1px solid var(--line);
}

.drawer__title {
  margin: 0;
  font-size: 1.15rem;
}

.drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: clamp(18px, 4vw, 26px);
  -webkit-overflow-scrolling: touch;
}

.drawer__foot {
  padding: clamp(18px, 4vw, 26px);
  border-top: 1px solid var(--line);
  background: var(--cream);
}

.mobile-nav {
  display: grid;
  gap: 2px;
}

.mobile-nav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0.8rem 0.2rem;
  border-bottom: 1px solid var(--line);
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.mobile-nav__link svg {
  width: 16px;
  height: 16px;
  color: var(--gold);
}

.mobile-nav__group {
  padding: 0.9rem 0 0.3rem;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.mobile-nav__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 0.6rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.42rem 0.85rem;
  border: 1px solid var(--line-2);
  border-radius: var(--r-pill);
  background: var(--white);
  color: var(--navy);
  font-size: 0.79rem;
  font-weight: 500;
  white-space: nowrap;
}

.chip:hover,
.chip[aria-pressed="true"],
.chip.is-active {
  border-color: var(--gold);
  background: var(--gold-100);
  color: var(--gold-700);
}

.chip--navy.is-active,
.chip--navy[aria-pressed="true"] {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}

.chip-row {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  padding-block: 2px 6px;
  scrollbar-width: none;
}

.chip-row::-webkit-scrollbar {
  display: none;
}

/* Search overlay */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur) var(--ease), visibility var(--dur);
}

.search-overlay[hidden] {
  display: none;
}

.search-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.search-overlay__inner {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(20px, 6vh, 64px) var(--gutter);
  display: flex;
  flex-direction: column;
  gap: 18px;
  overflow-y: auto;
}

.search-overlay__row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--navy);
}

.search-overlay__row svg {
  width: 22px;
  height: 22px;
  color: var(--muted);
  flex: none;
}

.search-overlay__input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: none;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 3vw, 1.6rem);
  color: var(--navy);
}

.search-overlay__input:focus {
  outline: none;
}

.search-results {
  display: grid;
  gap: 6px;
}

.search-result {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px;
  border-radius: var(--r-md);
  transition: background var(--dur) var(--ease);
}

.search-result:hover {
  background: var(--cream);
}

.search-result__thumb {
  width: 58px;
  height: 58px;
  border-radius: var(--r-sm);
  overflow: hidden;
  flex: none;
}

.search-result__thumb svg {
  width: 100%;
  height: 100%;
}

.search-result__meta {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.search-result__name {
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-result__sub {
  color: var(--muted);
  font-size: 0.78rem;
}

.search-result__price {
  margin-left: auto;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.88rem;
  white-space: nowrap;
}

.search-empty {
  padding: 22px 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.search-suggest {
  display: grid;
  gap: 10px;
}

/* Cart drawer */
.line-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.line-item:first-child {
  padding-top: 0;
}

.line-item__thumb {
  width: 72px;
  height: 78px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--cream);
}

.line-item__thumb svg {
  width: 100%;
  height: 100%;
}

.line-item__info {
  display: grid;
  gap: 4px;
  align-content: start;
}

.line-item__brand {
  color: var(--gold-700);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.line-item__name {
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.35;
}

.line-item__name:hover {
  color: var(--gold-700);
}

.line-item__meta {
  color: var(--muted);
  font-size: 0.78rem;
}

.line-item__price {
  color: var(--navy);
  font-weight: 600;
  font-size: 0.9rem;
  text-align: right;
  white-space: nowrap;
}

.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-2);
  border-radius: var(--r-pill);
  overflow: hidden;
}

.qty button {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: var(--navy);
  font-size: 1rem;
  line-height: 1;
}

.qty button:hover {
  background: var(--gold-100);
}

.qty span {
  min-width: 26px;
  text-align: center;
  color: var(--navy);
  font-size: 0.85rem;
  font-weight: 600;
}

.remove-link {
  color: var(--muted);
  font-size: 0.76rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.remove-link:hover {
  color: var(--danger);
}

.drawer__summary {
  display: grid;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.summary-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  color: var(--body);
  font-size: 0.88rem;
}

.summary-row strong {
  font-size: 1rem;
}

.summary-row--total strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.progress {
  height: 6px;
  border-radius: var(--r-pill);
  background: var(--line);
  overflow: hidden;
}

.progress__bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--gold-400), var(--gold));
  border-radius: var(--r-pill);
  transition: width 0.5s var(--ease);
}

.progress-note {
  color: var(--muted);
  font-size: 0.78rem;
}

.progress-note strong {
  color: var(--gold-700);
}

.empty-state {
  display: grid;
  gap: 0.8rem;
  place-items: center;
  padding: clamp(34px, 8vw, 64px) 0;
  text-align: center;
}

.empty-state svg {
  width: 44px;
  height: 44px;
  color: var(--gold-400);
}

.empty-state p {
  color: var(--muted);
  font-size: 0.92rem;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.site-footer h3,
.site-footer h4 {
  color: var(--white);
}

.footer__top {
  display: grid;
  gap: clamp(28px, 4vw, 48px);
  grid-template-columns: 1fr;
  padding-block: clamp(44px, 6vw, 76px);
}

.footer__col h4 {
  margin-bottom: 1rem;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--gold-400);
}

.footer__links {
  display: grid;
  gap: 0.55rem;
}

.footer__links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.88rem;
}

.footer__links a:hover {
  color: var(--gold-400);
}

.footer__brand p {
  max-width: 34ch;
  font-size: 0.88rem;
  line-height: 1.7;
}

/* An email or an address is one unbreakable string, and a grid sizes a column
   by its widest unbreakable string: at 768px the footer's contact column
   claimed so much that the shop's name beside it was left 94px and
   ellipsised. `anywhere` lets those strings wrap, which is what gives the
   columns their real width back. */
.footer__links a,
.contact-list a,
.contact-list li,
.footer__brand p {
  overflow-wrap: anywhere;
}

.footer__brand .brand__text strong,
.footer__brand .brand__text small {
  color: var(--white);
}

.footer__brand .brand__text small {
  color: var(--gold-400);
}

.footer__brand .brand__mark {
  background: var(--grad-gold);
  color: var(--navy);
}

.contact-list {
  display: grid;
  gap: 0.75rem;
}

.contact-list li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.88rem;
  line-height: 1.55;
}

.contact-list svg {
  width: 17px;
  height: 17px;
  margin-top: 3px;
  color: var(--gold-400);
  flex: none;
}

.contact-list a {
  color: rgba(255, 255, 255, 0.85);
}

.contact-list a:hover {
  color: var(--gold-400);
}

.footer__newsletter {
  display: grid;
  gap: 0.7rem;
}

.footer__newsletter form {
  display: flex;
  gap: 8px;
}

.footer__newsletter .input {
  min-height: 46px;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--white);
}

.footer__newsletter .input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  align-items: center;
  justify-content: space-between;
  padding-block: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.79rem;
}

.footer__bottom a {
  color: rgba(255, 255, 255, 0.7);
}

.footer__bottom a:hover {
  color: var(--gold-400);
}

.pay-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.pay-list span {
  padding: 0.3rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--r-sm);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Floating actions */
.floaters {
  position: fixed;
  right: clamp(14px, 2.5vw, 26px);
  bottom: clamp(14px, 2.5vw, 26px);
  z-index: var(--z-chat);
  display: grid;
  gap: 10px;
  justify-items: end;
}

.fab {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  box-shadow: var(--sh-md);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.fab:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: var(--sh-lg);
}

.fab svg {
  width: 26px;
  height: 26px;
}

.fab--whatsapp {
  background: var(--whatsapp);
  color: #04240f;
}

.fab--chat {
  background: var(--navy);
  color: var(--white);
}

.fab--top {
  width: 44px;
  height: 44px;
  background: var(--white);
  color: var(--navy);
  border: 1px solid var(--line-2);
  opacity: 0;
  pointer-events: none;
}

.fab--top.is-shown {
  opacity: 1;
  pointer-events: auto;
}

.fab--top svg {
  width: 19px;
  height: 19px;
}

.fab__dot {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 11px;
  height: 11px;
  border: 2px solid var(--white);
  border-radius: 50%;
  background: var(--whatsapp);
}

.fab--chat {
  position: relative;
}

/* Chat widget */
.chat {
  position: fixed;
  right: clamp(14px, 2.5vw, 26px);
  bottom: calc(clamp(14px, 2.5vw, 26px) + 68px);
  z-index: var(--z-chat);
  display: none;
  flex-direction: column;
  width: min(370px, calc(100vw - 28px));
  height: min(560px, calc(100vh - 130px));
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: var(--sh-lg);
}

.chat.is-open {
  display: flex;
  animation: chatIn 0.3s var(--ease);
}

@keyframes chatIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.98);
  }
}

.chat__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--navy);
  color: var(--white);
}

.chat__avatar {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  flex: none;
}

.chat__id {
  display: grid;
  line-height: 1.25;
  margin-right: auto;
}

.chat__id strong {
  color: var(--white);
  font-size: 0.92rem;
}

.chat__id span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.72rem;
}

.chat__id span::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 5px;
  border-radius: 50%;
  background: var(--whatsapp);
  vertical-align: middle;
}

.chat__close {
  color: rgba(255, 255, 255, 0.8);
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
}

.chat__body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--cream);
}

.bubble {
  max-width: 86%;
  padding: 0.7rem 0.95rem;
  border-radius: 14px;
  font-size: 0.86rem;
  line-height: 1.55;
  box-shadow: var(--sh-xs);
}

.bubble--bot {
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  background: var(--white);
  color: var(--body);
}

.bubble--bot a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.bubble--me {
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  background: var(--navy);
  color: var(--white);
}

.chat__quick {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 0 16px 12px;
  background: var(--cream);
}

.chat__foot {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 12px 14px;
  border-top: 1px solid var(--line);
  background: var(--white);
}

.chat__foot .input {
  min-height: 44px;
}

.chat__send {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  flex: none;
}

.chat__send:hover {
  background: var(--gold-700);
}

.chat__send svg {
  width: 19px;
  height: 19px;
}

.chat__footnote {
  padding: 0 14px 12px;
  background: var(--white);
  color: var(--muted);
  font-size: 0.68rem;
  text-align: center;
}

/* Toast */
.toasts {
  position: fixed;
  left: 50%;
  bottom: clamp(16px, 3vw, 30px);
  z-index: var(--z-toast);
  display: grid;
  gap: 10px;
  width: min(420px, calc(100vw - 32px));
  transform: translateX(-50%);
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0.8rem 1rem;
  border-radius: var(--r-md);
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--sh-lg);
  font-size: 0.86rem;
  animation: toastIn 0.3s var(--ease);
  pointer-events: auto;
}

.toast svg {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--gold-400);
}

.toast--gold {
  background: var(--gold);
  color: var(--navy);
}

.toast--gold svg {
  color: var(--navy);
}

.toast__action {
  margin-left: auto;
  color: var(--gold-400);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}

.toast--gold .toast__action {
  color: var(--navy);
}

.toast.is-leaving {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}

/* Back-to-top arrow inside floaters uses .fab--top */

/* Cookie / analytics notice */
.notice-bar {
  position: fixed;
  left: clamp(14px, 2.5vw, 26px);
  bottom: clamp(14px, 2.5vw, 26px);
  z-index: var(--z-sticky);
  display: none;
  align-items: center;
  gap: 14px;
  max-width: min(560px, calc(100vw - 130px));
  padding: 0.75rem 1rem;
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--sh-md);
  font-size: 0.78rem;
  color: var(--body);
}

.notice-bar.is-shown {
  display: flex;
}

.notice-bar a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* iOS Safari zooms the whole page in when the field you tapped is under 16px,
   and leaves it zoomed: the page looks broken and the user has to pinch back out.
   Every field keeps a 16px floor on touch-sized screens - which is every width
   at which the burger menu is showing, so the floor and the layout agree. */
@media (max-width: 1023px) {
  input,
  select,
  textarea {
    font-size: 16px !important;
  }
}

@media print {
  .site-header,
  .announce,
  .floaters,
  .chat,
  .site-footer,
  .notice-bar {
    display: none !important;
  }
}
