/* Rangabazar.com — design tokens */
:root{
  --ink:#000;
  --text:#2a2926;
  --muted:#6a665f;
  --paper:#fff;
  --warm:#f5f3ef;
  --line:#e4e0d7;
  --clay:#a35b35;
  --moss:#46603b;
  --max:1200px;
  --pad:clamp(20px,4vw,40px);
  --font-display:"Anek Bangla","Noto Sans Bengali","Hind Siliguri",system-ui,sans-serif;
  --font-body:"Hind Siliguri","Noto Sans Bengali",system-ui,-apple-system,"Segoe UI",sans-serif;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:84px;-webkit-text-size-adjust:100%}
body{margin:0;font-family:var(--font-body);font-size:1rem;line-height:1.7;color:var(--text);background:var(--paper);-webkit-font-smoothing:antialiased}
img,svg{display:block;max-width:100%}
img{height:auto}
a{color:inherit;text-decoration:none}
button,input{font:inherit;color:inherit}
button{cursor:pointer}
ul{list-style:none;margin:0;padding:0}
h1,h2,h3,p{margin:0}
h1,h2,h3{font-family:var(--font-display);color:var(--ink);font-weight:600;line-height:1.3}
:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
.vh{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip{position:absolute;left:12px;top:-60px;z-index:200;background:var(--ink);color:#fff;padding:10px 16px;transition:top .2s}
.skip:focus{top:12px}
.wrap{width:min(100% - 2*var(--pad),var(--max));margin-inline:auto}
.icon{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex:none}

/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:0 28px;border:1px solid var(--ink);background:var(--ink);color:#fff;font-weight:600;font-size:.98rem;border-radius:3px;transition:background-color .2s,color .2s,border-color .2s}
.btn:hover{background:#2c2b28;border-color:#2c2b28}
.btn--ghost{background:rgba(255,255,255,.72);color:var(--ink)}
.btn--ghost:hover{background:var(--ink);color:#fff;border-color:var(--ink)}
.btn--light{background:#fff;color:var(--ink);border-color:#fff}
.btn--light:hover{background:var(--warm);border-color:var(--warm)}
.btn--block{width:100%}

/* Header */
.site-header{position:sticky;top:0;z-index:100;background:rgba(255,255,255,.96);border-bottom:1px solid var(--line);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
.bar{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:24px;height:72px}
.brand img{height:34px;width:auto}
.nav ul{display:flex;justify-content:center;gap:clamp(18px,3vw,40px)}
.nav a{display:block;padding:8px 0;font-weight:500;font-size:.98rem;color:var(--text);border-bottom:1px solid transparent;transition:border-color .2s,color .2s}
.nav a:hover,.nav a[aria-current="page"]{color:var(--ink);border-bottom-color:var(--ink)}
.actions{display:flex;align-items:center;gap:4px}
.icon-btn{position:relative;display:grid;place-items:center;width:44px;height:44px;border:0;background:none;color:var(--ink);border-radius:50%;transition:background-color .2s}
.icon-btn:hover{background:var(--warm)}
.badge{position:absolute;top:4px;right:2px;min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:var(--ink);color:#fff;font-size:.72rem;font-weight:600;line-height:18px;text-align:center}
.badge[hidden]{display:none}
.menu-btn{display:none}
.search{border-top:1px solid var(--line);background:#fff}
.search[hidden]{display:none}
.search form{display:flex;align-items:center;gap:12px;height:64px}
.search input{flex:1;height:44px;border:0;border-bottom:1px solid var(--ink);background:none;font-size:1.05rem;border-radius:0}
.search input:focus{outline:none}
.search button{border:0;background:none;font-weight:500;padding:8px}

/* Hero */
.hero{position:relative;isolation:isolate;overflow:hidden;min-height:clamp(600px,88svh,800px);background:#dfe9ee}
.hero__bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:8% 50%;z-index:-1}
.hero__inner{display:flex;flex-direction:column;align-items:center;text-align:center;padding:clamp(56px,10vh,110px) var(--pad) 0}
.hero__logo{width:min(600px,84vw);height:auto}
.hero h1{margin-top:clamp(20px,3vh,32px);font-size:clamp(1.55rem,3.4vw,2.6rem);font-weight:600;line-height:1.4}
.hero__lede{max-width:34em;margin-top:14px;font-size:clamp(1rem,1.5vw,1.15rem);color:#1b1a18}
.hero__cta{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin-top:30px}
@keyframes rise{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
.hero__inner>*{animation:rise .8s cubic-bezier(.2,.7,.2,1) both}
.hero__inner>:nth-child(2){animation-delay:.12s}
.hero__inner>:nth-child(3){animation-delay:.24s}
.hero__inner>:nth-child(4){animation-delay:.36s}

/* Sections */
.section{padding:clamp(64px,9vw,112px) 0}
.section--warm{background:var(--warm)}
.section__head{max-width:40rem;margin-bottom:clamp(28px,4vw,48px)}
.section__head h2{font-size:clamp(1.6rem,3vw,2.35rem)}
.section__head p{margin-top:10px;color:var(--muted)}
.section__head--row{max-width:none;display:flex;align-items:flex-end;justify-content:space-between;gap:20px;flex-wrap:wrap}

/* Categories — a joined ledger grid */
.cats{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:var(--line);border:1px solid var(--line)}
.cats li{display:flex}
.cat{flex:1;display:flex;flex-direction:column;justify-content:space-between;gap:36px;min-height:196px;padding:24px;background:#fff;text-align:left;border:0;transition:background-color .25s}
.cat .icon{width:34px;height:34px;stroke-width:1.3;color:var(--ink);transition:color .25s,transform .25s}
.cat strong{display:block;font-family:var(--font-display);font-weight:600;font-size:1.28rem;line-height:1.35;color:var(--ink)}
.cat span{display:block;margin-top:2px;font-size:.9rem;color:var(--muted)}
.cat:hover,.cat[aria-pressed="true"]{background:var(--warm)}
.cat:hover .icon,.cat[aria-pressed="true"] .icon{color:var(--clay);transform:translateY(-2px)}
.cat[aria-pressed="true"]{box-shadow:inset 0 -3px 0 var(--ink)}

/* Products */
.filter-note{display:flex;align-items:center;gap:12px;font-size:.95rem;color:var(--muted)}
.filter-note[hidden]{display:none}
.linkbtn{border:0;background:none;padding:0;font-weight:600;color:var(--ink);text-decoration:underline;text-underline-offset:4px}
.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:clamp(20px,2.4vw,32px) clamp(14px,2vw,24px)}
.card{display:flex;flex-direction:column}
.card[hidden]{display:none}
.card__media{position:relative;aspect-ratio:4/5;background:#fff;overflow:hidden;border-radius:3px}
.card__media img{width:100%;height:100%;object-fit:cover}
.wish{position:absolute;top:10px;right:10px;display:grid;place-items:center;width:40px;height:40px;border:0;border-radius:50%;background:#fff;color:var(--ink);transition:transform .2s}
.wish:hover{transform:scale(1.06)}
.wish[aria-pressed="true"] .icon{fill:var(--clay);stroke:var(--clay)}
.card__body{display:flex;flex-direction:column;flex:1;padding-top:14px}
.card h3{font-size:1.08rem;line-height:1.4}
.card__bn{font-size:.9rem;color:var(--muted)}
.card__desc{margin-top:6px;font-size:.93rem;line-height:1.55;color:var(--muted)}
.card__meta{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:12px 0 14px}
.stars{--r:0;position:relative;display:inline-block;font-size:.95rem;letter-spacing:2px;line-height:1;white-space:nowrap}
.stars::before{content:"★★★★★";background:linear-gradient(90deg,var(--ink) calc(var(--r)/5*100%),#d6d1c6 0);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent}
.rate{display:flex;align-items:center;gap:6px;font-size:.85rem;color:var(--muted)}
.card .btn{margin-top:auto;min-height:44px;padding:0 16px;background:#fff;color:var(--ink)}
.card .btn:hover{background:var(--ink);color:#fff}
.empty{padding:40px 0;color:var(--muted)}
.empty[hidden]{display:none}

/* Video showcase */
.showcase{margin:clamp(28px,4vw,48px) 0 0;background:#000;border-radius:3px;overflow:hidden;aspect-ratio:16/9}
.showcase__video{width:100%;height:100%;object-fit:cover;display:block}

/* Single featured product (jug) */
.product{display:block;margin-bottom:clamp(48px,7vw,80px)}
.product:last-of-type{margin-bottom:0}
.product__gallery{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:clamp(8px,1.5vw,16px)}
.product__gallery img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border-radius:3px;background:#fff}
.product__pics{display:grid;grid-template-columns:1.56fr 1fr;gap:clamp(12px,2vw,24px);align-items:start}
.product__pics img{width:100%;height:auto;border-radius:3px;background:#fff}
.product__info{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:20px;margin-top:22px}
.product__info h3{font-size:clamp(1.3rem,2.4vw,1.8rem)}
.product__buy{display:flex;flex-wrap:wrap;align-items:center;gap:16px 24px}
.card.product .btn{margin-top:0;background:var(--ink);color:#fff}
.card.product .btn:hover{background:#2c2b28}

/* Story */
.split{display:grid;grid-template-columns:1.05fr 1fr;gap:clamp(32px,6vw,88px);align-items:center}
.split__img{border-radius:3px;overflow:hidden;aspect-ratio:4/3.3;background:var(--warm)}
.split__img img{width:100%;height:100%;object-fit:cover}
.split h2{font-size:clamp(1.7rem,3.2vw,2.6rem);max-width:15em}
.split p{margin-top:18px;max-width:34em}
.split .bn{margin-top:26px;padding-top:22px;border-top:1px solid var(--line);font-family:var(--font-display);font-size:1.25rem;font-weight:500;color:var(--ink)}

/* Why */
.why{display:grid;grid-template-columns:repeat(4,1fr);gap:clamp(24px,3vw,44px)}
.why li{padding-top:22px;border-top:1px solid var(--ink)}
.why .icon{width:30px;height:30px;stroke-width:1.3;color:var(--ink);margin-bottom:18px}
.why h3{font-size:1.15rem}
.why p{margin-top:8px;color:var(--muted);font-size:.97rem;line-height:1.6}

/* Promo */
.promo{position:relative;isolation:isolate;display:grid;place-items:center;min-height:clamp(380px,48vw,500px);color:#fff;text-align:center;overflow:hidden;background:#3b4d55}
.promo__bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:60% 50%;z-index:-2}
.promo::before{content:"";position:absolute;inset:0;background:rgba(10,14,12,.4);z-index:-1}
.promo__in{padding:56px var(--pad)}
.promo h2{color:#fff;font-size:clamp(2rem,5vw,3.6rem);font-weight:600}
.promo p{margin:12px auto 28px;max-width:30em;font-size:1.1rem}

/* Social */
.social{display:grid;grid-template-columns:1fr 1.15fr;gap:clamp(32px,6vw,88px);align-items:center}
.social h2{font-size:clamp(1.6rem,3vw,2.35rem)}
.social .lede{margin-top:12px;color:var(--muted);max-width:30em}
.social__links{border-top:1px solid var(--ink)}
.social__link{display:flex;align-items:center;gap:20px;padding:24px 0;border-bottom:1px solid var(--line);transition:padding-left .25s}
.social__link:hover{padding-left:10px}
.social__link .icon{width:34px;height:34px;stroke-width:1.4}
.social__link small{display:block;font-size:.9rem;color:var(--muted);line-height:1.3}
.social__link strong{display:block;font-family:var(--font-display);font-size:clamp(1.2rem,2.4vw,1.6rem);font-weight:600;color:var(--ink);line-height:1.3;overflow-wrap:anywhere}
.social__link em{margin-left:auto;font-style:normal;font-weight:600;color:var(--ink);text-decoration:underline;text-underline-offset:4px}

/* Newsletter */
.news{max-width:780px;margin:0 auto;background:#fff;padding:clamp(32px,6vw,64px);border:1px solid var(--ink);text-align:center}
.news h2{font-size:clamp(1.6rem,3vw,2.2rem)}
.news p{margin:10px auto 0;max-width:30em;color:var(--muted)}
.news form{display:flex;gap:10px;margin:28px auto 0;max-width:520px}
.news input{flex:1;min-width:0;height:48px;padding:0 16px;border:1px solid #bdb8ad;border-radius:3px;background:#fff}
.news input:focus{outline:2px solid var(--ink);outline-offset:1px;border-color:var(--ink)}
.news .msg{min-height:1.6em;margin-top:12px;font-size:.95rem}

/* Footer */
.site-footer{background:#fff;border-top:1px solid var(--line);padding:clamp(48px,7vw,80px) 0 28px}
.foot{display:grid;grid-template-columns:1.5fr 1fr 1fr 1.2fr;gap:clamp(28px,4vw,56px)}
.foot img{height:38px;width:auto}
.foot .tag{margin-top:16px;font-family:var(--font-display);font-weight:500;color:var(--ink)}
.foot h2{font-size:1rem;margin-bottom:14px}
.foot li+li{margin-top:6px}
.foot a{color:var(--text);transition:color .2s}
.foot a:hover{color:var(--clay);text-decoration:underline;text-underline-offset:3px}
.foot__social li{display:flex;align-items:center;gap:10px}
.foot__social .icon{width:20px;height:20px}
.legal{margin-top:48px;padding-top:20px;border-top:1px solid var(--line);font-size:.88rem;color:var(--muted);display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px}

.toast{position:fixed;left:50%;bottom:24px;z-index:300;transform:translate(-50%,20px);max-width:calc(100% - 32px);padding:12px 20px;background:var(--ink);color:#fff;border-radius:3px;font-size:.95rem;opacity:0;pointer-events:none;transition:opacity .25s,transform .25s}
.toast.show{opacity:1;transform:translate(-50%,0)}

/* Policy pages */
.doc{padding:clamp(48px,7vw,88px) 0}
.doc .wrap{max-width:760px}
.doc h1{font-size:clamp(2rem,4vw,2.8rem)}
.doc h2{font-size:1.3rem;margin-top:36px}
.doc p,.doc li{margin-top:12px}
.doc ul{list-style:disc;padding-left:1.3em}
.doc .note{margin-top:20px;padding:14px 18px;border:1px solid var(--line);background:var(--warm);font-size:.93rem}

/* Responsive */
@media (max-width:1020px){
  .grid{grid-template-columns:repeat(3,1fr)}
  .product__gallery{grid-template-columns:repeat(3,minmax(0,1fr))}
  .cats{grid-template-columns:repeat(2,1fr)}
  .why{grid-template-columns:repeat(2,1fr);row-gap:36px}
  .foot{grid-template-columns:1fr 1fr}
}
@media (max-width:900px){
  .bar{grid-template-columns:1fr auto;height:64px}
  .brand img{height:30px}
  .menu-btn{display:grid}
  .nav{position:absolute;left:0;right:0;top:100%;background:#fff;border-bottom:1px solid var(--line);display:none}
  .nav.is-open{display:block}
  .nav ul{flex-direction:column;gap:0;padding:8px var(--pad) 20px}
  .nav a{padding:14px 0;border-bottom:1px solid var(--line);font-size:1.05rem}
  .split,.social{grid-template-columns:1fr}
  .hero__bg{object-position:20% 50%}
}
@media (max-width:640px){
  .product__gallery{grid-template-columns:repeat(2,minmax(0,1fr))}
  .product__pics{grid-template-columns:1fr}
  .card.product .card__desc{display:block}
  .product__buy,.product__buy .btn{width:100%}
  .grid{grid-template-columns:repeat(2,1fr)}
  .card h3{font-size:1rem}
  .card__desc{display:none}
  .card__meta{flex-direction:column;align-items:flex-start;gap:4px}
  .cat{min-height:164px;padding:18px;gap:24px}
  .cat strong{font-size:1.1rem}
  .why{grid-template-columns:1fr}
  .news form{flex-direction:column}
  .foot{grid-template-columns:1fr}
  .hero{min-height:620px}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation:none!important;transition:none!important}
}
