.mgm-home-products{padding-block:var(--mgm-space-section,64px)}
.mgm-home-tabs{display:flex;justify-content:center;gap:32px;border-bottom:1px solid #e5e5e5;margin-bottom:30px;overflow-x:auto;scrollbar-width:thin}
.mgm-home-tabs a{flex-shrink:0;display:block;font-size:16px;line-height:1.5;font-weight:400;text-decoration:none;padding:0 0 17px;color:#707070;border-bottom:2px solid transparent}
.mgm-home-tabs a[aria-selected=true],.mgm-home-tabs a:hover{color:var(--magmara-action,#a80a0b);border-color:var(--magmara-action,#a80a0b)}
.mgm-home-tabs a[aria-selected=true]{font-weight:700}
.mgm-home-panel{min-width:0}
.mgm-home-panel[hidden]{display:none}
.mgm-home-panel+.mgm-home-panel{margin-top:48px}
.mgm-home-products.is-enhanced .mgm-home-panel{margin-top:0}
.mgm-home-products__heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:28px}
.mgm-home-products__heading h2{font-size:30px;letter-spacing:-.4px;line-height:1.3;font-weight:700;margin:0}
.mgm-home-products__heading p{font-size:14px;line-height:1.75;color:#777;margin:8px 0 0}
.mgm-home-products__controls{display:flex;gap:8px;flex-shrink:0}
.mgm-home-products__controls button{width:44px;height:44px;display:grid;place-items:center;border:1px solid #ddd;background:#fff;color:#333;font-size:23px;line-height:1;padding:0;cursor:pointer;transition:border-color .15s,color .15s}
.mgm-home-products__controls button:hover{border-color:var(--magmara-action,#a80a0b);color:var(--magmara-action,#a80a0b)}
.mgm-home-products__controls button:disabled{opacity:.35;cursor:default}
.mgm-home-products__track{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - (var(--mgm-home-columns,5) - 1)*24px)/var(--mgm-home-columns,5));gap:24px;list-style:none;padding:0 0 12px;margin:0;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x mandatory;scrollbar-width:thin;scrollbar-color:#b9b9b9 #f3f3f3;align-items:stretch}
.mgm-home-products__track>li{min-width:0;scroll-snap-align:start}
.mgm-home-products__track .product-miniature{height:100%;margin:0;max-width:none;width:100%}
.mgm-home-products__track .product-miniature__image{height:auto;aspect-ratio:auto;object-fit:contain}
.mgm-home-products__track .product-miniature__title{font-size:14px;min-height:42px;line-height:1.5}
.mgm-home-products__track .product-miniature__price{font-size:20px}
.mgm-home-products__track .mgm-card-sizes__title{font-size:11px}
.mgm-home-products__track .mgm-card-colors{flex-wrap:nowrap;gap:5px;overflow-x:auto;max-width:100%;padding:2px;margin-block:8px;scrollbar-width:thin;min-height:60px}
.mgm-home-products__track .mgm-card-colors__item{flex:0 0 auto}
.mgm-home-products__track .mgm-card-sizes__list{gap:4px}
.mgm-home-products__track .mgm-card-sizes__list a{min-width:27px;min-height:28px;font-size:12px;padding:4px}
.mgm-home-products__footer{display:flex;justify-content:space-between;align-items:center;gap:20px;padding-top:20px;border-top:1px solid #e8e8e8;margin-top:16px}
.mgm-home-products__footer>a{display:inline-flex;align-items:center;gap:16px;color:#333;text-decoration:none;font-size:14px;line-height:1.5}
.mgm-home-products__footer>a:hover{color:var(--magmara-action,#a80a0b)}
.mgm-home-products__footer>a>span{font-size:20px}
.mgm-home-products__count{font-size:12px;color:#777}
@media(max-width:1199px){.mgm-home-products__track{grid-auto-columns:calc((100% - 3*20px)/4);gap:20px}}
@media(max-width:991px){.mgm-home-products__track{grid-auto-columns:calc((100% - 2*20px)/3)}.mgm-home-tabs{gap:24px}.mgm-home-tabs a{font-size:15px}.mgm-home-products__heading h2{font-size:27px}}
@media(max-width:767px){.mgm-home-products{padding-block:var(--mgm-space-section,36px)}.mgm-home-tabs{justify-content:flex-start;gap:22px;margin-bottom:22px}.mgm-home-tabs a{padding-bottom:12px;font-size:14px}.mgm-home-products__heading{align-items:flex-start;gap:14px;margin-bottom:22px}.mgm-home-products__heading h2{font-size:23px;line-height:1.35}.mgm-home-products__controls{gap:5px}.mgm-home-products__controls button{height:38px;width:38px;font-size:20px}.mgm-home-products__track{grid-auto-columns:calc((100% - (var(--mgm-home-mobile,2) - 1)*12px)/var(--mgm-home-mobile,2));gap:12px}.mgm-home-products__track .product-miniature__title{font-size:13px;min-height:40px}.mgm-home-products__track .product-miniature__price{font-size:18px}.mgm-home-products__track .product-miniature__bottom{padding-top:12px}.mgm-home-products__footer{padding-top:16px;gap:12px}.mgm-home-products__footer>a{font-size:13px}.mgm-home-products__count{font-size:11px}.mgm-home-products__track .mgm-card-sizes__list a{min-width:25px;font-size:11px}.mgm-home-products__track .mgm-product-card-action a{font-size:12px}}
@media(prefers-reduced-motion:reduce){.mgm-home-products__controls button{transition:none}}
