/* Keep the existing October controls and Ajax fragment targets. */
body.mm-store .mm-category-page { padding-top: 6px; }
body.mm-store .mm-category-page h1, body.mm-store .product-page__information-title { max-width: 1000px; font-size: clamp(26px, 2.3vw, 40px); font-weight: 650; letter-spacing: -.025em; }
body.mm-store #productCollectionWrap, body.mm-store .mm-product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
body.mm-store #productCollectionWrap > p { grid-column: 1 / -1; padding: 32px; background: #f4f7fa; border-radius: 12px; }
body.mm-store .product-card { min-width: 0; display: flex; flex-direction: column; gap: 16px; height: 100%; margin: 0; padding: 18px; border: 1px solid #dce4ec; border-radius: 12px; background: white; }
body.mm-store .product-card__information { width: 100%; display: flex; flex-direction: column; align-items: stretch; margin: 0; gap: 18px; text-decoration: none; }
body.mm-store .product-card__information-image { display: grid; place-items: center; height: auto; aspect-ratio: 1.25; width: 100%; margin: 0; overflow: hidden; border-radius: 8px; background: #fff; }
body.mm-store .product-card__information-image img { width: 100%; height: 100%; max-height: 250px; object-fit: contain; }
body.mm-store .product-card__information > span { width: 100%; }
body.mm-store .product-card__information-name { display: block; overflow: visible; min-height: 0; padding: 0; font-size: 16px; font-weight: 550; line-height: 1.3; }
body.mm-store .product-card__information:hover .product-card__information-name { color: #0055ad; }
body.mm-store .product-card__information-variant { display: block; font-size: 13px; color: #526579; margin-top: 8px; }
body.mm-store .product-card__information-meta { display: flex; flex-wrap: wrap; gap: 4px 10px; height: auto; margin-top: 4px; font-size: 12px; color: #5c6d7e; }
body.mm-store .product-card__information-meta__brand::after { display: none; }
body.mm-store .product-card__information-meta__brand, body.mm-store .product-card__information-meta__code { font-size: 12px; word-break: normal; overflow-wrap: anywhere; }
body.mm-store .product-card__information-properties { display: flex; flex-wrap: wrap; height: auto; margin-top: 6px; font-size: 12px; color: #5c6d7e; }
body.mm-store .product-card__variants { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
body.mm-store .product-card__volumes, body.mm-store .product-card__colors { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
body.mm-store .product-card__volumes, body.mm-store .product-card__colors { font-size: 13px; line-height: 1.4; }
body.mm-store .product-card__volumes > span { white-space: nowrap; }
body.mm-store .product-card__color { width: 18px; height: 18px; flex: 0 0 18px; border: 1px solid #b6c2cd; border-radius: 50%; }
body.mm-store .product-card__offer { width: 100%; display: flex; flex-direction: column; align-items: stretch; gap: 8px; margin-top: auto; padding: 0; }
body.mm-store .product-card__offer-summary { display: flex; justify-content: space-between; align-items: flex-end; gap: 8px; }
body.mm-store .product-card__offer.sale::before { display: none; }
body.mm-store .product-card__offer .price-block { height: auto; flex-shrink: 0; align-items: flex-start; margin: 0; gap: 3px; }
body.mm-store .product-card .price-block__price-new { font-size: 22px; font-weight: 650; line-height: 1.25; white-space: nowrap; }
body.mm-store .product-card .price-block__price-new small, body.mm-store .price-block__measure { font-size: 13px; font-weight: 400; }
body.mm-store .product-card .price-block__price-old { color: #6a7580; font-style: normal; }
body.mm-store .product-card__offer-actions { height: auto; display: flex; flex-direction: row; align-items: stretch; gap: 8px; }
body.mm-store .product-card__offer-actions > div:first-child { flex: 1; }
body.mm-store .product-card__offer-actions > div:last-child:not(:first-child) { flex: 0 0 44px; }
body.mm-store .product-card__offer-actions .btn { min-height: 44px; }
body.mm-store .product-card__offer-actions .btn svg { flex-shrink: 0; width: 20px; }
body.mm-store .product-card__availability { margin-bottom: 3px; color: #6a5428; font-size: 12px; text-align: right; }
body.mm-store .product-card__availability.is-available { color: #24734e; white-space: nowrap; }
body.mm-store .category-sorting { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
body.mm-store .category-sorting .btn { padding: 10px 14px; border: 1px solid #dce4ec; }
body.mm-store .category-sorting .btn-primary { border-color: #0055ad; }
body.mm-store .category-tag-list { margin: 8px 0 24px; }
body.mm-store .category-tag-list__categories { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
body.mm-store .category-tag-list__categories__item { margin: 0; }
body.mm-store .category-tag-list .btn { padding: 9px 12px; border: 1px solid #dce4ec; background: #f4f7fa; text-align: left; }
body.mm-store .category-tag-list .btn-primary { background: #0055ad; border-color: #0055ad; }
body.mm-store .category-products-filter { border: 1px solid #dce4ec; border-radius: 12px; padding: 24px; background: #f4f7fa; }
body.mm-store .category-products-filter__options { max-height: 60dvh; overflow-y: auto; scrollbar-gutter: stable; margin-bottom: 16px; padding-right: 4px; }
@media (min-width: 992px) {
    body.mm-store .category-products-filter { position: sticky; top: 20px; }
    body.mm-store .category-products-filter__options { max-height: calc(100dvh - 160px); }
}
body.mm-store .category-products-filter__property { padding: 22px 0; border-bottom: 1px solid #dce4ec; margin: 0 0 4px; }
body.mm-store .category-products-filter__property__headline { color: #1a2f44; font-weight: 550; }
body.mm-store .category-products-filter__property__checkbox { margin-top: 8px; padding-left: 0; }
body.mm-store .category-products-filter__property__checkbox label { position: relative; inset: auto; min-height: 1.75rem; padding: 4px 10px 4px 25px; }
body.mm-store .category-products-filter__property__checkbox label span { min-width: 0; white-space: normal; overflow-wrap: anywhere; }
body.mm-store .category-products-filter .btn-expand { margin-top: 10px; color: #0055ad; }
body.mm-store .category-description { max-width: 1100px; margin-top: 56px; font-size: 16px; line-height: 1.65; }
body.mm-store #paginationWrap .pagination { padding-top: 32px; }
body.mm-store .product-page__slider { padding: 0; border: 1px solid #dce4ec; background: #fff; border-radius: 14px; }
body.mm-store .product-page__slider .swiper-slide { display: flex; align-items: center; justify-content: center; padding: 20px; }
body.mm-store .product-page__slider .swiper-slide picture { display: block; width: 100%; aspect-ratio: 1; }
body.mm-store .product-page__slider .swiper-slide img { width: 100%; height: 100%; max-height: 540px; object-fit: contain; }
body.mm-store .product-page__slider_thumbs { margin-bottom: 24px; }
body.mm-store .product-page__slider_thumbs img { width: 75px; height: 75px; object-fit: contain; }
body.mm-store .product-page__information { margin-bottom: 12px; }
body.mm-store .product-page__information-meta { flex-wrap: wrap; gap: 8px 14px; color: #5c6d7e; }
body.mm-store .product-page__information-meta .reviews { display: flex; align-items: center; gap: 8px; }
body.mm-store .product-page__information-meta__item::after { display: none; }
body.mm-store .product-page__picker .item__title { font-size: 15px; font-weight: 550; margin-bottom: 10px; }
body.mm-store .product-page__picker-option { padding: 10px 14px; border: 1px solid #dce4ec; background: #fff; }
body.mm-store .product-page__picker-option--active { background: #0055ad; border-color: #0055ad; color: #fff; }
body.mm-store .product-page__picker-option--ghosted { opacity: 1; color: #647587; border-style: dashed; }
body.mm-store .product-page__offer { max-width: 700px; padding: 26px; border: 1px solid #c6d8ec; background: #f4f7fa; border-radius: 12px; }
body.mm-store .product-page__offer .price-block__price-new { font-size: 32px; font-weight: 650; }
body.mm-store .product-page__offer-information__availability-chip.unavailable { color: #785e2f; }
body.mm-store .product-page__offer-actions__primary { gap: 12px; }
body.mm-store .product-page__offer-actions__primary > *:first-child { width: auto; flex: 1; }
body.mm-store .product-page__offer-actions__primary > *:last-child { width: 48px; }
body.mm-store .product-page__offer-actions .btn { min-height: 48px; }
body.mm-store .product-page__characteristics, body.mm-store .product-page__details { border-radius: 12px; background: #f4f7fa; padding: 24px; }
body.mm-store .product-page__details .product-page__details { padding: 0; }
body.mm-store .product-page__details-content { max-width: 1100px; white-space: normal !important; line-height: 1.65; }
body.mm-store .product-page__details-content.legacy-product-description { white-space: pre-line !important; }
body.mm-store .legacy-product-description :is(p, div, ul, ol, li, h1, h2, h3, h4, h5, h6, table) { white-space: normal !important; }
body.mm-store .product-page__details-content img { max-width: 100%; height: auto; }
body.mm-store .product-page__details-characteristics__item { gap: 24px; padding: 14px 0; border-bottom: 1px solid #dce4ec; }
body.mm-store #productDetails { gap: 8px; margin: 30px 0 20px !important; padding-bottom: 12px; border-bottom: 1px solid #dce4ec; }
body.mm-store #productDetails .nav-link { color: #0055ad; padding: 12px 18px; border: 1px solid #dce4ec; border-radius: 8px; background: white; }
body.mm-store #productDetails .nav-link.active { background: #0055ad; color: white; border-color: #0055ad; }
body.mm-store .reviews .review, body.mm-store .reviews .review-card { background: white; border-radius: 12px; padding: 24px; }
body.mm-store .review__card-header { flex-wrap: wrap; gap: 8px 16px; }
body.mm-store .review__card-header__author { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
body.mm-store .review__card-header__author img { flex-shrink: 0; }
body.mm-store .review__card-header > .d-flex { flex-wrap: wrap; }
body.mm-store .cart-page .checkout-step { border: 1px solid #dce4ec; border-radius: 12px; overflow: hidden; background: #fff; margin: 0 0 24px; padding: 0; }
body.mm-store .cart-page .checkout-step::before, body.mm-store .cart-page .checkout-step::after { display: none; }
body.mm-store .checkout-step__header { margin: 0; padding: 22px 26px; background: #f4f7fa; border-bottom: 1px solid #dce4ec; }
body.mm-store .checkout-step__header-title { font-size: 22px; font-weight: 550; }
body.mm-store .checkout-step__header-caption { display: block; margin-top: 5px; color: #5c6d7e; }
body.mm-store .checkout-step__body { padding: 26px; }
body.mm-store .cart-position { padding: 22px 0; background: white; border-bottom: 1px solid #dce4ec; border-radius: 0; }
body.mm-store .cart-position:first-child { padding-top: 0; }
body.mm-store .cart-position:last-child { border-bottom: 0; padding-bottom: 0; }
body.mm-store .cart-position__logo img { width: 86px; height: 86px; object-fit: contain; }
body.mm-store .cart-position .top__title-name { font-weight: 550; }
body.mm-store .cart-position .price-block__price-new { font-size: 20px; }
body.mm-store .cart-totals { padding: 24px !important; background: #f4f7fa; border: 1px solid #c6d8ec; border-radius: 12px; }
body.mm-store .cart-radio-list .radio-card { border-color: #dce4ec; border-radius: 10px; }
body.mm-store .wishlist-buttons { flex-wrap: wrap; gap: 10px; }
body.mm-store .wishlist-page .bg-light { padding: 0 !important; background: transparent !important; }
body.mm-store .wishlist-page .bg-light > .row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; }
body.mm-store .wishlist-page .bg-light > .row > div { width: 100%; padding: 0; margin: 0 !important; }
body.mm-store .search-form__products .product-card { flex-direction: row; gap: 16px; margin-top: 12px; padding: 16px; }
body.mm-store .search-form__products .product-card__information { flex-direction: row; align-items: center; width: 65%; gap: 14px; }
body.mm-store .search-form__products .product-card__information-image { width: 90px; min-width: 90px; aspect-ratio: 1; }
body.mm-store .search-form__products .product-card__information-name { min-height: 0; font-size: 15px; }
body.mm-store .search-form__products .product-card__offer { width: 35%; margin: 0; justify-content: center; }
body.mm-store .search-form__products .product-card__offer-actions .btn-action span { padding: 0 4px; }
body.mm-store .search-form__products .product-card .price-block__price-new { font-size: 20px; }
body.mm-store .brand-page__categories { border: 1px solid #dce4ec; padding: 24px; border-radius: 12px; background: #f4f7fa; }
@media (min-width: 1600px) { body.mm-store #productCollectionWrap { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 1199px) { body.mm-store #productCollectionWrap { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 991px) {
    body.mm-store #productCollectionWrap, body.mm-store .mm-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
    body.mm-store .product-page__offer { max-width: none; }
    body.mm-store .category-products-filter { margin-bottom: 24px; }
}
@media (min-width: 801px) and (max-width: 1399px) {
    body.mm-store #productCollectionWrap, body.mm-store .mm-product-grid, body.mm-store .mm-popular-grid, body.mm-store .wishlist-page .bg-light > .row { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
}
@media (max-width: 800px) {
    body.mm-store #productCollectionWrap, body.mm-store .mm-product-grid, body.mm-store .mm-popular-grid, body.mm-store .wishlist-page .bg-light > .row { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 12px; }
    body.mm-store .product-card { gap: 12px; padding: 12px; border-radius: 10px; }
    body.mm-store .product-card__information { gap: 12px; }
    body.mm-store .product-card__information-name { font-size: 14px; }
    body.mm-store .product-card .price-block__price-new { font-size: 18px; }
    body.mm-store .product-card__offer-actions { flex-wrap: wrap; gap: 6px; }
    body.mm-store .product-card__offer-actions .btn-action span { padding: 0 6px; }
    body.mm-store .product-card__offer-actions > div:first-child { flex: 1 1 calc(100% - 50px); }
    body.mm-store .product-page__slider .swiper-slide { padding: 12px; }
    body.mm-store .product-page__offer, body.mm-store .product-page__details, body.mm-store .checkout-step__body { padding: 20px; }
    body.mm-store .checkout-step__header { padding: 18px 20px; }
    body.mm-store .search-form__products .product-card { flex-direction: column; }
    body.mm-store .search-form__products .product-card__information, body.mm-store .search-form__products .product-card__offer { width: 100%; }
    body.mm-store .search-form__products .product-card__offer { padding-left: 104px; }
}
@media (max-width: 430px) {
    body.mm-store .product-card { padding: 18px; }
    body.mm-store .product-card__information-image { aspect-ratio: 1.5; }
    body.mm-store .product-card__information-name { min-height: 0; font-size: 16px; }
    body.mm-store .product-card__offer-actions { flex-wrap: nowrap; }
    body.mm-store .product-page__information-meta { font-size: 13px; }
    body.mm-store .search-form__products .product-card__offer { padding-left: 0; }
}
@media print { body.mm-store .wishlist-page .bg-light > .row { display: block; } body.mm-store .wishlist-page .product-card { break-inside: avoid; height: auto; margin-bottom: 12px; } }

body.mm-store :is(.mm-popular-grid,.mm-category-page,.mm-product-upsell) .product-card{padding:0;overflow:hidden}
body.mm-store :is(.mm-popular-grid,.mm-category-page,.mm-product-upsell) .product-card__information-image{border-radius:0;aspect-ratio:1}
body.mm-store :is(.mm-popular-grid,.mm-category-page,.mm-product-upsell) .product-card__information-image img{width:100%;height:100%;max-height:none;object-fit:contain}
body.mm-store :is(.mm-popular-grid,.mm-category-page,.mm-product-upsell) .product-card__information>span{padding-inline:18px}
body.mm-store :is(.mm-popular-grid,.mm-category-page,.mm-product-upsell) .product-card__offer{padding:0 18px 18px}
body.mm-store .mm-products-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:24px}
body.mm-store .mm-products-heading .section__title{margin:0}
body.mm-store .mm-products-navigation{display:flex;gap:8px;flex-shrink:0}
body.mm-store .mm-products-navigation button{display:grid;place-items:center;width:44px;height:44px;border-radius:8px;background:#edf4fc;color:#0055ad}
body.mm-store .mm-products-navigation button:not(:disabled):hover{background:#0055ad;color:#fff}
body.mm-store .mm-products-navigation svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2}
body.mm-store .mm-products-prev svg{transform:rotate(180deg)}
body.mm-store .mm-upsell-products{overflow:hidden}
body.mm-store .mm-upsell-product{height:auto;min-width:0}
body.mm-store .mm-products-pagination{text-align:center;margin-top:20px;--swiper-pagination-color:#0055ad;--swiper-pagination-bullet-size:10px;--swiper-pagination-bullet-horizontal-gap:6px}
@media(max-width:575px){body.mm-store .mm-products-heading{align-items:flex-start;gap:16px}body.mm-store .mm-products-heading .section__title{font-size:24px}}
