/* Homepage-only mobile spacing; desktop and page-builder content stay intact. */
@media(max-width:767px){
  body.page-home[data-layout="catalog"] #hero{height:480px;min-height:480px}
  body.page-home[data-layout="catalog"] #hero .container{padding:32px 20px 62px}
  body.page-home[data-layout="catalog"] #hero .n-hero-tag{margin-bottom:12px;font-size:12px}
  body.page-home[data-layout="catalog"] #hero .n-hero-title{font-size:28px;line-height:1.5;margin-bottom:14px}
  body.page-home[data-layout="catalog"] #hero .n-hero-sub{font-size:14px;line-height:1.9;margin-bottom:22px}
  body.page-home[data-layout="catalog"] #hero .n-btn{padding:11px 16px;min-height:48px;font-size:13px}
  body.page-home[data-layout="catalog"] #hero::after{width:150px;height:60px;bottom:-40px}
  body.page-home .catalog-products{padding-block:36px}
  body.page-home .catalog-products-head{gap:14px;margin-bottom:18px}
  body.page-home .catalog-filters{flex-wrap:nowrap;overflow-x:auto;max-width:100%;gap:8px;margin:18px 0;padding:3px 2px 10px;scrollbar-width:thin;scrollbar-color:var(--brand-primary) var(--brand-soft);overscroll-behavior-x:contain}
  body.page-home .catalog-filters .catalog-filter{flex:0 0 auto;white-space:nowrap;min-height:44px;padding:9px 14px}
  body.page-home .catalog-product-track .catalog-product-image{aspect-ratio:1.5}
  body.page-home .catalog-carousel-controls{margin-top:14px;gap:12px}
  body.page-home .catalog-carousel-controls button,
  body.page-home .content-collection-controls button{min-width:58px;min-height:48px;padding:10px 16px;font-size:14px;touch-action:manipulation}
  body.page-home[data-layout="catalog"] :is(.n-about,.n-features,.n-export){padding-block:40px}
  body.page-home[data-layout="catalog"] .n-about>.container{gap:28px}
  body.page-home[data-layout="catalog"] .n-about .n-body{line-height:2;margin-top:16px}
  body.page-home[data-layout="catalog"] .n-about .n-media{height:280px;min-height:240px;object-fit:cover}
  body.page-home[data-layout="catalog"] .n-about .n-point{font-size:14px}
  body.page-home[data-layout="catalog"] .n-features .n-head{margin-bottom:24px}
  body.page-home[data-layout="catalog"] .n-features .n-card{padding:24px}
  body.page-home[data-layout="catalog"] .n-features .n-card-icon{width:48px;height:48px;margin-bottom:16px;font-size:21px}
  body.page-home[data-layout="catalog"] .n-features .n-card-title{font-size:18px;margin-bottom:8px}
  body.page-home .content-collection{padding-block:36px}
  body.page-home .content-collection-head{gap:14px;margin-bottom:20px}
  body.page-home[data-layout="catalog"] .n-export>.container{gap:28px}
  body.page-home .catalog-cta{padding-block:36px}
}
@media(max-width:360px){
  body.page-home[data-layout="catalog"] #hero{height:520px;min-height:520px}
  body.page-home[data-layout="catalog"] #hero .n-hero-title{font-size:26px}
}

@media(max-width:767px){
  body.page-home .catalog-product-track{gap:16px;scroll-padding-inline:0;padding-bottom:10px}
  body.page-home .catalog-product-track .catalog-product{flex:0 0 100%;min-width:0;max-width:100%;scroll-snap-stop:always;scroll-snap-align:start}
  body.page-home .catalog-product-track .catalog-product-image{aspect-ratio:1.5}
  body.page-home .catalog-product-track .catalog-product-image img{padding:16px;object-fit:contain}
  body.page-home .catalog-product-track .catalog-product-body{padding:18px}
  body.page-home .catalog-product-track .catalog-product h3{font-size:17px;line-height:1.8}
  body.page-home .catalog-product-track .catalog-product p{font-size:13px;line-height:1.9;min-height:0}
  body.page-home .catalog-product-track .catalog-product:hover{transform:none}
  body.page-home .catalog-carousel-controls{flex-wrap:wrap}
  body.page-home .catalog-carousel-controls>div{display:flex;justify-content:space-between;width:100%}
  body.page-home .catalog-carousel-hint{order:2;flex-basis:100%;max-width:none;text-align:center}
}
