/* Shop storefront — viewport breakpoints only. Desktop rules stay in store.css. */

@media (max-width: 1100px) {
  .hero-copy { padding: 32px 28px; }
  .hero-copy,
  .hero-media { min-height: 380px; }
}

@media (max-width: 960px) {
  .features, .articles, .pdp, .cart-layout, .footer-grid, .reviews-grid, .coa-grid {
    grid-template-columns: 1fr;
  }
  .carousel, .grid-3 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .header-inner { height: 66px; gap: 8px; }
  .nav { display: none; }
  .header-desktop-only { display: none !important; }
  .icon-btn { color: var(--navy); }
  a.icon-btn { text-decoration: none; }
  .icon-btn.menu-btn {
    display: grid;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--grad-btn);
    color: #fff;
    box-shadow: 0 8px 16px rgba(7, 20, 39, 0.16);
  }
  .icon-btn.menu-btn:hover { background: var(--grad-btn); color: #fff; }
  .icon-btn.menu-btn svg { color: #fff; }
  .logo img { height: 50px; }
  .locale-form { gap: 3px; }
  .icon-btn, .cart-btn { width: 36px; height: 36px; border-radius: 10px; }
  .switch-btn {
    width: 28px;
    height: 28px;
    border-radius: 8px;
  }
  .switch-btn.is-on { box-shadow: 0 0 0 2px color-mix(in srgb, var(--blue) 16%, transparent); }
  .flag { font-size: 13px; }
  .ccy-ico { font-size: 11px; }
  .header-actions { gap: 3px; }
  .header-shop-cta { display: none; }
  .coa-grid { grid-template-columns: repeat(2, 1fr); }
  .checkout-aside { position: static; }
  .mnav { padding-top: 108px; }
  body:has(.bottom-nav) { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
  .bottom-nav {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: end;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 70;
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--border);
    padding: 6px 10px calc(8px + env(safe-area-inset-bottom, 0px));
  }
  .bottom-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    border: 0;
    background: transparent;
    color: var(--navy);
    font-size: 10px;
    font-weight: 650;
    padding: 4px 6px;
    text-decoration: none;
  }
  .bottom-nav-btn svg { width: 20px; height: 20px; }
  .bottom-nav-btn span {
    max-width: 88px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .bottom-nav-cart {
    width: 52px;
    height: 52px;
    margin: -12px auto 2px;
    border-radius: 16px;
    background: var(--grad-btn);
    color: #fff;
    display: grid;
    place-items: center;
    position: relative;
    box-shadow: 0 8px 16px rgba(7, 20, 39, 0.16);
    text-decoration: none;
  }
  .bottom-nav-cart svg { width: 22px; height: 22px; }
  .bottom-nav-cart.is-pulse { animation: cart-pulse .42s ease; }
  body.search-open { overflow: hidden; }
  body.search-open .bottom-nav { opacity: 0; pointer-events: none; }
  .pdp .qty-box {
    position: sticky;
    bottom: calc(70px + env(safe-area-inset-bottom, 0px));
    z-index: 6;
    background: linear-gradient(180deg, transparent, var(--bg) 14px);
    padding: 12px 0 6px;
  }
}

@media (max-width: 800px) {
  .hero { padding: 12px 0 8px; }
  .hero-banner { border-radius: 16px; }
  .hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    grid-template-columns: none;
    opacity: 0;
    pointer-events: none;
  }
  .hero-slide.is-on {
    position: relative;
    inset: auto;
    opacity: 1;
    pointer-events: auto;
  }
  .hero-copy {
    min-height: 0;
    padding: 22px 18px 28px;
    background: linear-gradient(180deg, #071427 0%, #0e2a56 88%, rgba(14, 42, 86, 0) 100%);
    z-index: 2;
  }
  .hero h1 { font-size: 24px; letter-spacing: -.5px; line-height: 1.2; }
  .hero-lead { font-size: 14px; }
  .hero-cta { margin: 14px 0 10px; }
  .hero-cta .btn { width: 100%; }
  .hero-media {
    min-height: 200px;
    height: 200px;
    margin-top: -36px;
    z-index: 1;
  }
  .hero-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .hero-media::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 18%;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(180deg, #0e2a56 0%, rgba(14, 42, 86, 0) 100%);
  }
  .hero-nav { top: auto; bottom: 18px; transform: none; }
  .hero-dots { bottom: 18px; }
}

@media (max-width: 720px) {
  .review-summary { grid-template-columns: 1fr; }
  .zoom-nav { width: 40px; height: 40px; }
  .zoom-prev { left: 8px; }
  .zoom-next { right: 8px; }
}

@media (max-width: 700px) {
  .cat-card { border-radius: 16px; }
  .cat-rail.is-overflow .cat-card {
    flex-basis: 96px;
    width: 96px;
    height: 96px;
    min-width: 96px;
  }
  .cat-card-icon { width: 34px; height: 34px; }
}

@media (max-width: 640px) {
  .carousel, .grid-3 { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .features { grid-template-columns: 1fr 1fr; gap: 10px; }
  .coa-grid { grid-template-columns: 1fr 1fr; }
  .product-card { border-radius: 14px; }
  .product-img { border-radius: 13px 13px 0 0; }
  .product-body { padding: 8px 8px 10px; }
  .product-body h3 { font-size: 12px; line-height: 1.3; }
  .product-body .sub { font-size: 11px; }
  .price-row { margin: 6px 0 8px; }
  .price { font-size: 13px; }
  .compare { font-size: 11px; }
  .product-body .btn { padding: 8px 6px; font-size: 11px; border-radius: 8px; }
  .wish-overlay, .wish-form, .wish-heart { width: 28px; height: 28px; }
  .wish-overlay { top: 8px; left: 8px; }
  .badge { top: 8px; right: 8px; font-size: 10px; padding: 3px 7px; }
  .section-title { font-size: 22px; margin-bottom: 16px; }
  .feature { padding: 16px 12px; }
  .feature h3 { font-size: 13px; }
  .feature p { font-size: 12px; }
  .option-card { grid-template-columns: 18px 40px 1fr; }
  .option-side { grid-column: 3; flex-direction: row; justify-self: end; }
}

@media (max-width: 480px) {
  .container { width: min(1180px, calc(100% - 24px)); }
  .hero-media { min-height: 168px; height: 168px; margin-top: -28px; }
  .hero h1 { font-size: 22px; }
  .hero-copy { padding: 18px 14px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .mnav, .mnav-bg, .hero-slide { transition: none; }
}
