/* ===== SuperMeat — fresh meat delivery design system ===== */
:root {
  --red: #e23744;
  --red-dark: #c02532;
  --red-soft: #fdeced;
  --green: #12874e;
  --green-soft: #e7f6ee;
  --wa: #1daa61;
  --gold: #f5a623;
  --ink: #22242b;
  --text: #22242b;
  --muted: #70747f;
  --bg: #f7f7f9;
  --card: #ffffff;
  --line: #ececf0;
  --shadow: 0 8px 24px rgba(34, 36, 43, 0.08);
  --shadow-lg: 0 16px 40px rgba(34, 36, 43, 0.14);
  --radius: 16px;
  --font-display: 'Figtree', 'Segoe UI', sans-serif;
  --font-body: 'Figtree', 'Segoe UI', sans-serif;
  /* legacy aliases (admin page) */
  --red-light: #ef4d59; --dark: #22242b; --cream: #f7f7f9;
  --font-serif: 'Figtree', sans-serif; --font-mono: 'Figtree', sans-serif;
  --kraft: #f7f7f9; --kraft-deep: #e8e8ec; --paper: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 1rem; }

/* slim brand accent under header */
.stripes { height: 4px; background: linear-gradient(90deg, var(--red), #ff7a45, var(--red)); }

/* retired decorations from the old design */
.polaroid, .spin-badge, .footer-word { display: none !important; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff;
  box-shadow: 0 1px 0 var(--line);
}
.header-inner {
  max-width: 1200px; margin: 0 auto; padding: 0.65rem 1.25rem;
  display: flex; align-items: center; gap: 0.9rem;
}
.logo-img { width: 50px; height: 50px; }
.brand-name {
  font-weight: 800; font-size: 1.45rem; letter-spacing: -0.02em;
  line-height: 1; color: var(--ink);
}
.brand-name .gold { color: var(--red); }
.brand-tag { font-size: 0.68rem; color: var(--muted); font-weight: 600; letter-spacing: 0.4px; margin-top: 3px; }
.header-spacer { flex: 1; }
.pill {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-size: 0.76rem; font-weight: 700; color: var(--green);
  padding: 0.5rem 0.95rem; border-radius: 999px;
  background: var(--green-soft);
}
.cart-btn {
  position: relative; display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--red); color: #fff; border: none;
  padding: 0.65rem 1.3rem; border-radius: 12px; font-weight: 700; font-size: 0.92rem;
  box-shadow: 0 6px 16px rgba(226, 55, 68, 0.3);
  transition: transform 0.15s, background 0.15s;
}
.cart-btn:hover { background: var(--red-dark); transform: translateY(-1px); }
.cart-count {
  position: absolute; top: -8px; right: -8px;
  background: var(--ink); color: #fff;
  min-width: 21px; height: 21px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 800; border: 2px solid #fff;
}

/* ===== Hero ===== */
.hero {
  position: relative; text-align: center;
  background:
    radial-gradient(700px 380px at 85% 0%, rgba(226,55,68,0.07), transparent 60%),
    radial-gradient(600px 320px at 8% 100%, rgba(18,135,78,0.06), transparent 60%),
    #fff;
  padding: 4rem 1.25rem 3.6rem;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero-kicker {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-size: 0.78rem; font-weight: 700; color: var(--green);
  background: var(--green-soft); border-radius: 999px;
  padding: 0.5rem 1.1rem; margin-bottom: 1.4rem;
}
.hero h1 {
  font-weight: 900; letter-spacing: -0.03em;
  font-size: clamp(2.4rem, 6.5vw, 4.4rem); line-height: 1.06;
  color: var(--ink);
}
.hero h1 .outline { color: var(--ink); -webkit-text-stroke: 0; }
.hero h1 .red { color: var(--red); }
.hero-sub {
  font-size: clamp(1rem, 2.2vw, 1.15rem); font-weight: 500;
  color: var(--muted); max-width: 560px; margin: 1.3rem auto 2.2rem; line-height: 1.65;
}
.hero-cta {
  display: inline-block; text-decoration: none;
  background: var(--red); color: #fff;
  font-weight: 800; font-size: 1.02rem;
  padding: 1rem 2.6rem; border-radius: 14px;
  box-shadow: 0 10px 26px rgba(226, 55, 68, 0.35);
  transition: transform 0.15s, background 0.15s;
}
.hero-cta:hover { background: var(--red-dark); transform: translateY(-2px); }

/* ===== Ticker ===== */
.ticker {
  background: var(--red); color: #fff;
  overflow: hidden; white-space: nowrap; padding: 0.6rem 0;
  font-weight: 700; font-size: 0.76rem; letter-spacing: 1px; text-transform: uppercase;
}
.ticker-track { display: inline-block; animation: ticker 30s linear infinite; }
.ticker-track span { margin: 0 1.2rem; }
.ticker-track .star { color: #ffd7a3; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===== Steps ===== */
.steps {
  max-width: 1200px; margin: 0 auto; padding: 2.8rem 1.25rem 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem;
}
.step {
  background: var(--card); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 1.5rem 1.4rem 1.3rem;
  position: relative; transform: none !important;
  border: 1px solid var(--line);
}
.step-no {
  font-weight: 800; font-size: 0.75rem; color: #fff;
  background: var(--red); border-radius: 999px; border: none;
  padding: 0.28rem 0.75rem; position: absolute; top: -13px; left: 16px;
  transform: none;
}
.step h4 { font-weight: 800; font-size: 1.08rem; margin: 0.35rem 0 0.35rem; color: var(--ink); }
.step p { font-size: 0.86rem; color: var(--muted); line-height: 1.55; font-weight: 500; }

/* ===== Sections ===== */
.section { max-width: 1200px; margin: 0 auto; padding: 3.4rem 1.25rem; }
.section-head { text-align: center; margin-bottom: 2.2rem; }
.section-head h2 {
  font-weight: 900; letter-spacing: -0.02em;
  font-size: clamp(1.8rem, 4.2vw, 2.6rem); color: var(--ink);
  text-transform: none;
}
.section-head h2 .accent { color: var(--red); font-family: inherit; font-style: normal; }
.section-head p { color: var(--muted); margin-top: 0.5rem; font-weight: 500; font-size: 0.92rem; letter-spacing: 0; text-transform: none; }

/* Category chips */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.55rem; margin-bottom: 2.2rem; }
.chip {
  border: 1.5px solid var(--line); background: #fff; color: var(--text);
  padding: 0.55rem 1.35rem; border-radius: 999px; font-weight: 700; font-size: 0.88rem;
  transform: none !important; transition: all 0.15s; letter-spacing: 0; text-transform: none;
}
.chip:hover { border-color: var(--red); color: var(--red); }
.chip.active { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 6px 16px rgba(226,55,68,0.28); }

/* ===== Product cards ===== */
.grid { display: grid; gap: 1.3rem; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); }
.card {
  background: var(--card); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--line);
  display: flex; flex-direction: column;
  transform: none !important;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-4px) !important; box-shadow: var(--shadow-lg); }
.card-ticket {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.55rem 0.9rem 0; border: none;
  font-size: 0.66rem; font-weight: 800; letter-spacing: 1px; text-transform: uppercase;
}
.card-ticket .no { color: #c9ccd3; }
.card-ticket .cat {
  color: var(--red); background: var(--red-soft); border: none;
  padding: 0.25rem 0.7rem; border-radius: 999px; transform: none;
}
.card-img {
  aspect-ratio: 4 / 3; background: #f2f2f5;
  border: none; margin: 0.6rem 0.9rem 0; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 3.6rem; position: relative; overflow: hidden;
}
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.card:hover .card-img img { transform: scale(1.04); }
.badge-featured {
  position: absolute; top: 10px; left: 10px; right: auto;
  background: var(--gold); color: #3c2c00; border: none;
  font-size: 0.6rem; font-weight: 800; letter-spacing: 0.8px; text-transform: uppercase;
  padding: 0.32rem 0.7rem; border-radius: 999px; transform: none; box-shadow: 0 4px 10px rgba(0,0,0,0.12);
}
.badge-out {
  position: absolute; inset: 0; background: rgba(255,255,255,0.72);
  display: flex; align-items: center; justify-content: center;
}
.badge-out i {
  font-style: normal; font-family: inherit; font-weight: 800;
  color: var(--red); border: 2px solid var(--red); border-radius: 999px;
  padding: 0.4rem 1.2rem; font-size: 0.85rem; letter-spacing: 1.5px;
  text-transform: uppercase; transform: none; background: #fff;
}
.card-body { padding: 0.9rem 1.05rem 1.15rem; display: flex; flex-direction: column; flex: 1; gap: 0.4rem; }
.card-title {
  font-family: inherit; font-weight: 800; font-size: 1.06rem;
  text-transform: none; letter-spacing: -0.01em; line-height: 1.25; color: var(--ink);
}
.card-desc { font-size: 0.83rem; color: var(--muted); line-height: 1.5; flex: 1; font-weight: 500; }
.wt-row { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.35rem; }
.wt {
  font-family: inherit; font-size: 0.72rem; font-weight: 700; letter-spacing: 0;
  padding: 0.34rem 0.75rem; border: 1.5px solid var(--line); background: #fff; color: var(--text);
  border-radius: 999px; transition: all 0.12s;
}
.wt:hover { border-color: var(--red); color: var(--red); }
.wt.on { background: var(--red-soft); color: var(--red); border-color: var(--red); box-shadow: none; }
.wt:disabled { opacity: 0.4; cursor: not-allowed; }
.card-foot {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 0.6rem; gap: 0.6rem; padding-top: 0.7rem;
  border-top: 1px solid var(--line);
}
.price { font-family: inherit; font-weight: 800; font-size: 1.15rem; color: var(--ink); line-height: 1; }
.price small { display: block; color: var(--muted); font-weight: 600; font-size: 0.66rem; margin-top: 0.25rem; letter-spacing: 0.3px; text-transform: uppercase; }
.add-btn {
  background: #fff; color: var(--red); border: 1.5px solid var(--red);
  padding: 0.55rem 1.3rem; font-weight: 800; font-size: 0.82rem;
  letter-spacing: 0.3px; text-transform: uppercase; border-radius: 10px;
  box-shadow: none; transition: all 0.15s;
}
.add-btn:hover { background: var(--red); color: #fff; transform: none; box-shadow: 0 6px 16px rgba(226,55,68,0.28); }
.add-btn:disabled { background: #f2f2f5; color: #b9bcc4; border-color: var(--line); cursor: not-allowed; }
.qty-stepper {
  display: inline-flex; align-items: center;
  background: #fff; border: 1.5px solid var(--red); border-radius: 10px; overflow: hidden;
  box-shadow: none;
}
.qty-stepper button {
  background: #fff; border: none; color: var(--red); font-size: 1.1rem; font-weight: 800;
  width: 34px; height: 36px; transition: background 0.12s;
}
.qty-stepper button:hover { background: var(--red-soft); color: var(--red); }
.qty-stepper span { min-width: 34px; text-align: center; font-weight: 800; font-family: inherit; color: var(--ink); }

/* ===== Trust + quotes ===== */
.trust { max-width: 1200px; margin: 0 auto; padding: 0.6rem 1.25rem 3rem; }
.trust-badges { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.9rem; margin-bottom: 2rem; }
.t-badge {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.1rem 0.6rem; text-align: center; font-size: 1.5rem;
  display: flex; flex-direction: column; align-items: center; gap: 0.45rem;
}
.t-badge span { font-family: inherit; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.2px; text-transform: none; color: var(--text); line-height: 1.55; }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.quote {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 1.2rem 1.3rem;
}
.quote blockquote { font-family: inherit; font-style: normal; font-size: 0.92rem; font-weight: 500; line-height: 1.6; color: var(--text); }
.quote blockquote::before { content: "★★★★★"; display: block; color: var(--gold); font-size: 0.8rem; letter-spacing: 2px; margin-bottom: 0.5rem; }
.quote figcaption { margin-top: 0.7rem; font-family: inherit; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.5px; text-transform: none; color: var(--muted); }
.fssai { text-align: center; margin-top: 1.6rem; font-family: inherit; font-size: 0.7rem; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); font-weight: 600; }

/* Free delivery progress (cart) */
.free-del { margin-top: 1rem; background: var(--green-soft); border: none; border-radius: 12px; padding: 0.75rem 0.95rem; }
.free-del-text { font-family: inherit; font-size: 0.76rem; font-weight: 700; letter-spacing: 0; text-transform: none; margin-bottom: 0.45rem; color: var(--green); }
.free-del-text .gold-t { color: var(--green); }
.free-del-track { height: 8px; border: none; border-radius: 999px; background: #fff; overflow: hidden; }
.free-del-fill { height: 100%; background: var(--green); transition: width 0.3s; border-radius: 999px; }

/* ===== Cart drawer ===== */
.overlay {
  position: fixed; inset: 0; background: rgba(20, 22, 28, 0.5); z-index: 90;
  opacity: 0; pointer-events: none; transition: opacity 0.25s;
}
.overlay.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(430px, 100vw); z-index: 100;
  background: var(--bg); border-left: 1px solid var(--line);
  display: flex; flex-direction: column;
  transform: translateX(105%); transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: -16px 0 50px rgba(20,22,28,0.2);
}
.drawer.open { transform: translateX(0); }
.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.05rem 1.4rem; background: #fff; color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.drawer-head h3 { font-family: inherit; font-weight: 800; font-size: 1.15rem; letter-spacing: 0; text-transform: none; }
.drawer-close {
  background: var(--bg); border: none; color: var(--ink);
  font-size: 1.3rem; line-height: 1; width: 34px; height: 34px; border-radius: 999px;
}
.drawer-body { flex: 1; overflow-y: auto; padding: 1.1rem 1.1rem 1.4rem; }
.cart-empty { text-align: center; color: var(--muted); padding: 3rem 1rem; font-family: inherit; font-weight: 600; }
.cart-empty .big { font-size: 3rem; margin-bottom: 0.7rem; }

.receipt {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 1rem 1.1rem 1.1rem; font-family: inherit;
}
.receipt::after { display: none; }
.receipt-title {
  text-align: center; font-size: 0.68rem; font-weight: 800; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--red);
  border-bottom: 1px solid var(--line); padding-bottom: 0.6rem; margin-bottom: 0.3rem;
}
.cart-item { display: flex; gap: 0.85rem; align-items: center; padding: 0.75rem 0; border-bottom: 1px solid var(--line); }
.cart-item:last-child { border-bottom: none; }
.cart-item-thumb {
  width: 54px; height: 54px; flex-shrink: 0; border: none; border-radius: 12px; overflow: hidden;
  background: #f2f2f5; display: flex; align-items: center; justify-content: center; font-size: 1.6rem;
}
.cart-item-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-info .n { font-weight: 700; font-size: 0.92rem; text-transform: none; letter-spacing: 0; color: var(--ink); }
.cart-item-info .u { font-size: 0.75rem; color: var(--muted); font-weight: 600; }
.cart-item-price { font-weight: 800; font-size: 0.95rem; white-space: nowrap; color: var(--ink); }
.mini-stepper { display: inline-flex; align-items: center; gap: 0.35rem; margin-top: 0.35rem; }
.mini-stepper button {
  width: 25px; height: 25px; border-radius: 8px; border: 1.5px solid var(--line);
  background: #fff; font-weight: 800; color: var(--red); line-height: 1;
}
.mini-stepper button:hover { border-color: var(--red); background: var(--red-soft); }
.mini-stepper span { min-width: 24px; text-align: center; font-weight: 800; font-size: 0.88rem; }

.cart-form { margin-top: 1.3rem; display: grid; gap: 0.8rem; }
.cart-form label {
  font-family: inherit; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.3px; text-transform: uppercase; color: var(--muted);
}
.cart-form input, .cart-form textarea, .cart-form select {
  width: 100%; padding: 0.75rem 0.95rem; border: 1.5px solid var(--line); border-radius: 12px;
  background: #fff; outline: none; margin-top: 0.3rem; font-size: 0.98rem; color: var(--ink);
}
.cart-form input:focus, .cart-form textarea:focus, .cart-form select:focus {
  border-color: var(--red); box-shadow: 0 0 0 3px rgba(226,55,68,0.12);
}
.drawer-foot { padding: 1.05rem 1.2rem 1.3rem; border-top: 1px solid var(--line); background: #fff; }
.total-row {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: inherit; font-weight: 800; font-size: 1.25rem; color: var(--ink);
  margin-bottom: 0.9rem; padding-bottom: 0; border-bottom: none;
}
.total-row span:first-child { font-size: 0.78rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.pay-btn {
  width: 100%; border: none; border-radius: 12px;
  background: var(--ink); color: #fff; font-weight: 800; font-size: 0.95rem;
  text-transform: none; letter-spacing: 0.2px;
  padding: 0.95rem; display: flex; align-items: center; justify-content: center; gap: 0.6rem;
  box-shadow: var(--shadow); margin-bottom: 0.65rem;
  transition: transform 0.12s, background 0.15s;
}
.pay-btn:hover { background: #000; transform: translateY(-1px); }
.pay-btn:disabled { background: #d6d8dd; color: #9a9da6; box-shadow: none; cursor: not-allowed; }
.wa-btn {
  width: 100%; border: none; border-radius: 12px;
  background: var(--wa); color: #fff; font-weight: 800; font-size: 0.95rem;
  text-transform: none; letter-spacing: 0.2px;
  padding: 0.95rem; display: flex; align-items: center; justify-content: center; gap: 0.6rem;
  box-shadow: 0 8px 20px rgba(29,170,97,0.3);
  transition: transform 0.12s, filter 0.15s;
}
.wa-btn:hover { filter: brightness(1.06); transform: translateY(-1px); }
.wa-btn:disabled { background: #d6d8dd; color: #9a9da6; box-shadow: none; cursor: not-allowed; }
.min-note { text-align: center; font-family: inherit; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2px; text-transform: none; color: var(--muted); margin-top: 0.7rem; }

/* Order success */
.order-done {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); text-align: center; padding: 2rem 1.4rem 1.6rem; font-family: inherit;
}
.order-done .tick {
  width: 58px; height: 58px; margin: 0 auto 0.9rem; border-radius: 999px;
  background: var(--green); color: #fff; border: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; font-weight: 800;
}
.order-done h4 { font-family: inherit; font-weight: 800; font-size: 1.25rem; text-transform: none; letter-spacing: 0; margin-bottom: 0.4rem; color: var(--ink); }
.order-done .pid { font-size: 0.72rem; color: var(--muted); font-weight: 700; word-break: break-all; margin-bottom: 0.4rem; }
.order-done p { font-size: 0.83rem; color: var(--muted); line-height: 1.6; margin-bottom: 1.1rem; font-weight: 500; }
.order-done .wa-btn { font-size: 0.85rem; padding: 0.85rem; }
.order-done .add-btn { width: 100%; }

/* My Orders */
.mo-order {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 1rem 1.1rem; margin-bottom: 0.9rem; font-family: inherit;
}
.mo-top { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.mo-no { font-weight: 800; color: var(--ink); }
.mo-date { font-size: 0.72rem; color: var(--muted); font-weight: 600; }
.mo-total { margin-left: auto; font-weight: 800; color: var(--ink); }
.mo-status { font-size: 0.6rem; font-weight: 800; letter-spacing: 0.8px; text-transform: uppercase; padding: 0.22rem 0.65rem; border-radius: 999px; border: none; }
.mo-status.s-new { background: var(--red-soft); color: var(--red); }
.mo-status.s-confirmed { background: #fdf3d7; color: #92400e; }
.mo-status.s-delivered { background: var(--green-soft); color: var(--green); }
.mo-status.s-cancelled { background: #f1f2f5; color: #8b8e97; }
.mo-items { font-size: 0.79rem; color: var(--muted); margin-top: 0.4rem; line-height: 1.55; font-weight: 500; }
.mo-slot { font-size: 0.73rem; margin-top: 0.25rem; font-weight: 700; color: var(--green); }
.mo-reorder { margin-top: 0.7rem; }
.mo-empty { text-align: center; color: var(--muted); font-family: inherit; font-weight: 600; padding: 3rem 1rem; }
.mo-empty .big { font-size: 3rem; margin-bottom: 0.8rem; }

/* ===== Footer ===== */
.site-footer {
  background: var(--ink); color: rgba(255,255,255,0.75);
  padding: 3rem 1.25rem 2rem; margin-top: 2.5rem; border-top: none;
}
.footer-inner { max-width: 1200px; margin: 0 auto; text-align: center; }
.footer-inner .logo-img { margin: 0 auto 0.9rem; width: 70px; height: 70px; }
.footer-inner p { font-family: inherit; font-size: 0.82rem; font-weight: 500; letter-spacing: 0.3px; text-transform: none; margin-top: 0.4rem; }
.footer-inner .fine { font-size: 0.68rem; color: rgba(255,255,255,0.4); margin-top: 1.5rem; }

/* Toast */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(80px);
  background: var(--ink); color: #fff; border: none;
  padding: 0.8rem 1.5rem; border-radius: 999px; font-family: inherit; font-weight: 700;
  font-size: 0.85rem; letter-spacing: 0; text-transform: none;
  z-index: 200; opacity: 0; transition: all 0.3s; pointer-events: none;
  box-shadow: 0 12px 32px rgba(0,0,0,0.25);
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }

/* Skeleton */
.sk-card { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; box-shadow: var(--shadow); }
.sk-img, .sk-line {
  background: linear-gradient(90deg, #f0f0f3 25%, #fafafc 50%, #f0f0f3 75%);
  background-size: 200% 100%; animation: shimmer 1.2s infinite;
}
.sk-img { aspect-ratio: 4/3; }
.sk-line { height: 13px; margin: 0.75rem 0.9rem; border-radius: 999px; }
.sk-line.short { width: 50%; }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* ===== Bottom nav + cart bar + install (mobile) ===== */
.bottom-nav {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  background: #fff; border-top: 1px solid var(--line);
  box-shadow: 0 -4px 20px rgba(20,22,28,0.06);
  padding: 0.35rem 0.4rem calc(0.35rem + env(safe-area-inset-bottom));
  grid-template-columns: repeat(5, 1fr);
}
.bn-item {
  background: none; border: none; color: var(--muted);
  font-family: inherit; font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.5px; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 0.15rem;
  padding: 0.3rem 0; border-radius: 12px;
}
.bn-item.active { color: var(--red); }
.bn-item:active { background: var(--bg); }
.bn-ico { font-size: 1.25rem; line-height: 1; position: relative; }
.bn-badge {
  position: absolute; top: -6px; right: -12px;
  background: var(--red); color: #fff; border: 2px solid #fff;
  min-width: 17px; height: 17px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.6rem; font-weight: 800;
}
.cart-bar {
  display: none;
  position: fixed; left: 12px; right: 12px; z-index: 79;
  bottom: calc(66px + env(safe-area-inset-bottom));
  background: var(--red); color: #fff;
  border: none; border-radius: 14px;
  box-shadow: 0 10px 28px rgba(226,55,68,0.4);
  padding: 0.9rem 1.2rem;
  font-family: inherit; font-weight: 800; font-size: 0.88rem;
  align-items: center; justify-content: space-between;
  animation: barIn 0.25s ease;
}
.cart-bar.show { display: flex; }
.cart-bar-cta { color: #fff; letter-spacing: 0.8px; text-transform: uppercase; font-size: 0.74rem; }
@keyframes barIn { from { transform: translateY(16px); opacity: 0; } to { transform: none; opacity: 1; } }

.install-banner {
  display: none;
  position: fixed; left: 12px; right: 12px; z-index: 78;
  bottom: calc(66px + env(safe-area-inset-bottom));
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 12px 34px rgba(20,22,28,0.18);
  padding: 0.7rem 0.9rem; align-items: center; gap: 0.7rem; font-size: 0.84rem; font-weight: 600;
}
.install-banner.show { display: flex; }
.install-banner.lifted { bottom: calc(132px + env(safe-area-inset-bottom)); }
.install-banner span { flex: 1; min-width: 0; }
.install-banner .add-btn { box-shadow: none; padding: 0.5rem 1rem; font-size: 0.72rem; flex-shrink: 0; width: auto; }
.ib-close { background: none; border: none; font-size: 1.3rem; color: var(--muted); line-height: 1; }

/* ===== Mobile ===== */
@media (max-width: 768px) {
  body { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
  .brand-tag { display: none; }
  .pill.loc { font-size: 0.66rem; padding: 0.4rem 0.7rem; white-space: nowrap; }
  .cart-btn { display: none; }
  .bottom-nav { display: grid; }
  .logo-img { width: 42px; height: 42px; }
  .brand-name { font-size: 1.25rem; }

  .hero { padding: 2.6rem 1.25rem 2.5rem; }
  .hero-kicker { font-size: 0.7rem; padding: 0.4rem 0.85rem; margin-bottom: 1.1rem; }
  .hero-sub { font-size: 0.95rem; margin: 1rem auto 1.6rem; }
  .hero-cta { font-size: 0.92rem; padding: 0.85rem 2rem; }

  .steps { grid-template-columns: 1fr; gap: 1.3rem; padding-top: 2.2rem; }
  .section { padding: 2.2rem 0.9rem; }
  .chips {
    flex-wrap: nowrap; justify-content: flex-start;
    overflow-x: auto; -webkit-overflow-scrolling: touch;
    scrollbar-width: none; padding: 0.25rem 0.2rem 0.6rem; margin-bottom: 1.3rem;
  }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex-shrink: 0; padding: 0.5rem 1.1rem; font-size: 0.8rem; }

  .grid { grid-template-columns: repeat(2, 1fr); gap: 0.85rem; }
  .card-ticket { padding: 0.45rem 0.7rem 0; font-size: 0.56rem; }
  .card-img { margin: 0.45rem 0.6rem 0; font-size: 2.7rem; }
  .badge-featured { font-size: 0.5rem; padding: 0.24rem 0.5rem; top: 6px; left: 6px; }
  .badge-out i { font-size: 0.7rem; padding: 0.3rem 0.8rem; }
  .card-body { padding: 0.65rem 0.7rem 0.8rem; gap: 0.28rem; }
  .card-title { font-size: 0.9rem; }
  .card-desc { display: none; }
  .wt-row { gap: 0.3rem; margin-top: 0.2rem; }
  .wt { font-size: 0.62rem; padding: 0.3rem 0.55rem; }
  .card-foot { flex-direction: column; align-items: stretch; gap: 0.5rem; margin-top: 0.45rem; padding-top: 0.55rem; }
  .price { font-size: 1rem; }
  .price small { display: inline; margin-left: 0.3rem; }
  .add-btn { width: 100%; padding: 0.6rem; font-size: 0.74rem; }
  .qty-stepper { width: 100%; justify-content: space-between; }
  .qty-stepper button { width: 42px; }

  .drawer {
    top: auto; left: 0; right: 0; bottom: 0;
    width: 100vw; height: 92dvh;
    border-left: none; border-top: none;
    border-radius: 20px 20px 0 0; overflow: hidden;
    transform: translateY(105%);
  }
  .drawer.open { transform: translateY(0); }
  .drawer-head { border-radius: 20px 20px 0 0; }
  .drawer-foot { padding-bottom: calc(1.05rem + env(safe-area-inset-bottom)); }

  .trust-badges { grid-template-columns: repeat(2, 1fr); gap: 0.7rem; }
  .quotes { grid-template-columns: 1fr; }
  .site-footer { padding-bottom: 1.2rem; }
  .toast { bottom: calc(130px + env(safe-area-inset-bottom)); width: max-content; max-width: 92vw; text-align: center; }
  .install-banner { font-size: 0.78rem; padding: 0.55rem 0.7rem; gap: 0.5rem; }
  .install-banner .add-btn { padding: 0.45rem 0.9rem; font-size: 0.66rem; }
}
