/* Saksham Mart — public storefront */
:root {
    --ink: #0b1b3f;
    --ink-2: #334155;
    --muted: #64748b;
    --line: #e6ebf2;
    --bg: #f6f8fc;
    --card: #ffffff;
    --saffron: #ef6c1a;
    --saffron-2: #ff8a3d;
    --green: #1f7a3a;
    --blue: #0b6bff;
    --blue-2: #0a58d6;
    --red: #e11d48;
    --radius: 18px;
    --shadow: 0 10px 30px -18px rgba(11, 27, 63, .35);
    --shadow-lg: 0 24px 50px -24px rgba(11, 27, 63, .45);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.mart { margin: 0; background: var(--bg); color: var(--ink); font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif; -webkit-font-smoothing: antialiased; }
.mart a { color: inherit; text-decoration: none; }
.mart img { max-width: 100%; display: block; }
.wrap { width: min(1480px, 100% - 32px); margin-inline: auto; }

/* ── Header ───────────────────────────────────────────────────────────────── */
.mh { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.mh-row { display: flex; align-items: center; gap: 22px; padding: 12px 0; }
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; box-shadow: 0 6px 16px -8px rgba(239, 108, 26, .7); }
.brand-name { font-size: 1.75rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.brand-name .s { color: var(--saffron); }
.brand-name .m { color: var(--green); }
.brand-tag { font-size: .68rem; color: var(--ink-2); font-weight: 500; margin-top: 3px; letter-spacing: .01em; }

.loc { position: relative; flex: none; }
.loc-btn { display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: #f8fafc; font: inherit; font-weight: 600; font-size: .9rem; color: var(--ink); cursor: pointer; max-width: 260px; }
.loc-btn i.bi-geo-alt-fill { color: var(--blue); }
.loc-btn span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.loc-menu { position: absolute; top: calc(100% + 8px); left: 0; width: 280px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 8px; display: none; z-index: 60; max-height: 360px; overflow: auto; }
.loc.open .loc-menu { display: block; }
.loc-menu button { width: 100%; text-align: left; border: 0; background: none; padding: 10px 12px; border-radius: 10px; font: inherit; font-size: .9rem; color: var(--ink); cursor: pointer; display: flex; align-items: center; gap: 8px; }
.loc-menu button:hover, .loc-menu button.on { background: #eff6ff; color: var(--blue-2); }
.loc-menu .gps { color: var(--blue); font-weight: 600; }
.loc-menu hr { border: 0; border-top: 1px solid var(--line); margin: 6px 0; }

.search { flex: 1; display: flex; align-items: center; height: 48px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.search:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(11, 107, 255, .12); }
.search > i { padding: 0 6px 0 16px; color: var(--muted); }
.search input { flex: 1; border: 0; outline: 0; font: inherit; font-size: .92rem; padding: 0 8px; min-width: 0; background: transparent; }
.search button { height: 100%; width: 58px; border: 0; background: var(--blue); color: #fff; font-size: 1.15rem; cursor: pointer; }
.search button:hover { background: var(--blue-2); }

.mh-links { display: flex; align-items: center; gap: 26px; flex: none; }
.mh-link { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: .78rem; font-weight: 500; color: var(--ink); position: relative; }
.mh-link i { font-size: 1.35rem; }
.mh-link:hover { color: var(--blue); }
/* Cart: icon on top, "My Cart" below — same as Orders / Wishlist / Sign In; the count sits on the icon */


/* ── Hero ─────────────────────────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; background: linear-gradient(105deg, #ffffff 0%, #fff8f2 38%, #fef3e8 100%); }
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); align-items: center; min-height: 300px; }
.hero-text { padding: 34px 0 30px; position: relative; z-index: 2; }
.hero h1 { margin: 0; font-size: clamp(2rem, 3.6vw, 3.25rem); font-weight: 800; line-height: 1.08; letter-spacing: -.03em; color: var(--ink); }
.hero h1 .accent { color: var(--saffron); position: relative; }
.hero h1 .heart { display: inline-block; color: var(--red); font-size: .7em; vertical-align: middle; margin-left: 10px; animation: beat 2.4s ease-in-out infinite; }
@keyframes beat { 0%, 100% { transform: scale(1); } 12% { transform: scale(1.18); } 24% { transform: scale(1); } }
.hero p { margin: 14px 0 22px; font-size: 1.05rem; color: var(--ink-2); max-width: 520px; line-height: 1.55; }
.chips { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.chip { display: flex; align-items: center; gap: 10px; font-size: .86rem; font-weight: 500; }
.chip .ico { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: #fff; font-size: 1.1rem; box-shadow: 0 8px 16px -10px currentColor; }
.hero-art { position: relative; height: 100%; min-height: 300px; }
.hero-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 14%); mask-image: linear-gradient(90deg, transparent 0%, #000 14%); }
/* Desktop: the picture fills the right side at the design's proportions, never under the words */
@media (min-width: 1100px) {
    /* Height follows the free width so the picture (936×266) is seen whole */
    .hero-in { height: clamp(240px, calc((100vw - 600px) * .2842), 290px); min-height: 0; grid-template-columns: minmax(0, 600px) 1fr; }
    .hero-text { padding: 0; }
    .hero h1 { font-size: clamp(2.3rem, 3vw, 2.95rem); }
    .hero p { font-size: .98rem; margin: 10px 0 18px; }
    .chips { flex-wrap: nowrap; gap: 16px; }
    .chip { font-size: .8rem; gap: 8px; white-space: nowrap; }
    .chip .ico { width: 34px; height: 34px; border-radius: 10px; font-size: 1rem; }
    .hero-art { position: absolute; top: 0; right: 0; bottom: 0; width: min(1020px, calc(100% - 600px)); min-height: 0; }
    .hero-art img { object-position: right center;
        -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%); mask-image: linear-gradient(90deg, transparent 0, #000 7%); }
}


/* ── Sections ─────────────────────────────────────────────────────────────── */
.sec { padding: 26px 0 8px; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.sec-head h2 { margin: 0; font-size: 1.5rem; font-weight: 700; letter-spacing: -.02em; display: flex; align-items: center; gap: 10px; }
.sec-head h2 small { font-size: .9rem; font-weight: 400; color: var(--ink-2); }
.sec-head h2 .pin { color: var(--saffron); font-size: 1.6rem; }
.sec-head .more { color: var(--blue); font-weight: 600; font-size: .9rem; display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.sec-head .more:hover { gap: 12px; }
.sub-head { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 4px 0 10px; display: flex; align-items: center; gap: 8px; }
.sub-head::after { content: ''; flex: 1; height: 1px; background: var(--line); }

/* Category tiles */
.cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 12px; }
.cats.fill { grid-template-columns: repeat(auto-fit, minmax(112px, 1fr)); }
.cat { border-radius: var(--radius); padding: 10px 8px 14px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; background: var(--tint, #f8fafc);
       border: 1px solid rgba(15, 23, 42, .04); box-shadow: 0 6px 18px -16px rgba(11, 27, 63, .6); transition: transform .18s ease, box-shadow .18s ease; min-height: 158px; }
.cat:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.cat-img { width: 100%; height: 96px; display: grid; place-items: center; }
.cat-img img { max-height: 96px; width: auto; object-fit: contain; border-radius: 12px; }
.cat-img .emoji { font-size: 3rem; line-height: 1; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .15)); }
.cat-name { font-size: .84rem; font-weight: 600; line-height: 1.25; color: var(--ink); }
.cat-count { font-size: .72rem; color: var(--muted); }

/* Promo banners */
.banners { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; }
.banner { position: relative; overflow: hidden; border-radius: var(--radius); min-height: 104px; display: flex; align-items: center; padding: 16px 20px; box-shadow: 0 10px 24px -20px rgba(11, 27, 63, .6); transition: transform .18s ease; }
.banner:hover { transform: translateY(-3px); }
.banner .txt { position: relative; z-index: 2; max-width: 58%; }
.banner b { display: block; font-size: 1.35rem; font-weight: 700; line-height: 1.15; letter-spacing: -.01em; }
.banner span { display: block; font-size: .9rem; margin-top: 2px; color: var(--ink-2); }
.banner .go { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; padding: 6px 14px; border-radius: 8px; color: #fff; font-size: .82rem; font-weight: 600; }
.banner img { position: absolute; right: 0; bottom: 0; height: 100%; width: auto; max-width: 52%; object-fit: cover;
              -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%); mask-image: linear-gradient(90deg, transparent 0, #000 22%); }
.banner.grocery { background: linear-gradient(110deg, #e7f6dc, #cdeeb8); }
.banner.grocery b { color: #14532d; } .banner.grocery .go { background: #1f7a3a; }
.banner.fashion { background: linear-gradient(110deg, #fde4ec, #fbd0de); }
.banner.fashion b { color: #9f1239; } .banner.fashion .go { background: #c0264b; }
.banner.electronics { background: linear-gradient(110deg, #e3eeff, #c9dcff); }
.banner.electronics b { color: #0c2d6b; } .banner.electronics .go { background: var(--blue); }

/* Shop cards */
.rail { position: relative; }
.rail-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 5 * 16px) / 6); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 18px; }
.rail-track::-webkit-scrollbar { display: none; }
.rail-btn { position: absolute; top: 34%; z-index: 3; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; box-shadow: 0 8px 20px -8px rgba(11, 27, 63, .45); display: grid; place-items: center; cursor: pointer; font-size: 1.1rem; }
.rail-btn.prev { left: -18px; } .rail-btn.next { right: -18px; }
.rail.static .rail-btn { display: none; }
.grid-shops { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }

.shop { scroll-snap-align: start; background: var(--card); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 8px 22px -20px rgba(11, 27, 63, .6); display: flex; flex-direction: column; transition: transform .18s ease, box-shadow .18s ease; }
.shop:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.shop-pic { position: relative; aspect-ratio: 16 / 10; background: #eef2f7; overflow: hidden; }
.shop-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.shop:hover .shop-pic img { transform: scale(1.05); }
.shop-ph { width: 100%; height: 100%; display: grid; place-items: center; text-align: center; color: #fff; padding: 12px;
           background: radial-gradient(circle at 25% 20%, rgba(255, 255, 255, .25), transparent 40%), linear-gradient(135deg, var(--ph1, #ef6c1a), var(--ph2, #1f7a3a)); }
.shop-ph .em { font-size: 2.6rem; line-height: 1; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .25)); }
.shop-ph .nm { font-weight: 700; font-size: 1rem; margin-top: 6px; text-shadow: 0 2px 8px rgba(0, 0, 0, .25); }
.dist { position: absolute; left: 10px; bottom: 10px; background: #fff; color: var(--ink); font-size: .75rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; display: flex; align-items: center; gap: 4px; box-shadow: 0 4px 12px -6px rgba(0, 0, 0, .4); }
.dist i { color: var(--blue); }
.shop-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.shop-meta { display: flex; align-items: center; justify-content: space-between; font-size: .8rem; color: var(--ink-2); }
.stars i { color: #f59e0b; }
.pill { font-size: .72rem; font-weight: 600; padding: 2px 10px; border-radius: 999px; }
.pill.open { background: #dcfce7; color: #15803d; } .pill.closed { background: #fee2e2; color: #b91c1c; } .pill.new { background: #eef2ff; color: #4338ca; }
.shop-name { font-size: 1rem; font-weight: 700; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shop-cat { font-size: .78rem; color: var(--muted); display: flex; align-items: center; gap: 5px; }
.shop-actions { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.btn-view { flex: 1; text-align: center; background: var(--blue); color: #fff !important; font-weight: 600; font-size: .9rem; padding: 9px 12px; border-radius: 10px; transition: background .15s; }
.btn-view:hover { background: var(--blue-2); }
.heart { width: 40px; height: 40px; flex: none; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--red); display: grid; place-items: center; cursor: pointer; font-size: 1.05rem; transition: transform .15s; }
.heart:hover { transform: scale(1.08); }
.heart.on { background: #ffe4e6; border-color: #fecdd3; }

/* Product cards */
.grid-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.prod { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .18s ease, transform .18s ease; }
.prod:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.prod-pic { aspect-ratio: 1; background: #f8fafc; display: grid; place-items: center; overflow: hidden; }
.prod-pic img { width: 100%; height: 100%; object-fit: cover; }
.prod-pic .emoji { font-size: 2.6rem; opacity: .85; }
.prod-body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.prod-name { font-size: .88rem; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.3em; }
.prod-shop { font-size: .74rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.price { display: flex; align-items: baseline; gap: 6px; margin-top: 4px; }
.price b { font-size: 1.02rem; }
.price s { font-size: .78rem; color: var(--muted); }
.price .off { font-size: .7rem; font-weight: 700; color: #15803d; }
.btn-add { margin-top: 8px; border: 1.5px solid var(--blue); color: var(--blue); background: #fff; border-radius: 10px; padding: 6px; font: inherit; font-weight: 600; font-size: .84rem; cursor: pointer; width: 100%; text-align: center; transition: background .15s, color .15s; }
.btn-add:hover { background: var(--blue); color: #fff; }

/* Page header (inner pages) */
.page-head { background: linear-gradient(110deg, #ffffff, #fff4ea 60%, #fde8d6); border-bottom: 1px solid var(--line); padding: 26px 0; }
.crumbs { font-size: .8rem; color: var(--muted); display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 6px; }
.crumbs a:hover { color: var(--blue); }
.page-head h1 { margin: 0; font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 800; letter-spacing: -.02em; }
.page-head p { margin: 6px 0 0; color: var(--ink-2); }
.page-head .cat-hero { display: flex; align-items: center; gap: 18px; }
.page-head .cat-hero .cat-img { width: 96px; height: 96px; border-radius: 22px; background: var(--tint, #fff); box-shadow: var(--shadow); flex: none; padding: 8px; }

.empty { text-align: center; padding: 46px 16px; background: #fff; border: 1px dashed #cbd5e1; border-radius: var(--radius); color: var(--ink-2); }
.empty .em { font-size: 2.6rem; }
.empty h3 { margin: 10px 0 4px; font-size: 1.1rem; }
.empty a { color: var(--blue); font-weight: 600; }

/* Shop page */
.shop-hero { display: grid; grid-template-columns: 420px 1fr; gap: 26px; align-items: center; }
.shop-hero .shop-pic { border-radius: 22px; box-shadow: var(--shadow-lg); }
.shop-info h1 { margin: 0 0 6px; font-size: clamp(1.6rem, 2.8vw, 2.3rem); font-weight: 800; letter-spacing: -.02em; }
.facts { display: flex; flex-wrap: wrap; gap: 10px 18px; font-size: .9rem; color: var(--ink-2); margin: 10px 0 16px; }
.facts span { display: flex; align-items: center; gap: 6px; }
.cta { display: flex; flex-wrap: wrap; gap: 10px; }
.cta a, .cta button { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 12px; font-weight: 600; font-size: .9rem; border: 1.5px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; }
.cta .primary { background: var(--blue); border-color: var(--blue); color: #fff; }
.cta .wa { background: #25d366; border-color: #25d366; color: #fff; }

/* Trust strip & owner CTA */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 28px; }
.trust div { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px; display: flex; gap: 12px; align-items: center; }
.trust i { font-size: 1.5rem; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; flex: none; }
.trust b { display: block; font-size: .95rem; } .trust small { color: var(--muted); font-size: .8rem; }
.owner { margin-top: 28px; border-radius: 22px; padding: 28px 30px; color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
         background: radial-gradient(600px 200px at 85% 0%, rgba(255, 255, 255, .18), transparent 60%), linear-gradient(120deg, #0b1b3f, #143c8c 55%, #ef6c1a); box-shadow: var(--shadow-lg); }
.owner h3 { margin: 0; font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; }
.owner p { margin: 6px 0 0; opacity: .85; }
.owner a { background: #fff; color: var(--ink) !important; font-weight: 700; padding: 12px 22px; border-radius: 12px; display: inline-flex; gap: 8px; align-items: center; }

/* ── Footer ───────────────────────────────────────────────────────────────── */
.mf { margin-top: 44px; background: #0b1530; color: #cbd5e1; padding: 40px 0 0; }
.mf-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 30px; }
.mf h4 { color: #fff; font-size: .95rem; margin: 0 0 14px; }
.mf a { display: block; padding: 4px 0; font-size: .88rem; color: #cbd5e1; }
.mf a:hover { color: #fff; }
.mf .brand-name { font-size: 1.5rem; }
.mf .about { font-size: .88rem; line-height: 1.6; margin: 12px 0 0; color: #94a3b8; }
.mf .contact div { display: flex; gap: 10px; font-size: .88rem; padding: 4px 0; }
.mf .contact i { color: var(--saffron-2); }
/* Footer brand: logo with name + tagline beside it */
.mf a.mf-brand { display: flex; align-items: center; gap: 12px; padding: 0; }
.mf .mf-brand .brand-tag { display: block; color: #94a3b8; margin-top: 5px; font-size: .72rem; }
.mf .about { text-align: justify; text-justify: inter-word; hyphens: auto; }
/* Social buttons */
.mf-social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.mf a.soc { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border-radius: 50%; font-size: 1.02rem; color: #fff;
            background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); transition: transform .15s, background .15s, border-color .15s; }
.mf a.soc:hover { transform: translateY(-2px); border-color: transparent; color: #fff; }
.mf a.soc-facebook:hover { background: #1877f2; }
.mf a.soc-instagram:hover { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.mf a.soc-youtube:hover { background: #ff0000; }
.mf a.soc-twitter-x:hover { background: #000; }
.mf a.soc-linkedin:hover { background: #0a66c2; }
.mf a.soc-whatsapp:hover { background: #25d366; }
/* Link columns: a full-width divider under every row */
.mf-links a, .mf .contact.mf-links div { padding: 9px 0; border-bottom: 1px solid rgba(255, 255, 255, .09); }
.mf .contact.mf-links div a { padding: 0; border: 0; }
.mf-links a:hover { color: #fff; padding-left: 4px; transition: padding .15s; }
.mf .contact.mf-links div a:hover { padding-left: 0; }
/* Credit */
.mf-credit a { display: inline; padding: 0; font-weight: 700; color: var(--saffron) !important; transition: color .15s; }
.mf-credit a:hover { color: var(--green) !important; }   /* the green of "Mart" in the logo */
/* Phones: copyright and credit centred, one under the other */
@media (max-width: 640px) {
    .mf-bottom { flex-direction: column; align-items: center; text-align: center; }
}
.mf-bottom { margin-top: 30px; border-top: 1px solid rgba(255, 255, 255, .08); padding: 16px 0; font-size: .8rem; color: #94a3b8; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 1280px) {
    .mh-links { gap: 18px; }
    .mh-link span.lbl { display: none; }
    .rail-track { grid-auto-columns: calc((100% - 3 * 16px) / 4); }
}
@media (max-width: 991px) {
    .mh-row { flex-wrap: wrap; gap: 12px; }
    .brand { order: 1; }
    .mh-links { order: 2; margin-left: auto; }
    .loc { order: 3; }
    .search { order: 4; flex-basis: 100%; }
    .loc { flex: 1; } .loc-btn { max-width: none; width: 100%; }
    .mh-links .hide-sm { display: none; }
    .hero-in { grid-template-columns: 1fr; }
    .hero-art { min-height: 0; aspect-ratio: 936 / 266; margin: 0 -16px; }
    .hero-art img { -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 18%); mask-image: linear-gradient(180deg, transparent 0, #000 18%); }
    .banners { grid-template-columns: 1fr; }
    .rail-track { grid-auto-columns: calc((100% - 2 * 16px) / 2.4); }
    .rail-btn { display: none; }
    .shop-hero { grid-template-columns: 1fr; }
    .trust { grid-template-columns: repeat(2, 1fr); }
    .mf-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
    .brand img { width: 42px; height: 42px; }
    .brand-name { font-size: 1.35rem; }
    .brand-tag { display: none; }
    .cats { grid-template-columns: repeat(3, 1fr); gap: 10px; }
    .cat { min-height: 132px; } .cat-img { height: 72px; } .cat-img img { max-height: 72px; }
    .rail-track { grid-auto-columns: 78%; }
    .chips { gap: 10px 14px; }
    .trust { grid-template-columns: 1fr; }
    .mf-grid { grid-template-columns: 1fr; }
    .sec-head h2 { font-size: 1.2rem; } .sec-head h2 small { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* ── Category page: categories | shops | map & filters ─────────────────────── */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.cl { display: grid; grid-template-columns: 236px minmax(0, 1fr) 300px; gap: 18px; padding-top: 16px; align-items: start; }
.cl-cats, .cl-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 10px 26px -24px rgba(11, 27, 63, .7); }
.cl-cats { padding: 16px 10px; position: sticky; top: 90px; max-height: calc(100vh - 106px); overflow: auto; scrollbar-width: thin; }
.cl-cats h3 { font-size: 1.05rem; font-weight: 700; margin: 0 8px 10px; }
.cl-cats nav a { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 12px; font-size: .86rem; font-weight: 500; color: var(--ink-2); transition: background .15s, color .15s; }
.cl-cats nav a:hover { background: #f8fafc; color: var(--ink); }
.cl-cats nav a.on { background: #fff1e7; color: var(--saffron); font-weight: 600; box-shadow: inset 3px 0 0 var(--saffron); }
.cl-cats .ic { width: 30px; height: 30px; border-radius: 9px; background: var(--tint); display: grid; place-items: center; flex: none; font-size: 1rem; overflow: hidden; }
.cl-cats .ic img { width: 100%; height: 100%; object-fit: contain; }
.cl-cats .nm { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.cl-hero { position: relative; overflow: hidden; border-radius: 20px; min-height: 160px; display: flex; align-items: stretch;
           background: linear-gradient(105deg, #ffffff 0%, #fff8ef 45%, var(--tint, #fef3c7) 100%); border: 1px solid var(--line); }
.cl-hero-txt { position: relative; z-index: 2; padding: 16px 22px; flex: 1; }
.cl-hero .crumbs { margin-bottom: 2px; }
.cl-hero h1 { margin: 0; font-size: clamp(1.7rem, 2.6vw, 2.35rem); font-weight: 800; letter-spacing: -.025em; color: var(--ink); line-height: 1.1; }
.cl-hero p { margin: 4px 0 12px; font-size: 1.05rem; color: var(--ink-2); font-weight: 500; }
.cl-hero-chips { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .8rem; font-weight: 500; }
.cl-hero-chips span { display: flex; align-items: center; gap: 6px; }
.cl-hero-chips i { font-size: 1rem; }
.cl-hero-pic { position: relative; width: 44%; flex: none; display: grid; place-items: center; }
.cl-hero-pic img { max-height: 150px; width: auto; object-fit: contain; filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .15)); }
.cl-hero-pic.full { width: 50%; }
.cl-hero-pic.full img { position: absolute; inset: 0; width: 100%; height: 100%; max-height: none; object-fit: cover; object-position: right center; filter: none;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16%); mask-image: linear-gradient(90deg, transparent 0, #000 16%); }
.cl-hero-pic .emoji { font-size: 5rem; }
.cl-seal { position: absolute; right: 16px; top: 50%; transform: translateY(-50%) rotate(-6deg); width: 104px; height: 104px; border-radius: 50%; display: grid; place-items: center; text-align: center;
           background: radial-gradient(circle at 35% 30%, #4ade80, #15803d 70%); color: #fff; font-weight: 800; font-size: .86rem; line-height: 1.05; box-shadow: 0 0 0 5px rgba(255, 255, 255, .85), 0 14px 26px -10px rgba(21, 128, 61, .8); }

.cl-pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 10px; align-items: center; }
.cl-pills a, .cl-filter-toggle { padding: 9px 20px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .88rem; font-weight: 600; color: var(--ink); transition: all .15s; }
.cl-pills a:hover { border-color: #cbd5e1; }
.cl-pills a.on { background: linear-gradient(135deg, #ef6c1a, #f97316); border-color: transparent; color: #fff !important; box-shadow: 0 10px 20px -12px #ef6c1a; }
.cl-filter-toggle { display: none; cursor: pointer; font-family: inherit; margin-left: auto; }

.cl-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 14px; }
.cl-bar .sel select { appearance: none; -webkit-appearance: none; font: inherit; font-size: .84rem; font-weight: 500; color: var(--ink); border: 1px solid var(--line); background-color: #fff; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 16 16'%3E%3Cpath fill='%23334155' d='M8 11 3 6h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding: 8px 34px 8px 14px; border-radius: 10px; cursor: pointer; }
.cl-bar .sort { margin-left: auto; }
.cl-bar .tog { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font-size: .84rem; font-weight: 500; }
.cl-bar .tog.on { border-color: var(--blue); background: #eff6ff; color: var(--blue-2); }

.row-shop { position: relative; display: grid; grid-template-columns: 230px minmax(0, .9fr) minmax(0, 1.35fr); gap: 16px; align-items: stretch; background: #fff; border: 1px solid var(--line);
            border-radius: 18px; padding: 10px; margin-bottom: 12px; box-shadow: 0 10px 26px -24px rgba(11, 27, 63, .7); transition: box-shadow .2s, transform .2s; }
.row-shop:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.rs-pic { position: relative; border-radius: 14px; overflow: hidden; background: #eef2f7; width: 100%; height: 100%; min-height: 170px; }
.rs-pic .shop-ph { position: absolute; inset: 0; }
.rs-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.row-shop:hover .rs-pic img { transform: scale(1.05); }
.rs-open { position: absolute; left: 8px; bottom: 8px; background: #16a34a; color: #fff; font-size: .72rem; font-weight: 600; padding: 3px 9px; border-radius: 8px; display: flex; gap: 4px; align-items: center; }
.rs-open.closed { background: #64748b; }
.rs-ribbon { position: absolute; right: 0; bottom: 8px; background: linear-gradient(135deg, #e11d48, #f43f5e); color: #fff; font-weight: 700; font-size: .78rem; padding: 4px 10px 4px 14px; border-radius: 10px 0 0 10px; line-height: 1.1; text-align: center; }
.rs-ribbon small { display: block; font-weight: 500; font-size: .62rem; opacity: .9; }
.rs-heart { position: absolute; left: 196px; top: 18px; width: 34px; height: 34px; font-size: .95rem; z-index: 2; box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .4); }
.rs-info { padding: 6px 14px 6px 0; display: flex; flex-direction: column; gap: 5px; min-width: 0; border-right: 1px dashed var(--line); }
.rs-name { font-size: 1.12rem; font-weight: 700; color: var(--ink); line-height: 1.25; }
.rs-name:hover { color: var(--blue); }
.rs-verified { align-self: flex-start; font-size: .72rem; font-weight: 600; color: #c2410c; background: #fff1e7; border: 1px solid #fed7aa; padding: 1px 8px; border-radius: 6px; }
.rs-line { font-size: .82rem; color: var(--ink-2); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.rs-dist { color: var(--blue); font-weight: 500; }
.rs-dist .sep { color: var(--line); margin: 0 2px; }
.rs-dist .link { border: 0; background: none; padding: 0; font: inherit; color: var(--blue); cursor: pointer; text-decoration: underline; }
.rs-more { display: flex; flex-direction: column; gap: 8px; padding: 6px 4px 4px 0; min-width: 0; }
.rs-thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.rs-thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); background: #f8fafc; }
.rs-thumbs.empty { display: flex; align-items: center; justify-content: center; gap: 8px; height: 64px; border: 1px dashed #cbd5e1; border-radius: 12px; color: var(--muted); font-size: .82rem; background: #fafbfd; }
.rs-names { display: flex; flex-wrap: wrap; gap: 6px; }
.rs-names span { font-size: .76rem; font-weight: 500; padding: 5px 10px; border-radius: 999px; background: #f1f5f9; border: 1px solid var(--line); color: var(--ink-2); }
.rs-desc { margin: 0; font-size: .82rem; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rs-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: auto; }
.rs-feats { display: flex; gap: 8px 14px; flex-wrap: wrap; min-width: 0; }
.rs-feats span { display: grid; grid-template-columns: auto auto; column-gap: 5px; align-items: center; font-size: .68rem; font-weight: 600; color: var(--ink); line-height: 1.15; white-space: nowrap; }
.rs-feats i { grid-row: span 2; font-size: .95rem; color: #16a34a; background: #ecfdf3; width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; }
.rs-feats small { font-weight: 400; color: var(--muted); font-size: .64rem; }
.rs-btn { flex: none; display: inline-flex; align-items: center; gap: 8px; background: linear-gradient(135deg, #16a34a, #15803d); color: #fff !important; font-weight: 700; font-size: .88rem; padding: 10px 16px; border-radius: 12px; box-shadow: 0 10px 20px -12px #15803d; transition: transform .15s; }
.rs-btn:hover { transform: translateX(2px); }

.cl-pages { display: flex; justify-content: center; gap: 6px; margin: 18px 0 6px; }
.cl-pages a { min-width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: .9rem; }
.cl-pages a.on { background: var(--saffron); border-color: var(--saffron); color: #fff; }

.cl-side { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 14px; }
.cl-card { padding: 14px; }
.cl-card-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.cl-card-h h4 { margin: 0; font-size: 1rem; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.cl-card-h a { font-size: .8rem; font-weight: 600; color: var(--blue); }
.cl-map { height: 250px; border-radius: 14px; overflow: hidden; background: #e8eef6; position: relative; z-index: 0; }
.cl-map-empty { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 6px; color: var(--muted); font-size: .85rem; }
.cl-map-empty i { font-size: 2rem; }
.cl-pin { background: none; border: 0; }
.cl-pin i { font-size: 30px; filter: drop-shadow(0 4px 4px rgba(0, 0, 0, .35)); }
.cl-you { background: #0b1b3f; color: #fff; border: 0; border-radius: 8px; font-weight: 600; font-size: .75rem; padding: 3px 8px; }
.cl-you::before { border-top-color: #0b1b3f !important; }
.fl-group { border-top: 1px solid var(--line); padding: 12px 0 6px; display: flex; flex-direction: column; gap: 4px; }
.fl-group > b { font-size: .9rem; margin-bottom: 4px; }
.fl-row { display: flex; justify-content: space-between; font-size: .82rem; }
.fl-row b { font-size: .9rem; }
.fl-row span { color: var(--muted); }
.fl-range { width: 100%; accent-color: var(--blue); margin: 8px 0 2px; }
.fl-scale { display: flex; justify-content: space-between; font-size: .68rem; color: var(--muted); }
.fl-note { font-size: .72rem; color: var(--muted); margin-top: 4px; }
.fl-check { display: flex; align-items: center; gap: 8px; font-size: .84rem; color: var(--ink-2); padding: 4px 0; cursor: pointer; }
.fl-check input { accent-color: var(--blue); width: 16px; height: 16px; }
.fl-check > span:last-child { margin-left: auto; background: #f1f5f9; color: var(--muted); font-size: .7rem; padding: 1px 8px; border-radius: 999px; }
.stars-sm { color: #f59e0b; font-size: .75rem; letter-spacing: 1px; }
.fl-switch { position: relative; display: flex; align-items: center; gap: 8px; font-size: .84rem; color: var(--ink-2); padding: 6px 0; cursor: pointer; }
.fl-switch small { color: var(--muted); }
.fl-switch input { position: absolute; opacity: 0; pointer-events: none; }
.fl-switch > span { margin-left: auto; width: 40px; height: 22px; border-radius: 999px; background: #cbd5e1; position: relative; transition: background .2s; flex: none; }
.fl-switch > span::after { content: ''; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); }
.fl-switch input:checked + span { background: var(--blue); }
.fl-switch input:checked + span::after { transform: translateX(18px); }
.fl-switch input:focus-visible + span { outline: 3px solid rgba(11, 107, 255, .3); outline-offset: 2px; }

@media (max-width: 1360px) {
    .row-shop { grid-template-columns: 210px minmax(0, 1fr); }
    .rs-heart { left: 176px; }
    .rs-pic { min-height: 150px; }
    .rs-info { border-right: 0; }
    .rs-more { grid-column: 1 / -1; border-top: 1px dashed var(--line); padding-top: 10px; }
}
@media (max-width: 1199px) {
    .cl { grid-template-columns: minmax(0, 1fr) 290px; }
    .cl-cats { grid-column: 1 / -1; position: static; max-height: none; padding: 10px; }
    .cl-cats h3 { display: none; }
    .cl-cats nav { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
    .cl-cats nav a { flex: none; border: 1px solid var(--line); }
    .cl-cats nav a.on { box-shadow: none; border-color: #fed7aa; }
}
@media (max-width: 991px) {
    .cl { grid-template-columns: 1fr; }
    .cl-side { position: static; display: none; order: 2; }
    .cl-side.show { display: flex; }
    .cl-main { order: 3; }
    .cl-filter-toggle { display: inline-flex; gap: 6px; align-items: center; }
    .cl-hero-pic, .cl-hero-pic.full { width: 38%; }
    .cl-seal { width: 80px; height: 80px; font-size: .7rem; }
}
@media (max-width: 640px) {
    .row-shop { grid-template-columns: 1fr; }
    .rs-heart { left: auto; right: 20px; }
    .rs-thumbs { grid-template-columns: repeat(4, 1fr); }
    .rs-thumbs img:nth-child(n+5) { display: none; }
    .rs-foot { flex-direction: column; align-items: stretch; }
    .rs-btn { justify-content: center; }
    .cl-hero { flex-direction: column; }
    .cl-hero-pic, .cl-hero-pic.full { width: 100%; height: 130px; }
    .cl-bar .sort { margin-left: 0; }
}
