/* =========================================================
   Halal Food — styles (mobile-first friendly)
   ========================================================= */
:root {
  --green: #1f6b3a;
  --green-dark: #154d29;
  --green-soft: #e8f3ea;
  --accent: #f2a516;
  --accent-dark: #d48c05;
  --accent-text: #8f5c00; /* gold for text/icons on light backgrounds */
  --cream: #fbf8f1;
  --ink: #1d2a21;
  --muted: #5b6a60;
  --line: #e6e2d6;
  --white: #fff;
  --wa: #0d8540; /* WhatsApp green, darkened so white text is readable */
  --red: #c62828;
  --radius: 14px;
  --shadow: 0 2px 10px rgba(30, 50, 35, .07);
  --font: "Inter", "Hind Siliguri", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-bn: "Hind Siliguri", "Inter", sans-serif;
  --font-head: "Fraunces", Georgia, serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--cream); line-height: 1.5; font-size: 15px; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
.bn { font-family: var(--font-bn); }
.muted { color: var(--muted); }
.container { width: 100%; max-width: 1240px; margin-left: auto; margin-right: auto; padding-left: 20px; padding-right: 20px; }
h1, h2, h3 { line-height: 1.25; margin: 0; }
[hidden] { display: none !important; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 2px solid transparent; border-radius: 10px; padding: 10px 18px; font-weight: 600; font-size: 15px; transition: .15s; background: none; white-space: nowrap; }
.btn svg { flex: none; width: 20px; height: 20px; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); }
.btn-accent { background: var(--accent); color: #2b1a00; }
.btn-accent:hover { background: var(--accent-dark); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #0a6e35; }
.btn-outline { border-color: var(--green); color: var(--green); background: #fff; }
.btn-outline:hover { background: var(--green-soft); }
.btn-link { color: var(--green); padding: 8px; }
.btn-link:hover { text-decoration: underline; }
.btn-block { display: flex; width: 100%; }
.btn-lg { padding: 13px 20px; font-size: 16px; }
.btn-sm { padding: 7px 14px; font-size: 14px; }

/* ---------- top bar + header ---------- */
.topbar { background: var(--green-dark); color: #e3f1e6; font-size: 13px; font-family: var(--font-bn); }
.topbar-row { display: flex; justify-content: space-between; gap: 12px; padding-top: 6px; padding-bottom: 6px; }
.topbar b { color: #fff; }
.header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; }
.header-row { display: flex; align-items: center; gap: 24px; height: 76px; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border: 0; border-radius: 10px; background: none; color: var(--ink); position: relative; flex: none; }
.icon-btn:hover { background: var(--green-soft); }
.menu-btn { display: none; }
.logo { display: flex; align-items: center; gap: 10px; flex: none; }
.logo img { width: 44px; height: 44px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; white-space: nowrap; }
.logo-text b { font-family: var(--font-head); font-size: 22px; color: var(--green); font-weight: 700; }
.logo-text small { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); font-weight: 600; margin-top: 3px; }
.search { flex: 1; display: flex; max-width: 520px; border: 2px solid var(--green); border-radius: 10px; overflow: hidden; background: #fff; }
.search input { flex: 1; min-width: 0; border: 0; padding: 10px 14px; outline: none; background: none; }
.search button { border: 0; background: var(--green); color: #fff; width: 50px; display: flex; align-items: center; justify-content: center; }
.hdr-call { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.hdr-call-ic { width: 40px; height: 40px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: flex; align-items: center; justify-content: center; }
.hdr-call small { display: block; font-size: 12px; color: var(--muted); }
.hdr-call b { font-size: 15px; color: var(--green-dark); }
.cart-count { position: absolute; top: 2px; right: 0; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--accent); color: #2b1a00; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.catnav { border-top: 1px solid var(--line); }
.catnav-row { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.catnav-row::-webkit-scrollbar { display: none; }
.catnav a { padding: 11px 14px; font-weight: 500; font-size: 14.5px; white-space: nowrap; border-bottom: 3px solid transparent; }
.catnav a:hover { color: var(--green); }
.catnav a.active { color: var(--green); border-bottom-color: var(--green); }

/* drawer */
.drawer { position: fixed; top: 0; left: 0; bottom: 0; width: min(320px, 86vw); background: #fff; z-index: 60; transform: translateX(-102%); transition: transform .25s; display: flex; flex-direction: column; gap: 14px; padding: 16px; overflow-y: auto; }
.drawer-backdrop { position: fixed; inset: 0; background: rgba(0, 0, 0, .4); z-index: 55; opacity: 0; pointer-events: none; transition: opacity .25s; }
.drawer-open .drawer { transform: none; }
.drawer-open .drawer-backdrop { opacity: 1; pointer-events: auto; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; font-size: 18px; }
.search-mobile { max-width: none; }
.drawer-nav { display: flex; flex-direction: column; }
.drawer-nav a { padding: 12px 4px; border-bottom: 1px solid var(--line); font-weight: 500; display: flex; justify-content: space-between; }
.drawer-nav .bn { color: var(--muted); font-weight: 400; }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr); gap: 20px; margin-top: 20px; }
.slider { position: relative; width: 100%; align-self: start; aspect-ratio: 2 / 1; border-radius: var(--radius); overflow: hidden; background: #3a1d0b; }
.slides { display: flex; height: 100%; transition: transform .45s ease; }
.slide { position: relative; flex: 0 0 100%; height: 100%; }
.slide img { width: 100%; height: 100%; object-fit: cover; object-position: left center; }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, .55) 75%); }
.slide-text { position: absolute; z-index: 1; right: 6%; top: 50%; transform: translateY(-50%); width: 46%; color: #fff; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.slide-text h1 { font-size: clamp(22px, 3vw, 40px); font-weight: 700; text-shadow: 0 2px 10px rgba(0, 0, 0, .3); }
.slide-text p { margin: 0; font-size: clamp(14px, 1.3vw, 17px); opacity: .95; }
.slide-tag { display: inline-block; background: var(--accent); color: #2b1a00; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 6px; }
.slider-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .9); color: var(--green-dark); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow); }
.slider-arrow:hover { background: #fff; }
.slider-arrow.prev { left: 14px; }
.slider-arrow.next { right: 14px; }
.dots { position: absolute; bottom: 14px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; z-index: 2; }
.dots button { width: 10px; height: 10px; padding: 0; border-radius: 6px; border: 0; background: rgba(255, 255, 255, .55); transition: .2s; }
.dots button.active { width: 28px; background: var(--accent); }
.side-banner { position: relative; border-radius: var(--radius); overflow: hidden; contain: size; background: #f6d878; }
.side-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 70%; }
.side-banner::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(255, 248, 230, .95) 0%, rgba(255, 248, 230, .8) 38%, rgba(255, 248, 230, 0) 62%); }
.side-text { position: relative; z-index: 2; padding: 22px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.side-text h3 { font-size: 24px; color: #3b2400; }
.side-text p { margin: 0 0 6px; color: #5a3d0a; }

/* trust strip */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 20px; }
.trust > div { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 12px; padding: 14px 16px; box-shadow: var(--shadow); color: var(--green); }
.trust b { display: block; color: var(--ink); font-size: 14.5px; }
.trust small { color: var(--muted); font-size: 13px; }

/* ---------- sections ---------- */
.section { margin-top: 44px; }
.section-head { text-align: center; margin-bottom: 22px; position: relative; }
.section-head h2 { font-family: var(--font-head); font-size: 30px; color: var(--green-dark); font-weight: 700; }
.section-head p { margin: 4px 0 0; color: var(--muted); }
.section-head::after { content: ""; display: block; width: 56px; height: 3px; border-radius: 3px; background: var(--accent); margin: 10px auto 0; }
.see-all { position: absolute; right: 0; top: 8px; color: var(--green); font-weight: 600; font-size: 14.5px; }
.see-all:hover { text-decoration: underline; }

/* categories */
.cat-wrap { position: relative; }
.cat-row { display: flex; gap: 32px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 8px; }
.cat-row::-webkit-scrollbar { display: none; }
.cat-row > :first-child { margin-left: auto; }
.cat-row > :last-child { margin-right: auto; }
.cat { flex: none; display: flex; flex-direction: column; align-items: center; gap: 10px; scroll-snap-align: start; }
.cat-tile { width: 142px; height: 142px; border-radius: 20px; background: #fff; padding: 12px; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow); transition: .2s; }
.cat-tile img { max-height: 100%; object-fit: contain; }
.cat:hover .cat-tile { transform: translateY(-3px); box-shadow: 0 6px 18px rgba(30, 50, 35, .12); }
.cat-name { font-size: 16px; font-weight: 500; }
.cat-arrow { display: none; position: absolute; top: 56px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--green); color: #fff; align-items: center; justify-content: center; box-shadow: var(--shadow); }
.cat-arrow.prev { left: -6px; }
.cat-arrow.next { right: -6px; }
.cat-wrap.scrollable .cat-arrow { display: flex; }

/* product grid + card */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.card { height: 100%; display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: .2s; }
.card:hover { box-shadow: 0 8px 24px rgba(30, 50, 35, .13); transform: translateY(-2px); }
.card-img { display: block; aspect-ratio: 1; overflow: hidden; background: #f4efe3; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.card:hover .card-img img { transform: scale(1.04); }
.card-body { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 14px; text-align: center; }
.card-title { font-size: 15.5px; font-weight: 600; line-height: 1.35; min-height: 2.7em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-title .bn { font-weight: 500; color: var(--muted); }
.price { font-size: 18px; }
.price-now { color: var(--green); font-weight: 700; }
.price-old { color: var(--muted); font-size: .8em; }
.card-btn { margin-top: auto; }

/* promo strip */
.promo-strip { margin-top: 48px; background: linear-gradient(110deg, var(--green-dark), var(--green)); color: #fff; }
.promo-strip-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 28px; padding-bottom: 28px; }
.promo-strip h2 { font-size: 26px; margin: 8px 0 4px; }
.promo-strip p { margin: 0; opacity: .9; }

/* promo pair */
.promo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.promo { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 2 / 1; }
.promo img { width: 100%; height: 100%; object-fit: cover; object-position: left center; }
.promo-text { position: absolute; right: 5%; top: 50%; transform: translateY(-50%); max-width: 46%; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 16px 18px; border-radius: 12px; background: rgba(255, 250, 240, .9); box-shadow: 0 4px 16px rgba(0, 0, 0, .12); }
.promo-text h3 { font-size: clamp(18px, 2vw, 26px); color: #2b1a00; }
.promo-text p { margin: 0 0 6px; color: #3b2400; }
.promo:hover img { transform: scale(1.02); transition: .3s; }

/* why */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.why-grid > div { background: #fff; border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); color: var(--green); }
.why-grid h3 { color: var(--ink); font-size: 17px; margin: 10px 0 6px; }
.why-grid p { margin: 0; color: var(--muted); }

/* ---------- page head / shop ---------- */
.page-head { padding-top: 22px; padding-bottom: 14px; }
.page-head h1 { font-family: var(--font-head); font-size: 32px; color: var(--green-dark); }
.page-head h1 .bn { font-family: var(--font-bn); font-weight: 500; font-size: .7em; color: var(--muted); }
.page-head p { margin: 4px 0 0; }
.crumbs { font-size: 13.5px; color: var(--muted); margin-bottom: 8px; }
.crumbs a:hover { color: var(--green); }
.shop-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 10px; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.chips::-webkit-scrollbar { display: none; }
.chip { padding: 7px 16px; border-radius: 30px; background: #fff; border: 1px solid var(--line); font-size: 14px; font-weight: 500; white-space: nowrap; }
.chip.active, .chip:hover { background: var(--green); color: #fff; border-color: var(--green); }
.sort { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); flex: none; }
.sort select { border: 1px solid var(--line); border-radius: 8px; padding: 7px 10px; background: #fff; }
.result-count { color: var(--muted); font-size: 14px; margin: 0 0 14px; }
.empty { text-align: center; padding-top: 50px; padding-bottom: 50px; }
.empty p { font-size: 18px; margin: 0 0 16px; }

/* ---------- product page ---------- */
.pd { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.pd-img { position: relative; border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.pd-img img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.badge { position: absolute; top: 14px; left: 14px; background: var(--accent); color: #2b1a00; font-weight: 700; font-size: 13px; padding: 5px 12px; border-radius: 8px; }
.pd-info h1 { font-family: var(--font-head); font-size: 34px; color: var(--green-dark); }
.pd-bn { font-size: 20px; color: var(--muted); margin: 4px 0 10px; }
.pd-price { font-size: 30px; margin-bottom: 18px; }
.pd-block { margin-bottom: 18px; }
.pd-label { display: block; font-weight: 600; margin-bottom: 8px; }
.sizes { display: flex; flex-wrap: wrap; gap: 10px; }
.size { padding: 9px 18px; border-radius: 10px; border: 2px solid var(--line); background: #fff; font-weight: 600; }
.size.active { border-color: var(--green); background: var(--green-soft); color: var(--green-dark); }
.qty { display: inline-flex; align-items: center; border: 2px solid var(--line); border-radius: 10px; background: #fff; overflow: hidden; }
.qty button { width: 44px; height: 44px; border: 0; background: none; font-size: 20px; font-weight: 600; }
.qty button:hover { background: var(--green-soft); }
.qty input { width: 54px; text-align: center; border: 0; height: 44px; font-weight: 600; outline: none; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button, .qty input::-webkit-outer-spin-button { -webkit-appearance: none; }
.qty-sm button { width: 34px; height: 34px; font-size: 17px; }
.qty-sm span { min-width: 30px; text-align: center; font-weight: 600; }
.pd-actions { display: flex; flex-direction: column; gap: 10px; max-width: 440px; }
.pd-notes { list-style: none; padding: 14px 16px; margin: 18px 0 0; background: var(--green-soft); border-radius: 12px; display: flex; flex-direction: column; gap: 6px; font-size: 14.5px; max-width: 440px; }
.pd-desc { margin-top: 40px; background: #fff; border-radius: var(--radius); padding: 28px 32px; box-shadow: var(--shadow); font-size: 16px; }
.pd-desc h2 { font-size: 21px; color: var(--green-dark); margin: 22px 0 8px; padding-left: 12px; border-left: 4px solid var(--accent); }
.pd-desc h2:first-child { margin-top: 0; }
.pd-desc p { margin: 0; }
.pd-desc ul { margin: 0; padding-left: 22px; }
.pd-desc li { margin: 4px 0; }

/* ---------- cart / checkout ---------- */
.cart-layout, .checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; }
.cart-list { display: flex; flex-direction: column; gap: 12px; }
.cart-item { display: flex; gap: 14px; align-items: center; background: #fff; border-radius: var(--radius); padding: 12px; box-shadow: var(--shadow); }
.cart-item img { width: 84px; height: 84px; border-radius: 10px; object-fit: cover; }
.ci-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.ci-name { font-weight: 600; }
.ci-name .bn { color: var(--muted); font-weight: 400; }
.ci-info small { color: var(--muted); }
.ci-right { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.ci-remove { border: 0; background: none; color: var(--muted); padding: 6px; border-radius: 8px; }
.ci-remove:hover { color: var(--red); background: #fdecea; }
.summary { background: #fff; border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px; position: sticky; top: 140px; }
.summary h3 { font-size: 19px; }
.sum-row { display: flex; justify-content: space-between; gap: 10px; }
.sum-row small { color: var(--muted); }
.sum-row.muted { font-size: 14px; }
.sum-row.total { border-top: 1px dashed var(--line); padding-top: 12px; font-size: 19px; }
.sum-row.total b { color: var(--green); }
.sum-item { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.sum-item img { width: 52px; height: 52px; border-radius: 8px; object-fit: cover; }
.sum-item span { flex: 1; min-width: 0; }
.sum-item small { display: block; color: var(--muted); }
.co-form { background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; border: 0; padding: 0; margin: 0; }
.field label, .field legend { font-weight: 600; font-size: 14.5px; padding: 0; }
.field input, .field textarea { border: 1.5px solid var(--line); border-radius: 10px; padding: 11px 13px; background: #fff; outline: none; width: 100%; }
.field input:focus, .field textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px var(--green-soft); }
.field .err { color: var(--red); font-family: var(--font-bn); min-height: 0; }
.field.invalid input, .field.invalid textarea { border-color: var(--red); }
.radio { display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px; margin-top: 8px; cursor: pointer; font-weight: 500; }
.radio span { flex: 1; }
.radio input { accent-color: var(--green); width: 18px; height: 18px; }
.radio:has(input:checked) { border-color: var(--green); background: var(--green-soft); }
.cod-box { display: flex; gap: 12px; align-items: center; background: #fff8e6; border: 1.5px solid #f3d58a; border-radius: 10px; padding: 12px 14px; color: var(--accent-text); }
.cod-box b { display: block; color: var(--ink); }
.cod-box span { color: var(--muted); font-size: 14px; }

/* success */
.success { max-width: 620px; text-align: center; padding-top: 44px; padding-bottom: 20px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.success h1 { font-family: var(--font-head); color: var(--green-dark); font-size: 34px; }
.success p { margin: 0; font-size: 16.5px; }
.success-ic { width: 72px; height: 72px; border-radius: 50%; background: var(--green); color: #fff; font-size: 38px; display: flex; align-items: center; justify-content: center; }
.success-sum { position: static; width: 100%; text-align: left; }

/* ---------- footer ---------- */
.footer { background: var(--green-dark); color: #d6e7da; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 30px; padding-top: 44px; padding-bottom: 34px; }
.footer h4 { color: #fff; margin: 0 0 12px; font-size: 16px; }
.footer a, .footer span { display: block; padding: 3px 0; font-size: 14.5px; }
.footer .fc { display: flex; align-items: center; gap: 8px; }
.footer .fc svg { width: 16px; height: 16px; flex: none; color: var(--accent); }
.topbar-row .tb-ic { display: inline-flex; align-items: center; gap: 6px; }
.topbar-row .tb-ic svg { width: 16px; height: 16px; }
.pd-notes li { display: flex; gap: 8px; align-items: flex-start; }
.pd-notes li svg { width: 18px; height: 18px; flex: none; color: var(--green); margin-top: 2px; }
.footer a:hover { color: #fff; }
.footer p { margin: 12px 0 0; font-size: 14.5px; }
.logo-footer { display: flex !important; }
.logo-footer .logo-text b { color: #fff; }
.logo-footer .logo-text small { color: var(--accent); display: block; padding: 0; font-size: 10.5px; }
.footer-bottom .dev-credit { display: block; margin-top: 4px; }
.footer-bottom .dev-credit a { display: inline; padding: 0; color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom .dev-credit a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding: 14px 0; font-size: 13px; text-align: center; color: #a9c4b0; }

/* floating whatsapp + bottom nav + toast */
.wa-float { position: fixed; right: 20px; bottom: 24px; z-index: 45; width: 56px; height: 56px; border-radius: 50%; background: var(--wa); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(0, 0, 0, .2); }
.wa-float svg { width: 30px; height: 30px; }
.bottom-nav { display: none; }
.toast { position: fixed; left: 50%; bottom: 90px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 10px; opacity: 0; pointer-events: none; transition: .25s; z-index: 70; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hdr-call { display: none; }
  .search { margin-left: auto; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .why-grid, .trust { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  body { font-size: 14.5px; padding-bottom: 64px; }
  .container { padding-left: 14px; padding-right: 14px; }
  .topbar-row { justify-content: center; }
  .topbar-row > span, .topbar-row > .tb-ic { display: none; }
  .header-row { height: 62px; gap: 8px; justify-content: space-between; }
  .menu-btn { display: inline-flex; }
  .header .search, .catnav { display: none; }
  .logo { position: absolute; left: 50%; transform: translateX(-50%); }
  .logo img { width: 36px; height: 36px; }
  .logo-text b { font-size: 19px; }
  .logo-text small { font-size: 9px; }
  .footer .logo { position: static; transform: none; }
  .header-row { position: relative; }

  .hero { grid-template-columns: 1fr; margin-top: 12px; }
  .slider { aspect-ratio: 1.7 / 1; border-radius: 12px; }
  .slide::after { background: linear-gradient(90deg, rgba(0, 0, 0, 0) 20%, rgba(0, 0, 0, .6) 62%); }
  .slide-text { width: 54%; right: 4%; gap: 6px; }
  .slide-text h1 { font-size: 18px; }
  .slide-text p { display: none; }
  .slide-text .btn { padding: 6px 12px; font-size: 13px; }
  .slide-tag { font-size: 10px; padding: 3px 7px; }
  .slider-arrow { display: none; }
  .dots { bottom: 8px; }
  .side-banner, .trust { display: none; }

  .section { margin-top: 30px; }
  .section-head { margin-bottom: 16px; }
  .section-head h2 { font-size: 22px; }
  .see-all { position: static; display: inline-block; margin-top: 6px; font-size: 13.5px; }
  .section-head::after { margin-top: 8px; }

  /* exactly 3 categories visible, one-step auto slide, arrows on the edges */
  .cat-row { gap: 12px; padding: 4px 0 8px; }
  .cat-row > :first-child { margin-left: 0; }
  .cat-row > :last-child { margin-right: 0; }
  .cat { width: calc((100% - 24px) / 3); }
  .cat-tile { width: 100%; height: auto; aspect-ratio: 1; padding: 10px; border-radius: 16px; }
  .cat-name { font-size: 14px; }
  .cat-arrow { top: calc((100vw - 28px - 24px) / 6 - 18px); width: 34px; height: 34px; background: var(--accent); color: #fff; }
  .cat-arrow svg { width: 18px; height: 18px; }
  .cat-arrow.prev { left: -4px; }
  .cat-arrow.next { right: -4px; }

  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .card-body { padding: 10px; gap: 6px; }
  .card-title { font-size: 14px; }
  .price { font-size: 16px; }
  .card-btn { padding: 9px 10px; font-size: 14px; }

  .promo-strip-row { flex-direction: column; align-items: flex-start; }
  .promo-strip h2 { font-size: 20px; }
  .promo-pair { grid-template-columns: 1fr; gap: 12px; }
  .promo-text { right: 4%; max-width: 54%; padding: 10px 12px; gap: 4px; }
  .promo-text h3 { font-size: 17px; }
  .promo-text p { font-size: 13.5px; margin-bottom: 4px; }
  .why-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .why-grid > div { padding: 16px; }

  .page-head h1 { font-size: 24px; }
  .shop-bar { flex-direction: column; align-items: stretch; }
  .sort { justify-content: flex-end; }
  .pd { grid-template-columns: 1fr; gap: 18px; }
  .pd-info h1 { font-size: 26px; }
  .pd-price { font-size: 26px; }
  .pd-actions, .pd-notes { max-width: none; }
  .pd-desc { padding: 20px 18px; margin-top: 24px; font-size: 15.5px; }
  .cart-layout, .checkout-layout { grid-template-columns: 1fr; gap: 16px; }
  .summary { position: static; }
  .co-form { padding: 18px; }
  .footer { margin-top: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 22px; padding-top: 30px; }
  .footer-grid > :first-child, .footer-grid > :last-child { grid-column: 1 / -1; }

  .bottom-nav { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; height: 62px; background: #fff; border-top: 1px solid var(--line); z-index: 45; box-shadow: 0 -4px 14px rgba(0, 0, 0, .05); }
  .bottom-nav a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 11.5px; font-weight: 500; color: var(--muted); }
  .bottom-nav a.active { color: var(--green); }
  .bn-cart { position: relative; display: flex; }
  .bn-cart .cart-count { top: -6px; right: -12px; }
  .wa-float { bottom: 76px; right: 14px; width: 52px; height: 52px; }
}
@media (max-width: 380px) {
  .logo-text small { display: none; }
}
