/* Fresh Frozen Food storefront — plain, shop-like, mobile first. One file, no framework. */
@font-face { font-family: 'SolaimanLipi'; src: url('../../font/SolaimanLipi.ttf') format('truetype'); font-display: swap; }
@font-face { font-family: 'Roboto'; font-weight: 400; src: url('../fonts/roboto-400.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Roboto'; font-weight: 500; src: url('../fonts/roboto-500.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Roboto'; font-weight: 700; src: url('../fonts/roboto-700.woff2') format('woff2'); font-display: swap; }

:root {
    --g: #1f6b34; --g-dark: #164d25; --g-deep: #123b1f; --g-soft: #e8f2ea;
    --red: #c62828; --gold: #f2c14e; --ink: #1d2420; --muted: #66726b; --line: #dfe5e1; --bg: #f6f7f3; --white: #fff;
    --radius: 8px; --shadow: 0 6px 24px rgba(18, 59, 31, .12);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { overflow-x: hidden; }
.grid > *, .two > *, .hero > * { min-width: 0; }
body { margin: 0; background: var(--bg); color: var(--ink); font-size: 15px; line-height: 1.5; padding-bottom: 64px; }
body.lang-bn { font-family: 'SolaimanLipi', 'Noto Sans Bengali', Arial, sans-serif; font-size: 16px; }
body.lang-en { font-family: 'Roboto', Arial, sans-serif; }
body.noscroll { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; }
.h2 { font-size: 18px; } .h3 { font-size: 17px; margin: 18px 0 6px; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 14px; }
.ic { flex: none; vertical-align: middle; }
.pos { position: relative; }
.small { font-size: 13px; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: 8px 12px; z-index: 200; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--g); outline-offset: 2px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid var(--g); border-radius: var(--radius); background: var(--g); color: #fff; padding: 9px 16px; font: inherit; cursor: pointer; text-align: center; line-height: 1.2; transition: background .15s, transform .1s; }
.btn:hover { background: var(--g-dark); border-color: var(--g-dark); }
.btn:active { transform: scale(.98); }
.btn.alt { background: #fff; color: var(--g); }
.btn.alt:hover { background: var(--g-soft); }
.btn.red { background: var(--red); border-color: var(--red); }
.btn.block { display: flex; width: 100%; }
.btn.lg { padding: 13px 18px; font-size: 17px; }
.btn[disabled], .btn.is-off { opacity: .5; cursor: not-allowed; pointer-events: none; }
.btn.off { background: #d9dee2; color: #55606a; border-color: #d9dee2; cursor: not-allowed; pointer-events: none; }
.btn.busy { position: relative; color: transparent !important; }
.btn.busy::after { content: ''; position: absolute; width: 18px; height: 18px; border: 2px solid #fff; border-right-color: transparent; border-radius: 50%; animation: spin .6s linear infinite; }
.btn.alt.busy::after { border-color: var(--g); border-right-color: transparent; }
@keyframes spin { to { transform: rotate(360deg); } }
.linkbtn { background: none; border: 0; padding: 4px 0; color: var(--muted); font: inherit; font-size: 13px; cursor: pointer; display: inline-flex; gap: 4px; align-items: center; }
.linkbtn:hover { color: var(--red); }
.iconbtn { background: none; border: 0; padding: 6px; cursor: pointer; color: inherit; display: inline-grid; place-items: center; border-radius: 6px; }
.iconbtn:hover { background: var(--g-soft); }
.price { font-weight: 700; color: var(--g-dark); }
.old { color: var(--muted); text-decoration: line-through; font-weight: 400; margin-left: 6px; font-size: .88em; }
.only-m { } .only-d { display: none !important; }
@media (min-width: 900px) { .only-m { display: none !important; } .only-d { display: revert !important; } a.only-d { display: flex !important; } }
.js .nojs { display: none !important; }

/* announcement */
.ann { background: var(--g-deep); color: #fff; font-size: 13px; overflow: hidden; white-space: nowrap; }
.ann span { display: inline-block; padding: 6px 0 6px 100%; animation: marq 30s linear infinite; }
@keyframes marq { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .ann span { animation: none; padding-left: 12px; } html { scroll-behavior: auto; } }

/* header */
.top { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; transition: box-shadow .2s; }
.top.scrolled { box-shadow: 0 2px 14px rgba(0,0,0,.08); }
.top .wrap { display: flex; align-items: center; gap: 10px 14px; padding-top: 10px; padding-bottom: 10px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 700; color: var(--g-dark); line-height: 1.1; min-width: 0; }
.brand .mark { width: 40px; height: 40px; border-radius: 12px; background: var(--g); color: #fff; display: grid; place-items: center; flex: none; }
.brand b { display: block; font-size: 18px; white-space: nowrap; }
.brand small { display: block; font-weight: 400; color: var(--muted); font-size: 12px; white-space: nowrap; }
.brand.light { color: #fff; } .brand.light small { color: #b9cfbf; } .brand.light .mark { background: rgba(255,255,255,.12); }
.search { flex: 1 1 100%; display: flex; min-width: 0; order: 3; position: relative; }
.search input { flex: 1; min-width: 0; border: 1px solid #cfd8d2; border-right: 0; border-radius: var(--radius) 0 0 var(--radius); padding: 10px 14px; font: inherit; background: #fafbfa; }
.search input:focus { outline: none; border-color: var(--g); background: #fff; }
.search button { border: 0; background: var(--g); color: #fff; padding: 0 16px; border-radius: 0 var(--radius) var(--radius) 0; cursor: pointer; display: grid; place-items: center; }
.sugg { position: absolute; top: calc(100% + 4px); left: 0; right: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); z-index: 60; overflow: hidden; }
.sugg a { display: flex; gap: 10px; align-items: center; padding: 8px 12px; border-bottom: 1px solid var(--line); }
.sugg a:hover, .sugg a.on { background: var(--g-soft); }
.sugg img { width: 40px; height: 40px; object-fit: cover; border-radius: 6px; }
.sugg small { display: block; color: var(--g-dark); font-weight: 700; }
.sugg .all { justify-content: center; color: var(--g); font-size: 14px; border-bottom: 0; }
.sugg .none { padding: 14px; color: var(--muted); text-align: center; }
.tools { margin-left: auto; display: flex; align-items: center; gap: 8px; font-size: 13px; }
.tool { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-width: 64px; padding: 6px 10px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--g-dark); white-space: nowrap; }
.tool:hover, .tool.on { border-color: var(--g); background: var(--g-soft); }
.cartbtn { flex-direction: row; gap: 8px; background: var(--g); color: #fff; border-color: var(--g); padding: 7px 12px; }
.cartbtn:hover { background: var(--g-dark); color: #fff; }
.cartbtn > span:last-child { display: flex; flex-direction: column; line-height: 1.15; }
.cartbtn b { font-size: 13px; font-family: inherit; }
.cartbtn .badge { position: absolute; top: -8px; right: -9px; border: 2px solid var(--g); }
.bump { animation: bump .35s ease; }
@keyframes bump { 40% { transform: scale(1.12); } }
.badge { background: var(--red); color: #fff; border-radius: 10px; font-size: 11px; min-width: 19px; padding: 1px 5px; text-align: center; line-height: 1.4; }
.langbtn { border: 1px solid var(--line); border-radius: 20px; padding: 5px 11px; font-size: 13px; white-space: nowrap; }
.langbtn:hover { border-color: var(--g); color: var(--g); }
@media (min-width: 900px) {
    .top .wrap { flex-wrap: nowrap; gap: 18px; padding-top: 12px; padding-bottom: 12px; }
    .search { order: 0; flex: 1 1 auto; max-width: 620px; }
    .brand b { font-size: 20px; }
}

/* category bar */
.cats { background: var(--g-deep); color: #fff; }
.cats .wrap { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.cats .wrap::-webkit-scrollbar { display: none; }
.cats a { padding: 11px 14px; white-space: nowrap; font-size: 15px; display: flex; align-items: center; gap: 5px; position: relative; }
.cats a:hover { background: rgba(255,255,255,.08); }
.cats a.on::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 2px; background: var(--gold); border-radius: 2px; }
.cats a.hot { color: var(--gold); }

/* drawers */
.scrim { position: fixed; inset: 0; background: rgba(10, 25, 15, .45); z-index: 80; opacity: 0; transition: opacity .2s; }
.scrim.open { opacity: 1; }
.drawer { position: fixed; top: 0; bottom: 0; width: min(380px, 88vw); background: #fff; z-index: 90; display: flex; flex-direction: column; transition: transform .22s ease; box-shadow: var(--shadow); }
.drawer.left { left: 0; transform: translateX(-100%); }
.drawer.right { right: 0; transform: translateX(100%); }
.drawer.open { transform: none; }
.drawer-h { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 17px; color: var(--g-dark); }
.drawer-b { flex: 1; overflow-y: auto; padding: 6px 14px; overscroll-behavior: contain; }
.drawer-f { padding: 12px 14px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #fbfcfb; }
.menu-list a { display: flex; gap: 10px; align-items: center; padding: 12px 4px; border-bottom: 1px solid var(--line); }
.menu-list a.sub { padding-left: 32px; color: var(--muted); font-size: 15px; }
.menu-list a:hover { color: var(--g); }
.dline { display: grid; grid-template-columns: 56px 1fr auto; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); align-items: center; transition: opacity .2s; }
.dline img { width: 56px; height: 56px; object-fit: cover; border-radius: 6px; }
.dline .lname { font-size: 14px; line-height: 1.3; display: block; }
.dend { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.gone { opacity: .35; pointer-events: none; }
.loading { height: 120px; background: linear-gradient(90deg, #f0f2f0 25%, #f7f8f7 50%, #f0f2f0 75%); background-size: 200% 100%; animation: shimmer 1s infinite; border-radius: 8px; margin: 12px 0; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* hero */
.hero { display: grid; gap: 12px; margin: 14px 0; }
.slides { display: grid; position: relative; background: #fff; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); min-height: 170px; }
.slide { display: none; } .slide.on { display: block; animation: fade .4s; }
@keyframes fade { from { opacity: .4; } }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.dots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; gap: 6px; justify-content: center; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.75); border: 1px solid rgba(0,0,0,.25); cursor: pointer; }
.dots i.on { background: var(--g); width: 22px; border-radius: 6px; }
.hero-text { background: linear-gradient(135deg, var(--g-soft), #fff 70%); padding: 28px 22px; display: grid; gap: 12px; align-content: center; min-height: 200px; overflow-wrap: anywhere; }
.hero-text h1 { font-size: 26px; color: var(--g-dark); }
.hero-text .row { display: flex; gap: 8px; flex-wrap: wrap; }
.sidebn { display: none; gap: 12px; }
.sidebn a { display: block; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: #fff; }
.sidebn img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 899px) { .tools .langbtn { display: none; } .brand small { display: none; } }
@media (min-width: 900px) { .hero { grid-template-columns: 2.1fr 1fr; } .hero.solo { grid-template-columns: 1fr; } .sidebn { display: grid; } .slides { min-height: 300px; } .hero-text { min-height: 300px; padding: 44px; } .hero-text h1 { font-size: 36px; } }

/* trust strip */
.trust { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin-bottom: 18px; }
.trust div { background: #fff; padding: 14px 12px; display: flex; gap: 10px; align-items: center; }
.trust .ic-wrap { width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--g-soft); color: var(--g); display: grid; place-items: center; }
.trust b { display: block; font-size: 14px; }
.trust small { color: var(--muted); font-size: 12px; }
@media (min-width: 820px) { .trust { grid-template-columns: repeat(4, 1fr); } }

/* sections + grid */
.sec { margin: 26px 0; }
.sec-h { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; margin-bottom: 14px; }
.sec-h h2 { font-size: 22px; color: var(--g-deep); }
.sec-h .eyebrow { display: block; font-size: 13px; color: var(--g); margin-bottom: 2px; }
.sec-h a { color: var(--g); font-size: 14px; white-space: nowrap; }
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .grid { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
@media (min-width: 1160px) { .grid { grid-template-columns: repeat(5, 1fr); } }
.card { background: #fff; border: 1px solid var(--line); border-radius: 12px; display: flex; flex-direction: column; overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.card:hover { border-color: #b9d6bf; box-shadow: 0 6px 18px rgba(18,59,31,.08); }
.card.in-cart { border-color: var(--g); }
.card .im { aspect-ratio: 1 / 1; background: #f0f2f0; display: block; overflow: hidden; }
.card .im img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.card:hover .im img { transform: scale(1.04); }
.card .bd { padding: 10px 11px 4px; flex: 1; display: flex; flex-direction: column; gap: 4px; }
.card .nm { font-size: 15px; font-weight: 500; line-height: 1.3; min-height: 2.6em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card .pk { font-size: 12px; color: var(--muted); min-height: 26px; display: flex; align-items: center; }
.card .pr { margin-top: auto; font-size: 17px; }
.chips { display: flex; flex-wrap: wrap; gap: 5px; min-height: 26px; }
.chip { border: 1px solid var(--line); background: #fff; border-radius: 14px; padding: 2px 9px; font: inherit; font-size: 12px; cursor: pointer; color: var(--ink); line-height: 1.6; }
.chip:hover { border-color: var(--g); }
.chip.on { border-color: var(--g); background: var(--g); color: #fff; }
.chip.na { text-decoration: line-through; opacity: .65; }
.card .ft { padding: 8px 11px 11px; }
.buy { display: flex; gap: 6px; margin: 0; }
.buy .btn { flex: 1; padding: 8px 6px; font-size: 14px; min-height: 38px; }
.buy .btn.sm { flex: 0 0 42px; padding: 8px 0; }
.card .ft > .btn.off { width: 100%; font-size: 14px; padding: 8px 6px; }
.stepper { display: inline-flex; align-items: center; justify-content: space-between; border: 1px solid var(--g); border-radius: var(--radius); overflow: hidden; background: #fff; flex: 1; min-height: 38px; }
.stepper button { border: 0; background: var(--g-soft); color: var(--g-dark); width: 36px; align-self: stretch; cursor: pointer; display: grid; place-items: center; }
.stepper button:hover { background: #d4e8d9; }
.stepper span { flex: 1; text-align: center; font-weight: 700; color: var(--g-dark); min-width: 26px; }
.stepper.sm { flex: none; min-height: 30px; margin-top: 5px; }
.stepper.sm button { width: 30px; }
.ribbon { position: absolute; top: 8px; left: 8px; background: var(--red); color: #fff; font-size: 12px; padding: 2px 8px; border-radius: 4px; font-weight: 700; }

/* product page */
.pp { display: grid; gap: 22px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px; margin: 14px 0; }
@media (min-width: 860px) { .pp { grid-template-columns: minmax(0, 460px) 1fr; padding: 24px; } }
.pp .main { aspect-ratio: 1/1; background: #f0f2f0; border-radius: 10px; overflow: hidden; }
.pp .main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: 8px; margin-top: 8px; overflow-x: auto; }
.thumbs button { padding: 0; border: 2px solid var(--line); border-radius: 6px; cursor: pointer; background: none; flex: none; overflow: hidden; }
.thumbs button.on { border-color: var(--g); }
.thumbs img { width: 62px; height: 62px; object-fit: cover; }
.pp h1 { font-size: 26px; color: var(--g-deep); }
.pp .big { font-size: 30px; margin: 10px 0; }
.lbl { margin-top: 12px; color: var(--muted); font-size: 14px; }
.packs { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 14px; }
.packs a { border: 1.5px solid var(--line); border-radius: var(--radius); padding: 8px 14px; background: #fff; display: flex; flex-direction: column; line-height: 1.3; min-width: 96px; }
.packs a span { font-size: 13px; color: var(--muted); }
.packs a:hover { border-color: var(--g); }
.packs a.on { border-color: var(--g); background: var(--g-soft); color: var(--g-dark); }
.packs a.on span { color: var(--g-dark); }
.packs a.na { opacity: .6; }
.qty { display: inline-flex; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.qty button { width: 38px; border: 0; background: #f0f2f0; font-size: 18px; cursor: pointer; }
.qty button:hover { background: var(--g-soft); }
.qty input { width: 48px; border: 0; text-align: center; font: inherit; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.buyrow { display: flex; gap: 8px; flex-wrap: wrap; align-items: stretch; margin: 12px 0 4px; }
.incart { margin: 4px 0 0; color: var(--g-dark); }
.pp-points { list-style: none; padding: 12px 14px; margin: 14px 0; background: #f8faf8; border: 1px solid var(--line); border-radius: var(--radius); display: grid; gap: 8px; font-size: 14px; }
.pp-points li { display: flex; gap: 8px; align-items: center; }
.pp-points .ic { color: var(--g); }
.pp-points a { color: var(--g); text-decoration: underline; }
.desc { white-space: pre-line; color: #36403a; }
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 60px; z-index: 45; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 14px rgba(0,0,0,.06); display: flex; gap: 8px; align-items: center; padding: 8px 12px; }
.sticky-buy .price { flex: 1; font-size: 18px; }

/* cart / checkout / boxes */
.box { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px; margin: 14px 0; }
.box h2, .box .h2 { font-size: 18px; margin-bottom: 10px; color: var(--g-dark); }
.crow { display: grid; grid-template-columns: 62px 1fr auto; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); align-items: center; transition: opacity .2s; }
.crow:last-of-type { border-bottom: 0; }
.crow img { width: 62px; height: 62px; object-fit: cover; border-radius: 6px; }
.lname:hover { color: var(--g); }
.sum { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; }
.sum.t { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 10px; font-size: 18px; font-weight: 700; }
.two { display: grid; gap: 14px; }
@media (min-width: 900px) { .two { grid-template-columns: 1.5fr 1fr; align-items: start; } .sticky-side { position: sticky; top: 90px; } }
label.f { display: block; margin-bottom: 12px; font-size: 14px; }
label.f > span, .f > span { display: block; margin-bottom: 4px; color: var(--muted); }
.in, select.in, textarea.in { width: 100%; border: 1px solid #c8d0cb; border-radius: var(--radius); padding: 11px 12px; font: inherit; background: #fff; }
.in:focus { outline: 2px solid var(--g-soft); border-color: var(--g); }
.in[readonly] { background: #f4f6f4; }
.err { background: #fdecea; border: 1px solid #f5c2bd; color: #8a1c14; padding: 9px 12px; border-radius: var(--radius); margin-bottom: 10px; }
.ok { background: var(--g-soft); border: 1px solid #b9d6bf; color: var(--g-dark); padding: 9px 12px; border-radius: var(--radius); margin-bottom: 10px; }
.err.small, .ok.small { padding: 6px 10px; font-size: 13px; }
.pay { display: flex; gap: 10px; border: 1px solid var(--line); border-radius: var(--radius); padding: 11px; margin-bottom: 8px; cursor: pointer; align-items: flex-start; }
.pay input { margin-top: 4px; accent-color: var(--g); }
.pay:has(input:checked) { border-color: var(--g); background: var(--g-soft); }
.steps { display: flex; margin: 14px 0; }
.steps div { flex: 1; text-align: center; font-size: 12px; color: var(--muted); position: relative; }
.steps div::before { content: ''; display: block; width: 22px; height: 22px; border-radius: 50%; background: var(--line); margin: 0 auto 4px; }
.steps div.done { color: var(--g-dark); }
.steps div.done::before { background: var(--g); box-shadow: inset 0 0 0 5px var(--g); }
.steps div.cur::before { outline: 3px solid var(--g-soft); }
.tl { list-style: none; padding: 0; margin: 0; }
.tl li { padding: 6px 0 6px 18px; border-left: 2px solid var(--line); margin-left: 6px; position: relative; font-size: 14px; }
.tl li::before { content: ''; position: absolute; left: -6px; top: 12px; width: 10px; height: 10px; border-radius: 50%; background: var(--g); }
.coupon { display: flex; gap: 8px; margin-top: 10px; } .coupon .in { flex: 1; text-transform: uppercase; }
.offer { background: #fff4d6; border: 1px solid #f0d58a; border-radius: 6px; padding: 8px 10px; margin: 6px 0; font-size: 14px; }

/* home blocks */
.how { display: grid; gap: 10px; grid-template-columns: repeat(3, 1fr); text-align: center; }
.how div { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 8px; font-size: 14px; }
.how b { display: grid; place-items: center; width: 36px; height: 36px; margin: 0 auto 8px; border-radius: 50%; background: var(--g); color: #fff; }
.about { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
.about p { margin: 8px 0 0; max-width: 780px; }
.catgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.catgrid a { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px; display: flex; align-items: center; justify-content: space-between; gap: 8px; font-weight: 500; }
.catgrid a:hover { border-color: var(--g); color: var(--g); }

/* information pages */
.page { max-width: 860px; line-height: 1.75; }
.page h2, .page h3 { margin: 16px 0 6px; }
.page ul, .page ol { padding-left: 22px; }
.page table { border-collapse: collapse; }
.page td, .page th { border: 1px solid var(--line); padding: 6px 10px; }
.page-head { margin: 16px 0 6px; }
.page-head h1 { font-size: 26px; color: var(--g-deep); }
.page-head p { margin: 4px 0 0; color: var(--muted); }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 8px; }
.faq summary { cursor: pointer; padding: 14px 16px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 10px; color: var(--g-deep); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 20px; line-height: 1; color: var(--g); }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin: 0; padding: 0 16px 14px; color: #36403a; }
.tbl { width: 100%; border-collapse: collapse; background: #fff; }
.tbl th, .tbl td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.tbl th { background: #f3f6f4; font-size: 13px; color: var(--muted); font-weight: 500; }
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.cards3 { display: grid; gap: 12px; }
@media (min-width: 760px) { .cards3 { grid-template-columns: repeat(3, 1fr); } }
.cbox { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px; display: flex; gap: 12px; align-items: flex-start; }
.cbox .ic-wrap { width: 44px; height: 44px; border-radius: 50%; background: var(--g-soft); color: var(--g); display: grid; place-items: center; flex: none; }
.cbox b { display: block; color: var(--g-deep); }
.cbox a { color: var(--g); }
.deal { background: #fffaf0; border: 1px dashed #e0b84f; border-radius: 12px; padding: 14px 16px; display: flex; gap: 12px; align-items: center; }
.deal .ic-wrap { color: #a26b00; }
.deal b { color: #6b4700; }
.map { border: 0; width: 100%; height: 320px; border-radius: 12px; }

/* sign in / sign up */
.auth { display: grid; gap: 0; max-width: 940px; margin: 22px auto; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
@media (min-width: 860px) { .auth { grid-template-columns: 1fr 1.1fr; } }
.auth-side { background: linear-gradient(160deg, var(--g-deep), var(--g)); color: #e9f3ec; padding: 34px 30px; display: none; flex-direction: column; justify-content: center; gap: 14px; }
@media (min-width: 860px) { .auth-side { display: flex; } }
.auth-side h2 { color: #fff; font-size: 26px; }
.auth-side ul { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 10px; }
.auth-side li { display: flex; gap: 10px; align-items: center; }
.auth-side .ic { color: var(--gold); }
.auth-main { padding: 26px 22px; }
@media (min-width: 860px) { .auth-main { padding: 36px 40px; } }
.auth-main h1 { font-size: 24px; color: var(--g-deep); }
.auth-main .lead { color: var(--muted); margin: 6px 0 18px; }
.auth-alt { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.auth-alt a { color: var(--g); font-weight: 700; }
.biz { display: flex; gap: 10px; align-items: center; margin-top: 12px; padding: 12px; background: #f8faf8; border: 1px solid var(--line); border-radius: var(--radius); font-size: 14px; }
.biz:hover { border-color: var(--g); }
.biz small { display: block; color: var(--muted); }
.code-in { letter-spacing: .5em; text-align: center; font-size: 22px !important; font-family: Roboto, Arial, sans-serif !important; }
.note { font-size: 13px; min-height: 18px; margin: 4px 0 0; }
.note.good { color: #1b6e3a; } .note.bad { color: #b3261e; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.pw { position: relative; } .pw .in { padding-right: 44px; } .pw button { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); }
.check { display: flex; gap: 8px; align-items: center; font-size: 14px; }
.check input { accent-color: var(--g); width: 16px; height: 16px; }

/* account */
.acct { display: grid; gap: 14px; margin: 14px 0; }
@media (min-width: 900px) { .acct { grid-template-columns: 250px 1fr; align-items: start; } }
.acct-nav { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.acct-me { padding: 16px; display: flex; gap: 10px; align-items: center; border-bottom: 1px solid var(--line); background: var(--g-soft); }
.acct-me .av { width: 44px; height: 44px; border-radius: 50%; background: var(--g); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 18px; flex: none; }
.acct-me small { display: block; color: var(--muted); }
.acct-tabs { display: flex; overflow-x: auto; }
@media (min-width: 900px) { .acct-tabs { flex-direction: column; } }
.acct-tabs a, .acct-tabs button { display: flex; gap: 9px; align-items: center; padding: 12px 16px; white-space: nowrap; border: 0; background: none; font: inherit; cursor: pointer; color: var(--ink); width: 100%; text-align: left; }
.acct-tabs a.on { color: var(--g); background: #f6faf7; box-shadow: inset 3px 0 0 var(--g); }
.acct-tabs a:hover, .acct-tabs button:hover { color: var(--g); }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.stat small { color: var(--muted); display: block; font-size: 13px; }
.stat b { font-size: 22px; color: var(--g-deep); }
.stat.warn b { color: var(--red); }
.olist { display: grid; gap: 10px; }
.orow { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-items: center; }
.orow .acts { grid-column: 1 / -1; display: flex; gap: 8px; flex-wrap: wrap; }
.orow .acts .btn { padding: 6px 12px; font-size: 14px; }
.pill { display: inline-block; padding: 1px 10px; border-radius: 12px; font-size: 12px; background: #eef1ef; color: var(--muted); }
.pill.p-run { background: #fff4d6; color: #7a5600; }
.pill.p-ok { background: var(--g-soft); color: var(--g-dark); }
.pill.p-bad { background: #fdecea; color: #8a1c14; }

/* footer */
.foot { background: var(--g-deep); color: #cfe0d3; margin-top: 34px; font-size: 14px; }
.foot-cta { background: var(--g); color: #fff; }
.foot-cta .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 16px; padding-bottom: 16px; }
.foot-cta b { display: block; font-size: 18px; }
.foot-cta span { font-size: 13px; opacity: .85; }
.foot-cta-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.foot-cta .btn { background: #fff; color: var(--g-dark); border-color: #fff; }
.foot-cta .btn.wa-btn { background: #25d366; color: #fff; border-color: #25d366; }
.foot-cols { display: grid; gap: 22px; grid-template-columns: 1fr 1fr; padding-top: 30px; padding-bottom: 10px; }
.foot-brand { grid-column: 1 / -1; }
@media (min-width: 900px) { .foot-cols { grid-template-columns: 1.6fr 1fr 1fr 1fr 1.1fr; } .foot-brand { grid-column: auto; } }
.foot-brand p { margin: 12px 0; max-width: 380px; color: #b9cfbf; }
.foot h4 { color: #fff; margin-bottom: 10px; font-size: 16px; }
.foot-cols a, .foot-cols .ic-line { display: flex; gap: 7px; align-items: center; padding: 3px 0; }
.foot-cols a:hover { color: #fff; }
.foot .social { display: inline-grid !important; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.1); margin-right: 6px; }
.foot .social:hover { background: var(--g); }
.copy { border-top: 1px solid rgba(255,255,255,.12); margin-top: 14px; padding-top: 12px; padding-bottom: 14px; display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; font-size: 12px; color: #9fb8a6; }
.paywith i { font-style: normal; border: 1px solid rgba(255,255,255,.2); border-radius: 4px; padding: 1px 7px; margin-left: 5px; }

/* mobile bottom nav + whatsapp + toast */
.mnav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: #fff; border-top: 1px solid var(--line); display: flex; padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -2px 10px rgba(0,0,0,.05); }
.mnav a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 7px 0 6px; font-size: 11.5px; color: var(--muted); position: relative; }
.mnav a.on { color: var(--g); font-weight: 700; }
.mnav .badge { position: absolute; top: -6px; right: -12px; }
.wa { position: fixed; right: 14px; bottom: 78px; z-index: 60; width: 54px; height: 54px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 3px 12px rgba(0,0,0,.28); }
.wa svg { width: 30px; height: 30px; fill: #fff; }
.has-sticky .wa { bottom: 136px; }
@media (min-width: 900px) { body { padding-bottom: 0; } .mnav { display: none; } .wa { bottom: 22px !important; } }
.toast { position: fixed; left: 50%; top: 16px; transform: translate(-50%, -20px); background: var(--g-dark); color: #fff; padding: 10px 18px; border-radius: 22px; z-index: 120; font-size: 14px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; box-shadow: var(--shadow); max-width: 92vw; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.bad { background: #8a1c14; }
.empty { text-align: center; padding: 40px 10px; color: var(--muted); }
.empty .ic { margin: 0 auto; color: #b9c6bd; }
.bc { font-size: 13px; color: var(--muted); margin: 12px 0 0; }
.bc a:hover { color: var(--g); }
.filter { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 12px 0; justify-content: space-between; }
.filter select { border: 1px solid var(--line); border-radius: var(--radius); padding: 7px 9px; font: inherit; background: #fff; }
.listing-h h1 { font-size: 24px; color: var(--g-deep); margin-top: 10px; }
.catpills { display: flex; gap: 6px; overflow-x: auto; padding: 4px 0; scrollbar-width: none; }
.catpills a { border: 1px solid var(--line); background: #fff; border-radius: 18px; padding: 5px 13px; white-space: nowrap; font-size: 14px; }
.catpills a.on, .catpills a:hover { border-color: var(--g); background: var(--g); color: #fff; }

/* live form feedback (sign-in, sign-up, password pages) */
.in.is-ok { border-color: #2e8b4e; background-image: linear-gradient(transparent, transparent); box-shadow: inset 3px 0 0 #2e8b4e; }
.in.is-bad { border-color: #c62828; box-shadow: inset 3px 0 0 #c62828; }
.note .note-act { font-weight: 700; text-decoration: underline; color: inherit; white-space: nowrap; }
.note.bad .note-act { color: var(--g-dark); }
.meter { display: flex; gap: 4px; align-items: center; margin: -4px 0 2px; }
.meter i { flex: 1; height: 5px; border-radius: 3px; background: var(--line); transition: background .2s; }
.meter span { flex: 0 0 auto; min-width: 64px; text-align: right; font-size: 12px; color: var(--muted); }
.meter[data-level="1"] i:nth-child(-n+1) { background: #c62828; }
.meter[data-level="2"] i:nth-child(-n+2) { background: #e08a00; }
.meter[data-level="3"] i:nth-child(-n+3) { background: #7cb342; }
.meter[data-level="4"] i { background: #2e8b4e; }

/* an icon never grows past its box, whatever a page passes in */
svg.ic { max-width: 48px; max-height: 48px; }
@media (max-width: 899px) { .brand b { font-size: 16px; } .brand .mark { width: 36px; height: 36px; } .top .wrap { gap: 8px 10px; } }
