/* =====================================================================
   store.css  –  styles for the public shop (home, category, product)
   Light on purpose: no frameworks, no web fonts (system fonts load instantly).

   Sections:  1 Basics · 2 Header · 3 Home (hero, categories, sections)
              4 Product card · 5 Product page · 6 Cart drawer + checkout
              7 Footer · 8 Contact page · 9 Accessibility
   Change the colours in :root below to re-brand the whole site.
   ===================================================================== */

/* ---------- 1. BASICS ---------- */
:root{
  --brand:#0B2F5B;      /* main dark blue  */
  --blue:#1565C0;       /* buttons / links */
  --accent:#E8590C;     /* offers / badges */
  --ok:#1E8E5A; --warn:#B7791F; --bad:#C62828;
  --ink:#1B2430; --mute:#6B7685; --line:#E3E8EF;
  --bg:#F6F8FB; --card:#fff; --sky:#E8F1FB;
  --r:12px;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:system-ui,-apple-system,"Segoe UI",Roboto,"Noto Sans Bengali",sans-serif;background:var(--bg);color:var(--ink);line-height:1.5;font-size:15px;-webkit-text-size-adjust:100%}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
button,input,textarea{font:inherit;color:inherit}
button{cursor:pointer;border:0;background:none}
:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
ul{list-style:none}
small{color:var(--mute);font-size:.78rem}
.wrap{max-width:1200px;margin:0 auto;padding:0 14px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}      /* visible to screen readers only */
.skip{position:absolute;left:-999px;top:0;background:#fff;padding:8px 12px;z-index:999}
.skip:focus{left:8px;top:8px}
[hidden]{display:none!important}

/* buttons */
.btn{display:inline-block;text-align:center;padding:10px 16px;border-radius:10px;font-weight:600;font-size:.9rem;background:var(--blue);color:#fff;transition:background .15s,transform .1s}
.btn:hover{background:var(--brand)}
.btn:active{transform:scale(.97)}
.btn.ghost{background:#fff;color:var(--blue);border:1px solid var(--blue)}
.btn.ghost:hover{background:var(--sky)}
.btn.dis,.btn:disabled{background:#E3E8EF;color:#9AA5B4;cursor:not-allowed}

/* ---------- 2. MENU (header, mega menu, mobile tab bar) ---------- */
.promo{color:#fff;text-align:center;font-size:.85rem;padding:7px 12px;font-weight:600}
.promo a{text-decoration:underline}

/* thin top bar - desktop only */
.topbar{background:var(--brand);color:#C9D6E8;font-size:.78rem}
.topbar .wrap{display:flex;justify-content:space-between;align-items:center;height:32px}
.topbar a{color:#C9D6E8}.topbar a:hover{color:#fff}
.topbar span>a+a,.topbar span>a+span,.topbar span>span{margin-left:16px}

/* header = main bar + menu bar, stays on screen while scrolling */
.hd{position:sticky;top:0;z-index:50;background:#fff;box-shadow:0 1px 0 var(--line)}
.bar{display:flex;align-items:center;gap:14px;height:66px}
.logo{font-weight:800;font-size:1.5rem;color:var(--brand);white-space:nowrap;letter-spacing:-.5px}
.search{display:flex;flex:1;max-width:640px;margin:0 auto 0 8px;border:2px solid var(--brand);border-radius:10px;overflow:hidden;background:#fff}
.search input{flex:1;min-width:0;border:0;padding:10px 14px;outline:0;font-size:.92rem;background:none}
.search button{background:var(--brand);color:#fff;padding:0 18px;display:grid;place-items:center}
.search button:hover{background:var(--blue)}
.hact{position:relative;display:flex;align-items:center;gap:9px;padding:6px 10px;border-radius:10px;color:var(--brand)}
.hact:hover{background:var(--bg)}
.hact .lbl{display:flex;flex-direction:column;line-height:1.2;text-align:left}
.hact .lbl small{font-size:.7rem;color:var(--mute)}
.hact .lbl b{font-size:.9rem}
.badge{position:absolute;min-width:18px;height:18px;border-radius:9px;background:var(--accent);color:#fff;font-size:.68rem;font-weight:700;display:grid;place-items:center;padding:0 4px}
.hact .badge{top:0;left:26px}

/* menu bar */
.catnav{border-top:1px solid var(--line);background:#fff}
.catnav .wrap{position:relative;display:flex;align-items:center;gap:2px;height:46px}
.allcats{display:flex;align-items:center;gap:8px;background:var(--brand);color:#fff;font-weight:700;font-size:.9rem;padding:0 16px;height:34px;border-radius:8px;margin-right:10px}
.allcats:hover,.allcats[aria-expanded=true]{background:var(--blue)}
.nl{height:46px;display:flex;align-items:center;padding:0 14px;font-weight:600;font-size:.9rem;border-bottom:3px solid transparent;margin-bottom:-1px}
.nl:hover,.nl.on{color:var(--blue);border-bottom-color:var(--blue)}
.nl.push{margin-left:auto}
.mega-wrap{display:flex}
.mega{position:absolute;left:14px;top:100%;width:min(780px,calc(100% - 28px));background:#fff;border:1px solid var(--line);border-top:0;border-radius:0 0 14px 14px;box-shadow:0 20px 40px rgba(11,47,91,.18);padding:14px;z-index:60}
.mega-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:4px}
.mi{display:flex;align-items:center;gap:10px;padding:8px;border-radius:10px}
.mi:hover{background:var(--sky)}
.mi b{display:block;font-size:.9rem}
.mimg{width:44px;height:44px;border-radius:50%;background:var(--sky);display:grid;place-items:center;overflow:hidden;font-size:1.3rem;flex:none}
.mimg img{width:100%;height:100%;object-fit:cover}
.mega-foot{display:flex;justify-content:space-between;align-items:center;margin-top:10px;padding-top:10px;border-top:1px solid var(--line);font-size:.82rem;color:var(--mute)}
.mega-foot a{color:var(--blue);font-weight:700}

/* ----- MOBILE: app-style menu ----- */
.tabbar,.buybar{display:none}
.sheet{position:fixed;left:0;right:0;bottom:0;max-height:80vh;overflow-y:auto;background:#fff;border-radius:18px 18px 0 0;z-index:95;padding:6px 14px calc(20px + env(safe-area-inset-bottom));transform:translateY(100%);visibility:hidden;transition:transform .28s,visibility .28s}
.sheet.on{transform:none;visibility:visible;box-shadow:0 -10px 30px rgba(0,0,0,.2)}
.sheet:before{content:"";display:block;width:40px;height:4px;border-radius:2px;background:var(--line);margin:6px auto 10px}   /* little grab handle */
.sh-h{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px;font-size:1.05rem;color:var(--brand)}
.sh-h button{font-size:1.6rem;line-height:1;width:36px;height:36px;border-radius:8px}
.sh-quick{display:flex;gap:8px;overflow-x:auto;margin-bottom:14px;scrollbar-width:none}
.sh-quick a{flex:none;padding:7px 14px;border-radius:18px;background:var(--bg);border:1px solid var(--line);font-size:.82rem;font-weight:600}
.sh-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px 8px}
.sh-grid .cthumb{width:auto}

@media(max-width:820px){
  .topbar,.catnav,.hide-m{display:none}
  .bar{height:56px;gap:10px}
  .logo{font-size:1.25rem}
  .search{margin:0;max-width:none;border:1px solid var(--line);border-radius:22px;background:var(--bg)}
  .search input{padding:9px 4px 9px 14px}
  .search button{background:none;color:var(--mute);padding:0 13px}
  body{padding-bottom:calc(64px + env(safe-area-inset-bottom))}        /* room for the bottom bar */

  /* bottom tab bar */
  .tabbar{position:fixed;left:0;right:0;bottom:0;z-index:60;display:grid;grid-template-columns:repeat(5,1fr);background:#fff;border-top:1px solid var(--line);padding-bottom:env(safe-area-inset-bottom);box-shadow:0 -4px 16px rgba(11,47,91,.08)}
  .tab-i{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;height:58px;font-size:.68rem;font-weight:600;color:var(--mute)}
  .tab-i svg{width:23px;height:23px}
  .tab-i.on{color:var(--blue)}
  .tab-i.on svg{stroke-width:2.5}
  .tab-i .badge{top:4px;left:calc(50% + 4px)}

  /* product page: sticky buy bar instead of the tab bar */
  .buybar{position:fixed;left:0;right:0;bottom:0;z-index:60;display:flex;align-items:center;gap:8px;background:#fff;border-top:1px solid var(--line);padding:8px 12px calc(8px + env(safe-area-inset-bottom));box-shadow:0 -4px 16px rgba(11,47,91,.1)}
  .bb-price{display:flex;flex-direction:column;line-height:1.15;margin-right:2px}
  .bb-price b{font-size:1.1rem;color:var(--accent)}
  .buybar .btn{flex:1;padding:13px 8px}
  .buybar .buynow{background:var(--accent)}
  .buy .btn{display:none}                      /* the sticky bar does this job on phones */
  .toast{bottom:calc(78px + env(safe-area-inset-bottom))}
}

/* ---------- 3. HOME: hero, trust row, categories, sections ---------- */
.hero{position:relative;margin-top:12px}
.track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;border-radius:var(--r)}
.track::-webkit-scrollbar{display:none}
.slide{position:relative;flex:0 0 100%;scroll-snap-align:start;min-height:170px;aspect-ratio:3/1;max-height:340px;overflow:hidden;display:flex;align-items:center}
.slide img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.slide .txt{position:relative;color:#fff;padding:18px 22px;max-width:620px;z-index:1}
.slide:not(.dflt) .txt{background:linear-gradient(90deg,rgba(0,0,0,.55),transparent);height:100%;display:flex;flex-direction:column;justify-content:center;max-width:100%;padding-right:35%}
.slide h2{font-size:clamp(1.15rem,3.2vw,2rem);line-height:1.2;margin-bottom:6px}
.slide p{opacity:.92;margin-bottom:12px;font-size:.95rem}
.slide .btn{background:var(--accent);align-self:flex-start}
.slide.dflt{background:linear-gradient(120deg,var(--brand),var(--blue));aspect-ratio:auto;min-height:210px}   /* default hero when no banner yet */
.dots{position:absolute;bottom:8px;left:0;right:0;display:flex;justify-content:center;gap:6px}
.dots i{width:7px;height:7px;border-radius:50%;background:rgba(255,255,255,.5);transition:.2s}
.dots i.on{background:#fff;width:20px;border-radius:4px}
@media(max-width:640px){.slide{aspect-ratio:auto;min-height:190px}.slide:not(.dflt) .txt{padding-right:22px}}

.trust{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin:12px 0 4px;font-size:.82rem}
.trust li{background:#fff;border:1px solid var(--line);border-radius:10px;padding:8px 10px;display:flex;gap:6px;align-items:center}
@media(min-width:760px){.trust{grid-template-columns:repeat(4,1fr)}}

/* category thumbnails (horizontal scroll on phones) */
.cats{margin-top:10px}
.crow{display:flex;gap:14px;overflow-x:auto;padding:6px 2px 10px;scrollbar-width:none}
.crow::-webkit-scrollbar{display:none}
.cthumb{flex:none;width:78px;text-align:center}
.ci{display:grid;place-items:center;width:72px;height:72px;margin:0 auto 6px;border-radius:50%;background:#fff;border:2px solid var(--line);overflow:hidden;font-size:1.9rem;transition:.15s}
.ci img{width:100%;height:100%;object-fit:cover}
.cthumb:hover .ci,.cthumb.on .ci{border-color:var(--blue);transform:translateY(-2px)}
.cn{font-size:.78rem;font-weight:600;line-height:1.2;display:block}
@media(min-width:760px){.cthumb{width:96px}.ci{width:88px;height:88px}}

/* section header */
.sec{margin-top:20px}
.sh{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:10px}
.sh h2{font-size:1.2rem;color:var(--brand)}
.sh a{font-size:.85rem;color:var(--blue);font-weight:600}
.tabs{display:flex;gap:8px;overflow-x:auto;padding-bottom:10px;scrollbar-width:none}
.tabs::-webkit-scrollbar{display:none}
.tab{flex:none;padding:7px 14px;border-radius:18px;background:#fff;border:1px solid var(--line);font-size:.85rem;font-weight:600}
.tab.on{background:var(--brand);color:#fff;border-color:var(--brand)}

/* category page header + breadcrumb */
.crumbs{font-size:.82rem;color:var(--mute);margin:12px 0}
.crumbs a{color:var(--blue)}
.cat-head{display:flex;gap:14px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:14px;margin-bottom:6px}
.cat-head .cimg{width:72px;height:72px;border-radius:14px;background:var(--sky);overflow:hidden;display:grid;place-items:center;font-size:2rem;flex:none}
.cat-head img{width:100%;height:100%;object-fit:cover}
.cat-head h1{font-size:1.4rem;color:var(--brand)}
.cat-head p{color:var(--mute);font-size:.9rem}

/* ---------- 4. PRODUCT CARD ---------- */
.grid{display:grid;grid-template-columns:repeat(2,1fr);gap:9px}
@media(min-width:640px){.grid{grid-template-columns:repeat(4,1fr);gap:12px}}
@media(min-width:1000px){.grid{grid-template-columns:repeat(5,1fr)}}   /* 5 smaller cards per row on desktop */
.hrow{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(148px,42%);gap:10px;overflow-x:auto;scroll-snap-type:x proximity;padding-bottom:8px;scrollbar-width:none}
.hrow::-webkit-scrollbar{display:none}
.hrow .card{scroll-snap-align:start}
@media(min-width:640px){.hrow{grid-auto-columns:minmax(170px,19%)}}

.card{position:relative;background:var(--card);border:1px solid var(--line);border-radius:var(--r);overflow:hidden;display:flex;flex-direction:column;transition:box-shadow .2s,transform .2s}
.card:hover{box-shadow:0 8px 24px rgba(11,47,91,.12);transform:translateY(-3px)}
.media{position:relative;aspect-ratio:1;background:var(--sky);display:grid;place-items:center;overflow:hidden}
.media img{width:100%;height:100%;object-fit:cover;transition:transform .35s}
.card:hover .media img{transform:scale(1.05)}
.ph{font-size:3rem}
.tags{position:absolute;top:8px;left:8px;display:flex;flex-direction:column;gap:4px;align-items:flex-start}
.tag{font-size:.68rem;font-weight:700;padding:2px 8px;border-radius:6px;color:#fff;background:var(--brand);line-height:1.5}
.tag.off{background:var(--accent)}
.tag.sp{background:#5E35B1}
.tag.nw{background:var(--ok)}
.tag.hot{background:var(--bad)}
.tag.bd{background:var(--brand)}
.soldout{position:absolute;inset:auto 0 0 0;background:rgba(27,36,48,.75);color:#fff;text-align:center;font-size:.8rem;padding:4px}
.info{padding:8px 10px 10px;display:flex;flex-direction:column;gap:3px;flex:1}
.cat{font-size:.7rem;text-transform:uppercase;letter-spacing:.5px;color:var(--mute)}
.info h3{font-size:.86rem;font-weight:600;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.6em}
.desc{font-size:.76rem;color:var(--mute);line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}   /* short description, max 2 lines */
.deal-mini{font-size:.76rem;font-weight:600;color:#9A4B00;background:#FFF4E5;border-radius:6px;padding:3px 8px;margin-top:2px;align-self:flex-start}
.deal-mini b{font-variant-numeric:tabular-nums}
.stretch::after{content:"";position:absolute;inset:0;z-index:1}      /* makes the whole card clickable */
.rate .st{color:#F5A623;letter-spacing:1px;font-size:.85rem}
.price{display:flex;align-items:baseline;gap:6px;margin-top:2px;flex-wrap:wrap}
.price strong{font-size:1rem;color:var(--brand)}
.price del{color:var(--mute);font-size:.82rem}
.low{font-size:.75rem;color:var(--warn);font-weight:600}
.info{gap:3px}
.info .price,.info .low{margin-bottom:6px}                 /* space above the button */
.info .btn{margin-top:auto;   /* pushes every button to the card bottom so all cards line up */
  position:relative;z-index:2;width:100%;padding:8px 10px;font-size:.85rem}   /* above the stretched link */

.status{text-align:center;color:var(--mute);padding:18px;font-size:.9rem}
.spin{width:26px;height:26px;border:3px solid var(--line);border-top-color:var(--blue);border-radius:50%;margin:0 auto;animation:sp .7s linear infinite}
@keyframes sp{to{transform:rotate(360deg)}}
.empty{text-align:center;color:var(--mute);padding:30px}
.empty a,.pager a{color:var(--blue);font-weight:600}
.pager{display:flex;justify-content:space-between;padding:12px 0}

/* ---------- 5. PRODUCT PAGE ---------- */
.pd{display:grid;gap:18px;background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:14px}
@media(min-width:820px){.pd{grid-template-columns:minmax(0,1fr) minmax(0,1fr);padding:22px;gap:28px}}
.gal .main{position:relative;aspect-ratio:1;background:var(--sky);border-radius:var(--r);overflow:hidden;display:grid;place-items:center}
.gal .main img{width:100%;height:100%;object-fit:contain;background:#fff}
.gal .ph{font-size:6rem}
.tag.big{position:absolute;top:10px;left:10px;font-size:.85rem;padding:3px 10px}
.thumbs{display:flex;gap:8px;margin-top:8px;overflow-x:auto;scrollbar-width:none}
.thumb{flex:none;width:68px;height:68px;border-radius:8px;border:2px solid var(--line);overflow:hidden;background:#fff}
.thumb img{width:100%;height:100%;object-fit:cover}
.thumb.on{border-color:var(--blue)}
.pinfo h1{font-size:1.45rem;line-height:1.25;color:var(--brand);margin:6px 0}
.badges{display:flex;gap:6px;flex-wrap:wrap}
.brand{color:var(--mute);font-size:.88rem}
.price.big strong{font-size:1.7rem;color:var(--accent)}
.price.big del{font-size:1rem}
.save{font-size:.78rem;font-weight:700;color:var(--ok);background:#E3F5EC;padding:2px 8px;border-radius:6px}
.deal{background:#FFF4E5;color:#9A4B00;border-radius:8px;padding:8px 12px;margin:8px 0;font-size:.9rem}
.stock{font-weight:600;font-size:.88rem;margin:6px 0}
.stock.ok{color:var(--ok)}.stock.low{color:var(--warn)}.stock.out{color:var(--bad)}
.short{color:#3b4656;margin:8px 0}
.opt{margin:12px 0}
.lb{font-size:.85rem;font-weight:600;display:block;margin-bottom:6px}
.lb small{color:var(--bad)}
.sw{display:flex;gap:8px;flex-wrap:wrap}
.sw button{width:32px;height:32px;border-radius:50%;border:2px solid #fff;box-shadow:0 0 0 1px var(--line)}
.sw button.on{box-shadow:0 0 0 2px var(--blue)}
.sz{display:flex;gap:8px;flex-wrap:wrap}
.sz button{min-width:44px;padding:8px 12px;border:1px solid var(--line);border-radius:8px;font-weight:600;background:#fff}
.sz button.on{background:var(--brand);color:#fff;border-color:var(--brand)}
.opt.err .sz button{border-color:var(--bad)}
.buy{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0}
.buy .btn{flex:1;min-width:120px;padding:12px}
.buy .buynow{background:var(--accent)}
.buy .buynow:hover{background:#c94a08}
.qty{display:flex;align-items:center;border:1px solid var(--line);border-radius:10px;overflow:hidden}
.qty button{width:36px;height:42px;font-size:1.2rem}
.qty button:hover{background:var(--sky)}
.qty span{min-width:32px;text-align:center;font-weight:700}
.perks{font-size:.85rem;color:var(--mute);display:grid;gap:4px}
.dtl{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:16px}
.dtl h2{font-size:1.05rem;color:var(--brand);margin:8px 0}
.long{color:#3b4656;max-width:75ch}
.specs{width:100%;border-collapse:collapse;font-size:.9rem;max-width:640px}
.specs th,.specs td{text-align:left;padding:8px 10px;border-bottom:1px solid var(--line)}
.specs th{width:38%;color:var(--mute);font-weight:600;background:#FAFBFC}

/* ---------- 6. CART DRAWER + CHECKOUT ---------- */
.ov{position:fixed;inset:0;background:rgba(10,20,35,.5);opacity:0;pointer-events:none;transition:.25s;z-index:90}
.ov.on{opacity:1;pointer-events:auto}
.drawer{position:fixed;top:0;right:0;bottom:0;width:min(420px,100%);background:#fff;z-index:100;transform:translateX(100%);visibility:hidden;transition:transform .28s,visibility .28s;display:flex;flex-direction:column}
.drawer.on{transform:none;visibility:visible;box-shadow:-8px 0 30px rgba(0,0,0,.15)}   /* shadow only when open, so no grey edge on the page */
.dh{display:flex;justify-content:space-between;align-items:center;padding:14px 16px;border-bottom:1px solid var(--line)}
.dh h2{font-size:1.1rem}
.dh button{font-size:1.6rem;line-height:1;width:36px;height:36px;border-radius:8px}
.dh button:hover{background:var(--bg)}
.db{flex:1;overflow-y:auto;padding:8px 16px}
.row{display:flex;gap:10px;padding:10px 0;border-bottom:1px solid var(--line)}
.row .th{width:58px;height:58px;border-radius:8px;background:var(--sky);display:grid;place-items:center;overflow:hidden;flex:none;font-size:1.6rem}
.row .th img{width:100%;height:100%;object-fit:cover}
.row .n{flex:1;min-width:0;font-size:.88rem}
.row .n b{display:block;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.row .n span{color:var(--mute);font-size:.78rem}
.rm{color:var(--bad);font-size:.78rem;display:block;margin-top:2px}
.row .qty button{width:28px;height:30px}
.row .qty span{min-width:24px;font-size:.88rem}
.cart-empty{text-align:center;color:var(--mute);padding:40px 10px}
.co{padding:12px 16px 16px;border-top:1px solid var(--line);display:grid;gap:8px;background:#FAFBFC}
.co input[type=text],.co input[type=tel],.co input:not([type]),.co textarea{width:100%;padding:11px 12px;border:1px solid var(--line);border-radius:10px;background:#fff;resize:none}
.tot{display:flex;justify-content:space-between;font-size:1.05rem}
.pay{display:flex;gap:14px;font-size:.88rem;flex-wrap:wrap}
.pay label{display:flex;gap:6px;align-items:center;cursor:pointer}
.err{color:var(--bad);font-size:.85rem;background:#FBE4E4;border-radius:8px;padding:8px 10px}
.place{background:var(--accent);color:#fff;font-weight:700;padding:13px;border-radius:10px;font-size:1rem}
.place:hover{background:#c94a08}
.place:disabled{opacity:.6}
.done{text-align:center;padding:40px 10px}
.done .ck{width:64px;height:64px;border-radius:50%;background:var(--ok);color:#fff;font-size:2rem;display:grid;place-items:center;margin:0 auto 12px}
.toast{position:fixed;left:50%;bottom:20px;transform:translate(-50%,90px);opacity:0;pointer-events:none;background:var(--ink);color:#fff;padding:10px 16px;border-radius:10px;font-size:.88rem;z-index:120;transition:.3s;max-width:90%}
.toast.on{transform:translate(-50%,0);opacity:1}

/* ---------- 7. FOOTER ---------- */
footer{background:var(--brand);color:#C9D6E8;margin-top:32px;padding-top:26px}
.fgrid{display:grid;gap:20px;grid-template-columns:1fr}
@media(min-width:760px){.fgrid{grid-template-columns:2fr 1.5fr 1.5fr}}
footer h2{color:#fff;font-size:1rem;margin-bottom:8px}
footer a{display:block;padding:2px 0;color:#9FC4F2}
footer a:hover{color:#fff}
footer p{font-size:.88rem}
.copy{border-top:1px solid rgba(255,255,255,.15);margin-top:20px;padding:14px;font-size:.8rem;text-align:center}

/* ---------- 7b. WHY SHOP WITH US (home page) ---------- */
.why h2{font-size:1.2rem;color:var(--brand);margin-bottom:12px;text-align:center}
.why-grid{display:grid;gap:10px;grid-template-columns:1fr}
@media(min-width:560px){.why-grid{grid-template-columns:repeat(2,1fr)}}
@media(min-width:900px){.why-grid{grid-template-columns:repeat(3,1fr);gap:14px}}
.why-grid li{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:14px 16px}
.wi{display:grid;place-items:center;width:40px;height:40px;border-radius:10px;background:var(--sky);font-size:1.2rem;margin-bottom:8px}
.why-grid h3{font-size:.98rem;color:var(--brand);margin-bottom:3px}
.why-grid p{font-size:.86rem;color:var(--mute)}
.why-grid a{color:var(--blue);font-weight:600}

/* ---------- 8. CONTACT PAGE ---------- */
.ct-head{margin:4px 0 16px}
.ct-head h1{font-size:1.6rem;color:var(--brand)}
.ct-head p{color:var(--mute);max-width:60ch}
.ct-grid{display:grid;gap:18px}
@media(min-width:860px){.ct-grid{grid-template-columns:1.1fr 1fr;align-items:start}}
.ct-info h2,.ct-form h2{font-size:1.05rem;color:var(--brand);margin:18px 0 8px}
.ct-info h2:first-of-type{margin-top:14px}
.ct-cards{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
.ct-card{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:12px;display:flex;flex-direction:column;gap:2px;transition:.15s}
a.ct-card:hover{border-color:var(--blue);box-shadow:0 6px 18px rgba(11,47,91,.1);transform:translateY(-2px)}
.ct-card .ico{font-size:1.4rem}
.ct-card small{font-size:.82rem;word-break:break-word}
.tbl-wrap{overflow-x:auto;background:#fff;border:1px solid var(--line);border-radius:var(--r)}
.ct-table{width:100%;border-collapse:collapse;font-size:.9rem}
.ct-table th,.ct-table td{text-align:left;padding:10px 12px;border-bottom:1px solid var(--line);vertical-align:top}
.ct-table tr:last-child th,.ct-table tr:last-child td{border-bottom:0}
.ct-table tbody th{width:32%;background:#FAFBFC;color:var(--mute);font-weight:600}
.ct-table thead th{background:var(--brand);color:#fff;font-size:.78rem;text-transform:uppercase;letter-spacing:.4px}
.ct-table.help td:first-child{font-weight:600;width:30%}
.ct-table a{color:var(--blue);font-weight:600}
.ct-form{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:16px}
.ct-form h2{margin-top:0}
.ct-form form{display:grid;gap:10px}
.ct-form .two{display:grid;gap:10px}
@media(min-width:520px){.ct-form .two{grid-template-columns:1fr 1fr}}
.fl{display:flex;flex-direction:column;gap:4px;font-size:.84rem;font-weight:600}
.fl input,.fl select,.fl textarea{width:100%;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:#fff;font-weight:400;resize:vertical}
.fl input:focus,.fl select:focus,.fl textarea:focus{border-color:var(--blue);outline:0;box-shadow:0 0 0 3px rgba(21,101,192,.12)}
.fl [aria-invalid=true]{border-color:var(--bad)}
.fe{color:var(--bad);font-weight:400;font-size:.8rem}
.ok-msg{background:#E3F5EC;color:var(--ok);border-radius:10px;padding:10px 12px;margin-bottom:10px;font-weight:600}
.send{padding:12px;font-size:1rem}
.hp{position:absolute;left:-9999px;height:0;overflow:hidden}   /* spam trap, hidden from people */

/* ---------- 9. ACCESSIBILITY ---------- */
@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important;scroll-behavior:auto!important}}