:root {
  --bg: #f3f6f5;
  --card: #fff;
  --ink: #0c1412;
  --muted: #5b6b66;
  --line: #e4ece8;
  --mint: #00b87a;
  --mint-2: #009e68;
  --mint-soft: #e6f8f0;
  --shadow: 0 16px 40px rgba(12, 20, 18, 0.08);
  --r: 22px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font-family: "Vazirmatn", system-ui, sans-serif; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
[hidden] { display: none !important; }

.top {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 12px 5vw;
  background: rgba(243, 246, 245, 0.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.brand img { width: 40px; height: 40px; border-radius: 12px; object-fit: cover; }
.plus {
  margin-right: 6px;
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--mint);
  color: #fff;
  font-size: 11px;
  vertical-align: 2px;
}
.top-search {
  display: flex;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}
.top-search input, .hero-search input {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 12px 16px;
  outline: none;
}
.top-search button {
  border: 0;
  background: transparent;
  width: 46px;
  color: var(--muted);
  cursor: pointer;
}
.top-search svg { width: 18px; height: 18px; }
.top-acts { display: flex; align-items: center; gap: 8px; }
.ghost {
  padding: 8px 12px;
  color: var(--muted);
  font-size: 14px;
}
.cart, .go {
  border: 0;
  background: var(--mint);
  color: #fff;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 700;
  cursor: pointer;
}
.cart b, .dock b { background: #fff; color: var(--mint-2); border-radius: 99px; padding: 0 6px; margin-right: 6px; font-size: 12px; }
.burger { display: none; border: 0; background: none; width: 40px; height: 40px; }
.burger span, .burger span:before, .burger span:after {
  display: block; height: 2px; width: 18px; background: var(--ink); content: "";
}
.burger span:before { transform: translateY(-6px); }
.burger span:after { transform: translateY(4px); }
.mnav {
  display: grid;
  gap: 4px;
  padding: 10px 5vw 14px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.mnav a { padding: 10px 0; }

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
  padding: 36px 5vw 12px;
  align-items: center;
}
.hero-copy h1 {
  margin: 10px 0 12px;
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}
.sub { color: var(--muted); max-width: 34rem; margin: 0 0 22px; }
.pill {
  display: inline-block;
  background: var(--mint-soft);
  color: var(--mint-2);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
}
.pill.dark { background: #12352c; color: #9ff0ce; }
.hero-search {
  display: flex;
  background: #fff;
  border-radius: 18px;
  padding: 6px;
  box-shadow: var(--shadow);
  max-width: 520px;
}
.hero-search input { min-width: 0; }
.stats {
  display: flex;
  gap: 28px;
  margin-top: 28px;
}
.stats strong { display: block; font-size: 22px; }
.stats span { color: var(--muted); font-size: 13px; }
.hero-art {
  background: linear-gradient(160deg, #dff7ec, #fff 55%);
  border-radius: 32px;
  overflow: hidden;
  min-height: 420px;
}
.hero-art img { width: 100%; height: 100%; object-fit: cover; min-height: 420px; }

.cats {
  display: flex;
  gap: 10px;
  overflow: auto;
  padding: 18px 5vw 8px;
  scrollbar-width: none;
}
.cat {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 16px;
  padding: 12px 16px;
  cursor: pointer;
  font-weight: 600;
}
.cat i { color: var(--mint); margin-left: 6px; font-style: normal; }
.cat.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.cat.is-on i { color: var(--mint); }

.bento {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 14px;
  padding: 18px 5vw 8px;
}
.ban {
  border-radius: 24px;
  padding: 28px;
  min-height: 170px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: end;
}
.ban span { opacity: 0.75; font-size: 13px; }
.ban strong { font-size: 26px; line-height: 1.25; }
.ban-a { background: linear-gradient(135deg, #049a68, #14d38d); }
.ban-b { background: #12352c; }

.shop { padding: 28px 5vw 80px; }
.shop-head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 16px; }
.shop-head h2 { margin: 0; font-size: 28px; }
.shop-head p { margin: 0; color: var(--muted); }
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.card {
  background: #fff;
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card-img { aspect-ratio: 1; background: #eef4f1; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 12px 14px 14px; }
.card-cat { margin: 0; font-size: 11px; color: var(--mint-2); font-weight: 700; }
.card h3 { margin: 4px 0 10px; font-size: 15px; }
.row { display: flex; justify-content: space-between; align-items: center; }
.price { margin: 0; font-weight: 800; }
.add {
  width: 34px; height: 34px; border: 0; border-radius: 50%;
  background: var(--mint-soft); color: var(--mint-2); font-size: 20px; cursor: pointer;
}

.consult {
  margin: 0 5vw 40px;
  background: #fff;
  border-radius: 28px;
  display: grid;
  grid-template-columns: 280px 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
}
.consult img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }
.consult > div { padding: 32px; }
.consult h2 { margin: 10px 0 16px; }
.consult form { display: grid; gap: 10px; }
.consult textarea {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px;
  resize: vertical;
}
.ok { color: var(--mint-2); }

.foot {
  padding: 28px 5vw 96px;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 14px;
}
.foot strong { color: var(--ink); display: block; }

.dock {
  display: none;
  position: fixed;
  inset: auto 12px 12px;
  background: #0c1412;
  color: #fff;
  border-radius: 18px;
  padding: 10px 8px;
  z-index: 35;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
  font-size: 12px;
}
.dock button { border: 0; background: none; color: inherit; }

.drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(400px, 94vw);
  background: #fff;
  z-index: 60;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
}
.drawer header, .drawer footer { padding: 16px 18px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.drawer footer { border-bottom: 0; border-top: 1px solid var(--line); display: block; }
.drawer .body { flex: 1; overflow: auto; padding: 8px 18px; }
.drawer .go { width: 100%; margin-top: 10px; }
.x {
  width: 40px; height: 40px; border: 0; border-radius: 50%;
  background: var(--bg); cursor: pointer; font-size: 18px;
}
.cart-row {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.cart-row img { width: 64px; height: 64px; object-fit: cover; border-radius: 12px; }
.scrim { position: fixed; inset: 0; background: rgba(8, 16, 14, 0.4); z-index: 50; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(8, 16, 14, 0.45);
}
.modal.is-open { display: grid; }
.sheet {
  width: min(880px, 100%);
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
}
.sheet img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.sheet-copy { padding: 28px; }
.sheet-x { position: absolute; top: 12px; left: 12px; }
.kicker { color: var(--mint-2); font-size: 12px; font-weight: 700; margin: 0 0 6px; }

.toast {
  position: fixed;
  bottom: 84px;
  left: 50%;
  transform: translateX(-50%);
  background: #0c1412;
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  z-index: 80;
  font-size: 13px;
}

@media (max-width: 980px) {
  .top { grid-template-columns: auto auto; }
  .top-search { display: none; }
  .ghost { display: none; }
  .burger { display: block; }
  .hero, .bento, .consult, .sheet { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr 1fr; }
  .dock { display: grid; }
  .hero-art, .hero-art img { min-height: 260px; }
}
@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr; }
}
