@media (max-width:1279px){
  :root{--container:1160px}
  .header-desktop{grid-template-columns:minmax(250px,1fr) 180px minmax(250px,1fr);gap:25px}
  .nav-link{padding-inline:10px;font-size:11px}
  .product-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
  .category-list{gap:15px}
}

@media (max-width:1023px){
  :root{--gutter:20px}
  .header-desktop,.desktop-nav{display:none}
  .header-mobile{display:block;padding-block:12px 15px}
  .header-mobile__top{height:68px;display:grid;grid-template-columns:52px 1fr 52px;align-items:center}
  .brand--mobile img{width:122px;height:60px}
  .header-mobile__top>.cart-link{justify-self:end;margin-right:4px}
  .search--mobile{width:100%;height:42px}
  .hero{height:clamp(780px,calc(260px + 68vw),900px)}
  .hero img{top:260px;width:min(94vw,880px)}
  .section{padding:58px 0}
  .category-list{display:flex;gap:18px;overflow-x:auto;padding:2px 2px 16px;scroll-snap-type:x proximity;scrollbar-width:thin}
  .category-card{flex:0 0 132px;scroll-snap-align:start}
  .product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .brands-section .container{grid-template-columns:1fr;gap:24px}
  .brand-list{gap:18px}
  .footer-grid{grid-template-columns:1fr 1fr}
  .product-detail{gap:36px}
  .cart-layout{grid-template-columns:1fr 300px;gap:24px}
}

@media (max-width:767px){
  :root{--gutter:16px}
  .announcement{gap:6px;padding-inline:8px}
  .announcement__text{font-size:11px;min-width:0;flex:1}
  .header-mobile{padding-top:8px}
  .hero{height:clamp(730px,calc(225px + 105vw),880px)}
  .hero__copy{padding-top:48px}
  .hero__title{margin-top:17px;font-size:clamp(43px,11.5vw,70px)}
  .hero img{top:225px;width:min(145vw,880px)}
  .section{padding:48px 0}
  .section-heading{margin-bottom:23px}
  .section-heading h1,.section-heading h2,.brands-section h2{font-size:23px}
  .section--categories{padding-bottom:38px}
  .category-card{flex-basis:116px}
  .category-card span{font-size:14px}
  .promo-grid{grid-template-columns:1fr;gap:14px}
  .section--promo{padding-top:0}
  .product-grid{display:flex;gap:14px;overflow-x:auto;padding:2px 2px 18px;scroll-snap-type:x mandatory;scrollbar-width:thin}
  .product-card{flex:0 0 min(56vw,224px);scroll-snap-align:start}
  .product-card__name{min-height:41px}
  .products-section .section-heading--with-action{display:grid;justify-items:center;gap:13px;margin-bottom:30px}
  .products-section .section-heading--with-action a{position:static}
  .products-section .section-heading h2{font-size:36px}
  .brands-section{padding-block:34px}
  .brand-list{display:flex;overflow-x:auto;padding-bottom:10px;scroll-snap-type:x mandatory}
  .brand-card{flex:0 0 150px;scroll-snap-align:start}
  .visual-links__square-grid,.visual-links__wide-grid{grid-template-columns:1fr;gap:14px}
  .visual-card span{left:18px;bottom:18px}
  .visual-links__wide-grid{margin-top:14px}
  .footer-grid{grid-template-columns:1fr;gap:36px}
  .site-footer{padding-top:46px}
  .whatsapp-button{right:16px;bottom:18px;width:54px;height:54px}
  .toast{bottom:86px}
}

@media (max-width:479px){
  .header-mobile__top{height:64px}
  .brand--mobile img{width:112px;height:56px}
  .hero{height:clamp(590px,calc(207px + 114vw),680px)}
  .hero__copy{padding-top:39px}
  .hero__model{font-size:22px}
  .hero__title{font-size:43px}
  .hero img{top:207px;width:min(158vw,650px)}
  .category-card{flex-basis:104px}
  .category-card span{font-size:13px}
  .product-card{flex-basis:56vw}
  .section-heading--with-action a{font-size:13px}
  .visual-card img{aspect-ratio:1.16}
}

@media (max-width:767px){
  .subpage-header__inner{min-height:82px}
  .subpage-header__inner>a:first-child img{width:106px;height:53px}
  .subpage-nav{gap:14px;font-size:13px}
  .subpage-nav a:nth-child(2),.subpage-nav a:nth-child(3){display:none}
  .page-shell{padding:40px 0 64px}
  .page-title{font-size:27px}
  .catalog-tools{grid-template-columns:1fr}
  .catalog-tools+.product-grid{display:grid;grid-template-columns:1fr 1fr;overflow:visible}
  .catalog-tools+.product-grid .product-card{min-width:0}
  .product-detail{grid-template-columns:1fr;gap:32px}
  .product-summary h1{font-size:27px}
  .product-actions{grid-template-columns:1fr}
  .content-grid{grid-template-columns:1fr}
  .login-panel{padding:25px 20px}
  .cart-layout{grid-template-columns:1fr}
  .cart-summary{position:static}
  .cart-item{grid-template-columns:78px 1fr}
  .cart-item img{width:78px;height:78px}
  .cart-item>button{grid-column:2;justify-self:start}
  .legal-content h2{margin-top:38px;font-size:21px}
  .legal-content h3{margin-top:28px;font-size:18px}
  .legal-content p{font-size:14px;line-height:1.65}
  .legal-content ul{padding-left:20px}
  .legal-content li{font-size:14px}
  .legal-meta{grid-template-columns:1fr}
  .legal-meta>div{padding:14px 15px}
  .legal-clause{padding-left:12px}
  .legal-clause--2,.legal-clause--3,.legal-clause--4{margin-left:12px}
  .legal-callout{padding:17px 16px}
  .legal-resource{padding-left:24px}
  .legal-resource::before{left:9px}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}
}
