/* Al Tejarat storefront */
:root{
  --green:#7c3aed; --green-d:#5b21b6; --gold:#e8a93d; --gold-d:#c98a24;
  --brand:#7c3aed; --brand-d:#5b21b6; --brand-lt:#f3e8ff; --accent:#ec4899;
  --ink:#1e1b2e; --mut:#6d6a85; --bg:#faf9fe; --card:#ffffff; --line:#e9e4f5;
  --wa:#25d366; --radius:16px;
}
*{box-sizing:border-box; margin:0; padding:0}
body{font-family:'Inter','Segoe UI',system-ui,-apple-system,Roboto,Arial,sans-serif; background:var(--bg); color:var(--ink); line-height:1.6}
h1,h2,h3,.brand-text strong,.card-name,.pd-info h1{font-family:'Poppins','Inter',system-ui,sans-serif; letter-spacing:-.3px}
.wrap{max-width:1100px; margin:0 auto; padding:0 16px}
a{color:inherit; text-decoration:none}
button{font:inherit; cursor:pointer}
img{display:block; max-width:100%}

/* header */
.topbar{background:#fff; color:var(--ink); position:sticky; top:0; z-index:50; box-shadow:0 2px 16px rgba(124,58,237,.10)}
.topbar-in{display:flex; align-items:center; gap:18px; padding:12px 16px}
.brand{display:flex; align-items:center; gap:10px}
.brand-mark{background:linear-gradient(135deg,var(--brand),var(--accent)); color:#fff; font-weight:800; width:42px; height:42px; border-radius:12px; display:flex; align-items:center; justify-content:center; font-size:18px; box-shadow:0 4px 12px rgba(124,58,237,.35)}
.brand-text{display:flex; flex-direction:column; line-height:1.2}
.brand-text strong{font-size:19px; color:var(--ink)}
.brand-text small{font-size:11px; color:var(--mut)}
.nav{margin-left:auto; display:flex; gap:2px; overflow-x:auto; scrollbar-width:none}
.nav::-webkit-scrollbar{display:none}
.nav a{padding:8px 13px; border-radius:20px; font-weight:600; font-size:14.5px; color:#3d3a55; white-space:nowrap}
.nav a:hover{background:var(--brand-lt); color:var(--brand-d)}
.nav a.on{background:var(--brand); color:#fff}
.top-actions{display:flex; align-items:center; gap:10px; margin-left:8px}
.btn-brand{background:var(--brand); color:#fff}
.btn-brand:hover{background:var(--brand-d)}
.cart-btn{background:var(--brand-lt); border:0; border-radius:12px; padding:9px 14px; font-weight:700; color:var(--brand-d)}
.cart-btn span{background:var(--brand); color:#fff; border-radius:20px; padding:1px 9px; font-size:13px; margin-left:4px}
.wish-btn{background:#fff; border:2px solid var(--line); border-radius:12px; padding:7px 12px; font-weight:700; color:var(--ink); font-size:16px}
.wish-btn:hover{border-color:var(--accent)}
.wish-btn span{background:var(--accent); color:#fff; border-radius:20px; padding:1px 9px; font-size:13px; margin-left:4px}
.announce{background:linear-gradient(90deg,var(--brand-d),var(--brand)); color:#fff; text-align:center; font-size:13px; padding:7px 12px; font-weight:500}

/* hero */
.hero{background:linear-gradient(120deg,#faf5ff 0%,#f3e8ff 45%,#e9d5ff 100%); padding:56px 0 70px; overflow:hidden; position:relative}
.hero-grid{display:grid; grid-template-columns:1.05fr .95fr; gap:30px; align-items:center; position:relative; z-index:1}
.hero-badge{display:inline-block; background:#fff; border:1px solid var(--line); color:var(--brand-d); font-size:12px; font-weight:800; letter-spacing:1.5px; padding:7px 16px; border-radius:20px; margin-bottom:16px; box-shadow:0 2px 8px rgba(124,58,237,.10)}
.hero h1{font-size:clamp(34px,5.5vw,58px); line-height:1.08; margin-bottom:14px; color:var(--ink)}
.hero h1 .hl{color:var(--brand)}
.hero p{color:var(--mut); font-size:17px; margin-bottom:24px; max-width:440px}
.hero-visual{position:relative; display:flex; justify-content:center}
.hero-blob{position:absolute; width:min(420px,90%); aspect-ratio:1/1; background:linear-gradient(135deg,#c4b5fd,#a78bfa); border-radius:50%; top:50%; left:50%; transform:translate(-50%,-50%); opacity:.55}
.hero-visual img{position:relative; width:min(340px,80%); aspect-ratio:1/1; object-fit:cover; border-radius:28px; box-shadow:0 24px 60px rgba(124,58,237,.30); transform:rotate(2deg)}
.hero-off{position:absolute; top:6%; right:8%; width:104px; height:104px; border-radius:50%; background:linear-gradient(135deg,var(--accent),#f472b6); color:#fff; display:flex; flex-direction:column; align-items:center; justify-content:center; font-weight:800; font-size:13px; line-height:1.25; text-align:center; box-shadow:0 10px 26px rgba(236,72,153,.45); transform:rotate(-8deg); z-index:2}
.hero-off b{font-size:19px}
.hero-stats{display:flex; gap:26px; margin-top:30px; flex-wrap:wrap}
.hstat{display:flex; gap:10px; align-items:center}
.hstat .ic{font-size:24px}
.hstat b{display:block; font-size:16px}
.hstat small{color:var(--mut); font-size:12.5px}
.btn{display:inline-block; border:0; border-radius:12px; padding:13px 30px; font-weight:700; font-size:16px}
.btn-gold{background:var(--gold); color:#3a2a08}
.btn-gold:hover{background:var(--gold-d)}
.btn-green{background:var(--green); color:#fff}
.btn-wa{background:var(--wa); color:#fff; width:100%; padding:15px}
.btn-ghost{background:#fff; border:2px solid var(--line); color:var(--ink)}

/* sections */
.section{padding:34px 0}
.section h2{font-size:24px; margin-bottom:4px}
.section .sub{color:var(--mut); margin-bottom:18px}
.grid{display:grid; grid-template-columns:repeat(auto-fill,minmax(230px,1fr)); gap:18px}
.card{background:var(--card); border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; display:flex; flex-direction:column; transition:transform .15s, box-shadow .15s}
.card:hover{transform:translateY(-3px); box-shadow:0 10px 24px rgba(0,0,0,.10)}
.card img{aspect-ratio:1/1; object-fit:cover; width:100%}
.card-body{padding:14px; display:flex; flex-direction:column; gap:6px; flex:1}
.card-cat{font-size:12px; color:var(--mut); text-transform:uppercase; letter-spacing:.5px}
.card-name{font-weight:700; font-size:16px}
.card-price{color:var(--green); font-weight:800; font-size:18px}
.card .btn{margin-top:auto; padding:10px; font-size:14px; text-align:center}

/* toolbar */
.toolbar{display:flex; gap:10px; flex-wrap:wrap; margin-bottom:18px}
.toolbar input,.toolbar select{padding:10px 14px; border:1px solid var(--line); border-radius:10px; font:inherit; background:#fff}
.toolbar input{flex:1; min-width:180px}

/* product page */
.pd{display:grid; grid-template-columns:1fr 1fr; gap:28px; padding:28px 0}
.pd img.main{width:100%; border-radius:var(--radius); border:1px solid var(--line); aspect-ratio:1/1; object-fit:cover}
.swatches{display:flex; gap:8px; flex-wrap:wrap; margin:10px 0}
.swatch{width:44px; height:44px; border-radius:10px; border:2px solid var(--line); overflow:hidden; padding:0; background:#fff}
.swatch.on{border-color:var(--gold); box-shadow:0 0 0 2px var(--gold)}
.swatch img{width:100%; height:100%; object-fit:cover}
.pd-info h1{font-size:28px; margin-bottom:6px}
.pd-cat{color:var(--mut); font-size:13px; text-transform:uppercase; letter-spacing:.5px}
.pd-price{font-size:30px; color:var(--green); font-weight:800; margin:12px 0}
.pd-desc{color:#3c4540; margin-bottom:18px}
.qty{display:flex; align-items:center; gap:12px; margin-bottom:16px}
.qty button{width:38px; height:38px; border-radius:10px; border:1px solid var(--line); background:#fff; font-size:18px}
.qty b{font-size:18px; min-width:30px; text-align:center}
.pd-actions{display:flex; gap:10px; flex-wrap:wrap}
.pd-actions .btn{flex:1; min-width:160px}
.color-name{font-weight:600; font-size:14px}

/* cart drawer */
.overlay{position:fixed; inset:0; background:rgba(0,0,0,.45); opacity:0; pointer-events:none; transition:.2s; z-index:90}
.overlay.show{opacity:1; pointer-events:auto}
.drawer{position:fixed; top:0; right:-380px; width:min(380px,94vw); height:100%; background:#fff; z-index:100; display:flex; flex-direction:column; transition:right .25s; box-shadow:-8px 0 30px rgba(0,0,0,.15)}
.drawer.open{right:0}
.drawer-head{display:flex; justify-content:space-between; align-items:center; padding:16px; border-bottom:1px solid var(--line)}
.drawer-head .x{background:none; border:0; font-size:18px}
.drawer-body{flex:1; overflow:auto; padding:14px 16px; display:flex; flex-direction:column; gap:12px}
.drawer-foot{padding:16px; border-top:1px solid var(--line)}
.ci{display:flex; gap:12px; align-items:center}
.ci img{width:64px; height:64px; object-fit:cover; border-radius:10px; border:1px solid var(--line)}
.ci-info{flex:1; font-size:14px}
.ci-info b{display:block}
.ci-info small{color:var(--mut)}
.ci-qty{display:flex; align-items:center; gap:8px}
.ci-qty button{width:28px; height:28px; border-radius:8px; border:1px solid var(--line); background:#fff}
.ci-rm{background:none; border:0; color:#c0392b; font-size:13px}
.tot-row{display:flex; justify-content:space-between; font-size:15px; margin-bottom:6px}
.tot-row.grand{font-weight:800; font-size:18px; color:var(--green)}
.empty{text-align:center; color:var(--mut); padding:40px 10px}

/* checkout */
.checkout{max-width:640px; margin:0 auto; padding:28px 0}
.checkout h1{margin-bottom:6px}
.form{background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:22px; margin:18px 0}
.form label{display:block; font-weight:600; font-size:14px; margin:12px 0 6px}
.form input,.form textarea,.form select{width:100%; padding:12px; border:1px solid var(--line); border-radius:10px; font:inherit}
.form textarea{resize:vertical; min-height:70px}
.order-lines{background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:18px 22px; margin-bottom:18px}
.note{font-size:13px; color:var(--mut); background:#fff8e8; border:1px solid #f0dfae; border-radius:10px; padding:12px 14px; margin-top:14px}

/* success */
.success{max-width:560px; margin:0 auto; padding:50px 0; text-align:center}
.success .tick{font-size:64px; margin-bottom:10px}
.success .oid{display:inline-block; background:#e9f7ef; color:var(--green); font-weight:800; font-size:20px; padding:8px 22px; border-radius:12px; margin:12px 0}

/* footer */
.footer{background:#17122b; color:#cfd6d2; margin-top:50px; font-size:14.5px}
.foot-grid{display:grid; grid-template-columns:1.4fr 1fr 1fr 1.2fr; gap:28px; padding:44px 16px 32px}
.foot-col strong{display:block; color:#fff; font-family:'Poppins',sans-serif; margin-bottom:12px; font-size:13px; letter-spacing:1px}
.foot-col a{display:block; color:#a7a3c4; padding:4px 0}
.foot-col a:hover{color:#c4b5fd}
.foot-col p{color:#a7a3c4; margin-bottom:12px}
.foot-brand{display:flex; align-items:center; gap:10px; margin-bottom:12px}
.foot-brand strong{margin:0; font-size:18px; letter-spacing:0}
.wa-chip{display:inline-block; background:rgba(37,211,102,.15); border:1px solid rgba(37,211,102,.4); color:#4ade80; font-weight:700; padding:9px 20px; border-radius:24px; margin-top:6px}
.wa-chip:hover{background:rgba(37,211,102,.25)}
.foot-bottom{border-top:1px solid rgba(255,255,255,.08); padding:16px 0; font-size:13px; color:#7e7899; text-align:center}

@media(max-width:720px){
  .pd{grid-template-columns:1fr}
  .nav a{padding:8px 10px; font-size:14px}
  .hero{padding:36px 0 44px}
}

/* ---------- professional polish ---------- */
.hero{position:relative; overflow:hidden}
.hero::after{content:''; position:absolute; inset:0; background:radial-gradient(600px 200px at 50% -60px, rgba(255,255,255,.18), transparent); pointer-events:none}
.hero .wrap{position:relative; z-index:1}
.trust-row{display:flex; gap:10px; justify-content:center; flex-wrap:wrap; margin-top:26px}
.trust{display:inline-flex; align-items:center; gap:8px; background:rgba(255,255,255,.14); border:1px solid rgba(255,255,255,.25); color:#fff; font-size:13.5px; font-weight:600; padding:9px 16px; border-radius:30px; backdrop-filter:blur(4px)}
.section h2{position:relative; display:inline-block; padding-bottom:8px}
.section h2::after{content:''; position:absolute; left:0; bottom:0; width:56px; height:4px; border-radius:4px; background:var(--gold)}
.card{position:relative}
.card .flag{position:absolute; top:12px; left:12px; background:var(--gold); color:#3a2a08; font-size:11.5px; font-weight:800; text-transform:uppercase; letter-spacing:.5px; padding:5px 12px; border-radius:20px; box-shadow:0 4px 10px rgba(0,0,0,.15)}
.card-price{font-family:'Poppins',sans-serif}

/* info pages (about / contact / policies) */
.page{max-width:820px; margin:0 auto; padding:34px 16px 50px}
.page .crumbs{font-size:13px; color:var(--mut); margin-bottom:10px}
.page .crumbs a{color:var(--green); font-weight:600}
.page h1{font-size:32px; margin-bottom:6px}
.page .updated{color:var(--mut); font-size:13px; margin-bottom:20px}
.page .prose{background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:28px 30px}
.page .prose h2{font-size:19px; margin:22px 0 8px; padding:0}
.page .prose h2::after{display:none}
.page .prose h2:first-child{margin-top:0}
.page .prose p{margin-bottom:12px; color:#39423d}
.page .prose ul{margin:0 0 14px 20px; color:#39423d}
.page .prose li{margin-bottom:6px}
.page .prose strong{color:var(--ink)}
.policy-note{background:#fef6e7; border:1px solid #f0dfae; border-radius:12px; padding:16px 18px; margin:16px 0; font-size:15px}
.policy-note b{color:#8a5a12}

/* contact */
.contact-grid{display:grid; grid-template-columns:1fr 1fr; gap:18px; margin-top:18px}
.contact-card{background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:24px; text-align:center}
.contact-card .big{font-size:40px; margin-bottom:8px}
.contact-card h3{margin-bottom:6px}
.contact-card p{color:var(--mut); font-size:14px; margin-bottom:14px}

/* footer */

@media(max-width:820px){
  .foot-grid{grid-template-columns:1fr 1fr; gap:22px}
  .contact-grid{grid-template-columns:1fr}
  .page .prose{padding:20px}
}
@media(max-width:520px){
  .foot-grid{grid-template-columns:1fr}
}

/* hidden attribute must always win */
[hidden]{display:none!important}

/* text color pills */
.text-swatches{display:flex; gap:8px; flex-wrap:wrap; margin:10px 0}
.tswatch{border:2px solid var(--line); background:#fff; border-radius:20px; padding:8px 18px; font-weight:600; font-size:14px}
.tswatch.on{border-color:var(--gold); background:#fdf6e7; box-shadow:0 0 0 2px var(--gold)}

/* city autocomplete */
.city-wrap{position:relative}
.city-drop{position:absolute; top:100%; left:0; right:0; background:#fff; border:1px solid var(--line); border-radius:0 0 12px 12px; box-shadow:0 12px 30px rgba(0,0,0,.14); z-index:60; max-height:240px; overflow:auto}
.city-drop button{display:block; width:100%; text-align:left; background:none; border:0; border-bottom:1px solid var(--line); padding:11px 14px; font-size:15px}
.city-drop button:last-child{border-bottom:0}
.city-drop button:hover{background:#f2f7f4}

/* category sections */
.sec-head{display:flex; justify-content:space-between; align-items:baseline; margin-bottom:4px}
.sec-head h2{margin:0}
.view-all{color:var(--green); font-weight:700; font-size:14.5px; white-space:nowrap}
.view-all:hover{text-decoration:underline}

/* ---------- TrendMart-style home sections ---------- */
.sec-head.center{text-align:center; display:block}
.sec-head.center h2::after{left:50%; transform:translateX(-50%)}
.dots{color:var(--brand); letter-spacing:4px; font-size:13px; font-weight:800}

/* trust bar */
.trustbar{background:#fff; border:1px solid var(--line); border-radius:20px; box-shadow:0 14px 40px rgba(124,58,237,.10); display:grid; grid-template-columns:repeat(4,1fr); gap:10px; padding:22px 26px; margin:-34px auto 0; position:relative; z-index:5; max-width:1100px}
.titem{display:flex; gap:12px; align-items:center}
.titem .ic{font-size:30px}
.titem b{display:block; font-size:14.5px}
.titem small{color:var(--mut); font-size:12.5px}

/* category circles */
.cat-row{display:flex; gap:26px; justify-content:center; flex-wrap:wrap; padding:6px 0 4px}
.cat-circle{display:flex; flex-direction:column; align-items:center; gap:8px; width:120px}
.cc-img{width:112px; height:112px; border-radius:50%; overflow:hidden; border:4px solid #fff; box-shadow:0 10px 26px rgba(124,58,237,.18); background:var(--brand-lt)}
.cc-img img{width:100%; height:100%; object-fit:cover; transition:transform .25s}
.cat-circle:hover .cc-img img{transform:scale(1.1)}
.cat-circle b{font-size:14.5px}
.cat-circle small{color:var(--brand); font-weight:700; font-size:12.5px}

/* best sellers */
.bgrid{display:grid; grid-template-columns:repeat(auto-fill,minmax(220px,1fr)); gap:18px}
.bcard{background:#fff; border:1px solid var(--line); border-radius:18px; overflow:hidden; position:relative; display:flex; flex-direction:column; transition:transform .15s, box-shadow .15s}
.bcard:hover{transform:translateY(-4px); box-shadow:0 16px 34px rgba(124,58,237,.14)}
.bcard .pimg{aspect-ratio:1/1; object-fit:cover; width:100%}
.bcard-body{padding:14px 16px 16px; display:flex; flex-direction:column; gap:6px; flex:1}
.heart{position:absolute; top:10px; right:10px; width:36px; height:36px; border-radius:50%; border:0; background:rgba(255,255,255,.92); font-size:18px; color:#b9b3d4; box-shadow:0 4px 12px rgba(0,0,0,.12); z-index:2}
.heart.on{color:var(--accent)}
.add-btn{margin-top:auto; background:#fff; border:2px solid var(--line); border-radius:10px; padding:10px; font-weight:800; font-size:13px; letter-spacing:.5px; color:var(--ink)}
.add-btn:hover{border-color:var(--brand); color:var(--brand-d)}

/* promo banners */
.promos{display:grid; grid-template-columns:1fr 1fr; gap:18px}
.promo{border-radius:20px; padding:30px 28px; display:flex; align-items:center; justify-content:space-between; gap:16px; overflow:hidden; position:relative}
.promo-a{background:linear-gradient(120deg,#ede9fe,#ddd0fd)}
.promo-b{background:linear-gradient(120deg,#ffe4ee,#ffd3e4)}
.promo small{font-weight:800; letter-spacing:1px; font-size:12px; color:var(--brand-d); text-transform:uppercase}
.promo-b small{color:#be185d}
.promo h3{font-size:26px; margin:6px 0}
.promo p{color:#4c4870; font-size:14.5px; margin-bottom:16px; max-width:280px}
.promo .big-emoji{font-size:64px}
.promo img.pick{width:130px; height:130px; object-fit:cover; border-radius:18px; box-shadow:0 12px 28px rgba(0,0,0,.16)}

/* bottom trust row */
.trustrow{display:grid; grid-template-columns:repeat(4,1fr); gap:10px; background:#fff; border:1px solid var(--line); border-radius:18px; padding:20px 24px}

/* buttons */
.btn{display:inline-block; border:0; border-radius:12px; padding:13px 30px; font-weight:700; font-size:16px}
.btn-gold{background:var(--gold); color:#3a2a08}
.btn-green{background:var(--brand); color:#fff}
.btn-wa{background:var(--wa); color:#fff; width:100%; padding:15px}
.btn-ghost{background:#fff; border:2px solid var(--line); color:var(--ink)}

@media(max-width:860px){
  .hero-grid{grid-template-columns:1fr; text-align:center}
  .hero p{margin-left:auto; margin-right:auto}
  .hero-stats{justify-content:center}
  .hero-visual{order:-1}
  .trustbar{grid-template-columns:1fr 1fr; margin:-24px 16px 0}
  .promos{grid-template-columns:1fr}
  .trustrow{grid-template-columns:1fr 1fr}
  .topbar-in{flex-wrap:wrap}
  .nav{order:3; width:100%; margin:0}
  .top-actions{margin-left:auto}
}
.btn-sm{padding:10px 20px; font-size:14px}

/* ---------- extra home sections ---------- */
/* category showcase banners */
.showcase{display:grid; grid-template-columns:1fr 1fr; gap:18px}
.scard{position:relative; border-radius:20px; overflow:hidden; min-height:230px; display:flex; align-items:flex-end; color:#fff}
.scard img{position:absolute; inset:0; width:100%; height:100%; object-fit:cover; transition:transform .3s}
.scard:hover img{transform:scale(1.05)}
.scard::after{content:''; position:absolute; inset:0; background:linear-gradient(to top,rgba(20,10,40,.78),rgba(20,10,40,.05) 60%)}
.scard-body{position:relative; z-index:1; padding:24px}
.scard-body small{font-weight:700; letter-spacing:1px; font-size:12px; opacity:.85; text-transform:uppercase}
.scard-body h3{font-size:26px; margin:4px 0 10px}
.btn-white{background:#fff; color:var(--brand-d); font-weight:800; padding:10px 22px; border-radius:24px; font-size:14px; display:inline-block}

/* new arrivals scroll row */
.scroll-row{display:flex; gap:16px; overflow-x:auto; padding:6px 2px 14px; scroll-snap-type:x mandatory}
.scroll-row .bcard{min-width:230px; max-width:230px; scroll-snap-align:start}

/* how to order steps */
.steps{display:grid; grid-template-columns:repeat(3,1fr); gap:18px}
.step{background:#fff; border:1px solid var(--line); border-radius:18px; padding:28px 24px; text-align:center; position:relative}
.step .num{position:absolute; top:14px; right:18px; font-size:44px; font-weight:800; color:var(--brand-lt); font-family:'Poppins',sans-serif}
.step .ic{font-size:44px; display:block; margin-bottom:12px}
.step h3{font-size:18px; margin-bottom:8px}
.step p{color:var(--mut); font-size:14.5px}

@media(max-width:860px){
  .showcase{grid-template-columns:1fr}
  .steps{grid-template-columns:1fr}
}

/* ---------- har device friendly (responsive) ---------- */
body{overflow-x:clip}

@media(max-width:520px){
  body{font-size:15px}
  .section{padding:30px 0}
  .section h2{font-size:21px}
  /* shopping apps jaisi 2-column grids */
  .grid,.bgrid{grid-template-columns:repeat(2,1fr); gap:12px}
  .cat-grid{grid-template-columns:repeat(2,1fr); gap:12px}
  .cat-card-body{padding:10px 12px}
  .cat-card-body b{font-size:14px}
  .cat-card-body .go{font-size:12px}
  .card-body,.bcard-body{padding:10px 12px 12px}
  .card-name{font-size:13.5px}
  .card-price{font-size:16px}
  .card-cat{font-size:10.5px}
  /* ungli-friendly buttons */
  .add-btn{padding:12px 8px; font-size:12px}
  .heart{width:42px; height:42px; font-size:20px}
  .tswatch{min-height:44px; padding:10px 16px; font-size:13.5px}
  .qty button{width:44px; height:44px}
  .ci-qty button{width:34px; height:34px}
  .nav a{padding:10px 12px}
  .btn{min-height:48px}
  /* compact header */
  .brand-text small{display:none}
  .brand-text strong{font-size:17px}
  .brand-mark{width:38px; height:38px; font-size:16px}
  .topbar-in{gap:10px; padding:10px 12px}
  /* hero */
  .hero{padding:30px 0 44px}
  .hero-off{width:84px; height:84px; font-size:11px; right:4%}
  .hero-off b{font-size:16px}
  .hero-badge{font-size:11px}
  /* trustbar */
  .trustbar{padding:16px; gap:12px}
  .titem .ic{font-size:24px}
  .titem b{font-size:13px}
  .titem small{font-size:11.5px}
  /* promos */
  .promo{padding:22px 20px}
  .promo h3{font-size:21px}
  .promo .big-emoji{font-size:48px}
  .promo img.pick{width:96px; height:96px}
  /* category circles */
  .cat-circle{width:100px}
  .cc-img{width:92px; height:92px}
  .cat-row{gap:18px}
  /* showcase */
  .scard{min-height:190px}
  .scard-body h3{font-size:22px}
  /* toolbar inputs full width */
  .toolbar input,.toolbar select{flex:1 1 100%}
  /* product page */
  .pd-info h1{font-size:22px}
  .pd-price{font-size:24px}
  /* checkout */
  .checkout{padding:18px 0}
  /* footer */
  .foot-grid{padding:32px 16px 24px}
  /* cart drawer full-ish */
  .drawer{width:min(420px,94vw)}
}

/* cart delivery note */
.at-checkout{color:var(--mut); font-size:13px; font-style:italic}
.del-note{font-size:12px; color:var(--mut); margin:8px 0 2px}
.tot-row small{font-size:12px; font-weight:400; color:var(--mut)}

/* categories grid */
.cat-grid{display:grid; grid-template-columns:repeat(auto-fill,minmax(240px,1fr)); gap:18px}
.cat-card{background:#fff; border:1px solid var(--line); border-radius:18px; overflow:hidden; display:block; transition:transform .15s, box-shadow .15s}
.cat-card:hover{transform:translateY(-4px); box-shadow:0 16px 34px rgba(124,58,237,.14)}
.cat-card img{aspect-ratio:16/10; object-fit:cover; width:100%}
.cat-card-body{padding:14px 18px; display:flex; align-items:center; gap:12px}
.cat-card-body b{font-size:17px; display:block}
.cat-card-body small{color:var(--mut); font-size:13px}
.cat-card-body .go{margin-left:auto; color:var(--brand); font-weight:800; font-size:14px; white-space:nowrap}

/* footer social icons */
.social-row{display:flex; gap:10px; margin-top:14px}
.social-row .soc{width:38px; height:38px; border-radius:50%; background:rgba(255,255,255,.08); display:inline-flex; align-items:center; justify-content:center; color:#c4b5fd; transition:transform .2s, background .2s; padding:0}
.social-row .soc:hover{background:var(--brand); color:#fff; transform:translateY(-2px)}
.social-row .soc svg{width:18px; height:18px; fill:currentColor; display:block}

/* follow us section */
.follow-row{display:flex; gap:14px; justify-content:center; flex-wrap:wrap; margin-top:6px}
.follow-btn{display:flex; align-items:center; gap:12px; background:#fff; border:1px solid var(--line); border-radius:16px; padding:12px 22px 12px 12px; min-width:180px; transition:transform .2s, box-shadow .2s}
.follow-btn:hover{transform:translateY(-3px); box-shadow:0 12px 28px rgba(124,58,237,.14); border-color:var(--brand)}
.fb-ic{width:46px; height:46px; border-radius:50%; background:var(--brand-lt); color:var(--brand-d); display:flex; align-items:center; justify-content:center; flex:none}
.fb-ic svg{width:22px; height:22px; fill:currentColor; display:block}
.follow-btn b{display:block; font-size:15.5px}
.follow-btn small{color:var(--mut); font-size:12.5px}
@media(max-width:520px){
  .follow-row{flex-wrap:nowrap; gap:8px}
  .follow-btn{flex:1; min-width:0; flex-direction:column; gap:6px; padding:12px 6px; text-align:center}
  .follow-btn small{display:none}
  .fb-ic{width:40px; height:40px}
}

/* logo images */
.brand-logo{width:42px; height:42px; border-radius:12px; object-fit:cover; background:#fff; box-shadow:0 4px 12px rgba(124,58,237,.25)}
.brand-logo.sm{width:36px; height:36px; border-radius:10px}

/* product gallery */
.thumbs{display:flex; gap:8px; margin-top:10px; flex-wrap:wrap}
.thumb{width:64px; height:64px; object-fit:cover; border-radius:10px; border:2px solid var(--line); cursor:pointer; background:#fff}
.thumb.on{border-color:var(--brand)}

/* v32: share, zoom, reviews, sizes */
.zoomable{cursor:zoom-in}
.zoom-ov{position:fixed;inset:0;background:rgba(0,0,0,.9);z-index:9999;display:flex;align-items:center;justify-content:center;padding:20px;cursor:zoom-out}
.zoom-ov img{max-width:100%;max-height:100%;border-radius:12px}
.share-panel{display:flex;gap:10px;margin-top:10px;flex-wrap:wrap}
.warn{color:#b3261e;font-weight:600}
.pd-rating{margin:6px 0}
.stars{color:#e8a100;letter-spacing:2px}
.rev-list{display:flex;flex-direction:column;gap:14px;margin:14px 0}
.rev{display:flex;gap:12px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:12px}
.rev-img{width:74px;height:74px;object-fit:cover;border-radius:10px;flex-shrink:0}
.rev-body{flex:1;min-width:0}
.fi{width:100%;padding:12px 14px;border:1.5px solid var(--line);border-radius:12px;font:inherit;background:#fff;transition:border-color .2s}
.fi:focus{outline:none;border-color:var(--brand)}
.rev-form-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:20px;max-width:560px;margin-top:20px;display:flex;flex-direction:column;gap:12px;box-shadow:0 2px 12px rgba(0,0,0,.04)}
.rev-form-card h3{margin:0}
.star-wrap{display:flex;align-items:center;gap:10px}
.file-btn{display:inline-flex;align-items:center;gap:8px;padding:10px 16px;border:1.5px dashed var(--line);border-radius:12px;cursor:pointer;color:var(--brand);font-weight:600;width:fit-content}
.file-btn:hover{border-color:var(--brand)}
.star-input{font-size:30px;cursor:pointer;user-select:none}
.star-input span{color:#ddd}
.star-input span.on{color:#e8a100}
.rev-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:14px}
.rev-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:14px;display:flex;flex-direction:column;gap:8px}
.rev-card-img{width:100%;height:150px;object-fit:cover;border-radius:8px}
.rev-card p{margin:0;color:#444;font-size:14px}
.rev-card .prod-link{font-size:12px}
@media(max-width:640px){.rev{flex-direction:column}.rev-img{width:100%;height:160px}}

/* v38: professional home banner */
.herobanner{position:relative;overflow:hidden;border-radius:22px;background:linear-gradient(120deg,#2e1065 0%,#6d28d9 55%,#a855f7 100%);color:#fff;padding:52px 48px;display:flex;align-items:center;min-height:230px;box-shadow:0 18px 44px rgba(109,40,217,.28)}
.hb-text{position:relative;z-index:2;max-width:560px}
.hb-text small{letter-spacing:3px;font-weight:700;font-size:12px;color:#e9d5ff;text-transform:uppercase}
.hb-text h2{margin:10px 0 8px;font-size:clamp(26px,4vw,40px);line-height:1.15}
.hb-text p{margin:0 0 20px;color:#ede9fe;font-size:15.5px}
.btn-white{background:#fff;color:var(--brand);font-weight:800}
.btn-white:hover{background:#f5f3ff;transform:translateY(-2px)}
.hb-art{position:absolute;right:-40px;top:50%;transform:translateY(-50%);z-index:1}
.hb-art span{position:absolute;border-radius:50%;border:2px solid rgba(255,255,255,.18)}
.hb-art span:nth-child(1){width:280px;height:280px;right:0}
.hb-art span:nth-child(2){width:200px;height:200px;right:40px}
.hb-art span:nth-child(3){width:120px;height:120px;right:80px;background:rgba(255,255,255,.08);border:none}
@media(max-width:640px){.herobanner{padding:36px 24px;min-height:200px}.hb-art{opacity:.5}}
/* checkout order lines thumbnails */
.co-item{display:flex;align-items:center;gap:10px}
.co-thumb{width:46px;height:46px;object-fit:cover;border-radius:10px;border:1px solid var(--line);flex-shrink:0}
/* shipping page delivery fee table */
.fee-table{width:100%;border-collapse:collapse;margin:12px 0;font-size:15px}
.fee-table th,.fee-table td{border:1px solid var(--line);padding:9px 14px;text-align:left}
.fee-table th{background:#f4f4f4;font-weight:700}