:root {
  --primary: #FF6B00;
  --primary-dark: #E55A00;
  --secondary: #2C3E50;
  --bg: #FFF9F0;
  --text: #2C3E50;
  --muted: #7F8C8D;
  --wa: #25D366;
  --radius: 14px;
  --shadow: 0 2px 15px rgba(0,0,0,0.08);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: Poppins, system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  padding-bottom: 78px;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.top-bar { background: var(--secondary); color: #fff; font-size: 0.82rem; font-weight: 600; }
.top-bar-inner { display: flex; justify-content: space-between; gap: 12px; padding: 8px 16px; flex-wrap: wrap; }
.top-bar a { color: #ffb366; text-decoration: none; }
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 1px 0 rgba(0,0,0,0.06); }
.header-row { display: flex; align-items: center; gap: 12px; padding: 12px 16px; }
.logo { font-weight: 800; font-size: 1.25rem; text-decoration: none; color: var(--primary); white-space: nowrap; }
.logo span { color: var(--secondary); }
.search-box { flex: 1; position: relative; max-width: 480px; }
.search-box input {
  width: 100%; padding: 11px 44px 11px 16px; border: 2px solid #eee; border-radius: 999px; font: inherit;
}
.search-box button {
  position: absolute; right: 4px; top: 4px; width: 36px; height: 36px; border: 0; border-radius: 50%;
  background: var(--primary); color: #fff; cursor: pointer;
}
.header-actions { display: flex; gap: 8px; }
.wa-btn, .call-btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 999px;
  text-decoration: none; font-weight: 700; font-size: 0.88rem;
}
.wa-btn { background: var(--wa); color: #fff; }
.call-btn { background: var(--secondary); color: #fff; }
.cat-nav {
  display: flex; gap: 6px; overflow-x: auto; padding: 0 16px 10px;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.cat-nav::-webkit-scrollbar { display: none; }
.cat-nav button {
  border: 0; background: #f3f4f6; color: var(--text); padding: 8px 14px; border-radius: 999px;
  font: inherit; font-weight: 600; font-size: 0.8rem; white-space: nowrap; cursor: pointer;
}
.cat-nav button.active { background: var(--primary); color: #fff; }
.hero {
  background: linear-gradient(135deg, #FF6B00, #FF8C42 55%, #F39C12);
  color: #fff; text-align: center; padding: 48px 16px 56px;
}
.eyebrow { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.9; margin-bottom: 8px; }
.hero h1 { font-size: clamp(1.7rem, 5vw, 2.6rem); font-weight: 800; line-height: 1.2; margin-bottom: 12px; }
.hero h1 em { font-style: italic; color: #fff3e0; }
.hero-sub { max-width: 560px; margin: 0 auto 22px; opacity: 0.92; }
.hero-cta { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 999px; font-weight: 700; text-decoration: none;
  border: 0; cursor: pointer; font: inherit;
}
.btn-wa { background: var(--wa); color: #fff; }
.btn-orange { background: var(--primary); color: #fff; }
.btn-ghost { background: rgba(255,255,255,0.15); color: #fff; border: 2px solid rgba(255,255,255,0.35); }
.btn-ghost.dark { color: var(--text); border-color: #e5e7eb; background: #fff; }
.trust {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  margin-top: -28px; position: relative; z-index: 2;
}
.trust-item {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 14px; display: flex; gap: 10px; align-items: center;
}
.trust-item i { color: var(--primary); font-size: 1.2rem; }
.trust-item strong { display: block; font-size: 0.9rem; }
.trust-item span { color: var(--muted); font-size: 0.75rem; }
.section { padding: 40px 16px; }
.section-head { margin-bottom: 20px; }
.section-head h2 { font-size: 1.6rem; }
.muted { color: var(--muted); font-size: 0.9rem; margin-top: 4px; }
.grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px;
}
.card {
  background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  display: flex; flex-direction: column; cursor: pointer; transition: transform .2s;
}
.card:hover { transform: translateY(-3px); }
.card-img { position: relative; background: #f5f5f5; }
.card-img img { width: 100%; height: 200px; object-fit: cover; }
.badge {
  position: absolute; top: 10px; left: 10px; background: #e74c3c; color: #fff;
  font-size: 0.7rem; font-weight: 700; padding: 4px 8px; border-radius: 999px;
}
.card-body { padding: 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-cat { color: var(--primary); font-size: 0.72rem; font-weight: 700; text-transform: uppercase; }
.card h3 { font-size: 0.95rem; line-height: 1.35; }
.price { color: var(--primary); font-weight: 800; font-size: 1.15rem; }
.original { color: var(--muted); text-decoration: line-through; margin-left: 6px; font-size: 0.85rem; }
.card-actions { display: grid; grid-template-columns: 1fr auto auto; gap: 6px; margin-top: auto; padding-top: 8px; }
.card-actions a, .card-actions button {
  border: 0; border-radius: 10px; padding: 9px 8px; font-weight: 700; font-size: 0.78rem;
  cursor: pointer; text-decoration: none; text-align: center; font-family: inherit;
}
.btn-view { background: #f0f0f0; color: var(--text); }
.btn-cart-sm { background: var(--primary); color: #fff; }
.btn-wa-sm { background: var(--wa); color: #fff; }
.empty { text-align: center; padding: 40px 16px; }
.visit { text-align: center; }
.visit .btn-ghost { color: var(--text); border-color: #ddd; background: #fff; }
.footer { background: var(--secondary); color: #fff; padding: 36px 16px 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; }
.footer a { display: block; color: #ffb366; text-decoration: none; margin-top: 6px; }
.footer p { color: #bdc3c7; margin-top: 8px; font-size: 0.9rem; }
.copy { text-align: center; color: #95a5a6; font-size: 0.8rem; margin-top: 24px; }
.buy-dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  display: grid; grid-template-columns: .7fr 1.4fr .7fr; gap: 8px;
  background: #0f172a; padding: 10px 10px calc(10px + env(safe-area-inset-bottom));
}
.buy-dock a {
  color: #fff; text-decoration: none; font-weight: 800; font-size: 0.82rem;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 12px 8px; border-radius: 12px; background: #1e293b;
}
.buy-dock .wa { background: #16a34a; }
.modal {
  position: fixed; inset: 0; background: rgba(15,23,42,.55); z-index: 100;
  display: flex; align-items: flex-end; justify-content: center; padding: 12px;
}
.modal[hidden] { display: none; }
.sheet {
  background: #fffaf6; width: min(640px, 100%); max-height: 92vh; overflow: auto;
  border-radius: 20px 20px 12px 12px; padding: 16px; position: relative;
}
.close {
  position: absolute; right: 12px; top: 8px; border: 0; background: transparent;
  font-size: 1.8rem; cursor: pointer; line-height: 1;
}
#m-img { width: 100%; max-height: 320px; object-fit: contain; background: #f5f5f5; border-radius: 12px; }
.thumbs { display: flex; gap: 8px; overflow-x: auto; margin: 10px 0; }
.thumbs img {
  width: 64px; height: 64px; object-fit: cover; border-radius: 10px; cursor: pointer;
  border: 2px solid transparent;
}
.thumbs img.active { border-color: var(--primary); }
.sheet .cat { color: var(--primary); font-weight: 800; text-transform: uppercase; font-size: 0.75rem; margin-top: 8px; }
.sheet h2 { font-size: 1.35rem; margin: 4px 0 8px; }
.sheet .desc { color: var(--muted); margin: 10px 0 16px; }
.sheet-actions { display: grid; gap: 8px; }
.price-row { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
@media (min-width: 768px) {
  .modal { align-items: center; }
  .sheet { border-radius: 20px; }
  .buy-dock { display: none; }
  body { padding-bottom: 0; }
}
@media (max-width: 800px) {
  .trust { grid-template-columns: 1fr 1fr; }
  .search-box { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .wa-btn span, .call-btn { }
  .card-actions { grid-template-columns: 1fr auto auto; }
}
