:root {
  --forest: #0c2418;
  --forest-mid: #163528;
  --moss: #2f5a44;
  --leaf: #5c8f72;
  --mist: #eef2ef;
  --mist-deep: #e2e9e4;
  --paper: #f7f9f7;
  --ink: #122018;
  --ink-soft: #4d5f55;
  --sun: #c9a227;
  --sun-deep: #a8841a;
  --line: rgba(12, 36, 24, 0.1);
  --line-strong: rgba(12, 36, 24, 0.16);
  --radius: 10px;
  --radius-sm: 6px;
  --shadow-soft: 0 18px 40px rgba(12, 36, 24, 0.08);
  --nav-h: 64px;
  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Manrope", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background:
    radial-gradient(900px 420px at 0% -5%, rgba(95, 143, 114, 0.12), transparent 55%),
    radial-gradient(800px 380px at 100% 0%, rgba(201, 162, 39, 0.08), transparent 50%),
    linear-gradient(180deg, var(--mist) 0%, var(--paper) 45%, var(--mist-deep) 100%);
  background-attachment: fixed;
  color: var(--ink);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-tap-highlight-color: transparent;
}

.site-main {
  flex: 1;
  padding-bottom: calc(84px + env(safe-area-inset-bottom));
}
@media (min-width: 992px) {
  .site-main { padding-bottom: 2.5rem; }
}

/* ---------- Navbar ---------- */
.site-navbar.navbar {
  display: block;
  padding-left: 0;
  padding-right: 0;
}
.site-navbar {
  background: rgba(12, 36, 24, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(201, 162, 39, 0.16);
  padding-top: .45rem;
  padding-bottom: .45rem;
  min-height: var(--nav-h);
  transition: background .3s ease, border-color .3s ease;
}
body.is-home .site-navbar {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(12, 36, 24, 0.55) 0%, transparent 100%);
  border-bottom-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
body.is-home .site-main { padding-top: 0; }

.nav-bar-inner {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 52px;
  width: 100%;
}
.nav-side {
  display: flex;
  align-items: center;
  gap: .35rem;
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
}
.nav-right { margin-left: auto; }

.nav-brand {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  max-width: calc(100% - 14rem);
  margin: 0;
  padding: 0 .35rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(.95rem, 3.2vw, 1.12rem);
  letter-spacing: .01em;
  line-height: 1.15;
  color: #fff;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: auto;
}
.nav-brand-short { display: inline; }
.nav-brand-long { display: none; }
.nav-brand:hover { color: var(--sun); }
@media (min-width: 430px) {
  .nav-brand-short { display: none; }
  .nav-brand-long { display: inline; }
  .nav-brand { max-width: calc(100% - 14.5rem); font-size: 1.05rem; }
}
@media (min-width: 576px) {
  .nav-brand { max-width: calc(100% - 15rem); font-size: 1.18rem; }
}
@media (min-width: 992px) {
  .nav-brand { font-size: 1.28rem; }
}

.site-navbar .nav-toggle { color: #fff; }
.brand-logo { height: 40px; width: 40px; object-fit: cover; border-radius: 50%; }
.brand-logo-sm { height: 32px; width: 32px; object-fit: cover; border-radius: 50%; }

.nav-toggle {
  border: 0;
  width: 42px; height: 42px;
  border-radius: var(--radius-sm);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .2s ease, color .2s ease;
  flex-shrink: 0;
}
.nav-toggle:hover { background: rgba(255,255,255,.1); color: var(--sun); }

.table-pill {
  background: rgba(201, 162, 39, 0.16);
  color: var(--sun);
  border: 1px solid rgba(201, 162, 39, 0.35);
  border-radius: 4px;
  padding: .22rem .55rem;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .04em;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}

/* ---------- Buttons ---------- */
.text-gold { color: var(--sun-deep) !important; }
.btn { border-radius: var(--radius-sm); font-weight: 600; letter-spacing: .01em; }
.btn-gold {
  background: var(--sun);
  border: 0;
  color: var(--forest);
  box-shadow: 0 8px 22px rgba(201, 162, 39, 0.28);
}
.btn-gold:hover, .btn-gold:focus {
  color: var(--forest);
  background: #d4ad35;
  filter: none;
  transform: translateY(-1px);
}
.btn-gold:active { transform: translateY(0); }
.btn-outline-gold {
  border: 1.5px solid rgba(255,255,255,.4);
  color: #fff;
  background: rgba(255,255,255,.06);
}
.btn-outline-gold:hover {
  background: var(--sun);
  color: var(--forest);
  border-color: var(--sun);
}
.btn-ghost-light {
  border: 1.5px solid rgba(255,255,255,.45);
  color: #fff;
  background: transparent;
  padding: .75rem 1.35rem;
}
.btn-ghost-light:hover {
  background: rgba(255,255,255,.12);
  color: #fff;
  border-color: #fff;
}

.nav-icon-btn,
.nav-search {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  text-decoration: none;
  flex-shrink: 0;
}
.nav-icon-btn:hover,
.nav-search:hover { background: var(--sun); color: var(--forest); border-color: var(--sun); }

.nav-lang {
  min-width: 48px;
  font-weight: 600;
  padding-left: .5rem;
  padding-right: .45rem;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-cart {
  background: var(--sun);
  color: var(--forest) !important;
  border: 0;
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-cart:hover { filter: brightness(1.05); color: var(--forest) !important; }
.cart-badge { font-size: .62rem; box-shadow: 0 0 0 2px var(--forest); }

@media (max-width: 400px) {
  .nav-lang { min-width: 42px; font-size: .75rem; padding-left: .35rem; padding-right: .3rem; }
  .nav-icon-btn, .nav-cart, .nav-toggle, .nav-search { width: 36px; height: 36px; }
  .nav-lang { height: 36px; }
}

.alert-gold {
  background: rgba(201, 162, 39, 0.12);
  border: 1px solid rgba(201, 162, 39, 0.35);
  color: var(--ink);
  border-radius: var(--radius-sm);
}

/* ---------- Home hero ---------- */
.home-hero {
  position: relative;
  min-height: min(100svh, 760px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #fff;
}
.hero-atmosphere {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 0%, rgba(92, 143, 114, 0.28), transparent 60%),
    radial-gradient(ellipse 50% 40% at 85% 70%, rgba(201, 162, 39, 0.12), transparent 55%),
    linear-gradient(165deg, #143528 0%, #0c2418 48%, #08160f 100%);
}
.hero-atmosphere::before,
.hero-atmosphere::after {
  display: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: calc(var(--nav-h) + 0.5rem) 1.25rem calc(5.5rem + env(safe-area-inset-bottom));
  max-width: 720px;
  margin: -3.5vh auto 0;
  text-align: center;
  animation: fadeRise .9s ease both;
}
@media (max-width: 575px) {
  .home-hero { min-height: 100svh; }
  .hero-content {
    margin-top: -6vh;
    padding-top: calc(var(--nav-h) + 0.25rem);
  }
  .hero-brand { font-size: clamp(1.85rem, 7.5vw, 2.6rem); }
  .hero-mark { width: 76px; height: 76px; margin-bottom: 1rem; }
}
.hero-mark {
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 1.25rem;
  display: block;
  filter: drop-shadow(0 10px 24px rgba(0,0,0,.35));
  animation: fadeRise .9s .1s ease both;
}
.hero-table {
  display: inline-block;
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--sun);
  font-weight: 600;
  margin-bottom: .85rem;
  animation: fadeRise .9s .15s ease both;
}
.hero-brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.35rem, 8vw, 4rem);
  line-height: 1.05;
  letter-spacing: -.02em;
  margin: 0 0 .85rem;
  text-shadow: 0 4px 28px rgba(0,0,0,.35);
  animation: fadeRise .9s .2s ease both;
}
.hero-tagline {
  font-size: clamp(.98rem, 2.4vw, 1.15rem);
  font-weight: 400;
  color: rgba(255,255,255,.78);
  max-width: 28ch;
  margin: 0 auto 1.75rem;
  line-height: 1.55;
  animation: fadeRise .9s .3s ease both;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: center;
  animation: fadeRise .9s .4s ease both;
}
.hero-cta .btn {
  min-width: 148px;
  padding: .8rem 1.4rem;
  font-size: .95rem;
}

/* ---------- Home utilities (below fold) ---------- */
.home-utils {
  padding: 2rem 0 1.25rem;
}
.home-utils-label {
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--moss);
  font-weight: 700;
  margin-bottom: 1rem;
  text-align: center;
}
.util-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .65rem;
  max-width: 420px;
  margin: 0 auto;
}
.util-grid a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  min-height: 88px;
  padding: .85rem .6rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: .88rem;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(12, 36, 24, 0.04);
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.util-grid a i {
  color: var(--moss);
  font-size: 1.15rem;
}
.util-grid a:hover,
.util-grid a:active {
  border-color: rgba(201, 162, 39, 0.45);
  box-shadow: 0 10px 22px rgba(12, 36, 24, 0.08);
  transform: translateY(-1px);
  color: var(--forest);
}
.util-grid a.util-wide {
  grid-column: 1 / -1;
  flex-direction: row;
  min-height: 56px;
  gap: .65rem;
}
@media (min-width: 768px) {
  .util-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    max-width: 880px;
    gap: .75rem;
  }
  .util-grid a.util-wide {
    grid-column: auto;
    flex-direction: column;
    min-height: 96px;
  }
}

/* legacy util-list kept harmless */
.util-list { display: none; }

.menu-search-inner {
  display: flex;
  align-items: center;
  gap: .65rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .45rem .55rem .45rem 1rem;
}
.menu-search-inner i { color: var(--moss); }
.menu-search-inner input {
  flex: 1;
  border: 0;
  outline: none;
  background: transparent;
  font-size: .95rem;
  min-width: 0;
}
.menu-search-inner .btn { border-radius: 999px; padding-left: 1rem; padding-right: 1rem; }

/* ---------- Section headings ---------- */
.section-eyebrow {
  color: var(--moss);
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: .7rem;
}
.page-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.65rem, 4vw, 2.1rem);
  margin: 1.35rem 0 1rem;
  letter-spacing: -.01em;
  color: var(--forest);
}

.category-section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  margin: 1.75rem 0 1rem;
  display: flex;
  align-items: center;
  gap: .65rem;
  color: var(--forest);
}
.category-section-title::before {
  content: '';
  width: 4px; height: 1.1em;
  border-radius: 2px;
  background: var(--sun);
}

/* ---------- Category editorial rows ---------- */
.category-image-grid {
  display: flex;
  flex-direction: column;
  gap: .85rem;
}
@media (min-width: 768px) {
  .category-image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}
@media (min-width: 1200px) {
  .category-image-grid { grid-template-columns: repeat(3, 1fr); }
}

.category-image-card {
  position: relative;
  display: block;
  text-decoration: none;
  color: #fff;
  overflow: hidden;
  border-radius: 4px;
  min-height: 180px;
  isolation: isolate;
  animation: fadeRise .5s ease both;
}
.category-image-card:nth-child(2) { animation-delay: .06s; }
.category-image-card:nth-child(3) { animation-delay: .12s; }
.category-image-card:nth-child(4) { animation-delay: .18s; }
.category-image-wrap {
  position: absolute;
  inset: 0;
  background: var(--forest-mid);
}
.category-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}
.category-image-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 22, 15, 0.88) 0%, rgba(8, 22, 15, 0.25) 55%, transparent 100%);
  z-index: 1;
  transition: background .35s ease;
}
.category-image-card:hover .category-image-wrap img { transform: scale(1.06); }
.category-image-card:hover::after {
  background: linear-gradient(to top, rgba(8, 22, 15, 0.92) 0%, rgba(8, 22, 15, 0.35) 60%, transparent 100%);
}
.category-image-label {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 1.25rem 1.15rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: .01em;
  color: #fff;
  background: none;
  border: 0;
  text-align: left;
  text-transform: none;
}

/* ---------- Category chips ---------- */
.chip-bar {
  position: sticky;
  top: 66px;
  z-index: 15;
  display: flex;
  gap: .5rem;
  overflow-x: auto;
  padding: .65rem .25rem;
  margin: 0 -.25rem 1rem;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  background: linear-gradient(180deg, var(--mist) 60%, transparent);
}
.chip-bar::-webkit-scrollbar { display: none; }
.category-chip {
  flex: 0 0 auto;
  padding: .45rem .95rem;
  border-radius: 4px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.7);
  color: var(--ink-soft);
  text-decoration: none;
  font-size: .82rem;
  font-weight: 600;
  white-space: nowrap;
  transition: all .2s ease;
}
.category-chip.active, .category-chip:hover {
  background: var(--forest);
  border-color: var(--forest);
  color: #fff;
}

/* ---------- Product cards / rows ---------- */
.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: .75rem;
}
@media (min-width: 576px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
}
@media (min-width: 992px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}

.product-card {
  background: transparent;
  border-radius: 0;
  overflow: hidden;
  border: 0;
  text-decoration: none;
  color: inherit;
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: .9rem;
  align-items: center;
  padding: .35rem 0;
  border-bottom: 1px solid var(--line);
  box-shadow: none;
  transition: opacity .2s ease;
  animation: fadeRise .45s ease both;
}
@media (min-width: 576px) {
  .product-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    border-bottom: 0;
    padding: 0;
    gap: 0;
  }
}
.product-card:hover { color: inherit; opacity: .92; }
.product-thumb {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: var(--mist-deep);
}
.product-thumb img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--mist-deep);
  display: block;
  transition: transform .4s ease;
}
@media (min-width: 576px) {
  .product-thumb img { aspect-ratio: 4 / 3; }
}
.product-card:hover .product-thumb img { transform: scale(1.04); }
.product-card.is-sold-out { opacity: .55; }
.product-card.is-sold-out:hover .product-thumb img { transform: none; }
.sold-out-badge {
  position: absolute;
  left: 8px; top: 8px;
  background: rgba(120, 30, 30, .92);
  color: #fff;
  font-size: .65rem;
  font-weight: 700;
  padding: .22rem .45rem;
  border-radius: 3px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.product-card .body {
  padding: .15rem 0 .25rem;
  display: flex;
  flex-direction: column;
  gap: .3rem;
  flex: 1;
  min-width: 0;
}
@media (min-width: 576px) {
  .product-card .body { padding: .75rem 0 0; }
}
.product-card .name {
  font-weight: 600;
  font-size: .95rem;
  line-height: 1.3;
  color: var(--forest);
}
.product-card .price-row {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
}
.product-card .price {
  color: var(--moss);
  font-weight: 700;
  font-size: .95rem;
}
.price-add {
  width: 32px; height: 32px;
  border-radius: 4px;
  border: 0;
  background: var(--forest);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .75rem;
  flex-shrink: 0;
}

/* ---------- Product detail ---------- */
.product-detail-img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: var(--shadow-soft);
}
.product-detail-panel h1 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--forest);
}

/* ---------- Sticky checkout ---------- */
.sticky-checkout {
  position: sticky;
  bottom: calc(74px + env(safe-area-inset-bottom));
  background: rgba(247, 249, 247, .94);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: .85rem 1rem;
  z-index: 20;
  box-shadow: var(--shadow-soft);
}
@media (min-width: 992px) { .sticky-checkout { bottom: 1rem; } }

/* ---------- Cart / list ---------- */
.cart-line {
  background: rgba(255,255,255,.65);
  border-radius: var(--radius-sm);
  padding: 1rem;
  border: 1px solid var(--line);
  margin-bottom: .75rem;
}
.qty-stepper {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  user-select: none;
}
.qty-stepper .qty-btn {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--forest);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
}
.qty-stepper .qty-btn:active { background: rgba(12, 36, 24, .06); }
.qty-stepper .cart-qty {
  min-width: 2.2rem;
  text-align: center;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 0 .15rem;
}
.qty-stepper .btn {
  width: 34px; height: 34px;
  border-radius: var(--radius-sm);
  padding: 0;
  display: inline-flex; align-items: center; justify-content: center;
}
.cart-page .cart-line { padding: 1.1rem 1rem; }

/* ---------- Status badges ---------- */
.status-badge { font-size: .72rem; padding: .28rem .6rem; border-radius: 4px; font-weight: 600; }
.status-new { background: rgba(201, 162, 39, .2); color: #6b5410; }
.status-preparing { background: #d5e4f7; color: #1a4a7a; }
.status-ready { background: #d4eadc; color: #1a4d32; }
.status-completed { background: #e2e5e3; color: #3d4741; }
.status-cancelled { background: #f5d6d8; color: #7a1f28; }

/* ---------- Offcanvas ---------- */
.side-menu {
  border-top-right-radius: 16px;
  border-bottom-right-radius: 16px;
  background: var(--paper);
}
.side-menu .list-group-item {
  border: 0;
  padding: .7rem .35rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
  background: transparent;
}
.side-menu .list-group-item:hover { background: rgba(47, 90, 68, .1); }
.social-links a {
  color: var(--moss);
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(47, 90, 68, .1);
}

/* ---------- Bottom nav ---------- */
.bottom-nav {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1030;
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  background: rgba(12, 36, 24, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: .35rem .25rem calc(.35rem + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(201, 162, 39, .14);
}
.bottom-nav a {
  flex: 1;
  text-align: center;
  color: rgba(255,255,255,.55);
  text-decoration: none;
  font-size: .62rem;
  font-weight: 500;
  padding: .35rem 0 .2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .18rem;
  transition: color .2s ease;
}
.bottom-nav a i { font-size: 1.1rem; }
.bottom-nav a.active, .bottom-nav a:hover { color: var(--sun); }
.bottom-nav .fab { position: relative; margin-top: -16px; }
.bottom-nav .fab .fab-ic {
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--sun);
  color: var(--forest);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 8px 20px rgba(201, 162, 39, .35);
  border: 3px solid var(--forest);
}
.bottom-nav .fab span { color: var(--sun); }
@media (min-width: 992px) { .bottom-nav { display: none; } }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
}
.site-footer a { color: var(--moss); text-decoration: none; }
.site-footer a:hover { color: var(--forest); }
.site-footer .powered-by {
  color: var(--ink-soft);
  font-size: .78rem;
  letter-spacing: .02em;
}
.site-footer .powered-by:hover {
  color: var(--forest);
  text-decoration: underline;
}

/* ---------- Animations ---------- */
@keyframes fadeRise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes heroBreathe {
  from { filter: saturate(1) brightness(1); }
  to { filter: saturate(1.08) brightness(1.04); }
}
@keyframes leafDrift {
  from { background-position: 0 0; }
  to { background-position: 140px 80px; }
}
@keyframes lightSweep {
  0%, 100% { transform: translateX(-50%); opacity: 0; }
  40% { opacity: .7; }
  70% { transform: translateX(40%); opacity: 0; }
}

.pwa-install-bar {
  margin-top: 1.5rem;
  margin-bottom: .5rem;
  background: rgba(255,255,255,.7);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: .85rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  animation: fadeRise .45s ease both;
}
.pwa-install-bar.d-none { display: none !important; }
.pwa-install-copy { min-width: 0; }
.pwa-ios-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .85rem;
}
.pwa-ios-steps li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-weight: 500;
  color: var(--ink);
}
.pwa-step-num {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--forest);
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.joined-modal-content {
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(12, 36, 24, 0.25);
}
.joined-modal-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: rgba(201, 162, 39, 0.18);
  color: var(--sun-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.joined-modal-icon.is-error {
  background: rgba(220, 53, 69, 0.12);
  color: #c0392b;
}
.joined-modal-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  margin: 0 0 .5rem;
  color: var(--ink);
}
.joined-modal-table {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--forest);
  line-height: 1;
  margin-bottom: .65rem;
}

.cookie-banner {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(78px + env(safe-area-inset-bottom));
  z-index: 1040;
}
@media (min-width: 992px) {
  .cookie-banner { bottom: 16px; left: auto; right: 16px; max-width: 420px; }
}
.cookie-banner-inner {
  background: var(--forest);
  color: #fff;
  border-radius: var(--radius);
  padding: .9rem 1rem;
  display: flex;
  gap: .75rem;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-soft);
}
.cookie-banner-inner a { color: var(--sun); }
.cookie-banner.d-none { display: none !important; }

.legal-doc h2 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-top: 1.5rem;
  font-weight: 600;
  color: var(--forest);
}
.legal-doc p, .legal-doc li { color: var(--ink-soft); line-height: 1.65; }

/* ---------- Admin ---------- */
.admin-sidebar { min-height: 100vh; background: var(--forest); color: #fff; }
.admin-sidebar a {
  color: rgba(255,255,255,.8);
  text-decoration: none;
  display: block;
  padding: .6rem 1rem;
  border-radius: 6px;
}
.admin-sidebar a:hover, .admin-sidebar a.active {
  background: rgba(201, 162, 39, .2);
  color: #fff;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
