/* DM ALL MOBILE ACCESSORIES — responsive rules */

@media (max-width:1100px){
  .product-grid,.cat-grid,.device-grid{grid-template-columns:repeat(3,1fr)}
  .footer-grid{grid-template-columns:repeat(3,1fr);gap:26px}
  .pdp{grid-template-columns:1fr 1fr;gap:28px}
  .checkout{grid-template-columns:1fr}
  .summary{position:static}
}

@media (max-width:980px){
  .nav-bar{display:none}
  .nav-toggle{display:grid}
  .shop-layout{grid-template-columns:1fr}
  .filters{position:static;display:none}
  .filters.is-open{display:block}
  .filter-open{display:inline-flex}
  .pdp{grid-template-columns:1fr}
  .hero .wrap{grid-template-columns:1fr;gap:26px}
  .hero-media{order:-1}
  .modal__grid{grid-template-columns:1fr}
  .tiles{grid-template-columns:repeat(2,1fr)}
  /* mobile slide-in menu */
  .mobile-nav{display:block;position:fixed;top:0;right:0;height:100%;width:min(330px,88vw);background:#fff;z-index:950;
    transform:translateX(100%);transition:transform .25s ease;overflow-y:auto;padding:18px}
  .mobile-nav.is-open{transform:none}
  .mobile-nav ul{list-style:none;padding:0;margin:0}
  .mobile-nav a{display:block;padding:13px 6px;border-bottom:1px solid var(--line);color:var(--black);font-family:var(--head);font-weight:500}
  .mobile-nav h3{font-size:.78rem;color:var(--muted);margin:18px 0 6px}
  /* sticky bottom bar */
  .mobile-bar{display:grid;grid-template-columns:repeat(5,1fr);position:fixed;bottom:0;left:0;right:0;
    background:#fff;border-top:1px solid var(--line);z-index:700;padding:6px 0 4px}
  .mobile-bar a,.mobile-bar button{display:grid;place-items:center;gap:2px;background:none;border:0;
    font-size:.68rem;color:var(--black);font-family:var(--head);cursor:pointer;position:relative}
  .mobile-bar svg{width:21px;height:21px}
  body{padding-bottom:62px}
  .float{bottom:74px}
  .cookie{bottom:74px}
}

@media (max-width:640px){
  body{font-size:15.5px}
  .section{padding:40px 0}
  .product-grid{grid-template-columns:repeat(2,1fr);gap:12px}
  .cat-grid{grid-template-columns:repeat(2,1fr);gap:12px}
  .device-grid,.tiles{grid-template-columns:1fr}
  .trust ul{grid-template-columns:repeat(2,1fr)}
  .form-grid{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr 1fr}
  .logo img{width:180px}
  .pcard__body{padding:12px}
  .pcard__body h3{font-size:.88rem}
  .pcard__quick{display:none}
  .gallery__thumbs button{width:64px}
  .btn-row .btn{flex:1 1 100%}
}

@media print{
  .site-header,.site-footer,.float,.mobile-bar,.cookie,.drawer,.overlay{display:none!important}
}

@media (max-width:980px){
  .split{grid-template-columns:1fr;gap:30px}
  .card-grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:620px){
  .card-grid{grid-template-columns:1fr}
  .lead{font-size:1.02rem}
}
