/* A Comer Verde Bendito — selva costeña cálida, artesanal y luminosa. */
:root {
  --primary: #176b4d;
  --accent: #f26a3d;
  --bg: #f7f0df;
  --bg-2: #efe4ce;
  --surface: #fffaf0;
  --surface-2: #f2e7d3;
  --border: rgba(49, 63, 39, .14);
  --border-2: rgba(49, 63, 39, .24);
  --text: #24382b;
  --text-soft: #536454;
  --text-dim: #788276;
  --radius: 22px;
}

body {
  font-family: "DM Sans", sans-serif;
  background:
    radial-gradient(circle at 8% 8%, rgba(242, 106, 61, .12), transparent 24rem),
    radial-gradient(circle at 92% 20%, rgba(23, 107, 77, .13), transparent 28rem),
    #f7f0df;
  color: var(--text);
}

.hero {
  min-height: 430px;
  padding-bottom: 72px;
  overflow: hidden;
  background:
    linear-gradient(105deg, rgba(18, 65, 48, .96) 0%, rgba(18, 65, 48, .86) 45%, rgba(18, 65, 48, .26) 100%),
    url("media/hero.webp") center 52% / cover;
  border-radius: 0 0 42px 42px;
  box-shadow: 0 22px 55px rgba(53, 55, 36, .18);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .22;
  background-image: radial-gradient(rgba(255,255,255,.42) .7px, transparent .7px);
  background-size: 14px 14px;
  pointer-events: none;
}

.brand-logo { width: 132px; height: 104px; object-fit: contain; filter: drop-shadow(0 8px 18px rgba(0,0,0,.2)); }
.brand-sub { color: #f8e7c6 !important; text-transform: uppercase; letter-spacing: .14em; font-size: 11px !important; font-weight: 700; }
.hero h1, .brand-name, .cat-header, .card-name, .card-price, .modal-detail h2 { font-family: "Fraunces", serif; }
.hero h1 { max-width: 720px; color: #fffaf0; font-size: clamp(3rem, 8vw, 6rem); line-height: .9; letter-spacing: -.045em; text-shadow: 0 5px 25px rgba(0,0,0,.22); }
.hero h1 .hl { color: #ff9b67; background: none; -webkit-text-fill-color: currentColor; }

.sticky-bar { background: rgba(247, 240, 223, .88); border-color: rgba(36,56,43,.12); backdrop-filter: blur(18px); }
.search-box {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.search-box input {
  background: #fffaf0;
  border: 1px solid rgba(36,56,43,.13);
  box-shadow: 0 9px 28px rgba(66,66,42,.08);
}
.cat-chip {
  width: 70px;
  padding: 0;
  background: transparent;
  color: #435846;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}
.cat-chip .ic {
  background: #fffaf0;
  border: 1px solid rgba(36,56,43,.12);
  border-radius: 16px;
  box-shadow: 0 6px 15px rgba(66,66,42,.06);
}
.cat-chip.active {
  color: #435846;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.cat-chip.active .ic {
  border-radius: 16px;
  background: linear-gradient(135deg, #176b4d, #f26a3d);
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(23,107,77,.25);
}
.cat-chip.active .lb { color: #176b4d; }

.cat-header { color: #264532; font-weight: 800; letter-spacing: -.025em; }
.card { background: #fffaf0; border: 1px solid rgba(36,56,43,.10); box-shadow: 0 13px 35px rgba(72,67,43,.10); overflow: hidden; }
.card:hover { transform: translateY(-5px); box-shadow: 0 20px 48px rgba(57,68,42,.16); }
.card-img { background: #e8dcc4; }
.card-img img { transition: transform .55s ease; }
.card:hover .card-img img { transform: scale(1.035); }
.card-name { color: #223b2c; font-weight: 750; }
.card-desc { color: #667061; line-height: 1.55; }
.card-price { color: #176b4d; font-weight: 800; }
.card-badge { color: #7b2e17; background: #ffd9c8; }
.btn-add { background: #176b4d; color: white; border: 0; box-shadow: 0 9px 20px rgba(23,107,77,.22); }
.btn-add:hover { background: #0f553c; }

.modal, .cart-drawer { background: #fffaf0; color: #24382b; box-shadow: 0 -18px 70px rgba(39,46,31,.25); }
.variant-option { background: #f3e8d4; color: #425345; border: 1px solid rgba(36,56,43,.12); }
.variant-option.selected { background: #176b4d; color: #fff; border-color: #176b4d; }
.btn-next, .btn-whatsapp { background: linear-gradient(135deg, #176b4d, #1f8a63); }
.cart-peek { background: #24382b; color: #fffaf0; box-shadow: 0 10px 28px rgba(36,56,43,.28); }
.wa-float { background: #f26a3d; box-shadow: 0 10px 25px rgba(194,72,35,.35); }
.bottom-nav { background: rgba(255,250,240,.95); border-color: rgba(36,56,43,.12); backdrop-filter: blur(18px); }
.nav-item { color: #748074; }
.nav-item.active { color: #176b4d; }

footer { color: #677267; }
footer a { color: #176b4d; font-weight: 700; }

@media (max-width: 640px) {
  .hero { min-height: 360px; padding-bottom: 54px; border-radius: 0 0 30px 30px; background-position: 58% center; }
  .hero h1 { font-size: clamp(2.8rem, 15vw, 4.4rem); max-width: 92%; }
  .brand-logo { width: 106px; height: 84px; }
  .card { border-radius: 19px; }
}
