/* Additions to the supplied homepage design (site.css) for the pages it did not cover. */
:root{--white:#FFFFFF;--sage:#EEF3EF;--line:#e8e4da}

/* Header */
.quick-item{cursor:default;color:var(--muted)}
.quick-cart{position:relative}
.quick-cart em{position:absolute;top:-6px;right:-8px;min-width:18px;padding:2px 5px;border-radius:10px;background:var(--gold);color:#fff;font-style:normal;font-size:10px;line-height:14px}
.search button{cursor:pointer;font-size:18px}

/* Shared pieces */
.flash-area{margin-top:16px}
.flash{padding:12px 16px;border-radius:10px;font-size:14px;margin-bottom:8px;border:1px solid}
.flash-success{background:var(--sage);border-color:#bfd5c7;color:var(--g)}
.flash-error{background:#fdf1ee;border-color:#eec3ba;color:#9b2c1c}
.panel{background:var(--white);border:1px solid var(--line);border-radius:11px;padding:18px}
.panel h2{font-size:19px;color:var(--g);margin:0 0 15px}
.empty{text-align:center;color:var(--muted);padding:30px 0}
.empty a{color:var(--g);font-weight:bold}
.btn{cursor:pointer;font-size:14px;font-family:inherit}
.btn.block{display:block;width:100%;text-align:center;margin-top:14px}
.more{display:block;text-align:center;margin-top:12px;font-size:13px;color:var(--g);text-decoration:underline}
.muted{color:var(--muted);font-size:13px;line-height:1.7}
.benefits-five{margin-top:22px}
.blog p{font-size:12px;line-height:1.7;color:var(--muted);margin:0 0 8px}
.news-note{flex-basis:100%;color:var(--gold)}
.social span{border:1px solid #ffffff40;border-radius:50%;width:28px;text-align:center;font-size:12px;line-height:26px;color:#d1ddd5}
.footlinks span{font-size:12px;line-height:1.9;color:#d1ddd5}
.stock{font-size:13px;font-weight:bold;margin:14px 0}
.stock.out{color:#9b2c1c}
.pager{display:flex;justify-content:center;align-items:center;gap:14px;font-size:13px;margin-top:22px}
.pager a,.pager span{padding:8px 14px;border-radius:8px;background:var(--white);border:1px solid var(--line)}
.pager a{color:var(--g);font-weight:bold}
.pager .disabled{color:#b5b9b5}
.pager .current{border:0;background:none}

/* The supplied banner images have text painted into their left side. The copy
   panels are opaque there so that text does not show through the live text. */
.hero-copy{background:linear-gradient(90deg,#f8f5ed 0%,#f8f5ed 80%,#f8f5ed00 100%)}
.side-copy,.promo-copy{background:linear-gradient(90deg,#103a29 0%,#103a29 50%,#103a2900 82%)}
.side-copy>*,.promo-copy>*{max-width:58%}

/* Homepage product cards */
.pimg{display:block}
.pi form{margin:0}
.pi button.soldout{background:#c9cdc9;cursor:not-allowed}

/* ---- Product, listing and cart pages (five-page design) ---- */
.btn-sq{display:inline-block;border:0;background:var(--g);color:#fff;padding:13px 19px;border-radius:8px;font:inherit;font-weight:700;font-size:14px;text-align:center;cursor:pointer}
.btn-sq.gold{background:var(--gold);color:#243127}
.btn-sq.light{background:#fff;color:var(--g);box-shadow:inset 0 0 0 1px var(--g)}
.btn-sq.full{display:block;width:100%;margin-top:12px}
.btn-sq:disabled{background:#c9cdc9;cursor:not-allowed}
.btn-sq:focus-visible,.qty button:focus-visible,.drawer-close:focus-visible,.filters a:focus-visible{outline:2px solid var(--gold);outline-offset:2px}

.shop-page{background:var(--white);border-radius:14px;box-shadow:0 8px 30px #18392a14;margin:24px auto 34px;padding:0 24px 28px}
.crumb{font-size:12px;color:var(--muted);padding:18px 0}
.crumb a{color:var(--muted)}
.crumb a:hover{color:var(--g)}
.crumb-steps{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}
.steps{color:var(--g);font-size:13px}
.shop-intro{padding-bottom:16px}
.shop-intro .muted{margin:0}
.section-title{font-size:23px;color:var(--g);margin:0 0 6px}
.rating{color:#c49234;font-size:13px}
.pill{display:inline-block;padding:6px 10px;border-radius:20px;background:var(--sage);color:var(--g);font-size:12px}
.shop-page .price,.shop-card .price{color:#a03928;font-weight:bold}
.shop-page .price del,.shop-card .price del{color:#999;font-weight:400;margin-left:8px}

/* Quantity stepper */
.qty{display:flex;align-items:center;border:1px solid var(--line);width:max-content;border-radius:7px;margin:14px 0;overflow:hidden;background:#fff}
.qty button{border:0;background:#fff;padding:9px 15px;font:inherit;font-size:16px;cursor:pointer;color:var(--ink)}
.qty button:hover:not(:disabled){background:var(--sage)}
.qty button:disabled{color:#c9cdc9;cursor:not-allowed}
.qty span,.qty input{min-width:34px;text-align:center;font-size:14px}
.qty input{width:46px;border:0;padding:9px 0;font:inherit;background:#fff;-moz-appearance:textfield;appearance:textfield}
.qty input::-webkit-outer-spin-button,.qty input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}

/* Single product */
.layout{display:grid;grid-template-columns:1fr 1fr;gap:28px;padding-bottom:8px}
.gallery{background:var(--iv);border-radius:12px;min-height:420px;display:grid;place-items:center;position:relative;overflow:hidden}
.gallery::before,.gallery::after{content:"";position:absolute;border:1px solid #d6b77980;width:300px;height:300px;border-radius:50%}
.gallery::after{width:370px;height:370px}
.gallery img{position:relative;z-index:1;width:min(62%,300px);aspect-ratio:1;object-fit:cover;border-radius:12px;box-shadow:0 18px 26px #163b2c2b}
.gallery-badge{position:absolute;z-index:2;top:14px;left:14px;background:var(--gold);color:#243127;font-weight:bold;padding:6px 11px;border-radius:20px;font-size:13px}
.details h1{font-size:30px;color:var(--g);margin:9px 0 7px;line-height:1.3}
.details .price{font-size:28px;margin:16px 0}
.details .price del{font-size:16px}
.details form p{margin:0}
.actions{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:14px}
.info-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;padding:20px 0}
.info-cards div{background:var(--sage);padding:17px;border-radius:10px;font-size:13px;color:var(--g);line-height:1.6}
.description div{line-height:1.9;font-size:14px}
.related-title{margin-top:28px;margin-bottom:16px}

/* Multi product */
.listing{display:grid;grid-template-columns:210px 1fr;gap:20px;align-items:start}
.filters{border:1px solid var(--line);border-radius:10px;padding:16px}
.filters h3{color:var(--g);font-size:16px;margin:0 0 6px}
.filters hr{border:0;border-top:1px solid var(--line);margin:14px 0}
.filters a{display:flex;align-items:center;gap:9px;margin:11px 0;font-size:13px}
.filters a::before{content:"";flex:none;width:14px;height:14px;border:1px solid #b9b4a6;border-radius:3px;background:#fff}
.filters a.active{color:var(--g);font-weight:bold}
.filters a.active::before{background:var(--g);border-color:var(--g);box-shadow:inset 0 0 0 2px #fff}
.listing-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:15px}
.listing-head form{display:flex;gap:8px}
.listing-head select{border:1px solid var(--line);padding:10px;border-radius:7px;background:#fff;font:inherit;font-size:13px}
.shop-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.shop-card{border:1px solid var(--line);border-radius:10px;overflow:hidden;background:#fff;min-width:0;display:flex;flex-direction:column}
.product-art{position:relative;display:grid;place-items:center;height:190px;background:radial-gradient(circle,#f4eddb,var(--iv))}
.product-art img{height:150px;width:150px;object-fit:cover;border-radius:10px;box-shadow:0 12px 16px #163b2c22}
.product-art span{position:absolute;top:9px;left:9px;background:var(--gold);color:#243127;font-weight:bold;padding:4px 8px;border-radius:20px;font-size:11px}
.product-info{padding:13px;display:flex;flex-direction:column;flex:1}
.product-info h3{font-size:15px;color:var(--g);margin:4px 0}
.product-info .price{font-size:18px;margin:7px 0 10px}
.product-info .price del{font-size:12px}
.product-info form{margin-top:auto}
.product-info .btn-sq{width:100%;padding:10px;font-size:12px}
.product-info>.btn-sq{margin-top:auto}

/* Cart items (cart page and cart drawer) */
.cart-check{display:grid;grid-template-columns:1.5fr 1fr;gap:20px;align-items:start}
.cart-item{display:grid;grid-template-columns:85px 1fr auto;gap:14px;align-items:center;padding:15px 0;border-bottom:1px solid var(--line)}
.mini-art{width:80px;height:80px;background:var(--iv);display:grid;place-items:center;border-radius:8px;overflow:hidden}
.mini-art img{width:100%;height:100%;object-fit:cover}
.cart-item h3{font-size:14px;color:var(--g);margin:0 0 5px}
.cart-item .muted{font-size:12px}
.cart-item .qty{margin:7px 0 0}
.cart-item .qty button{padding:6px 12px}
.cart-item-end{text-align:right}
.cart-item-end strong{display:block;white-space:nowrap}
.cart-remove{border:0;background:none;color:#a03928;cursor:pointer;font:inherit;font-size:12px;padding:6px 0;text-decoration:underline}
.summary-line{display:flex;justify-content:space-between;gap:12px;margin:13px 0;font-size:14px}
.summary-line.total{font-size:19px;font-weight:bold;color:var(--g);border-top:1px solid var(--line);padding-top:14px}
.strong-link{color:var(--g);font-weight:bold}
.empty-state{text-align:center;padding:40px 20px}

/* Cart drawer: slides in from the right */
.drawer-backdrop{position:fixed;inset:0;z-index:40;background:#0b1f17;opacity:0;visibility:hidden;transition:opacity .25s,visibility .25s}
.drawer{position:fixed;top:0;right:0;z-index:41;display:flex;flex-direction:column;width:min(410px,100%);height:100%;background:var(--white);box-shadow:-10px 0 30px #0b1f1730;transform:translateX(100%);visibility:hidden;transition:transform .28s ease,visibility .28s}
body.drawer-open{overflow:hidden}
body.drawer-open .drawer-backdrop{opacity:.45;visibility:visible}
body.drawer-open .drawer{transform:none;visibility:visible}
.drawer-head{display:flex;align-items:center;justify-content:space-between;padding:16px 18px;background:var(--g);color:#fff}
.drawer-head h2{margin:0;font-size:17px}
.drawer-close{border:0;background:#ffffff1f;color:#fff;width:34px;height:34px;border-radius:50%;font-size:15px;cursor:pointer}
.drawer-body{flex:1;overflow-y:auto;padding:0 18px}
.drawer-body .cart-item{grid-template-columns:64px 1fr auto;gap:12px}
.drawer-body .mini-art{width:64px;height:64px}
.drawer-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;color:var(--muted)}
.drawer-foot{padding:6px 18px 18px;border-top:1px solid var(--line);background:#fffdf8}
.drawer-foot .summary-line{font-size:17px;font-weight:bold;color:var(--g)}
.drawer-foot .muted{margin:0}
@media(prefers-reduced-motion:reduce){.drawer,.drawer-backdrop{transition:none}}

/* Landing page */
.landing{max-width:900px}
.landing-banner{border-radius:13px;overflow:hidden}
.landing-banner img{width:100%;display:block}
.landing-title{text-align:center;margin:24px 0}
.landing-content{line-height:1.9;font-size:15px}
.landing-product{display:grid;grid-template-columns:240px 1fr;gap:22px;align-items:center;margin-top:20px;border-color:var(--gold)}
.landing-product img{width:100%;border-radius:10px;display:block}
.landing-product h2{margin:0 0 8px;color:var(--g)}
.landing-product p{color:var(--muted);line-height:1.7;margin:0}
.landing-product .more{text-align:left}
.landing-product .price{margin:16px 0}
.landing-product .price strong{font-size:28px;color:#9b2c1c}
.landing-product .price del{color:#999;margin-left:8px}
.buy{display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px}
.buy label{font-size:12px;color:var(--muted);display:flex;flex-direction:column;gap:5px}
.buy input{width:80px;padding:10px;border:1px solid #e4dfd3;border-radius:8px;font-size:15px}

/* Checkout */
.cart-layout{display:grid;grid-template-columns:1.7fr 1fr;gap:18px;align-items:start}
.summary h3,.form h3{margin-top:0;color:var(--g)}
.row{display:flex;justify-content:space-between;gap:14px;font-size:14px;padding:6px 0}
.row span:last-child,.row b{text-align:right}
.row.total{font-size:17px;color:var(--g);border-top:1px solid var(--line);margin-top:6px;padding-top:12px}
.summary hr,.thanks-summary hr{border:0;border-top:1px solid var(--line);margin:8px 0}
.form label{display:block;font-size:13px;font-weight:bold;margin-bottom:14px}
.form input:not([type=radio]),.form textarea{display:block;width:100%;margin-top:6px;padding:12px;border:1px solid #e4dfd3;border-radius:9px;font:inherit;font-weight:normal;font-size:14px;background:#fffdf8}
.form input:focus,.form textarea:focus,.buy input:focus,.qty input:focus,.listing-head select:focus{outline:2px solid var(--gold);outline-offset:1px}
.form fieldset{border:1px solid #e4dfd3;border-radius:9px;margin:0 0 14px;padding:10px 14px}
.form legend{font-size:13px;font-weight:bold;padding:0 6px}
.form label.radio{font-weight:normal;margin:6px 0;font-size:14px;cursor:pointer}

/* Thank you */
.thanks{max-width:620px;margin:auto;text-align:center;padding:34px 24px}
.thanks-mark{display:grid;place-items:center;width:64px;height:64px;margin:0 auto 12px;border-radius:50%;background:var(--g);color:#fff;font-size:30px}
.thanks h1{font-size:26px}
.thanks p{color:var(--muted);line-height:1.7}
.order-number{background:var(--sage);border:1px dashed var(--gold);border-radius:12px;padding:16px;margin:20px 0}
.order-number small{display:block;color:var(--muted);font-size:12px}
.order-number b{font-size:26px;letter-spacing:2px;color:var(--g)}
.thanks-summary{text-align:left;margin-bottom:22px}

@media(max-width:1000px){
    .cart-layout{grid-template-columns:1fr}
}
@media(max-width:800px){
    .layout,.cart-check{grid-template-columns:1fr}
    .listing{grid-template-columns:1fr}
    /* On small screens the filter box becomes two scrollable rows of chips. */
    .filters{border:0;padding:0;display:flex;flex-wrap:wrap;gap:7px}
    .filters h3,.filters hr{flex-basis:100%;margin:6px 0 0;font-size:13px}
    .filters hr{display:none}
    .filters a{margin:0;padding:7px 12px;border:1px solid var(--line);border-radius:20px;font-size:12px}
    .filters a::before{display:none}
    .filters a.active{background:var(--g);border-color:var(--g);color:#fff}
    .shop-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    .gallery{min-height:320px}
    .details h1{font-size:25px}
}
@media(max-width:620px){
    .landing-product{grid-template-columns:1fr}
    .panel{padding:15px}
}
@media(max-width:520px){
    .shop-page{margin:12px auto 20px;padding:0 13px 18px;border-radius:10px}
    .crumb{padding:14px 0}
    .layout{gap:18px}
    .gallery{min-height:280px}
    .details h1{font-size:23px}
    .actions .btn-sq{flex:1}
    .info-cards{grid-template-columns:1fr;padding:14px 0}
    .shop-grid{gap:8px}
    .product-art{height:140px}
    .product-art img{height:110px;width:110px}
    .product-info{padding:9px}
    .product-info h3{font-size:12px}
    .product-info .price{font-size:15px}
    .cart-item{grid-template-columns:58px 1fr auto;gap:8px}
    .mini-art{width:55px;height:60px}
    .listing-head{flex-wrap:wrap}
}

/* ---- Typography, brand mark and icons (whole site) ---- */
:root{--font-body:"Hind Siliguri","Noto Sans Bengali",system-ui,-apple-system,"Segoe UI",sans-serif;--font-display:"Cormorant Garamond","Noto Serif Bengali",Georgia,serif}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{font-family:var(--font-body);font-size:15px;line-height:1.6;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
button,input,select,textarea{font-family:inherit}
img{max-width:100%}
h1,h2,.title,.section-title,.side-copy h2,.promo-copy h3,.news-inner h2,.details h1,.thanks h1,.landing-title,.landing-product h2{font-family:var(--font-display);font-weight:700;letter-spacing:0;text-wrap:balance}
.title{font-size:28px;position:relative;padding-bottom:14px}
.title::after{content:"";position:absolute;left:50%;bottom:0;width:54px;height:2px;margin-left:-27px;background:var(--gold)}
h1{line-height:1.25}
.icon{flex:none;vertical-align:-.18em}
.skip-link{position:absolute;left:-9999px;top:8px;z-index:60;background:var(--g);color:#fff;padding:10px 16px;border-radius:8px}
.skip-link:focus{left:8px}
a:focus-visible,button:focus-visible{outline:2px solid var(--gold);outline-offset:2px}

/* Brand mark */
.logo{min-width:0;font:inherit;display:block}
.brandmark{display:inline-flex;align-items:center;gap:11px;color:var(--g)}
.brandmark svg{flex:none}
.brandmark-text{font:700 30px/1 "Cormorant Garamond",Georgia,serif;letter-spacing:3px}
.brandmark-text small{display:block;margin-top:5px;font:600 9.5px/1 var(--font-body);letter-spacing:5.5px;color:#9b7a39;text-align:left}
.brandmark.on-dark{color:#f6f2e8}
.brandmark.on-dark .brandmark-text small{color:var(--gold)}

/* Header */
header{border-bottom:1px solid var(--line)}
.search{border-radius:10px}
.search input{padding:12px 14px;font-size:14px;outline:0;background:transparent}
.search:focus-within{border-color:var(--g);box-shadow:0 0 0 3px #064e3b14}
.search button{display:grid;place-items:center;padding:0 16px}
.quick{gap:18px;font-size:11.5px;align-items:flex-end}
.quick>*{display:flex;flex-direction:column;align-items:center;gap:4px;color:var(--ink);white-space:nowrap}
.quick .icon{color:var(--g)}
.quick-item{color:var(--muted)}
.quick a:hover{color:var(--g)}
.quick-cart em{top:-7px;right:-4px;background:var(--g);box-shadow:0 0 0 2px #fffdf8}
nav{scrollbar-width:none}
nav::-webkit-scrollbar{display:none}
nav a{display:inline-flex;align-items:center;gap:6px;padding:13px 17px;font-size:14px;transition:background .15s}
nav a:hover,nav a.active{background:#ffffff1a}
nav a.active{box-shadow:inset 0 -2px var(--gold)}

/* Homepage pieces */
.eyebrow{font-weight:600;letter-spacing:.3px}
.btn,.btn-sq{display:inline-flex;align-items:center;justify-content:center;gap:8px;transition:background .15s,transform .15s,box-shadow .15s}
.btn:hover,.btn-sq:hover:not(:disabled){background:#053f30}
.btn-sq.gold:hover{background:#cba95f}
.btn-sq.light:hover{background:var(--sage)}
.btn-sq.full{display:flex}
.benefit{gap:13px;padding:16px 18px}
.benefit b{display:grid;place-items:center;flex:none;width:44px;height:44px;border-radius:50%;background:var(--sage)}
.benefit strong{font-size:14px;font-weight:600}
.benefit small{font-size:12px}
.why div{border:1px solid #eee8dc;padding:22px 10px}
.why b{font-size:14px;font-weight:600}
.why small{font-size:12px}
.cat,.product,.shop-card,.blog{transition:transform .2s,box-shadow .2s}
.cat:hover,.product:hover,.shop-card:hover{transform:translateY(-3px);box-shadow:0 10px 24px #18392a14}
.cat b{font-size:13px;font-weight:600}
.pi b{font-size:14px;font-weight:600;color:var(--g)}
.pi small{font-size:12px}
.pi strong{font-size:16px}
.pi button{display:flex;align-items:center;justify-content:center;gap:6px;font-size:12.5px;font-weight:600;border-radius:8px;transition:background .15s}
.pi button:hover:not(:disabled){background:#053f30}
.pimg span,.product-art span,.gallery-badge{font-weight:600}
.blog h3{font-family:var(--font-body);font-size:15px;font-weight:600;margin:0 0 8px}
.thumb{font-size:0}
.news-inner input{outline:0}
.news-inner button{font-weight:600;cursor:pointer;padding:0 20px}
footer h3{font-family:var(--font-body);font-size:15px;font-weight:600;margin:0 0 10px}
footer p,footer a,.footlinks span{font-size:13px}
footer .brandmark{margin-bottom:12px}
.social span{display:grid;place-items:center;width:32px;height:32px;line-height:1}
.contact{list-style:none;margin:0 0 16px;padding:0;font-size:13px;line-height:2;color:#d1ddd5}
.contact .icon{color:var(--gold);margin-right:6px}

/* Product page details */
.assure{list-style:none;display:flex;flex-wrap:wrap;gap:6px 16px;margin:0;padding:0;font-size:13px;color:var(--muted)}
.assure .icon{color:var(--g)}
.info-cards .icon{margin-right:4px}
.steps i{display:inline-block;width:34px;height:1px;background:#b9b4a6;vertical-align:middle;margin:0 6px}
.steps{color:var(--muted)}
.steps b{color:var(--g)}
.thanks-mark .icon{stroke-width:2.4}

@media(max-width:1000px){
    .benefits{grid-template-columns:1fr 1fr}
}
@media(max-width:620px){
    .brandmark svg{width:38px;height:38px}
    .brandmark-text{font-size:25px}
    .logo{flex:1}
    .quick{gap:6px;justify-content:space-between}
    .title{font-size:23px}
    .side-copy>*,.promo-copy>*{max-width:70%}
    nav a{padding:12px 14px;font-size:13px}
    .benefit{padding:12px;gap:9px}
    .benefit b{width:36px;height:36px}
    .benefit strong{font-size:12.5px}
    .why div{padding:16px 8px}
    .steps i{width:16px}
}
@media(prefers-reduced-motion:reduce){
    html{scroll-behavior:auto}
    *{transition:none!important}
}

/* Homepage category sections (8 products each) */
.products.four{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.see-all{text-align:center;margin-top:20px}
.see-all .btn{background:#fff;color:var(--g);box-shadow:inset 0 0 0 1.5px var(--g)}
.see-all .btn:hover{background:var(--g);color:#fff}
.preview-bar{position:sticky;top:0;z-index:30;background:var(--gold);color:#243127;text-align:center;font-size:13px;font-weight:600;padding:7px 12px}
@media(max-width:620px){
    .products.four{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
}

/* Homepage product rows: eight in one line on wide screens */
.products.eight{grid-template-columns:repeat(8,minmax(0,1fr));gap:10px}
.product{display:flex;flex-direction:column}
.product .pi{display:flex;flex-direction:column;flex:1}
.product .pi form,.product .pi>button{margin-top:auto}
.product .pi .price-line{margin-bottom:10px}
.products.eight .pimg{aspect-ratio:1}
.products.eight .pi{padding:9px}
.products.eight .pi b{font-size:13px;line-height:1.35}
.products.eight .pi small{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;font-size:11.5px}
.products.eight .pi strong{font-size:14.5px}
.products.eight .pi button{font-size:11.5px;padding:9px 2px;margin-top:8px;white-space:nowrap}
@media(max-width:1250px){
    .products.eight{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
    .products.eight .pi b{font-size:14px}
    .products.eight .pi button{font-size:12.5px}
}
@media(max-width:620px){
    .products.eight{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
}

/* Product photo thumbnails */
.thumbs{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}
.thumbs button{width:64px;height:64px;padding:0;border:1px solid var(--line);background:var(--sage);border-radius:8px;overflow:hidden;cursor:pointer;transition:border-color .15s}
.thumbs button.active{border:2px solid var(--g)}
.thumbs img{width:100%;height:100%;object-fit:cover;display:block}
@media(max-width:520px){
    .thumbs button{width:54px;height:54px}
}

/* Thin progress bar while a page is loading through AJAX */
body::before{content:"";position:fixed;top:0;left:0;z-index:100;height:3px;width:0;background:var(--gold);opacity:0;pointer-events:none}
body.ajax-loading::before{width:85%;opacity:1;transition:width 8s cubic-bezier(.1,.6,.2,1)}
body.ajax-loading{cursor:progress}
@media(max-width:1100px) and (min-width:801px){
    .shop-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}

/* Listing cards: the photo fills the whole picture area */
.product-art{display:block;height:auto;aspect-ratio:4/5;overflow:hidden;background:var(--iv)}
.product-art img{display:block;width:100%;height:100%;object-fit:cover;border-radius:0;box-shadow:none;transition:transform .3s}
.shop-card:hover .product-art img{transform:scale(1.04)}
@media(max-width:520px){
    .product-art{height:auto}
    .product-art img{width:100%;height:100%}
}

/* Listing filters: always visible on wide screens, folded behind a button on small ones */
.filter-toggle{display:none}
@media(max-width:800px){
    .filter-toggle{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;padding:11px 14px;border:1px solid var(--line);border-radius:10px;background:#fff;font:inherit;font-size:14px;font-weight:600;color:var(--g);cursor:pointer}
    .filter-toggle span{display:inline-flex;align-items:center;gap:7px}
    .filter-toggle small{font-weight:400;font-size:12px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
    .filter-toggle::after{content:"";flex:none;width:8px;height:8px;border-right:2px solid var(--g);border-bottom:2px solid var(--g);transform:rotate(45deg);margin:-4px 2px 0 0;transition:transform .2s}
    .filter-toggle[aria-expanded=true]::after{transform:rotate(-135deg);margin-top:4px}
    .filter-toggle small{margin-left:auto}
    .filters{display:none}
    .filters.open{display:flex;padding:12px;border:1px solid var(--line);border-radius:10px;margin-top:-12px}
    .listing{gap:12px}
}

/* Product page photo: the whole portrait photo is shown, never cropped */
.gallery{min-height:0;padding:30px 20px}
.gallery img{width:auto;max-width:78%;height:440px;aspect-ratio:auto;object-fit:contain;border-radius:14px;box-shadow:0 0 0 6px #fff,0 0 0 7px #d6b77999,0 22px 34px #163b2c2e}
.gallery::before{width:400px;height:400px}
.gallery::after{width:500px;height:500px}
.thumbs button{width:60px;height:76px}
@media(max-width:800px){
    .gallery{min-height:0}
    .gallery img{height:360px}
}
@media(max-width:520px){
    .gallery{min-height:0;padding:22px 14px}
    .gallery img{height:300px}
    .thumbs button{width:50px;height:64px}
}

/* A page that arrives through AJAX fades in */
@keyframes ajax-in{from{opacity:0;transform:translateY(6px)}}
.ajax-enter{animation:ajax-in .22s ease-out}
@media(prefers-reduced-motion:reduce){.ajax-enter{animation:none}}

/* ---- Product page, second design: photo fills its panel, thumbnails in a row,
        buy box on the right with fold-out information ---- */
.layout{grid-template-columns:minmax(0,520px) minmax(0,1fr);gap:26px;align-items:start;padding-bottom:26px}
.gallery{display:block;min-height:0;padding:0;aspect-ratio:1/1;border-radius:14px;background:var(--iv)}
.gallery::before,.gallery::after{display:none}
.gallery img{display:block;width:100%;max-width:none;height:100%;aspect-ratio:auto;object-fit:cover;object-position:center 30%;border-radius:0;box-shadow:none}
.gallery-badge{top:14px;left:14px}
.thumbs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:10px}
.thumbs button{width:auto;height:auto;aspect-ratio:1/1;border:2px solid transparent;border-radius:10px;background:var(--iv)}
.thumbs button.active{border-color:var(--g)}
.thumbs button:hover{border-color:var(--gold)}
.thumbs img{object-position:center 30%}

.details{display:flex;flex-direction:column;gap:12px;min-width:0}
.buy-box{border:1px solid var(--line);border-radius:14px;padding:22px 24px}
.buy-box h1{font-size:30px;margin:10px 0 6px}
.buy-box .rating{padding-bottom:14px;border-bottom:1px solid var(--line)}
.lead-text{margin:12px 0 0}
.details .price{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 10px;font-size:30px;margin:14px 0 16px}
.details .price del{margin:0}
.save{font-size:12px;font-weight:600;color:var(--g);background:var(--sage);padding:4px 10px;border-radius:20px}
.field-label{display:flex;align-items:center;gap:12px;font-size:13px;font-weight:600;margin:0 0 8px}
.in-stock{display:inline-flex;align-items:center;gap:4px;font-weight:500;color:var(--g)}
.purchase{display:flex;gap:10px;align-items:stretch}
.purchase .qty{margin:0;flex:none}
.purchase .qty button{padding:0 16px;font-size:18px}
.purchase .qty input{width:44px;font-size:15px;font-weight:600}
.purchase .btn-sq{flex:1;padding:15px 18px;font-size:15px;border-radius:10px}
.buy-box .btn-sq.full{margin-top:10px;padding:14px 18px;border-radius:10px}

.accordion{display:flex;flex-direction:column;gap:10px}
.accordion details{border:1px solid var(--line);border-radius:12px;background:#fff;overflow:hidden}
.accordion summary{display:flex;align-items:center;gap:12px;padding:13px 16px;font-weight:600;font-size:14.5px;color:var(--g);cursor:pointer;list-style:none}
.accordion summary::-webkit-details-marker{display:none}
.accordion summary::after{content:"";margin-left:auto;width:8px;height:8px;border-right:2px solid var(--muted);border-bottom:2px solid var(--muted);transform:rotate(45deg);transition:transform .2s}
.accordion details[open] summary::after{transform:rotate(-135deg)}
.accordion summary:hover{background:#fbf9f3}
.acc-icon{display:grid;place-items:center;flex:none;width:36px;height:36px;border-radius:50%;background:var(--sage)}
.accordion details>div{padding:0 16px 16px 64px;font-size:13.5px;line-height:1.85;color:var(--muted)}

@media(max-width:900px){
    .layout{grid-template-columns:1fr}
    .gallery{max-width:520px;margin:0 auto}
    .thumbs{max-width:520px;margin:10px auto 0}
}
@media(max-width:520px){
    .gallery{min-height:0;padding:0}
    .gallery img{height:100%}
    .thumbs button{width:auto;height:auto}
    .buy-box{padding:16px}
    .buy-box h1{font-size:24px}
    .details .price{font-size:26px}
    .purchase .qty button{padding:0 12px}
    .accordion details>div{padding-left:16px}
}

/* Site font: Open Sans, with the device's Bengali font for Bengali text */
:root{--font-body:"Open Sans","Nirmala UI","Noto Sans Bengali",system-ui,sans-serif;--font-display:var(--font-body)}
h1,h2,.title,.section-title{letter-spacing:-.01em}

/* Product page: size choices and a compact buy row */
.opts{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 16px}
.opts label{cursor:pointer}
.opts input{position:absolute;opacity:0;pointer-events:none}
.opts span{display:block;padding:9px 16px;border:1px solid var(--line);border-radius:8px;background:#fff;font-size:14px;transition:border-color .15s,background .15s}
.opts label:hover span{border-color:var(--gold)}
.opts input:checked+span{border-color:var(--g);box-shadow:inset 0 0 0 1px var(--g);background:var(--sage);color:var(--g);font-weight:600}
.opts input:focus-visible+span{outline:2px solid var(--gold);outline-offset:2px}
.purchase{flex-wrap:wrap}
.purchase .qty button{padding:0 13px;font-size:16px}
.purchase .qty input{width:38px;font-size:14px}
.purchase .btn-sq{flex:0 1 auto;padding:10px 20px;font-size:14px;border-radius:8px}
@media(max-width:520px){
    .purchase .btn-sq{flex:1;padding:10px 12px}
}

/* ---- Small screens: compact sticky header, fold-away menu and search, bottom bar ---- */
.head-btn{display:none;place-items:center;width:40px;height:40px;border:0;border-radius:10px;background:none;color:var(--g);cursor:pointer}
.head-btn:hover{background:var(--sage)}
#mobile-bar{display:none}
#categories .cat:nth-child(9){display:none}

@media(max-width:620px){
    /* One-line header that stays at the top */
    header{position:sticky;top:0;z-index:35;box-shadow:0 2px 10px #18392a12}
    .head{flex-wrap:wrap;gap:4px;padding:8px 0;min-height:56px}
    .head-btn{display:grid;flex:none}
    .menu-toggle{order:0;margin-left:-8px}
    .logo{order:1;flex:1;min-width:0}
    .search-toggle{order:2}
    .quick{order:3;width:auto;gap:0}
    .quick>*{display:none}
    .quick .quick-cart{display:grid;place-items:center;width:40px;height:40px;border-radius:10px}
    .quick-label{display:none}
    .quick-cart em{top:0;right:0}
    .brandmark{gap:8px}
    .brandmark svg{width:34px;height:34px}
    .brandmark-text{font-size:22px;letter-spacing:2px}
    .brandmark-text small{font-size:8px;letter-spacing:4px;margin-top:3px}

    /* Search and the category menu open only when asked for */
    .search{order:4;display:none;flex-basis:100%;margin:6px 0 2px}
    body.search-open .search{display:flex}
    body>nav{display:none;position:fixed;top:56px;left:0;right:0;z-index:34;max-height:calc(100vh - 130px);overflow-y:auto;white-space:normal;box-shadow:0 14px 24px #0b1f1733}
    body.menu-open>nav{display:block}
    body>nav .wrap{flex-direction:column;width:100%}
    body>nav a{padding:14px 20px;font-size:15px;border-right:0;border-bottom:1px solid #ffffff1c}
    body>nav a.active{box-shadow:inset 3px 0 var(--gold)}

    /* Bottom bar */
    body{padding-bottom:64px}
    #mobile-bar{display:block;position:fixed;left:0;right:0;bottom:0;z-index:33;background:#fff;border-top:1px solid var(--line);box-shadow:0 -4px 16px #18392a14;padding-bottom:env(safe-area-inset-bottom)}
    .tab-bar{display:grid;grid-template-columns:repeat(4,1fr);background:none;color:var(--muted);overflow:visible;white-space:normal}
    .tab-bar>*{display:flex;flex-direction:column;align-items:center;gap:3px;padding:8px 2px 7px;border:0;background:none;font:inherit;font-size:11px;color:var(--muted);cursor:pointer}
    .tab-bar a{border-right:0}
    .tab-bar .active{color:var(--g);font-weight:600;background:none;box-shadow:none}
    .tab-icon{position:relative;display:block;line-height:0}
    .tab-icon em{position:absolute;top:-6px;right:-11px;min-width:17px;padding:2px 4px;border-radius:9px;background:var(--g);color:#fff;font-style:normal;font-size:10px;line-height:13px;text-align:center}
    .buy-bar{display:flex;align-items:center;gap:8px;padding:8px 12px}
    .buy-bar-price{flex:1;min-width:0}
    .buy-bar-price small{display:block;font-size:11px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
    .buy-bar-price b{font-size:17px;color:#a03928}
    .buy-bar .btn-sq{padding:11px 13px;font-size:13px;white-space:nowrap}
    footer{padding-bottom:6px}

    /* Homepage categories: three equal tiles per row */
    #categories .categories{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
    #categories .cat:nth-child(9){display:block}
    #categories .cat{padding:8px 4px 10px}
    #categories .cat img{height:74px}
    #categories .cat b{display:block;font-size:11.5px;line-height:1.35}

    /* Product page: the product comes first */
    .shop-page .crumb{padding:10px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
    .gallery{aspect-ratio:auto;height:290px}
    .gallery img{object-fit:contain}
    .thumbs{grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;margin-top:8px}
    .buy-box{padding:14px}
    .buy-box h1{font-size:22px;margin:8px 0 4px}
    .buy-box .rating{padding-bottom:10px}
    .details .price{font-size:24px;margin:10px 0 12px}
    .flash-area{margin-top:10px}
}

/* Page changes: a short cross-fade, no sliding */
.ajax-enter{animation:none}
::view-transition-old(root),::view-transition-new(root){animation-duration:.18s;animation-timing-function:ease}

/* Header cart label keeps the size of the other header labels */
.quick .quick-label{display:inline;font-size:inherit;color:inherit}
@media(max-width:620px){
    .quick .quick-label{display:none}
}

/* Cards lift on hover only where there is a real pointer; on touch screens it looked jumpy */
@media(hover:none){
    .cat:hover,.product:hover,.shop-card:hover{transform:none;box-shadow:none}
    .shop-card:hover .product-art img{transform:none}
}

/* Listing page: smaller cards, six to a row on wide screens */
.shop-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}
.product-art{aspect-ratio:1/1}
.product-art img{object-position:center 30%}
.product-art span{top:7px;left:7px;padding:3px 7px;font-size:10.5px}
.product-info{padding:10px}
.product-info .rating{font-size:11px}
.product-info .rating .muted{font-size:11px}
.product-info h3{font-size:13.5px;line-height:1.35}
.product-info .price{font-size:15px;margin:5px 0 9px}
.product-info .price del{font-size:11px;margin-left:5px}
.product-info .btn-sq{padding:8px 4px;font-size:11.5px;white-space:nowrap}
@media(max-width:1350px){
    .shop-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(max-width:1100px) and (min-width:801px){
    .shop-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:800px){
    .shop-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
}

/* Photos are never stretched beyond their own size, so small files stay sharp
   instead of breaking up; larger files are simply scaled down to fit. */
.gallery{display:grid;place-items:center}
.gallery img{width:auto;height:auto;max-width:100%;max-height:100%;object-fit:scale-down}
.cat img{max-height:98px;object-fit:scale-down}
.mini-art img,.thumbs img,.hp-list img{image-rendering:auto}
@media(max-width:620px){
    .gallery{height:auto;max-height:330px}
    .gallery img{max-height:330px}
}
.gallery{display:block;aspect-ratio:auto;height:auto;max-height:none;text-align:center;line-height:0}
.gallery img{display:inline-block;max-height:600px}
@media(max-width:620px){
    .gallery{height:auto;max-height:none}
    .gallery img{max-height:320px}
}

/* ---- Cart: item rows (cart page and drawer) ---- */
.cart-item{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr);gap:14px;align-items:start;padding:16px 0;border-bottom:1px solid var(--line)}
.cart-item-main{min-width:0;padding-right:30px}
.cart-item h3{font-size:15px;line-height:1.35;margin:0 0 3px;color:var(--g)}
.cart-item .muted{font-size:12px}
.size-pick{display:flex;flex-wrap:wrap;gap:6px;margin:9px 0 0}
.size-pick button{padding:5px 11px;border:1px solid var(--line);border-radius:20px;background:#fff;font:inherit;font-size:12px;color:var(--ink);cursor:pointer;transition:border-color .15s,background .15s}
.size-pick button:hover:not(.active){border-color:var(--gold);background:#fbf9f3}
.size-pick button.active{border-color:var(--g);background:var(--g);color:#fff;font-weight:600;cursor:default;opacity:1}
.cart-item-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:11px}
.cart-item-foot .qty{margin:0}
.cart-item-foot strong{font-size:16px;color:#a03928;white-space:nowrap}
.cart-item-remove{position:absolute;top:14px;right:0;margin:0}
.cart-remove{display:grid;place-items:center;width:28px;height:28px;padding:0;border:0;border-radius:50%;background:#f4f1ea;color:var(--muted);text-decoration:none;cursor:pointer;transition:background .15s,color .15s}
.cart-remove:hover{background:#fdf1ee;color:#a03928}
.drawer-body .cart-item{grid-template-columns:auto minmax(0,1fr);gap:12px}

/* ---- Cart page ---- */
.cart-page{margin:22px auto 36px}
.cart-hero{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;padding:26px 30px;border-radius:18px;color:#fff;background:radial-gradient(circle at 88% 20%,#d6b77933 0,#d6b77900 42%),linear-gradient(120deg,#053a2c,#064e3b 55%,#0b6a50)}
.cart-hero::after{content:"";position:absolute;right:-70px;bottom:-110px;width:260px;height:260px;border:1px solid #d6b77955;border-radius:50%;box-shadow:0 0 0 26px #d6b7790f,0 0 0 60px #d6b77909}
.cart-hero h1{margin:0 0 4px;font-size:28px;color:#fff}
.cart-hero p{margin:0;font-size:14px;color:#d8e6de}
.cart-steps{position:relative;z-index:1;display:flex;align-items:center;gap:8px;margin:0;padding:0;list-style:none;font-size:13px;color:#b9cfc4}
.cart-steps li{display:flex;align-items:center;gap:7px}
.cart-steps li+li::before{content:"";width:26px;height:1px;background:#ffffff45;margin-right:1px}
.cart-steps span{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;border:1px solid #ffffff55;font-size:12px}
.cart-steps .current{color:#fff;font-weight:600}
.cart-steps .current span{background:var(--gold);border-color:var(--gold);color:#243127;font-weight:700}

.cart-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(300px,1fr);gap:22px;align-items:start;margin-top:22px}
.cart-list{display:flex;flex-direction:column;gap:12px}
.cart-list .cart-item{padding:16px;border:1px solid var(--line);border-radius:16px;background:#fff;gap:18px;transition:box-shadow .2s,border-color .2s}
.cart-list .cart-item:hover{border-color:#d6b77988;box-shadow:0 10px 26px #18392a12}
.cart-list .mini-art{width:104px;height:128px;border-radius:12px}
.cart-list .cart-item h3{font-size:17px}
.cart-list .cart-item-main{padding-right:34px}
.cart-list .cart-item-remove{top:14px;right:14px}
.cart-list .size-pick button{padding:6px 14px;font-size:13px}
.cart-list .cart-item-foot{margin-top:14px;padding-top:12px;border-top:1px dashed var(--line)}
.cart-list .cart-item-foot strong{font-size:19px}
.cart-more{display:flex;align-items:center;justify-content:center;gap:8px;padding:15px;border:1.5px dashed #c9c3b3;border-radius:16px;color:var(--g);font-weight:600;font-size:14px;transition:background .15s,border-color .15s}
.cart-more:hover{background:#fff;border-color:var(--g)}

.cart-summary{position:sticky;top:18px;padding:24px;border-radius:18px;color:#eaf2ed;background:linear-gradient(160deg,#064e3b,#043a2c)}
.cart-summary h2{margin:0 0 16px;font-size:20px;color:#fff}
.cart-summary .summary-line{margin:11px 0;color:#cfe0d6}
.cart-summary .summary-line span:last-child{color:#fff}
.cart-summary .summary-line.total{margin-top:16px;padding-top:16px;border-top:1px solid #ffffff2b;font-size:22px;color:#fff}
.cart-summary .summary-line.total span:last-child{color:var(--gold)}
.cart-summary .btn-sq.full{margin-top:18px;padding:14px;border-radius:12px;font-size:15px}
.cart-trust{list-style:none;margin:18px 0 0;padding:16px 0 0;border-top:1px solid #ffffff2b;display:grid;gap:9px;font-size:13px;color:#cfe0d6}
.cart-trust li{display:flex;align-items:center;gap:9px}
.cart-trust .icon{color:var(--gold)}

.cart-empty{margin-top:22px;padding:54px 20px;border-radius:18px;background:#fff;border:1px solid var(--line);text-align:center}
.cart-empty-icon{display:grid;place-items:center;width:78px;height:78px;margin:0 auto 14px;border-radius:50%;background:var(--sage);color:var(--g)}
.cart-empty h2{margin:0 0 6px;color:var(--g);font-size:22px}
.cart-empty p{margin:0 0 20px;color:var(--muted)}

/* ---- Discount badge: a gold seal that is easy to spot ---- */
.gallery-badge,.pimg span,.product-art span{position:absolute;z-index:2;top:10px;left:10px;display:grid;place-items:center;min-width:46px;height:46px;padding:0 6px;border-radius:50%;background:radial-gradient(circle at 30% 25%,#f3deb0,#d6b779 55%,#b8944f);color:#3a2a08;font-size:13px;font-weight:700;line-height:1;letter-spacing:-.2px;box-shadow:0 0 0 2px #fff,0 0 0 3px #d6b779,0 6px 14px #1b140055;transform:rotate(-8deg)}
.gallery-badge{top:16px;left:16px;min-width:68px;height:68px;font-size:19px;box-shadow:0 0 0 3px #fff,0 0 0 4.5px #d6b779,0 10px 22px #1b140066}
.gallery-badge::after{content:"ছাড়";display:block;margin-top:3px;font-size:11px;font-weight:600;letter-spacing:.5px}
.products.eight .pimg span,.shop-grid .product-art span{top:8px;left:8px;min-width:40px;height:40px;font-size:11.5px}

@media(max-width:900px){
    .cart-grid{grid-template-columns:1fr}
    .cart-summary{position:static}
}
@media(max-width:620px){
    .cart-page{margin:12px auto 22px}
    .cart-hero{padding:18px;border-radius:14px}
    .cart-hero h1{font-size:22px}
    .cart-hero p{font-size:13px}
    .cart-steps{font-size:12px;gap:5px}
    .cart-steps li+li::before{width:14px}
    .cart-steps span{width:22px;height:22px}
    .cart-grid{margin-top:14px;gap:14px}
    .cart-list .cart-item{padding:12px;gap:12px;border-radius:14px}
    .cart-list .mini-art{width:78px;height:98px}
    .cart-list .cart-item h3{font-size:15px}
    .cart-list .cart-item-remove{top:10px;right:10px}
    .cart-list .size-pick button{padding:5px 11px;font-size:12px}
    .cart-list .cart-item-foot strong{font-size:17px}
    .cart-summary{padding:18px;border-radius:14px}
    .gallery-badge{top:12px;left:12px;min-width:58px;height:58px;font-size:16px}
    .products.eight .pimg span,.shop-grid .product-art span{min-width:36px;height:36px;font-size:10.5px}
}

/* ---- Checkout: delivery form beside the editable order ---- */
.checkout-grid{grid-template-columns:minmax(0,1.15fr) minmax(340px,1fr)}
.checkout-grid .panel{border-radius:16px;padding:22px}
.checkout-grid .panel h3{margin:0 0 14px;color:var(--g);font-size:18px}
.checkout-order{position:sticky;top:18px}
.checkout-lines{margin-bottom:10px}
.checkout-lines .cart-item:first-child{padding-top:4px}
.checkout-lines .mini-art{width:70px;height:86px;border-radius:10px}
.checkout-order .btn-sq.full{margin-top:14px;padding:14px;border-radius:12px;font-size:15px}
.cart-steps .done{color:#e6f0ea}
.cart-steps .done span{background:#ffffff26;border-color:#ffffff66;color:#fff}
.cart-steps .done a{text-decoration:underline;text-underline-offset:3px}
@media(max-width:900px){
    .checkout-grid{grid-template-columns:1fr}
    .checkout-order{position:static}
    /* The order comes first on small screens so it can be checked before typing. */
    .checkout-order{order:-1}
}
@media(max-width:620px){
    .checkout-grid .panel{padding:16px;border-radius:14px}
    .checkout-lines .mini-art{width:60px;height:74px}
}

/* Product page: call and WhatsApp buttons beside the buy buttons */
.btn-sq.call{background:#fff;color:var(--g);box-shadow:inset 0 0 0 1.5px var(--g)}
.btn-sq.call:hover{background:var(--sage)}
.btn-sq.whatsapp{background:#1fa855;color:#fff}
.btn-sq.whatsapp:hover{background:#178a45}
.purchase .btn-sq{white-space:nowrap}
@media(max-width:520px){
    .purchase .btn-sq.call,.purchase .btn-sq.whatsapp{flex:1 1 40%}
}

/* Small screens, product page: "অর্ডার করুন" comes first and full width,
   then add-to-cart beside call, then WhatsApp. */
@media(max-width:620px){
    .purchase{gap:8px}
    .purchase .qty{order:0}
    .purchase .btn-sq{padding:12px 10px;font-size:14px}
    .purchase .btn-sq.gold{order:1;flex:1 1 100%;padding:14px 10px;font-size:15.5px}
    .purchase .btn-sq:not(.gold):not(.call):not(.whatsapp){order:2;flex:1 1 40%}
    .purchase .btn-sq.call{order:2;flex:1 1 40%}
    .purchase .btn-sq.whatsapp{order:3;flex:1 1 100%}
}

/* Small screens: a short footer — logo with social icons, links and contact on wrapped lines */
.contact li{display:flex;align-items:center;min-width:0}
.contact .icon{flex:none}
@media(max-width:620px){
    .footgrid{grid-template-columns:1fr;gap:12px;padding:16px 0 12px}
    .footgrid>div:first-child{grid-column:auto;display:flex;align-items:center;justify-content:space-between;gap:10px}
    .footgrid>div:first-child p{display:none}
    footer .brandmark{margin:0}
    footer .brandmark svg{width:34px;height:34px}
    footer .brandmark-text{font-size:21px}
    .social{gap:6px}
    .social span{width:30px;height:30px}
    /* Delivery details are already on the product and checkout pages */
    .footgrid>div:nth-child(3){display:none}
    footer h3{font-size:12.5px;margin:0 0 3px}
    .footlinks{flex-direction:row;flex-wrap:wrap;gap:0 16px}
    footer p,footer a,.footlinks span{font-size:12.5px;line-height:1.7}
    footer p{margin:0}
    .contact{display:flex;flex-wrap:wrap;gap:0 16px;margin:0 0 8px;font-size:12.5px;line-height:1.7}
    .copyright{padding:8px 0;font-size:10.5px}
    .copyright span:last-child{display:none}
}

/* The pager is a <nav> too; it must not pick up the green menu bar look */
nav.pager{background:none;color:inherit;overflow:visible;white-space:normal}

/* ---- Order tracking ---- */
.track-box{max-width:760px;margin:22px auto 0;display:grid;gap:16px}
.track-form{display:grid;grid-template-columns:1fr 1fr auto;gap:12px;align-items:end;border-radius:16px}
.track-form label{margin:0}
.track-form .btn-sq{height:46px}
.track-result{border-radius:16px}
.track-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:6px}
.track-head b{display:block;font-size:20px;letter-spacing:1px;color:var(--g)}
.track-status{padding:6px 14px;border-radius:20px;background:var(--sage);color:var(--g);font-size:13px;font-weight:600;white-space:nowrap}
.track-status.delivered{background:var(--g);color:#fff}
.track-status.cancelled{background:#fdf1ee;color:#a03928}
.track-steps{display:grid;grid-template-columns:repeat(5,1fr);gap:4px;margin:18px 0 16px;padding:0;list-style:none;font-size:11.5px;text-align:center;color:var(--muted)}
.track-steps li{position:relative;display:flex;flex-direction:column;align-items:center;gap:6px}
.track-steps li::before{content:"";position:absolute;top:14px;left:-50%;width:100%;height:2px;background:var(--line)}
.track-steps li:first-child::before{display:none}
.track-steps span{position:relative;z-index:1;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#fff;border:2px solid var(--line);font-size:12px}
.track-steps .done{color:var(--g);font-weight:600}
.track-steps .done::before{background:var(--g)}
.track-steps .done span{background:var(--g);border-color:var(--g);color:#fff}
.track-steps .current span{box-shadow:0 0 0 4px #064e3b22}
.track-result hr{border:0;border-top:1px solid var(--line);margin:10px 0}

/* Cards on small screens: the add-to-cart label must fit */
.size-pick button.out{color:#b5b9b5;text-decoration:line-through;cursor:not-allowed}
.opts input:disabled+span{color:#b5b9b5;background:#f6f4ee;cursor:not-allowed}
.opts span small{display:block;font-size:10px;color:#a03928}
@media(max-width:620px){
    .track-form{grid-template-columns:1fr}
    .track-steps{font-size:10px}
    .track-steps span{width:26px;height:26px}
    .track-steps li::before{top:12px}
    .products.eight .pi button,.pi button{font-size:12px;padding:9px 4px;gap:4px;white-space:nowrap}
    .pi button .icon{width:13px;height:13px}
    .product-info .btn-sq{font-size:11.5px;gap:4px}
    .product-info .btn-sq .icon{width:13px;height:13px}
}
@media(max-width:380px){
    .pi button .icon,.product-info .btn-sq .icon{display:none}
}

/* Header: the search box fills the middle, the shortcuts sit at the right edge */
.search{max-width:760px}
.quick{margin-left:auto;gap:22px}
@media(max-width:620px){
    .quick{margin-left:0;gap:0}
}
.track-status.returning,.track-status.returned{background:#fbf3df;color:#8a6412}

/* Site font: Roboto + Noto Sans Bengali, served from this site (see fonts.css) */
:root{--font-body:"Roboto","Noto Sans Bengali",system-ui,-apple-system,"Segoe UI",sans-serif;--font-display:var(--font-body)}

/* Small screens, product page: everything pulled up and tightened so the
   order button is on the first screen. */
@media(max-width:620px){
    .shop-page:has(.layout){margin-top:8px;padding:0 10px 14px}
    .shop-page:has(.layout) .crumb{display:none}
    .layout{gap:10px;padding:10px 0 12px}
    .gallery img{max-height:min(210px,26vh)}
    .gallery-badge{top:8px;left:8px;min-width:46px;height:46px;font-size:13px}
    .gallery-badge::after{font-size:9px;margin-top:1px}
    .thumbs{display:flex;gap:6px;margin-top:6px}
    .thumbs button{width:42px;height:42px;flex:none;border-radius:8px}

    .details{gap:10px}
    .buy-box{padding:10px 12px 12px;border-radius:12px}
    .buy-box .pill{padding:3px 9px;font-size:11px}
    .buy-box h1{font-size:19px;margin:5px 0 2px;line-height:1.25}
    .buy-box .rating{padding-bottom:0;border-bottom:0;font-size:12px}
    .lead-text{display:none}
    .details .price{font-size:22px;margin:6px 0 8px;gap:2px 8px}
    .details .price del{font-size:13px}
    .save{font-size:11px;padding:3px 8px}
    .field-label{font-size:12px;margin:0 0 5px}
    .opts{gap:6px;margin:0 0 8px}
    .opts span{padding:7px 12px;font-size:13px}

    /* Quantity and the order button share one line. */
    .purchase{gap:6px}
    .purchase .qty{order:0}
    .purchase .qty button{padding:0 11px}
    .purchase .qty input{width:30px;padding:10px 0}
    .purchase .btn-sq{padding:11px 8px;font-size:13.5px}
    .purchase .btn-sq.gold{order:1;flex:1 1 55%;min-width:150px;padding:12px 8px;font-size:15px}
    .purchase .btn-sq:not(.gold):not(.call):not(.whatsapp){order:2;flex:1 1 40%}
    .purchase .btn-sq.call{order:2;flex:1 1 40%}
    .purchase .btn-sq.whatsapp{order:3;flex:1 1 100%}
    /* The label row above the quantity only repeats what the stepper shows. */
    .buy-box form>.field-label:last-of-type{display:none}
}

/* ---- Product card (one design everywhere): photo, seal, name, size, stars, price, two buttons ---- */
.product{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:14px;background:#fffdf8;overflow:hidden;min-width:0}
.product .pimg{position:relative;display:block;aspect-ratio:1/1.08;background:var(--iv);overflow:hidden}
.product .pimg img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 30%;transition:transform .3s}
.product .pi{display:flex;flex-direction:column;flex:1;padding:12px 12px 12px}
.product .pi>a{display:block}
.product .pi b{display:block;font-size:15.5px;font-weight:700;line-height:1.3;color:var(--g)}
.product .pi small{display:block;margin:3px 0 0;font-size:12.5px;line-height:1.4;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.product .stars{margin:5px 0 0;font-size:13px;letter-spacing:1px;color:#e7a323}
.product .price-line{display:flex;align-items:baseline;flex-wrap:wrap;gap:2px 8px;margin:5px 0 10px}
.product .price-line strong{font-size:18px;color:#9b2c1c}
.product .price-line del{font-size:12.5px;color:#999}
.card-actions{display:grid;gap:7px;margin:auto 0 0}
.product .pi button{display:flex;align-items:center;justify-content:center;gap:7px;width:100%;margin:0;padding:10px 6px;border:0;border-radius:9px;font:inherit;font-size:13.5px;font-weight:600;white-space:nowrap;cursor:pointer;transition:background .15s,color .15s}
.product .card-order{background:var(--g);color:#fff}
.product .card-order:hover{background:#053f30}
.product .card-cart{background:#fff;color:var(--g);box-shadow:inset 0 0 0 1.5px var(--g)}
.product .card-cart:hover{background:var(--sage)}
.product .pi button.soldout{margin-top:auto;background:#e3e1da;color:#8a8f8a;cursor:not-allowed}
@media(hover:hover){
    .product:hover .pimg img{transform:scale(1.04)}
}

/* Rows of eight and the six-column listing: the same card, a little tighter. */
.products.eight .pi,.shop-grid .pi{padding:10px 9px 10px}
.products.eight .pi b,.shop-grid .pi b{font-size:13.5px}
.products.eight .pi small,.shop-grid .pi small{font-size:11.5px}
.products.eight .stars,.shop-grid .stars{font-size:11px}
.products.eight .price-line strong,.shop-grid .price-line strong{font-size:15px}
.products.eight .price-line del,.shop-grid .price-line del{font-size:11px}
.products.eight .pi button,.shop-grid .pi button{padding:8px 2px;font-size:11.5px;gap:5px;margin:0}
.products.eight .pi button .icon,.shop-grid .pi button .icon{width:14px;height:14px}
.products.eight .card-actions,.shop-grid .card-actions{gap:6px}

@media(max-width:1350px){
    .products.eight .pi b,.shop-grid .pi b{font-size:14.5px}
    .products.eight .pi button,.shop-grid .pi button{font-size:12.5px;padding:9px 4px}
}
@media(max-width:620px){
    .product .pi,.products.eight .pi,.shop-grid .pi{padding:9px 8px 9px}
    .product .pi b,.products.eight .pi b,.shop-grid .pi b{font-size:13.5px}
    .product .price-line strong{font-size:15.5px}
    .product .price-line{margin:4px 0 8px}
    .product .pi button,.products.eight .pi button,.shop-grid .pi button{padding:9px 2px;font-size:12px;gap:5px}
}
@media(max-width:360px){
    .product .pi button .icon{display:none}
}
.products.eight .pimg,.shop-grid .pimg{aspect-ratio:1/1.08}

/* Card text sits close together: name, size, stars and price as one tight block */
.product .pi{line-height:1.25}
.product .pi>a{line-height:1.25}
.product .pi small{margin:1px 0 0;line-height:1.3}
.product .stars{margin:2px 0 0;line-height:1}
.product .price-line{margin:3px 0 8px;line-height:1.2}
@media(max-width:620px){
    .product .price-line{margin:3px 0 7px}
}

/* Footer credit */
.copyright .wrap{align-items:center}
.credit{letter-spacing:.2px}
.credit a{color:var(--gold);font-weight:600;font-size:inherit;line-height:inherit}
.credit a:hover{text-decoration:underline;text-underline-offset:3px}
@media(max-width:620px){
    .copyright .wrap{display:flex;flex-direction:column;align-items:center;gap:2px;text-align:center}
    .copyright span:last-child{display:inline}
}

/* Homepage section headings: Tiro Bangla between two gold ornaments. */
.title{display:flex;flex-direction:column;align-items:center;gap:8px;margin:0 0 24px;padding:0;font-family:"Tiro Bangla",var(--font-display);font-weight:700;font-size:clamp(27px,2.7vw,38px);line-height:1.3;letter-spacing:0;color:#005640}
.title::before,.title::after{content:"";position:static;display:block;margin:0;height:auto;background:center/contain no-repeat}
.title::before{width:250px;aspect-ratio:340/64;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 340 64'%3E%3Cdefs%3E%3ClinearGradient id='a'%3E%3Cstop offset='0' stop-color='%23c9a45c' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%23c9a45c'/%3E%3C/linearGradient%3E%3ClinearGradient id='b'%3E%3Cstop offset='0' stop-color='%23c9a45c'/%3E%3Cstop offset='1' stop-color='%23c9a45c' stop-opacity='0'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect x='0' y='43.3' width='106' height='1.4' fill='url(%23a)'/%3E%3Crect x='234' y='43.3' width='106' height='1.4' fill='url(%23b)'/%3E%3Cpath fill='%23c9a45c' d='M121 39l5 5-5 5-5-5zM219 39l5 5-5 5-5-5zM170 49l5 6.500-5 6.500-5-6.500z'/%3E%3Cpath fill='none' stroke='%23c9a45c' stroke-width='2.600' stroke-linecap='round' stroke-linejoin='round' d='M146 51c-7-10 3-21 12-25 7-3 10-11 12-21 2 10 5 18 12 21 9 4 19 15 12 25'/%3E%3Cpath fill='%23005640' d='M170 21c6.500 9 6.500 17 0 24-6.500-7-6.500-15 0-24zM152 35c9-1 15 3 17 11-8 1-14-3-17-11zM188 35c-9-1-15 3-17 11 8 1 14-3 17-11z'/%3E%3C/svg%3E")}
.title::after{width:300px;aspect-ratio:420/26;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 420 26'%3E%3Cdefs%3E%3ClinearGradient id='a'%3E%3Cstop offset='0' stop-color='%23c9a45c' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%23c9a45c'/%3E%3C/linearGradient%3E%3ClinearGradient id='b'%3E%3Cstop offset='0' stop-color='%23c9a45c'/%3E%3Cstop offset='1' stop-color='%23c9a45c' stop-opacity='0'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect x='0' y='12.300' width='166' height='1.400' fill='url(%23a)'/%3E%3Crect x='254' y='12.300' width='166' height='1.400' fill='url(%23b)'/%3E%3Cpath fill='%23c9a45c' d='M182 8.500l4.500 4.500-4.500 4.500-4.500-4.500zM238 8.500l4.500 4.500-4.500 4.500-4.500-4.500zM210 13c-5-4-5-9 0-13 5 4 5 9 0 13zM210 13c5 4 5 9 0 13-5-4-5-9 0-13zM210 13c-4-5-9-5-13 0 4 5 9 5 13 0zM210 13c4-5 9-5 13 0-4 5-9 5-13 0z'/%3E%3C/svg%3E")}
@media(max-width:620px){
    .title{gap:6px;margin-bottom:16px;font-size:24px}
    .title::before{width:180px}
    .title::after{width:220px}
}

/* A validation message shown under its own form field. */
.field-error{display:block;margin-top:6px;color:#b3261e;font-size:13px;font-weight:600;line-height:1.5}
.form .is-invalid{border-color:#d9534f!important;background:#fff7f6}

/* Checkout on a phone: no order note; the order button sits there instead. */
.btn-sq.checkout-submit-mobile{display:none}
@media(max-width:620px){
    .checkout-note{display:none!important}
    .btn-sq.checkout-submit-mobile{display:block;margin-top:14px}
}
