/* Ponnopanda Store — storefront additions on top of the landing-page CSS.
   Theme: white / light grey, primary orange #F85606, charcoal text.
   Green is reserved for trust / success / COD only. */
:root{ --pp-orange:#F85606; --pp-orange-dark:#D94805; --pp-charcoal:#22252A; }
body{ background:#F6F6F4; padding-bottom:0; }
a{ color:var(--pp-orange); }

/* ---------- announcement bar ---------- */
.announce-bar{ background:var(--pp-orange); color:#fff; text-align:center; font-weight:700; font-size:14.5px; padding:8px 12px; }
/* (fixed15: the old mobile "short line" is gone — on phones the
   scrolling ticker IS the announce bar, carrying the full text.) */

/* ---------- header ---------- */
.store-header{ background:#fff; position:sticky; top:0; z-index:60; box-shadow:0 2px 12px rgba(0,0,0,.08); }
.header-in{ display:flex; align-items:center; gap:14px; padding:10px 16px; flex-wrap:wrap; }
.header-logo{ display:flex; align-items:center; gap:10px; text-decoration:none; }
.header-logo img{ border-radius:12px; }
.header-brand{ font-size:26px; font-weight:800; color:var(--pp-charcoal); letter-spacing:-.5px; }
.header-brand span{ color:var(--pp-orange); }
.header-search{ flex:1; display:flex; min-width:180px; }
.header-search input{ flex:1; border:2px solid #E7E2D8; border-right:none; border-radius:999px 0 0 999px; padding:10px 16px; font-size:15px; font-family:inherit; outline:none; background:#FAFAF8; }
.header-search input:focus{ border-color:var(--pp-orange); background:#fff; }
.header-search button{ border:2px solid var(--pp-orange); background:var(--pp-orange); color:#fff; border-radius:0 999px 999px 0; padding:0 16px; font-size:16px; }
.header-icons{ display:flex; gap:6px; margin-left:auto; }
/* Mobile-first header: full wordmark on row 1 (never clipped), search on its
   own full-width row below, header icons reduced to language toggle +
   account + cart. Wishlist lives in the bottom nav and the account menu, so
   nothing is duplicated between header and bottom nav. */
@media(max-width:819px){
  .header-in{ gap:8px 10px; padding:10px 14px 8px; }
  .header-logo{ flex-shrink:0; }
  .header-logo img{ width:38px; height:38px; }
  .header-brand{ font-size:22px; white-space:nowrap; }
  .header-search{ order:3; flex:1 1 100%; min-width:0; }
  .header-icons{ gap:2px; }
  .header-icons .hdr-wish{ display:none; }
  .header-icons .hdr-icon small{ display:none; }
  .header-icons .hdr-icon{ padding:6px; }
  /* Announcement bar (fixed15): ONE scrolling bar on phones — the
     ticker scrolls (it was hidden here since fixed7, so nothing
     scrolled and the owner's message was cut with "…" in the static
     bar). The static custom bar is hidden on phones because its text
     now leads the ticker in full; the dead short line is gone. */
  .announce-custom{ display:none; }
  .announce-bar .ticker{ display:block; }
  .ticker-custom{ display:inline; }
}
.hdr-icon{ position:relative; display:flex; flex-direction:column; align-items:center; text-decoration:none; color:var(--pp-charcoal); font-size:19px; padding:4px 8px; border-radius:10px; }
.hdr-icon small{ font-size:11px; font-weight:600; }
.hdr-icon:hover{ background:#FFF1E8; }
.count-badge{ position:absolute; top:-2px; right:0; background:var(--pp-orange); color:#fff; font-size:11px; font-weight:800; min-width:18px; height:18px; border-radius:999px; display:inline-flex; align-items:center; justify-content:center; padding:0 4px; }
.cat-bar{ background:var(--pp-charcoal); }
/* The bar scrolls horizontally and always holds more links than fit —
   a fade at the right edge (fixed14 mobile, fixed15 all widths) makes
   a partially visible last item ("Storage & Organization") read as
   "scroll for more" instead of looking cut off. The item stays
   reachable by scrolling; scroll-padding keeps it clear of the edge. */
.cat-bar-in{ display:flex; align-items:center; gap:4px; padding:0 16px; padding-right:22px; overflow-x:auto; scrollbar-width:none; -webkit-overflow-scrolling:touch; -webkit-mask-image:linear-gradient(90deg, #000 88%, transparent); mask-image:linear-gradient(90deg, #000 88%, transparent); scroll-padding-right:22px; }
.cat-bar-in::-webkit-scrollbar{ display:none; }
.cat-drop-btn{ background:var(--pp-orange); color:#fff; border:none; font-weight:800; font-size:15px; padding:10px 16px; border-radius:0; white-space:nowrap; }
.cat-dropdown{ position:relative; }
/* Fixed, not absolute (fixed7): the menu lives inside the horizontally
   scrolling .cat-bar-in, and overflow-x:auto clips any absolutely
   positioned child — the dropdown opened but was invisible, so the
   button looked dead. Fixed positioning escapes the scroll container;
   JS sets top/left from the button's position when it opens. */
.cat-drop-menu{ position:fixed; left:0; top:0; background:#fff; min-width:230px; max-width:calc(100vw - 16px); box-shadow:0 14px 30px rgba(0,0,0,.2); border-radius:0 0 12px 12px; z-index:70; overflow:hidden; }
.cat-drop-menu a{ display:block; padding:12px 16px; color:var(--pp-charcoal); text-decoration:none; font-weight:600; border-top:1px solid #F0EDE6; }
.cat-drop-menu a:hover{ background:#FFF1E8; color:var(--pp-orange); }
.cat-link{ color:#fff; text-decoration:none; font-weight:600; font-size:14.5px; padding:10px 12px; white-space:nowrap; }
.cat-link:hover{ color:#FFD9C7; }
.cat-track{ margin-left:auto; color:#FFD9C7; }

/* ---------- hero ---------- */
.hero-store{ background:#fff; border-radius:20px; box-shadow:0 10px 30px rgba(0,0,0,.06); overflow:hidden; margin:18px auto 0; max-width:1080px; }
.hero-store-in{ display:grid; gap:0; }
@media(min-width:820px){ .hero-store-in{ grid-template-columns:1.1fr 1fr; } }
.hero-copy{ padding:28px 24px; display:flex; flex-direction:column; justify-content:center; gap:12px; }
.hero-copy .eyebrow{ color:var(--pp-orange); font-weight:800; letter-spacing:1px; font-size:13px; text-transform:uppercase; }
.hero-copy h1{ font-size:clamp(26px,6vw,40px); color:var(--pp-charcoal); }
.hero-copy p{ color:#54655E; margin:0; }
.hero-price{ font-size:22px; font-weight:800; color:var(--pp-charcoal); }
.hero-price s{ color:#9AA5A0; font-weight:600; font-size:17px; margin-left:8px; }
.hero-price .save-chip{ background:#E7F6EC; color:#0C5B43; font-size:14px; padding:4px 10px; border-radius:999px; margin-left:8px; }
.hero-photo img{ width:100%; height:100%; object-fit:cover; }
.trust-row{ display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin-top:6px; }
@media(min-width:640px){ .trust-row{ grid-template-columns:repeat(3,1fr); } }
.trust-item{ background:#F6F6F4; border-radius:12px; padding:12px 10px; text-align:center; font-size:13.5px; font-weight:700; color:var(--pp-charcoal); }
.trust-item span{ display:block; font-size:22px; }
.btn-shop-now{ display:inline-block; background:var(--pp-orange); color:#fff; font-weight:800; font-size:17px; padding:13px 28px; border-radius:999px; text-decoration:none; text-align:center; box-shadow:0 8px 20px rgba(248,86,6,.35); }
.btn-shop-now:hover{ background:var(--pp-orange-dark); }

/* ---------- category tiles ---------- */
.cat-tiles{ display:grid; grid-template-columns:repeat(2,1fr); gap:14px; }
@media(min-width:760px){ .cat-tiles{ grid-template-columns:repeat(3,1fr); } }
.cat-tile{ background:#fff; border-radius:16px; box-shadow:0 8px 22px rgba(0,0,0,.06); overflow:hidden; text-decoration:none; color:var(--pp-charcoal); }
.cat-tile img{ width:100%; aspect-ratio:16/10; object-fit:cover; }
.cat-tile span{ display:block; padding:12px 14px; font-weight:800; font-size:16px; text-align:center; }
.cat-tile-count{ display:block; text-align:center; padding:0 14px 12px; font-size:13px; color:#54655E; font-weight:600; }

/* ---------- product cards ---------- */
.store-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:14px; }
@media(min-width:760px){ .store-grid{ grid-template-columns:repeat(3,1fr); } }
@media(min-width:1020px){ .store-grid{ grid-template-columns:repeat(4,1fr); } }
.store-card{ background:#fff; border-radius:16px; overflow:hidden; box-shadow:0 8px 22px rgba(0,0,0,.06); border:1px solid #EFEAE0; display:flex; flex-direction:column; }
.store-card-img{ position:relative; display:block; }
.store-card-img img{ width:100%; aspect-ratio:1/1; object-fit:cover; }
.card-badges{ position:absolute; top:10px; left:10px; display:flex; flex-direction:column; gap:6px; align-items:flex-start; }
.badge-disc{ background:var(--pp-orange); color:#fff; font-weight:800; font-size:13px; padding:3px 9px; border-radius:999px; }
.badge-new{ background:#1877F2; color:#fff; font-weight:800; font-size:12px; padding:3px 9px; border-radius:999px; }
.badge-hot{ background:#D63A0C; color:#fff; font-weight:800; font-size:12px; padding:3px 9px; border-radius:999px; }
.wish-btn{ position:absolute; top:10px; right:10px; width:38px; height:38px; border-radius:50%; background:#fff; border:none; box-shadow:0 4px 12px rgba(0,0,0,.18); display:flex; align-items:center; justify-content:center; }
.wish-btn.active svg{ fill:#F85606; }
.store-card-body{ padding:14px; display:flex; flex-direction:column; gap:8px; flex:1; }
.store-card-body h3{ font-size:16.5px; }
.store-card-body h3 a{ color:var(--pp-charcoal); text-decoration:none; }
.stars{ color:#F2A007; font-size:14px; }
.stars-count{ color:#54655E; font-size:13px; }
.variant-pills{ display:flex; gap:6px; flex-wrap:wrap; }
.variant-pill{ border:1.5px solid var(--pp-orange); color:var(--pp-orange); border-radius:999px; padding:3px 10px; font-size:13px; font-weight:700; }
.price-row{ display:flex; align-items:baseline; gap:8px; }
.price-now{ font-size:20px; font-weight:800; color:var(--pp-orange); }
.price-was{ color:#9AA5A0; text-decoration:line-through; font-size:15px; }
.stock-line{ color:#0C5B43; font-size:13.5px; font-weight:700; margin:0; }
.card-actions{ display:flex; gap:8px; margin-top:auto; }
.card-form{ flex:1; display:flex; }
.btn-order-sm{ flex:1; padding:11px 8px; font-size:15px; }
.btn-order{ background:linear-gradient(92deg,#FF8A00 0%,var(--pp-orange) 45%,#D63A0C 100%); }
.btn-cart{ flex:1; background:#fff; border:2px solid var(--pp-orange); color:var(--pp-orange); border-radius:14px; font-weight:800; font-size:14.5px; padding:10px 6px; }
.btn-cart:disabled, .btn-order:disabled{ opacity:.45; cursor:not-allowed; }

/* ---------- gift banner ---------- */
.gift-banner{ background:linear-gradient(92deg,#FFF3E4,#FFE7D1); border:2px dashed #F2A007; border-radius:16px; padding:18px; display:flex; gap:16px; align-items:center; flex-wrap:wrap; margin-top:26px; }
.gift-banner img{ width:110px; border-radius:12px; }
.gift-banner h3{ color:var(--pp-charcoal); }

/* ---------- footer ---------- */
.store-footer{ background:var(--pp-charcoal); color:#D8DEE3; margin-top:56px; padding-top:40px; }
.footer-grid{ display:grid; gap:28px; padding-bottom:30px; }
@media(min-width:820px){ .footer-grid{ grid-template-columns:1.4fr 1fr 1fr 1.3fr; } }
/* Footer / contact map card (fixed7): the Google Maps iframe rendered a
   broken image on phones, so the map is a static address card + a button
   that opens Google Maps instead. */
.footer-map-card{ background:#2B2F36; border-radius:12px; padding:14px; font-size:14px; }
.btn-map{ display:inline-block; background:var(--pp-orange); color:#fff; font-weight:800; font-size:14.5px; padding:10px 16px; border-radius:999px; text-decoration:none; }
.store-footer h4{ color:#fff; margin-bottom:12px; font-size:16px; }
.store-footer a{ color:#D8DEE3; text-decoration:none; display:block; margin-bottom:8px; }
.store-footer a:hover{ color:#FFD9C7; }
.store-footer .f-brand{ color:#fff; }
.social-row{ display:flex; gap:8px; flex-wrap:wrap; margin-top:12px; }
.social-row a{ background:#33383F; color:#fff; padding:7px 12px; border-radius:999px; font-size:13.5px; font-weight:700; margin:0; }
.pay-logos{ display:flex; gap:8px; align-items:center; flex-wrap:wrap; }
.pay-logos img{ height:30px; width:auto; border-radius:6px; background:#fff; padding:2px 6px; }
.pay-chip{ font-weight:800; font-size:13px; padding:6px 10px; border-radius:6px; color:#fff; }
.pay-chip.rocket{ background:#8C3494; }
.pay-chip.upay{ background:#EE4023; }
.pay-chip.cod{ background:#0C5B43; }
.secure-line{ color:#7BC98F; font-weight:700; font-size:14px; }
.footer-track{ display:flex; margin-top:12px; }
.footer-track input{ flex:1; border:none; border-radius:999px 0 0 999px; padding:10px 14px; font-family:inherit; }
.footer-track button{ border:none; background:var(--pp-orange); color:#fff; font-weight:800; border-radius:0 999px 999px 0; padding:0 16px; }
.footer-bottom{ border-top:1px solid #33383F; padding:14px 0 90px; }
.footer-bottom-in{ display:flex; justify-content:space-between; align-items:center; gap:12px; flex-wrap:wrap; font-size:14px; }
.back-top{ background:#33383F; color:#fff; border:1px solid #4A5058; border-radius:999px; padding:8px 16px; font-weight:700; }
@media(min-width:820px){ .footer-bottom{ padding-bottom:16px; } }

/* ---------- bottom mobile nav ---------- */
.bottom-nav{ position:fixed; left:0; right:0; bottom:0; z-index:65; background:#fff; display:flex; box-shadow:0 -2px 14px rgba(0,0,0,.12); padding-bottom:env(safe-area-inset-bottom); }
.bottom-nav a{ flex:1; display:flex; flex-direction:column; align-items:center; text-decoration:none; color:var(--pp-charcoal); font-size:19px; padding:7px 0 5px; position:relative; }
.bottom-nav a small{ font-size:11px; font-weight:700; }
.bottom-nav a.active{ color:var(--pp-orange); }
.bottom-nav .count-badge{ top:2px; right:calc(50% - 24px); }
@media(min-width:820px){ .bottom-nav{ display:none; } body{ padding-bottom:0; } }
@media(max-width:819px){ body{ padding-bottom:64px; } }

/* ---------- shop / product pages ---------- */
.page-head{ margin:22px 0 16px; }
.page-head h1{ font-size:26px; color:var(--pp-charcoal); }
.shop-tools{ display:flex; gap:10px; align-items:center; flex-wrap:wrap; margin-bottom:16px; }
.shop-tools .crumb{ color:#54655E; font-size:14.5px; }
.empty-state{ background:#fff; border-radius:16px; padding:34px 20px; text-align:center; box-shadow:0 8px 22px rgba(0,0,0,.05); }
.product-page{ display:grid; gap:22px; margin-top:18px; }
@media(min-width:880px){ .product-page{ grid-template-columns:1fr 1fr; } }
.gallery-main{ background:#fff; border-radius:16px; overflow:hidden; box-shadow:0 8px 22px rgba(0,0,0,.06); }
.gallery-main img{ width:100%; aspect-ratio:1/1; object-fit:cover; }
.gallery-thumbs{ display:flex; gap:8px; margin-top:10px; flex-wrap:wrap; }
.gallery-thumbs button{ border:2px solid transparent; border-radius:10px; padding:0; overflow:hidden; background:#fff; width:72px; height:72px; }
.gallery-thumbs button.active{ border-color:var(--pp-orange); }
.gallery-thumbs img{ width:100%; height:100%; object-fit:cover; }
.gallery-cap{ text-align:center; color:#54655E; font-size:14px; margin-top:8px; }
.product-info{ background:#fff; border-radius:16px; padding:22px; box-shadow:0 8px 22px rgba(0,0,0,.06); }
.product-info h1{ font-size:24px; color:var(--pp-charcoal); }
.info-list{ margin:16px 0; }
.info-list li{ margin-bottom:8px; }
.spec-grid{ display:grid; gap:12px; margin:18px 0; }
.spec-card{ background:#F6F6F4; border-radius:12px; padding:14px; }
.spec-card h3{ font-size:16px; margin-bottom:6px; }
.spec-card ul{ margin:0; padding-left:20px; }
.spec-card li{ font-size:14.5px; margin-bottom:4px; }
.gift-line{ background:#FFF3E4; border:1.5px dashed #F2A007; border-radius:12px; padding:12px 14px; font-weight:700; color:#7A4A00; }
.qty-row{ display:flex; align-items:center; gap:10px; }
.qty-btn{ width:40px; height:40px; border-radius:10px; border:2px solid #E7E2D8; background:#fff; font-size:20px; font-weight:800; }
.qty-val{ font-size:19px; font-weight:800; min-width:28px; text-align:center; }

/* ---------- cart / checkout ---------- */
.cart-table{ width:100%; border-collapse:collapse; background:#fff; border-radius:16px; overflow:hidden; box-shadow:0 8px 22px rgba(0,0,0,.06); }
.cart-table th, .cart-table td{ padding:12px; text-align:left; border-bottom:1px solid #F0EDE6; vertical-align:middle; }
.cart-thumb{ width:64px; height:64px; object-fit:cover; border-radius:10px; }
.summary-card{ background:#fff; border-radius:16px; padding:20px; box-shadow:0 8px 22px rgba(0,0,0,.06); }
.summary-row{ display:flex; justify-content:space-between; padding:7px 0; border-bottom:1px dashed #E7E2D8; }
.summary-row.grand{ font-size:20px; font-weight:800; border-bottom:none; color:var(--pp-charcoal); }
.summary-row .disc{ color:#0C5B43; font-weight:700; }
.coupon-row{ display:flex; gap:8px; margin:12px 0; }
.coupon-row input{ flex:1; border:2px solid #E7E2D8; border-radius:10px; padding:10px 12px; font-family:inherit; }
.coupon-row button{ background:var(--pp-charcoal); color:#fff; border:none; border-radius:10px; padding:0 18px; font-weight:800; }
.coupon-ok{ color:#0C5B43; font-weight:700; }
.coupon-err{ color:#D63A0C; font-weight:700; }
.checkout-grid{ display:grid; gap:20px; margin-top:18px; }
@media(min-width:880px){ .checkout-grid{ grid-template-columns:1.5fr 1fr; align-items:start; } }
.pay-panel{ display:none; background:#FFF7F0; border:1.5px solid #FFE0CC; border-radius:12px; padding:14px; margin-top:10px; }
.pay-panel.show{ display:block; }
.pay-panel h4{ margin-bottom:8px; }
.pay-panel ol{ margin:0; padding-left:20px; }
.pay-panel li{ margin-bottom:6px; font-size:14.5px; }

/* ---------- track / account ---------- */
.track-hero{ background:linear-gradient(135deg,#1F2937,#374151); color:#fff; border-radius:18px; padding:26px 22px; margin-top:18px; }
.track-hero h1{ color:#fff; }
.track-hero p{ color:#D8DEE3; }
.track-card{ background:#fff; border-radius:16px; padding:22px; box-shadow:0 8px 22px rgba(0,0,0,.06); margin-top:16px; }
.status-steps{ display:flex; gap:0; margin:18px 0; flex-wrap:wrap; }
.status-step{ flex:1; min-width:90px; text-align:center; position:relative; padding-top:26px; font-size:13px; font-weight:700; color:#9AA5A0; }
.status-step::before{ content:""; position:absolute; top:8px; left:50%; transform:translateX(-50%); width:18px; height:18px; border-radius:50%; background:#E7E2D8; border:3px solid #fff; box-shadow:0 0 0 2px #E7E2D8; }
.status-step::after{ content:""; position:absolute; top:16px; left:calc(-50% + 12px); right:calc(50% + 12px); height:3px; background:#E7E2D8; }
.status-step:first-child::after{ display:none; }
.status-step.done{ color:#0C5B43; }
.status-step.done::before{ background:#0C5B43; box-shadow:0 0 0 2px #0C5B43; }
.status-step.done::after{ background:#0C5B43; }
.status-step.current{ color:var(--pp-orange); }
.status-step.current::before{ background:var(--pp-orange); box-shadow:0 0 0 2px var(--pp-orange); }
.status-pill{ display:inline-block; padding:4px 12px; border-radius:999px; font-weight:800; font-size:13.5px; }
.status-New{ background:#FFF3E4; color:#8A4B00; }
.status-Pending{ background:#EAF2FE; color:#175CD3; }
.status-Shipped{ background:#F3E8FF; color:#6941C6; }
.status-Delivered{ background:#E7F6EC; color:#0C5B43; }
.status-Returned{ background:#FEE4E2; color:#B42318; }
.status-Cancelled{ background:#F2F4F7; color:#475467; }
.alert{ border-radius:12px; padding:12px 14px; font-weight:700; margin:12px 0; }
.alert-err{ background:#FEE4E2; color:#B42318; }
.alert-ok{ background:#E7F6EC; color:#0C5B43; }
.alert-info{ background:#EAF2FE; color:#175CD3; }
.order-list{ display:flex; flex-direction:column; gap:12px; }
.order-row{ background:#fff; border-radius:14px; padding:14px 16px; box-shadow:0 6px 18px rgba(0,0,0,.05); display:flex; justify-content:space-between; gap:10px; flex-wrap:wrap; align-items:center; }
.hp-field{ position:absolute; left:-9999px; top:-9999px; height:1px; overflow:hidden; }
.err{ color:#D63A0C; font-weight:700; font-size:14px; display:none; }
.field.invalid .err{ display:block; }
.field.invalid input, .field.invalid textarea{ border-color:#D63A0C; }

/* ---------- announcement ticker ---------- */
.announce-bar{ overflow:hidden; padding:0; }
.ticker{ overflow:hidden; white-space:nowrap; }
/* The owner's own announcement text leads the ticker (fixed15) but
   only on phones, where the static custom bar is hidden — on desktop
   it stays in its own bar, so the ticker item stays hidden there. */
.ticker-custom{ display:none; }
.ticker-track{ display:inline-block; padding:8px 0; animation:ticker-scroll 55s linear infinite; }
.ticker-track span{ margin:0 10px; }
@keyframes ticker-scroll{ from{ transform:translateX(0); } to{ transform:translateX(-50%); } }

/* ---------- header dropdown ---------- */
.hdr-dropdown{ position:relative; }
.hdr-drop-menu{ position:absolute; right:0; top:calc(100% + 6px); background:#fff; min-width:210px; box-shadow:0 14px 30px rgba(0,0,0,.2); border-radius:12px; z-index:70; overflow:hidden; }
.hdr-drop-menu a{ display:block; padding:11px 16px; color:var(--pp-charcoal); text-decoration:none; font-weight:600; border-top:1px solid #F0EDE6; }
.hdr-drop-menu a:hover{ background:#FFF1E8; color:var(--pp-orange); }
.cat-help{ background:none; border:none; cursor:pointer; font-family:inherit; }

/* ---------- hero carousel ---------- */
.hero-carousel{ position:relative; margin:18px auto 0; max-width:1080px; }
.hero-slide{ display:none; }
.hero-slide.active{ display:block; }
.hero-dots{ display:flex; gap:8px; justify-content:center; margin-top:12px; }
.hero-dots button{ width:12px; height:12px; border-radius:50%; border:none; background:#D8D2C6; padding:0; }
.hero-dots button.active{ background:var(--pp-orange); }
.hero-arrow{ position:absolute; top:42%; z-index:5; width:40px; height:40px; border-radius:50%; border:none; background:rgba(255,255,255,.9); box-shadow:0 4px 14px rgba(0,0,0,.2); font-size:18px; }
.hero-arrow.prev{ left:10px; } .hero-arrow.next{ right:10px; }
.hero-slide .hero-photo img{ border-radius:0 20px 20px 0; }
@media(max-width:819px){ .hero-slide .hero-photo img{ border-radius:0 0 20px 20px; } }

/* ---------- shop by need / deals / testimonials / newsletter ---------- */
.need-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }
@media(max-width:640px){ .need-grid{ grid-template-columns:1fr; } }
.need-card{ background:#fff; border-radius:16px; padding:20px; text-align:center; box-shadow:0 8px 22px rgba(0,0,0,.06); text-decoration:none; color:var(--pp-charcoal); }
.need-card span{ font-size:34px; display:block; }
.need-card h3{ margin:8px 0 4px; font-size:17px; }
.need-card p{ margin:0; color:#54655E; font-size:14.5px; }
.deals-head{ display:flex; align-items:baseline; gap:10px; justify-content:center; flex-wrap:wrap; }
.deals-head .deals-tag{ background:var(--pp-orange); color:#fff; font-weight:800; font-size:13px; padding:4px 12px; border-radius:999px; }
.testi-grid{ display:grid; gap:14px; }
@media(min-width:760px){ .testi-grid{ grid-template-columns:repeat(3,1fr); } }
.testi-card{ background:#fff; border-radius:16px; padding:18px; box-shadow:0 8px 22px rgba(0,0,0,.06); }
.testi-card .v-badge{ display:inline-block; background:#E7F6EC; color:#0C5B43; font-size:12.5px; font-weight:800; padding:3px 9px; border-radius:999px; margin-top:8px; }
.newsletter-box{ background:var(--pp-charcoal); color:#fff; border-radius:20px; padding:28px 22px; text-align:center; margin-top:34px; }
.newsletter-box h2{ color:#fff; }
.newsletter-box p{ color:#D8DEE3; }
.newsletter-form{ display:flex; gap:8px; max-width:480px; margin:16px auto 0; }
.newsletter-form input{ flex:1; border:none; border-radius:999px; padding:12px 18px; font-family:inherit; font-size:15px; }
.newsletter-form button{ border:none; background:var(--pp-orange); color:#fff; font-weight:800; border-radius:999px; padding:0 22px; }
.newsletter-msg{ font-weight:700; margin-top:10px; }

/* ---------- shop: filters, sort, grid toggle ---------- */
.shop-layout{ display:grid; gap:20px; margin-top:16px; }
@media(min-width:880px){ .shop-layout{ grid-template-columns:230px 1fr; align-items:start; } }
.filter-card{ background:#fff; border-radius:16px; padding:18px; box-shadow:0 8px 22px rgba(0,0,0,.06); }
.filter-card h3{ font-size:16px; margin-bottom:12px; }
.filter-card h4{ font-size:14.5px; margin:16px 0 8px; }
.filter-card label{ display:block; font-size:14.5px; margin-bottom:6px; }
.filter-card input[type="number"]{ width:100%; border:1.5px solid #E7E2D8; border-radius:8px; padding:8px 10px; font-family:inherit; }
.filter-card input[type="range"]{ width:100%; accent-color:var(--pp-orange); }
.bracket-btn{ display:block; width:100%; text-align:left; background:#F6F6F4; border:1px solid #E7E2D8; border-radius:10px; padding:9px 12px; margin-bottom:6px; font-family:inherit; font-size:14.5px; font-weight:600; }
.bracket-btn.active{ background:#FFF1E8; border-color:var(--pp-orange); color:var(--pp-orange); }
.shop-toolbar{ display:flex; gap:10px; align-items:center; flex-wrap:wrap; margin-bottom:14px; }
.shop-toolbar select{ border:1.5px solid #E7E2D8; border-radius:10px; padding:9px 12px; font-family:inherit; background:#fff; }
.grid-toggle{ margin-left:auto; display:flex; gap:6px; }
.grid-toggle button, .grid-toggle a.grid-btn{ border:1.5px solid #E7E2D8; background:#fff; border-radius:8px; padding:8px 12px; font-weight:700; text-decoration:none; color:var(--pp-charcoal); display:inline-block; }
.grid-toggle button.active, .grid-toggle a.grid-btn.active{ border-color:var(--pp-orange); color:var(--pp-orange); }
.store-grid.cols-3{ grid-template-columns:repeat(2,1fr); }
@media(min-width:760px){ .store-grid.cols-3{ grid-template-columns:repeat(3,1fr); } }
.store-grid.cols-4{ grid-template-columns:repeat(2,1fr); }
@media(min-width:760px){ .store-grid.cols-4{ grid-template-columns:repeat(3,1fr); } }
@media(min-width:1020px){ .store-grid.cols-4{ grid-template-columns:repeat(4,1fr); } }
.cat-pills{ display:flex; gap:8px; flex-wrap:wrap; margin-bottom:14px; }
.cat-pills a{ background:#fff; border:1.5px solid #E7E2D8; border-radius:999px; padding:7px 14px; text-decoration:none; color:var(--pp-charcoal); font-weight:700; font-size:14px; }
.cat-pills a.active{ background:var(--pp-orange); border-color:var(--pp-orange); color:#fff; }
.see-more{ text-align:center; margin:22px 0; }
.breadcrumb{ color:#54655E; font-size:14px; margin:16px 0 0; }
.breadcrumb a{ color:#54655E; text-decoration:none; }
.breadcrumb a:hover{ color:var(--pp-orange); }

/* ---------- product page extras ---------- */
.stock-badge-in{ position:absolute; left:10px; bottom:10px; background:#0C5B43; color:#fff; font-size:12.5px; font-weight:800; padding:3px 10px; border-radius:999px; }
.stock-badge-out{ position:absolute; left:10px; bottom:10px; background:#B42318; color:#fff; font-size:12.5px; font-weight:800; padding:3px 10px; border-radius:999px; }
.price-table{ width:100%; border-collapse:collapse; margin:14px 0; font-size:15px; }
.price-table td{ padding:8px 0; border-bottom:1px dashed #E7E2D8; }
.price-table td:last-child{ text-align:right; font-weight:800; }
.coupon-box{ background:#FFF7F0; border:1.5px dashed #F2A007; border-radius:12px; padding:12px 14px; font-size:14.5px; margin:12px 0; }
.live-subtotal{ font-weight:800; font-size:17px; margin-top:10px; }
.share-row{ display:flex; gap:8px; margin-top:12px; flex-wrap:wrap; }
.share-row .btn-cart{ flex:none; padding:10px 16px; }
.wa-order-btn{ display:inline-block; background:#25D366; color:#fff; font-weight:800; padding:12px 20px; border-radius:14px; text-decoration:none; }
.hotline-line{ margin-top:12px; font-weight:700; }
.tabs{ display:flex; gap:4px; border-bottom:2px solid #E7E2D8; margin-top:26px; flex-wrap:wrap; }
.tabs button{ background:none; border:none; padding:12px 18px; font-family:inherit; font-weight:800; font-size:15.5px; color:#54655E; border-bottom:3px solid transparent; margin-bottom:-2px; }
.tabs button.active{ color:var(--pp-orange); border-bottom-color:var(--pp-orange); }
.tab-panel{ padding:20px 4px; }
.review-form{ background:#fff; border-radius:16px; padding:20px; box-shadow:0 8px 22px rgba(0,0,0,.06); margin-top:18px; }
.review-form .stars-input{ display:flex; gap:4px; font-size:26px; }
.review-form .stars-input button{ background:none; border:none; color:#D8D2C6; padding:0 2px; }
.review-form .stars-input button.on{ color:#F2A007; }
.review-item{ background:#fff; border-radius:14px; padding:16px; box-shadow:0 6px 18px rgba(0,0,0,.05); margin-bottom:12px; }
.faq details{ background:#fff; border-radius:12px; padding:14px 16px; margin-bottom:10px; box-shadow:0 6px 18px rgba(0,0,0,.05); }
.faq summary{ font-weight:800; cursor:pointer; font-size:16px; color:var(--pp-charcoal); }
.faq .ans{ margin-top:8px; color:#333; }

/* ---------- lightbox ---------- */
.lightbox{ position:fixed; inset:0; z-index:90; background:rgba(0,0,0,.85); display:flex; align-items:center; justify-content:center; padding:20px; }
.lightbox img{ max-width:100%; max-height:90vh; border-radius:12px; }
.lightbox button{ position:absolute; top:16px; right:16px; width:44px; height:44px; border-radius:50%; border:none; background:#fff; font-size:20px; }

/* ---------- cart drawer ---------- */
.drawer-overlay{ position:fixed; inset:0; z-index:80; background:rgba(0,0,0,.45); }
.cart-drawer{ position:fixed; top:0; right:0; bottom:0; z-index:81; width:min(380px, 92vw); background:#fff; box-shadow:-10px 0 40px rgba(0,0,0,.25); display:flex; flex-direction:column; }
.drawer-head{ display:flex; justify-content:space-between; align-items:center; padding:16px; border-bottom:1px solid #F0EDE6; }
.drawer-head button{ background:none; border:none; font-size:18px; }
.drawer-body{ flex:1; overflow-y:auto; padding:14px 16px; }
.drawer-item{ display:flex; gap:10px; margin-bottom:14px; align-items:center; }
.drawer-item img{ width:56px; height:56px; object-fit:cover; border-radius:10px; }
.drawer-foot{ border-top:1px solid #F0EDE6; padding:16px; }
/* fixed21: drawer select bar + per-item delete + qty stepper; cart page
   bulk bar + checkboxes; checkout per-line rows. */
.drawer-select-bar{ display:flex; align-items:center; justify-content:space-between; gap:10px; padding:2px 0 12px; border-bottom:1px solid #F0EDE6; margin-bottom:12px; }
.drawer-select-bar label{ display:flex; align-items:center; gap:6px; font-size:14px; font-weight:600; }
.drawer-del-btn{ background:#D63A0C; color:#fff; border:0; border-radius:8px; padding:8px 10px; font-size:13px; font-weight:700; }
.drawer-del-btn:disabled{ opacity:.45; }
.drawer-remove{ background:none; border:0; font-size:18px; padding:6px; cursor:pointer; flex:none; }
.drawer-qty{ display:inline-flex; align-items:center; gap:6px; margin-top:4px; }
.drawer-qty button{ width:26px; height:26px; border:1px solid #E7E2D8; background:#fff; border-radius:7px; font-size:16px; line-height:1; font-weight:700; }
.drawer-qty span{ min-width:18px; text-align:center; font-weight:700; }
.cart-bulk-bar{ display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:12px; }
.cart-bulk-bar label{ display:flex; align-items:center; gap:6px; font-size:14px; font-weight:600; }
.cart-select, .drawer-select{ width:18px; height:18px; accent-color:#F85606; flex:none; }
.co-line{ display:flex; align-items:center; gap:10px; padding:10px 0; border-bottom:1px solid #F0EDE6; }
.co-line-info{ flex:1; min-width:0; }
.co-line .qty-row{ margin:0; }
.co-line .qty-btn{ width:34px; height:34px; font-size:18px; }

/* ---------- modals / promo ---------- */
.modal-overlay{ position:fixed; inset:0; z-index:85; background:rgba(0,0,0,.55); display:flex; align-items:center; justify-content:center; padding:16px; }
.modal-card{ background:#fff; border-radius:18px; max-width:460px; width:100%; max-height:88vh; overflow-y:auto; }
.modal-head{ display:flex; justify-content:space-between; align-items:center; padding:16px 18px; border-bottom:1px solid #F0EDE6; }
.modal-head button{ background:none; border:none; font-size:18px; }
.modal-body{ padding:18px; }
.modal-body p{ margin:0 0 12px; }
.promo-card{ text-align:center; padding:0 0 22px; position:relative; }
.promo-card img{ width:100%; border-radius:18px 18px 0 0; max-height:280px; object-fit:cover; }
.promo-card h3{ margin:16px 0 6px; font-size:22px; }
.promo-card p{ padding:0 20px; }
.promo-close{ position:absolute; top:10px; right:10px; width:36px; height:36px; border-radius:50%; border:none; background:rgba(255,255,255,.9); font-size:16px; z-index:2; }
.promo-note{ color:#54655E; font-size:13.5px; }

/* ---------- auth / blog / contact ---------- */
.auth-card{ max-width:460px; margin:24px auto 0; }
.blog-grid{ display:grid; gap:16px; }
@media(min-width:760px){ .blog-grid{ grid-template-columns:1fr 1fr; } }
.blog-card{ background:#fff; border-radius:16px; overflow:hidden; box-shadow:0 8px 22px rgba(0,0,0,.06); }
.blog-card img{ width:100%; aspect-ratio:16/9; object-fit:cover; }
.blog-card .blog-body{ padding:18px; }
.blog-card h3{ font-size:19px; }
.blog-card h3 a{ color:var(--pp-charcoal); text-decoration:none; }
.blog-article{ background:#fff; border-radius:16px; padding:24px; box-shadow:0 8px 22px rgba(0,0,0,.06); margin-top:18px; }
.copy-btn{ background:#F6F6F4; border:1.5px solid #E7E2D8; border-radius:8px; padding:6px 12px; font-weight:700; font-size:13.5px; margin-left:8px; }
.send-money-box{ background:#FFFBEF; border:1.5px solid #E4D9BE; border-radius:12px; padding:14px; margin-top:10px; }
.send-money-box .pay-num{ font-size:19px; }

/* ---------- smart search suggestions ---------- */
.header-search{ position:relative; }
.search-suggest{ position:absolute; left:0; right:0; top:calc(100% + 6px); background:#fff; border-radius:12px; box-shadow:0 14px 30px rgba(0,0,0,.2); z-index:70; overflow:hidden; }
.suggest-item{ display:flex; gap:10px; align-items:center; padding:10px 12px; text-decoration:none; color:var(--pp-charcoal); border-top:1px solid #F0EDE6; }
.suggest-item:first-child{ border-top:none; }
.suggest-item:hover{ background:#FFF1E8; }
.suggest-item img{ width:44px; height:44px; object-fit:cover; border-radius:8px; }
.suggest-item span b{ display:block; font-size:14.5px; }
.suggest-item span small{ color:#54655E; }
.suggest-all{ display:block; padding:10px 12px; background:#FFF7F0; font-weight:700; color:var(--pp-orange); text-decoration:none; text-align:center; }

/* ---------- Google sign-in / verification / coupons ---------- */
.btn-google{ display:flex; align-items:center; justify-content:center; gap:10px; width:100%; background:#fff; border:1.5px solid #E7E2D8; border-radius:12px; padding:12px; font-weight:800; color:#1C1B1A; text-decoration:none; }
.btn-google:hover{ border-color:#4285F4; }
.g-logo{ display:inline-flex; width:22px; height:22px; border-radius:50%; background:#4285F4; color:#fff; align-items:center; justify-content:center; font-weight:800; }
.verify-row{ display:flex; gap:10px; align-items:center; flex-wrap:wrap; padding:12px 0; border-bottom:1px solid #F0EDE6; }
.verify-form{ display:flex; gap:8px; flex-wrap:wrap; align-items:center; }
.verify-form input[type=text], .verify-form input[type=tel]{ border:1.5px solid #E7E2D8; border-radius:10px; padding:9px 12px; font-family:inherit; }
.coupon-line{ padding:12px 0; border-bottom:1px solid #F0EDE6; display:flex; gap:8px; align-items:center; flex-wrap:wrap; }

/* ---------- live order tracking timeline ---------- */
.track-steps{ display:flex; gap:6px; flex-wrap:wrap; margin:14px 0; }
.track-step{ flex:1; min-width:110px; background:#F6F6F4; border-radius:10px; padding:10px; text-align:center; font-size:14px; font-weight:700; color:#54655E; }
.track-step.done{ background:#E7F6EC; color:#0C5B43; }
.track-dot{ display:block; font-size:18px; margin-bottom:2px; }

/* ---------- AI chat widget ---------- */
/* One floating button only — the AI chat. It sits just above the mobile
   bottom nav (64px), so it never covers the Buy Now / checkout buttons. */
.ai-chat-fab{ position:fixed; right:16px; bottom:88px; z-index:66; width:56px; height:56px; border-radius:50%; border:none; background:var(--pp-orange); color:#fff; font-size:26px; box-shadow:0 10px 26px rgba(248,86,6,.45); cursor:pointer; }
.ai-chat-fab:hover{ background:var(--pp-orange-dark); }
.ai-chat-panel{ position:fixed; right:16px; bottom:156px; z-index:67; width:min(360px, calc(100vw - 32px)); height:480px; max-height:calc(100vh - 180px); background:#fff; border-radius:18px; box-shadow:0 20px 50px rgba(0,0,0,.3); overflow:hidden; display:flex; flex-direction:column; }
.ai-chat-panel[hidden]{ display:none; }
@media(max-width:819px){ .ai-chat-fab{ bottom:76px; } .ai-chat-panel{ bottom:140px; } }
.ai-chat-head{ background:var(--pp-orange); color:#fff; font-weight:800; font-size:16.5px; padding:13px 16px; display:flex; justify-content:space-between; align-items:center; flex-shrink:0; }
.ai-chat-head button{ background:none; border:none; color:#fff; font-size:18px; cursor:pointer; }
.ai-chat-msgs{ flex:1; overflow-y:auto; padding:14px; display:flex; flex-direction:column; gap:10px; }
.ai-chat-msg, .ai-msg{ max-width:85%; padding:10px 13px; border-radius:14px; font-size:14.5px; line-height:1.5; overflow-wrap:break-word; }
.ai-chat-msg.user{ align-self:flex-end; background:#FFE7D6; color:var(--pp-charcoal); border-bottom-right-radius:4px; }
.ai-chat-msg.assistant, .ai-msg.ai{ align-self:flex-start; background:#F1F1EF; color:var(--pp-charcoal); border-bottom-left-radius:4px; }
.ai-msg p, .ai-chat-msg p{ margin:0 0 6px; }
.ai-msg p:last-child, .ai-chat-msg p:last-child{ margin-bottom:0; }
.ai-chat-support a{ display:block; margin-top:6px; font-weight:700; text-decoration:none; }
.ai-chat-chips{ display:flex; flex-wrap:wrap; gap:6px; padding:0 14px 10px; flex-shrink:0; }
.ai-chat-chips button, .ai-chat-chip{ background:#FFF1E8; border:1.5px solid #FFE0CC; color:var(--pp-orange); border-radius:999px; padding:6px 12px; font-family:inherit; font-size:13.5px; font-weight:700; cursor:pointer; }
.ai-chat-chips button:hover, .ai-chat-chip:hover{ background:#FFE0CC; }
.ai-chat-input{ display:flex; gap:8px; padding:10px 14px 14px; flex-shrink:0; border-top:1px solid #F0EDE6; }
.ai-chat-input input{ flex:1; border:1.5px solid #E7E2D8; border-radius:999px; padding:10px 14px; font-family:inherit; font-size:15px; outline:none; min-width:0; }
.ai-chat-input input:focus{ border-color:var(--pp-orange); }
.ai-chat-input button{ border:none; background:var(--pp-orange); color:#fff; font-weight:800; border-radius:999px; padding:0 18px; font-family:inherit; font-size:15px; cursor:pointer; }
.ai-chat-input button:disabled{ opacity:.5; cursor:not-allowed; }
.ai-chat-input .ai-chat-attach{ background:none; color:var(--pp-charcoal); font-size:20px; padding:0 4px; }
.ai-chat-photo-preview{ display:flex; align-items:center; gap:8px; padding:10px 14px 0; flex-shrink:0; }
.ai-chat-photo-preview[hidden]{ display:none; }
.ai-chat-photo-preview img{ max-height:72px; max-width:120px; border-radius:10px; border:1px solid #E7E2D8; }
.ai-chat-photo-preview button{ background:#F1F1EF; border:none; border-radius:50%; width:26px; height:26px; font-size:13px; cursor:pointer; }
.ai-chat-photo-thumb{ display:block; max-width:180px; max-height:140px; border-radius:10px; margin-bottom:6px; }
.ai-chat-product-link{ display:block; margin-top:6px; font-weight:700; color:var(--pp-orange); }

/* ---------- combo chips (product page) ---------- */
.combo-chips{ display:flex; flex-wrap:wrap; gap:8px; align-items:center; margin:12px 0; font-size:14.5px; }
.combo-chip{ background:#FFF1E8; border:1.5px solid #FFE0CC; color:var(--pp-orange); border-radius:999px; padding:5px 12px; text-decoration:none; font-weight:700; font-size:13.5px; cursor:pointer; font-family:inherit; }
.combo-chip:hover{ background:#FFE0CC; }

/* [hidden] must always win — .lightbox/.cart-drawer/.modal-overlay set
   display:flex, which used to override the browser default for [hidden].
   (Deploy fix, 2026-12-03: hidden drawers/overlays stayed visible.) */
[hidden]{display:none!important;}

/* Language toggle (BN | EN) — header + admin top bar. */
.lang-toggle{display:inline-flex;gap:2px;align-items:center;background:#F6F6F4;border:1.5px solid #E7E2D8;border-radius:999px;padding:3px;font-size:13px;font-weight:800}
.lang-toggle a{color:#54655E;text-decoration:none;padding:4px 10px;border-radius:999px;line-height:1.2}
.lang-toggle a.active{background:#F85606;color:#fff}
.lang-toggle a:hover{color:#1C1B1A}
.lang-toggle a.active:hover{color:#fff}

/* ---------- fixed5 new components (scopes 1–19): one clean design
   system — premium, generous spacing, same orange + radius + type as
   the rest of the store. Mobile-first, no clutter. ---------- */

/* Offer banners (scope 11): prominent strip at the top of the homepage. */
.offer-banners{display:flex; flex-direction:column; gap:12px; margin:18px 0 4px}
.offer-banner{display:flex; align-items:center; gap:14px; background:linear-gradient(135deg, #F85606, #FF7A2E); color:#fff; border-radius:16px; padding:16px 18px; text-decoration:none; box-shadow:0 6px 18px rgba(248,86,6,.22)}
.offer-banner img{width:72px; height:72px; object-fit:cover; border-radius:12px; flex:none}
.offer-banner-text{flex:1; min-width:0}
.offer-banner-text b{display:block; font-size:18px; font-weight:800; line-height:1.25}
.offer-banner-text small{display:block; font-size:14px; opacity:.92; margin-top:3px}
.offer-banner-arrow{font-size:28px; font-weight:800; flex:none}

/* Offers section + coupon cards (scope 9). */
.offers-grid{display:grid; grid-template-columns:repeat(auto-fill, minmax(240px, 1fr)); gap:14px; margin-top:16px}
.offer-card{background:#fff; border:1.5px dashed #F85606; border-radius:16px; padding:16px}
.offer-code-row{display:flex; align-items:center; justify-content:space-between; gap:10px}
.offer-code-row code{font-size:18px; font-weight:800; color:#F85606; background:#FFF1E8; padding:6px 12px; border-radius:8px; letter-spacing:1px}
.offer-desc{margin:10px 0 4px; font-weight:700}
.offer-covered{color:#54655E; font-size:13.5px; margin:0 0 4px}
.offer-expiry{color:#8A5A00; font-size:13px; font-weight:700}
.offer-collect{margin-top:10px}
.offer-copy{flex:none}

/* Coupon chips on the product page (scope 9). */
.prod-coupons{display:flex; flex-wrap:wrap; gap:8px; margin:10px 0}
.coupon-chip{display:inline-flex; align-items:center; gap:6px; background:#FFF1E8; border:1.5px dashed #F85606; color:#1C1B1A; border-radius:999px; padding:7px 12px; font-size:14px; font-weight:700}
.coupon-chip-copy, .coupon-chip-collect{background:#F85606; color:#fff; border:0; border-radius:999px; padding:5px 11px; font-size:13px; font-weight:800; cursor:pointer; text-decoration:none}

/* NEW5 entry popup (scope 1): small bottom card, never blocks the page. */
.new5-popup{position:fixed; right:16px; bottom:92px; z-index:60; width:min(330px, calc(100vw - 32px)); background:#fff; border-radius:18px; box-shadow:0 12px 36px rgba(0,0,0,.22); padding:18px; border:1.5px solid #FFE0CC}
.new5-close{position:absolute; top:8px; right:10px; background:none; border:0; font-size:18px; cursor:pointer; color:#54655E}
.new5-badge{font-size:16px; font-weight:800; color:#F85606}
.new5-text{margin:8px 0 12px; font-size:14.5px; line-height:1.5}
.new5-code-row{display:flex; align-items:center; gap:10px; margin-bottom:12px}
.new5-code-row code{font-size:20px; font-weight:800; letter-spacing:2px; background:#FFF1E8; color:#F85606; padding:8px 14px; border-radius:10px}
.new5-signup{display:block; text-align:center; text-decoration:none; padding:12px}
.new5-note{color:#54655E; font-size:12.5px; margin:8px 0 0; text-align:center}

/* Free-delivery progress bar (scope 13) — cart drawer + checkout. */
.free-del-bar{margin:0 0 12px}
.free-del-bar-text{font-size:13.5px; font-weight:700; color:#0C5B43; margin-bottom:6px}
.free-del-bar-track{height:8px; background:#EDEBE6; border-radius:999px; overflow:hidden}
.free-del-bar-fill{height:100%; background:#F85606; border-radius:999px; transition:width .3s ease}
.free-del-hint{color:#0C5B43; font-weight:700; font-size:14px; margin:6px 0 0}
.max-disc-note{color:#8A5A00; font-weight:700; font-size:14px; margin:6px 0 0}
.max-order-warn{color:#D63A0C; font-weight:800; font-size:14.5px; margin:8px 0 0; background:#FDECEA; border-radius:10px; padding:10px 12px}
.phone-repeat-msg{color:#D63A0C; font-weight:700; font-size:14px; margin:6px 0 0}

/* Sold count (scope 13) + product-page sold line. */
.card-sold{color:#54655E; font-size:13px; font-weight:600; margin-top:2px}
.prod-sold{color:#54655E; font-size:14.5px; font-weight:700; margin:8px 0 0}

/* Delivery checker + bundle widget (scope 14). */
.del-checker{background:#fff; border:1.5px solid #E7E2D8; border-radius:16px; padding:18px}
.del-checker h3{margin:0 0 12px}
.del-checker-row{display:flex; gap:10px; flex-wrap:wrap}
.del-checker-row select{flex:1; min-width:180px; padding:11px 12px; border:1.5px solid #E7E2D8; border-radius:10px; font-size:15px}
.del-checker-result{font-weight:800; color:#0C5B43; margin:10px 0 0}
.bundle-widget{display:flex; align-items:center; justify-content:space-between; gap:14px; background:#fff; border:1.5px solid #E7E2D8; border-radius:16px; padding:16px; margin-bottom:12px; flex-wrap:wrap}
.bundle-widget-items{color:#54655E; font-size:14px; margin:6px 0}
.bundle-widget-price{margin:0; font-weight:800}

/* Eligible coupons at checkout (scope 9) + built-in human check (scope 20). */
.eligible-coupons{margin:12px 0}
.eligible-coupons-title{font-weight:800; font-size:14px; margin:0 0 8px}
.eligible-coupon{display:block; width:100%; text-align:left; background:#FFF1E8; border:1.5px dashed #F85606; border-radius:12px; padding:10px 12px; margin-bottom:8px; cursor:pointer; font-size:14px}
.human-check{margin:12px 0; padding:12px; border:1px solid #E6E0D8; border-radius:12px; background:#FFF9F2}
.human-check label{display:block; font-weight:600; margin-bottom:6px}
.human-check input{width:110px; padding:10px; border:1px solid #CBD5CF; border-radius:8px; font-size:16px}
.hp-field{position:absolute; left:-9999px; top:auto; width:1px; height:1px; overflow:hidden}
.cancel-form{margin-top:14px}
.cancel-form label{display:block; font-weight:700; font-size:14px; margin-bottom:6px}
.cancel-form select{width:100%; padding:11px 12px; border:1.5px solid #E7E2D8; border-radius:10px; font-size:15px; margin-bottom:10px}
.cancel-btn{width:100%}
@media (max-width:560px){
  .offer-banner{padding:14px}
  .offer-banner img{width:56px; height:56px}
  .new5-popup{bottom:84px}
}

/* ---------- fixed14 — mobile layout (owner's phone screenshot, 2026-12-03) ----------
   The success page's action buttons had NO styles at all (.success-card,
   .success-icon, .order-no, .success-actions were unstyled markup), so the
   buttons flowed inline and overflowed the phone viewport; the 21-digit
   order number could not wrap; checkout payment options (.radio-chip) were
   unstyled browser radios with no brand logos; the cart table overflowed;
   and the tall sticky header covered content while scrolling. */

/* Success card — previously unstyled plain content on grey. */
.success-card{ background:#fff; border-radius:18px; box-shadow:0 8px 22px rgba(0,0,0,.06); max-width:560px; margin:24px auto; padding:28px 22px; text-align:center; }
.success-icon{ width:72px; height:72px; margin:0 auto 14px; border-radius:50%; background:#E7F6EC; border:2px solid #7BC98F; color:#0C5B43; display:flex; align-items:center; justify-content:center; font-size:34px; font-weight:800; }
.success-card h1{ font-size:24px; color:var(--pp-charcoal); }
.success-card p{ color:#54655E; margin:10px 0; overflow-wrap:break-word; }
/* The order number is 21 digits — it must wrap, never overflow the card. */
.order-no{ display:inline-block; max-width:100%; background:#FFF4EC; border:1.5px solid #FFD9C7; border-radius:12px; padding:10px 16px; font-size:clamp(15px, 4.4vw, 22px); font-weight:800; color:var(--pp-charcoal); letter-spacing:.5px; overflow-wrap:anywhere; word-break:break-all; margin:6px 0 4px; }

/* Success / track action buttons — a real flex row on desktop, stacked
   full-width on phones. Never side-by-side, never clipped, never
   overlapping at 360–430px. */
.success-actions{ display:flex; flex-wrap:wrap; gap:10px; justify-content:center; margin-top:20px; }
.success-actions .btn-shop-now, .success-actions .btn-cart{ flex:1 1 160px; min-height:48px; display:inline-flex; align-items:center; justify-content:center; padding:12px 18px; }
/* The track page's Reorder is a <form> (inline style display:inline —
   flex items are blockified, so it still joins the row); size it like a
   button and let its button fill it. */
.success-actions form{ flex:1 1 160px; min-width:0; }
.success-actions form .btn-cart{ width:100%; }
@media (max-width:560px){
  .success-actions{ flex-direction:column; align-items:stretch; }
  .success-actions .btn-shop-now, .success-actions .btn-cart, .success-actions form{ flex:none; width:100%; }
}

/* Checkout payment options — previously unstyled browser radios. Now a
   clean card per method with the official brand logo. */
.radio-chip{ display:flex; align-items:center; gap:10px; border:2px solid #E7E2D8; border-radius:12px; padding:10px 12px; min-height:56px; background:#fff; font-weight:700; font-size:15px; color:var(--pp-charcoal); cursor:pointer; }
.radio-chip input[type="radio"]{ flex:none; width:20px; height:20px; accent-color:var(--pp-orange); margin:0; cursor:pointer; }
.radio-chip:has(input:checked){ border-color:var(--pp-orange); background:#FFF7F0; }
.radio-chip span{ overflow-wrap:break-word; min-width:0; }
/* Official payment-brand logos (fixed14) — crisp, white chip, never
   stretched. bKash/Nagad are wide marks; Bangla QR is tall. */
.pay-method-logo{ height:30px; width:auto; max-width:92px; object-fit:contain; background:#fff; border-radius:6px; padding:2px 5px; flex:none; }
.pay-panel-brand{ margin-bottom:10px; }
.pay-panel-brand .pay-method-logo{ height:38px; max-width:130px; padding:3px 8px; border:1px solid #FFE0CC; }
/* Payment logo inside a line of text (success / track / invoice). */
p .pay-method-logo, b .pay-method-logo{ height:24px; vertical-align:-6px; margin-right:6px; }
/* Footer: the tall Bangla QR mark must not dominate the logo row. */
.pay-logos img[alt="Bangla QR"]{ height:30px; }

/* Sticky header on phones — the tall sticky stack (logo + search + black
   category bar, ~1/3 of a phone screen) covered content while scrolling
   (the order number slid half-under the black bar). On phones the header
   scrolls away with the page; the fixed bottom nav stays as the persistent
   navigation. Desktop keeps the sticky header exactly as before. */
@media (max-width:819px){
  .store-header{ position:static; }
}
/* In-page anchors must never land under the sticky desktop header. */
:target{ scroll-margin-top:130px; }
.success-card, .tab-panel{ scroll-margin-top:130px; }

/* Mobile category bar — the fade now lives on the base rule (fixed15,
   all widths); here only the mobile tap targets remain. */
@media (max-width:819px){
  .cat-link{ padding:12px; }
  /* 44px tap targets in the header on phones. */
  .header-icons .hdr-icon{ min-width:44px; min-height:44px; justify-content:center; padding:6px; }
}

/* Product cards on narrow phones — two buy buttons side-by-side in a
   ~170px card overflowed. Stack them full-width instead. */
@media (max-width:560px){
  .store-card .card-actions{ flex-direction:column; }
  .store-card .card-actions .card-form{ width:100%; }
  .store-card .card-actions .btn-order-sm, .store-card .card-actions .btn-cart{ width:100%; }
  /* Product page buy box — primary full-width, secondary below it. */
  .buy-box .card-actions{ flex-direction:column; }
  .buy-box .card-actions .btn-order-sm, .buy-box .card-actions .btn-cart{ width:100%; }
}

/* Cart table — a 5-column table overflows a phone. Scroll it inside its
   own container instead of breaking the whole page. */
.cart-table-wrap{ overflow-x:auto; -webkit-overflow-scrolling:touch; border-radius:16px; }
.cart-table-wrap .cart-table{ min-width:560px; }
@media (max-width:560px){
  .cart-table th, .cart-table td{ padding:8px 6px; }
  .cart-thumb{ width:48px; height:48px; }
  .qty-btn{ width:44px; height:44px; }
}

/* Checkout extras that were unstyled plain divs. */
.coupon-apply{ display:flex; gap:8px; margin:12px 0; }
.coupon-apply input{ flex:1; min-width:0; border:2px solid #E7E2D8; border-radius:10px; padding:10px 12px; font-family:inherit; }
.coupon-apply button{ flex:none; }
.consent-row{ display:flex; gap:10px; align-items:flex-start; margin:14px 0; }
.consent-row input{ flex:none; width:20px; height:20px; margin-top:2px; accent-color:var(--pp-orange); }
.buy-box{ margin-top:14px; }

/* Backstop: the page itself must never scroll sideways on a phone.
   overflow-x:clip (not hidden) keeps position:sticky working. */
html, body{ overflow-x:clip; }

/* ---------- fixed14/F — brand hero (no product in the hero) ----------
   The combo came out of the hero carousel (owner 2026-12-03) and now
   lives first in Hot Sale. One centered brand banner: name, one-line
   tagline, Shop Now. No carousel, no arrows/dots, no product photo. */
.hero-brand{ margin:18px auto 0; max-width:1080px; background:linear-gradient(135deg, #FFF6EE, #fff 62%); border-radius:20px; box-shadow:0 10px 30px rgba(0,0,0,.06); overflow:hidden; }
.hero-brand .hero-store-in{ display:block; }
.hero-brand-copy{ align-items:center; text-align:center; max-width:680px; margin:0 auto; padding:30px 24px; }
.hero-brand-copy .trust-row{ width:100%; }

/* ---------- fixed14/G — top text stays small + tight on phones ----------
   The owner asked twice for shorter text at the top ("Upore kno ato
   lomba lekha"). On phone widths the hero, announcement bar and
   section headings shrink so the top of every page is compact and the
   products start sooner. */
@media (max-width:560px){
  .hero-copy{ padding:20px 16px; gap:10px; }
  .hero-copy h1{ font-size:24px; line-height:1.25; }
  .hero-copy p{ font-size:15px; line-height:1.5; }
  .hero-copy .eyebrow{ font-size:12px; }
  .hero-brand-copy{ padding:22px 16px; }
  .trust-row{ gap:8px; }
  .trust-item{ padding:9px 6px; font-size:12.5px; }
  .trust-item span{ font-size:18px; }
  .sec-title{ font-size:19px; }
  .sec-sub{ font-size:14.5px; margin-bottom:18px; }
  .page-head{ margin:16px 0 12px; }
  .page-head h1{ font-size:22px; }
  .announce-bar{ font-size:13.5px; }
  .deals-head .deals-tag{ font-size:12px; }
  .btn-shop-now{ font-size:16px; padding:12px 24px; }
}

/* ---------- fixed15 — scrolling announce ticker on phones (A) ------
   (The mobile rules live in the ≤819px block above; the ticker
   animation itself is 55s so the doubled track scrolls at the same
   readable pace the old 28s single track had.) */

/* ---------- fixed15/B — category sidebar (mobile) -----------------
   The hamburger in the header opens a left slide-in drawer with all
   categories. Desktop keeps the black bar + dropdown untouched. */
.header-menu-btn{ display:none; }
.cat-sidebar-overlay{ position:fixed; inset:0; background:rgba(0,0,0,.5); z-index:90; }
.cat-sidebar{ position:fixed; top:0; left:0; bottom:0; width:min(320px, 85vw); background:#fff; z-index:91; transform:translateX(-102%); transition:transform .25s ease; display:flex; flex-direction:column; box-shadow:0 0 30px rgba(0,0,0,.25); }
.cat-sidebar.open{ transform:translateX(0); }
.cat-sidebar-head{ display:flex; align-items:center; justify-content:space-between; padding:12px 8px 12px 16px; border-bottom:1px solid #F0EDE6; font-size:17px; }
.cat-sidebar-head button{ border:none; background:none; font-size:20px; cursor:pointer; min-width:44px; min-height:44px; color:var(--pp-charcoal); }
.cat-sidebar-list{ flex:1; overflow-y:auto; padding:8px 0; }
.cat-sidebar-list a{ display:flex; align-items:center; gap:12px; padding:10px 16px; text-decoration:none; color:var(--pp-charcoal); font-weight:700; }
.cat-sidebar-list a img{ width:48px; height:48px; object-fit:cover; border-radius:12px; flex:none; }
.cat-sidebar-list a:active{ background:#FFF1E8; }
.cat-sidebar-all{ color:var(--pp-orange) !important; }
.cat-sidebar-foot{ border-top:1px solid #F0EDE6; padding:8px 0; }
.cat-sidebar-foot a, .cat-sidebar-foot button{ display:block; width:100%; text-align:left; padding:11px 16px; text-decoration:none; color:var(--pp-charcoal); font-weight:600; background:none; border:none; font-family:inherit; font-size:15px; cursor:pointer; }
body.cat-sidebar-open{ overflow:hidden; }

/* ---------- fixed15/C — mobile polish --------------------------------
   The black category bar is gone on phones (the hamburger + sidebar
   replace it; Home/Shop/Wishlist/Track already live in the bottom
   nav). The page gets bottom padding so the footer clears the fixed
   bottom nav, and the Panda FAB hides at scroll-top (JS-managed) so
   it never covers the hero trust row — it appears once the visitor
   scrolls. Without JS the FAB stays visible as before. */
@media (max-width:819px){
  .header-menu-btn{ display:inline-flex; align-items:center; justify-content:center; min-width:44px; min-height:44px; border:none; background:none; font-size:22px; color:var(--pp-charcoal); cursor:pointer; padding:6px; flex:none; }
  .cat-bar{ display:none; }
  body{ padding-bottom:70px; }
  body.fab-js .ai-chat-fab{ opacity:0; pointer-events:none; transform:scale(.85); transition:opacity .25s ease, transform .25s ease; }
  body.fab-js .ai-chat-fab.fab-show{ opacity:1; pointer-events:auto; transform:scale(1); }
}

/* ---------- fixed15/F — Daraz-clean mobile patterns ------------------
   Layout patterns only — never Daraz branding, colours or copy.
   Trust strip: ONE row of 3 real claims (Cash on Delivery / Fast
   Delivery / Easy Return). Category tiles: a clean horizontal row of
   icon tiles with short labels. Welcome card: the REAL NEW5 coupon
   only. Feed tabs: only real targets. Deal rows: horizontal
   scroll-snap rows. Top Ranking: #1/#2/#3 by real sold counts. */
.badge-rank{ background:#C9A227; color:#fff; font-weight:800; font-size:13px; padding:3px 9px; border-radius:999px; }
.shop-more{ margin-left:auto; font-weight:800; color:var(--pp-orange); text-decoration:none; white-space:nowrap; font-size:14.5px; }
.welcome-card{ display:flex; align-items:center; gap:12px; background:#fff; border:2px solid var(--pp-orange); border-radius:16px; padding:12px 14px; margin:14px auto 0; max-width:1080px; box-shadow:0 8px 22px rgba(0,0,0,.05); }
.welcome-ico{ font-size:26px; flex:none; }
.welcome-text{ flex:1; min-width:0; }
.welcome-text b{ display:block; font-size:15.5px; color:var(--pp-charcoal); }
.welcome-text small{ display:block; font-size:13px; color:#54655E; margin-top:2px; }
.welcome-collect{ flex:none; }
.feed-tabs{ display:none; }
@media (max-width:560px){
  /* Trust strip: one row, three short claims — never two rows. */
  .trust-row{ gap:8px; }
  .trust-item{ padding:9px 4px; font-size:12px; }
  /* Category shortcuts: horizontal icon-tile row, touch momentum,
     short labels only (the "(N items)" count is desktop-only). */
  .cat-tiles{ display:flex; gap:10px; overflow-x:auto; -webkit-overflow-scrolling:touch; scrollbar-width:none; scroll-snap-type:x proximity; padding:2px 2px 10px; }
  .cat-tiles::-webkit-scrollbar{ display:none; }
  .cat-tile{ flex:0 0 96px; scroll-snap-align:start; box-shadow:0 4px 14px rgba(0,0,0,.06); }
  .cat-tile img{ aspect-ratio:1/1; }
  .cat-tile .cat-tile-name{ padding:8px 4px 2px; font-size:12.5px; }
  .cat-tile-count{ display:none; }
  /* Feed tabs: sticky under the top of the viewport, horizontal
     scroll, every tab a real target (see pages.js). */
  .feed-tabs{ display:block; position:sticky; top:0; z-index:55; background:#F6F6F4; padding:10px 0 6px; }
  .feed-tabs-in{ display:flex; gap:8px; overflow-x:auto; -webkit-overflow-scrolling:touch; scrollbar-width:none; scroll-snap-type:x proximity; padding:2px; }
  .feed-tabs-in::-webkit-scrollbar{ display:none; }
  .feed-tabs-in a, .feed-tabs-in button{ flex:none; scroll-snap-align:start; background:#fff; border:1.5px solid #E7E2D8; color:var(--pp-charcoal); font-weight:700; font-size:14px; font-family:inherit; padding:9px 16px; border-radius:999px; text-decoration:none; cursor:pointer; white-space:nowrap; }
  .feed-tabs-in a:active, .feed-tabs-in button:active{ border-color:var(--pp-orange); color:var(--pp-orange); }
  /* Deal rows (Hot Sale / Clearance / Today's Deals / Flash Sale):
     horizontal scroll-snap rows instead of a 2-col grid — every card
     stays fully tappable, nothing is cut mid-card. */
  .deal-row{ display:flex; gap:12px; overflow-x:auto; -webkit-overflow-scrolling:touch; scrollbar-width:none; scroll-snap-type:x proximity; padding:2px 2px 10px; }
  .deal-row::-webkit-scrollbar{ display:none; }
  .deal-row .store-card{ flex:0 0 172px; scroll-snap-align:start; }
}
