/* DN Store 2.6.5: both selected homepage product collections are carousels.
   Cards continue to use the regular WooCommerce product-card renderer. */
body.home .dns-product-carousel{overflow:hidden}
body.home .dns-product-carousel .nat-wrap{min-width:0}
body.home .dns-product-carousel .nat-heading{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-bottom:18px}
body.home .dns-product-carousel .nat-heading>div:first-child{min-width:0;flex:1 1 auto}
body.home .dns-product-carousel .nat-heading>a{order:3;margin-left:0}
body.home .dns-product-carousel .dns-product-carousel-controls{display:flex;align-items:center;justify-content:center;gap:7px;order:2;margin-left:auto;flex:none}
body.home .dns-product-carousel .dns-product-carousel-arrow{appearance:none;width:36px;height:36px;display:grid;place-items:center;padding:0;border:1px solid #d6ded8;border-radius:50%;background:#fff;color:#111;cursor:pointer;box-shadow:0 2px 6px rgba(0,0,0,.05);transition:background .18s ease,color .18s ease,border-color .18s ease}
body.home .dns-product-carousel .dns-product-carousel-arrow svg{width:17px;height:17px;display:block}
body.home .dns-product-carousel .dns-product-carousel-arrow:hover,body.home .dns-product-carousel .dns-product-carousel-arrow:focus-visible{background:#111!important;border-color:#111!important;color:#fff!important;outline-offset:3px}
body.home .dns-product-carousel .dns-product-carousel-arrow:disabled{opacity:.4;cursor:not-allowed}
body.home .dns-product-carousel .dns-nproducts-grid{display:flex!important;flex-wrap:nowrap!important;flex-direction:row!important;align-items:stretch;gap:12px!important;grid-template-columns:none!important;overflow-x:auto!important;overflow-y:hidden!important;scroll-snap-type:x mandatory;scroll-padding-inline-start:2px;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;scrollbar-width:none;position:relative;padding:2px 2px 10px!important}
body.home .dns-product-carousel .dns-nproducts-grid::-webkit-scrollbar{display:none}
body.home .dns-product-carousel .dns-nproducts-grid>.dns-nproduct{flex:0 0 calc((100% - 48px) / 5)!important;max-width:none!important;min-width:0;scroll-snap-align:start;height:auto;box-sizing:border-box}
body.home .dns-product-carousel .dns-nproduct-content{flex:1}
body.home .dns-product-carousel .dns-nproduct-btn{background:#111;color:#fff}
body.home .dns-product-carousel .dns-nproduct-btn:hover{background:#242424!important;color:#fff!important}
@media(max-width:1150px) and (min-width:901px){body.home .dns-product-carousel .dns-nproducts-grid>.dns-nproduct{flex-basis:calc((100% - 36px)/4)!important}}
@media(max-width:900px) and (min-width:681px){body.home .dns-product-carousel .dns-nproducts-grid>.dns-nproduct{flex-basis:calc((100% - 24px)/3)!important}}
@media(max-width:680px){
  body.home .dns-product-carousel .nat-heading{gap:8px;margin-bottom:10px}
  body.home .dns-product-carousel .nat-heading>div:first-child{flex:1 1 45%}
  body.home .dns-product-carousel .nat-heading>a{order:2;margin-left:0;font-size:10px}
  body.home .dns-product-carousel .dns-product-carousel-controls{order:3;margin-left:auto;gap:6px}
  body.home .dns-product-carousel .dns-product-carousel-arrow{width:32px;height:32px}
  body.home .dns-product-carousel .dns-nproducts-grid{gap:10px!important;padding:2px 2px 9px!important}
  body.home .dns-product-carousel .dns-nproducts-grid>.dns-nproduct{flex-basis:min(78vw,300px)!important;min-height:340px}
}
@media(prefers-reduced-motion:reduce){body.home .dns-product-carousel .dns-nproducts-grid{scroll-behavior:auto!important}}
