
/* ===== Mobile responsive pass — phone widths only (<=900px).
   Everything above this block, including all desktop rendering, is
   untouched: same content, colours, logo, fonts, order and behaviour.
   On phones: no sideways overflow anywhere, grids stack/shrink,
   header = logo + icons + burger, every control stays tappable. ===== */

/* Top bar: keep all three service messages on phones too (the base sheet
   hid the third one under 640px) and drop the "|" separators that used
   to dangle at line ends when the strip wraps. */
@media (max-width:640px){
  .topbar .items span:nth-child(5){display:inline-flex}
  .topbar .sep{display:none}
  .topbar .items{gap:3px 12px}
  .topbar .wrap{align-items:flex-start}
}

/* Section titles (Best Selling Product, Why Choose Exclusive Item?, ...):
   the heading used to run past the right edge on phones. Smaller type,
   shrinkable side bars, and the heading itself may wrap — never clipped. */
@media (max-width:640px){
  .sec-title{gap:10px;margin-bottom:24px}
  .sec-title::before,.sec-title::after{flex:1 1 14px;min-width:12px}
  .sec-title h2{font-size:1.04rem;letter-spacing:.03em;min-width:0;flex:0 1 auto;flex-wrap:wrap;justify-content:center}
  .sec-title h2 svg{width:20px;height:20px}
  section.block{padding-top:44px}
  .sec-sub{margin-bottom:24px}
}

/* Product grids (Best Selling, New Arrivals, Related Products):
   two columns on phones instead of one oversized column. */
@media (max-width:560px){
  .prod-grid,.prod-grid.two{grid-template-columns:repeat(2,1fr);gap:14px 12px}
  .prod-body{padding:10px 4px 12px;gap:5px}
  .prod-body h3{font-size:.9rem;line-height:1.3}
  .prod-card .price{font-size:1rem}
  .badge{top:8px;left:8px;font-size:.62rem;padding:5px 8px}
}
@media (max-width:380px){
  .prod-grid,.prod-grid.two{gap:12px 10px}
  .prod-body h3{font-size:.85rem}
}

/* Product landing page: gallery takes the full phone width so the
   one-row thumbnails stay big enough to tap; trust-box text a touch
   larger so it stays readable at phone size. */
@media (max-width:640px){
  .lp-gallery{width:100%}
  .lp-trust-cell h3{font-size:.84rem}
  .lp-trust-cell p{font-size:.72rem;line-height:1.4}
  .lp-info h1{font-size:1.55rem}
}

/* Forms: 16px field text stops iOS Safari auto-zooming on focus,
   so every field stays usable without pinching or zooming. */
@media (max-width:640px){
  .bn-form input,.bn-form textarea,.bn-form select,
  .order-form input,.order-form textarea{font-size:16px}
}

/* Long product names / addresses in the checkout summary and the
   confirmation table wrap inside their cells instead of forcing width. */
@media (max-width:900px){
  .bn-prod-name{overflow-wrap:anywhere}
  .od-trow>span:first-child{min-width:0;overflow-wrap:anywhere}
}

/* WhatsApp float: respect the phone's safe area, and give the footer's
   bottom row enough clearance that the button never sits on top of the
   copyright / social / policy links when the page is scrolled to the end. */
@media (max-width:640px){
  .whatsapp-fab{right:14px;bottom:calc(14px + env(safe-area-inset-bottom,0px))}
  .foot-bottom{padding-bottom:96px}
}
