/* Extra viewport hardening: 320 → 2560 */

@media (max-width: 359px) {
  .product-grid { grid-template-columns: 1fr; }
  .logo img { height: 30px; }
  .btn { padding: 0 14px; letter-spacing: 0.02em; }
  .hero-cine .cluster, .hero .cluster { flex-direction: column; align-items: stretch; }
  .product-card .actions { grid-template-columns: 1fr; }
  .checkout-steps { grid-template-columns: 1fr 1fr; }
  .intel-strip { grid-template-columns: 1fr; }
}

@media (min-width: 360px) and (max-width: 479px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
  .product-card .actions { grid-template-columns: 1fr; }
  .product-card .btn { min-height: 40px; font-size: 0.7rem; padding: 0 8px; }
  .hero-cine h1 { font-size: clamp(2.2rem, 12vw, 3.2rem); }
}

@media (max-width: 767px) {
  .discover-grid { grid-template-columns: 1fr; }
  .sticky-buy { padding-bottom: max(10px, env(safe-area-inset-bottom)); }
  .mega { display: none !important; }
  .hero-vial { width: min(70%, 260px); }
  .why-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 480px) {
  .trust-strip { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}

@media (min-width: 820px) {
  .logo img { height: 46px; }
}

@media (pointer: coarse) {
  .cursor-dot { display: none !important; }
  .desktop-nav a { padding: 10px 12px; }
  .qty button { width: 44px; height: 44px; }
  .qv-fab { opacity: 1; pointer-events: auto; }
}

@media (max-height: 500px) {
  :root { --header-h: 56px; --announce-h: 28px; }
  .announcement { font-size: 0.65rem; }
  .hero-cine { min-height: auto; }
}

h1, h2, h3, p { overflow-wrap: break-word; }
td, th { overflow-wrap: break-word; }
.table-wrap { overflow-x: auto; max-width: 100%; }
input, select, textarea { max-width: 100%; }
