/* ==========================================================================
   Café Chico — "Editorial" system  (Shop & Gifts, Social & Reviews)
   --------------------------------------------------------------------------
   Layout feel: Slattery (slattery.co.uk) — generous cream space, big all-caps
   serif headings, hairline rules, square corners, flat buttons, editorial grids.

   Palette (confirmed by the owner):
     • Moderate Olive  #A8A84A  — the brand olive, used as the main colour
     • near-black      #191A10  — about 20% of the surface (headings, dark band)
     • cream white     #F7F6EE  — the light base
   Text on cream is near-black (legible); olive carries the brand as fills,
   bands, buttons, numbers and rules. Ink on olive = 6.7:1, ink on cream = 15:1.

   Fonts: Slattery uses garamond-premier-pro + europa (Adobe Fonts — licensed,
   cannot be embedded). Free equivalents: EB Garamond + Inter.
   ========================================================================== */

:root {
  /* --- light base --- */
  --paper:      #F7F6EE;   /* cream white page background */
  --paper-2:    #EFEDDF;   /* one step darker — alternating bands */
  --paper-3:    #E7E4D2;   /* image placeholder / soft blocks */

  /* --- the black 20% --- */
  --ink:        #191A10;   /* near-black olive — headings, body, dark band */
  --ink-soft:   #5F5F49;   /* secondary text (5.6:1 on cream) */
  --hairline:   #D9D6C1;   /* 1px rules */

  /* --- brand olive (Moderate Olive #A8A84A) --- */
  --olive:      #A8A84A;   /* the M shade — fills, bands, buttons, marks */
  --olive-deep: #6E7226;   /* same hue, darker — only where small text needs contrast */
  --olive-tint: #EDEBCF;   /* very light olive wash */

  /* --- type --- */
  --font-editorial: "EB Garamond", "Iowan Old Style", "Charter", Georgia, serif;
  --font-ui: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

  /* --- rhythm --- */
  --gutter: clamp(20px, 5vw, 56px);
  --section: clamp(45px, 6.3vw, 92px);        /* 64/9vw/132 less 30% — owner request 19 Sep 2026 */
  --radius: 0;             /* square corners are the whole point */
}

/* ------------------------------------------------------------------ base */
.gift-page {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
.gift-page h1, .gift-page h2, .gift-page h3, .gift-page h4 {
  font-family: var(--font-editorial);
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink);
  margin: 0;
}
.gift-page p { margin: 0 0 0; }
.gift-page a { color: var(--olive-deep); }

.g-wrap { max-width: 1220px; margin: 0 auto; padding: 0 var(--gutter); }
.g-wrap--narrow { max-width: 820px; }

.g-eyebrow {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 18px;
}
.g-rule { border: 0; border-top: 1px solid var(--hairline); margin: 0; }

/* ------------------------------------------------------------- announce */
.g-announce {
  background: var(--olive);
  color: var(--ink);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-align: center;
  padding: 10px var(--gutter);
}
.g-announce strong { font-weight: 600; }
.g-announce a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* --------------------------------------------- centred logo lockup (Slattery) */
.g-lockup { padding: clamp(18px, 2.8vw, 31px) 0 clamp(14px, 2.1vw, 22px); text-align: center; }
.g-lockup__row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 22px;
  max-width: 620px;
  margin: 0 auto;
}
.g-lockup__row span { height: 1px; background: var(--hairline); }
.g-lockup img { height: clamp(52px, 7vw, 74px); width: auto; display: block; }
.g-lockup__tag {
  margin: 18px 0 0;
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ------------------------------------------------------------------ hero */
.g-hero { padding: clamp(28px, 4.2vw, 53px) 0 var(--section); }
.g-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.g-hero h1 {
  font-size: clamp(40px, 5.6vw, 74px);
  line-height: 1.04;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.g-hero__lede {
  margin: 26px 0 0;
  font-size: clamp(16px, 1.5vw, 19px);
  color: var(--ink-soft);
  max-width: 46ch;
}
.g-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.g-hero__media { position: relative; }
.g-hero__media img { width: 100%; height: auto; display: block; aspect-ratio: 4 / 3; object-fit: cover; }
.g-hero__note {
  margin: 12px 0 0;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* --------------------------------------------------------------- buttons */
.g-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border: 1px solid var(--olive);
  background: var(--olive);          /* the M olive, front and centre */
  color: var(--ink);                 /* ink on olive = 6.7:1 */
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius);
  transition: background 200ms ease, color 200ms ease, transform 200ms ease;
}
.g-btn:hover { background: #9C9C41; transform: translateY(-1px); }
.g-btn--ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.g-btn--ghost:hover { background: var(--ink); color: var(--paper); }

/* `.gift-page a { color: … }` is more specific than `.g-btn`; re-assert. */
.gift-page a.g-btn { color: var(--ink); }
.gift-page a.g-btn:hover { color: var(--ink); }
.gift-page a.g-btn--ghost { color: var(--ink); }
.gift-page a.g-btn--ghost:hover { color: var(--paper); }
/* dark band variant */
.on-ink .g-btn { background: var(--olive); border-color: var(--olive); color: var(--ink); }

/* ------------------------------------------------------- section heading */
.g-head { margin-bottom: clamp(24px, 2.8vw, 39px); }
.g-head h2 {
  font-size: clamp(28px, 3.4vw, 46px);
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.g-head p { margin: 16px 0 0; color: var(--ink-soft); max-width: 62ch; }
.g-head--center { text-align: center; }
.g-head--center p { margin-left: auto; margin-right: auto; }

/* --------------------------------------------------------- voucher cards */
.g-values { padding: 0 0 var(--section); }
.g-values__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
}
.g-value {
  background: var(--paper);
  padding: clamp(26px, 3vw, 38px) clamp(20px, 2.4vw, 32px) clamp(28px, 3vw, 42px);
  display: flex;
  flex-direction: column;
  min-height: 270px;
  border-top: 8px solid var(--olive);   /* olive cap on every value card */
}
.g-value:hover { background: var(--olive-tint); }
.g-value__amount {
  font-family: var(--font-editorial);
  font-size: clamp(38px, 4vw, 56px);
  line-height: 1;
  color: var(--ink);
}
.g-value__label {
  margin-top: 14px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--olive-deep);
}
.g-value__desc { margin: 16px 0 0; font-size: 14.5px; color: var(--ink-soft); flex: 1; }
.g-value__link {
  margin-top: 22px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 2px solid var(--olive);
  align-self: flex-start;
  padding-bottom: 3px;
}

/* -------------------------------------------------------------- products */
.g-products { background: var(--paper-2); padding: var(--section) 0; }
.g-products__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.6vw, 34px);
}
.g-card { background: var(--paper); display: flex; flex-direction: column; }
.g-card__media { background: var(--paper-3); overflow: hidden; }
.g-card__media img {
  width: 100%; height: auto; display: block;
  aspect-ratio: 4 / 3; object-fit: cover;
  transition: transform 600ms cubic-bezier(.2,.8,.2,1);
}
.g-card:hover .g-card__media img { transform: scale(1.03); }
.g-card__body { padding: 22px 0 0; border-top: 3px solid var(--olive); margin-top: 0; }
.g-card__body h3 { font-size: clamp(20px, 2vw, 26px); line-height: 1.2; }
.g-card__body p { margin: 12px 0 0; font-size: 14.5px; color: var(--ink-soft); }
.g-card__price {
  margin-top: 14px;
  font-family: var(--font-editorial);
  font-size: 20px;
  color: var(--ink);
}

/* ------------------------------------------------------------ categories */
.g-cats { padding: var(--section) 0; }
.g-cats__list { border-top: 1px solid var(--hairline); }
.g-cats__row {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  padding: 24px 4px;
  border-bottom: 1px solid var(--hairline);
  text-decoration: none;
  color: inherit;
  transition: background 200ms ease, padding-left 200ms ease;
}
.g-cats__row:hover { background: var(--olive-tint); padding-left: 14px; }
.g-cats__num { font-family: var(--font-ui); font-size: 11px; letter-spacing: 0.2em; color: var(--olive-deep); }
.g-cats__name {
  font-family: var(--font-editorial);
  font-size: clamp(22px, 2.4vw, 32px);
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.g-cats__desc {
  display: block;
  font-family: var(--font-ui);
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink-soft);
  margin-top: 6px;
}
.g-cats__arrow { font-size: 18px; color: var(--olive); }

/* ------------------------------------------------------------- occasions
   The olive band: the biggest block of the brand colour on the page.        */
.g-occasions { background: var(--olive); color: var(--ink); padding: var(--section) 0; }
.g-occasions h2 { color: var(--ink); }
.g-occasions .g-eyebrow { color: rgba(25,26,16,0.62); }
.g-occasions p { color: rgba(25,26,16,0.78); }
.g-occasions__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(25,26,16,0.18);
  border: 1px solid rgba(25,26,16,0.18);
  margin-top: 12px;
}
.g-occasion {
  background: var(--olive);
  padding: 30px 26px;
  font-family: var(--font-editorial);
  font-size: clamp(20px, 2vw, 26px);
  letter-spacing: 0.02em;
}
.g-occasion span {
  display: block;
  font-family: var(--font-ui);
  font-size: 13.5px;
  letter-spacing: 0;
  color: rgba(25,26,16,0.7);
  margin-top: 8px;
}

/* ----------------------------------------------------------- how it works */
.g-steps { padding: var(--section) 0; }
.g-steps__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 40px);
}
.g-step { border-top: 3px solid var(--olive); padding-top: 20px; }
.g-step__num { font-family: var(--font-ui); font-size: 11px; letter-spacing: 0.22em; color: var(--olive-deep); }
.g-step h3 { font-size: clamp(19px, 1.9vw, 24px); margin-top: 10px; }
.g-step p { margin: 12px 0 0; font-size: 14.5px; color: var(--ink-soft); }

/* ------------------------------------------------------------------- faq */
.g-faq { background: var(--paper-2); padding: var(--section) 0; }
.g-faq__list { border-top: 1px solid var(--hairline); }
.g-faq details { border-bottom: 1px solid var(--hairline); padding: 20px 2px; }
.g-faq summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--font-editorial);
  font-size: clamp(18px, 1.9vw, 23px);
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.g-faq summary::-webkit-details-marker { display: none; }
.g-faq summary::after { content: "+"; font-family: var(--font-ui); color: var(--olive-deep); }
.g-faq details[open] summary::after { content: "–"; }
.g-faq details p { margin: 14px 0 0; font-size: 15px; color: var(--ink-soft); max-width: 78ch; }

/* --------------------------------------------------------------- closing
   The black 20%: one deep near-black band to anchor the page.               */
.g-close { background: var(--ink); color: var(--paper); padding: var(--section) 0; }
.g-close h2 { color: var(--paper); }
.g-close .g-eyebrow { color: rgba(247,246,238,0.62); }
.g-close__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.g-close dt { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(247,246,238,0.6); margin-top: 22px; }
.g-close dd { margin: 6px 0 0; font-family: var(--font-editorial); font-size: clamp(19px, 2vw, 24px); }
.g-close dd a { color: var(--paper); text-decoration: none; border-bottom: 2px solid var(--olive); }
.g-close .g-head p { color: rgba(247,246,238,0.78); }
.g-note { margin-top: 26px; font-size: 13px; color: rgba(247,246,238,0.7); }

/* --------------------------------------------- delivery chips (light + dark) */
.delivery-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 14px; }
.delivery-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--hairline);
  padding: 8px 16px;
  min-height: 38px;
  border-radius: var(--radius);
  transition: transform 180ms ease, border-color 180ms ease;
}
.delivery-chip:hover { transform: translateY(-2px); border-color: var(--olive); }
.delivery-chip img { display: block; height: 17px; width: auto; }

/* The site nav/footer were built for the dark theme — keep them legible here. */
.gift-page .site-nav { position: static; background: var(--paper); border-bottom: 1px solid var(--hairline); }
.gift-page .site-nav .nav-tabs a { color: var(--ink); }
.gift-page .site-nav .nav-tabs a:hover,
.gift-page .site-nav .nav-tabs a.active { color: var(--olive-deep); }
.gift-page .nav-tabs a.active::after { background: var(--olive); }
.gift-page .brand__mark--light { display: none; }
.gift-page .brand__mark--dark { display: block; }
.gift-page .nav-toggle span,
.gift-page .nav-toggle span::before,
.gift-page .nav-toggle span::after { background: var(--ink); }

/* ==========================================================================
   Social & Reviews components (same editorial system)
   ========================================================================== */

/* ------------------------------------------------------------- stat strip */
.g-stats { border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.g-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--hairline);
}
.g-stat { background: var(--paper); padding: 18px clamp(16px, 2vw, 28px); text-align: center; }
.g-stat strong {
  display: block;
  font-family: var(--font-editorial);
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 500;
  line-height: 1;
  color: var(--ink);
}
.g-stat span {
  display: block;
  margin-top: 10px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.g-stat em { color: var(--olive); font-style: normal; }

/* ---------------------------------------------------------- Instagram row */
.g-social { padding: var(--section) 0; }
.g-social__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: clamp(28px, 3vw, 44px);
}
.g-social__row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(8px, 1.2vw, 16px);
}
.g-post { position: relative; display: block; overflow: hidden; background: var(--paper-3); }
.g-post img {
  width: 100%; height: 100%; display: block;
  aspect-ratio: 1 / 1; object-fit: cover;
  transition: transform 600ms cubic-bezier(.2,.8,.2,1);
}
.g-post:hover img { transform: scale(1.05); }
.g-post__tag {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 10px 12px;
  background: linear-gradient(0deg, rgba(25,26,16,0.78), transparent);
  color: var(--paper);
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  opacity: 0; transition: opacity 250ms ease;
}
.g-post:hover .g-post__tag { opacity: 1; }

/* --------------------------------------------------------------- TikTok */
.g-tiktok { background: var(--paper-2); padding: var(--section) 0; }
.g-tiktok__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.g-tiktok__embed {
  background: #000;
  border-radius: var(--radius);
  padding: 12px;
  display: flex;
  justify-content: center;
}
.g-tiktok__embed blockquote { margin: 0 !important; }

/* --------------------------------------------------------------- reviews */
.g-reviews { padding: var(--section) 0; }
.g-reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
}
.g-review {
  background: var(--paper);
  padding: clamp(24px, 2.6vw, 34px);
  display: flex;
  flex-direction: column;
  border-top: 3px solid var(--olive);
}
.g-review__stars { color: var(--olive); letter-spacing: 0.16em; font-size: 14px; }
.g-review__body {
  margin: 14px 0 0;
  font-family: var(--font-editorial);
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.5;
  color: var(--ink);
  flex: 1;
}
.g-review__who {
  margin-top: 18px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.g-reviews__more { margin-top: clamp(28px, 3vw, 40px); font-size: 15px; color: var(--ink-soft); }
.g-reviews__more a { border-bottom: 2px solid var(--olive); text-decoration: none; }

/* ----------------------------------------------------------------- press */
.g-press { background: var(--paper-2); padding: var(--section) 0; }
.g-press__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.6vw, 34px);
}
.g-press figure { margin: 0; }
.g-press img { width: 100%; height: auto; display: block; aspect-ratio: 4 / 3; object-fit: cover; }
.g-press figcaption {
  margin-top: 14px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ------------------------------------------------------- follow buttons */
.g-follow-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

@media (max-width: 980px) {
  .g-stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g-social__row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .g-tiktok__grid { grid-template-columns: 1fr; }
  .g-reviews__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g-press__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .g-social__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g-reviews__grid { grid-template-columns: 1fr; }
  .g-press__grid { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------- responsive */
@media (max-width: 980px) {
  .g-hero__grid, .g-close__grid { grid-template-columns: 1fr; }
  .g-values__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g-products__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g-steps__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g-occasions__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .g-values__grid { grid-template-columns: 1fr; }
  .g-products__grid { grid-template-columns: 1fr; }
  .g-steps__grid { grid-template-columns: 1fr; }
  .g-occasions__grid { grid-template-columns: 1fr; }
  .g-cats__row { grid-template-columns: 34px minmax(0, 1fr) auto; gap: 14px; }
  .g-hero h1 { font-size: clamp(34px, 9vw, 46px); }
}

/* ==========================================================================
   Platform logo buttons  (owner request, 19 Sep 2026)
   The text buttons ("Follow on Instagram" / "Watch on TikTok") are replaced by
   the platforms' own logos: a clear, instantly recognisable button.
   ========================================================================== */
.g-logo-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 32px; }
.g-logo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.g-logo-btn:hover,
.g-logo-btn:focus-visible {
  transform: translateY(-2px);
  border-color: var(--olive);
  box-shadow: 0 6px 16px rgba(25, 26, 16, 0.12);
}
.g-logo-btn img { width: 30px; height: 30px; display: block; }
.g-close .g-logo-btn { border-color: transparent; }

/* Section mark — the platform's logo sits next to the section heading */
.g-head__row { display: flex; align-items: center; gap: 16px; }
.g-mark { width: 46px; height: 46px; flex: none; }
@media (max-width: 620px) {
  .g-logo-btn { width: 52px; height: 52px; }
  .g-logo-btn img { width: 26px; height: 26px; }
  .g-mark { width: 38px; height: 38px; }
}
