/* Gadget Loops storefront — Bootstrap 5.3 + brand layer. Colours come from the logo:
   loop cyan #02C8FA and smile navy #031A45. */
:root {
  --gl-cyan: #02c8fa;
  --gl-cyan-600: #00a9dc;
  --gl-blue: #0088c7;
  --gl-blue-dark: #006b9f;
  --gl-soft: #e7f8fe;
  --gl-soft-2: #f2fbff;
  --gl-navy: #031a45;
  --gl-navy-2: #0a2c6b;
  --gl-ink: #0f172a;
  --gl-muted: #64748b;
  --gl-line: #e6ebf2;
  --gl-bg: #f4f7fb;
  --gl-card: #ffffff;
  --gl-red: #e5273b;
  --gl-amber: #f5a524;
  --gl-green: #12a150;
  --gl-purple: #7c3aed;
  --gl-radius: 16px;
  --gl-shadow: 0 1px 2px rgba(3, 26, 69, .04), 0 6px 18px rgba(3, 26, 69, .06);
  --gl-shadow-lg: 0 16px 40px rgba(3, 26, 69, .16);
  --bs-primary: var(--gl-blue);
  --bs-primary-rgb: 0, 136, 199;
  --bs-link-color: var(--gl-blue);
  --bs-link-hover-color: var(--gl-blue-dark);
  --bs-link-color-rgb: 0, 136, 199;
  --bs-link-hover-color-rgb: 0, 107, 159;
  --bs-body-font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --bs-body-color: var(--gl-ink);
  --bs-border-radius: 12px;
}

body { background: var(--gl-bg); color: var(--gl-ink); -webkit-font-smoothing: antialiased; }
a { text-decoration: none; }
img { max-width: 100%; }
.text-muted { color: var(--gl-muted) !important; }
.fw-800 { font-weight: 800; }
.min-w-0 { min-width: 0; }
.small-caps { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; color: var(--gl-muted); }
.text-cyan { color: var(--gl-cyan-600) !important; }
.text-navy { color: var(--gl-navy) !important; }
.bg-navy { background: var(--gl-navy) !important; }
.container-xxl { max-width: 1480px; }

.btn { font-weight: 700; border-radius: 12px; }
.btn-primary { --bs-btn-bg: var(--gl-blue); --bs-btn-border-color: var(--gl-blue); --bs-btn-hover-bg: var(--gl-blue-dark);
  --bs-btn-hover-border-color: var(--gl-blue-dark); --bs-btn-active-bg: var(--gl-blue-dark); --bs-btn-active-border-color: var(--gl-blue-dark);
  --bs-btn-disabled-bg: #7cc3e3; --bs-btn-disabled-border-color: #7cc3e3; }
.btn-navy { --bs-btn-color: #fff; --bs-btn-bg: var(--gl-navy); --bs-btn-border-color: var(--gl-navy); --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--gl-navy-2); --bs-btn-hover-border-color: var(--gl-navy-2); --bs-btn-active-bg: var(--gl-navy-2); --bs-btn-active-color: #fff; }
.btn-cyan { --bs-btn-color: var(--gl-navy); --bs-btn-bg: var(--gl-cyan); --bs-btn-border-color: var(--gl-cyan); --bs-btn-hover-color: var(--gl-navy);
  --bs-btn-hover-bg: #3fd6fb; --bs-btn-hover-border-color: #3fd6fb; --bs-btn-active-bg: var(--gl-cyan-600); }
.btn-outline-primary { --bs-btn-color: var(--gl-blue); --bs-btn-border-color: var(--gl-blue); --bs-btn-hover-bg: var(--gl-blue);
  --bs-btn-hover-border-color: var(--gl-blue); --bs-btn-active-bg: var(--gl-blue-dark); }
.btn-soft { background: var(--gl-soft); color: var(--gl-blue-dark); border: 0; }
.btn-soft:hover { background: #cdf1fd; color: var(--gl-navy); }
.btn .spinner { display: none; }
.btn.loading { pointer-events: none; opacity: .75; }
.form-control, .form-select { border-radius: 12px; border-color: #dbe2ec; padding: .62rem .9rem; }
.form-control:focus, .form-select:focus { border-color: var(--gl-cyan-600); box-shadow: 0 0 0 .2rem rgba(2, 200, 250, .18); }
.form-check-input:checked { background-color: var(--gl-blue); border-color: var(--gl-blue); }
.form-label { font-weight: 600; font-size: .9rem; }
.card-gl { background: var(--gl-card); border: 1px solid var(--gl-line); border-radius: var(--gl-radius); box-shadow: var(--gl-shadow); }
.badge-soft { background: var(--gl-soft); color: var(--gl-blue-dark); font-weight: 700; }
.badge-new { background: var(--gl-red); color: #fff; font-size: .6rem; font-weight: 800; padding: .2rem .4rem; border-radius: 6px; vertical-align: 2px; }

/* ── Top bar ─────────────────────────────────────────────── */
.topbar { background: var(--gl-navy); color: #dbe7ff; font-size: .8rem; }
.topbar a { color: #dbe7ff; }
.topbar a:hover { color: #fff; }
.topbar .perk-line { display: flex; gap: 1.1rem; align-items: center; white-space: nowrap; overflow: hidden; }
.topbar .perk-line i { color: var(--gl-cyan); margin-right: .35rem; }
.topbar .sep { opacity: .35; }
.topbar .marquee { overflow: hidden; white-space: nowrap; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.topbar .marquee span { display: inline-block; padding-left: 100%; animation: gl-marquee 26s linear -9s infinite; }
@keyframes gl-marquee { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .topbar .marquee span { animation: none; padding-left: 0; } }

/* ── Header ──────────────────────────────────────────────── */
.site-header { background: #fff; z-index: 1030; transition: box-shadow .2s; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(3, 26, 69, .08); }
.brand { display: flex; align-items: center; gap: .55rem; color: var(--gl-navy); flex-shrink: 0; }
.brand img { height: 44px; width: auto; }
.brand .word { display: flex; flex-direction: column; line-height: 1; }
.brand .word b { font-family: 'Montserrat', var(--bs-body-font-family); font-weight: 900; font-size: 1.32rem; letter-spacing: .01em; }
.brand .word b .g { color: var(--gl-cyan-600); }
.brand .word small { font-size: .66rem; letter-spacing: .14em; color: var(--gl-muted); font-weight: 600; margin-top: .25rem; text-transform: uppercase; }
.header-icon { position: relative; display: inline-flex; flex-direction: column; align-items: center; color: var(--gl-ink); font-size: .72rem; font-weight: 700; gap: 3px; padding: 4px 10px; border-radius: 12px; }
.header-icon i { font-size: 1.35rem; line-height: 1; }
.header-icon:hover { color: var(--gl-blue); background: var(--gl-soft); }
.count-badge { position: absolute; top: -3px; right: 4px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px;
  background: var(--gl-red); color: #fff; font-size: .66rem; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; border: 2px solid #fff; }
.count-badge.bump { animation: gl-bump .45s ease; }
@keyframes gl-bump { 40% { transform: scale(1.35); } }
.hotline { display: flex; align-items: center; gap: .55rem; color: var(--gl-ink); }
.hotline i { width: 38px; height: 38px; border-radius: 50%; background: var(--gl-soft); color: var(--gl-blue); display: grid; place-items: center; font-size: 1.05rem; }
.hotline small { display: block; color: var(--gl-muted); font-size: .7rem; font-weight: 600; }
.hotline b { font-size: .88rem; }
.account-btn { display: flex; align-items: center; gap: .5rem; color: var(--gl-ink); padding: 4px 6px; border-radius: 12px; }
.account-btn:hover { background: var(--gl-soft); color: var(--gl-ink); }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, var(--gl-cyan), var(--gl-blue)); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: .85rem; flex-shrink: 0; }
.account-btn small { display: block; color: var(--gl-muted); font-size: .7rem; font-weight: 600; line-height: 1.1; }
.account-btn b { font-size: .84rem; line-height: 1.1; }

.search-box { position: relative; }
.search-box .input-group { border: 2px solid var(--gl-cyan); border-radius: 999px; overflow: hidden; background: #fff; }
.search-box .form-control { border: 0; border-radius: 0; height: 46px; padding-left: 1.2rem; box-shadow: none; }
.search-box .btn-search { background: var(--gl-cyan); color: var(--gl-navy); border: 0; border-radius: 0; width: 60px; font-size: 1.15rem; }
.search-box .btn-search:hover { background: #3fd6fb; }
.search-results { position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: #fff; border-radius: 16px; box-shadow: var(--gl-shadow-lg);
  border: 1px solid var(--gl-line); overflow: hidden; z-index: 1060; display: none; }
.search-results.show { display: block; }
.search-results a { display: flex; align-items: center; gap: .75rem; padding: .55rem .9rem; color: var(--gl-ink); }
.search-results a:hover, .search-results a.active { background: var(--gl-bg); }
.search-results img { width: 44px; height: 44px; object-fit: contain; border-radius: 10px; background: var(--gl-bg); }
.search-results .cat-hit { font-size: .85rem; padding: .45rem .9rem; color: var(--gl-blue); }
.search-results .all { justify-content: center; font-weight: 700; color: var(--gl-blue); border-top: 1px solid var(--gl-line); }

/* Nav row */
.nav-row { background: #fff; border-top: 1px solid var(--gl-line); border-bottom: 1px solid var(--gl-line); }
.all-cats-btn { background: linear-gradient(135deg, var(--gl-navy), var(--gl-navy-2)); color: #fff; border-radius: 12px; padding: .62rem 1rem; font-weight: 800;
  display: flex; align-items: center; gap: .6rem; min-width: 240px; border: 0; }
.all-cats-btn:hover, .all-cats-btn.show { color: #fff; filter: brightness(1.12); }
.all-cats-btn .chev { margin-left: auto; transition: transform .2s; }
.all-cats-btn.show .chev { transform: rotate(180deg); }
.mega { width: min(860px, 92vw); padding: 0; border: 1px solid var(--gl-line); border-radius: 16px; box-shadow: var(--gl-shadow-lg); overflow: hidden; }
.mega .mega-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.mega .mega-col { padding: 1rem 1.2rem; border-right: 1px solid var(--gl-line); border-bottom: 1px solid var(--gl-line); }
.mega .mega-col > a { font-weight: 800; color: var(--gl-navy); display: flex; align-items: center; gap: .5rem; margin-bottom: .35rem; }
.mega .mega-col > a i { color: var(--gl-cyan-600); font-size: 1.1rem; }
.mega .mega-col ul { list-style: none; padding: 0 0 0 1.6rem; margin: 0; font-size: .86rem; }
.mega .mega-col li a { color: var(--gl-muted); display: block; padding: .12rem 0; }
.mega .mega-col li a:hover { color: var(--gl-blue); }
.main-nav { display: flex; align-items: center; gap: .25rem; overflow-x: auto; scrollbar-width: none; }
.main-nav a { color: var(--gl-ink); font-weight: 700; font-size: .92rem; padding: .55rem .9rem; border-radius: 12px; white-space: nowrap; display: inline-flex; align-items: center; gap: .45rem; }
.main-nav a i { font-size: 1.05rem; }
.main-nav a:hover { background: var(--gl-soft); color: var(--gl-blue-dark); }
.main-nav a.active { background: var(--gl-cyan); color: var(--gl-navy); }
.main-nav .i-flash { color: #f59e0b; } .main-nav .i-fire { color: #ef4444; } .main-nav .i-deal { color: var(--gl-blue); }
.main-nav a.active i { color: var(--gl-navy); }

/* ── Breadcrumb & page titles ────────────────────────────── */
.crumbs { font-size: .84rem; display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; color: var(--gl-muted); }
.crumbs a { color: var(--gl-ink); }
.crumbs a:hover { color: var(--gl-blue); }
.crumbs .cur { color: var(--gl-blue); font-weight: 600; }
.page-title { font-weight: 800; letter-spacing: -.01em; }

/* ── Side category panel ─────────────────────────────────── */
.side-panel { background: #fff; border: 1px solid var(--gl-line); border-radius: var(--gl-radius); box-shadow: var(--gl-shadow); overflow: hidden; }
.side-panel .head { background: linear-gradient(135deg, var(--gl-navy), var(--gl-navy-2)); color: #fff; padding: .85rem 1.1rem; font-weight: 800; display: flex; align-items: center; gap: .55rem; }
.side-panel .head i { color: var(--gl-cyan); }
.cat-list { list-style: none; margin: 0; padding: .35rem 0; }
.cat-list > li > a { display: flex; align-items: center; gap: .75rem; padding: .47rem 1.1rem; color: var(--gl-ink); font-weight: 600; font-size: .9rem; }
.cat-list > li > a i.ic { font-size: 1.15rem; width: 22px; text-align: center; color: var(--gl-navy); }
.cat-list > li > a .bi-chevron-right { margin-left: auto; font-size: .75rem; color: var(--gl-muted); }
.cat-list > li > a:hover, .cat-list > li.active > a { background: var(--gl-soft); color: var(--gl-blue-dark); }
.cat-list .subs { list-style: none; padding: 0 0 .35rem 3rem; margin: 0; }
.cat-list .subs a { display: flex; justify-content: space-between; padding: .3rem 1rem .3rem .6rem; font-size: .85rem; color: var(--gl-muted); border-radius: 8px; margin-right: .6rem; }
.cat-list .subs a:hover { color: var(--gl-blue); }
.cat-list .subs a.active { background: var(--gl-soft); color: var(--gl-blue-dark); font-weight: 700; }
.cat-list .more { color: var(--gl-blue) !important; }

/* ── Hero ────────────────────────────────────────────────── */
.home-top { display: flex; gap: 1rem; align-items: flex-start; }
.home-side { width: 270px; flex-shrink: 0; }
.home-main { flex-grow: 1; min-width: 0; }
.home-perks { width: 280px; flex-shrink: 0; }
.home-perks .perk-card { padding: .8rem 1rem; }
.hero { border-radius: 20px; overflow: hidden; position: relative; box-shadow: var(--gl-shadow); height: 340px; }
.hero .carousel-inner, .hero .carousel-item { height: 100%; }
.slide { position: relative; height: 100%; display: flex; align-items: center; overflow: hidden; color: #fff; }
@media (max-width: 767px) { .hero { height: 250px; } .slide .copy { padding: 1.3rem 1.4rem; max-width: 100%; } .slide p { display: none; } }
.collage { position: absolute; right: 2%; top: 0; bottom: 0; width: 52%; z-index: 1; }
.collage .ring { position: absolute; left: 18%; right: 4%; bottom: 6%; height: 34%; border-radius: 50%; border: 3px solid rgba(2,200,250,.55);
  box-shadow: 0 0 40px rgba(2,200,250,.45), inset 0 0 30px rgba(2,200,250,.25); }
.collage img { position: absolute; object-fit: contain; border-radius: 22px; background: rgba(255,255,255,.96); padding: 10px;
  box-shadow: 0 18px 40px rgba(0,0,0,.35); }
.collage .c1 { width: 44%; left: 26%; top: 13%; z-index: 3; }
.collage .c2 { width: 33%; left: 4%; top: 32%; z-index: 2; transform: rotate(-6deg); }
.collage .c3 { width: 33%; right: 2%; top: 30%; z-index: 2; transform: rotate(6deg); }
.slide > img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide .shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3, 26, 69, .82) 0%, rgba(3, 26, 69, .35) 55%, transparent 80%); }
.slide .copy { position: relative; z-index: 5; padding: 2rem 2.4rem; max-width: 52%; }
.slide .pill { display: inline-block; background: #ffd43b; color: var(--gl-navy); font-weight: 800; padding: .3rem .9rem; border-radius: 999px; font-size: .95rem; transform: rotate(-3deg); margin-bottom: .7rem; }
.slide h2 { font-size: clamp(1.6rem, 3.2vw, 2.7rem); font-weight: 800; font-style: italic; line-height: 1.05; margin: 0; text-shadow: 0 3px 16px rgba(0,0,0,.2); }
.slide h2 .hl { display: block; color: var(--gl-cyan); }
.slide p { margin: .8rem 0 1.2rem; font-weight: 600; opacity: .92; max-width: 30rem; }
.slide .btn-shop { background: #fff; color: var(--gl-navy); border-radius: 999px; padding: .6rem 1.4rem; font-weight: 800; }
.slide .btn-shop:hover { background: var(--gl-cyan); }
.burst { position: absolute; z-index: 4; right: 3%; top: 8%; transform: rotate(-8deg); width: 128px; height: 128px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ff5a6e, var(--gl-red) 70%); color: #fff; display: grid; place-items: center; text-align: center;
  font-weight: 900; line-height: 1; box-shadow: 0 0 0 8px rgba(255,255,255,.15), 0 12px 30px rgba(0,0,0,.3); padding: 1rem; font-size: 1.2rem; }
.burst::before { content: ''; position: absolute; inset: -10px; border-radius: 50%; border: 3px dashed rgba(255,255,255,.35); }
.slide .art { position: absolute; right: 4%; bottom: -10%; font-size: 15rem; line-height: 1; opacity: .16; z-index: 1; }
.theme-navy { background: radial-gradient(circle at 80% 30%, #12408f 0%, transparent 45%), linear-gradient(120deg, #031a45 0%, #0a2c6b 60%, #0b5aa0 100%); }
.theme-cyan { background: radial-gradient(circle at 80% 20%, #8ff0ff 0%, transparent 40%), linear-gradient(120deg, #0077b6 0%, #00a9dc 55%, #02c8fa 100%); }
.theme-purple { background: radial-gradient(circle at 80% 30%, #a855f7 0%, transparent 45%), linear-gradient(120deg, #1e0b4b 0%, #4c1d95 60%, #6d28d9 100%); }
.theme-sunset { background: radial-gradient(circle at 80% 30%, #fbbf24 0%, transparent 40%), linear-gradient(120deg, #7c2d12 0%, #ea580c 60%, #f59e0b 100%); }
.theme-dark { background: radial-gradient(circle at 80% 30%, #334155 0%, transparent 45%), linear-gradient(120deg, #020617 0%, #0f172a 60%, #1e293b 100%); }
.theme-green { background: radial-gradient(circle at 80% 30%, #4ade80 0%, transparent 45%), linear-gradient(120deg, #052e16 0%, #166534 60%, #16a34a 100%); }
.hero .carousel-indicators { margin-bottom: .8rem; }
.hero .carousel-indicators [data-bs-target] { width: 9px; height: 9px; border-radius: 50%; border: 0; }

.perk-card { display: flex; align-items: center; gap: .9rem; padding: 1rem 1.1rem; border-radius: 16px; color: var(--gl-ink); border: 1px solid var(--gl-line); background: #fff; flex: 1; transition: transform .15s, box-shadow .15s; }
.perk-card:hover { transform: translateY(-2px); box-shadow: var(--gl-shadow); color: var(--gl-ink); }
.perk-card .ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 1.6rem; flex-shrink: 0; }
.perk-card b { display: block; font-weight: 800; }
.perk-card small { color: var(--gl-muted); font-weight: 600; }
.perk-card .go { margin-left: auto; width: 30px; height: 30px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: var(--gl-shadow); color: var(--gl-blue); flex-shrink: 0; }
.perk-card.t1 { background: linear-gradient(135deg, #e7f8fe, #fff); } .perk-card.t1 .ic { background: #cdf1fd; color: var(--gl-blue-dark); }
.perk-card.t2 { background: linear-gradient(135deg, #f1ecff, #fff); } .perk-card.t2 .ic { background: #e4dcff; color: var(--gl-purple); }
.perk-card.t3 { background: linear-gradient(135deg, #fff1e6, #fff); } .perk-card.t3 .ic { background: #ffe1c7; color: #ea580c; }

/* Category icon strip */
.cat-strip { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: .6rem; }
@media (max-width: 1399px) { .cat-strip { grid-template-columns: repeat(8, minmax(0, 1fr)); } .cat-strip > :nth-child(n+9) { display: none; } }
@media (max-width: 1199px) { .cat-strip { grid-template-columns: repeat(5, minmax(0, 1fr)); } .cat-strip > :nth-child(n+9) { display: block; } }
@media (max-width: 575px) { .cat-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem; } .cat-strip > :nth-child(n+9) { display: none; } }
.cat-chip { background: #fff; border: 1px solid var(--gl-line); border-radius: 16px; padding: .75rem .3rem .6rem; text-align: center; color: var(--gl-ink); font-weight: 700; font-size: .74rem; line-height: 1.2; transition: all .15s; }
.cat-chip .ic { width: 52px; height: 52px; margin: 0 auto .45rem; border-radius: 16px; display: grid; place-items: center; font-size: 1.7rem; color: var(--gl-navy); background: linear-gradient(135deg, var(--gl-soft), #f4f0ff); overflow: hidden; }
.cat-chip .ic img { width: 100%; height: 100%; object-fit: contain; }
.cat-chip:hover { border-color: var(--gl-cyan); transform: translateY(-2px); box-shadow: var(--gl-shadow); color: var(--gl-blue-dark); }
@media (max-width: 575px) { .cat-chip { font-size: .7rem; padding: .6rem .2rem; } .cat-chip .ic { width: 44px; height: 44px; font-size: 1.3rem; } }

/* ── Sections ────────────────────────────────────────────── */
.section-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; gap: 1rem; }
.section-head h2 { font-size: 1.35rem; font-weight: 800; margin: 0; display: flex; align-items: center; gap: .55rem; }
.section-head h2 i { color: var(--gl-cyan-600); }
.section-head a.more { font-weight: 700; color: var(--gl-blue); white-space: nowrap; font-size: .9rem; }
.panel { background: #fff; border: 1px solid var(--gl-line); border-radius: 20px; box-shadow: var(--gl-shadow); padding: 1.1rem; }

.flash-head { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.2rem; background: linear-gradient(90deg, var(--gl-navy), var(--gl-navy-2) 55%, rgba(10,44,107,.0)); border-radius: 14px; padding: .7rem 1rem; margin-bottom: 1rem; color: #fff; }
.flash-head h2 { color: #fff; font-size: 1.35rem; font-weight: 900; margin: 0; display: flex; align-items: center; gap: .4rem; font-style: italic; }
.flash-head h2 i { color: #ffd43b; }
.flash-head .ends { background: #fff; color: var(--gl-red); border-radius: 999px; padding: .25rem .85rem; font-weight: 800; font-size: .92rem; }
.flash-head .more { margin-left: auto; color: var(--gl-blue); font-weight: 800; }
.countdown { display: inline-flex; gap: .3rem; align-items: center; font-variant-numeric: tabular-nums; }
.countdown.big .u { display: inline-flex; flex-direction: column; align-items: center; }
.countdown.big .u b { background: var(--gl-red); color: #fff; font-size: 1.6rem; font-weight: 800; border-radius: 10px; padding: .2rem .55rem; min-width: 52px; text-align: center; }
.countdown.big .u small { font-size: .72rem; color: var(--gl-muted); font-weight: 600; margin-top: .2rem; }
.countdown.big .c { font-weight: 900; font-size: 1.4rem; margin-bottom: 1.1rem; }

/* Rails */
.rail-wrap { position: relative; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 4 * .9rem) / 5); gap: .9rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 2px 2px 6px; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.rail.r6 { grid-auto-columns: calc((100% - 5 * .9rem) / 6); }
@media (max-width: 1199px) { .rail, .rail.r6 { grid-auto-columns: calc((100% - 3 * .9rem) / 4); } }
@media (max-width: 991px) { .rail, .rail.r6 { grid-auto-columns: calc((100% - 2 * .9rem) / 3); } }
@media (max-width: 575px) { .rail, .rail.r6 { grid-auto-columns: 46%; gap: .6rem; } }
.rail-btn { position: absolute; top: 42%; z-index: 3; width: 42px; height: 42px; border-radius: 50%; border: 0; background: #fff; box-shadow: var(--gl-shadow-lg); color: var(--gl-navy); display: grid; place-items: center; font-size: 1.1rem; }
.rail-btn.prev { left: -14px; } .rail-btn.next { right: -14px; }
.rail-btn:hover { background: var(--gl-cyan); }
@media (max-width: 767px) { .rail-btn { display: none; } }

/* ── Product card ───────────────────────────────────────── */
.p-card { background: #fff; border: 1px solid var(--gl-line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; height: 100%; position: relative; transition: box-shadow .2s, border-color .2s, transform .2s; }
.p-card:hover { box-shadow: var(--gl-shadow-lg); border-color: #cfeefa; transform: translateY(-2px); }
.p-card .media { position: relative; display: block; aspect-ratio: 1 / 1; background: linear-gradient(180deg, #f7fafd, #fff); padding: .9rem; }
.p-card .media img { width: 100%; height: 100%; object-fit: contain; transition: transform .3s; }
.p-card:hover .media img { transform: scale(1.04); }
.p-card .off { position: absolute; top: .65rem; left: .65rem; background: var(--gl-red); color: #fff; font-weight: 800; font-size: .78rem; padding: .18rem .5rem; border-radius: 7px; z-index: 2; }
.p-card .flag { position: absolute; bottom: .55rem; left: .65rem; background: linear-gradient(90deg, #7c3aed, #a855f7); color: #fff; font-weight: 800; font-size: .66rem; padding: .16rem .5rem; border-radius: 6px; z-index: 2; }
.p-card .oos { position: absolute; top: .65rem; left: .65rem; background: #475569; color: #fff; font-weight: 800; font-size: .72rem; padding: .18rem .5rem; border-radius: 7px; z-index: 2; }
.wish { position: absolute; top: .55rem; right: .55rem; z-index: 3; width: 36px; height: 36px; border-radius: 50%; background: #fff; border: 1px solid var(--gl-line); display: grid; place-items: center; color: var(--gl-ink); font-size: 1.05rem; transition: all .15s; padding: 0; }
.wish:hover { color: var(--gl-red); border-color: #ffc9d0; }
.wish.on { color: var(--gl-red); background: #fff0f2; border-color: #ffc9d0; }
.wish.on i::before { content: "\f415"; } /* bi-heart-fill */
.p-card .body { padding: .2rem .9rem .9rem; display: flex; flex-direction: column; flex-grow: 1; gap: .25rem; }
.rating { display: inline-flex; align-items: center; gap: .25rem; font-size: .78rem; font-weight: 700; color: var(--gl-ink); }
.rating i { color: var(--gl-amber); }
.rating .n { color: var(--gl-muted); font-weight: 600; }
.p-card .name { color: var(--gl-ink); font-weight: 800; font-size: .93rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.45em; }
.p-card .name:hover { color: var(--gl-blue); }
.specs { display: flex; flex-wrap: nowrap; gap: .1rem .5rem; font-size: .72rem; color: var(--gl-muted); font-weight: 600; overflow: hidden; white-space: nowrap; mask-image: linear-gradient(90deg, #000 88%, transparent); }
.specs span { display: inline-flex; align-items: center; gap: .2rem; flex-shrink: 0; }
.specs span + span::before { content: '|'; margin-right: .45rem; opacity: .4; }
.price-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: .1rem .5rem; margin-top: .1rem; }
.price { color: var(--gl-red); font-weight: 800; font-size: 1.05rem; }
.mrp { color: var(--gl-muted); text-decoration: line-through; font-size: .8rem; font-weight: 600; }
.p-card .foot { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-top: auto; padding-top: .45rem; }
.stock { font-size: .76rem; font-weight: 700; display: inline-flex; align-items: center; gap: .25rem; white-space: nowrap; }
.stock.in { color: var(--gl-green); } .stock.low { color: var(--gl-red); } .stock.out { color: var(--gl-muted); }
.btn-cart { background: var(--gl-navy); color: #fff; border: 0; border-radius: 10px; font-size: .78rem; font-weight: 800; padding: .42rem .7rem; display: inline-flex; align-items: center; gap: .3rem; white-space: nowrap; }
.btn-cart:hover { background: var(--gl-blue); color: #fff; }
.btn-cart.loading { opacity: .6; }
.flash-bar { height: 7px; border-radius: 99px; background: #ffe1e5; overflow: hidden; margin: .25rem 0 .1rem; }
.flash-bar span { display: block; height: 100%; background: linear-gradient(90deg, #ff5a6e, var(--gl-red)); border-radius: 99px; }
.p-card.list { flex-direction: row; }
.p-card.list .media { width: 220px; flex-shrink: 0; }
.p-card.list .body { padding: 1rem 1.2rem; }
.p-card.list .name { -webkit-line-clamp: 1; min-height: 0; font-size: 1.05rem; }
.p-card.list .desc { font-size: .85rem; color: var(--gl-muted); }
@media (max-width: 575px) {
  .p-card .body { padding: .1rem .6rem .65rem; }
  .p-card .name { font-size: .84rem; }
  .price { font-size: .95rem; }
  .btn-cart span { display: none; }
  .p-card.list .media { width: 120px; }
}

/* Promo banner */
.promo { position: relative; border-radius: 20px; overflow: hidden; color: #fff; padding: 1.6rem; min-height: 230px; display: flex; flex-direction: column; justify-content: center; height: 100%; box-shadow: var(--gl-shadow); }
.promo h3 { font-weight: 900; font-style: italic; font-size: 1.75rem; line-height: 1.05; margin: 0 0 .3rem; max-width: 70%; position: relative; z-index: 2; }
.promo p { font-weight: 600; opacity: .9; position: relative; z-index: 2; max-width: 70%; }
.promo .offer { position: relative; z-index: 2; width: 104px; height: 104px; border-radius: 50%; background: #fff; color: var(--gl-navy); display: grid; place-items: center; text-align: center; font-weight: 900; line-height: 1.05; padding: .7rem; font-size: 1rem; margin: .6rem 0; box-shadow: 0 8px 20px rgba(0,0,0,.25); }
.promo .btn-shop { position: relative; z-index: 2; background: #fff; color: var(--gl-navy); border-radius: 999px; font-weight: 800; align-self: flex-start; padding: .5rem 1.2rem; }
.promo .btn-shop:hover { background: var(--gl-cyan); }
.promo .pic { position: absolute; right: -4%; bottom: -6%; width: 55%; z-index: 1; filter: drop-shadow(0 10px 20px rgba(0,0,0,.3)); }
.promo .art { position: absolute; right: -2%; bottom: -12%; font-size: 10rem; line-height: 1; opacity: .2; z-index: 1; }
.promo.wide { min-height: 180px; }

/* Trust strip */
.trust { display: grid; grid-template-columns: repeat(5, 1fr); gap: .5rem; background: #fff; border: 1px solid var(--gl-line); border-radius: 18px; padding: 1rem 1.2rem; box-shadow: var(--gl-shadow); }
.trust > div { display: flex; align-items: center; gap: .7rem; }
.trust > div + div { border-left: 1px solid var(--gl-line); padding-left: 1rem; }
.trust i { font-size: 2rem; color: var(--gl-cyan-600); }
.trust b { display: block; font-weight: 800; font-size: .95rem; }
.trust small { color: var(--gl-muted); font-weight: 600; }
@media (max-width: 991px) { .trust { grid-template-columns: repeat(2, 1fr); gap: 1rem; } .trust > div + div { border: 0; padding: 0; } }
@media (max-width: 575px) { .trust i { font-size: 1.5rem; } .trust b { font-size: .82rem; } .trust small { font-size: .7rem; } }

/* Brands */
.brand-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: .7rem; }
.brand-tile { height: 74px; background: #fff; border: 1px solid var(--gl-line); border-radius: 14px; display: grid; place-items: center; padding: .6rem; font-weight: 900; font-size: 1.05rem; color: var(--gl-navy); letter-spacing: .02em; transition: all .15s; text-align: center; }
.brand-tile img { max-height: 46px; max-width: 100%; object-fit: contain; }
.brand-tile:hover { border-color: var(--gl-cyan); box-shadow: var(--gl-shadow); transform: translateY(-2px); color: var(--gl-blue); }

/* All categories tiles */
.cat-card { display: flex; flex-direction: column; border-radius: 18px; padding: 1.1rem; min-height: 210px; color: var(--gl-ink); border: 1px solid var(--gl-line); position: relative; overflow: hidden; transition: all .15s; background: linear-gradient(160deg, #fff 30%, var(--gl-soft)); }
.cat-card:nth-child(3n+2) { background: linear-gradient(160deg, #fff 30%, #f2edff); }
.cat-card:nth-child(3n) { background: linear-gradient(160deg, #fff 30%, #eafaf3); }
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--gl-shadow-lg); color: var(--gl-ink); }
.cat-card .pic { flex-grow: 1; display: grid; place-items: center; font-size: 4.2rem; color: var(--gl-navy); }
.cat-card .pic img { max-height: 120px; object-fit: contain; }
.cat-card b { font-weight: 800; font-size: 1rem; }
.cat-card small { color: var(--gl-muted); font-weight: 600; }
.cat-card .go { position: absolute; right: 1rem; bottom: 1rem; width: 34px; height: 34px; border-radius: 50%; background: #fff; box-shadow: var(--gl-shadow); display: grid; place-items: center; color: var(--gl-blue); }

/* Page banners (listing/category heads) */
.page-banner { border-radius: 20px; padding: 1.5rem 1.8rem; color: #fff; position: relative; overflow: hidden; min-height: 140px; display: flex; align-items: center; }
.page-banner h1 { font-weight: 900; font-style: italic; font-size: clamp(1.5rem, 3vw, 2.3rem); margin: 0; position: relative; z-index: 2; }
.page-banner p { margin: .3rem 0 0; opacity: .9; font-weight: 600; position: relative; z-index: 2; }
.page-banner .art { position: absolute; right: 3%; top: 50%; transform: translateY(-50%); font-size: 7rem; opacity: .18; }
.page-banner .chips { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: .8rem 1.4rem; margin-top: .8rem; font-weight: 700; font-size: .88rem; }
.page-banner .chips i { color: var(--gl-cyan); margin-right: .3rem; }

/* ── Listing ─────────────────────────────────────────────── */
.filter-panel .head { background: linear-gradient(135deg, var(--gl-navy), var(--gl-navy-2)); }
.filter-group { border-top: 1px solid var(--gl-line); padding: .9rem 1.1rem; }
.filter-group h6 { font-weight: 800; font-size: .92rem; margin-bottom: .6rem; display: flex; justify-content: space-between; }
.filter-group .opt { display: flex; align-items: center; gap: .55rem; padding: .2rem 0; color: var(--gl-ink); font-size: .88rem; font-weight: 500; }
.filter-group .opt .box { width: 18px; height: 18px; border: 2px solid #c6d0dd; border-radius: 5px; display: grid; place-items: center; font-size: .7rem; color: #fff; flex-shrink: 0; }
.filter-group .opt.on .box { background: var(--gl-blue); border-color: var(--gl-blue); }
.filter-group .opt .n { color: var(--gl-muted); font-size: .8rem; }
.filter-group .opt:hover { color: var(--gl-blue); }
.sub-chips { display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.sub-chips a { white-space: nowrap; border: 1px solid var(--gl-line); background: #fff; color: var(--gl-ink); font-weight: 700; font-size: .85rem; padding: .45rem 1rem; border-radius: 999px; }
.sub-chips a.active { background: var(--gl-navy); border-color: var(--gl-navy); color: #fff; }
.sub-chips a:hover:not(.active) { border-color: var(--gl-cyan); color: var(--gl-blue); }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; }
.toolbar .form-select { width: auto; padding-top: .4rem; padding-bottom: .4rem; font-size: .88rem; }
.view-toggle a { width: 38px; height: 38px; display: inline-grid; place-items: center; border: 1px solid var(--gl-line); border-radius: 10px; color: var(--gl-ink); background: #fff; }
.view-toggle a.active { background: var(--gl-navy); color: #fff; border-color: var(--gl-navy); }
.pagination { --bs-pagination-color: var(--gl-ink); --bs-pagination-active-bg: var(--gl-navy); --bs-pagination-active-border-color: var(--gl-navy); --bs-pagination-border-radius: 10px; gap: .3rem; }
.pagination .page-link { border-radius: 10px !important; font-weight: 700; min-width: 40px; text-align: center; }
.empty-state { text-align: center; padding: 3rem 1rem; color: var(--gl-muted); }
.empty-state > i { font-size: 3rem; color: #c2d3e6; }

/* ── Product page ────────────────────────────────────────── */
.gallery .main { position: relative; background: #fff; border: 1px solid var(--gl-line); border-radius: 20px; aspect-ratio: 1 / 1; display: grid; place-items: center; overflow: hidden; cursor: zoom-in; }
.gallery .main img { width: 100%; height: 100%; object-fit: contain; padding: 1.2rem; transition: transform .1s; }
.gallery .main.zoom img { transform: scale(2); }
.gallery .thumbs { display: flex; gap: .55rem; margin-top: .7rem; overflow-x: auto; scrollbar-width: none; }
.gallery .thumbs button { width: 72px; height: 72px; flex-shrink: 0; border: 2px solid var(--gl-line); border-radius: 12px; background: #fff; padding: .3rem; }
.gallery .thumbs button.active { border-color: var(--gl-cyan); }
.gallery .thumbs img { width: 100%; height: 100%; object-fit: contain; }
.pd-title { font-weight: 800; font-size: clamp(1.35rem, 2.4vw, 1.9rem); line-height: 1.2; }
.pd-price { font-size: 2rem; font-weight: 800; color: var(--gl-red); }
.pd-mrp { font-size: 1.05rem; color: var(--gl-muted); text-decoration: line-through; font-weight: 600; }
.pd-save { background: #e8f8ef; color: var(--gl-green); font-weight: 800; border-radius: 8px; padding: .2rem .55rem; font-size: .85rem; }
.opt-group { margin-bottom: 1rem; }
.opt-group .lbl { font-weight: 800; font-size: .9rem; margin-bottom: .45rem; }
.opt-group .lbl span { color: var(--gl-muted); font-weight: 600; }
.opt-btn { border: 2px solid var(--gl-line); background: #fff; border-radius: 12px; padding: .45rem .9rem; font-weight: 700; font-size: .88rem; color: var(--gl-ink); margin: 0 .35rem .4rem 0; }
.opt-btn.active { border-color: var(--gl-blue); background: var(--gl-soft); color: var(--gl-blue-dark); }
.opt-btn.na { opacity: .45; text-decoration: line-through; }
.swatch { width: 40px; height: 40px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 2px var(--gl-line); margin: 0 .55rem .45rem 0; padding: 0; }
.swatch.active { box-shadow: 0 0 0 2px var(--gl-blue); }
.qty { display: inline-flex; align-items: center; border: 1px solid #dbe2ec; border-radius: 12px; overflow: hidden; background: #fff; }
.qty button { border: 0; background: transparent; width: 40px; height: 44px; font-size: 1.1rem; color: var(--gl-ink); }
.qty button:hover { background: var(--gl-soft); }
.qty input { width: 52px; border: 0; text-align: center; font-weight: 700; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty.sm button { width: 32px; height: 34px; } .qty.sm input { width: 38px; }
.assure { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.assure div { background: var(--gl-soft-2); border: 1px solid #d8f2fc; border-radius: 12px; padding: .7rem; font-size: .8rem; font-weight: 700; display: flex; gap: .5rem; align-items: center; }
.assure i { color: var(--gl-blue); font-size: 1.3rem; }
.spec-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .92rem; }
.spec-table th { width: 34%; font-weight: 700; color: var(--gl-muted); background: #f8fafc; }
.spec-table th, .spec-table td { padding: .65rem .9rem; border-bottom: 1px solid var(--gl-line); vertical-align: top; }
.nav-pd { border-bottom: 1px solid var(--gl-line); gap: .3rem; }
.nav-pd .nav-link { color: var(--gl-muted); font-weight: 800; border: 0; border-bottom: 3px solid transparent; border-radius: 0; padding: .8rem 1rem; }
.nav-pd .nav-link.active { color: var(--gl-navy); border-bottom-color: var(--gl-cyan); background: transparent; }
.rating-big { font-size: 3rem; font-weight: 800; line-height: 1; }
.bar-row { display: flex; align-items: center; gap: .6rem; font-size: .82rem; font-weight: 600; }
.bar-row .bar { flex-grow: 1; height: 8px; background: #edf1f6; border-radius: 99px; overflow: hidden; }
.bar-row .bar span { display: block; height: 100%; background: var(--gl-amber); }
.star-input { display: inline-flex; flex-direction: row-reverse; gap: .15rem; }
.star-input input { display: none; }
.star-input label { font-size: 1.7rem; color: #d5dce6; cursor: pointer; }
.star-input input:checked ~ label, .star-input label:hover, .star-input label:hover ~ label { color: var(--gl-amber); }
.review { border-bottom: 1px solid var(--gl-line); padding: 1rem 0; }
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 64px; z-index: 1020; background: #fff; border-top: 1px solid var(--gl-line); padding: .6rem .9rem; display: flex; gap: .6rem; box-shadow: 0 -8px 20px rgba(3,26,69,.08); }
@media (min-width: 992px) { .sticky-buy { display: none; } }

/* ── Testimonials & newsletter ───────────────────────────── */
.testi { background: #fff; border: 1px solid var(--gl-line); border-radius: 18px; padding: 1.2rem; height: 100%; display: flex; flex-direction: column; gap: .5rem; }
.testi .q { color: var(--gl-ink); font-size: .92rem; flex-grow: 1; }
.testi .who { display: flex; align-items: center; gap: .6rem; }
.testi .who small { color: var(--gl-muted); display: block; }
.newsletter { background: radial-gradient(circle at 90% 20%, rgba(2,200,250,.45), transparent 40%), linear-gradient(120deg, var(--gl-navy), var(--gl-navy-2)); color: #fff; border-radius: 22px; padding: 2rem; position: relative; overflow: hidden; }
.newsletter h3 { font-weight: 800; }
.newsletter .form-control { border-radius: 999px; height: 50px; border: 0; padding-left: 1.3rem; }
.newsletter .btn { border-radius: 999px; height: 50px; padding: 0 1.6rem; }
.newsletter .art { position: absolute; right: -20px; bottom: -40px; font-size: 11rem; opacity: .08; }

/* ── Cart & checkout ─────────────────────────────────────── */
.cart-line { display: flex; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--gl-line); align-items: center; }
.cart-line:last-child { border-bottom: 0; }
.cart-line img { width: 84px; height: 84px; object-fit: contain; background: #f7fafd; border-radius: 12px; padding: .3rem; flex-shrink: 0; }
.summary { position: sticky; top: 150px; }
.row-line { display: flex; justify-content: space-between; padding: .38rem 0; font-size: .95rem; }
.row-line.total { border-top: 1px dashed #cdd6e2; margin-top: .4rem; padding-top: .8rem; font-weight: 800; font-size: 1.2rem; }
.coupon-box .input-group .form-control { text-transform: uppercase; }
.applied-coupon { background: #e8f8ef; color: #0e7a3c; border: 1px dashed #7ad3a1; border-radius: 12px; padding: .55rem .8rem; font-weight: 700; font-size: .88rem; display: flex; align-items: center; gap: .5rem; }
.step-dot { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--gl-navy); color: #fff; font-weight: 800; font-size: .85rem; margin-right: .55rem; }
.pay-option { display: block; border: 2px solid var(--gl-line); border-radius: 14px; padding: .85rem 1rem; cursor: pointer; transition: border-color .15s, background .15s; }
.pay-option.selected { border-color: var(--gl-blue); background: var(--gl-soft-2); }
.pay-option input { margin-right: .55rem; accent-color: var(--gl-blue); }
.pay-option .desc { font-size: .82rem; color: var(--gl-muted); margin: .2rem 0 0 1.6rem; }
.addr-pick { border: 2px solid var(--gl-line); border-radius: 12px; padding: .6rem .8rem; cursor: pointer; font-size: .85rem; background: #fff; text-align: left; width: 100%; }
.addr-pick.active { border-color: var(--gl-blue); background: var(--gl-soft-2); }

/* ── Order tracking ──────────────────────────────────────── */
.stepper { display: flex; justify-content: space-between; position: relative; }
.stepper::before { content: ''; position: absolute; top: 22px; left: 8%; right: 8%; height: 3px; background: var(--gl-line); }
.stepper .s { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: .4rem; font-size: .78rem; font-weight: 700; color: var(--gl-muted); text-align: center; flex: 1; }
.stepper .dot { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 3px solid var(--gl-line); font-size: 1.2rem; }
.stepper .s.done .dot { background: var(--gl-green); border-color: var(--gl-green); color: #fff; }
.stepper .s.current .dot { background: var(--gl-blue); border-color: var(--gl-blue); color: #fff; box-shadow: 0 0 0 6px rgba(0, 136, 199, .15); }
.stepper .s.done, .stepper .s.current { color: var(--gl-ink); }
@media (max-width: 575px) { .stepper .dot { width: 36px; height: 36px; font-size: 1rem; } .stepper::before { top: 17px; } .stepper .s { font-size: .66rem; } }
.timeline { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--gl-line); }
.timeline li { position: relative; padding: 0 0 1rem 1.2rem; }
.timeline li::before { content: ''; position: absolute; left: -7px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--gl-blue); border: 2px solid #fff; }
.timeline li span { display: block; font-size: .92rem; }
.timeline li time { font-size: .78rem; color: var(--gl-muted); }
.otp-box { font-size: 2.2rem; letter-spacing: .5rem; font-weight: 800; color: var(--gl-navy); font-variant-numeric: tabular-nums; }
.track-map { height: 260px; border-radius: 14px; margin-bottom: .6rem; }
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--gl-green); animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: .3; } }

/* ── Account ─────────────────────────────────────────────── */
.acct-nav a { display: flex; align-items: center; gap: .7rem; padding: .7rem 1rem; color: var(--gl-ink); font-weight: 700; border-radius: 12px; font-size: .92rem; }
.acct-nav a i { font-size: 1.1rem; color: var(--gl-muted); }
.acct-nav a:hover { background: var(--gl-soft); }
.acct-nav a.active { background: var(--gl-navy); color: #fff; }
.acct-nav a.active i { color: var(--gl-cyan); }
.auth-card { max-width: 480px; margin: 0 auto; }
.auth-side { background: radial-gradient(circle at 80% 10%, rgba(2,200,250,.5), transparent 45%), linear-gradient(140deg, var(--gl-navy), var(--gl-navy-2)); color: #fff; border-radius: 20px; padding: 2rem; }
.stat-tile { background: #fff; border: 1px solid var(--gl-line); border-radius: 16px; padding: 1rem 1.2rem; display: flex; align-items: center; gap: .9rem; }
.stat-tile i { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 1.3rem; background: var(--gl-soft); color: var(--gl-blue); }
.stat-tile b { font-size: 1.35rem; font-weight: 800; display: block; line-height: 1.1; }
.stat-tile small { color: var(--gl-muted); font-weight: 600; }
.st-badge { font-size: .74rem; font-weight: 800; padding: .25rem .6rem; border-radius: 999px; display: inline-block; }
.st-pending { background: #fff4e5; color: #b45309; } .st-confirmed { background: #e0f2fe; color: #0369a1; }
.st-packed { background: #ede9fe; color: #6d28d9; } .st-out_for_delivery { background: #dbeafe; color: #1d4ed8; }
.st-delivered { background: #dcfce7; color: #15803d; } .st-cancelled { background: #f1f5f9; color: #64748b; }

/* ── Content pages ───────────────────────────────────────── */
.prose { font-size: 1rem; line-height: 1.75; color: #334155; }
.prose h2 { font-size: 1.2rem; font-weight: 800; color: var(--gl-ink); margin: 1.6rem 0 .6rem; }
.map-embed { border: 0; width: 100%; height: 340px; border-radius: 16px; }

/* ── Footer ──────────────────────────────────────────────── */
.site-footer { background: var(--gl-navy); color: #b7c6e4; font-size: .9rem; }
.site-footer h6 { color: #fff; font-weight: 800; letter-spacing: .02em; }
.site-footer a { color: #b7c6e4; }
.site-footer a:hover { color: var(--gl-cyan); }
.site-footer .logo-chip { background: #fff; border-radius: 14px; padding: .5rem .8rem; display: inline-block; }
.site-footer .logo-chip img { height: 56px; }
.site-footer .social a { width: 38px; height: 38px; border-radius: 50%; display: inline-grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; }
.site-footer .social a:hover { background: var(--gl-cyan); color: var(--gl-navy); }
.site-footer .pay-badges span { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: 8px; padding: .3rem .6rem; font-size: .75rem; font-weight: 700; color: #fff; }
.site-footer .fine { border-top: 1px solid rgba(255,255,255,.08); font-size: .8rem; }

/* ── Mobile nav, floating buttons, toasts ────────────────── */
.mobile-nav { position: fixed; bottom: 0; left: 0; right: 0; z-index: 1030; background: #fff; border-top: 1px solid var(--gl-line); display: flex; justify-content: space-around; padding: .35rem 0 calc(.35rem + env(safe-area-inset-bottom)); box-shadow: 0 -4px 16px rgba(3,26,69,.06); }
.mobile-nav a { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: .68rem; font-weight: 700; color: var(--gl-muted); padding: .2rem .6rem; }
.mobile-nav a i { font-size: 1.3rem; }
.mobile-nav a.active { color: var(--gl-blue); }
.mobile-nav .count-badge { top: -4px; right: 2px; }
@media (min-width: 992px) { .mobile-nav { display: none; } }
@media (max-width: 991px) { body { padding-bottom: 70px; } }
.floating-wa { position: fixed; right: 18px; bottom: 86px; z-index: 1025; width: 54px; height: 54px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; font-size: 1.6rem; box-shadow: 0 10px 24px rgba(37,211,102,.4); }
.floating-wa:hover { color: #fff; transform: scale(1.06); }
@media (min-width: 992px) { .floating-wa { bottom: 24px; } }
.toast-stack { position: fixed; top: 16px; right: 16px; z-index: 1090; display: grid; gap: .5rem; max-width: min(380px, calc(100vw - 32px)); }
.gl-toast { background: var(--gl-navy); color: #fff; border-radius: 14px; padding: .8rem 1rem; display: flex; align-items: center; gap: .6rem; box-shadow: var(--gl-shadow-lg); font-size: .9rem; font-weight: 600; animation: toast-in .25s ease; }
.gl-toast i { color: var(--gl-cyan); font-size: 1.2rem; }
.gl-toast.error { background: #7f1d1d; } .gl-toast.error i { color: #fecaca; }
.gl-toast a { color: var(--gl-cyan); font-weight: 800; margin-left: auto; white-space: nowrap; }
@keyframes toast-in { from { transform: translateY(-8px); opacity: 0; } }
.offcanvas-cats .cat-list > li > a { padding: .65rem 1rem; }

/* Invoice */
@media print {
  .no-print, .site-header, .topbar, .site-footer, .mobile-nav, .floating-wa, .toast-stack { display: none !important; }
  body { background: #fff; padding: 0; }
}

/* Small screens — kept last so they win over the desktop rules above. */
@media (max-width: 767px) {
  .slide .copy { max-width: 100%; padding: 1.3rem 1.4rem; }
  .slide h2 { font-size: 1.75rem; }
  .slide .btn-shop { white-space: nowrap; padding: .5rem 1.1rem; }
  .panel { padding: .7rem; border-radius: 16px; }
  .flash-head { padding: .6rem .8rem; background: linear-gradient(90deg, var(--gl-navy), var(--gl-navy-2)); }
  .flash-head .more { margin-left: 0 !important; }
  .page-banner { padding: 1.2rem; min-height: 110px; }
  .section-head h2 { font-size: 1.1rem; }
}
