/* ==========================================================
   Jahid Gadgets — shared stylesheet (all pages)
   Minimal & clean · 1200px content · 6px radius · no borders
   ========================================================== */
:root {
    --bg: #ffffff;
    --bg-soft: #f5f5f7;
    --bg-softer: #ebebef;
    --ink: #111113;
    --ink-2: #4a4a50;
    --ink-3: #86868b;
    --accent: #0a84ff;
    --accent-ink: #0066d6;
    --danger: #d92d20;
    --ok: #12a150;
    --star: #f5a623;
    --shadow-sm: 0 1px 4px rgba(0,0,0,.08);
    --shadow: 0 1px 2px rgba(0,0,0,.04), 0 10px 28px rgba(0,0,0,.08);
    --nav-h: 68px;

    --body: 'Inter', 'Noto Sans Bengali', 'Hind Siliguri', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --display: 'Anton', 'Impact', 'Arial Narrow', sans-serif;
    --menu-font: 'Poppins', 'Noto Sans Bengali', 'Hind Siliguri', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --serif-bn: 'Noto Serif Bengali', 'Noto Sans Bengali', serif;
    --script: 'Caveat', 'Dancing Script', 'Brush Script MT', cursive;
    --arabic: 'Amiri', 'Scheherazade New', 'Traditional Arabic', serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; max-width: 100%; overflow-x: hidden; }
body { font-family: var(--body); background: var(--bg); color: var(--ink); line-height: 1.65; -webkit-font-smoothing: antialiased; padding-top: var(--nav-h); max-width: 100%; overflow-x: hidden; }
body.lock { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; }
ul { list-style: none; }
h1, h2, h3, h4 { font-family: var(--menu-font); line-height: 1.25; letter-spacing: -.01em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; } /* 1240 - 2×20 = 1200px content */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 10px; left: 10px; width: auto; height: auto; margin: 0; clip: auto; z-index: 3000; background: var(--ink); color: #fff; padding: 10px 16px; }
.muted { color: var(--ink-3); }
.font-display { font-family: var(--display); letter-spacing: .02em; }
.font-serif-bn { font-family: var(--serif-bn); }
.font-script { font-family: var(--script); }
.font-arabic { font-family: var(--arabic); line-height: 1.9; }
.text-center { text-align: center; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; font-family: var(--menu-font); font-weight: 600; font-size: .92rem; line-height: 1.2; white-space: nowrap; transition: transform .15s, background .2s, box-shadow .2s, color .2s; }
.btn:active { transform: scale(.97); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #2c2c32; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-ink); }
.btn-soft { background: var(--bg-soft); color: var(--ink); }
.btn-soft:hover { background: var(--bg-softer); }
.btn-line { background: var(--bg-soft); color: var(--ink); }
.btn-line:hover { background: var(--bg-softer); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: #f0f0f3; }
.btn-wa { background: #25D366; color: #fff; }
.btn-wa:hover { background: #1fb957; }
.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: not-allowed; }

/* ---------- Navigation ---------- */
.nav { position: fixed; inset: 0 0 auto 0; height: var(--nav-h); z-index: 1000; background: rgba(255,255,255,.86); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px); box-shadow: 0 1px 12px rgba(0,0,0,.07); }
.nav-in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.nav-actions { flex: 0 0 auto; }
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 0 0 auto; }
.logo-mark { flex: none; width: 38px; height: 38px; display: grid; place-items: center; background: linear-gradient(135deg, #111113, #3b3b44); color: #fff; font-family: var(--menu-font); font-weight: 700; font-size: .95rem; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-name { font-family: var(--menu-font); font-weight: 700; font-size: 1.1rem; white-space: nowrap; }
.brand-sub { font-size: .68rem; color: var(--ink-3); white-space: nowrap; }
.nav-links { display: none; gap: 6px; }
.nav-links a { padding: 8px 14px; font-family: var(--menu-font); font-size: .92rem; font-weight: 500; color: var(--ink-2); transition: background .2s, color .2s; }
.nav-links a:hover { background: var(--bg-soft); color: var(--ink); }
.nav-links a[aria-current="page"] { background: var(--ink); color: #fff; }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-call { display: none; }
.cart-count { display: none; min-width: 20px; height: 20px; padding: 0 6px; background: var(--accent); color: #fff; font-size: .72rem; line-height: 20px; text-align: center; }
.cart-count.show { display: inline-block; }
.burger { width: 42px; height: 42px; background: var(--bg-soft); font-size: 1.15rem; }
.burger:hover { background: var(--bg-softer); }
.mobile-menu { position: absolute; top: var(--nav-h); left: 0; right: 0; background: #fff; box-shadow: 0 14px 24px rgba(0,0,0,.1); max-height: 0; overflow: hidden; opacity: 0; visibility: hidden; transition: max-height .3s ease, opacity .2s ease, visibility 0s linear .3s; }
.mobile-menu.open { max-height: min(480px, calc(100vh - var(--nav-h))); max-height: min(480px, calc(100dvh - var(--nav-h))); overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; opacity: 1; visibility: visible; transition-delay: 0s; }
.mobile-menu .inner { padding: 8px 20px 20px; display: flex; flex-direction: column; gap: 2px; }
.mobile-menu a.m-link { padding: 14px 8px; font-family: var(--menu-font); font-size: 1.02rem; font-weight: 500; }
.mobile-menu a.m-link[aria-current="page"] { background: var(--bg-soft); font-weight: 600; }
.mobile-menu .btn { margin-top: 12px; }
@media (min-width: 1024px) { .nav-links { display: flex; } .nav-call { display: inline-flex; } }

/* ---------- Hero slider ---------- */
.hero { padding-top: 20px; }
/* Fixed 20:9 frame (1200x540 on desktop). Same ratio on every device, so the image is never re-cropped or resized differently on mobile. */
.slider { position: relative; overflow: hidden; background: var(--bg-soft); aspect-ratio: 20 / 9; width: 100%; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity .7s ease; }
.slide.on { opacity: 1; z-index: 2; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.7) 0%, rgba(0,0,0,.2) 55%, rgba(0,0,0,0) 100%); }
.slide-text { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: clamp(18px, 4vw, 52px); color: #fff; max-width: 720px; }
.slide-badge { display: inline-block; font-size: .8rem; font-weight: 600; padding: 4px 12px; background: rgba(255,255,255,.22); backdrop-filter: blur(8px); margin-bottom: 12px; }
.slide-title { font-size: clamp(1.4rem, 4.6vw, 3.2rem); line-height: 1.15; font-weight: 700; }
.slide-sub { margin-top: 8px; font-size: clamp(.9rem, 1.8vw, 1.15rem); color: rgba(255,255,255,.86); }
.slide-cta { margin-top: 18px; }
.slider-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; width: 42px; height: 42px; background: rgba(255,255,255,.92); display: flex; align-items: center; justify-content: center; font-size: .85rem; box-shadow: 0 2px 10px rgba(0,0,0,.15); opacity: 0; transition: opacity .2s; }
.slider:hover .slider-arrow { opacity: 1; }
#prevSlide { left: 14px; } #nextSlide { right: 14px; }
@media (hover: none) { .slider-arrow { display: none; } }
.slider-dots { position: absolute; right: 20px; bottom: 20px; z-index: 5; display: flex; gap: 6px; }
.dot { width: 8px; height: 8px; background: rgba(255,255,255,.55); transition: width .25s, background .25s; }
.dot.on { width: 24px; background: #fff; }

/* ---------- Sections ---------- */
.section { padding-top: 72px; padding-bottom: 8px; }
.section-alt { background: var(--bg-soft); padding-bottom: 72px; margin-top: 72px; }
.section-dark { background: #111113; color: #fff; padding-bottom: 72px; margin-top: 72px; }
.section-head { display: flex; flex-direction: column; gap: 4px; margin-bottom: 28px; }
.section-head.center { align-items: center; text-align: center; }
.section-head.row { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.eyebrow { font-family: var(--menu-font); font-size: .82rem; font-weight: 600; color: var(--accent-ink); text-transform: uppercase; letter-spacing: .08em; }
.section-dark .eyebrow { color: #7cb8ff; }
.section-title { font-size: clamp(1.6rem, 3.6vw, 2.3rem); font-weight: 700; }
.section-sub { color: var(--ink-3); max-width: 640px; }
.section-dark .section-sub { color: #b4b4bc; }

.page-head { background: var(--bg-soft); padding-top: 44px; padding-bottom: 44px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .85rem; color: var(--ink-3); margin-bottom: 12px; }
.crumbs a:hover { color: var(--ink); }
.crumbs i { font-size: .6rem; }
.page-head h1 { font-size: clamp(1.9rem, 5vw, 3rem); font-weight: 700; }
.page-head p { margin-top: 8px; color: var(--ink-2); max-width: 680px; font-size: 1.05rem; }

/* ---------- Feature strip / icon cards ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 18px; }
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-2 { grid-template-columns: repeat(2, 1fr); gap: 36px; } }
@media (min-width: 1024px) { .grid-4 { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.feature { background: #fff; padding: 22px 18px; box-shadow: var(--shadow-sm); }
.section-alt .feature, .section-alt .box { background: #fff; }
.feature .ico, .box .ico { width: 46px; height: 46px; display: grid; place-items: center; background: var(--bg-soft); color: var(--accent-ink); font-size: 1.2rem; margin-bottom: 14px; }
.feature h3 { font-size: 1rem; margin-bottom: 4px; }
.feature p { font-size: .88rem; color: var(--ink-3); }
.box { background: var(--bg-soft); padding: 26px; }
.box h3 { font-size: 1.15rem; margin-bottom: 8px; }
.box p { color: var(--ink-2); }

/* ---------- Category cards ---------- */
.cat-card { display: flex; flex-direction: column; gap: 6px; padding: 22px 18px; background: #fff; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s; }
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.cat-emoji { font-size: 2.2rem; line-height: 1; }
.cat-card h3 { font-size: 1.05rem; }
.cat-card span { font-size: .85rem; color: var(--ink-3); }
.cat-card .go { margin-top: 6px; color: var(--accent-ink); font-weight: 600; font-size: .85rem; font-family: var(--menu-font); }

/* ---------- Filters ---------- */
.toolbar { display: flex; flex-direction: column; gap: 14px; margin-bottom: 22px; }
@media (min-width: 860px) { .toolbar { flex-direction: row; align-items: center; justify-content: space-between; } }
.cats { display: flex; gap: 8px; overflow-x: auto; padding: 2px 20px 8px; margin: 0 -20px; scrollbar-width: none; }
@media (min-width: 860px) { .cats { padding: 2px 0 2px; margin: 0; flex-wrap: wrap; overflow: visible; } }
.cats::-webkit-scrollbar { display: none; }
.cat { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; font-family: var(--menu-font); font-size: .88rem; font-weight: 500; background: var(--bg-soft); color: var(--ink-2); transition: background .2s, color .2s; }
.cat:hover { background: var(--bg-softer); color: var(--ink); }
.cat.active { background: var(--ink); color: #fff; }
.tool-right { display: flex; gap: 10px; flex-wrap: wrap; }
.search { position: relative; flex: 1 1 220px; }
.search i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--ink-3); font-size: .85rem; }
.search .input { padding-left: 38px; }
.result-count { font-size: .9rem; color: var(--ink-3); margin-bottom: 14px; }

/* ---------- Product grid & cards ---------- */
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 768px) { .grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
@media (min-width: 1024px) { .grid { grid-template-columns: repeat(4, 1fr); } }
.grid-msg { grid-column: 1 / -1; text-align: center; padding: 56px 0; color: var(--ink-3); }
.card { background: #fff; box-shadow: var(--shadow-sm); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .25s, transform .25s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card-media { position: relative; aspect-ratio: 1 / 1; background: var(--bg-soft); overflow: hidden; }
.card-media-btn { display: block; width: 100%; height: 100%; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: opacity .25s, transform .5s; }
.card:hover .card-media img { transform: scale(1.03); }
.card-media img.fading { opacity: .35; }
.badge { position: absolute; top: 10px; left: 10px; z-index: 2; background: #fff; color: var(--ink); font-family: var(--menu-font); font-size: .72rem; font-weight: 700; padding: 3px 10px; box-shadow: 0 1px 4px rgba(0,0,0,.12); }
.g-btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 30px; height: 30px; background: rgba(255,255,255,.92); font-size: .7rem; display: flex; align-items: center; justify-content: center; box-shadow: 0 1px 6px rgba(0,0,0,.15); opacity: 0; transition: opacity .2s; }
.g-btn.prev { left: 8px; } .g-btn.next { right: 8px; }
.card:hover .g-btn { opacity: 1; }
@media (hover: none) { .g-btn { opacity: 1; } }
.g-dots { position: absolute; bottom: 10px; left: 0; right: 0; display: flex; justify-content: center; gap: 5px; z-index: 2; pointer-events: none; }
.g-dots span { width: 6px; height: 6px; background: rgba(255,255,255,.75); box-shadow: 0 0 2px rgba(0,0,0,.3); }
.g-dots span.on { background: var(--ink); }
.card-body { padding: 14px; display: flex; flex-direction: column; flex: 1; gap: 4px; }
.card-cat { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--accent-ink); }
.card-title { font-size: 1rem; font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.rating { font-size: .78rem; color: var(--ink-3); }
.rating b { color: var(--star); font-weight: 400; letter-spacing: 1px; }
.card-desc { font-size: .84rem; color: var(--ink-3); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; overflow-wrap: anywhere; }
.price-row { display: flex; align-items: baseline; gap: 8px; margin-top: 6px; flex-wrap: wrap; }
.price { font-family: var(--menu-font); font-size: 1.3rem; font-weight: 700; }
.old-price { font-size: .85rem; color: var(--ink-3); text-decoration: line-through; }
.meta { display: flex; justify-content: space-between; font-size: .75rem; color: var(--ink-3); margin: 2px 0 10px; }
.card-actions { display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: auto; }
@media (min-width: 480px) { .card-actions { grid-template-columns: 1.5fr 1fr; } }
.card-actions .btn { padding: 10px 12px; font-size: .86rem; }

/* ---------- Promo band / CTA ---------- */
.promo { display: grid; gap: 24px; align-items: center; }
@media (min-width: 860px) { .promo { grid-template-columns: 1.3fr 1fr; } }
.promo h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); line-height: 1.15; }
.promo p { margin-top: 10px; color: #c9c9d1; max-width: 520px; }
.promo .btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.promo-art { display: flex; align-items: center; justify-content: center; flex-wrap: nowrap; gap: clamp(10px, 3.4vw, 22px); min-height: 160px; padding: 28px 16px; background: linear-gradient(135deg, #0a84ff, #5e5ce6); overflow: hidden; }
.pa { flex: 0 1 auto; display: grid; place-items: center; width: clamp(68px, 22vw, 104px); aspect-ratio: 1 / 1; font-size: clamp(2.2rem, 10.5vw, 3.7rem); line-height: 1; background: rgba(255,255,255,.16); box-shadow: 0 8px 22px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.3); }
.pa.mid { transform: translateY(-10px); background: rgba(255,255,255,.26); }
@media (min-width: 860px) { .promo-art { min-height: 240px; gap: 22px; } .pa { width: 112px; font-size: 4rem; } }
@media (max-width: 340px) { .pa { width: 64px; font-size: 2rem; } }

.steps { display: grid; gap: 16px; counter-reset: s; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { position: relative; padding: 24px 22px 22px; background: #fff; box-shadow: var(--shadow-sm); counter-increment: s; }
.step::before { content: counter(s); display: grid; place-items: center; width: 36px; height: 36px; background: var(--ink); color: #fff; font-family: var(--menu-font); font-weight: 700; margin-bottom: 14px; }
.step h3 { font-size: 1.05rem; margin-bottom: 4px; }
.step p { font-size: .9rem; color: var(--ink-3); }

.cta-band { text-align: center; padding: 48px 20px; background: var(--bg-soft); }
.cta-band h2 { font-size: clamp(1.5rem, 3.6vw, 2.1rem); }
.cta-band p { color: var(--ink-3); margin: 8px auto 22px; max-width: 520px; }
.cta-band .btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ---------- Reviews ---------- */
.review { background: #fff; padding: 20px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 10px; }
.review-top { display: flex; align-items: center; gap: 12px; }
.avatar { flex: none; width: 40px; height: 40px; background: var(--ink); color: #fff; display: grid; place-items: center; font-family: var(--menu-font); font-weight: 600; }
.review-name { font-weight: 600; line-height: 1.2; }
.review-loc { font-size: .78rem; color: var(--ink-3); }
.stars { color: var(--star); letter-spacing: 2px; font-size: .9rem; }
.stars .off { color: #d4d4d9; }
.review-text { color: var(--ink-2); font-size: .95rem; overflow-wrap: anywhere; }
.review-meta { font-size: .78rem; color: var(--ink-3); margin-top: auto; }
.tag { display: inline-block; font-size: .7rem; font-weight: 600; padding: 2px 8px; background: #fff4d6; color: #8a5a00; margin-left: 6px; }
.review-list { display: grid; gap: 14px; }
@media (min-width: 768px) { .review-list.two { grid-template-columns: repeat(2, 1fr); } }
.summary { display: grid; gap: 24px; background: var(--bg-soft); padding: 28px; margin-bottom: 28px; }
@media (min-width: 768px) { .summary { grid-template-columns: 240px 1fr; align-items: center; gap: 40px; } }
.big-score { font-family: var(--menu-font); font-size: 3.6rem; font-weight: 700; line-height: 1; }
.bar-row { display: grid; grid-template-columns: 52px 1fr 40px; align-items: center; gap: 10px; font-size: .85rem; color: var(--ink-2); margin: 6px 0; }
.bar { height: 8px; background: #dcdce2; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--star); }
.star-pick { display: flex; gap: 4px; }
.star-pick button { font-size: 1.7rem; color: #d4d4d9; line-height: 1; padding: 2px; }
.star-pick button.on { color: var(--star); }

/* ---------- Forms ---------- */
.field { margin-bottom: 14px; }
.field label { display: block; font-size: .84rem; font-weight: 600; margin-bottom: 6px; color: var(--ink-2); }
.field .req { color: var(--danger); }
.input { width: 100%; padding: 12px 14px; background: var(--bg-soft); transition: box-shadow .2s, background .2s; resize: vertical; font-size: 16px; }
.input::placeholder { color: #a6a6ad; }
.input:focus { outline: none; background: #fff; box-shadow: 0 0 0 3px rgba(10,132,255,.25); }
select.input { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2386868b' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.form-grid { display: grid; gap: 0 14px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.form-msg { margin-top: 12px; padding: 12px 14px; font-size: .9rem; }
.form-msg.ok { background: #e8f7ef; color: #0b6b36; }
.form-msg.err { background: #fdecea; color: #a4261b; }

/* ---------- Panels, info cards, FAQ ---------- */
.panel { background: #fff; padding: 26px; box-shadow: var(--shadow-sm); }
.panel h3 { font-size: 1.2rem; margin-bottom: 4px; }
.panel .sub { color: var(--ink-3); font-size: .9rem; margin-bottom: 18px; }
.info-card { display: flex; gap: 14px; align-items: flex-start; padding: 20px; background: #fff; box-shadow: var(--shadow-sm); }
.info-card .ico { flex: none; width: 44px; height: 44px; display: grid; place-items: center; background: var(--bg-soft); color: var(--accent-ink); font-size: 1.1rem; }
.info-card h3 { font-size: .98rem; }
.info-card p, .info-card a { font-size: .9rem; color: var(--ink-2); overflow-wrap: anywhere; }
.info-card a:hover { color: var(--accent-ink); }
.faq details { background: #fff; margin-bottom: 8px; box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 16px 18px; cursor: pointer; font-family: var(--menu-font); font-weight: 600; font-size: .97rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; font-size: .75rem; transition: transform .25s; color: var(--ink-3); }
.faq details[open] summary i { transform: rotate(180deg); }
.faq details p { padding: 0 18px 18px; color: var(--ink-2); font-size: .94rem; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 768px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: 26px 16px; background: #fff; text-align: center; box-shadow: var(--shadow-sm); }
.stat b { display: block; font-family: var(--menu-font); font-size: 2.1rem; line-height: 1.1; }
.stat span { font-size: .85rem; color: var(--ink-3); }
.prose p { margin-bottom: 14px; color: var(--ink-2); font-size: 1.02rem; }
.timeline { display: grid; gap: 14px; }
.tl { display: grid; grid-template-columns: 76px 1fr; gap: 16px; background: #fff; padding: 18px; box-shadow: var(--shadow-sm); }
.tl b { font-family: var(--menu-font); color: var(--accent-ink); font-size: 1.1rem; }
.tl h3 { font-size: 1rem; margin-bottom: 2px; }
.tl p { font-size: .9rem; color: var(--ink-3); }
.checks li { display: flex; gap: 10px; padding: 5px 0; color: var(--ink-2); }
.checks i { color: var(--ok); margin-top: 6px; font-size: .8rem; }

/* ---------- Footer ---------- */
.footer { margin-top: 80px; background: #111113; color: #c9c9d1; }
.footer-grid { display: grid; gap: 32px; padding-top: 56px; padding-bottom: 36px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; } }
.footer h4 { font-size: .9rem; color: #fff; margin-bottom: 14px; }
.footer p, .footer li, .footer a { font-size: .9rem; line-height: 1.7; }
.footer ul { display: flex; flex-direction: column; gap: 8px; }
.footer a:hover { color: #fff; }
.f-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; color: #fff; }
.f-brand .logo-mark { background: #fff; color: #111113; }
.f-brand strong { font-family: var(--menu-font); font-size: 1.15rem; }
.socials { display: flex; gap: 8px; margin-top: 18px; }
.socials a { width: 38px; height: 38px; background: #26262b; display: flex; align-items: center; justify-content: center; transition: background .2s; }
.socials a:hover { background: var(--accent); }
.footer li i { width: 18px; margin-right: 6px; color: #7cb8ff; }
.copy { padding-top: 18px; padding-bottom: 24px; text-align: center; font-size: .8rem; color: #8c8c95; background: linear-gradient(#26262b, #26262b) top / 100% 1px no-repeat; }

/* ---------- WhatsApp floating button (circular) ---------- */
.wa-float { position: fixed; right: 22px; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); z-index: 900; width: 62px; height: 62px; color: #fff; font-size: 2rem; display: flex; align-items: center; justify-content: center; background: linear-gradient(145deg, #3ee37e 0%, #25D366 45%, #128C7E 100%); box-shadow: 0 10px 26px rgba(18,140,126,.45), inset 0 1px 0 rgba(255,255,255,.35); transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s; }
.wa-float:hover { transform: translateY(-3px) scale(1.06); box-shadow: 0 16px 34px rgba(18,140,126,.55), inset 0 1px 0 rgba(255,255,255,.4); }
.wa-float:active { transform: scale(.95); }
.wa-float > i { position: relative; z-index: 2; filter: drop-shadow(0 2px 3px rgba(0,0,0,.25)); }
.wa-ring { position: absolute; inset: 0; z-index: 0; background: rgba(37,211,102,.55); animation: waPulse 2.4s ease-out infinite; }
.wa-ring.r2 { animation-delay: 1.2s; }
@keyframes waPulse { 0% { transform: scale(1); opacity: .65; } 100% { transform: scale(1.9); opacity: 0; } }
.wa-status { position: absolute; top: 2px; right: 2px; z-index: 3; width: 15px; height: 15px; background: #4ade80; box-shadow: 0 0 0 3px #fff, 0 0 8px rgba(74,222,128,.9); }
.wa-label { position: absolute; right: calc(100% + 14px); top: 50%; z-index: 2; white-space: nowrap; display: flex; flex-direction: column; gap: 1px; padding: 10px 16px; background: #fff; color: var(--ink); font-family: var(--menu-font); font-size: .92rem; font-weight: 600; line-height: 1.3; box-shadow: 0 8px 28px rgba(0,0,0,.16); opacity: 0; transform: translate(14px, -50%); pointer-events: none; animation: waLabel 7s ease 2.5s 1 both; }
.wa-label small { font-weight: 400; font-size: .75rem; color: var(--ink-3); }
.wa-label small::before { content: ''; display: inline-block; width: 7px; height: 7px; margin-right: 6px; background: #22c55e; border-radius: 50% !important; }
.wa-label::after { content: ''; position: absolute; right: -5px; top: 50%; width: 10px; height: 10px; background: #fff; transform: translateY(-50%) rotate(45deg); }
.wa-float:hover .wa-label, .wa-float:focus-visible .wa-label { opacity: 1; transform: translate(0, -50%); animation: none; }
@keyframes waLabel { 0% { opacity: 0; transform: translate(14px, -50%); } 8%, 85% { opacity: 1; transform: translate(0, -50%); } 100% { opacity: 0; transform: translate(14px, -50%); } }

/* ---------- Modals (order popup + quick view) ---------- */
.modal { position: fixed; inset: 0; z-index: 2000; display: none; align-items: flex-start; justify-content: center; padding: 20px 12px; background: rgba(17,17,19,.55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); overflow-y: auto; overscroll-behavior: contain; }
.modal.open { display: flex; animation: fadeIn .2s ease; }
.modal-box { position: relative; background: #fff; width: 100%; max-width: 1000px; margin: auto; padding: 28px 22px 24px; box-shadow: 0 30px 70px rgba(0,0,0,.3); animation: pop .25s cubic-bezier(.2,.8,.2,1); }
.modal-box.md { max-width: 900px; }
.modal-x { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; background: var(--bg-soft); font-size: 1.5rem; line-height: 1; z-index: 3; }
.modal-x:hover { background: var(--bg-softer); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.modal h2 { font-size: 1.5rem; padding-right: 44px; }
.modal-sub { color: var(--ink-3); font-size: .92rem; margin: 4px 0 20px; }
.om-grid { display: grid; gap: 24px; }
@media (min-width: 860px) { .om-grid { grid-template-columns: 1.05fr 1fr; gap: 32px; } .modal-box { padding: 34px 34px 30px; } }
.om-title { font-size: 1rem; font-weight: 600; margin-bottom: 10px; }
.cart-list { max-height: 320px; overflow-y: auto; margin-bottom: 8px; }
.cart-empty { text-align: center; padding: 40px 10px; color: var(--ink-3); }
.cart-empty i { font-size: 2.4rem; margin-bottom: 10px; opacity: .5; }
.cart-item { display: flex; gap: 12px; padding: 12px 0; margin-bottom: 4px; }
.cart-item img { width: 62px; height: 62px; object-fit: cover; background: var(--bg-soft); flex: none; }
.ci-info { flex: 1; min-width: 0; }
.ci-name { font-weight: 600; font-size: .94rem; line-height: 1.3; overflow-wrap: anywhere; }
.ci-price { font-size: .82rem; color: var(--ink-3); }
.ci-total { font-weight: 700; font-size: .94rem; }
.ci-side { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; }
.qty { display: inline-flex; align-items: center; background: var(--bg-soft); }
.qty button { width: 30px; height: 30px; font-size: .7rem; }
.qty button:hover { background: var(--bg-softer); }
.qty span { min-width: 24px; text-align: center; font-weight: 600; font-size: .9rem; }
.ci-remove { color: var(--ink-3); font-size: .85rem; padding: 4px; }
.ci-remove:hover { color: var(--danger); }
.sum { padding-top: 12px; margin-top: 8px; background: linear-gradient(var(--bg-softer), var(--bg-softer)) top / 100% 1px no-repeat; }
.sum-row { display: flex; justify-content: space-between; padding: 3px 0; color: var(--ink-2); font-size: .94rem; }
.sum-row.total { margin-top: 8px; padding-top: 10px; font-size: 1.2rem; font-weight: 700; color: var(--ink); background: linear-gradient(var(--bg-softer), var(--bg-softer)) top / 100% 1px no-repeat; }
.free { color: var(--ok); font-weight: 600; }
.note { background: var(--bg-soft); padding: 12px 14px; font-size: .85rem; color: var(--ink-2); margin-top: 12px; }
.note i { color: var(--accent-ink); margin-right: 6px; }
.done { text-align: center; padding: 18px 4px 6px; }
.done .ck { width: 74px; height: 74px; margin: 0 auto 18px; display: grid; place-items: center; background: #e8f7ef; color: var(--ok); font-size: 2rem; }
.done h2 { padding-right: 0; margin-bottom: 8px; }
.done > p { color: var(--ink-2); max-width: 480px; margin: 0 auto 18px; }
.done dl { max-width: 420px; margin: 0 auto 22px; text-align: left; background: var(--bg-soft); padding: 8px 16px; }
.done dl div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; font-size: .92rem; }
.done dd { font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.done .btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

.qv { display: grid; gap: 22px; }
@media (min-width: 760px) { .qv { grid-template-columns: 1fr 1fr; gap: 34px; } }
.qv-main { aspect-ratio: 1 / 1; background: var(--bg-soft); overflow: hidden; }
.qv-main img { width: 100%; height: 100%; object-fit: cover; }
.qv-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8px; }
.qv-thumbs button { aspect-ratio: 1 / 1; overflow: hidden; background: var(--bg-soft); opacity: .6; transition: opacity .2s, box-shadow .2s; }
.qv-thumbs button.on, .qv-thumbs button:hover { opacity: 1; }
.qv-thumbs button.on { box-shadow: 0 0 0 2px var(--ink); }
.qv-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.qv-info h2 { font-size: 1.6rem; margin: 4px 0 6px; padding-right: 40px; }
.qv-price { display: flex; align-items: baseline; gap: 10px; margin: 12px 0; flex-wrap: wrap; }
.qv-price .price { font-size: 1.9rem; }
.qv-save { background: #e8f7ef; color: #0b6b36; font-size: .78rem; font-weight: 700; padding: 3px 8px; }
.qv-info > p { color: var(--ink-2); margin-bottom: 14px; }
.qv-feat { margin-bottom: 16px; }
.qv-spec { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 18px; }
.qv-spec div { background: var(--bg-soft); padding: 10px 12px; font-size: .82rem; color: var(--ink-3); }
.qv-spec b { display: block; color: var(--ink); font-size: .92rem; }
.qv-actions { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: calc(26px + env(safe-area-inset-bottom, 0px)); z-index: 3000; transform: translate(-50%, 20px); background: #111113; color: #fff; padding: 12px 20px; font-size: .92rem; box-shadow: 0 10px 30px rgba(0,0,0,.3); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; max-width: calc(100% - 28px); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Skeleton ---------- */
.skel { background: #fff; box-shadow: var(--shadow-sm); overflow: hidden; }
.skel .img, .skel .ln { background: linear-gradient(100deg, #efeff2 30%, #f8f8fa 50%, #efeff2 70%); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
.skel .img { aspect-ratio: 1 / 1; }
.skel .ln { height: 12px; margin: 12px 14px 0; }
.skel .ln.s { width: 50%; } .skel .ln.l { width: 80%; margin-bottom: 16px; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- Mobile refinements ---------- */
@media (max-width: 1023px) { .section { padding-top: 56px; } .section-alt, .section-dark { margin-top: 56px; padding-bottom: 56px; } .footer { margin-top: 64px; } }
@media (max-width: 640px) {
    .wrap { padding: 0 14px; }
    .cats { padding-left: 14px; padding-right: 14px; margin: 0 -14px; }
    .section { padding-top: 44px; }
    .section-alt, .section-dark { margin-top: 44px; padding-bottom: 44px; }
    .section-head { margin-bottom: 20px; }
    .page-head { padding-top: 32px; padding-bottom: 32px; }
    .hero { padding-top: 14px; }
    .grid { gap: 10px; }
    .card-body { padding: 10px; }
    .card-title { font-size: .92rem; }
    .card-desc { font-size: .8rem; }
    .price { font-size: 1.1rem; }
    .meta { font-size: .72rem; }
    .brand-sub { display: none; }
    .hide-sm { display: none; }
    .panel, .box { padding: 18px; }
    .summary { padding: 18px; }
    .footer-grid { padding-top: 40px; gap: 26px; }
    .slide-text { padding: 18px 16px 34px; }
    .slider-dots { right: 12px; bottom: 12px; }
    .wa-float { right: 14px; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); width: 56px; height: 56px; font-size: 1.8rem; }
    .wa-label { display: none; }
    .modal { padding: 0; }
    .modal-box { min-height: 100%; padding: 56px 16px 22px; }
    .qv-actions { grid-template-columns: 1fr; }
    .tl { grid-template-columns: 60px 1fr; padding: 14px; }
}
@media (max-width: 360px) { .grid { grid-template-columns: 1fr; } .brand-name { font-size: 1rem; } }
@media (min-width: 1600px) { html { font-size: 17px; } }


/* ---------- Product detail page ---------- */
.pd { display: grid; gap: 28px; }
@media (min-width: 860px) { .pd { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; } .pd-gallery { position: sticky; top: calc(var(--nav-h) + 20px); } }
.pd-info h1 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); margin: 4px 0 8px; font-weight: 700; }
.pd-info .card-cat { display: inline-block; }
.pd-info .card-cat:hover { text-decoration: underline; }
.pd-short { color: var(--ink-2); margin-bottom: 12px; font-size: 1.02rem; }
.pd-stock { margin: 4px 0 18px; font-size: .92rem; color: var(--ok); font-weight: 600; }
.pd-stock .muted { font-weight: 400; }
.pd-buy { display: flex; gap: 10px; flex-wrap: wrap; align-items: stretch; }
.pd-buy .btn { flex: 1 1 140px; }
.qty.lg button { width: 44px; height: 100%; min-height: 48px; font-size: .8rem; }
.qty.lg span { min-width: 36px; font-size: 1.05rem; }
.pd-trust { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.pd-trust div { background: var(--bg-soft); padding: 12px 14px; display: grid; grid-template-columns: 26px 1fr; column-gap: 8px; align-items: center; font-size: .84rem; }
.pd-trust i { grid-row: span 2; color: var(--accent-ink); font-size: 1.1rem; }
.pd-trust b { font-family: var(--menu-font); font-size: .86rem; line-height: 1.25; }
.pd-trust span { color: var(--ink-3); font-size: .76rem; }
.spec { width: 100%; border-collapse: collapse; }
.spec th, .spec td { padding: 12px 14px; text-align: left; vertical-align: top; font-size: .93rem; }
.spec th { width: 38%; font-weight: 600; color: var(--ink-2); }
.spec tr:nth-child(odd) { background: var(--bg-soft); }
.card-title a:hover { color: var(--accent-ink); }
.card-media-btn { display: block; }
@media (max-width: 640px) { .pd-trust { grid-template-columns: 1fr; } .spec th { width: 42%; } .spec th, .spec td { padding: 10px 12px; font-size: .88rem; } }


/* ---------- Why shop with us ---------- */
.why .section-head { margin-bottom: 18px; }
.why-list { display: grid; grid-template-columns: 1fr; gap: 10px; }
.why-item { display: flex; align-items: center; gap: 14px; background: var(--bg-soft); padding: 14px 16px; }
.why-ico { flex: none; width: 50px; height: 50px; display: grid; place-items: center; background: #fff; color: var(--accent-ink); font-size: 1.25rem; box-shadow: var(--shadow-sm); }
.why-item h3 { font-size: 1rem; line-height: 1.3; margin-bottom: 2px; }
.why-item p { font-size: .86rem; line-height: 1.5; color: var(--ink-3); }
@media (min-width: 640px) { .why-list { grid-template-columns: 1fr 1fr; gap: 14px; } .why-item { padding: 18px; } }
@media (min-width: 1024px) {
    .why-list { grid-template-columns: repeat(4, 1fr); gap: 18px; }
    .why-item { flex-direction: column; align-items: flex-start; gap: 16px; padding: 24px 22px; }
    .why-ico { width: 52px; height: 52px; }
}
@media (max-width: 640px) { .why.section { padding-top: 32px; } }


/* ---------- Logo ---------- */
.brand-logo { height: 44px; width: auto; display: block; }
.f-logo { display: inline-block; background: #fff; padding: 12px 16px; margin-bottom: 16px; }
.f-logo img { display: block; width: 230px; max-width: 100%; height: auto; }
.m-ico { display: inline-block; height: 32px; width: auto; vertical-align: middle; margin-right: 10px; }
@media (max-width: 640px) { .brand-logo { height: 34px; } .f-logo img { width: 210px; } .m-ico { height: 28px; margin-right: 8px; } }
@media (max-width: 360px) { .brand-logo { height: 30px; } .nav-actions .btn { padding: 11px 14px; } .nav-actions { gap: 6px; } }


/* inline nav icons (no dependency on the icon CDN) */
.burger { display: grid; place-items: center; flex: none; }
@media (min-width: 1024px) { .burger, .mobile-menu { display: none; } }
.burger svg, .btn svg.ic { flex: none; display: block; }
.burger .i-x { display: none; }
.burger[aria-expanded="true"] .i-bars { display: none; }
.burger[aria-expanded="true"] .i-x { display: block; }

/* ---------- Navbar fixes ---------- */
.nav .nav-in { padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
@media (max-width: 640px) { .nav .nav-in { padding-left: max(14px, env(safe-area-inset-left, 0px)); padding-right: max(14px, env(safe-area-inset-right, 0px)); } }
/* desktop: logo | centred links | actions (links sit in the true centre) */
@media (min-width: 1024px) { .nav .nav-in { display: grid; grid-template-columns: 1fr auto 1fr; } .nav .brand { justify-self: start; } .nav .nav-actions { justify-self: end; } }
/* phones wide enough: keep the "Order" label next to the bag icon */
@media (min-width: 380px) and (max-width: 640px) { .nav-actions .hide-sm { display: inline; } }
.burger { width: 44px; height: 44px; cursor: pointer; }
.burger:focus-visible, .nav-links a:focus-visible, .mobile-menu a:focus-visible, .nav-actions .btn:focus-visible { outline: 2px solid var(--accent) !important; outline-offset: 2px; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .nav { background: #fff; } }
/* open mobile menu: solid bar + no page scroll behind it */
html.menu-open .nav { background: #fff; }
@media (max-width: 1023px) { html.menu-open { overflow: hidden; } }

/* ---------- Slider text on small screens (frame stays 20:9) ---------- */
@media (max-width: 767px) {
    .slide-text { padding: 10px 12px 12px; max-width: 78%; }
    .slide-badge { font-size: .62rem; padding: 2px 8px; margin-bottom: 5px; }
    .slide-title { font-size: clamp(.95rem, 4.6vw, 1.3rem); line-height: 1.2; }
    .slide-sub { display: none; }
    .slide-cta { margin-top: 8px; padding: 6px 12px; font-size: .74rem; gap: 6px; }
    .slider-dots { right: 10px; bottom: 10px; gap: 5px; }
}

/* ---------- Global rule: no borders, 6px radius everywhere ---------- */
*, *::before, *::after { border: 0 !important; border-radius: 6px !important; }
.wa-float, .wa-ring, .wa-status { border-radius: 50% !important; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
@media print { .nav, .wa-float, .modal { display: none !important; } body { padding-top: 0; } }
