/* ===================== KamFood — boutique ===================== */
:root{
  --bg:#fbfaf6; --surface:#ffffff; --ink:#14251c; --muted:#68746b;
  --line:#e5e9e2; --green:#117a52; --green2:#0b5d3e; --amber:#e07b39;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:112px}
body{margin:0;background:var(--bg);color:var(--ink);font-family:"Segoe UI",Inter,Roboto,Arial,sans-serif;line-height:1.6;-webkit-font-smoothing:antialiased}
.sprite{position:absolute;width:0;height:0;overflow:hidden}
.ico{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}
.wrap{width:min(1200px,90vw);margin-inline:auto}
a{color:inherit;text-decoration:none}
button,input{font:inherit}
img{display:block;width:100%;object-fit:cover}
h1,h2,h3,h4{line-height:1.15;letter-spacing:-.035em;margin:0 0 .5em}
h1{font-size:clamp(2.5rem,4.8vw,4.4rem);font-weight:850}
h2{font-size:clamp(1.85rem,3.2vw,2.8rem);font-weight:820}
p{margin:0}
.green{color:var(--green)}
.amber{color:#ffc178}
.lead{color:var(--muted);font-size:1.05rem;max-width:56ch}

.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;padding:.85rem 1.35rem;border-radius:12px;border:1px solid transparent;font-weight:750;font-size:.93rem;cursor:pointer;transition:.22s;white-space:nowrap}
.btn .ico{width:17px;height:17px}
.btn:hover{transform:translateY(-2px)}
.btn-primary{background:linear-gradient(135deg,var(--green),var(--green2));color:#fff;box-shadow:0 12px 26px rgba(17,122,82,.2)}
.btn-outline{border-color:#cdd8cf;color:var(--ink);background:#fff}
.btn-outline:hover{border-color:var(--green)}
.btn-wa{background:#25d366;color:#062915;font-weight:800}
.btn-wa:hover{background:#2fe073}
.btn-full{width:100%}

/* Topbar */
.topbar{background:linear-gradient(90deg,#0b5d3e,#117a52);color:#e8f5ee;font-size:.78rem}
.topbar-inner{display:flex;justify-content:space-between;gap:1rem;padding:.5rem 0}
.topbar-inner span{display:inline-flex;align-items:center;gap:.45rem}
.topbar .ico{width:15px;height:15px;color:#ffc178}

/* Header */
.header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.94);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-bottom:1px solid var(--line)}
.header-inner{height:74px;display:flex;align-items:center;gap:1.4rem}
.logo{display:flex;align-items:center;gap:.65rem;flex:none}
.logo-mark{width:38px;height:38px;border-radius:11px;background:linear-gradient(140deg,#1b9a68,var(--green2));display:grid;place-items:center;color:#fff}
.logo-mark .ico{width:21px;height:21px}
.logo-text{display:flex;flex-direction:column;font-size:1.3rem;font-weight:450;line-height:1;letter-spacing:-.02em}
.logo-text small{font-size:.52rem;letter-spacing:.28em;color:var(--green);font-weight:800;margin-bottom:.3em}
.logo-text b{font-weight:850}
.nav{display:flex;gap:1.1rem;margin:auto}
.nav a{font-size:.9rem;color:var(--muted);font-weight:650;white-space:nowrap;transition:color .2s}
.nav a:hover{color:var(--green)}
.header-actions{display:flex;align-items:center;gap:.55rem}
.search{display:flex;align-items:center;gap:.5rem;padding:.55rem .8rem;border-radius:11px;background:#f2f5f1;border:1px solid var(--line)}
.search .ico{width:17px;height:17px;color:var(--muted)}
.search input{background:none;border:0;outline:none;color:var(--ink);width:140px;font-size:.85rem}
.search input::placeholder{color:#9aa69c}
.cart-btn{position:relative;width:40px;height:40px;border-radius:11px;background:#f2f5f1;border:1px solid var(--line);color:var(--ink);cursor:pointer;display:grid;place-items:center}
.cart-btn:hover{border-color:var(--green)}
.cart-count{position:absolute;top:-6px;right:-6px;min-width:19px;height:19px;padding:0 4px;border-radius:99px;background:var(--green);color:#fff;font-size:.68rem;font-weight:850;display:grid;place-items:center}
.menu-btn{display:none;background:none;border:0;color:var(--ink);cursor:pointer;padding:.3rem}

/* Hero */
.hero{padding:clamp(50px,7vw,90px) 0 60px;position:relative;overflow:hidden}
.hero::before{content:"";position:absolute;top:-25%;right:-8%;width:55vw;height:55vw;border-radius:50%;background:radial-gradient(circle,rgba(17,122,82,.09),transparent 65%);pointer-events:none}
.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:clamp(2rem,5vw,5rem);align-items:center}
.eyebrow{display:inline-flex;align-items:center;gap:.5rem;color:var(--green);font-size:.76rem;font-weight:800;letter-spacing:.16em;text-transform:uppercase;margin-bottom:1rem}
.eyebrow .dot{width:7px;height:7px;border-radius:50%;background:var(--amber);box-shadow:0 0 0 4px rgba(224,123,57,.14)}
.eyebrow.light{color:#ffc178}
.hero h1{margin:0 0 1.2rem}
.hero-actions{display:flex;flex-wrap:wrap;gap:.7rem;margin-top:1.8rem}
.hero-stats{display:flex;gap:clamp(1.2rem,3vw,2.8rem);margin-top:2.8rem;padding-top:1.5rem;border-top:1px solid var(--line)}
.hero-stats div{display:flex;flex-direction:column}
.hero-stats b{font-size:1.55rem;color:var(--green);line-height:1}
.hero-stats span{font-size:.8rem;color:var(--muted);margin-top:.35rem}
.hero-visual{position:relative;min-height:440px;display:grid;place-items:center}
.hero-photo{width:min(100%,400px);border-radius:28px;overflow:hidden;border:6px solid #fff;box-shadow:0 26px 60px rgba(20,37,28,.16);aspect-ratio:4/4.2}
.hero-photo img{height:100%}
.float-badge{position:absolute;top:8%;left:0;display:flex;align-items:center;gap:.4rem;padding:.6rem 1rem;border-radius:99px;background:#fff;box-shadow:0 14px 32px rgba(20,37,28,.16);color:var(--green);font-size:.8rem;font-weight:850}
.float-badge .ico{width:16px;height:16px}
.float-card{position:absolute;right:0;bottom:10%;background:#fff;border-radius:16px;padding:.9rem 1.1rem;display:flex;flex-direction:column;box-shadow:0 18px 40px rgba(20,37,28,.16);min-width:215px}
.fc-label{font-size:.68rem;color:var(--amber);font-weight:850;letter-spacing:.1em;text-transform:uppercase}
.float-card b{font-size:.95rem;margin:.2rem 0}
.fc-price{color:var(--green);font-weight:850;font-size:.9rem}
.fc-price s{color:var(--muted);font-weight:400;font-size:.75rem;margin-left:.3rem}

/* Trust */
.trust{border-block:1px solid var(--line);background:#fff}
.trust-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem;padding:1.1rem 0}
.trust-grid div{display:flex;align-items:center;gap:.7rem;font-size:.82rem;color:var(--muted)}
.trust-grid .ico{color:var(--green);width:22px;height:22px}
.trust-grid b{display:block;color:var(--ink);font-size:.85rem}

/* Sections */
.section{padding:clamp(60px,7vw,100px) 0}
.section-head{display:flex;justify-content:space-between;align-items:end;gap:1.5rem;margin-bottom:2.2rem}
.section-head p{color:var(--muted);font-size:.92rem;margin-top:.4rem}
.text-link{color:var(--green);font-weight:750;font-size:.9rem;display:inline-flex;align-items:center;gap:.4rem;white-space:nowrap}
.text-link .ico{width:16px;height:16px}
.result-count{color:var(--muted);font-size:.85rem}

/* Categories */
.category-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}
.category{position:relative;border-radius:20px;overflow:hidden;height:200px;background:#fff;border:1px solid var(--line);display:flex;align-items:end}
.category img{position:absolute;inset:0;height:100%;transition:transform .5s}
.category:hover img{transform:scale(1.08)}
.category::after{content:"";position:absolute;inset:0;background:linear-gradient(transparent 25%,rgba(10,35,24,.9))}
.category span{position:relative;z-index:1;padding:1.1rem;display:flex;flex-direction:column;color:#fff}
.category b{font-size:1.1rem}
.category small{color:#d5e6dc;font-size:.78rem}

/* Anti-gaspi */
.antigaspi{background:linear-gradient(145deg,#0b5d3e,#0e704b);color:#fff;padding:clamp(60px,7vw,90px) 0}
.anti-head{display:flex;justify-content:space-between;align-items:end;gap:2rem;margin-bottom:2rem;flex-wrap:wrap}
.anti-head h2{margin:0}
.anti-head>p{max-width:46ch;color:#cfe7d9;font-size:.94rem}
.antigaspi .product{border-color:rgba(255,255,255,.12)}

/* Filters & products */
.filters{display:flex;gap:.5rem;flex-wrap:wrap;margin-bottom:1.8rem}
.filter{padding:.55rem 1.1rem;border-radius:99px;border:1px solid var(--line);background:#fff;color:var(--muted);font-size:.85rem;font-weight:700;cursor:pointer;transition:.2s}
.filter:hover{color:var(--green);border-color:#a9c9b8}
.filter.active{background:var(--green);color:#fff;border-color:var(--green)}
.product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1.1rem}
.product{background:var(--surface);border:1px solid var(--line);border-radius:18px;overflow:hidden;display:flex;flex-direction:column;transition:transform .25s,box-shadow .25s}
.product:hover{transform:translateY(-5px);box-shadow:0 18px 38px rgba(20,37,28,.09)}
.product-media{position:relative;aspect-ratio:1/1;background:#eef1ed;overflow:hidden}
.product-media img{height:100%;transition:transform .45s}
.product:hover .product-media img{transform:scale(1.06)}
.promo{position:absolute;top:.7rem;left:.7rem;background:var(--amber);color:#fff;font-size:.7rem;font-weight:850;padding:.25rem .55rem;border-radius:7px}
.badge-local{position:absolute;top:.7rem;left:.7rem;background:var(--green);color:#fff;font-size:.7rem;font-weight:850;padding:.25rem .55rem;border-radius:7px}
.product-body{padding:1rem;display:flex;flex-direction:column;gap:.3rem;flex:1}
.brand{font-size:.7rem;text-transform:uppercase;letter-spacing:.12em;color:var(--green);font-weight:800}
.product-body h3{font-size:.95rem;margin:0;line-height:1.35;min-height:2.7em}
.specs{font-size:.75rem;color:var(--muted)}
.price-row{display:flex;align-items:baseline;gap:.5rem;margin-top:auto;padding-top:.7rem}
.price{font-size:1.05rem;font-weight:850;color:var(--ink)}
.old-price{font-size:.78rem;color:var(--muted);text-decoration:line-through}
.add-btn{margin-top:.8rem;width:100%;padding:.6rem;border-radius:10px;border:1px solid #bcd8c9;background:#f0f8f3;color:var(--green);font-weight:800;font-size:.83rem;cursor:pointer;transition:.2s}
.add-btn:hover{background:var(--green);color:#fff}
.empty-state{text-align:center;color:var(--muted);padding:3rem 0}

/* How */
.how{padding:clamp(60px,7vw,100px) 0;background:#fff;border-top:1px solid var(--line)}
.how-head{text-align:center;margin-bottom:2.5rem}
.how-head h2{margin-top:.5rem}
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:1.2rem}
.step{padding:1.8rem;border-radius:20px;background:var(--bg);border:1px solid var(--line)}
.step>span{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:var(--green);color:#fff;font-weight:850;margin-bottom:1rem}
.step h3{font-size:1.1rem}
.step p{color:var(--muted);font-size:.88rem}

/* Footer */
.footer{background:#0d2a1e;color:#e9f3ec;padding:3rem 0 1.5rem}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:2rem}
.footer-grid .logo-text{color:#fff}
.footer-grid .logo-mark{background:linear-gradient(140deg,#28b77e,var(--green))}
.footer-grid .logo-text small{color:#ffc178}
.footer-grid p{color:#a9c4b5;font-size:.87rem;margin-top:1rem;max-width:30ch}
.footer-grid h4{font-size:.78rem;letter-spacing:.15em;text-transform:uppercase;color:#ffc178;margin-bottom:.8rem}
.footer-grid>div:not(:first-child){display:flex;flex-direction:column;gap:.45rem}
.footer-grid a:not(.logo){font-size:.87rem;color:#b9cdc0}
.footer-grid a:hover{color:#fff}
.footer-bottom{display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;margin-top:2.5rem;padding-top:1.2rem;border-top:1px solid rgba(255,255,255,.12);color:#9db8a9;font-size:.78rem}

/* Drawer */
.drawer-overlay{position:fixed;inset:0;background:rgba(10,30,20,.45);opacity:0;pointer-events:none;transition:.25s;z-index:90;backdrop-filter:blur(3px)}
.drawer-overlay.open{opacity:1;pointer-events:auto}
.drawer{position:fixed;top:0;right:0;bottom:0;width:min(420px,92vw);background:#fff;z-index:100;transform:translateX(105%);transition:transform .3s cubic-bezier(.2,.8,.2,1);display:flex;flex-direction:column;box-shadow:-20px 0 50px rgba(0,0,0,.12)}
.drawer.open{transform:none}
.drawer-head{display:flex;align-items:center;justify-content:space-between;padding:1.3rem 1.5rem;border-bottom:1px solid var(--line)}
.drawer-head h3{margin:0}
.icon-btn{background:#f2f5f1;border:1px solid var(--line);color:var(--ink);width:36px;height:36px;border-radius:10px;cursor:pointer;display:grid;place-items:center}
.drawer-items{flex:1;overflow:auto;padding:1rem 1.5rem}
.cart-item{display:flex;gap:.8rem;padding:.8rem 0;border-bottom:1px solid var(--line)}
.cart-item img{width:62px;height:62px;border-radius:10px;flex:none}
.ci-info{flex:1;min-width:0}
.ci-info b{display:block;font-size:.85rem}
.ci-info span{font-size:.75rem;color:var(--green)}
.qty{display:flex;align-items:center;gap:.5rem;margin-top:.4rem}
.qty button{width:24px;height:24px;border-radius:7px;border:1px solid var(--line);background:#f2f5f1;color:var(--ink);cursor:pointer;display:grid;place-items:center}
.qty button .ico{width:13px;height:13px}
.qty b{font-size:.85rem;min-width:14px;text-align:center}
.ci-remove{border:0;background:none;color:var(--muted);font-size:.75rem;cursor:pointer;text-decoration:underline;align-self:flex-start}
.cart-empty{text-align:center;color:var(--muted);padding:3rem 1rem}
.cart-empty .ico{width:42px;height:42px;margin:0 auto 1rem;color:var(--green)}
.drawer-foot{padding:1.3rem 1.5rem;border-top:1px solid var(--line)}
.drawer-total{display:flex;justify-content:space-between;font-size:1.05rem;margin-bottom:.4rem}
.drawer-total b{color:var(--green)}
.drawer-foot p{font-size:.76rem;color:var(--muted);margin-bottom:1rem}
.toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,20px);background:var(--green);color:#fff;padding:.7rem 1.2rem;border-radius:99px;font-weight:800;font-size:.85rem;opacity:0;pointer-events:none;transition:.25s;z-index:120}
.toast.show{opacity:1;transform:translate(-50%,0)}

@media (max-width:940px){
  .nav{display:none;position:absolute;top:74px;left:0;right:0;flex-direction:column;gap:0;padding:.5rem 5vw 1rem;background:#fff;border-bottom:1px solid var(--line)}
  .nav.open{display:flex}
  .nav a{padding:.7rem 0}
  .menu-btn{display:grid}
  .search input{width:120px}
  .product-grid{grid-template-columns:repeat(2,1fr)}
  .category-grid{grid-template-columns:repeat(2,1fr)}
  .trust-grid{grid-template-columns:1fr 1fr}
  .steps{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr 1fr}
}
@media (max-width:640px){
  .wrap{width:90vw}
  .topbar-right{display:none}
  .search{display:none}
  .header-actions .btn-wa span{display:none}
  .header-actions .btn-wa{padding:.7rem}
  .hero-grid{grid-template-columns:1fr}
  .hero-visual{min-height:330px;order:-1}
  .hero-photo{width:min(80%,320px);aspect-ratio:1/1}
  .float-badge{top:0;left:0}
  .float-card{right:0;bottom:0}
  .hero-stats{gap:1.2rem}
  .hero-stats b{font-size:1.25rem}
  .section-head{align-items:flex-start;flex-direction:column}
  .product-grid,.category-grid{grid-template-columns:1fr 1fr;gap:.7rem}
  .product-body{padding:.75rem}
  .product-body h3{font-size:.85rem;min-height:auto}
  .add-btn{font-size:.76rem}
  .footer-grid{grid-template-columns:1fr}
}
