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

:root{
  --green-900:#0f4a2c;
  --green-700:#17633b;
  --green-600:#1f8a4d;
  --green-100:#e4f0e8;
  --red-600:#d3341f;
  --red-700:#b02a18;
  --gold-500:#f2a93b;
  --gold-600:#c9851e;
  --ink:#16201c;
  --muted:#63756a;
  --bg:#faf9f5;
  --surface:#ffffff;
  --line:#e4e8e0;
  --radius:16px;
  --shadow:0 2px 6px rgba(15,30,20,.05),0 10px 30px rgba(15,30,20,.08);
  --font:'Inter',system-ui,-apple-system,sans-serif;
  --font-head:'Baloo 2','Inter',system-ui,sans-serif;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:var(--font); color:var(--ink); background:var(--bg);
  line-height:1.55; font-size:16px;
}
a{color:inherit}
img{max-width:100%;display:block}
.container{max-width:1180px;margin:0 auto;padding:0 22px}
h1,h2,h3,h4{font-family:var(--font-head);letter-spacing:-.01em;line-height:1.15}

/* ---------- Header ---------- */
.site-header{
  position:sticky; top:0; z-index:50; background:var(--surface);
  border-bottom:1px solid var(--line); box-shadow:0 1px 2px rgba(15,30,20,.04);
}
.header-inner{display:flex;align-items:center;gap:22px;padding:10px 0}
.brand{display:flex;align-items:center;gap:10px;flex-shrink:0}
.brand img{height:52px;width:auto}
.brand-text{display:none;flex-direction:column;line-height:1.1}
.brand-text b{font-family:var(--font-head);font-size:19px;color:var(--green-700)}
.brand-text span{font-size:11px;color:var(--muted);font-weight:600}

.main-nav{display:none;align-items:center;gap:4px;margin-left:8px}
.main-nav a{
  padding:10px 14px;border-radius:10px;font-weight:700;font-size:14.5px;
  color:var(--ink); text-decoration:none; transition:.15s;
}
.main-nav a:hover, .main-nav a.active{background:var(--green-100); color:var(--green-700)}

.header-actions{display:flex;align-items:center;gap:10px;margin-left:auto}
.lang-toggle{display:flex;border:1.5px solid var(--line);border-radius:30px;overflow:hidden;font-weight:800;font-size:12.5px}
.lang-toggle a{padding:7px 12px;text-decoration:none;color:var(--muted)}
.lang-toggle a.active{background:var(--green-700);color:#fff}

.icon-btn{position:relative;display:inline-flex;align-items:center;justify-content:center;
  width:42px;height:42px;border-radius:12px;background:var(--green-100);color:var(--green-700);
  text-decoration:none;font-size:19px;flex-shrink:0}
.icon-btn .badge{
  position:absolute;top:-4px;right:-4px;background:var(--red-600);color:#fff;
  font-size:10.5px;font-weight:800;border-radius:20px;min-width:18px;height:18px;
  display:flex;align-items:center;justify-content:center;padding:0 4px;
}
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  font-family:var(--font);font-weight:700;font-size:14.5px;padding:12px 20px;
  border-radius:12px;border:0;cursor:pointer;text-decoration:none;transition:.15s;
}
.btn.pri{background:var(--green-700);color:#fff}
.btn.pri:hover{background:var(--green-900)}
.btn.acc{background:var(--gold-500);color:#3a2a06}
.btn.acc:hover{background:var(--gold-600)}
.btn.ghost{background:#fff;color:var(--ink);border:1.5px solid var(--line)}
.btn.ghost:hover{background:var(--green-100);border-color:var(--green-100)}
.btn.sm{padding:8px 14px;font-size:13px}
.btn.block{width:100%}

.mobile-toggle{display:inline-flex;border:0;background:transparent;font-size:24px;cursor:pointer;color:var(--green-700)}
.mobile-nav{display:none;flex-direction:column;border-top:1px solid var(--line);background:#fff}
.mobile-nav.show{display:flex}
.mobile-nav a{padding:14px 22px;text-decoration:none;font-weight:700;color:var(--ink);border-bottom:1px solid var(--line-2,#f0f2ee)}

@media(min-width:900px){
  .brand-text{display:flex}
  .main-nav{display:flex}
  .mobile-toggle{display:none}
}

/* ---------- Hero ---------- */
.hero{
  position:relative; background:linear-gradient(150deg,var(--green-900),var(--green-700));
  color:#fff; overflow:hidden;
}
.hero::after{
  content:'';position:absolute;inset:0;
  background:radial-gradient(circle at 85% 20%, rgba(242,169,59,.35), transparent 55%);
  pointer-events:none;
}
.hero-inner{position:relative;padding:64px 0 76px;display:grid;gap:34px;align-items:center}
.hero-badge{display:inline-flex;align-items:center;gap:8px;background:rgba(255,255,255,.14);
  padding:7px 14px;border-radius:30px;font-size:12.5px;font-weight:700;margin-bottom:16px}
.hero h1{font-size:clamp(32px,5vw,52px);font-weight:800;max-width:720px}
.hero p{margin-top:14px;font-size:17px;max-width:520px;color:rgba(255,255,255,.85)}
.hero-cta{display:flex;gap:12px;margin-top:26px;flex-wrap:wrap}
@media(min-width:900px){
  .hero-inner{grid-template-columns:1.1fr .9fr;padding:88px 0 100px}
}
.hero-art{display:flex;justify-content:center}
.hero-art img{max-width:340px;filter:drop-shadow(0 20px 40px rgba(0,0,0,.35))}

/* ---------- Sections ---------- */
.section{padding:64px 0}
.section.tight{padding:40px 0}
.section-head{max-width:640px;margin-bottom:36px}
.section-head h2{font-size:clamp(24px,3vw,34px);font-weight:800}
.section-head p{margin-top:10px;color:var(--muted);font-size:15.5px}
.section.alt{background:var(--green-100)}

.grid-3{display:grid;gap:22px;grid-template-columns:1fr}
@media(min-width:760px){.grid-3{grid-template-columns:repeat(3,1fr)}}
.grid-4{display:grid;gap:18px;grid-template-columns:repeat(2,1fr)}
@media(min-width:760px){.grid-4{grid-template-columns:repeat(4,1fr)}}

.feature-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:26px;box-shadow:var(--shadow)}
.feature-card .ic{width:52px;height:52px;border-radius:14px;background:var(--green-100);display:grid;place-items:center;font-size:24px;margin-bottom:16px}
.feature-card h3{font-size:18px;margin-bottom:8px}
.feature-card p{color:var(--muted);font-size:14.5px}

/* ---------- Product cards ---------- */
.product-card{
  background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);
  overflow:hidden;box-shadow:var(--shadow);display:flex;flex-direction:column;
}
.product-card .img-wrap{aspect-ratio:4/3;background:var(--green-100);display:grid;place-items:center;overflow:hidden}
.product-card .img-wrap img{width:100%;height:100%;object-fit:cover}
.product-card .img-wrap .emoji-fallback{font-size:52px}
.product-card .body{padding:16px;display:flex;flex-direction:column;gap:8px;flex:1}
.product-card .cat{font-size:11px;font-weight:700;color:var(--green-700);text-transform:uppercase;letter-spacing:.04em}
.product-card h3{font-size:16.5px}
.product-card .price-row{display:flex;align-items:baseline;justify-content:space-between;margin-top:auto}
.product-card .price{font-family:var(--font);font-weight:800;font-size:19px;color:var(--ink)}
.product-card .price small{font-weight:600;color:var(--muted);font-size:12.5px}
.stock-pill{display:inline-flex;align-items:center;gap:5px;font-size:11.5px;font-weight:700;padding:3px 10px;border-radius:20px;width:fit-content}
.stock-pill.ok{background:#e3f2e9;color:#1e6b40}
.stock-pill.low{background:#fbf0da;color:var(--gold-600)}
.stock-pill.out{background:#fbeae6;color:var(--red-600)}
.qty-row{display:flex;align-items:center;gap:8px;margin-top:6px}
.qty-box{display:flex;align-items:center;border:1.5px solid var(--line);border-radius:10px;overflow:hidden}
.qty-box button{width:34px;height:36px;border:0;background:var(--green-100);color:var(--green-700);font-size:18px;font-weight:700;cursor:pointer}
.qty-box input{width:44px;border:0;text-align:center;font-weight:700;font-family:var(--font)}

.filters{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:24px}
.filters a{padding:9px 16px;border-radius:30px;border:1.5px solid var(--line);text-decoration:none;font-weight:700;font-size:13.5px;color:var(--ink)}
.filters a.active{background:var(--green-700);border-color:var(--green-700);color:#fff}
.search-box{display:flex;align-items:center;gap:10px;background:#fff;border:1.5px solid var(--line);border-radius:12px;padding:12px 16px;margin-bottom:24px}
.search-box input{border:0;outline:0;font-family:var(--font);font-size:15px;flex:1;background:transparent}

/* ---------- Forms ---------- */
.form-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:28px;box-shadow:var(--shadow)}
.field{margin-bottom:16px}
.field label{display:block;font-size:13px;font-weight:700;margin-bottom:6px}
.field input,.field textarea,.field select{
  width:100%;font-family:var(--font);font-size:15px;padding:12px 14px;border:1.5px solid var(--line);
  border-radius:11px;outline:0;background:#fff;color:var(--ink);
}
.field input:focus,.field textarea:focus{border-color:var(--green-700)}
.form-row{display:grid;gap:14px}
@media(min-width:640px){.form-row.cols2{grid-template-columns:1fr 1fr}}
.alert{padding:13px 16px;border-radius:12px;font-size:14px;margin-bottom:18px;display:flex;gap:10px}
.alert.error{background:#fbeae6;color:var(--red-700)}
.alert.info{background:#e6eff8;color:#2a5a8f}
.alert.success{background:#e3f2e9;color:#1e6b40}

/* ---------- Cart / summary ---------- */
.cart-line{display:flex;align-items:center;gap:14px;padding:14px 0;border-bottom:1px solid var(--line)}
.cart-line:last-child{border-bottom:0}
.cart-line .img-wrap{width:64px;height:64px;border-radius:10px;background:var(--green-100);display:grid;place-items:center;flex-shrink:0;overflow:hidden}
.cart-line .img-wrap img{width:100%;height:100%;object-fit:cover}
.cart-line .info{flex:1;min-width:0}
.cart-line .info .t{font-weight:700;font-size:14.5px}
.cart-line .info .s{font-size:13px;color:var(--muted)}
.kv{display:flex;justify-content:space-between;padding:8px 0;border-bottom:1px dashed var(--line);font-size:14.5px}
.kv:last-child{border-bottom:0}
.kv.total{border-top:2px solid var(--ink);border-bottom:0;margin-top:6px;padding-top:12px;font-weight:800;font-size:18px}

/* ---------- Location ---------- */
.location-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:26px;box-shadow:var(--shadow)}
.location-row{display:flex;gap:14px;padding:12px 0;border-bottom:1px solid var(--line)}
.location-row:last-child{border-bottom:0}
.location-row .ic{width:42px;height:42px;border-radius:11px;background:var(--green-100);display:grid;place-items:center;font-size:19px;flex-shrink:0}
.map-embed{border-radius:var(--radius);overflow:hidden;border:1px solid var(--line);box-shadow:var(--shadow);height:340px}
.map-embed iframe{width:100%;height:100%;border:0}

/* ---------- Footer ---------- */
.site-footer{background:var(--green-900);color:rgba(255,255,255,.82);margin-top:40px}
.footer-inner{padding:48px 0 28px;display:grid;gap:32px}
@media(min-width:760px){.footer-inner{grid-template-columns:1.4fr 1fr 1fr}}
.footer-brand{display:flex;align-items:center;gap:10px;margin-bottom:12px}
.footer-brand img{height:46px}
.footer-brand b{color:#fff;font-family:var(--font-head);font-size:18px}
.site-footer h4{color:#fff;font-size:14px;margin-bottom:14px;text-transform:uppercase;letter-spacing:.04em}
.site-footer a{color:rgba(255,255,255,.8);text-decoration:none;display:block;padding:5px 0;font-size:14.5px}
.site-footer a:hover{color:#fff}
.footer-bottom{border-top:1px solid rgba(255,255,255,.12);padding:18px 0;text-align:center;font-size:13px;color:rgba(255,255,255,.6)}

.empty-state{text-align:center;padding:60px 20px;color:var(--muted)}
.empty-state .em{font-size:42px;margin-bottom:12px}
.empty-state b{color:var(--ink);font-size:16px;display:block;margin-bottom:6px}
