/* ============================================================
   Finca PataPalo — Design System v3 (Organic & Tactile)
   Conversion-focused · Hand-Drawn aesthetic inspired by logo
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700;800;900&family=Nunito+Sans:wght@300;400;600&display=swap');

/* ── CSS Custom Properties ──────────────────────────────── */
:root {
  /* Logo-inspired palette */
  --c-parchment:  #F5F2EA;   /* warm background */
  --c-olive:      #3D3D1A;   /* logo ink — primary text */
  --c-forest:     #4B6130;   /* logo stake green — buttons */
  --c-leaf:       #5E8B3A;   /* logo field lines — hover */
  --c-mint:       #A8C87A;   /* light accent */
  --c-amber:      #C97D10;   /* price tags, CTA warmth */
  --c-amber-lt:   #FDF3E3;   /* amber tint background */
  --c-white:      #FFFFFF;
  --c-card:       #FFFEF9;   /* slightly warm white for cards */
  --c-border:     #E2DBCB;
  --c-muted:      #7A7550;
  --c-dark:       #1E1E0A;
  --c-wa:         #25D366;   /* WhatsApp green */

  /* Typography */
  --font-head: 'Nunito', sans-serif;
  --font-body: 'Nunito Sans', sans-serif;

  /* Spacing */
  --sp-xs: 0.5rem;
  --sp-sm: 1rem;
  --sp-md: 2rem;
  --sp-lg: 4rem;

  /* MINIMALIST BORDERS */
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-pill: 40px;

  /* ELEVATION (Soft, minimal shadows) */
  --sh-sm: 0 2px 8px rgba(61, 61, 26, 0.04);
  --sh-md: 0 8px 24px rgba(61, 61, 26, 0.08);
  --sh-lg: 0 16px 40px rgba(61, 61, 26, 0.12);
  
  --brd-ink: 1.5px solid var(--c-border);

  --ease: cubic-bezier(0.22,1,0.36,1);
  --dur: 0.2s;
}

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  position: relative;
}
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--c-parchment);
  color: var(--c-olive);
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; outline: none; font-family: inherit; }
ul { list-style: none; }

/* ── Typography ─────────────────────────────────────────── */
h1,h2,h3,h4 { font-family: var(--font-head); line-height: 1.1; color: var(--c-olive); }

/* ── Utility ─────────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 var(--sp-sm); }
@media (min-width: 768px) { .container { padding: 0 var(--sp-md); } }

.label-tag {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--font-head);
  font-size: 0.7rem; font-weight: 800;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  background: var(--c-forest);
  color: var(--c-white);
  border: 1.5px solid var(--c-olive);
}
.label-tag.amber { background: var(--c-amber); }
.label-tag.outline {
  background: var(--c-card);
  color: var(--c-forest);
}

/* ── Tactile Buttons ─────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--font-head);
  font-weight: 800; font-size: 1rem;
  padding: 0.85rem 2rem;
  border-radius: var(--r-pill);
  border: 1.5px solid transparent; /* minimal by default */
  box-shadow: none;
  transition: transform var(--dur), box-shadow var(--dur), background var(--dur);
}
.btn:hover { 
  transform: translateY(-2px); 
  box-shadow: var(--sh-md); 
}
.btn:active { 
  transform: translateY(0); 
  box-shadow: var(--sh-sm); 
}

.btn-primary {
  background: var(--c-forest);
  color: var(--c-white);
}
.btn-primary:hover { background: var(--c-leaf); }

.btn-ghost {
  background: var(--c-parchment);
  color: var(--c-olive);
  border-color: var(--c-border);
}
.btn-ghost:hover { background: var(--c-card); border-color: rgba(61,61,26,0.2); }

.btn-wa {
  background: var(--c-wa);
  color: var(--c-dark);
}
.btn-wa:hover { background: #1ebe5d; }

/* ── Navigation ─────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0.85rem var(--sp-sm);
  display: flex; align-items: center; justify-content: space-between;
  transition: all var(--dur) var(--ease);
  background: var(--c-parchment);
  border-bottom: var(--brd-ink);
  box-shadow: 0 4px 12px rgba(61,61,26,0.06);
}
.nav.scrolled {
  padding: 0.6rem var(--sp-sm);
  background: var(--c-card);
}

/* The nav is now standard light styling all the time, no inverted logos */
/* We don't need the inverted state because the nav has a parchment background now. */

.nav.scrolled .nav-logo-img { filter: none; }
.nav.scrolled .lang-toggle { border-color: var(--c-olive); background: rgba(0,0,0,0.05); }
.nav.scrolled .lang-btn { color: var(--c-muted); }
.nav.scrolled .lang-btn.active { background: var(--c-olive); color: var(--c-white); }
.nav.scrolled .cart-btn { 
  border: var(--brd-ink); color: var(--c-olive); background: var(--c-white);
  box-shadow: 2px 2px 0 var(--c-olive);
}
.nav.scrolled .cart-btn:active { transform: translate(2px,2px); box-shadow: 0 0 0 transparent; }

.nav-logo-link { display: flex; align-items: center; }
.nav-logo-img {
  height: 42px; width: auto;
  transition: opacity var(--dur), filter var(--dur);
}
.nav-logo-img:hover { opacity: 0.82; }
.nav-right { display: flex; align-items: center; gap: 0.65rem; }

/* Language Toggle */
.lang-toggle {
  display: flex; align-items: center;
  border-radius: var(--r-pill);
  padding: 3px;
  border: 1.5px solid rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.1);
  transition: all var(--dur);
}
.lang-btn {
  background: transparent; color: white;
  padding: 0.2rem 0.65rem; border-radius: var(--r-pill);
  font-family: var(--font-head);
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.05em;
  transition: all 0.2s;
}
.lang-btn.active { background: var(--c-white); color: var(--c-olive); }

/* Cart Button */
.cart-btn {
  position: relative;
  background: rgba(255,255,255,0.14);
  color: var(--c-white);
  width: 42px; height: 42px;
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem;
  border: 1.5px solid rgba(255,255,255,0.4);
  transition: all 0.1s;
}
.cart-btn:hover { background: rgba(255,255,255,0.24); }
.cart-badge {
  position: absolute; top: -8px; right: -8px;
  background: var(--c-amber);
  color: white; font-size: 0.65rem; font-weight: 900;
  min-width: 20px; height: 20px;
  border: 2px solid var(--c-olive);
  border-radius: var(--r-pill);
  display: none; align-items: center; justify-content: center;
  font-family: var(--font-head);
}
.cart-badge.visible { display: flex; }

/* ── Minimalist Hero ─────────────────────────────────────────── */
.hero {
  min-height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--c-parchment);
  padding: 140px var(--sp-sm) var(--sp-lg);
  border-bottom: 2px solid var(--c-border);
}

.hero-main-logo {
  max-width: 250px;
  height: auto;
  margin: 0 auto 3rem;
  mix-blend-mode: multiply;
}
@media (min-width: 768px) {
  .hero-main-logo { max-width: 320px; }
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero-eyebrow {
  display: flex; align-items: center; justify-content: center; gap: 0.6rem;
  font-family: var(--font-head);
  font-size: 0.72rem; font-weight: 900;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: 1.5rem;
}
.hero-eyebrow::before, .hero-eyebrow::after {
  content: '';
  display: block; width: 20px; height: 1.5px;
  background: var(--c-border);
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  color: var(--c-olive);
  line-height: 1.05;
  margin-bottom: 1.2rem;
  letter-spacing: -0.03em;
}
.hero-title em {
  font-style: normal;
  color: var(--c-forest);
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--c-muted);
  max-width: 500px;
  margin: 0 auto 3rem;
  line-height: 1.6;
}

.hero-cta { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 3.5rem; }

.hero-trust {
  display: flex; align-items: center; justify-content: center; gap: 1.5rem; flex-wrap: wrap;
  padding-top: 1.5rem;
}
.trust-badge {
  display: flex; align-items: center; gap: 0.4rem;
  font-family: var(--font-head);
  font-size: 0.75rem; font-weight: 800;
  color: var(--c-muted);
}
.trust-badge svg, .trust-badge span:first-child { font-size: 1rem; opacity: 0.7; }

/* ── Featured Strip ──────────────────────────────────────── */
.featured {
  padding: var(--sp-lg) 0 var(--sp-md);
  background: var(--c-parchment);
  border-bottom: 1.5px solid var(--c-border);
}
.featured-header {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 2rem;
  padding: 0 var(--sp-sm);
}
@media (min-width: 768px) { .featured-header { padding: 0 var(--sp-md); } }
.featured-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 900;
  color: var(--c-olive);
}
.featured-title span { color: var(--c-forest); border-bottom: 4px solid var(--c-amber); padding-bottom: 1px; }
.featured-subtitle {
  font-size: 0.82rem;
  color: var(--c-muted);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Horizontal scroll row */
.featured-scroll {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  padding: 0.5rem var(--sp-sm) 2rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.featured-scroll::-webkit-scrollbar { display: none; }
@media (min-width: 768px) {
  .featured-scroll { padding-left: var(--sp-md); padding-right: var(--sp-md); }
}

.featured-card {
  flex: 0 0 240px;
  background: var(--c-white);
  border-radius: var(--r-md);
  border: 2px solid var(--c-forest);
  overflow: hidden;
  scroll-snap-align: start;
  box-shadow: 0 6px 20px rgba(75, 97, 48, 0.15);
  transition: transform var(--dur), box-shadow var(--dur);
  display: flex; flex-direction: column;
}
.featured-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(75, 97, 48, 0.25);
}
@media (min-width: 600px) { .featured-card { flex: 0 0 260px; } }

.featured-card-img-wrap {
  height: 190px;
  overflow: hidden;
  position: relative;
  background: var(--c-parchment);
  border-bottom: var(--brd-ink);
}
.featured-card-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease);
}
.featured-card:hover .featured-card-img-wrap img { transform: scale(1.07); }
.featured-badge {
  position: absolute; top: 0.7rem; left: 0.7rem;
  font-family: var(--font-head);
  font-size: 0.65rem; font-weight: 900;
  letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--c-amber);
  color: var(--c-dark);
  padding: 4px 12px;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--c-dark);
}

.featured-card-body {
  padding: 1.25rem;
  flex: 1; display: flex; flex-direction: column; gap: 0.4rem;
}
.featured-card-name {
  font-family: var(--font-head);
  font-size: 1.1rem; font-weight: 900;
  color: var(--c-olive);
  line-height: 1.2;
}
.featured-card-desc {
  font-size: 0.8rem;
  color: var(--c-muted);
  line-height: 1.5;
  flex: 1;
  font-weight: 600;
}
.featured-card-footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 1rem;
}
.featured-price {
  font-family: var(--font-head);
  font-size: 1.15rem; font-weight: 900;
  color: var(--c-amber);
}

/* Minimalist Add Button */
.tactile-add-btn {
  background: var(--c-forest);
  color: var(--c-white);
  border: 1.5px solid transparent;
  border-radius: var(--r-sm);
  padding: 0.35rem 1rem;
  font-family: var(--font-head);
  font-size: 0.85rem; font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: transform var(--dur), box-shadow var(--dur), background var(--dur);
}
.tactile-add-btn:hover { background: var(--c-leaf); transform: translateY(-1px); box-shadow: var(--sh-sm); }
.tactile-add-btn:active { transform: translateY(0); box-shadow: none; }
.tactile-add-btn.in-cart { background: var(--c-amber); color: var(--c-dark); }

/* ── Shop Section ────────────────────────────────────────── */
.shop { padding: var(--sp-lg) 0; background: var(--c-parchment); }
.shop-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.shop-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 900;
  color: var(--c-olive);
  margin-bottom: 0.4rem;
}
.shop-sub { font-size: 0.95rem; font-weight: 600; color: var(--c-muted); }

/* Sticky Category Tabs */
.category-tabs-wrap {
  position: sticky; top: 64px; z-index: 100;
  background: rgba(245,242,234,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c-border);
  margin-bottom: 2.5rem;
}
.category-tabs {
  display: flex; gap: 0.6rem;
  overflow-x: auto;
  padding: 1rem var(--sp-sm);
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.category-tabs::-webkit-scrollbar { display: none; }
@media (min-width: 768px) {
  .category-tabs {
    padding: 1rem var(--sp-md);
    flex-wrap: wrap; justify-content: center;
  }
}
.tab-btn {
  flex: 0 0 auto; scroll-snap-align: start;
  padding: 0.5rem 1.25rem;
  border-radius: var(--r-pill);
  background: var(--c-white);
  border: 1.5px solid var(--c-border);
  color: var(--c-muted);
  font-family: var(--font-head);
  font-size: 0.85rem; font-weight: 800;
  white-space: nowrap;
  transition: all var(--dur);
}
.tab-btn:hover { border-color: var(--c-border); color: var(--c-olive); background: var(--c-parchment); }
.tab-btn.active {
  background: var(--c-olive);
  border-color: var(--c-olive);
  color: var(--c-white);
}

/* Product Grid */
.products-grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  padding: 0 var(--sp-sm);
}
@media (min-width: 768px) { .products-grid { padding: 0 var(--sp-md); gap: 2rem; } }

/* Product Card */
.product-card {
  background: var(--c-white);
  border-radius: var(--r-md);
  border: var(--brd-ink);
  overflow: hidden;
  box-shadow: var(--sh-sm);
  transition: transform var(--dur), box-shadow var(--dur);
  display: flex; flex-direction: column;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-md);
}

.product-img-wrap {
  height: 180px;
  overflow: hidden;
  position: relative;
  background: var(--c-parchment);
  border-bottom: var(--brd-ink);
}
.product-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s var(--ease);
}
.product-card:hover .product-img-wrap img { transform: scale(1.06); }
.product-emoji-fallback {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem;
  background: linear-gradient(135deg, var(--c-amber-lt), #e8e4d8);
}
.product-cat-badge {
  position: absolute; top: 0.6rem; left: 0.6rem;
  font-family: var(--font-head);
  font-size: 0.65rem; font-weight: 800;
  letter-spacing: 0.08em; text-transform: uppercase;
  background: rgba(30,30,10,0.8);
  backdrop-filter: blur(4px);
  color: var(--c-white);
  padding: 4px 10px;
  border-radius: var(--r-pill);
}
.product-org-badge {
  position: absolute; top: 0.6rem; right: 0.6rem;
  font-size: 0.65rem; font-weight: 700;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(4px);
  color: var(--c-forest);
  padding: 4px 10px;
  border-radius: var(--r-pill);
  box-shadow: var(--sh-sm);
}

.product-body {
  padding: 1.25rem; flex: 1;
  display: flex; flex-direction: column; gap: 0.4rem;
}
.product-name {
  font-family: var(--font-head);
  font-size: 1.05rem; font-weight: 900;
  color: var(--c-olive); line-height: 1.25;
}
.product-desc {
  font-size: 0.82rem; color: var(--c-muted);
  flex: 1; line-height: 1.55; font-weight: 600;
}

/* Size Selector - Minimal Pills */
.size-selector {
  display: flex; gap: 0.5rem; flex-wrap: wrap;
  margin-top: 0.75rem;
}
.size-pill {
  padding: 0.35rem 0.9rem;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--c-border);
  background: var(--c-white);
  font-family: var(--font-head);
  font-size: 0.75rem; font-weight: 700;
  color: var(--c-muted);
  cursor: pointer;
  transition: all var(--dur);
}
.size-pill:hover { border-color: var(--c-olive); color: var(--c-olive); }
.size-pill.selected {
  background: var(--c-olive);
  border-color: var(--c-olive);
  color: var(--c-white);
}

.product-footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 1rem;
}
.product-price {
  font-family: var(--font-head);
  font-size: 1.15rem; font-weight: 900;
  color: var(--c-amber);
}

/* ── Cart Drawer ─────────────────────────────────────────── */
.cart-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(30,30,10,0.65);
  backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none;
  transition: opacity var(--dur);
}
.cart-overlay.open { opacity: 1; pointer-events: all; }
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 2001;
  width: min(420px, 100vw);
  background: var(--c-white);
  border-left: 1px solid var(--c-border);
  box-shadow: -10px 0 40px rgba(0,0,0,0.1);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.19, 1, 0.22, 1);
}
.cart-overlay.open .cart-drawer { transform: translateX(0); }
.cart-header {
  padding: 1.5rem;
  border-bottom: 2px dashed var(--c-olive);
  display: flex; align-items: center; justify-content: space-between;
  background: var(--c-parchment);
}
.cart-header h3 {
  font-family: var(--font-head);
  font-size: 1.25rem; font-weight: 900;
  color: var(--c-olive);
}
.cart-close-btn {
  background: var(--c-white); border: 1.5px solid var(--c-border);
  border-radius: var(--r-sm);
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 900; color: var(--c-muted);
  transition: all var(--dur);
}
.cart-close-btn:hover { border-color: var(--c-olive); color: var(--c-olive); }
.cart-items { flex: 1; overflow-y: auto; padding: 1rem 1.5rem; }
.cart-empty {
  text-align: center; padding: 4rem 1rem;
  color: var(--c-muted); font-weight: 700;
}
.cart-empty .empty-icon { font-size: 4rem; margin-bottom: 1rem; }
.cart-item {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--c-border);
}
.cart-item-thumb {
  width: 60px; height: 60px;
  border-radius: var(--r-sm);
  border: 1px solid var(--c-border);
  overflow: hidden; flex-shrink: 0;
  background: var(--c-card);
}
.cart-item-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-thumb .thumb-emoji {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
}
.cart-item-info { flex: 1; }
.cart-item-name { font-family: var(--font-head); font-weight: 800; font-size: 0.95rem; color: var(--c-olive); }
.cart-item-variant { font-size: 0.75rem; color: var(--c-muted); font-weight: 700; }
.cart-item-price { font-family: var(--font-head); font-size: 0.9rem; color: var(--c-amber); font-weight: 800; }
.qty-control { display: flex; align-items: center; gap: 0.5rem; }
.qty-btn {
  background: var(--c-white);
  border: 1.5px solid var(--c-olive);
  width: 28px; height: 28px; border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 0.9rem; font-weight: 900;
  box-shadow: 1.5px 1.5px 0 var(--c-olive);
  transition: all 0.1s;
}
.qty-btn:active { transform: translate(1.5px, 1.5px); box-shadow: 0 0 0 transparent; }
.qty-num { font-family: var(--font-head); font-weight: 800; font-size: 1rem; min-width: 20px; text-align: center; }
.cart-footer { padding: 1.5rem; border-top: 3px solid var(--c-olive); background: var(--c-parchment); }
.cart-total {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 1.5rem;
}
.cart-total-label { font-weight: 800; color: var(--c-olive); font-size: 1rem; }
.cart-total-value {
  font-family: var(--font-head);
  font-size: 1.75rem; font-weight: 900;
  color: var(--c-amber);
}
.cart-note { font-size: 0.8rem; color: var(--c-muted); font-weight: 600; margin-bottom: 1.5rem; text-align: center; }

/* ── WhatsApp Float ─────────────────────────────────────── */
.wa-float {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 900;
  display: flex; align-items: center; gap: 0.85rem;
  background: var(--c-wa);
  color: var(--c-dark);
  border: 2.5px solid var(--c-dark);
  border-radius: var(--r-pill);
  padding: 0.85rem 1.4rem 0.85rem 1.1rem;
  box-shadow: 4px 4px 0 var(--c-dark);
  font-family: var(--font-head);
  font-weight: 800; font-size: 0.95rem;
  transition: transform 0.1s, box-shadow 0.1s;
  cursor: pointer;
  text-decoration: none;
}
.wa-float:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--c-dark);
}
.wa-float:active {
  transform: translate(3px, 3px);
  box-shadow: 0 0 0 transparent;
}
.wa-float svg { width: 24px; height: 24px; fill: currentColor; flex-shrink: 0; }
.wa-float-text { display: none; }
@media (min-width: 600px) { .wa-float-text { display: block; } }

/* ── Footer ─────────────────────────────────────────────── */
.footer {
  background: var(--c-parchment);
  color: var(--c-muted);
  padding: var(--sp-lg) var(--sp-sm) var(--sp-md);
  border-top: var(--brd-ink);
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center;
  gap: 2rem; text-align: center;
}
@media (min-width: 600px) {
  .footer-inner {
    flex-direction: row; justify-content: space-between;
    text-align: left;
  }
}
.footer-logo {
  height: 70px; width: auto;
  opacity: 0.9;
}
.footer-info { font-size: 0.9rem; line-height: 1.8; font-weight: 600; color: var(--c-olive); }
.footer-info a { color: var(--c-forest); }
.footer-info a:hover { color: var(--c-leaf); text-decoration: underline wavy var(--c-forest); }
.footer-copy {
  font-size: 0.8rem; font-weight: 600;
  border-top: 2px dashed rgba(61,61,26,0.15);
  padding-top: 1.5rem;
  margin-top: 1.5rem;
  max-width: 1200px; margin-left: auto; margin-right: auto;
  text-align: center;
}

/* ── Animations ─────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Scrollbar ─────────────────────────────────────────── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--c-parchment); }
::-webkit-scrollbar-thumb { background: var(--c-forest); border-radius: 4px; border: 1px solid var(--c-parchment); }

/* ── Admin ─────────────────────────────────────────────── */
.admin-page { min-height: 100vh; background: var(--c-parchment); }
.admin-nav {
  background: var(--c-dark);
  padding: 0.9rem var(--sp-sm);
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 3px solid var(--c-olive);
}
.admin-nav img { height: 38px; }
.admin-logout {
  background: var(--c-white); color: var(--c-dark);
  padding: 0.4rem 1rem; border-radius: var(--r-pill); font-size: 0.82rem;
  font-family: var(--font-head); font-weight: 800; border: 2px solid var(--c-dark);
  box-shadow: 2px 2px 0 var(--c-olive);
}

/* ── Admin Login Screen ────────────────────────────────── */
.admin-login {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--c-parchment), #e8e4d8);
  padding: var(--sp-md);
}
.login-card {
  background: var(--c-white);
  padding: 3rem 2.5rem;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  border: var(--brd-ink);
  width: 100%; max-width: 440px;
  text-align: center;
}
.login-card .logo {
  font-size: 3.5rem; margin-bottom: 1rem;
}
.login-card h2 {
  font-size: 1.6rem; margin-bottom: 0.5rem; font-family: var(--font-head); font-weight: 900;
}
.login-card p {
  font-size: 0.95rem; color: var(--c-muted); margin-bottom: 2.5rem;
}
.form-group {
  text-align: left; margin-bottom: 1.25rem;
}
.form-group label {
  display: block; font-family: var(--font-head); font-weight: 800;
  font-size: 0.85rem; margin-bottom: 0.5rem; color: var(--c-olive);
}
.form-group input {
  width: 100%; padding: 0.9rem 1rem; border-radius: var(--r-sm);
  border: 1.5px solid var(--c-border); font-family: var(--font-body);
  font-size: 1rem; color: var(--c-dark);
  transition: all var(--dur);
}
.form-group input:focus {
  border-color: var(--c-forest); outline: none; box-shadow: 0 0 0 3px rgba(75, 97, 48, 0.15);
}

/* ── Admin Content ─────────────────────────────────────── */
.admin-content {
  max-width: 1200px; margin: 0 auto; padding: 2.5rem var(--sp-sm) 5rem;
}
.admin-header h1 { margin-bottom: 0.5rem; font-size: 2.2rem; }
.admin-header p { color: var(--c-muted); margin-bottom: 2rem; font-size: 1.05rem; }

.admin-note {
  background: rgba(201, 125, 16, 0.1);
  border-left: 4px solid var(--c-amber);
  padding: 1.25rem; border-radius: 6px;
  font-size: 0.95rem; margin-bottom: 2.5rem;
  color: var(--c-olive); font-weight: 600;
}

.admin-table-wrap {
  background: var(--c-white);
  border-radius: var(--r-md);
  border: var(--brd-ink);
  box-shadow: var(--sh-sm);
  overflow-x: auto;
  position: relative;
}
.admin-table {
  width: 100%; border-collapse: collapse; min-width: 800px;
}
.admin-table th, .admin-table td {
  padding: 1.25rem 1rem; text-align: left; border-bottom: 1px solid var(--c-border);
}
.admin-table th {
  background: #fcfbf8; font-family: var(--font-head);
  font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--c-muted); font-weight: 900;
}
.admin-table tr:hover {
  background: rgba(0,0,0,0.015);
}

.admin-save-bar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.5rem 2rem; background: var(--c-parchment); border-top: 2px dashed var(--c-olive);
  position: sticky; bottom: 0; z-index: 10;
  box-shadow: 0 -4px 12px rgba(0,0,0,0.04);
}
.save-feedback {
  opacity: 0; transition: opacity 0.3s;
  font-weight: 800; color: var(--c-forest);
}
.save-feedback.show { opacity: 1; }
.btn-outline {
  cursor: pointer;
  background: transparent; border: 2px solid var(--c-border);
  color: var(--c-muted); padding: 0.85rem 1.5rem; font-family: var(--font-head);
  font-weight: 800; border-radius: var(--r-pill); transition: all var(--dur);
}
.btn-outline:hover {
  background: var(--c-white); border-color: var(--c-olive); color: var(--c-olive);
  box-shadow: 2px 2px 0 var(--c-olive);
}
.btn-outline:active {
  transform: translate(2px, 2px); box-shadow: none;
}
