:root {
  --red: #A3161A;
  --red-dark: #7d000b;
  --gold: #D9A441;
  --gold-soft: #ffdeaa;
  --wa: #1f9d55;
  --wa-dark: #006028;
  --cream: #FFF6EC;
  --cream-2: #fbf2e8;
  --cream-3: #f2e8dc;
  --ink: #2A1E17;
  --ink-2: #5a403e;
  --line: rgba(42, 30, 23, .12);
  --white: #fff;
  --r: 16px;
  --sh1: 0 4px 16px rgba(42, 30, 23, .06);
  --sh2: 0 10px 28px rgba(42, 30, 23, .12);
  --sh3: 0 16px 40px rgba(42, 30, 23, .18);
  --head: 'Montserrat', system-ui, sans-serif;
  --body: 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 16px/1.5 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--head); margin: 0; line-height: 1.15; letter-spacing: -.01em; }
svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--ink-2); }
[hidden] { display: none !important; }

/* ---------- Header ---------- */
.topbar { position: sticky; top: 0; z-index: 50; background: rgba(255, 246, 236, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.topbar-inner { display: flex; align-items: center; gap: 20px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand img { width: 40px; height: 40px; }
.brand span { display: flex; flex-direction: column; line-height: 1.05; }
.brand strong { font-family: var(--head); font-weight: 800; font-size: 19px; color: var(--red); letter-spacing: .02em; }
.brand small { font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #8a6a1c; }
.brand-light strong { color: #fff; }
.brand-light small { color: var(--gold-soft); }
.search { flex: 1; max-width: 360px; display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 0 14px; height: 40px; }
.search svg { fill: #8e706d; width: 18px; height: 18px; }
.search input { border: 0; outline: 0; background: none; width: 100%; font-size: 14px; }
.search:focus-within { border-color: var(--red); box-shadow: 0 0 0 3px rgba(163, 22, 26, .12); }
.nav { display: flex; gap: 22px; margin-left: auto; font-size: 14px; font-weight: 600; }
.nav a:hover { color: var(--red); }
.cart-btn { position: relative; display: flex; align-items: center; gap: 8px; background: var(--red); color: #fff; padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; flex: none; }
.cart-btn:hover { background: var(--red-dark); }
.badge { position: absolute; top: -6px; right: -6px; background: var(--gold); color: var(--ink); font-size: 11px; font-weight: 800; min-width: 20px; height: 20px; border-radius: 999px; display: grid; place-items: center; padding: 0 5px; border: 2px solid var(--cream); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 14px; padding: 13px 22px; font-family: var(--head); font-weight: 700; font-size: 15px; transition: transform .1s, background .15s, box-shadow .15s; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #e8b553; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-dark); }
.btn-ghost { background: rgba(255, 255, 255, .14); color: #fff; border: 1.5px solid rgba(255, 255, 255, .45); }
.btn-ghost:hover { background: rgba(255, 255, 255, .24); }
.btn-outline { background: transparent; border: 1.5px solid var(--red); color: var(--red); }
.btn-outline:hover { background: rgba(163, 22, 26, .06); }
.btn-block { width: 100%; }
.btn-lg { padding: 16px 24px; font-size: 17px; }
.btn[disabled] { opacity: .5; pointer-events: none; }

/* ---------- Hero ---------- */
.hero { background: radial-gradient(circle at 20% 10%, #c22026 0, var(--red) 45%, #7b0f12 100%); color: #fff; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .07) 1.2px, transparent 1.2px); background-size: 22px 22px; }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding: 56px 20px 96px; }
.pill { display: inline-flex; align-items: center; gap: 6px; background: var(--gold); color: var(--ink); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.hero h1 { font-size: clamp(36px, 5.4vw, 60px); font-weight: 800; letter-spacing: -.02em; margin: 18px 0 16px; }
.hero p { font-size: 18px; color: rgba(255, 255, 255, .88); max-width: 520px; margin: 0 0 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-feats { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 28px; font-size: 13px; color: rgba(255, 255, 255, .85); }
.hero-feats span { display: flex; align-items: center; gap: 6px; }
.hero-feats svg { width: 16px; height: 16px; fill: var(--gold); }
.hero-img { position: relative; border-radius: 24px; overflow: hidden; box-shadow: var(--sh3); border: 6px solid rgba(255, 255, 255, .12); aspect-ratio: 4/3; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
.hero-card { position: absolute; left: 16px; right: 16px; bottom: 16px; background: rgba(255, 255, 255, .95); color: var(--ink); border-radius: 14px; padding: 12px 16px; display: flex; align-items: center; gap: 12px; box-shadow: var(--sh2); }
.hero-card b { font-family: var(--head); font-size: 22px; color: var(--red); }
.hero-card small { display: block; color: var(--ink-2); font-size: 12px; }

/* ---------- Filter bar ---------- */
.filterbar { position: relative; margin-top: -48px; z-index: 2; }
.filter-card { background: #fff; border-radius: 20px; box-shadow: var(--sh2); padding: 18px; }
.filter-search { display: flex; align-items: center; gap: 10px; background: var(--cream-2); border-radius: 12px; padding: 0 16px; height: 50px; }
.filter-search svg { fill: #8e706d; }
.filter-search input { flex: 1; border: 0; background: none; outline: 0; font-size: 15px; }
.filter-search .count { font-size: 13px; color: var(--ink-2); white-space: nowrap; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 14px 2px 2px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 14px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.chip:hover { border-color: var(--red); color: var(--red); }
.chip.active { background: var(--red); border-color: var(--red); color: #fff; }
.chip .n { opacity: .6; margin-left: 4px; font-weight: 500; }

/* ---------- Sections ---------- */
.section { padding: 56px 0 8px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #8a6a1c; margin-bottom: 6px; display: block; }
.section-head h2 { font-size: clamp(24px, 3vw, 32px); }
.section-head p { margin: 6px 0 0; color: var(--ink-2); }
.cat-block { scroll-margin-top: 90px; }
.cat-block + .cat-block { margin-top: 48px; }
.cat-title { display: flex; align-items: baseline; gap: 12px; margin-bottom: 18px; padding-bottom: 10px; border-bottom: 2px solid rgba(217, 164, 65, .45); }
.cat-title h3 { font-size: 22px; color: var(--red); }
.cat-title span { font-size: 13px; color: var(--ink-2); }

/* ---------- Product grid ---------- */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.card { background: #fff; border-radius: var(--r); box-shadow: var(--sh1); border: 1px solid rgba(163, 22, 26, .06); display: flex; flex-direction: column; overflow: hidden; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--sh2); transform: translateY(-2px); }
.card-img { position: relative; aspect-ratio: 1/1; background: var(--cream-2); overflow: hidden; display: block; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card-img img { transform: scale(1.04); }
.tag { position: absolute; top: 10px; left: 10px; background: var(--gold); color: var(--ink); font-size: 10px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; }
.card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; gap: 6px; }
.card-cat { font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #8a6a1c; }
.card-name { font-family: var(--head); font-weight: 700; font-size: 16px; line-height: 1.25; }
.card-name a:hover { color: var(--red); }
.card-desc { font-size: 13px; color: var(--ink-2); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card select { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; font-size: 13px; background: var(--cream-2); margin-top: 4px; }
.price { font-family: var(--head); font-weight: 800; color: var(--red); font-size: 18px; }
.price small { font-family: var(--body); font-weight: 500; font-size: 12px; color: var(--ink-2); margin-right: 4px; }
.card-foot { margin-top: auto; padding-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.stepper { display: inline-flex; align-items: center; background: var(--cream-2); border-radius: 999px; padding: 3px; }
.stepper button { width: 30px; height: 30px; border: 0; background: #fff; border-radius: 50%; color: var(--red); font-size: 18px; font-weight: 700; display: grid; place-items: center; box-shadow: 0 1px 2px rgba(0, 0, 0, .06); }
.stepper button:hover { background: var(--red); color: #fff; }
.stepper input { width: 34px; text-align: center; border: 0; background: none; font-weight: 700; font-size: 14px; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.add-btn { border: 0; background: var(--red); color: #fff; border-radius: 10px; padding: 9px 12px; font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.add-btn:hover { background: var(--red-dark); }
.add-btn svg { width: 16px; height: 16px; }
.empty { text-align: center; padding: 48px 20px; color: var(--ink-2); background: #fff; border-radius: var(--r); }

/* ---------- Info blocks ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step { background: #fff; border-radius: var(--r); padding: 22px 52px 22px 22px; box-shadow: var(--sh1); position: relative; overflow: hidden; }
.step b { position: absolute; right: 14px; top: 6px; font-family: var(--head); font-size: 44px; color: rgba(163, 22, 26, .08); font-weight: 800; }
.step .ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(163, 22, 26, .08); margin-bottom: 12px; }
.step .ico svg { fill: var(--red); }
.step h4 { font-size: 16px; margin-bottom: 6px; }
.step p { margin: 0; font-size: 14px; color: var(--ink-2); }
.banner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; background: var(--cream-3); border-radius: 20px; padding: 32px; align-items: center; }
.banner h3 { font-size: 26px; margin-bottom: 10px; }
.banner ul { margin: 12px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.banner li { background: #fff; border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 600; color: var(--red); }
.stock-table { background: #fff; border-radius: var(--r); padding: 18px 20px; box-shadow: var(--sh1); }
.stock-table h4 { font-size: 15px; margin-bottom: 10px; }
.stock-row { display: flex; justify-content: space-between; font-size: 14px; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.stock-row:last-child { border: 0; }
.stock-row em { font-style: normal; font-weight: 700; font-size: 12px; padding: 2px 8px; border-radius: 999px; }
.ok { background: #e3f5e9; color: #0c6b34; }
.wait { background: var(--gold-soft); color: #6b4a00; }
.branches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.branch { background: #fff; border-radius: var(--r); padding: 22px; box-shadow: var(--sh1); display: flex; flex-direction: column; gap: 6px; }
.branch h4 { font-size: 18px; display: flex; align-items: center; justify-content: space-between; }
.branch h4 span { font-family: var(--body); font-size: 11px; background: var(--gold-soft); color: #6b4a00; padding: 3px 9px; border-radius: 999px; }
.branch p { margin: 0; color: var(--ink-2); font-size: 14px; }
.branch a.tel { color: var(--red); font-weight: 700; display: flex; align-items: center; gap: 6px; margin-top: 6px; }
.branch a.tel svg { width: 16px; height: 16px; }

/* ---------- Product detail ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--ink-2); padding: 22px 0; }
.crumbs a:hover { color: var(--red); }
.crumbs b { color: var(--red); font-weight: 600; }
.detail { display: grid; grid-template-columns: 1.05fr 1fr; gap: 44px; align-items: start; }
.detail-img { border-radius: 22px; overflow: hidden; box-shadow: var(--sh2); background: #fff; aspect-ratio: 1/1; position: sticky; top: 90px; }
.detail-img img { width: 100%; height: 100%; object-fit: cover; }
.detail h1 { font-size: clamp(26px, 3.4vw, 38px); margin: 6px 0 14px; }
.price-box { background: #fff; border-radius: var(--r); padding: 16px 20px; display: flex; align-items: center; gap: 14px; box-shadow: var(--sh1); flex-wrap: wrap; }
.price-box .price { font-size: 32px; }
.detail p.lead { font-size: 16px; color: var(--ink-2); margin: 18px 0; }
.specs { display: grid; gap: 8px; margin: 0 0 18px; }
.specs div { background: #fff; border-radius: 12px; padding: 10px 14px; font-size: 14px; border-left: 3px solid var(--gold); }
.specs b { display: block; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: #8a6a1c; }
.field-label { font-size: 13px; font-weight: 700; margin: 0 0 8px; display: flex; justify-content: space-between; }
.options { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-bottom: 18px; }
.opt { text-align: left; border: 1.5px solid var(--line); background: #fff; border-radius: 12px; padding: 10px 12px; }
.opt strong { display: block; font-size: 14px; }
.opt small { color: var(--ink-2); font-size: 12px; }
.opt.active { border-color: var(--red); box-shadow: 0 0 0 3px rgba(163, 22, 26, .1); }
.opt.active small { color: var(--red); font-weight: 700; }
.qty-row { display: flex; align-items: center; justify-content: space-between; background: #fff; border-radius: var(--r); padding: 14px 18px; margin-bottom: 16px; box-shadow: var(--sh1); }
.qty-row .stepper button { width: 36px; height: 36px; }
.qty-row .stepper input { width: 44px; font-size: 16px; }
.subtotal { text-align: right; font-size: 12px; color: var(--ink-2); }
.subtotal b { display: block; font-family: var(--head); font-size: 22px; color: var(--red); }
.detail-actions { display: grid; gap: 10px; }
.notice { background: var(--cream-3); border-radius: 14px; padding: 14px 16px; font-size: 14px; display: grid; gap: 8px; margin-top: 16px; }
.notice div { display: flex; gap: 10px; align-items: flex-start; }
.notice svg { fill: #8a6a1c; width: 18px; height: 18px; margin-top: 2px; }

/* ---------- Cart / checkout ---------- */
.page-head { display: flex; align-items: center; gap: 16px; padding: 36px 0 24px; flex-wrap: wrap; }
.page-head .ico { width: 54px; height: 54px; border-radius: 14px; background: rgba(163, 22, 26, .1); display: grid; place-items: center; }
.page-head .ico svg { fill: var(--red); width: 26px; height: 26px; }
.page-head h1 { font-size: clamp(26px, 3.6vw, 36px); color: var(--red-dark); }
.page-head p { margin: 4px 0 0; color: var(--ink-2); }
.checkout { display: grid; grid-template-columns: 1.15fr 1fr; gap: 28px; align-items: start; }
.panel { background: #fff; border-radius: 20px; box-shadow: var(--sh1); padding: 24px; }
.panel + .panel { margin-top: 20px; }
.panel h2 { font-size: 20px; display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.panel h2 svg { fill: var(--red); }
.line { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; background: var(--cream-2); border-radius: 14px; padding: 12px; align-items: center; }
.line + .line { margin-top: 10px; }
.line img { width: 76px; height: 76px; border-radius: 10px; object-fit: cover; }
.line h4 { font-size: 15px; }
.line small { color: var(--ink-2); font-size: 12px; display: block; margin: 2px 0 8px; }
.line .right { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.line .right b { font-family: var(--head); color: var(--red); }
.icon-btn { border: 0; background: none; padding: 4px; color: #8e706d; border-radius: 8px; }
.icon-btn:hover { color: var(--red); background: rgba(163, 22, 26, .08); }
.sum-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 15px; }
.sum-note { background: var(--cream-2); border-radius: 12px; padding: 10px 14px; font-size: 13px; color: #6b4a00; display: flex; gap: 8px; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.sum-total span { font-weight: 700; }
.sum-total b { font-family: var(--head); font-size: 32px; color: var(--red-dark); }
.form { display: grid; gap: 14px; }
.form label > span { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.form input, .form select, .form textarea { width: 100%; border: 1px solid var(--line); background: var(--cream-2); border-radius: 12px; padding: 12px 14px; font-size: 15px; outline: none; }
.form textarea { min-height: 76px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(163, 22, 26, .12); background: #fff; }
.form .invalid { border-color: #ba1a1a; background: #fff3f2; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.seg button { border: 1.5px solid var(--line); background: var(--cream-2); border-radius: 12px; padding: 12px; font-weight: 600; font-size: 14px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.seg button.active { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }
.seg button.active svg { fill: #fff; }
.preview { background: #ece5dd; border-radius: 14px; padding: 14px 16px; font-size: 13px; white-space: pre-wrap; line-height: 1.55; max-height: 260px; overflow: auto; position: relative; }
.preview-head { display: flex; justify-content: space-between; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--wa-dark); margin: 6px 0 8px; }
.hint { font-size: 12px; color: var(--ink-2); display: flex; gap: 8px; align-items: flex-start; }
.hint svg { width: 16px; height: 16px; fill: #8a6a1c; margin-top: 1px; }
.warn { background: #fff3d6; border: 1px solid #f5d48a; color: #6b4a00; border-radius: 12px; padding: 10px 14px; font-size: 13px; }

/* ---------- Confirmation ---------- */
.confirm { max-width: 720px; margin: 40px auto 0; background: #fff; border-radius: 24px; box-shadow: var(--sh2); padding: 40px 32px; text-align: center; }
.check { width: 84px; height: 84px; border-radius: 50%; background: var(--wa-dark); display: grid; place-items: center; margin: 0 auto 18px; box-shadow: 0 0 0 10px #dff3e6; }
.check svg { width: 42px; height: 42px; fill: #fff; }
.confirm h1 { font-size: 30px; color: var(--red-dark); margin-bottom: 10px; }
.receipt { text-align: left; background: var(--cream-2); border-radius: 18px; padding: 20px; margin: 26px 0; }
.receipt-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; flex-wrap: wrap; gap: 8px; }
.receipt-head b { font-family: var(--head); font-size: 18px; }
.receipt-row { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.receipt-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 12px; }
.receipt-total b { font-family: var(--head); font-size: 26px; color: var(--red-dark); }
.confirm-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ---------- Footer & floating ---------- */
.footer { background: var(--red); color: rgba(255, 255, 255, .88); margin-top: 72px; padding: 48px 0 24px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.2fr; gap: 32px; }
.footer h4 { color: #fff; font-size: 17px; margin-bottom: 12px; }
.footer p { margin: 12px 0 0; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-list b { color: #fff; }
.footer-list a { color: var(--gold-soft); font-weight: 600; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .18); margin-top: 32px; padding-top: 18px; font-size: 12px; color: rgba(255, 255, 255, .7); }
.floating-cart { position: fixed; right: 20px; bottom: 20px; z-index: 60; background: var(--red-dark); color: #fff; border-radius: 16px; padding: 12px 14px 12px 16px; display: flex; align-items: center; gap: 12px; box-shadow: var(--sh3); animation: pop .3s ease; }
.floating-cart svg { fill: var(--gold); width: 24px; height: 24px; }
.floating-cart span { display: flex; flex-direction: column; line-height: 1.15; }
.floating-cart small { font-size: 11px; opacity: .85; }
.floating-cart strong { font-family: var(--head); color: var(--gold); font-size: 18px; }
.floating-cart em { font-style: normal; background: #fff; color: var(--red-dark); font-weight: 700; font-size: 13px; padding: 7px 12px; border-radius: 10px; }
.toast { position: fixed; left: 50%; bottom: 96px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px; font-size: 14px; font-weight: 600; opacity: 0; pointer-events: none; transition: .25s; z-index: 70; max-width: calc(100% - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
@keyframes pop { from { transform: translateY(16px); opacity: 0; } }

.wa-btn { display: flex; align-items: center; gap: 6px; background: var(--wa); color: #fff; padding: 9px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; flex: none; }
.wa-btn:hover { background: var(--wa-dark); }
.floating-wa { position: fixed; right: 20px; bottom: 92px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: var(--sh3); transition: transform .15s; }
.floating-wa:hover { transform: scale(1.06); background: var(--wa-dark); }
.floating-wa svg { width: 30px; height: 30px; }
.footer .btn-wa { padding: 10px 16px; font-size: 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nav { display: none; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .hero-inner, .detail, .checkout, .banner { grid-template-columns: 1fr; }
  .hero-inner { padding: 36px 20px 84px; gap: 28px; }
  .detail-img { position: static; }
  .branches, .footer-grid { grid-template-columns: 1fr; }
  .wa-btn span { display: none; }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .topbar-inner { gap: 10px; height: 60px; }
  .brand small { display: none; }
  .search { display: none; }
  .cart-btn { margin-left: auto; padding: 9px 13px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .card-body { padding: 10px 12px 12px; }
  .card-name { font-size: 14px; }
  .card-desc { display: none; }
  .card-foot { flex-direction: column; align-items: stretch; }
  .stepper { justify-content: space-between; }
  .add-btn { justify-content: center; }
  .price { font-size: 16px; }
  .steps { grid-template-columns: 1fr; }
  .two { grid-template-columns: 1fr; }
  .line { grid-template-columns: 60px 1fr; }
  .line img { width: 60px; height: 60px; }
  .line .right { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
  .panel { padding: 18px; }
  .confirm { padding: 28px 18px; }
  .floating-cart { left: 16px; right: 16px; bottom: 12px; justify-content: space-between; }
  .floating-wa { right: 16px; bottom: 84px; width: 50px; height: 50px; }
  .wa-btn { padding: 9px 11px; }
  .cart-btn { margin-left: 0; }
  .topbar-inner .brand { margin-right: auto; }
  .filter-search .count { display: none; }
  .banner { padding: 22px; }
}
.floating-cart[hidden] + .floating-wa { bottom: 20px; }
@media (max-width: 640px) { .floating-cart[hidden] + .floating-wa { bottom: 16px; } }
