/* Only the homepage Premium Listings section is affected. */
.ma-premium-carousel{width:100%;margin:24px auto 36px;min-width:0}
.ma-premium-carousel *{box-sizing:border-box}
.ma-premium-carousel-heading{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:22px}
.ma-premium-carousel .ma-homepage-premium-title{font-size:clamp(24px,3vw,34px);font-weight:800;color:#143c69;margin:0;line-height:1.2}
.ma-premium-carousel-controls{display:flex;gap:8px;flex:none}
.ma-premium-carousel-controls[hidden]{display:none!important}
.ma-premium-carousel-controls button{height:38px;width:38px;display:grid;place-items:center;border:1px solid #cad5e1;border-radius:50%;background:#fff;color:#143c69;font-size:19px;line-height:1;padding:0;cursor:pointer;transition:background .2s,border-color .2s}
.ma-premium-carousel-controls button:hover:not(:disabled),.ma-premium-carousel-controls button:focus-visible{background:#eaf3ff;border-color:#086ccf}
.ma-premium-carousel-controls button:disabled{opacity:.34;cursor:default}
.ma-premium-carousel-track,.ma-premium-carousel-track>.woocommerce{width:100%;min-width:0;max-width:100%}
/* Override the WooCommerce/Astra 2/4-column grid, without replacing card HTML. */
.ma-premium-carousel .ma-premium-carousel-track ul.products,
.ma-premium-carousel .ma-premium-carousel-track .woocommerce ul.products{
    display:flex!important;flex-flow:row nowrap!important;align-items:stretch;
    gap:16px!important;overflow-x:auto!important;overflow-y:hidden;
    width:100%!important;max-width:100%;margin:0!important;
    padding:3px 2px 16px!important;list-style:none!important;
    scroll-snap-type:x mandatory;scroll-padding-inline:2px;
    overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;
    scrollbar-width:none;
}
.ma-premium-carousel .ma-premium-carousel-track ul.products::-webkit-scrollbar{display:none}
.ma-premium-carousel .ma-premium-carousel-track ul.products::before,
.ma-premium-carousel .ma-premium-carousel-track ul.products::after{display:none!important}
.ma-premium-carousel .ma-premium-carousel-track ul.products li.product,
.ma-premium-carousel .ma-premium-carousel-track .woocommerce ul.products li.product{
    flex:0 0 calc((100% - 48px) / 4)!important;
    width:calc((100% - 48px) / 4)!important;
    max-width:none!important;min-width:0!important;float:none!important;
    clear:none!important;margin:0!important;scroll-snap-align:start;
}
.ma-premium-carousel .ma-homepage-premium-action{text-align:center;margin:26px 0 0}
.ma-premium-carousel .ma-homepage-premium-button{display:inline-flex;align-items:center;justify-content:center;gap:12px;padding:14px 28px;background:#086ccf;color:#fff!important;border-radius:10px;font-weight:700;text-decoration:none!important;transition:background .2s,transform .2s}
.ma-premium-carousel .ma-homepage-premium-button:hover,.ma-premium-carousel .ma-homepage-premium-button:focus{background:#034f9f;color:#fff!important;transform:translateY(-1px)}
.ma-premium-carousel .ma-homepage-premium-empty{color:#64748b;padding:18px 0}
@media(max-width:1024px){
    .ma-premium-carousel .ma-premium-carousel-track ul.products li.product,
    .ma-premium-carousel .ma-premium-carousel-track .woocommerce ul.products li.product{
        flex-basis:calc((100% - 32px) / 2.5)!important;width:calc((100% - 32px) / 2.5)!important;
    }
}
@media(max-width:600px){
    .ma-premium-carousel-heading{margin-bottom:16px}
    .ma-premium-carousel-controls button{height:34px;width:34px;font-size:18px}
    .ma-premium-carousel .ma-premium-carousel-track ul.products,
    .ma-premium-carousel .ma-premium-carousel-track .woocommerce ul.products{gap:12px!important}
    .ma-premium-carousel .ma-premium-carousel-track ul.products li.product,
    .ma-premium-carousel .ma-premium-carousel-track .woocommerce ul.products li.product{
        flex-basis:79%!important;width:79%!important;
    }
    .ma-premium-carousel .ma-homepage-premium-action{margin-top:18px}
    .ma-premium-carousel .ma-homepage-premium-button{width:100%;max-width:340px}
}
@media(prefers-reduced-motion:reduce){.ma-premium-carousel .ma-premium-carousel-track ul.products{scroll-behavior:auto}}
