:root{
  --bg:#0f1c14;
  --panel:#16241b;
  --accent:#2f6f3e;
  --accent2:#1f7a3a;
  --text:#eee;
  --muted:#c7c7c7;
  --line: rgba(255,255,255,.08);
  --chip: rgba(255,255,255,.06);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  background:var(--bg);
  color:var(--text);
}
a{color:inherit}

.top-bar{
  padding:22px 16px 16px;
  text-align:center;
  background:linear-gradient(180deg, rgba(22,36,27,1) 0%, rgba(15,28,20,1) 100%);
  border-bottom:1px solid var(--line);
}
.brand{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
}
.brand img{height:56px; width:auto}
.brand .name{font-weight:900; letter-spacing:2px;}
.hero-logo{
  display:block;
  margin: 10px auto 14px;
  width: 190px;
  max-width: 70%;
  height:auto;
  opacity: .97;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.35));
}
.cta-row{
  display:flex;
  gap:10px;
  justify-content:center;
  flex-wrap:wrap;
  margin-top:10px;
}
.btn{
  display:inline-block;
  padding:12px 18px;
  background:var(--accent);
  color:#fff;
  border-radius:10px;
  font-weight:900;
  text-decoration:none;
}
.btn--ghost{
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
}
.btn--wa{ background: var(--accent2); }

.section{
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 16px 40px;
}
.hero{text-align:center; padding: 26px 0 8px;}
.hero h1{margin:0 0 10px; font-size:28px}
.hero p{margin:0; color:var(--muted); font-size:16px}

.search-wrap{display:grid; gap:10px; margin-top: 14px;}
.search{
  width:100%;
  padding:14px 14px;
  border-radius:12px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
  color:#fff;
  outline:none;
  font-size:15px;
}
.search::placeholder{ color: rgba(255,255,255,.55); }
.filters{display:flex; gap:8px; flex-wrap:wrap;}
.chip{
  padding:8px 10px;
  border-radius:999px;
  background: var(--chip);
  border: 1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.85);
  font-size:13px;
  font-weight:800;
}
.chip.active{
  background: rgba(47,111,62,.22);
  border-color: rgba(47,111,62,.35);
  color:#bfe6c8;
}
.count{ color: rgba(255,255,255,.70); font-size:13px; }

.grid{display:grid; grid-template-columns:repeat(auto-fit, minmax(220px, 1fr)); gap:16px; margin-top: 16px;}
.card{
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
  border-radius:16px;
  padding:16px;
  text-decoration:none;
  display:block;
}
.card h3{margin:0 0 8px; font-size:16px}
.card p{margin:0 0 12px; color:var(--muted); font-size:14px; line-height:1.35}
.meta{display:flex; gap:8px; flex-wrap:wrap;}
.tag{
  display:inline-block;
  padding:6px 10px;
  border-radius:999px;
  background: rgba(47,111,62,.22);
  border: 1px solid rgba(47,111,62,.35);
  color:#bfe6c8;
  font-size:12px;
  font-weight:900;
}
.small{color:#9fd9b0; font-weight:900; font-size:12px; margin-bottom:6px;}
.back{display:inline-block; margin: 10px 0 0; color:#9fd9b0; font-weight:900; text-decoration:none;}

.product-hero{display:grid; gap:14px;}
.product-hero h1{margin:0}
.product-hero .desc{color:var(--muted); margin:0}
.reco-title{margin:18px 0 10px}

.footer{
  text-align:center;
  padding:20px 16px 30px;
  color:#7c8a83;
  font-size:13px;
  border-top:1px solid var(--line);
}

/* Product thumbnails */
.card{
  overflow:hidden;
  padding:0;
}
.card-body{
  padding:16px;
}
.thumb{
  width:100%;
  aspect-ratio: 3 / 2;
  background: rgba(255,255,255,.03);
}
.thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}


/* Stock badges */
.stock{display:inline-block;padding:6px 10px;border-radius:999px;font-size:12px;font-weight:900;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.06);color:rgba(255,255,255,.85);}
.stock--ok{background:rgba(47,111,62,.22);border-color:rgba(47,111,62,.35);color:#bfe6c8;}
.stock--lim{background:rgba(255,193,7,.16);border-color:rgba(255,193,7,.35);color:#ffe08a;}
.stock--pre{background:rgba(0,123,255,.16);border-color:rgba(0,123,255,.35);color:#a7d3ff;}
.stock--no{background:rgba(220,53,69,.16);border-color:rgba(220,53,69,.35);color:#ffb3bb;}

.addrow{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:10px;}
.btn--sm{padding:10px 12px;border-radius:12px;font-size:13px}
.btn--disabled{opacity:.55;pointer-events:none}

/* Cart link in header */
.navrow{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin-top:10px}

/* Toast */
#toast{position:fixed;left:50%;bottom:26px;transform:translateX(-50%);background:rgba(0,0,0,.75);color:#fff;padding:10px 14px;border-radius:12px;font-weight:900;opacity:0;pointer-events:none;transition:opacity .15s ease;}
#toast.show{opacity:1}

/* Cart page */
.cart-wrap{max-width:1100px;margin:0 auto;padding:18px 16px 40px}
.cart-item{display:grid;grid-template-columns:140px 1fr;gap:14px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.06);border-radius:16px;padding:14px;margin-top:14px}
.cart-thumb{border-radius:14px;overflow:hidden;background:rgba(255,255,255,.03);aspect-ratio:3/2}
.cart-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.cart-info .cart-name{font-weight:900;margin:6px 0}
.cart-info .cart-desc{color:var(--muted);font-size:14px;line-height:1.35}
.cart-row{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-top:10px}
.qty{width:36px;height:36px;border-radius:10px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.06);color:#fff;font-weight:900}
.qtynum{min-width:22px;text-align:center;font-weight:900}
.warn{margin-top:10px;color:#ffb3bb;font-size:13px}

.checkout{margin-top:18px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.06);border-radius:16px;padding:14px}
.formgrid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
@media (max-width:560px){.formgrid{grid-template-columns:1fr}}
.field{width:100%;padding:14px;border-radius:12px;border:1px solid rgba(255,255,255,.10);background:rgba(255,255,255,.05);color:#fff;outline:none}
.sumline{display:flex;justify-content:space-between;gap:12px;margin-top:10px}
.sumhint{margin-top:6px;color:rgba(255,255,255,.70);font-size:13px}

/* Payment selector */
.paybox{border:1px solid rgba(255,255,255,.10);border-radius:14px;padding:12px 12px 10px;background:rgba(255,255,255,.02)}
.paytitle{font-weight:900;margin-bottom:8px;letter-spacing:.2px}
.payopt{display:flex;gap:10px;align-items:center;padding:8px 8px;border-radius:10px}
.payopt:hover{background:rgba(255,255,255,.04)}
.payopt input{transform:scale(1.12)}
.payopt--disabled{opacity:.55}
.actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}


/* ===== Premium Outdoor theme overrides (v3) ===== */
:root{
  --bg:#0b1510;
  --panel:#111f17;
  --accent:#2f6f3e;
  --accent2:#1f7a3a;
  --text:#f2f4f3;
  --muted:#b9c2bd;
  --line: rgba(255,255,255,.08);
  --chip: rgba(255,255,255,.06);
}
body{
  background:
    radial-gradient(1200px 700px at 20% -10%, rgba(47,111,62,.28), transparent 55%),
    radial-gradient(900px 600px at 90% 0%, rgba(31,122,58,.22), transparent 55%),
    var(--bg);
}
.top-bar{
  backdrop-filter: blur(6px);
}
.brand .name{ letter-spacing: 3px; }
.card{
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 10px 30px rgba(0,0,0,.20);
}
.btn{
  box-shadow: 0 10px 22px rgba(0,0,0,.25);
}
.btn--ghost{
  box-shadow:none;
}
.hero{
  padding: 34px 0 10px;
}
.hero h1{
  font-size: 34px;
  letter-spacing: .2px;
}
.hero p{
  font-size: 17px;
  max-width: 820px;
  margin: 0 auto;
}
.kpis{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}
@media (max-width:820px){ .kpis{ grid-template-columns: 1fr; } }
.kpi{
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 16px;
}
.kpi b{ display:block; margin-bottom: 6px; }
.kpi span{ color: var(--muted); font-size: 14px; }
.navlinks{
  display:flex;
  gap:10px;
  justify-content:center;
  flex-wrap:wrap;
  margin-top: 10px;
}
.navlinks a{
  color: rgba(255,255,255,.88);
  text-decoration:none;
  font-weight: 900;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
}
.navlinks a:active{ transform: scale(.99); }
.footer{
  padding-top: 26px;
  background: rgba(0,0,0,.12);
}
.footer .footgrid{
  max-width:1100px;
  margin: 0 auto;
  padding: 18px 16px 10px;
  display:grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 14px;
  text-align:left;
}
@media (max-width:820px){ .footer .footgrid{ grid-template-columns: 1fr; } }
.footer a{ color: rgba(255,255,255,.85); text-decoration:none; }
.footer a:hover{ text-decoration: underline; }
.footer .muted{ color: rgba(255,255,255,.70); font-size: 13px; line-height:1.35; }


/* Home category sections */
.catsec{margin-top:18px}
.cathead{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
.cathead h2{margin:0;font-size:20px;letter-spacing:.2px}
