:root{
  --brand:#0b8f4d;
  --brand-dark:#08713d;
  --brand-soft:#e9f8f0;
  --ink:#101828;
  --muted:#667085;
  --line:#e5e7eb;
  --bg:#f6f7f9;
  --card:#ffffff;
  --danger:#c51d1d;
  --danger-bg:#fff0f0;
  --shadow:0 18px 50px rgba(16,24,40,.12);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:"Inter","Tiro Bangla","Noto Sans Bengali",sans-serif;
  background:var(--bg);
  color:var(--ink)
}
button,input,select,textarea{font:inherit}
button{cursor:pointer}
a{color:inherit}
.container{width:min(1220px,94%);margin:auto}

/* ticker */
.announcement{
  height:35px;
  background:#10261d;
  color:white;
  display:flex;
  align-items:center;
  overflow:hidden;
  position:relative;
  z-index:30
}
.announcement-label{
  width:42px;
  flex:0 0 42px;
  text-align:center;
  background:#0a1a13;
  height:100%;
  display:grid;
  place-items:center;
  z-index:2
}
.ticker-window{overflow:hidden;white-space:nowrap;width:100%}
.ticker-track{
  display:inline-flex;
  gap:60px;
  min-width:max-content;
  animation:ticker 26s linear infinite;
  font-size:13px;
  font-weight:650
}
.ticker-item::after{content:"•";margin-left:60px;opacity:.5}
@keyframes ticker{from{transform:translateX(0)}to{transform:translateX(-50%)}}

/* header */
.topbar{
  background:rgba(255,255,255,.96);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
  position:sticky;
  top:0;
  z-index:25
}
.header-inner{
  min-height:66px;
  display:flex;
  align-items:center;
  gap:12px
}
.icon-btn,.drawer-close{
  border:1px solid var(--line);
  background:#fff;
  border-radius:12px;
  width:42px;height:42px;
  display:grid;place-items:center
}
.brand{
  text-decoration:none;
  display:flex;
  align-items:center;
  gap:9px;
  font-weight:900;
  font-size:21px;
  white-space:nowrap
}
.brand-mark{
  width:38px;height:38px;border-radius:12px;
  display:grid;place-items:center;
  background:var(--brand);color:white
}
.search{display:flex;flex:1;max-width:680px;margin-left:auto}
.search input{
  flex:1;min-width:0;
  border:1px solid var(--line);
  border-right:0;
  background:#f9fafb;
  border-radius:12px 0 0 12px;
  padding:11px 13px;
  outline:none
}
.search input:focus{background:#fff;border-color:#a7d9bf}
.search > button{
  width:48px;border:0;border-radius:0 12px 12px 0;
  background:var(--brand);color:#fff;font-size:22px
}
.cart-btn{
  position:relative;
  border:1px solid var(--line);
  background:#fff;
  border-radius:12px;
  padding:9px 12px;
  font-weight:800;
  display:flex;align-items:center;gap:6px
}
#cartCount{
  min-width:22px;height:22px;padding:0 6px;
  border-radius:99px;
  background:var(--brand);color:#fff;
  display:grid;place-items:center;
  font-size:12px
}
.cart-btn.bump{animation:cartBump .45s ease}
@keyframes cartBump{
  0%{transform:scale(1)}
  35%{transform:scale(1.18) rotate(-3deg)}
  70%{transform:scale(.96)}
  100%{transform:scale(1)}
}

/* hero */
.hero{padding:18px 0 4px}
.hero-box{
  min-height:330px;
  border-radius:26px;
  padding:46px;
  color:white;
  display:grid;
  grid-template-columns:1.25fr .75fr;
  align-items:center;
  overflow:hidden;
  position:relative;
  background:
    radial-gradient(circle at 83% 25%,rgba(255,255,255,.2),transparent 21%),
    linear-gradient(135deg,#071a12,#0b8f4d)
}
.hero-box:after{
  content:"";
  width:360px;height:360px;border:1px solid rgba(255,255,255,.1);
  border-radius:50%;
  position:absolute;right:-100px;bottom:-180px
}
.hero-copy{position:relative;z-index:2}
.eyebrow{
  display:inline-block;
  padding:6px 10px;border-radius:99px;
  background:rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.15);
  font-size:13px;font-weight:800
}
.hero h1{
  white-space:pre-line;
  font-size:clamp(38px,5vw,68px);
  line-height:1;
  margin:16px 0
}
.hero p{max-width:620px;color:#d9f7e8;font-size:17px;line-height:1.65}
.hero-art{display:grid;place-items:center;position:relative;z-index:1}
.hero-bag{
  width:220px;height:220px;
  display:grid;place-items:center;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.18);
  border-radius:55px;
  font-size:100px;
  transform:rotate(7deg);
  box-shadow:0 25px 70px rgba(0,0,0,.2)
}

/* buttons */
.primary,.secondary,.buy-btn,.add-btn{
  border:0;border-radius:11px;
  padding:10px 12px;
  font-weight:850
}
.primary,.add-btn{background:var(--brand);color:#fff}
.hero .primary{background:#076b3c;color:#fff}
.primary:hover,.add-btn:hover{background:var(--brand-dark)}
.secondary{background:#eef1f4;color:var(--ink)}
.buy-btn{background:#111827;color:white}
.full{width:100%}

/* content */
.section{padding:24px 0}
.section-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:14px}
.section-head h2{margin:0;font-size:26px}
.section-head p{margin:4px 0 0;color:var(--muted);font-size:14px}
.product-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px
}
.product-card{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:17px;
  padding:10px;
  min-width:0
}
.product-img{
  height:190px;
  background:#f0f2f4;
  border-radius:13px;
  display:grid;place-items:center;
  font-size:72px;
  overflow:hidden;
  position:relative
}
.discount{
  position:absolute;left:8px;top:8px;
  background:#dc2626;color:white;
  border-radius:7px;padding:3px 6px;
  font-size:11px;font-weight:800
}
.product-meta{padding-top:9px}
.product-category{font-size:11px;color:#08713d;font-weight:800}
.product-card h3{
  margin:5px 0 7px;
  font-size:15px;line-height:1.35;
  height:40px;overflow:hidden
}
.price{font-size:18px;font-weight:900}
.old-price{font-size:12px;color:#98a2b3;text-decoration:line-through;margin-left:3px}
.product-actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:7px;
  margin-top:10px
}
.product-actions button{padding:9px 7px;font-size:12px}

/* product page */
.page-wrap{padding:26px 0 50px}
.back-link{display:inline-block;text-decoration:none;color:var(--brand);font-weight:800;margin-bottom:14px}
.product-page{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.product-large{
  min-height:470px;background:white;border:1px solid var(--line);
  border-radius:22px;display:grid;place-items:center;font-size:160px
}
.product-info{background:white;border:1px solid var(--line);border-radius:22px;padding:26px}
.product-info h1{font-size:33px;line-height:1.15;margin:10px 0}
.muted{color:var(--muted)}
.notice{
  background:var(--danger-bg);
  border:1px solid #ffcaca;
  border-left:5px solid var(--danger);
  color:var(--danger);
  padding:13px 14px;
  border-radius:10px;
  font-weight:750;
  line-height:1.55
}
.qty-wrap{display:flex;align-items:center;gap:12px;margin:18px 0}
.qty-wrap input{width:76px;padding:9px;border:1px solid var(--line);border-radius:9px}

/* drawers */
.drawer-backdrop{
  position:fixed;inset:0;
  background:rgba(0,0,0,.42);
  z-index:39;
  opacity:0;pointer-events:none;
  transition:.2s
}
.drawer-backdrop.show{opacity:1;pointer-events:auto}
.category-drawer,.cart-drawer{
  position:fixed;top:0;height:100%;
  background:#fff;z-index:40;
  box-shadow:var(--shadow);
  transition:transform .25s ease;
  display:flex;flex-direction:column
}
.category-drawer{left:0;width:min(350px,88vw);transform:translateX(-105%)}
.category-drawer.open{transform:translateX(0)}
.cart-drawer{right:0;width:min(430px,92vw);transform:translateX(105%)}
.cart-drawer.open{transform:translateX(0)}
.drawer-head{
  padding:18px;
  border-bottom:1px solid var(--line);
  display:flex;justify-content:space-between;align-items:center
}
.drawer-head h3{margin:0 0 2px}
.drawer-head small{color:var(--muted)}
.category-list{padding:10px}
.category-item{
  width:100%;
  border:0;
  background:#fff;
  display:flex;align-items:center;gap:12px;
  padding:13px;border-radius:11px;
  text-align:left;font-weight:800
}
.category-item:hover,.category-item.active{background:var(--brand-soft);color:var(--brand)}
.category-icon{font-size:21px}
.cart-items{padding:7px 18px;overflow:auto;flex:1}
.cart-line{
  display:grid;grid-template-columns:52px 1fr auto;
  gap:10px;align-items:center;
  padding:12px 0;border-bottom:1px solid var(--line)
}
.cart-line .thumb{
  width:52px;height:52px;border-radius:10px;
  display:grid;place-items:center;background:#f1f3f5;font-size:27px
}
.cart-line button{border:0;background:transparent;color:var(--danger);font-size:12px}
.drawer-foot{padding:18px;border-top:1px solid var(--line)}
.row{display:flex;justify-content:space-between;gap:15px;padding:7px 0}
.total{font-size:19px}

/* fly animation */
.fly-item{
  position:fixed;
  z-index:100;
  pointer-events:none;
  width:54px;height:54px;
  border-radius:50%;
  background:white;
  box-shadow:0 10px 30px rgba(0,0,0,.2);
  display:grid;place-items:center;
  font-size:28px;
  transition:all .65s cubic-bezier(.2,.8,.3,1)
}

/* checkout */
.checkout-layout{display:grid;grid-template-columns:1.12fr .88fr;gap:22px}
.panel{background:#fff;border:1px solid var(--line);border-radius:20px;padding:21px}
.panel h2{margin-top:0;font-size:22px}
.field{display:flex;flex-direction:column;gap:6px;margin-bottom:13px}
.field label{font-size:13px;font-weight:800}
.field input,.field select,.field textarea{
  width:100%;padding:11px 12px;border:1px solid var(--line);border-radius:10px;background:#fff
}
.field input:focus,.field select:focus,.field textarea:focus{outline:2px solid #ccebdc;border-color:var(--brand)}
.two-col{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.payment-option{border:1px solid var(--line);border-radius:13px;padding:13px;margin-bottom:10px}
.payment-option>label{font-weight:850}
.payment-details{padding-top:12px;margin-top:12px;border-top:1px dashed var(--line)}
.order-item{
  display:grid;grid-template-columns:48px 1fr auto;
  gap:10px;align-items:center;padding:11px 0;border-bottom:1px solid var(--line)
}
.order-thumb{width:48px;height:48px;background:#f1f3f5;border-radius:9px;display:grid;place-items:center;font-size:25px}
.location-status{font-size:12px;color:var(--muted);margin-top:-5px;margin-bottom:12px}
.success{
  max-width:700px;margin:25px auto;background:#fff;border:1px solid var(--line);
  border-radius:22px;padding:32px;text-align:center
}
.success .icon{font-size:66px}

/* floating */
.floating-chat{
  position:fixed;right:16px;bottom:18px;
  z-index:32;
  display:flex;flex-direction:column;gap:10px
}
.chat-btn{
  width:50px;height:50px;border-radius:50%;
  display:grid;place-items:center;
  text-decoration:none;color:#fff;
  box-shadow:0 8px 24px rgba(0,0,0,.22);
  font-weight:900;font-size:23px
}
.messenger{background:#168aff}
.whatsapp{background:#25d366}

/* footer */
footer{background:#111b17;color:#d6ddd9;padding:34px 0;margin-top:30px}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:24px}
footer h3,footer h4{color:#fff;margin-top:0}
footer p{font-size:14px}

/* tablet */
@media(max-width:900px){
  .hero-box,.product-page,.checkout-layout{grid-template-columns:1fr}
  .hero-art{display:none}
  .product-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
  .product-img{height:145px;font-size:55px}
}

/* mobile catalog: two readable products per row */
@media(max-width:600px){
  .container{width:min(100% - 16px,1220px)}
  .announcement{height:32px}
  .announcement-label{width:36px;flex-basis:36px}
  .ticker-track{font-size:11px;gap:40px}
  .ticker-item::after{margin-left:40px}
  .header-inner{min-height:58px;gap:7px}
  .icon-btn{width:38px;height:38px;border-radius:10px}
  .brand-mark{width:36px;height:36px}
  .brand-name{display:none}
  .search{margin-left:0}
  .search input{padding:9px 9px;font-size:13px}
  .search > button{width:40px;font-size:19px}
  .cart-btn{padding:7px 8px}
  .cart-label{display:none}
  #cartCount{min-width:19px;height:19px;font-size:10px}
  .hero{padding-top:10px}
  .hero-box{min-height:210px;padding:25px 20px;border-radius:18px}
  .hero h1{font-size:37px;margin:12px 0}
  .hero p{font-size:14px;line-height:1.55;margin-bottom:13px}
  .section{padding:18px 0}
  .section-head h2{font-size:21px}
  .product-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px
  }
  .product-card{
    padding:9px;
    border-radius:14px
  }
  .product-img{
    height:132px;
    border-radius:11px;
    font-size:46px
  }
  .discount{
    left:6px;top:6px;padding:3px 5px;
    font-size:10px;border-radius:6px
  }
  .product-meta{padding-top:8px}
  .product-category{font-size:11px}
  .product-card h3{
    font-size:14px;
    line-height:1.35;
    height:38px;
    margin:5px 0 6px
  }
  .price{font-size:16px}
  .old-price{display:inline;font-size:11px}
  .product-actions{gap:7px;margin-top:9px}
  .product-actions button{
    min-height:44px;
    padding:8px 5px;
    font-size:11px;
    border-radius:9px
  }
  .page-wrap{padding-top:16px}
  .product-large{min-height:280px;font-size:100px}
  .product-info{padding:18px}
  .product-info h1{font-size:25px}
  .two-col{grid-template-columns:1fr}
  .panel{padding:15px;border-radius:15px}
  .footer-grid{grid-template-columns:1fr}
  .floating-chat{right:10px;bottom:13px}
  .chat-btn{width:44px;height:44px;font-size:20px}
}


@media(max-width:600px){
  body{font-size:14px}
  .hero-box{padding:22px 18px}
  .hero h1{font-size:33px}
  .hero p{font-size:13px}
  .section-head{margin-bottom:10px}
  .product-grid{gap:10px}
  .product-card{padding:9px}
  .product-img{height:132px}
  .product-card h3{font-size:14px;height:38px}
  .product-actions button{font-size:11px;min-height:44px;padding:8px 5px}
  .cart-drawer{width:min(390px,94vw)}
  .checkout-layout{gap:12px}
  .panel h2{font-size:19px}
  .field input,.field select,.field textarea{font-size:14px;padding:10px}
  .notice{font-size:13px}
  .order-item{grid-template-columns:42px 1fr auto}
  .order-thumb{width:42px;height:42px;font-size:22px}
}



.cod-methods{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.cod-method{
  border:1px solid var(--line);
  border-radius:10px;
  padding:10px 12px;
  display:flex;align-items:center;justify-content:center;gap:7px;
  font-weight:850;
  background:#fff;
  transition:.18s
}
.cod-method.active{border-color:var(--brand);background:var(--brand-soft);color:var(--brand)}
.pay-to-box{
  display:flex;justify-content:space-between;align-items:center;gap:12px;
  background:#f8fafc;border:1px solid var(--line);border-radius:10px;
  padding:11px 12px;margin-bottom:13px
}
.pay-to-box span{color:var(--muted);font-size:13px;font-weight:750}
.pay-to-box strong{font-size:15px;letter-spacing:.2px}
.order-item{grid-template-columns:48px 1fr auto}
.order-main{min-width:0}
.order-price{white-space:nowrap}
.order-remove{
  margin-top:5px;padding:0;border:0;background:transparent;
  color:var(--danger);font-size:11px;font-weight:800
}
.order-summary{margin-top:12px;padding-top:5px}
.summary-divider{height:1px;background:var(--line);margin:10px 0 7px}
.payable-row{align-items:center;padding-top:8px;font-size:19px}
.payable-row>strong:first-child{font-weight:900;color:var(--ink)}
.payable-amount{
  color:#087f5b;
  font-size:23px;
  font-weight:950;
  letter-spacing:-.2px
}
@media(max-width:600px){
  .order-panel{padding:14px}
  .order-item{grid-template-columns:42px 1fr auto;gap:8px;padding:10px 0}
  .order-thumb{width:42px;height:42px;font-size:22px}
  .order-main>strong{font-size:12px;line-height:1.25;display:block}
  .order-main .muted{font-size:10px}
  .order-price{font-size:12px}
  .order-remove{font-size:10px}
  .payable-row{font-size:16px}
  .payable-amount{font-size:20px}
  .cod-method{padding:9px 8px;font-size:13px}
}



.search{position:relative}.search-suggestions{display:none;position:absolute;top:calc(100% + 6px);left:0;right:0;background:#fff;border:1px solid #e5e7eb;border-radius:12px;box-shadow:0 12px 35px rgba(0,0,0,.12);overflow:hidden;z-index:90}.search-suggestions.show{display:block}.search-suggestions button{width:100%;border:0;background:#fff;padding:10px;display:flex;gap:10px;text-align:left;align-items:center;border-bottom:1px solid #f0f2f4}.search-suggestions button:hover{background:#f7faf8}.search-suggestions small{display:block;color:#087443;margin-top:3px}.stock-ok{font-size:12px;color:#087443;font-weight:700;margin:3px 0 6px}.product-img{position:relative}.sticky-product-actions{display:none}.copy-btn{border:1px solid #0b8f4d;background:#fff;color:#087443;border-radius:8px;padding:7px 10px;font-weight:700;margin-left:auto}.pay-to-box{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.checkout-qty{display:inline-flex;align-items:center;border:1px solid #d8e1dc;border-radius:8px;overflow:hidden;margin:8px 0}.checkout-qty button{border:0;background:#f4f7f5;width:30px;height:28px;font-size:18px}.checkout-qty b{min-width:28px;text-align:center}.order-toggle{width:100%;display:flex;justify-content:space-between;align-items:center;border:0;background:transparent;padding:0 0 14px;font-size:20px}.order-items-wrap.collapsed{display:none}.field-error{display:block;color:#c62828;min-height:16px;margin-top:4px}.confirmation-card{background:#f5faf7;border:1px solid #dbece2;border-radius:12px;padding:12px;margin:15px 0}.secondary{border:1px solid #0b8f4d;background:#fff;color:#087443;padding:11px 16px;border-radius:9px;font-weight:700}.mobile-nav{display:none}
@media(max-width:600px){body{padding-bottom:66px}.floating-chat{bottom:76px}.mobile-nav{display:grid;grid-template-columns:repeat(4,1fr);position:fixed;bottom:0;left:0;right:0;height:62px;background:#fff;border-top:1px solid #e6ebe8;z-index:100;box-shadow:0 -4px 16px rgba(0,0,0,.06)}.mobile-nav a,.mobile-nav button{border:0;background:transparent;color:#34443b;text-decoration:none;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:18px;position:relative}.mobile-nav span{font-size:10px;margin-top:2px}.mobile-nav b{position:absolute;top:4px;right:22%;background:#0b8f4d;color:#fff;border-radius:10px;font-size:9px;padding:1px 5px}.sticky-product-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;position:fixed;bottom:62px;left:0;right:0;background:#fff;padding:8px 10px;border-top:1px solid #e6ebe8;z-index:95;box-shadow:0 -4px 14px rgba(0,0,0,.06)}.sticky-product-actions button{min-height:42px}.checkout-layout{display:block}.checkout-layout .panel{margin-bottom:12px}.order-panel{position:static!important}.order-toggle{font-size:16px}.order-item{grid-template-columns:42px 1fr auto;gap:8px}.order-thumb{width:42px;height:42px}.payable-row{font-size:17px}.payable-amount{font-size:20px}.two-col{grid-template-columns:1fr}.search-suggestions{position:fixed;top:58px;left:8px;right:8px}.pay-to-box strong{font-size:16px}.copy-btn{margin-left:0}}


.search-suggestions{background:#f7fbf9;border:2px solid #178654;box-shadow:0 14px 38px rgba(12,93,57,.22)}
.search-suggestions::before{content:"সার্চ সাজেশন";display:block;padding:8px 12px;background:#e6f4ed;color:#075f3b;font-weight:800;font-size:12px;border-bottom:1px solid #cce8da}
.search-suggestions button{background:#fff;border-bottom:1px solid #dceae3}
.search-suggestions button:nth-child(even){background:#f8fcfa}
.search-suggestions button:hover{background:#eaf7f0}
.delivery-methods{display:grid;grid-template-columns:1fr 1fr;gap:8px}.delivery-method{border:1px solid #d5dfda;border-radius:10px;padding:11px;background:#fff;cursor:pointer}.delivery-method.active{border-color:#0b8f4d;background:#eef9f3;box-shadow:0 0 0 1px #0b8f4d inset}.local-note{display:block;margin-top:5px;color:#087443;font-weight:700}.full-payment-details{margin:10px 0 18px;padding:14px;border:1px solid #d9e8e0;border-radius:12px;background:#f7fbf9}.full-pay-amount{display:flex;justify-content:space-between;align-items:center;margin:12px 0;padding-top:10px;border-top:1px solid #d8e5de}.full-pay-amount strong{font-size:20px;color:#087d54}
@media(max-width:600px){.delivery-methods{grid-template-columns:1fr}.search-suggestions::before{font-size:11px}.search-suggestions{border-width:2px}.full-payment-details{padding:12px}}


.search-suggestions,.search-suggestions button,.search-suggestions button b,.search-suggestions button small,.search-suggestions::before{color:#111!important}
.delivery-method input[type="radio"],.payment-option input[name="payment"],.cod-method input[type="radio"]{position:absolute;opacity:0;pointer-events:none}
.delivery-method{position:relative;display:block;cursor:pointer;border:2px solid #d5dfda;transition:.16s ease}
.delivery-method.active{border-color:#0b8f4d;background:#eef9f3;box-shadow:0 0 0 2px rgba(11,143,77,.08)}
.delivery-method.active::after,.cod-method.active::after{content:"✓";position:absolute;right:10px;top:50%;transform:translateY(-50%);width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:#0b8f4d;color:#fff;font-weight:900;font-size:13px}
.payment-option{position:relative;border:2px solid #d5dfda;transition:.16s ease;cursor:pointer}
.payment-option>label{display:block;cursor:pointer;padding-right:34px}
.payment-option:has(input[name="payment"]:checked){border-color:#0b8f4d;background:#eef9f3;box-shadow:0 0 0 2px rgba(11,143,77,.08)}
.payment-option:has(input[name="payment"]:checked)::after{content:"✓";position:absolute;right:12px;top:10px;width:23px;height:23px;border-radius:50%;display:grid;place-items:center;background:#0b8f4d;color:#fff;font-weight:900;font-size:13px}
.cod-method{position:relative;cursor:pointer;border:2px solid #d5dfda;padding-right:38px}
.cod-method.active{border-color:#0b8f4d;background:#eef9f3;box-shadow:0 0 0 2px rgba(11,143,77,.08)}



.delivery-fee-result{display:flex;align-items:center;justify-content:center;gap:14px;margin:8px 0 2px auto;padding:10px 14px;border:2px solid #a9d7bf;border-radius:10px;background:#f1faf5;color:#175c3b;min-height:56px;width:100%;text-align:center}.delivery-fee-result[hidden]{display:none!important}.delivery-fee-result span{font-size:13px;font-weight:800;line-height:1.25}.delivery-fee-result strong{font-size:19px;color:#087443;white-space:nowrap;line-height:1}.payment-option{border-radius:14px;padding:0;overflow:hidden;margin-bottom:10px;background:#fff}.payment-card-label{display:flex!important;align-items:center;gap:12px;padding:14px 42px 14px 14px!important;min-height:68px}.payment-card-label>span:last-child{display:flex;flex-direction:column;gap:2px}.payment-card-label strong{font-size:15px;color:#17251d}.payment-card-label small{font-size:11px;color:#66746c}.payment-card-icon{width:38px;height:38px;border-radius:11px;display:grid!important;place-items:center;background:#eef5f1;color:#0b8f4d;font-weight:900;flex:0 0 auto}.payment-option.selected,.payment-option:has(input[name="payment"]:checked){border-color:#0b8f4d!important;background:#f1faf5!important}.payment-option.selected .payment-card-icon,.payment-option:has(input[name="payment"]:checked) .payment-card-icon{background:#0b8f4d;color:#fff}.cod-methods{display:grid;grid-template-columns:1fr 1fr;gap:10px}.cod-method{min-height:54px;display:flex;align-items:center;justify-content:center;border-radius:12px;font-weight:800;font-size:15px}.local-cod-notice{background:#effaf3!important;border-color:#9ed8b7!important;color:#075d35!important}.delivery-methods{display:grid;grid-template-columns:1fr 1fr;gap:10px}.delivery-method{min-height:58px;display:flex;align-items:center;justify-content:center;text-align:center;padding:10px 36px 10px 10px!important}
@media(max-width:600px){.delivery-fee-result{width:100%;padding:10px 12px;min-height:56px;margin-top:8px;justify-content:center;gap:10px}.delivery-fee-result span{font-size:12px}.delivery-fee-result strong{font-size:17px}.payment-card-label{min-height:64px;padding:12px 40px 12px 11px!important}.payment-card-icon{width:34px;height:34px;border-radius:10px}.payment-card-label strong{font-size:13px}.payment-card-label small{font-size:10px}.cod-method{min-height:50px;font-size:14px}.delivery-method{font-size:12px;min-height:54px}}


.payable-amount,
#grandTotal,
#checkoutTotal,
.total-payable-amount {
  color: #d32f2f !important;
  font-weight: 800 !important;
}


.copy-btn{position:relative;overflow:hidden;transition:transform .16s ease,background .16s ease,color .16s ease}
.copy-btn.copy-success{
  background:#0b8f4d!important;color:#fff!important;
  animation:copyPulse .48s ease;
}
.copy-btn.copy-success::after{
  content:"";position:absolute;inset:-30%;border-radius:50%;
  border:2px solid rgba(11,143,77,.35);animation:copyRing .6s ease-out;
}
@keyframes copyPulse{0%{transform:scale(1)}45%{transform:scale(1.08)}100%{transform:scale(1)}}
@keyframes copyRing{0%{transform:scale(.2);opacity:1}100%{transform:scale(1.7);opacity:0}}
.copy-toast{
 position:fixed;left:50%;bottom:88px;transform:translate(-50%,18px) scale(.96);
 background:#163b2a;color:#fff;padding:10px 16px;border-radius:999px;
 font-weight:800;font-size:13px;z-index:9999;opacity:0;
 box-shadow:0 8px 28px rgba(0,0,0,.18);transition:.22s ease;pointer-events:none;
}
.copy-toast.show{opacity:1;transform:translate(-50%,0) scale(1)}
@media(max-width:600px){.copy-toast{bottom:132px;white-space:nowrap}}


.copy-pay-number,
[data-copy-number],
[data-copy-target]{
  position:relative;
  overflow:hidden;
}
.copy-pay-number.copy-success,
[data-copy-number].copy-success,
[data-copy-target].copy-success{
  background:#0b8f4d!important;
  color:#fff!important;
  border-color:#0b8f4d!important;
  animation:copyPulse .48s ease;
}


.input-invalid,
.field-invalid input,
.field-invalid select,
.field-invalid textarea{
  border-color:#e57373!important;
  background:#fff4f4!important;
  box-shadow:0 0 0 2px rgba(229,115,115,.10)!important;
}
.input-invalid:focus,
.field-invalid input:focus,
.field-invalid select:focus,
.field-invalid textarea:focus{
  border-color:#d94a4a!important;
  background:#fff0f0!important;
  box-shadow:0 0 0 3px rgba(217,74,74,.14)!important;
  outline:none!important;
}
.required-error{
  display:block;
  margin-top:5px;
  color:#c94040;
  font-size:12px;
  font-weight:700;
}
.field-invalid label{
  color:#a93232;
}
@media(max-width:600px){
  .required-error{font-size:11px}
}


.input-invalid,
.field-invalid input:not([type="radio"]),
.field-invalid select,
.field-invalid textarea{
  border:2px solid #e05b5b!important;
  background:#ffecec!important;
  box-shadow:0 0 0 3px rgba(224,91,91,.13)!important;
}

.input-invalid:focus,
.field-invalid input:not([type="radio"]):focus,
.field-invalid select:focus,
.field-invalid textarea:focus{
  border-color:#c93636!important;
  background:#ffe4e4!important;
  box-shadow:0 0 0 4px rgba(201,54,54,.16)!important;
}

.field-invalid{
  border-radius:10px;
}

.required-error{
  color:#b82e2e!important;
  font-weight:800!important;
  font-size:12px!important;
}

/* Make an invalid select/input easy to notice on mobile without looking aggressive */
@media(max-width:600px){
  .input-invalid,
  .field-invalid input:not([type="radio"]),
  .field-invalid select,
  .field-invalid textarea{
    background:#ffeded!important;
    border-width:2px!important;
  }
}


.product-page-layout{align-items:start}
.product-gallery{min-width:0}
.product-main-image{
  min-height:390px;border:1px solid #e5e7eb;border-radius:22px;background:linear-gradient(145deg,#f8faf9,#eef8f2);
  display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;overflow:hidden;user-select:none
}
.product-main-emoji{font-size:150px;line-height:1;filter:drop-shadow(0 16px 18px rgba(0,0,0,.09))}
.product-main-image>small{margin-top:24px;color:#667085;font-weight:700}
.detail-discount{position:absolute;top:16px;left:16px;background:#d92d20;color:#fff;border-radius:999px;padding:7px 11px;font-size:13px;font-weight:900}
.gallery-thumbs{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-top:10px}
.gallery-thumb{border:1px solid #e1e5e3;background:#fff;border-radius:13px;padding:9px 5px;cursor:pointer;color:#344054}
.gallery-thumb span{font-size:27px;display:block}
.gallery-thumb small{font-size:10px}
.gallery-thumb.active{border:2px solid #0b8f4d;background:#f0fbf5}
.swipe-hint{display:none;text-align:center;color:#667085;font-size:11px;margin-top:7px}
.gallery-pop{animation:galleryPop .22s ease}
@keyframes galleryPop{0%{transform:scale(.94);opacity:.65}100%{transform:scale(1);opacity:1}}
.product-status-row{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:9px 0}
.saving-pill{display:inline-flex;background:#fff0ed;color:#b42318;border-radius:999px;padding:5px 9px;font-size:12px;font-weight:800}
.detail-price-row{display:flex;align-items:baseline;gap:9px;flex-wrap:wrap;margin:8px 0}
.save-text{font-size:12px;font-weight:800;color:#067647}
.product-description{margin:14px 0}
.delivery-estimate{display:flex;gap:11px;align-items:center;background:#f0faf5;border:1px solid #b7e2ca;border-radius:14px;padding:12px 13px;margin:15px 0}
.delivery-estimate-icon{font-size:24px}
.delivery-estimate span:last-child{display:flex;flex-direction:column;gap:2px}
.delivery-estimate small{color:#667085;line-height:1.4}
.product-benefits{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0 17px}
.product-benefits span{background:#f8faf9;border:1px solid #e4e7ec;border-radius:999px;padding:6px 9px;font-size:11px;font-weight:700;color:#475467}
.detail-qty label{display:block;margin-bottom:6px;font-weight:800}
.qty-stepper{display:inline-grid;grid-template-columns:38px 56px 38px;border:1px solid #d0d5dd;border-radius:11px;overflow:hidden;background:#fff}
.qty-stepper button{border:0;background:#f7f8f7;font-size:20px;cursor:pointer}
.qty-stepper input{width:100%;border:0!important;text-align:center;padding:9px 2px!important;box-shadow:none!important}
.detail-actions{max-width:440px!important;margin-top:17px}

@media(max-width:700px){
  .product-page-layout{gap:17px}
  .product-main-image{min-height:270px;border-radius:16px}
  .product-main-emoji{font-size:105px}
  .product-main-image>small{margin-top:15px}
  .swipe-hint{display:block}
  .gallery-thumb{padding:6px 3px}
  .gallery-thumb span{font-size:22px}
  .product-info h1{font-size:21px;line-height:1.3;margin-bottom:7px}
  .detail-price-row .price{font-size:24px}
  .delivery-estimate{padding:10px}
  .product-benefits{gap:5px}
  .product-benefits span{font-size:10px;padding:5px 7px}
}
.catalog-product-image{width:100%;height:100%;object-fit:contain;display:block}.detail-product-image{width:100%;height:100%;max-height:420px;object-fit:contain;display:block}.thumb-product-image{width:54px;height:54px;object-fit:cover;border-radius:8px;display:block;margin:auto}.product-main-emoji:has(img){width:100%;height:100%;display:flex;align-items:center;justify-content:center}

.listing-short-description{margin:4px 0 8px;color:#667085;font-size:12px;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:34px}
.detail-short-description{margin:8px 0 14px;line-height:1.6}
.full-product-description{margin-top:26px;padding-top:22px;border-top:1px solid #eaecf0;color:#344054;line-height:1.75}
.full-product-description h2{font-size:20px;margin:0 0 12px;color:#101828}
@media(max-width:640px){.listing-short-description{font-size:10px;line-height:1.35;min-height:27px}.full-product-description{margin-top:20px;padding-top:18px}.full-product-description h2{font-size:17px}}


.product-lower-section{margin-top:30px;background:#fff;border:1px solid #eaecf0;border-radius:16px;overflow:hidden}
.product-tabs{display:flex;gap:0;border-bottom:1px solid #eaecf0;overflow-x:auto;background:#fafafa}
.product-tab{appearance:none;border:0;border-bottom:3px solid transparent;background:transparent;padding:15px 20px;font-weight:800;color:#667085;cursor:pointer;white-space:nowrap;font-size:14px}
.product-tab.active{color:#101828;border-bottom-color:#101828;background:#fff}
.product-tab-panels{padding:22px}
.product-tab-panel{display:none;color:#344054;line-height:1.8}
.product-tab-panel.active{display:block}
.product-tab-panel h2{margin:0 0 14px;color:#101828;font-size:22px}
.product-tab-panel h3{margin:0 0 10px;color:#101828}
.product-description-content{white-space:normal}
.product-key-features ul{margin:8px 0 20px;padding-left:20px}
.product-spec-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px}
.product-spec-grid>div{display:flex;justify-content:space-between;gap:20px;padding:11px 13px;background:#f8fafc;border-radius:10px}
.product-spec-grid span{color:#667085}
.product-spec-grid strong{text-transform:capitalize;text-align:right}
.empty-reviews{padding:18px;background:#f8fafc;border-radius:10px;color:#667085}
@media(max-width:640px){.product-lower-section{margin-top:20px;border-radius:12px}.product-tab{padding:13px 15px;font-size:13px}.product-tab-panels{padding:16px}.product-tab-panel h2{font-size:19px}.product-spec-grid{grid-template-columns:1fr}}


.clickable-product-card{cursor:pointer;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}
.clickable-product-card:hover{transform:translateY(-2px);box-shadow:0 10px 26px rgba(16,24,40,.09);border-color:#cbd5e1}
.clickable-product-card:focus-visible{outline:3px solid rgba(11,143,77,.25);outline-offset:2px}
.clickable-product-card button{position:relative;z-index:2}
.review-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:16px}.review-head h2{margin-bottom:4px}.review-summary{color:#667085;font-weight:700}.verified-note,.verified-badge{display:inline-flex;align-items:center;gap:4px;background:#ecfdf3;color:#067647;border:1px solid #abefc6;border-radius:999px;padding:5px 9px;font-size:12px;font-weight:800;white-space:nowrap}.review-list{display:grid;gap:10px}.review-item{border:1px solid #eaecf0;border-radius:12px;padding:14px;background:#fff}.review-item-top{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.review-stars{color:#f59e0b;letter-spacing:1px;margin:5px 0}.review-item p{margin:5px 0 8px;line-height:1.65}.review-item small{color:#98a2b3}.review-form{margin-top:22px;padding-top:20px;border-top:1px solid #eaecf0}.review-help{color:#667085;background:#f8fafc;border-radius:10px;padding:10px 12px;font-size:13px;line-height:1.55}.review-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.review-form label{display:grid;gap:6px;font-weight:700;margin-bottom:10px}.review-form input,.review-form select,.review-form textarea{width:100%;border:1px solid #d0d5dd;border-radius:10px;padding:10px 11px;background:#fff;outline:none}.review-form input:focus,.review-form select:focus,.review-form textarea:focus{border-color:#6cc99a;box-shadow:0 0 0 3px rgba(11,143,77,.1)}.review-message{min-height:22px;margin:2px 0 8px;font-size:13px;font-weight:700}.review-message.success{color:#067647}.review-message.error{color:#b42318}.review-form button:disabled{opacity:.6;cursor:not-allowed}
@media(max-width:700px){.review-head{flex-direction:column}.review-form-grid{grid-template-columns:1fr}.verified-note{font-size:11px}}


button{transition:transform .14s ease,box-shadow .18s ease,filter .18s ease,opacity .18s ease}button:not(:disabled):hover{filter:brightness(.985)}button:not(:disabled):active{transform:scale(.965)}button.button-clicked{animation:buttonConfirm .36s ease}@keyframes buttonConfirm{0%{transform:scale(1)}35%{transform:scale(.94)}70%{transform:scale(1.025)}100%{transform:scale(1)}}


.category-strip-section{padding-bottom:0}.category-strip{display:flex;gap:9px;overflow:auto;padding:2px 2px 8px;scrollbar-width:thin}.category-chip{flex:0 0 auto;border:1px solid var(--line);background:#fff;color:var(--ink);border-radius:999px;padding:9px 13px;font-weight:750;display:flex;align-items:center;gap:6px}.category-chip.active{background:#08713d;color:#fff;border-color:#08713d}.catalog-toolbar{display:grid;grid-template-columns:1.15fr 1fr .75fr .75fr 1.2fr auto;gap:8px;margin:14px 0 18px}.catalog-toolbar select,.catalog-toolbar input{width:100%;min-width:0;border:1px solid var(--line);border-radius:10px;background:#fff;padding:10px}.filter-reset{border:1px solid var(--line);background:#fff;color:var(--ink);border-radius:10px;padding:9px 13px}.empty-products{grid-column:1/-1;padding:50px 18px;text-align:center;border:1px dashed #d0d5dd;border-radius:14px;background:#fff;display:grid;justify-items:center;gap:9px;color:#667085}.empty-products b{color:#101828;font-size:18px}.empty-products button{margin-top:5px;border:0;border-radius:10px;background:var(--brand);color:#fff;padding:10px 14px;font-weight:800}@media(max-width:850px){.catalog-toolbar{grid-template-columns:1fr 1fr}.catalog-toolbar .filter-reset{grid-column:span 2}}@media(max-width:460px){.catalog-toolbar{gap:6px}.catalog-toolbar select,.catalog-toolbar input{font-size:12px;padding:9px 7px}}


.track-wrap{max-width:760px;margin:auto}.track-form{background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:16px;display:grid;grid-template-columns:1fr 1fr auto;gap:10px;align-items:end}.track-form label{font-weight:700;font-size:14px}.track-form input{width:100%;margin-top:6px}.track-card{margin-top:16px;background:#fff;border:1px solid #e5e7eb;border-radius:16px;padding:20px}.track-head{display:flex;justify-content:space-between;gap:12px}.track-head h2{margin:3px 0}.track-status{padding:7px 10px;border-radius:999px;background:#eef4f0;height:max-content;font-weight:800;font-size:13px}.track-steps{display:grid;grid-template-columns:repeat(5,1fr);gap:7px;margin:22px 0}.track-step{text-align:center;color:#98a2b3;font-size:12px;position:relative}.track-step i{font-style:normal;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;margin:0 auto 7px;background:#eef1ef;font-weight:800}.track-step.done{color:#08783e}.track-step.done i{background:#dcfae6;color:#08783e}.track-items{border-top:1px solid #eaecf0;border-bottom:1px solid #eaecf0;padding:8px 0}.track-items>div,.track-total{display:flex;justify-content:space-between;gap:12px;padding:8px 0}.track-total{font-size:18px}.track-cancelled,.track-error{margin-top:16px;padding:13px;border-radius:10px;background:#fee4e2;color:#b42318}.track-error{max-width:760px}.footer-grid a{color:inherit;text-decoration:none}@media(max-width:680px){.track-form{grid-template-columns:1fr}.track-steps{grid-template-columns:1fr;text-align:left}.track-step{display:flex;align-items:center;gap:9px;text-align:left}.track-step i{margin:0}}


.whatsapp-checkout-btn{margin-top:10px;border:0;border-radius:10px;padding:13px 16px;background:#25d366;color:#fff;font-weight:900;font-size:15px;cursor:pointer;box-shadow:0 7px 18px rgba(37,211,102,.2)}
.whatsapp-checkout-btn span{font-size:17px;margin-right:6px}.whatsapp-checkout-btn:hover{filter:brightness(.96)}.whatsapp-checkout-btn:disabled{opacity:.65;cursor:not-allowed}.whatsapp-checkout-note{display:block;text-align:center;color:var(--muted);margin:7px 4px 0;line-height:1.45}.whatsapp-success{margin:12px 0;padding:11px 13px;border-radius:10px;background:#eafbf0;color:#08783e;font-weight:800}.messenger{background:#1877f2}.floating-chat .chat-btn{box-shadow:0 5px 18px rgba(0,0,0,.15)}



html,body,button,input,select,textarea,a{font-family:"Tiro Bangla","Noto Sans Bengali",serif}
.track-header-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:42px;padding:8px 12px;border:1px solid var(--line);border-radius:10px;background:#fff;text-decoration:none;font-weight:700;white-space:nowrap;transition:transform .15s ease,background .15s ease}
.track-header-btn:active{transform:scale(.96)}
.track-header-icon{font-size:18px}.track-header-label{font-size:14px}
.track-courier{margin-top:16px;padding:14px;border:1px solid var(--line);border-radius:12px;background:#fafcfb}.track-courier h3{margin:0 0 8px}.track-courier-head{display:flex;justify-content:space-between;gap:10px;align-items:flex-start;flex-wrap:wrap}.track-courier-events{margin-top:12px;border-left:2px solid #d8e4dc;padding-left:14px}.track-courier-event{position:relative;padding:0 0 14px 8px}.track-courier-event:before{content:"";position:absolute;left:-20px;top:5px;width:10px;height:10px;border-radius:50%;background:var(--brand)}.track-courier-event b,.track-courier-event small{display:block}.track-courier-event small{color:var(--muted);margin-top:2px}.track-privacy{margin-top:10px;color:var(--muted);font-size:13px}
@media(max-width:720px){.track-header-btn{padding:7px 9px}.track-header-label{display:none}.track-header-icon{font-size:20px}}
.track-form-single{grid-template-columns:minmax(0,1fr) auto}.track-form-single button{min-height:46px}
@media(max-width:680px){.track-form-single{grid-template-columns:1fr}}



html,body,button,input,select,textarea{font-family:"Inter","Tiro Bangla","Noto Sans Bengali",sans-serif}
body{font-size:16px;line-height:1.5}
.price,.old-price,.order-price,.payable-amount,#grandTotal,#checkoutSubtotal,#fullPayAmount,.track-total strong,.cart-subtotal,.total,.fee-choice-card strong{
  font-family:"Inter","Tiro Bangla","Noto Sans Bengali",sans-serif;
  font-variant-numeric:tabular-nums;
  line-height:1.2;
}
/* Customer-facing money must stay prominent */
.price{font-size:20px;font-weight:900}
.detail-price-row .price{font-size:30px;font-weight:900}
.payable-amount,#grandTotal{font-size:26px!important;font-weight:900!important}
#checkoutSubtotal,.full-pay-amount strong{font-size:20px;font-weight:800}
.track-total strong{font-size:21px;font-weight:900}
@media(max-width:600px){
  /* Mobile catalog prices stay readable */
  .product-card .price{font-size:13px!important;letter-spacing:-.15px}
  .detail-price-row .price{font-size:27px!important}
  .payable-amount,#grandTotal{font-size:24px!important}
  #checkoutSubtotal,.full-pay-amount strong{font-size:19px!important}
  .order-price{font-size:13px!important}
  .track-total strong{font-size:20px}
}



/* The old catalog title/count/filter toolbar is intentionally removed from renderHome. */
@media(max-width:600px){
  #products.section{padding-top:10px}
  .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  .product-card{padding:8px!important;border-radius:13px!important}
  .product-img{height:122px!important;border-radius:10px!important;font-size:46px!important}
  .discount{left:6px!important;top:6px!important;padding:3px 5px!important;font-size:9px!important;border-radius:6px!important}
  .product-meta{padding-top:7px!important}
  .product-category{font-size:10px!important}
  .product-card h3{font-size:13px!important;line-height:1.32!important;height:35px!important;margin:4px 0 5px!important}
  .price{font-size:15px!important;line-height:1.2!important}
  .old-price{display:inline!important;font-size:10px!important;margin-left:3px!important}
  .product-actions{gap:6px!important;margin-top:8px!important}
  .product-actions button{min-height:44px!important;padding:8px 5px!important;font-size:11px!important;border-radius:9px!important}
}
@media(max-width:360px){
  .product-grid{gap:7px!important}
  .product-card{padding:6px!important}
  .product-img{height:108px!important}
  .product-card h3{font-size:12px!important}
  .price{font-size:14px!important}
  .product-actions button{font-size:10px!important}
}


.brand-mark.has-logo{background:transparent;overflow:hidden;padding:0}.brand-mark.has-logo img{width:100%;height:100%;object-fit:contain}.hero-custom-image{display:block;max-width:100%;width:min(340px,100%);max-height:280px;object-fit:contain;border-radius:22px}

.coupon-row{display:flex;gap:8px}.coupon-row input{flex:1}.coupon-row button{white-space:nowrap}



.trust-status{margin-top:7px;padding:9px 11px;border-radius:9px;font-size:12px;line-height:1.45}.trust-status.trusted{background:#eafaf0;border:1px solid #b9e5c8;color:#126334;font-weight:750}@media(max-width:600px){.trust-status{font-size:11px;padding:8px 9px}}



@media(max-width:600px){
  .page-wrap{padding-left:10px!important;padding-right:10px!important}
  .checkout-layout{display:block!important;width:100%;max-width:100%;overflow:visible}
  #checkoutForm.panel{padding:14px!important;border-radius:15px!important;width:100%;min-width:0}
  #checkoutForm .field input,#checkoutForm .field select,#checkoutForm .field textarea{font-size:16px!important;min-height:44px;max-width:100%}
  #checkoutForm .order-panel{margin:16px 0 14px!important;padding:13px!important;border-radius:14px!important;background:#fff;width:100%;box-sizing:border-box}
  #checkoutForm .order-toggle{min-height:44px;padding:0 2px 10px!important;font-size:16px!important}
  #checkoutForm .order-items-wrap{max-width:100%;overflow:hidden}
  #checkoutForm .order-item{grid-template-columns:44px minmax(0,1fr) auto!important;gap:8px!important}
  #checkoutForm .order-main{min-width:0;overflow:hidden}
  #checkoutForm .order-main>strong{overflow-wrap:anywhere}
  #checkoutForm .order-price{font-size:12px!important;max-width:76px;white-space:normal;text-align:right}
  #checkoutForm .checkout-payment-title{margin-top:18px!important;padding-top:2px}
  #checkoutForm .primary.full,#checkoutForm .whatsapp-checkout-btn{min-height:48px;font-size:14px}
  #checkoutForm .payment-card-label,#checkoutForm .cod-method,#checkoutForm .delivery-method,.coupon-row button{min-height:46px}
  .pay-to-box{align-items:flex-start!important}.pay-to-box strong{overflow-wrap:anywhere}
}
@media(max-width:360px){
  #checkoutForm.panel{padding:11px!important}
  #checkoutForm .order-panel{padding:10px!important}
  #checkoutForm .order-item{grid-template-columns:40px minmax(0,1fr) auto!important}
  #checkoutForm .order-price{max-width:64px;font-size:11px!important}
}


/* Five bottom-nav items must always stay on ONE row. */
@media(max-width:600px){
  html,body{max-width:100%;overflow-x:hidden}
  .container{width:calc(100% - 16px);max-width:100%;margin-left:auto;margin-right:auto}
  .mobile-nav{
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    width:100%!important;max-width:100vw!important;
    height:64px!important;
    padding-bottom:env(safe-area-inset-bottom,0px);
  }
  .mobile-nav a,.mobile-nav button{min-width:0!important;width:100%;padding:4px 1px!important;font-size:17px!important;overflow:hidden}
  .mobile-nav span{font-size:9px!important;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .mobile-nav b{top:3px!important;right:14%!important}
  body{padding-bottom:calc(68px + env(safe-area-inset-bottom,0px))!important}
  .floating-chat{bottom:calc(76px + env(safe-area-inset-bottom,0px))!important}
  .sticky-product-actions{bottom:calc(64px + env(safe-area-inset-bottom,0px))!important}

  /* Header: never overflow the viewport. Mobile nav already contains Order + Cart. */
  .header-inner{width:100%;max-width:100%;min-width:0;gap:6px!important}
  .header-inner>*{min-width:0}
  .header-inner .search{flex:1 1 auto!important;width:auto!important;min-width:0!important;max-width:none!important}
  .header-inner .search input{width:0;min-width:0;flex:1 1 0}
  .header-inner .category-toggle,.header-inner .brand{flex:0 0 auto}
  .header-inner .track-header-btn,.header-inner .cart-btn{flex:0 0 auto}
}
/* On phone-sized widths, duplicated header Order/Cart controls are hidden so search gets the space. */
@media(max-width:480px){
  .header-inner .track-header-btn,.header-inner .cart-btn{display:none!important}
  .header-inner .brand-mark{width:36px;height:36px}
  .header-inner .search > button{flex:0 0 40px;width:40px}
}
@media(max-width:340px){
  .container{width:calc(100% - 10px)}
  .header-inner{gap:4px!important}
  .icon-btn{width:34px!important;height:36px!important}
  .header-inner .brand-mark{width:34px;height:36px}
  .header-inner .search input{padding-left:7px!important;padding-right:5px!important;font-size:12px!important}
  .header-inner .search > button{flex-basis:36px;width:36px!important}
  .mobile-nav span{font-size:8px!important}
}



.drawer-backdrop{z-index:139}
.category-drawer,.cart-drawer{z-index:140;height:100vh;height:100dvh;max-height:100dvh}
.cart-items{min-height:0;overscroll-behavior:contain}
.drawer-foot{flex:0 0 auto;background:#fff;position:relative;z-index:2;padding-bottom:calc(18px + env(safe-area-inset-bottom,0px))}
#checkoutBtn{display:block!important;width:100%;min-height:48px;visibility:visible!important;opacity:1!important}
@media(max-width:600px){
  .cart-drawer{width:min(430px,100vw)!important;max-width:100vw!important}
  .cart-drawer .drawer-head{padding:14px 16px}
  .cart-drawer .cart-items{padding:6px 14px}
  .cart-drawer .drawer-foot{padding:12px 14px calc(12px + env(safe-area-inset-bottom,0px))}
  .cart-drawer .total{font-size:17px}
  .cart-drawer #checkoutBtn{min-height:50px;font-size:15px}
}
@media(max-width:360px){
  .cart-line{grid-template-columns:44px minmax(0,1fr) auto;gap:7px}
  .cart-line .thumb{width:44px;height:44px}
  .drawer-foot{padding-left:10px!important;padding-right:10px!important}
}


.search-suggestions{max-height:min(420px,62vh);overflow-y:auto;overflow-x:hidden;padding:0;overscroll-behavior:contain}
.search-suggestions button{display:grid;grid-template-columns:52px minmax(0,1fr) auto;gap:10px;align-items:center;min-height:68px;padding:8px 10px;text-align:left;cursor:pointer}
.search-suggestions .suggest-thumb{width:52px;height:52px;border-radius:10px;background:#f1f5f3;display:flex;align-items:center;justify-content:center;overflow:hidden;font-size:24px}
.search-suggestions .suggest-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.search-suggestions .suggest-info{min-width:0;display:block}
.search-suggestions .suggest-info b{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;white-space:normal;overflow-wrap:anywhere;line-height:1.3;font-size:14px;color:#17221c!important}
.search-suggestions .suggest-price{font-size:13px;font-weight:800;color:#087443!important;white-space:nowrap;align-self:center}
.search-suggestions .suggest-meta{display:block;font-size:11px!important;color:#66756d!important;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(max-width:600px){
 .search-suggestions{position:fixed;top:82px;left:8px;right:8px;width:auto;max-height:min(380px,55dvh);border-radius:12px;z-index:120}
 .search-suggestions button{grid-template-columns:46px minmax(0,1fr) auto;min-height:62px;padding:7px 9px;gap:8px}
 .search-suggestions .suggest-thumb{width:46px;height:46px;border-radius:9px}
 .search-suggestions .suggest-info b{font-size:13px}
 .search-suggestions .suggest-price{font-size:12px}
}
@media(max-width:360px){.search-suggestions button{grid-template-columns:42px minmax(0,1fr) auto}.search-suggestions .suggest-thumb{width:42px;height:42px}.search-suggestions .suggest-info b{font-size:12px}.search-suggestions .suggest-price{font-size:11px}}



@media(max-width:600px){
  .mobile-nav{grid-template-columns:repeat(3,minmax(0,1fr))!important;}
  .mobile-nav a,.mobile-nav button{font-size:19px!important;}
  .mobile-nav span{font-size:10px!important;}
  .mobile-nav b{right:28%!important;}
}
@media(max-width:340px){
  .mobile-nav span{font-size:9px!important;}
}


.header-inner{
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr) auto auto;
  grid-template-areas:
    "category brand track cart"
    "search search search search";
  align-items:center;
  gap:8px 10px!important;
  padding-top:8px;
  padding-bottom:9px;
}
.header-inner .category-toggle{grid-area:category}
.header-inner .brand{grid-area:brand;justify-self:center;margin:0;min-width:0}
.header-inner .search{grid-area:search;width:100%!important;max-width:none!important;margin:0!important;min-width:0}
.header-inner .track-header-btn{grid-area:track}
.header-inner .cart-btn{grid-area:cart}
.header-inner .brand-mark{flex:0 0 auto}
.header-inner .brand-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:600px){
  .header-inner{
    grid-template-columns:42px minmax(0,1fr) 42px;
    grid-template-areas:
      "category brand spacer"
      "search search search";
    gap:7px!important;
    padding-top:7px;padding-bottom:8px;
  }
  .header-inner::after{content:"";grid-area:spacer;width:42px;height:1px}
  .header-inner .brand{justify-self:center;max-width:100%}
  .header-inner .brand-mark{width:36px!important;height:36px!important}
  .header-inner .brand-name{font-size:18px}
  .header-inner .track-header-btn,.header-inner .cart-btn{display:none!important}
  .header-inner .search{width:100%!important}
  .header-inner .search input{font-size:16px!important;min-height:44px}
  .header-inner .search > button{width:44px!important;flex:0 0 44px!important;min-height:44px}
}
@media(max-width:360px){
  .header-inner{grid-template-columns:38px minmax(0,1fr) 38px}
  .header-inner::after{width:38px}
  .header-inner .category-toggle{width:38px;height:38px}
  .header-inner .brand-name{font-size:16px}
  .header-inner .brand-mark{width:34px!important;height:34px!important}
}


.header-inner .brand-name{display:none!important}
.header-inner .brand-mark.has-logo{
  width:min(170px,28vw)!important;
  height:42px!important;
  border-radius:0!important;
  background:transparent!important;
}
.header-inner .brand-mark.has-logo img{width:100%;height:100%;object-fit:contain;display:block}
@media(max-width:600px){
  .header-inner .brand-mark.has-logo{width:min(145px,46vw)!important;height:38px!important}
}
@media(max-width:360px){
  .header-inner .brand-mark.has-logo{width:min(125px,44vw)!important;height:34px!important}
}


.header-brand img,.brand-logo img,.store-logo img{max-width:min(360px,48vw);height:auto;max-height:58px;object-fit:contain}
@media(max-width:600px){.header-brand img,.brand-logo img,.store-logo img{max-width:52vw;max-height:44px}}



@media(max-width:600px){
  .floating-chat{
    bottom:calc(126px + env(safe-area-inset-bottom,0px))!important;
    z-index:120!important;
  }
  .sticky-product-actions{z-index:105!important;}
  .mobile-nav{z-index:110!important;}
}



.location-search-field .location-search-input{margin-bottom:7px;background:#f8faf9;border-style:dashed}
.location-search-field .location-search-input:focus{background:#fff;border-style:solid}
.location-search-hint{display:block;margin-top:5px;color:#7a8580;font-size:11px;line-height:1.45}
.checkout-confirm-btn{background:var(--checkout-confirm,#123b63)!important;color:#fff!important;box-shadow:0 7px 18px rgba(18,59,99,.18)}
.checkout-confirm-btn:hover{filter:brightness(.94)}
.whatsapp-checkout-btn{background:var(--whatsapp-checkout,#25d366)!important}
@media(max-width:600px){.location-search-hint{font-size:10px}.location-search-field .location-search-input{min-height:42px!important}}


.smart-location-field{position:relative}
.smart-location-field:focus-within{z-index:70}
.smart-combobox{position:relative;width:100%}
.smart-combobox-input{
  width:100%;
  padding-right:48px!important;
  cursor:text;
}
.smart-combobox-input::-webkit-search-cancel-button{margin-right:4px}
.smart-combobox-toggle{
  position:absolute;right:1px;top:1px;bottom:1px;width:44px;
  border:0;border-left:1px solid var(--line);border-radius:0 9px 9px 0;
  background:#f6faf8;color:#315144;font-size:22px;font-weight:900;
  display:grid;place-items:center;z-index:2
}
.smart-combobox-toggle:disabled{opacity:.45;cursor:not-allowed}
.smart-combobox-options{
  display:none;position:absolute;left:0;right:0;top:calc(100% + 6px);
  max-height:min(310px,42vh);overflow:auto;overscroll-behavior:contain;
  background:#fff;border:1px solid #cfdad4;border-radius:12px;
  box-shadow:0 16px 36px rgba(16,24,40,.16);z-index:75;padding:5px
}
.smart-combobox-options.show{display:block}
.smart-combobox-option{
  width:100%;min-height:48px;border:0;border-radius:9px;background:#fff;
  padding:8px 10px;display:flex;align-items:center;justify-content:space-between;
  gap:12px;text-align:left;color:var(--ink)
}
.smart-combobox-option:hover,.smart-combobox-option.active{background:var(--brand-soft);color:var(--brand-dark)}
.smart-combobox-option strong{font-size:14px;line-height:1.3}
.smart-combobox-option small{font-size:11px;color:var(--muted);text-align:right}
.smart-combobox-empty{padding:16px 12px;text-align:center;color:var(--muted);font-size:13px}
.location-search-hint{margin-top:5px}
.search-no-result{padding:18px 14px;text-align:center;color:#667085;background:#fff;font-size:13px;line-height:1.5}
.search-suggestions[data-mode="browse"]::before{content:"পণ্য সাজেশন"}

/* Tablet storefront: fewer, larger cards instead of squeezing four across. */
@media(min-width:601px) and (max-width:900px){
  .product-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important}
  .product-img{height:175px!important}
  .product-actions button{min-height:42px}
}
@media(min-width:601px) and (max-width:720px){
  .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}

@media(max-width:600px){
  /* Comfortable bottom navigation: three equal destinations, thumb-friendly. */
  body{padding-bottom:calc(84px + env(safe-area-inset-bottom,0px))!important}
  .mobile-nav{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    height:78px!important;
    padding:4px 8px calc(5px + env(safe-area-inset-bottom,0px))!important;
    gap:4px!important;
    border-top:1px solid #dfe7e2!important;
    box-shadow:0 -8px 24px rgba(16,24,40,.10)!important
  }
  .mobile-nav a,.mobile-nav button{
    min-height:64px!important;padding:6px 4px!important;border-radius:12px!important;
    font-size:25px!important;line-height:1!important;gap:4px!important;
    overflow:visible!important;touch-action:manipulation
  }
  .mobile-nav a.active,.mobile-nav button.active{background:var(--brand-soft)!important;color:var(--brand-dark)!important}
  .mobile-nav span{font-size:12px!important;line-height:1.1!important;font-weight:800!important;margin-top:0!important;overflow:visible!important}
  .mobile-nav b{
    top:4px!important;right:calc(50% - 28px)!important;min-width:20px;height:20px;
    padding:0 5px!important;border-radius:999px!important;font-size:10px!important;
    display:grid;place-items:center
  }
  .floating-chat{bottom:calc(142px + env(safe-area-inset-bottom,0px))!important}
  .sticky-product-actions{bottom:calc(78px + env(safe-area-inset-bottom,0px))!important}

  /* Product cards remain two-per-row, but text and controls are genuinely tappable. */
  .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  .product-card{padding:9px!important;border-radius:14px!important}
  .product-img{height:132px!important;border-radius:11px!important}
  .product-card h3{font-size:13.5px!important;line-height:1.35!important;height:37px!important}
  .listing-short-description{font-size:10.5px!important;min-height:29px!important}
  .product-card .price{font-size:16px!important}
  .product-actions{gap:7px!important;margin-top:9px!important}
  .product-actions button{min-height:42px!important;padding:8px 4px!important;font-size:11px!important;font-weight:850!important}
  .category-chip{min-height:44px;padding:10px 14px;font-size:13px;touch-action:manipulation}

  /* Header/search and suggestion list */
  .header-inner .search input{min-height:48px!important;font-size:16px!important}
  .header-inner .search>button{min-height:48px!important;width:48px!important;flex-basis:48px!important}
  .category-toggle{min-width:42px;min-height:42px}
  .search-suggestions{top:103px!important;left:8px!important;right:8px!important;max-height:min(430px,58dvh)!important}
  .search-suggestions button{min-height:66px!important}

  /* Forms and checkout: avoid tiny controls and iOS zoom. */
  .field input,.field select,.field textarea,
  #checkoutForm .field input,#checkoutForm .field select,#checkoutForm .field textarea{
    min-height:48px!important;font-size:16px!important;border-radius:11px!important
  }
  .smart-combobox-input{padding-right:52px!important}
  .smart-combobox-toggle{width:48px;font-size:23px}
  .smart-combobox-options{max-height:min(320px,44dvh);border-radius:12px;padding:6px}
  .smart-combobox-option{min-height:52px;padding:9px 11px}
  .smart-combobox-option strong{font-size:15px}
  .smart-combobox-option small{font-size:11px}
  .location-search-hint{font-size:11px!important;line-height:1.45}
  .primary,.secondary,.copy-btn,.filter-reset{min-height:44px}
  .checkout-confirm-btn,.whatsapp-checkout-btn{min-height:50px!important;font-size:15px!important}
  .drawer-close,.icon-btn{min-width:42px;min-height:42px}
  .cart-line button,.order-remove{min-height:32px;min-width:44px}

  /* Content never pushes outside the phone viewport. */
  img,video,iframe{max-width:100%}
  .product-page,.checkout-layout,.panel,.track-card,.track-form,.success{min-width:0;max-width:100%}
  .pay-to-box,.row,.track-head{min-width:0}
  .pay-to-box strong,.track-head h2,.confirmation-card strong{overflow-wrap:anywhere}
  footer{padding-bottom:24px}
}

@media(max-width:360px){
  .mobile-nav{height:76px!important;padding-left:4px!important;padding-right:4px!important}
  .mobile-nav a,.mobile-nav button{min-height:62px!important;font-size:23px!important}
  .mobile-nav span{font-size:11px!important}
  body{padding-bottom:calc(82px + env(safe-area-inset-bottom,0px))!important}
  .sticky-product-actions{bottom:calc(76px + env(safe-area-inset-bottom,0px))!important}
  .product-grid{gap:7px!important}
  .product-card{padding:7px!important}
  .product-img{height:112px!important}
  .product-card h3{font-size:12px!important;height:34px!important}
  .product-actions button{font-size:10.5px!important;min-height:44px!important}
  .search-suggestions{left:5px!important;right:5px!important}
}


.category-item.subcategory-item{padding-left:34px;font-size:.94em;background:rgba(15,118,110,.025)}
.category-chip.subcategory-chip{font-size:.92rem;border-style:dashed}
.catalog-pagination{display:flex;align-items:center;justify-content:center;gap:7px;flex-wrap:wrap;margin:24px auto 4px}.catalog-page-btn{min-width:44px;height:44px;border-radius:11px;border:1px solid #d9e2ec;background:#fff;color:#1f2937;font-weight:800;cursor:pointer}.catalog-page-btn:hover,.catalog-page-btn.active{border-color:var(--brand);color:var(--brand);box-shadow:0 0 0 2px color-mix(in srgb,var(--brand) 12%,transparent)}.catalog-page-btn:disabled{opacity:.4;cursor:not-allowed}
.custom-store-page{padding-top:30px;padding-bottom:42px}.custom-page-head{max-width:850px;margin:0 auto 24px;text-align:center}.custom-page-head h1{margin:0 0 10px;font-size:clamp(1.7rem,5vw,2.5rem)}.custom-page-head p{margin:0;color:#64748b;line-height:1.7;white-space:pre-wrap}.custom-page-products{scroll-margin-top:90px}
@media(max-width:600px){.category-item.subcategory-item{padding-left:28px}.category-chip.subcategory-chip{font-size:.86rem}.catalog-pagination{gap:5px;margin-top:18px}.catalog-page-btn{min-width:42px;height:44px;font-size:15px}.custom-store-page{padding-top:18px;padding-left:12px;padding-right:12px}.custom-page-head{text-align:left;margin-bottom:18px}.custom-page-head p{font-size:.95rem}}
\n\n
body.entry-popup-open{overflow:hidden}.site-entry-popup{position:fixed;inset:0;z-index:100000;background:rgba(15,23,42,.68);display:grid;place-items:center;padding:18px;backdrop-filter:blur(3px);animation:popupFade .16s ease}.site-entry-popup.closing{opacity:0;transition:opacity .18s ease}.site-entry-popup-card{position:relative;width:min(620px,100%);max-height:calc(100dvh - 36px);overflow:auto;background:#fff;border-radius:20px;box-shadow:0 26px 90px rgba(0,0,0,.32)}.site-entry-popup-img{display:block;width:100%;max-height:48dvh;object-fit:contain;background:#f8fafc}.site-entry-popup-copy{padding:22px}.site-entry-popup-copy h2{margin:0 44px 10px 0;font-size:clamp(1.25rem,4vw,1.8rem);line-height:1.25}.site-entry-popup-copy p{margin:0 0 18px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65;color:#475569}.site-entry-popup-x{position:absolute;right:10px;top:10px;z-index:2;width:44px;height:44px;border-radius:999px;border:1px solid rgba(148,163,184,.4);background:rgba(255,255,255,.94);color:#0f172a;font-size:29px;line-height:1;display:grid;place-items:center;box-shadow:0 4px 16px rgba(15,23,42,.14)}.site-entry-popup-close{width:100%;min-height:50px;font-size:16px}.site-entry-popup button{touch-action:manipulation}@keyframes popupFade{from{opacity:0}to{opacity:1}}
@media(max-width:600px){.site-entry-popup{padding:10px;align-items:end}.site-entry-popup-card{border-radius:20px 20px 14px 14px;max-height:calc(100dvh - 20px)}.site-entry-popup-img{max-height:40dvh}.site-entry-popup-copy{padding:18px 14px calc(16px + env(safe-area-inset-bottom,0px))}.site-entry-popup-x{right:8px;top:8px}.site-entry-popup-close{min-height:52px}}


.trx-field{padding:11px 12px;border:1px solid #dbe4ee;border-radius:12px;background:#f8fafc}.trx-field small{display:block;margin-top:5px;color:#64748b;line-height:1.5}.payment-pending-success{margin:12px 0;padding:12px 13px;border:1px solid #f0c36a;border-left:5px solid #d97706;border-radius:12px;background:#fff8e8;color:#7c4a03;line-height:1.55}.payment-pending-success b{color:#8a4b00}
@media(max-width:600px){.trx-field{padding:10px}.trx-field input{min-height:48px}.payment-pending-success{font-size:14px}}

.customer-action,.return-progress{margin:16px 0;padding:16px;border:1px solid #cbd5e1;border-radius:12px}
.customer-action label{display:block;margin:12px 0}.customer-action input,.customer-action select,.customer-action textarea{width:100%;min-height:44px;font-size:16px;padding:10px;border:1px solid #cbd5e1;border-radius:8px}
.customer-action button,#customerOrderTools>button{min-height:44px;padding:10px 14px;margin:6px 6px 6px 0;white-space:normal}
.customer-edit-row{display:grid;grid-template-columns:minmax(0,1fr) 80px auto;gap:10px;align-items:center;border-bottom:1px solid #e2e8f0;padding:8px 0}.order-add-choice{display:block;text-align:left;width:100%}#orderAddProducts{max-height:240px;overflow:auto}
@media(max-width:400px){.customer-edit-row{grid-template-columns:minmax(0,1fr) 70px}.customer-edit-row>button{grid-column:1/-1}.track-form{display:flex;flex-direction:column;align-items:stretch}}


.inline-copy-button{min-height:32px!important;padding:5px 9px!important;margin-left:6px;font-size:12px;border-radius:8px;background:#fff;color:#08783e;border:1px solid #86d3ad}.order-change-help,.track-edit-notice,.customer-edit-cta,.payment-correction-alert{display:grid;gap:7px;border:1px solid #9bd8b9;background:#f0fdf6;border-radius:14px;padding:14px;margin:14px 0}.order-change-help a{display:inline-flex;justify-content:center;text-decoration:none}.track-edit-notice{border-left:5px solid #0b8f4d}.track-edit-notice span,.customer-edit-cta span,.payment-correction-alert span{color:#475569;font-size:14px}.customer-order-actions{margin-top:18px;border-top:1px solid #e2e8f0;padding-top:15px}.payment-correction-alert{border-color:#f3a6a6;background:#fff5f5}.payment-correction-form{border-color:#f3a6a6}.live-price-note{color:#475569}.customer-edit-row span small{display:block;color:#64748b;margin-top:4px}.live-edit-quote{position:sticky;bottom:72px;z-index:3;background:#effcf5;border:1px solid #86d3ad;border-radius:12px;padding:11px;margin:10px 0;box-shadow:0 6px 18px #0001}.live-edit-quote p{margin:4px 0}.edit-quote-error{color:#b42318;font-weight:700}
@media(max-width:600px){.success{padding:22px 14px}.confirmation-card{padding:14px}.order-change-help,.track-edit-notice{padding:12px}.track-head{align-items:flex-start}.track-head h2{font-size:18px}.customer-edit-basic{padding:12px}.customer-edit-row{grid-template-columns:minmax(0,1fr) 76px}.customer-edit-row>button{grid-column:1/-1;width:100%}.live-edit-quote{bottom:68px}}
.trx-field[hidden]{display:none!important}


#checkoutOrderItems .checkout-product{display:grid;grid-template-columns:64px minmax(0,1fr);gap:12px;padding:14px;margin:0 0 12px;border:1px solid #e1e8e5;border-radius:14px;background:#fff;min-width:0}
.checkout-product-photo{width:64px;height:64px;display:grid;place-items:center;overflow:hidden;border-radius:10px;background:#f3f6f5;font-size:28px}
.checkout-product-photo img{display:block;width:100%;height:100%;object-fit:contain}
.checkout-product-info{min-width:0}
#checkoutOrderItems .checkout-product-info h3{margin:0;font-size:1rem;font-weight:700;line-height:1.5;overflow-wrap:anywhere;color:#172c23}
.checkout-product-variant{display:inline-block;max-width:100%;margin:5px 0 0;padding:3px 7px;border-radius:6px;background:#edf7f1;color:#26543e;font-size:.875rem;line-height:1.5;overflow-wrap:anywhere}
.checkout-product-pricing{display:flex;flex-wrap:wrap;gap:4px 12px;margin-top:6px;line-height:1.5;overflow-wrap:anywhere}
.checkout-product-pricing span{color:#52645a;font-size:.875rem}
.checkout-product-pricing strong{font-size:1rem;color:#087443}
.checkout-product-actions{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;border-top:1px solid #eef1ef;padding-top:12px}
.checkout-product-qty{display:inline-grid;grid-template-columns:44px minmax(40px,auto) 44px;align-items:center;flex:none;border:1px solid #cbd9d1;border-radius:10px;overflow:hidden;background:#fff}
.checkout-product-qty button{display:grid;place-items:center;min-width:44px;min-height:44px;margin:0;padding:0;border:0;border-radius:0;background:#eef7f1;color:#075f36;font-size:22px;line-height:1;touch-action:manipulation;cursor:pointer}
.checkout-product-qty button:disabled{color:#7a8780;background:#f4f6f5;cursor:default;opacity:.65}
.checkout-product-qty output{padding:0 5px;text-align:center;font-size:1rem;font-weight:700;color:#172c23;font-variant-numeric:tabular-nums}
.checkout-product-remove{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:94px;min-height:46px;padding:8px 10px;margin:0;border:1px solid #f4c8c8;border-radius:10px;background:#fff8f8;color:#ac2525;font-size:.875rem;font-weight:700;line-height:1.5;touch-action:manipulation;cursor:pointer}
.checkout-product-remove svg{flex:none}
.checkout-product-qty button:focus-visible,.checkout-product-remove:focus-visible,#orderToggle:focus-visible{outline:3px solid #148449;outline-offset:2px}
@media(max-width:360px){#checkoutOrderItems .checkout-product{grid-template-columns:52px minmax(0,1fr);gap:10px;padding:10px}.checkout-product-photo{width:52px;height:52px}.checkout-product-actions{gap:8px}}


.fee-choice-card{position:relative;padding-right:42px}
.fee-choice-card.active::before{position:absolute;right:12px;top:10px;flex:0 0 auto}
.smart-combobox-option small{display:block;color:#718096;font-size:11px;margin-top:2px}
.location-status{min-height:18px;color:#64748b;font-size:12px;margin-top:4px}

/* Storefront feature styles */
*,*::before,*::after{box-sizing:border-box}
html,body{max-width:100%;overflow-x:hidden}
.wishlist-header-btn{position:relative;display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid var(--line);border-radius:11px;background:#fff;color:#087443;font-size:24px;flex:0 0 auto}.wishlist-header-btn b{position:absolute;right:-5px;top:-5px;min-width:19px;height:19px;padding:0 5px;border-radius:999px;background:#d92d20;color:#fff;font-size:10px;display:grid;place-items:center}
.wishlist-drawer{position:fixed;right:-430px;top:0;bottom:0;width:min(410px,100vw);z-index:410;background:#fff;box-shadow:-16px 0 50px rgba(15,23,42,.24);transition:right .22s ease;display:flex;flex-direction:column}.wishlist-drawer.open{right:0}.wishlist-items{padding:12px;overflow:auto;display:grid;gap:10px}.wishlist-empty{text-align:center;padding:48px 18px;color:#667085}.wishlist-item{display:grid;grid-template-columns:58px minmax(0,1fr) auto;gap:10px;align-items:center;border:1px solid #e4e7ec;border-radius:14px;padding:10px}.wishlist-item img,.wishlist-item-image{width:58px;height:58px;border-radius:11px;object-fit:cover;background:#f3f6f4;display:grid;place-items:center;font-size:27px}.wishlist-item b,.wishlist-item small{display:block;overflow-wrap:anywhere}.wishlist-item small{color:#667085;margin-top:3px}.wishlist-item-actions{display:grid;gap:5px}.wishlist-item-actions button{min-height:38px;padding:6px 9px;font-size:11px}
.product-sku{display:inline-flex;align-items:center;gap:5px;margin:3px 0 7px;padding:4px 8px;border-radius:999px;background:#f2f4f7;color:#475467;font:700 11px/1.2 Inter,sans-serif;letter-spacing:.03em}.product-detail-tools{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 15px}.product-detail-tools button{min-height:44px;padding:9px 14px;border-radius:11px}.product-detail-tools .wish-active{background:#fff0f3!important;border-color:#f3a3b3!important;color:#c01048!important}
.product-card .product-sku{margin-top:0;font-size:9px}.cart-sku,.checkout-sku{display:block;color:#667085;font-size:10px;margin-top:3px;letter-spacing:.03em}

/* Customer order editor behaves like a small app instead of a long form. */
.customer-edit{position:relative;padding-bottom:92px!important}.customer-edit-head{display:flex;justify-content:space-between;gap:10px;align-items:flex-start;margin-bottom:12px}.customer-edit-head h3{margin:0}.customer-edit-head small{color:#667085}.customer-edit-item{display:grid;grid-template-columns:54px minmax(0,1fr) auto;gap:10px;align-items:center;padding:11px 0;border-bottom:1px solid #e5e9e6}.customer-edit-image{width:54px;height:54px;border-radius:12px;background:#f2f4f3;display:grid;place-items:center;overflow:hidden;font-size:26px}.customer-edit-image img{width:100%;height:100%;object-fit:cover}.customer-edit-info{min-width:0}.customer-edit-info b,.customer-edit-info small{display:block;overflow-wrap:anywhere}.customer-edit-info small{font-size:11px;color:#667085;margin-top:3px}.customer-edit-controls{display:grid;justify-items:end;gap:7px}.customer-edit-stepper{display:grid;grid-template-columns:40px 42px 40px;border:1px solid #cfd8d3;border-radius:11px;overflow:hidden}.customer-edit-stepper button,.customer-edit-stepper output{min-height:40px!important;margin:0!important;border:0!important;border-radius:0!important;display:grid;place-items:center;padding:0!important;background:#f8faf9}.customer-edit-stepper output{background:#fff;border-inline:1px solid #e4e7ec!important;font-weight:800}.customer-edit-remove{min-height:34px!important;margin:0!important;padding:5px 9px!important;background:#fff!important;border:1px solid #f1b4b4!important;color:#b42318!important;font-size:11px}
.customer-add-search{position:relative;margin-top:14px}.customer-add-results{display:grid;gap:8px;max-height:300px;overflow:auto;margin-top:8px}.customer-add-result{width:100%;display:grid!important;grid-template-columns:42px minmax(0,1fr) auto;gap:9px;align-items:center;text-align:left!important;margin:0!important;padding:8px!important;background:#fff!important;color:#17211b!important;border:1px solid #dce4df!important}.customer-add-result img,.customer-add-result-image{width:42px;height:42px;border-radius:9px;object-fit:cover;background:#f2f4f3;display:grid;place-items:center}.customer-add-result span small{display:block;color:#667085;font-size:10px}.customer-edit-sticky{position:sticky;bottom:70px;z-index:8;background:rgba(255,255,255,.96);backdrop-filter:blur(8px);border:1px solid #dce5e0;border-radius:15px;padding:10px;box-shadow:0 -8px 28px rgba(16,24,40,.12);margin-top:14px}.customer-edit-sticky .live-edit-quote{position:static!important;margin:0 0 8px!important;box-shadow:none!important}.customer-edit-sticky-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.customer-edit-sticky-actions button{margin:0!important;min-height:48px!important}.customer-edit-sticky-actions .order-remove{min-width:80px}
.floating-chat.editing-order{opacity:.18;pointer-events:none}

.customer-store-dialog-backdrop{position:fixed;inset:0;z-index:900;display:grid;place-items:center;padding:16px;background:rgba(15,23,42,.58);backdrop-filter:blur(3px)}.customer-store-dialog-backdrop[hidden]{display:none!important}.customer-store-dialog{width:min(430px,100%);background:#fff;border-radius:22px;padding:21px;box-shadow:0 30px 90px rgba(15,23,42,.35)}.customer-store-dialog h2{margin:0 0 7px;font-size:21px}.customer-store-dialog p{margin:0 0 16px;color:#475467;line-height:1.55;white-space:pre-wrap}.store-dialog-actions{display:flex;justify-content:flex-end;gap:8px}.store-dialog-actions button{min-height:46px;min-width:105px}.customer-store-dialog.destructive .store-dialog-confirm{background:#c81e1e!important;border-color:#c81e1e!important}

@media(max-width:720px){.wishlist-header-btn{display:none}.header-inner .wishlist-header-btn{display:none!important}.mobile-nav{grid-template-columns:repeat(4,1fr)!important}.wishlist-drawer{width:100vw}.wishlist-item{grid-template-columns:52px minmax(0,1fr)}.wishlist-item img,.wishlist-item-image{width:52px;height:52px}.wishlist-item-actions{grid-column:1/-1;grid-template-columns:1fr 1fr}.wishlist-item-actions button{min-height:44px}.product-detail-tools{display:grid;grid-template-columns:1fr 1fr}.product-detail-tools button{width:100%}.customer-action.customer-edit{margin-inline:-4px;padding:12px 10px 90px!important}.customer-edit-item{grid-template-columns:48px minmax(0,1fr)}.customer-edit-image{width:48px;height:48px}.customer-edit-controls{grid-column:1/-1;width:100%;display:flex;justify-content:space-between;align-items:center}.customer-edit-stepper{grid-template-columns:44px 48px 44px}.customer-edit-stepper button,.customer-edit-stepper output{min-height:44px!important}.customer-edit-sticky{bottom:76px;margin-inline:-2px}.customer-store-dialog-backdrop{align-items:end;padding:0}.customer-store-dialog{width:100%;border-radius:24px 24px 0 0;padding:20px 18px calc(18px + env(safe-area-inset-bottom))}.store-dialog-actions{display:grid;grid-template-columns:1fr 1fr}.store-dialog-actions button{width:100%;min-width:0}}
@media(max-width:380px){.customer-edit-sticky-actions{grid-template-columns:1fr}.customer-edit-sticky-actions .order-remove{grid-row:2}.product-detail-tools{grid-template-columns:1fr}.store-dialog-actions{grid-template-columns:1fr}.store-dialog-confirm{grid-row:1}}

/* Storefront feature styles */
.product-detail-tools{display:flex!important;gap:6px!important;margin:8px 0 10px!important;flex-wrap:wrap!important}.product-detail-tools button{width:auto!important;min-height:34px!important;padding:6px 10px!important;border-radius:9px!important;font-size:11px!important;line-height:1.1!important}.product-detail-tools button svg{width:14px;height:14px}.product-detail .product-sku{font-size:10px;padding:3px 7px}
@media(max-width:720px){.product-detail-tools{display:flex!important;flex-wrap:nowrap!important}.product-detail-tools button{flex:0 1 auto!important;min-width:0!important}.product-detail-tools button:first-child{max-width:116px}.product-detail-tools button:last-child{max-width:108px}.floating-chat{bottom:155px!important}}

/* Storefront feature styles */
/* Desktop purchase buttons live directly below quantity; mobile keeps its fixed bar. */
.desktop-product-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}.desktop-product-actions button{min-height:48px!important;font-size:15px!important}
@media(max-width:600px){.desktop-product-actions{display:none!important}}

/* Storefront feature styles */
#searchBtn svg{display:block;width:20px;height:20px;margin:auto;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.header-inner .search{flex:0 1 520px!important;max-width:520px!important;min-width:220px;border-radius:12px;box-shadow:0 2px 10px rgba(16,24,40,.06)}
.header-inner .search input{min-height:42px!important;height:42px!important;font-size:14px!important;padding:8px 11px!important;background:#fff!important;border-color:#bccbc3!important}
.header-inner .search>button{min-height:42px!important;height:42px!important;width:42px!important;flex:0 0 42px!important;background:#078f4e!important;color:#fff!important}
.search-suggestions::before{content:"রিলেভেন্ট পণ্য"!important}
@media(max-width:700px){.header-inner .search{min-width:0!important;max-width:none!important;flex:1 1 auto!important}.header-inner .search input{min-height:40px!important;height:40px!important;font-size:13px!important}.header-inner .search>button{min-height:40px!important;height:40px!important;width:40px!important;flex-basis:40px!important}.search-suggestions{top:72px!important}}

/* Storefront feature styles */
.header-search { max-width: 560px; }
.header-search .search-box { min-height: 44px; }

@media (max-width: 600px) {
  .header-search { width: min(100%, 360px); margin-inline: auto; }
  .header-search .search-box { min-height: 40px; }
}

/* Storefront feature styles */
.header-inner .search {
  justify-self: center !important;
  width: min(520px, 100%) !important;
  max-width: 520px !important;
  margin-inline: auto !important;
}

@media (max-width: 600px) {
  .header-inner .search {
    width: min(330px, calc(100vw - 48px)) !important;
    max-width: 330px !important;
  }

  .header-inner .search input {
    min-height: 40px !important;
    height: 40px !important;
    padding: 7px 10px !important;
    font-size: 13px !important;
  }

  .header-inner .search > button {
    min-height: 40px !important;
    height: 40px !important;
    width: 40px !important;
    flex: 0 0 40px !important;
  }

  .search-suggestions {
    width: min(330px, calc(100vw - 32px)) !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%);
  }
}

@media (max-width: 360px) {
  .header-inner .search {
    width: min(300px, calc(100vw - 42px)) !important;
  }

  .search-suggestions {
    width: min(300px, calc(100vw - 24px)) !important;
  }
}

/* The flying item uses its centre point, so both desktop and mobile paths end
 * exactly on the visible cart icon rather than 27px beside it. */
.fly-item-targeted {
  left: 0;
  top: 0;
  transform: translate(-50%, -50%);
  will-change: left, top, transform, opacity;
}

#mobileCart.bump { animation: cartBump .45s ease; }

/* Storefront feature styles */
/* Desktop uses one clean row. The search is anchored to the viewport centre;
 * left/right control widths can no longer push it off-centre. */
@media (min-width: 901px) {
  .header-inner {
    position: relative;
    display: flex !important;
    align-items: center;
    min-height: 68px;
    padding-top: 8px;
    padding-bottom: 8px;
    gap: 10px !important;
  }

  .header-inner .search {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: min(42vw, 520px) !important;
    max-width: 520px !important;
    margin: 0 !important;
  }

  .header-inner .track-header-btn { margin-left: auto; }
  .header-inner .wishlist-header-btn { display: grid !important; }
}


@media (min-width: 721px) and (max-width: 900px) {
  .header-inner .wishlist-header-btn { display: none !important; }
}

/* Suggestions belong to the search control, not to a fixed screen coordinate.
 * Anchoring them below the input prevents the panel from covering the text
 * field when the sticky header's height changes. */
@media (max-width: 600px) {
  .header-inner .search { position: relative; }

  .header-inner .search .search-suggestions {
    position: absolute !important;
    top: calc(100% + 6px) !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    transform: none !important;
    max-height: min(286px, calc(100dvh - 150px)) !important;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
}

/* v179 code-free storefront behavior */
.announcement.pause-on-hover:hover .ticker-track{animation-play-state:paused}
@media(max-width:700px){.announcement.hide-mobile{display:none!important}html[data-product-card-compact-mobile="1"] .product-card .listing-short-description,html[data-product-card-compact-mobile="1"] .product-card .product-sku{display:none!important}}
@media(min-width:701px){html[data-product-card-compact-desktop="1"] .product-card .listing-short-description,html[data-product-card-compact-desktop="1"] .product-card .product-sku{display:none!important}}


/* v183 mobile touch hardening: preserve visuals while meeting practical 44px tap targets. */
@media(max-width:700px){
  .header-inner .brand{min-width:44px!important;min-height:44px!important;display:flex!important;align-items:center;justify-content:center}
  footer a,footer button,.footer-grid a{min-height:44px;display:inline-flex;align-items:center;padding-top:8px;padding-bottom:8px}
  .inline-copy-button{min-height:44px!important;padding:8px 10px!important}
}

/* v205 — customer live courier progress */
.public-courier-progress-v205{margin-top:14px}
.public-courier-progress-rail-v205{position:relative;padding:30px 0 6px}
.public-courier-progress-line-v205{position:absolute;left:7%;right:7%;top:19px;height:5px;border-radius:999px;background:#e8ecea;overflow:hidden}
.public-courier-progress-line-v205>i{display:block;width:var(--courier-progress,0%);height:100%;border-radius:999px;background:var(--brand);transition:width .25s ease}
.public-courier-truck-v205{position:absolute;top:-3px;left:var(--courier-truck,7%);transform:translateX(-50%);font-size:24px;line-height:1;transition:left .25s ease;filter:drop-shadow(0 2px 2px rgba(0,0,0,.12))}
.public-courier-steps-v205{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));position:relative;z-index:1}
.public-courier-step-v205{text-align:center}
.public-courier-step-v205 i{display:grid;place-items:center;width:24px;height:24px;margin:0 auto 7px;border:2px solid #cfd8d3;border-radius:50%;background:#fff;color:var(--muted);font-size:11px;font-style:normal;font-weight:800}
.public-courier-step-v205.done i{background:var(--brand);border-color:var(--brand);color:#fff}
.public-courier-step-v205.current i{box-shadow:0 0 0 4px rgba(7,133,72,.12)}
.public-courier-step-v205 span{display:block;font-size:11px;line-height:1.25;color:var(--muted)}
.public-courier-step-v205.done span{font-weight:700;color:var(--text)}
.public-courier-alert-v205{margin:10px 0;padding:9px 11px;border-radius:10px;background:#fff4ed;color:#b54708;font-weight:700;font-size:13px}
.track-courier-events.v205{margin-top:16px}
.track-courier-event.latest:before{box-shadow:0 0 0 3px rgba(7,133,72,.12)}
@media(max-width:620px){
  .public-courier-progress-rail-v205{overflow-x:auto;padding-top:22px}
  .public-courier-steps-v205{min-width:520px}
  .public-courier-progress-line-v205{left:36px;right:36px;min-width:448px}
  .public-courier-truck-v205{display:none}
}

/* Customer mobile CSS hotfix — mobile only (<=480px).
   Keeps tablet/desktop behavior unchanged while fixing five storefront pain points. */
@media (max-width:480px){
  /* 1) Order Tracking: replace the horizontal courier rail with a vertical timeline. */
  .public-courier-progress-rail-v205{
    overflow:visible!important;
    padding:4px 0 4px 0!important;
  }
  .public-courier-steps-v205{
    min-width:0!important;
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:8px!important;
  }
  .public-courier-step-v205{
    min-height:48px!important;
    display:grid!important;
    grid-template-columns:32px minmax(0,1fr)!important;
    align-items:center!important;
    gap:10px!important;
    text-align:left!important;
  }
  .public-courier-step-v205 i{
    position:relative!important;
    z-index:2!important;
    width:24px!important;
    height:24px!important;
    margin:0!important;
  }
  .public-courier-step-v205 span{
    font-size:13px!important;
    line-height:1.35!important;
  }
  .public-courier-progress-line-v205{
    left:10px!important;
    right:auto!important;
    top:16px!important;
    bottom:16px!important;
    width:4px!important;
    height:auto!important;
    min-width:0!important;
  }
  .public-courier-progress-line-v205>i{
    width:100%!important;
    height:var(--courier-progress,0%)!important;
  }
  .public-courier-truck-v205{display:none!important}

  /* 2) Product Detail: utility/purchase actions wrap and stay thumb-friendly. */
  .product-detail-tools{
    display:flex!important;
    flex-wrap:wrap!important;
    gap:8px!important;
  }
  .product-detail-tools button{
    flex:1 1 calc(50% - 8px)!important;
    width:auto!important;
    max-width:none!important;
    min-width:0!important;
    min-height:44px!important;
    padding:9px 10px!important;
    font-size:13px!important;
    line-height:1.2!important;
  }
  .sticky-product-actions button{min-height:44px!important}

  /* 3) Catalog filters: one control per row on phones; no squeezed two-column form. */
  .catalog-toolbar{
    grid-template-columns:1fr!important;
    gap:10px!important;
  }
  .catalog-toolbar .filter-reset{grid-column:auto!important}
  .catalog-toolbar select,
  .catalog-toolbar input,
  .catalog-toolbar .filter-reset{
    min-height:44px!important;
    font-size:16px!important;
    padding:10px 12px!important;
  }

  /* 4) Header search: never shrink below a 44px mobile touch target. */
  .header-inner .search input{
    min-height:44px!important;
    height:44px!important;
  }
  .header-inner .search>button{
    min-height:44px!important;
    height:44px!important;
    width:44px!important;
    flex-basis:44px!important;
  }

  /* 5) Product cards: both card actions meet the 44px minimum touch target. */
  .product-actions button{min-height:44px!important}
}

/* Customer mobile polish — CSS only, phones <=480px.
   Desktop/tablet remain unchanged. */
@media (max-width:480px){
  :root{--mobile-touch-target:44px}

  /* Checkout delivery selector: restore the compact two-choice mobile layout. */
  #checkoutForm .delivery-methods{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;
  }
  #checkoutForm .delivery-method{
    width:auto!important;
    min-width:0!important;
    min-height:48px!important;
    padding:10px 36px 10px 10px!important;
    font-size:13px!important;
    line-height:1.25!important;
    justify-content:center!important;
    text-align:center!important;
  }

  /* 2) Category strip: show all chips by wrapping instead of horizontal scrolling. */
  .category-strip{
    display:flex!important;
    flex-wrap:wrap!important;
    overflow:visible!important;
    gap:8px!important;
    padding:2px 0 6px!important;
    scrollbar-width:none;
  }
  .category-strip::-webkit-scrollbar{display:none}
  .category-chip{
    flex:0 1 auto!important;
    min-width:0!important;
    min-height:var(--mobile-touch-target)!important;
    white-space:normal!important;
    text-align:center!important;
    justify-content:center!important;
  }

  /* 3) Banner controls: thumb-friendly 44px arrows without changing the desktop banner. */
  .banner-arrow{
    width:var(--mobile-touch-target)!important;
    height:var(--mobile-touch-target)!important;
    min-width:var(--mobile-touch-target)!important;
    min-height:var(--mobile-touch-target)!important;
  }

  /* Keep banner dots visually small while their tap area becomes 44x44. */
  .banner-dots{gap:0!important;padding:0 2px!important;align-items:center!important}
  .banner-dots button{
    position:relative!important;
    width:var(--mobile-touch-target)!important;
    height:var(--mobile-touch-target)!important;
    min-width:var(--mobile-touch-target)!important;
    min-height:var(--mobile-touch-target)!important;
    padding:0!important;
    background:transparent!important;
  }
  .banner-dots button::after{
    content:"";
    position:absolute;
    left:50%;top:50%;
    width:8px;height:8px;
    transform:translate(-50%,-50%);
    border-radius:999px;
    background:#ffffff8c;
  }
  .banner-dots button.active::after{width:23px;background:#fff}

  /* 4) Admin-configured/custom media: fluid width with predictable mobile ratios. */
  .custom-store-page img,
  .custom-page-content img,
  .policy-page-content img,
  .site-entry-popup-copy img,
  .custom-store-page picture,
  .custom-page-content picture,
  .policy-page-content picture{
    max-width:100%!important;
    height:auto!important;
  }
  .custom-store-page video,
  .custom-page-content video,
  .policy-page-content video{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    height:auto!important;
    aspect-ratio:16/9;
    object-fit:contain;
  }
  .custom-store-page iframe,
  .custom-page-content iframe,
  .policy-page-content iframe,
  .custom-store-page embed,
  .custom-page-content embed,
  .policy-page-content embed,
  .custom-store-page object,
  .custom-page-content object,
  .policy-page-content object{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    height:auto!important;
    aspect-ratio:16/9;
    border:0;
  }

  /* 5) Shared phone touch target baseline. Visual-only micro controls are handled above. */
  button:not(.banner-dots button),
  [role="button"],
  input:not([type="hidden"]):not([type="radio"]):not([type="checkbox"]),
  select,
  textarea,
  .primary,
  .secondary,
  .filter-reset,
  .category-chip,
  .mobile-nav a,
  .drawer-extra-menu>a,
  .drawer-extra-menu>button,
  .footer-column>a,
  .footer-column>button,
  .floating-contact-item{
    min-height:var(--mobile-touch-target)!important;
  }

  /* Compact quantity/copy controls also become comfortable finger targets. */
  .checkout-qty button,
  .qty-stepper button,
  .copy-btn,
  .inline-copy-button{
    min-width:var(--mobile-touch-target)!important;
    min-height:var(--mobile-touch-target)!important;
  }
}


/* v230: canonical mobile product-card layout. Keep this final mobile safeguard after legacy storefront rules. */
@media(max-width:600px){
  #products .product-grid,.custom-page-products .product-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;
  }
  #products .product-card,.custom-page-products .product-card{
    min-width:0!important;
    padding:9px!important;
    border-radius:14px!important;
  }
  #products .product-img,.custom-page-products .product-img{
    width:100%!important;
    height:auto!important;
    aspect-ratio:1/1!important;
    min-height:0!important;
    border-radius:11px!important;
    font-size:46px!important;
  }
  #products .product-category,.custom-page-products .product-category{
    font-size:11px!important;
    line-height:1.3!important;
  }
  #products .product-card h3,.custom-page-products .product-card h3{
    margin:5px 0 6px!important;
    height:auto!important;
    min-height:38px!important;
    max-height:40px!important;
    font-size:14px!important;
    line-height:1.4!important;
    overflow:hidden!important;
  }
  #products .product-card .price,.custom-page-products .product-card .price{
    font-size:16px!important;
    line-height:1.25!important;
  }
  #products .old-price,.custom-page-products .old-price{
    display:inline!important;
    font-size:11px!important;
  }
  #products .stock-ok,.custom-page-products .stock-ok{
    font-size:12px!important;
    line-height:1.35!important;
    margin:5px 0 7px!important;
  }
  #products .product-actions,.custom-page-products .product-actions{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:7px!important;
    margin-top:9px!important;
  }
  #products .product-actions button,.custom-page-products .product-actions button{
    width:100%!important;
    min-width:0!important;
    min-height:44px!important;
    padding:8px 5px!important;
    border-radius:9px!important;
    font-size:11px!important;
    line-height:1.2!important;
  }
}
@media(max-width:340px){
  #products .product-grid,.custom-page-products .product-grid{gap:7px!important}
  #products .product-card,.custom-page-products .product-card{padding:7px!important}
  #products .product-card h3,.custom-page-products .product-card h3{font-size:13px!important;min-height:37px!important}
  #products .product-actions button,.custom-page-products .product-actions button{font-size:10.5px!important;min-height:44px!important}
}

/* v231: dedicated category catalog pages. Category navigation now replaces the
   homepage content, matching the focused product-details navigation model. */
.category-catalog-page{padding-top:26px;padding-bottom:48px}
.category-page-back{margin-bottom:18px}
.category-page-head{display:flex;align-items:center;gap:14px;margin:0 0 24px;padding:18px 20px;border:1px solid #e2e8e5;border-radius:16px;background:#fff;box-shadow:0 8px 24px rgba(16,36,27,.045)}
.category-page-icon{width:56px;height:56px;flex:0 0 56px;display:grid;place-items:center;border-radius:14px;background:var(--brand-soft);font-size:28px}
.category-page-head small{display:block;margin-bottom:2px;color:var(--brand);font-size:12px;font-weight:850;letter-spacing:.02em}
.category-page-head h1{margin:0;font-size:clamp(1.55rem,4vw,2.15rem);line-height:1.2;color:var(--ink)}
.category-page-head p{margin:5px 0 0;color:var(--muted);font-size:14px}
.category-page-products{scroll-margin-top:88px}
@media(max-width:600px){
  .category-catalog-page{padding:16px 12px 34px!important}
  .category-page-back{margin-bottom:12px}
  .category-page-head{gap:11px;margin-bottom:16px;padding:13px 14px;border-radius:14px}
  .category-page-icon{width:46px;height:46px;flex-basis:46px;border-radius:12px;font-size:23px}
  .category-page-head h1{font-size:1.35rem}
  .category-page-head p{font-size:13px}
  .category-page-products .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
}
