/* ==========================================================================
   Agua Fresca Côte Miel - shared stylesheet
   Design tokens copied verbatim from the "Côte Miel Design System"
   (Claude Design project cdfab036). Do not invent new values here - extend
   from the tokens below.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens - colors (tokens/colors.css)
   -------------------------------------------------------------------------- */
:root {
  --brown-950: #180d08;
  --brown-900: #26140b;
  --brown-800: #341c11;
  --brown-700: #472716;
  --brown-600: #5c3420;

  --cream-50: #faf3e8;
  --cream-100: #f2e6d4;
  --cream-200: #e8d6ba;

  --gold-300: #e8cf9c;
  --gold-400: #d9b878;
  --gold-500: #c9a05e;
  --gold-600: #a67a3d;
  --gold-700: #8a6230;

  --honey-500: #c98a2c;
  --honey-600: #a86e1f;

  --forest-600: #1f4d3c;
  --forest-700: #15382c;

  --ivory: #fbf8f2;
  --stone-100: #f4efe7;
  --stone-300: #ddd0bf;
  --stone-500: #a4917d;
  --stone-600: #6b5d52;
  --ink-900: #1a1310;

  --surface-page: var(--brown-900);
  --surface-page-light: var(--ivory);
  --surface-sunken: var(--brown-950);
  --surface-card: var(--brown-800);
  --surface-card-light: #ffffff;

  --text-primary: var(--cream-50);
  --text-secondary: var(--gold-300);
  --text-muted: var(--stone-500);
  --text-primary-light: var(--ink-900);
  --text-secondary-light: var(--gold-600);
  --text-muted-light: var(--stone-600);

  --accent: var(--gold-500);
  --accent-strong: var(--gold-600);
  --accent-soft: var(--gold-300);

  --border-subtle: rgba(232, 207, 156, 0.18);
  --border-subtle-light: rgba(26, 19, 16, 0.12);

  --focus-ring: var(--gold-500);
  --danger: #b3492f;
  --success: var(--forest-600);

  /* 2. Tokens - typography (tokens/typography.css) */
  --font-sans: "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Cormorant Garamond", Georgia, serif;

  --tracking-wide: 0.08em;
  --tracking-wider: 0.16em;

  --text-xs: 12px;
  --text-sm: 14px;
  --text-base: 16px;
  --text-lg: 19px;
  --text-xl: 23px;
  --text-2xl: 28px;
  --text-3xl: 34px;
  --text-4xl: 42px;
  --text-5xl: 56px;
  --text-6xl: 72px;

  --leading-tight: 1.1;
  --leading-snug: 1.3;
  --leading-normal: 1.6;
  --leading-relaxed: 1.75;

  --weight-light: 300;
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;

  /* 3. Tokens - spacing (tokens/spacing.css) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  --space-32: 128px;
  --container-max: 1280px;

  /* 4. Tokens - effects (tokens/effects.css) */
  --radius-sm: 3px;
  --radius-md: 6px;
  --radius-lg: 12px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 3px rgba(15, 8, 4, 0.35);
  --shadow-md: 0 8px 24px rgba(15, 8, 4, 0.4);
  --shadow-lg: 0 20px 48px rgba(15, 8, 4, 0.45);
  --shadow-gold: 0 0 0 1px rgba(201, 160, 94, 0.35), 0 8px 20px rgba(201, 160, 94, 0.12);

  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
  --duration-fast: 140ms;
  --duration-normal: 220ms;

  /* Derived layout values (extended from the tokens above, not new decisions) */
  --gutter: var(--space-5);
  --header-h: 64px;
}

@media (min-width: 768px) {
  :root {
    --gutter: var(--space-10);
    --header-h: 76px;
  }
}

/* --------------------------------------------------------------------------
   5. Reset & base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--space-6));
}

body {
  background: var(--surface-page);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: var(--weight-light);
  line-height: var(--leading-normal);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
picture,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* Focus - README: "2px gold ring offset 2px, visible on all interactive
   elements - no focus state is ever removed." */
:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

::selection {
  background: var(--gold-500);
  color: var(--brown-900);
}

/* README: "Animation: minimal and slow ... no auto-playing motion." */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

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

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

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

@media (min-width: 768px) {
  .section {
    padding-block: var(--space-24);
  }
}

.section--sunken {
  background: var(--surface-sunken);
}

.section--hairline {
  border-top: 1px solid var(--border-subtle);
}

.stack {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.stack--lg {
  gap: var(--space-6);
}

.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -100px;
  z-index: 100;
  background: var(--accent);
  color: var(--brown-900);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  transition: top var(--duration-fast) var(--ease-standard);
}

.skip-link:focus {
  top: var(--space-4);
}

/* --------------------------------------------------------------------------
   7. Typography
   README: Cormorant Garamond italic for display, Jost for UI/body.
   -------------------------------------------------------------------------- */
.display {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: var(--weight-medium);
  line-height: var(--leading-tight);
  color: var(--text-primary);
  letter-spacing: 0.005em;
}

.display--xl {
  font-size: clamp(38px, 9vw, var(--text-6xl));
}
.display--lg {
  font-size: clamp(32px, 6.5vw, var(--text-5xl));
}
.display--md {
  font-size: clamp(27px, 4.6vw, var(--text-3xl));
}
.display--sm {
  font-size: clamp(23px, 3.4vw, var(--text-2xl));
}

/* Wordmark-style all-caps label. README: "generous letter-spacing" */
.eyebrow {
  font-size: var(--text-xs);
  font-weight: var(--weight-regular);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--text-secondary);
}

.eyebrow--muted {
  color: var(--text-muted);
  letter-spacing: var(--tracking-wide);
}

.lede {
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  color: var(--text-muted);
  max-width: 52ch;
}

.body-text {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--text-muted);
  max-width: 68ch;
}

.body-text + .body-text {
  margin-top: var(--space-5);
}

.body-text strong {
  color: var(--text-primary);
  font-weight: var(--weight-regular);
}

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

.measure-center {
  margin-inline: auto;
}

/* README: "the only 'gradient' in the brand is the metallic gold sheen on the
   monogram itself ... used sparingly (wordmark and hero accents only)" */
.gold-sheen {
  background: linear-gradient(100deg, var(--cream-100), var(--gold-500) 55%, var(--gold-700));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* --------------------------------------------------------------------------
   8. Buttons - from components/core/Button.jsx
   Lowercase label, radius-sm, three variants.
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-sans);
  font-weight: var(--weight-medium);
  font-size: var(--text-sm);
  letter-spacing: 0.02em;
  text-transform: lowercase;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--duration-fast) var(--ease-standard),
    color var(--duration-fast) var(--ease-standard),
    border-color var(--duration-fast) var(--ease-standard),
    opacity var(--duration-fast) var(--ease-standard),
    transform var(--duration-fast) var(--ease-standard);
}

.btn--sm {
  padding: 8px 14px;
  font-size: 13px;
}
.btn--lg {
  padding: 14px 26px;
  font-size: 15px;
}

.btn--primary {
  background: var(--accent);
  color: var(--brown-900);
}
.btn--primary:hover {
  background: var(--gold-400);
}

.btn--secondary {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-subtle);
}
.btn--secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn--ghost {
  background: transparent;
  color: var(--accent);
}
.btn--ghost:hover {
  color: var(--gold-300);
}

/* README press state: "slight opacity dip (0.85) plus 1px downward shift -
   no scale/shrink transforms" */
.btn:active {
  opacity: 0.85;
  transform: translateY(1px);
}

.btn[disabled],
.btn[aria-disabled="true"] {
  opacity: 0.45;
  cursor: not-allowed;
}

/* Quiet inline link with a gold rule underneath */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  letter-spacing: 0.04em;
  color: var(--accent);
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: border-color var(--duration-fast) var(--ease-standard),
    color var(--duration-fast) var(--ease-standard);
}

.link-arrow:hover {
  border-bottom-color: var(--accent);
  color: var(--gold-300);
}

.link-arrow svg {
  transition: transform var(--duration-normal) var(--ease-standard);
}

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

/* --------------------------------------------------------------------------
   9. Badge - from components/core/Badge.jsx
   README: "Reserve the pill radius for tags/badges only."
   -------------------------------------------------------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--gold-700);
}

.badge--forest {
  color: #7fb8a2;
  border-color: var(--forest-600);
}

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

/* --------------------------------------------------------------------------
   10. Header - from ui_kits/boutique/Header.jsx
   Sticky, brown at ~88% with backdrop blur, hairline bottom border.
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(38, 20, 11, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-subtle);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: var(--header-h);
}

.wordmark {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}

.wordmark__mark {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.wordmark__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.wordmark__primary {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-primary);
  white-space: nowrap;
}

.wordmark__secondary {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--accent);
}

@media (min-width: 480px) {
  .wordmark__primary {
    font-size: 14px;
  }
  .wordmark__secondary {
    font-size: 14px;
  }
}

/* Desktop nav */
.site-nav {
  display: none;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  list-style: none;
  padding: 0;
}

.site-nav__link {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--text-primary);
  padding-block: var(--space-2);
  border-bottom: 1px solid transparent;
  transition: color var(--duration-fast) var(--ease-standard),
    border-color var(--duration-fast) var(--ease-standard);
}

.site-nav__link:hover {
  color: var(--accent);
}

.site-nav__link[aria-current="page"] {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.site-header__cta {
  display: none;
}

.site-header__inner .lang-toggle {
  display: none;
}

@media (min-width: 1100px) {
  .site-nav,
  .site-header__cta {
    display: block;
  }
  .site-header__inner .lang-toggle {
    display: inline-flex;
  }
}

/* Language toggle - small pill switcher, sits beside the header CTA */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 3px;
}

.lang-toggle__btn {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-wide);
  color: var(--text-muted);
  background: transparent;
  border: none;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: color var(--duration-fast) var(--ease-standard),
    background-color var(--duration-fast) var(--ease-standard);
}

.lang-toggle__btn:hover {
  color: var(--text-primary);
}

.lang-toggle__btn.is-active {
  color: var(--brown-900);
  background: var(--accent);
}

.mobile-nav__footer .lang-toggle {
  margin-top: 0;
  flex-shrink: 0;
}

/* Mobile menu button - thin linework, matching the monogram */
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0 9px;
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color var(--duration-fast) var(--ease-standard);
}

.nav-toggle:hover {
  border-color: var(--accent);
}

.nav-toggle span {
  display: block;
  height: 1px;
  width: 100%;
  background: var(--text-primary);
  transition: transform var(--duration-normal) var(--ease-standard),
    opacity var(--duration-fast) var(--ease-standard);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Declared after .nav-toggle so it wins on source order */
@media (min-width: 1100px) {
  .nav-toggle {
    display: none;
  }
}

/* Mobile drawer */
.mobile-nav {
  display: block;
  position: fixed;
  inset: var(--header-h) 0 auto 0;
  background: var(--brown-950);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 19;
  padding: var(--space-4) 0 var(--space-8);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity var(--duration-normal) var(--ease-standard),
    transform var(--duration-normal) var(--ease-standard),
    visibility var(--duration-normal) var(--ease-standard);
}

.mobile-nav.is-open {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.mobile-nav__list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.mobile-nav__link {
  display: block;
  padding: var(--space-4) 0;
  font-size: var(--text-lg);
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--border-subtle);
  transition: color var(--duration-fast) var(--ease-standard);
}

.mobile-nav__link:hover,
.mobile-nav__link[aria-current="page"] {
  color: var(--accent);
}

.mobile-nav__footer {
  margin-top: var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

@media (min-width: 1100px) {
  .mobile-nav {
    display: none;
  }
}

body.nav-open {
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   11. Hero
   README: "Backgrounds: solid color fields, not gradients or patterns"
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: var(--space-5);
  padding-block: var(--space-20) var(--space-16);
  border-bottom: 1px solid var(--border-subtle);
}

@media (min-width: 768px) {
  .hero {
    gap: var(--space-6);
    padding-block: 110px 90px;
  }
}

.hero__monogram {
  width: 84px;
  height: 84px;
  object-fit: contain;
  margin-bottom: var(--space-2);
}

.hero__title {
  max-width: 15ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
  margin-top: var(--space-2);
}

/* Page header for interior pages */
.page-head {
  padding-block: var(--space-16) var(--space-12);
  border-bottom: 1px solid var(--border-subtle);
  text-align: center;
}

@media (min-width: 768px) {
  .page-head {
    padding-block: var(--space-20) var(--space-16);
  }
}

.page-head .lede {
  margin-inline: auto;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-10);
}

.section-head--center {
  align-items: center;
  text-align: center;
}

.section-head--center .lede {
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   12. Cards - from components/core/Card.jsx
   -------------------------------------------------------------------------- */
.grid {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: 1fr;
}

@media (min-width: 600px) {
  .grid--2,
  .grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .grid {
    gap: var(--space-6);
  }
  .grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--duration-fast) var(--ease-standard);
}

a.card:hover,
.card--interactive:hover {
  border-color: var(--accent);
}

.card__media {
  aspect-ratio: 4 / 3;
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: var(--space-5);
  flex: 1;
}

.card__title {
  font-size: var(--text-base);
  font-weight: var(--weight-medium);
  color: var(--text-primary);
  letter-spacing: 0.01em;
}

.card__text {
  font-size: 13px;
  line-height: var(--leading-normal);
  color: var(--text-muted);
}

.card__footer {
  margin-top: auto;
  padding-top: var(--space-4);
}

/* --------------------------------------------------------------------------
   13. Photography placeholder
   README: "Where photography would go, the kit uses a labeled placeholder
   (dashed hairline + caption) rather than invented or borrowed images."
   Swap in a real photo by adding `src` in js/data.js - see README.
   -------------------------------------------------------------------------- */
.placeholder {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  width: 100%;
  height: 100%;
  min-height: 180px;
  padding: var(--space-5);
  text-align: center;
  background: var(--brown-950);
  border: 1px dashed var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
}

.placeholder__glyph {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-3xl);
  line-height: 1;
  background: linear-gradient(100deg, var(--cream-100), var(--gold-500) 55%, var(--gold-700));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.85;
}

.placeholder__caption {
  font-size: 11px;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--text-muted);
  max-width: 24ch;
  line-height: var(--leading-snug);
}

.card__media .placeholder {
  border: none;
  border-radius: 0;
}

/* --------------------------------------------------------------------------
   14. Split feature block (image + copy)
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  gap: var(--space-8);
  align-items: center;
  grid-template-columns: 1fr;
}

@media (min-width: 1100px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }
  .split--reverse .split__media {
    order: 2;
  }
}

.split__media {
  min-height: 280px;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.split__media img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.split__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  align-items: flex-start;
}

/* --------------------------------------------------------------------------
   15. Category / product listing
   -------------------------------------------------------------------------- */
.category {
  padding-block: var(--space-16);
  border-top: 1px solid var(--border-subtle);
}

.category:first-of-type {
  border-top: none;
}

@media (min-width: 768px) {
  .category {
    padding-block: var(--space-20);
  }
}

.category__head {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
  max-width: 60ch;
}

/* Sub-group inside a collection (e.g. Indian sweets: plain / with chocolate) */
.subcollection + .subcollection {
  margin-top: var(--space-16);
  padding-top: var(--space-12);
  border-top: 1px solid var(--border-subtle);
}

@media (min-width: 768px) {
  .subcollection + .subcollection {
    margin-top: var(--space-20);
  }
}

.subcollection__head {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
  max-width: 60ch;
}

/* Sticky in-page category nav (products page) */
.chip-nav {
  display: flex;
  gap: var(--space-2);
  overflow-x: auto;
  padding-block: var(--space-4);
  scrollbar-width: none;
  -ms-overflow-style: none;
}

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

.chip-nav__item {
  flex-shrink: 0;
  padding: 6px 14px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  font-size: 12px;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
  transition: color var(--duration-fast) var(--ease-standard),
    border-color var(--duration-fast) var(--ease-standard);
}

.chip-nav__item:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.chip-nav-wrap {
  position: sticky;
  top: var(--header-h);
  z-index: 10;
  background: rgba(38, 20, 11, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-subtle);
}

/* --------------------------------------------------------------------------
   Zanimljivosti - dated notes. One repeating block, nothing else to maintain.
   -------------------------------------------------------------------------- */
.note + .note {
  margin-top: var(--space-12);
  padding-top: var(--space-12);
  border-top: 1px solid var(--border-subtle);
}

.note__date {
  font-size: 11px;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: var(--space-3);
}

.note__title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: var(--weight-medium);
  font-size: clamp(23px, 3.4vw, var(--text-2xl));
  line-height: var(--leading-tight);
  color: var(--text-primary);
  margin-bottom: var(--space-4);
}

.note__body {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--text-muted);
  max-width: 68ch;
}

.note__body + .note__body {
  margin-top: var(--space-5);
}

.note__body strong {
  color: var(--text-primary);
  font-weight: var(--weight-regular);
}

/* --------------------------------------------------------------------------
   Flavour list - Spanish name, Serbian name, optional tag. Extends the
   existing detail/badge tokens, no new values.
   -------------------------------------------------------------------------- */
.flavours {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

@media (min-width: 700px) {
  .flavours {
    grid-template-columns: repeat(2, 1fr);
    column-gap: var(--space-12);
  }
}

.flavour {
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
  padding-block: var(--space-4);
  border-bottom: 1px solid var(--border-subtle);
}

.flavour__es {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-lg);
  color: var(--text-primary);
  flex-shrink: 0;
}

.flavour__sr {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-right: auto;
}

.flavour .badge {
  flex-shrink: 0;
  align-self: center;
}

/* --------------------------------------------------------------------------
   16. Gallery
   -------------------------------------------------------------------------- */
.gallery-grid {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 768px) {
  .gallery-grid {
    gap: var(--space-4);
    grid-template-columns: repeat(3, 1fr);
  }
}

.gallery-item {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.gallery-item--tall {
  aspect-ratio: 1 / 1;
}

@media (min-width: 768px) {
  .gallery-item--tall {
    aspect-ratio: auto;
    grid-row: span 2;
  }
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity var(--duration-normal) var(--ease-standard);
}

.gallery-item:hover img {
  opacity: 0.88;
}

/* --------------------------------------------------------------------------
   17. Forms - from components/forms/Input.jsx
   -------------------------------------------------------------------------- */
.form {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

.field__label {
  font-size: var(--text-xs);
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.field__req {
  color: var(--accent);
}

.field__input,
.field__textarea {
  width: 100%;
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  color: var(--text-primary);
  font-size: var(--text-sm);
  font-family: inherit;
  outline: none;
  transition: border-color var(--duration-fast) var(--ease-standard);
}

.field__textarea {
  min-height: 148px;
  resize: vertical;
  line-height: var(--leading-normal);
}

.field__input::placeholder,
.field__textarea::placeholder {
  color: var(--stone-600);
}

.field__input:hover,
.field__textarea:hover {
  border-color: var(--stone-600);
}

.field__input:focus,
.field__textarea:focus {
  border-color: var(--accent);
}

.field.has-error .field__input,
.field.has-error .field__textarea {
  border-color: var(--danger);
}

.field__error {
  font-size: var(--text-xs);
  color: var(--danger);
  min-height: 0;
}

.field__error:empty {
  display: none;
}

/* Honeypot - hidden from people, visible to naive bots */
.field--honey {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__note {
  font-size: var(--text-xs);
  color: var(--text-muted);
  line-height: var(--leading-normal);
}

.form__status {
  font-size: var(--text-sm);
  padding: var(--space-4);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  line-height: var(--leading-normal);
}

.form__status[hidden] {
  display: none;
}

.form__status--ok {
  color: var(--cream-50);
  border-color: var(--forest-600);
  background: rgba(31, 77, 60, 0.18);
}

.form__status--error {
  color: var(--cream-50);
  border-color: var(--danger);
  background: rgba(179, 73, 47, 0.14);
}

.btn.is-busy {
  opacity: 0.6;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   18. Contact details
   -------------------------------------------------------------------------- */
.contact-layout {
  display: grid;
  gap: var(--space-12);
  grid-template-columns: 1fr;
  align-items: start;
}

@media (min-width: 1100px) {
  .contact-layout {
    grid-template-columns: 1.05fr 1fr;
    gap: var(--space-16);
  }
}

.detail-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  list-style: none;
  padding: 0;
}

.detail {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--border-subtle);
}

.detail:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.detail__label {
  font-size: 11px;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--text-secondary);
}

.detail__value {
  font-size: var(--text-base);
  color: var(--text-primary);
  line-height: var(--leading-snug);
}

a.detail__value {
  transition: color var(--duration-fast) var(--ease-standard);
}

a.detail__value:hover {
  color: var(--accent);
}

.detail__meta {
  font-size: 13px;
  color: var(--text-muted);
}

.hours {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-top: var(--space-1);
}

.hours__row {
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  font-size: var(--text-sm);
  color: var(--text-muted);
  max-width: 320px;
}

.hours__row span:last-child {
  color: var(--text-primary);
}

.map-frame {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  line-height: 0;
}

.map-frame iframe {
  width: 100%;
  height: 340px;
  border: 0;
  filter: grayscale(0.35) sepia(0.25) brightness(0.92);
}

/* --------------------------------------------------------------------------
   19. Social links
   -------------------------------------------------------------------------- */
.social {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.social__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 8px 14px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--text-primary);
  transition: border-color var(--duration-fast) var(--ease-standard),
    color var(--duration-fast) var(--ease-standard);
}

.social__link:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.social__link svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   20. CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  background: var(--surface-sunken);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  text-align: center;
  padding-block: var(--space-16);
}

@media (min-width: 768px) {
  .cta-band {
    padding-block: var(--space-20);
  }
}

.cta-band .stack {
  align-items: center;
  gap: var(--space-5);
}

/* --------------------------------------------------------------------------
   21. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--brown-950);
  border-top: 1px solid var(--border-subtle);
  padding-block: var(--space-16) var(--space-8);
  font-size: var(--text-sm);
}

.site-footer__grid {
  display: grid;
  gap: var(--space-10);
  grid-template-columns: 1fr;
  margin-bottom: var(--space-12);
}

@media (min-width: 700px) {
  .site-footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: var(--space-12);
  }
}

.site-footer__col h2 {
  font-size: 11px;
  font-weight: var(--weight-regular);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: var(--space-4);
}

.site-footer__list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  color: var(--text-muted);
}

.site-footer__list a {
  transition: color var(--duration-fast) var(--ease-standard);
}

.site-footer__list a:hover {
  color: var(--accent);
}

.site-footer__blurb {
  color: var(--text-muted);
  line-height: var(--leading-relaxed);
  max-width: 40ch;
  margin-top: var(--space-4);
}

.site-footer__bottom {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding-top: var(--space-6);
  border-top: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: var(--text-xs);
}

@media (min-width: 700px) {
  .site-footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* --------------------------------------------------------------------------
   Cookie consent - appears once, bottom of the screen, dismissed forever
   -------------------------------------------------------------------------- */
.consent {
  position: fixed;
  left: var(--space-4);
  right: var(--space-4);
  bottom: var(--space-4);
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  max-width: 720px;
  margin-inline: auto;
  padding: var(--space-5);
  background: var(--brown-950);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--duration-normal) var(--ease-standard),
    transform var(--duration-normal) var(--ease-standard);
}

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

.consent__text {
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
  color: var(--text-muted);
}

.consent__text a {
  color: var(--accent);
  border-bottom: 1px solid transparent;
  transition: border-color var(--duration-fast) var(--ease-standard);
}

.consent__text a:hover {
  border-bottom-color: var(--accent);
}

.consent__actions {
  display: flex;
  gap: var(--space-3);
  flex-shrink: 0;
}

@media (min-width: 600px) {
  .consent {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-6);
  }
}

/* --------------------------------------------------------------------------
   22. Reveal-on-scroll
   README: "minimal and slow ... no bounce, no springy easing".
   Opacity + 8px lift only, once per element.
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--duration-normal) var(--ease-standard),
    transform var(--duration-normal) var(--ease-standard);
}

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

/* No JS / reduced motion - never hide content */
.no-js .reveal,
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}

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

.divider {
  height: 1px;
  background: var(--border-subtle);
  border: none;
  margin-block: var(--space-12);
}
