@media (max-width: 1200px) {
    .stat-grid, .admin-body .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1100px) {
    .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .hero-grid, .pdp, .pdp-detail, .cart-layout, .checkout-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: clamp(2rem, 7vw, 2.6rem); }
    .hero-stage { grid-template-rows: 160px 120px; }
    .summary-card { position: static; }
    .pdp-gallery .studio { min-height: 320px; }
}

@media (max-width: 991px) {
    .dept-bar, .header-tools { display: none; }
    .search { display: flex; min-width: 0; }
    .bottom-nav { display: flex; }
    .market { padding-bottom: 76px; }
    .listing-layout { grid-template-columns: 1fr; }
    .footer-grid, .trust-row, .link-grid { grid-template-columns: 1fr 1fr; }
    .buy-bar { display: flex; }
    .buy-bar > div { min-width: 0; }
    .buy-bar span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 52vw; color: var(--color-muted); font-size: 0.85rem; }
    body:has(.buy-bar) .bottom-nav, body:has(.checkout-grid) .bottom-nav { display: none; }
    body:has(.buy-bar) { padding-bottom: 76px; }
    .shell { display: block; }
    .shell-main { padding: 16px 16px 32px; }
    .auth-frame { grid-template-columns: 1fr; }
    .auth-story { display: none; }
    .auth-card .brand { display: inline-flex; }
}

@media (max-width: 680px) {
    .listing-head { flex-direction: column; align-items: stretch; }
    .listing-tools, .listing-tools select { width: 100%; }
    .product-grid, .trust-row, .link-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid, .stat-grid, .admin-body .stat-grid { grid-template-columns: 1fr; }
    .hero { padding-top: 28px; }
    .hero-stage { display: none; }
    .home-slide { min-height: 300px; }
    .home-slide,
    .home-slide.is-right { justify-content: flex-start; }
    .home-slide-copy,
    .home-slide.is-right .home-slide-copy { text-align: left; max-width: none; padding: 28px 18px; }
    .home-slide.is-right .hero-actions { justify-content: flex-start; }
    .home-slide::before,
    .home-slide.is-right::before { background: linear-gradient(180deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.72) 70%, rgba(255,255,255,.2) 100%); }
    .home-slide.is-dark::before,
    .home-slide.is-dark.is-right::before { background: linear-gradient(180deg, rgba(24,12,18,.88) 0%, rgba(24,12,18,.55) 100%); }
    .banner-nav { top: auto; bottom: 56px; height: 44px; width: 44px; }
    .cart-line { grid-template-columns: 72px minmax(0, 1fr); }
    .cart-line strong { grid-column: 2; }
    .buy-actions .btn { flex: 1; }
    .header-main { gap: 10px; min-height: 64px; }
    .brand { font-size: 1.15rem; gap: 8px; }
    .header-main .brand-mark,
    .site-footer .brand-mark { width: 42px; height: 42px; }
}

@media (max-width: 420px) {
    .link-grid, .trust-row { grid-template-columns: 1fr; }
    .product-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .product-body { padding: 10px 10px 12px; }
}
