/* Theme editor and future marketplace-specific overrides are loaded here. */

.mm-header-action-icon b {
    top: -8px;
    right: -8px;
    display: grid;
    min-width: 22px;
    height: 22px;
    padding: 0 5px;
    place-items: center;
    border: 2px solid #fff;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
}

.mm-product-actions a[aria-busy="true"] {
    opacity: .55;
    pointer-events: none;
}

.mm-dual-banner-section { padding: 0 0 20px; }
.mm-dual-banner-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.mm-dual-banner { position:relative; display:flex; align-items:center; min-height:145px; overflow:hidden; padding:22px 25px; border-radius:14px; color:#fff; background-color:#101b2d; text-decoration:none; isolation:isolate; }
.mm-dual-banner-home { background-color:#970d35; }
.mm-dual-banner::after { content:""; position:absolute; z-index:3; top:-90%; left:-45%; width:24%; height:280%; background:linear-gradient(90deg,transparent,rgba(255,255,255,.42),transparent); transform:rotate(20deg); transition:left .7s ease; }
.mm-dual-banner:hover::after { left:130%; }
.mm-dual-banner-copy { position:relative; z-index:2; display:flex; width:55%; flex-direction:column; align-items:flex-start; }
.mm-dual-banner-copy small { font-size:10px; font-weight:700; letter-spacing:1px; text-transform:uppercase; }
.mm-dual-banner-copy strong { margin-top:5px; font-size:23px; line-height:1.08; }
.mm-dual-banner-button { display:inline-flex; align-items:center; gap:4px; margin-top:13px; padding:7px 12px; border-radius:18px; color:#172033; background:#fff; font-size:10px; font-weight:800; }
.mm-dual-banner > img { position:absolute; z-index:1; right:0; width:52%; height:100%; object-fit:cover; transition:transform .45s ease; }
.mm-dual-banner:hover > img { transform:scale(1.06); }
@media(max-width:800px){.mm-dual-banner-grid{grid-template-columns:1fr}}
@media(max-width:520px){.mm-dual-banner{min-height:125px;padding:17px}.mm-dual-banner-copy strong{font-size:18px}}

body:has(.mm-header) #quickViewModal .modal-dialog {
    max-width: 820px;
}

body:has(.mm-header) #quickViewModal .modal-content {
    overflow: hidden;
    border: 0;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(31, 20, 38, .24);
}

body:has(.mm-header) #quickViewModal .modal-header {
    min-height: 42px;
    padding: 0;
    border: 0;
}

body:has(.mm-header) #quickViewModal .modal-header .btn-close {
    position: absolute;
    z-index: 5;
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    padding: 0;
    border-radius: 50%;
    background-color: #f4edf3;
    background-size: 11px;
    opacity: 1;
}

body:has(.mm-header) #quickViewModal .modal-body {
    padding: 0 24px 26px;
}

body:has(.mm-header) #quickViewModal .quick-view-banner-wrap {
    flex: 0 0 350px;
    width: 350px;
    min-height: 440px;
    overflow: hidden;
    border-radius: 14px;
    background: #f4f6f9;
}

body:has(.mm-header) #quickViewModal .quick-view-banner-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body:has(.mm-header) #quickViewModal h3 {
    margin: 5px 0 14px;
    color: var(--mm-text);
    font-size: 22px;
    font-weight: 800;
}

body:has(.mm-header) #quickViewModal .circle-iconbox-24px {
    display: grid;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    place-items: center;
    border: 1px solid var(--mm-line);
    border-radius: 50%;
    background: #fff;
}

body:has(.mm-header) #quickViewModal .quantity-input-wrap {
    width: max-content;
    overflow: hidden;
    border: 1px solid #dfe3e8;
    border-radius: 9px;
}

body:has(.mm-header) #quickViewModal .quantity-btn {
    width: 38px;
    height: 38px;
    border: 0;
    background: #f6f7f9;
}

body:has(.mm-header) #quickViewModal .quantity-of-product {
    width: 45px;
    border: 0;
    text-align: center;
}

body:has(.mm-header) #quickViewModal .fsh-sm-btn-dark,
body:has(.mm-header) #quickViewModal .fsh-sm-btn-warning {
    min-height: 46px;
    border: 0;
    border-radius: 10px;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
}

body:has(.mm-header) #quickViewModal .fsh-sm-btn-dark {
    background: var(--mm-primary);
}

body:has(.mm-header) #quickViewModal .fsh-sm-btn-warning {
    background: var(--mm-accent);
}

/* Match the shared frontend toaster used by the other themes. */
body:has(.mm-header) .toast-container {
    z-index: 1100;
}

body:has(.mm-header) .toast-container .toast {
    overflow: hidden;
    border: 0;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(24, 31, 44, .18);
}

body:has(.mm-header) .toast-container .toast-header {
    color: #fff;
    border: 0;
    border-radius: 8px 8px 0 0;
}

body:has(.mm-header) .toast-container .toast-body {
    padding: 0 14px 14px;
    color: #fff;
    border-radius: 0 0 8px 8px;
}

body:has(.mm-header) .toast-container .toast-header .btn-close {
    width: 20px;
    height: 10px;
    padding: 0 1px;
    filter: invert(1);
}

body:has(.mm-header) .toast-container .toast.success .toast-header,
body:has(.mm-header) .toast-container .toast.success .toast-body {
    width: 100%;
    background-color: #13a96c;
}

body:has(.mm-header) .toast-container .toast.warning .toast-header,
body:has(.mm-header) .toast-container .toast.warning .toast-body {
    background-color: rgb(229 153 40);
}

body:has(.mm-header) .toast-container .toast.error .toast-header,
body:has(.mm-header) .toast-container .toast.error .toast-body {
    background-color: rgb(255 85 119);
}

@media (max-width: 991px) {
    body:has(.mm-header) #quickViewModal .quick-view-banner-wrap {
        flex-basis: auto;
        width: 100%;
        height: 360px;
        min-height: 0;
    }
}

@media (max-width: 575px) {
    body:has(.mm-header) #quickViewModal .modal-dialog {
        margin: 10px;
    }

    body:has(.mm-header) #quickViewModal .modal-body {
        padding: 0 15px 18px;
    }

    body:has(.mm-header) #quickViewModal .quick-view-banner-wrap {
        height: 290px;
    }
}

/* Wider storefront layout and responsive refinements. */
body:has(.mm-header) {
    overflow-x: hidden;
}

body:has(.mm-header) .container {
    width: calc(100% - 48px);
    max-width: 1600px;
}

body:has(.mm-header) .mm-hero-grid {
    grid-template-columns: minmax(0, 3.15fr) minmax(260px, 1fr);
    gap: 22px;
}

body:has(.mm-header) .mm-hero-slide,
body:has(.mm-header) .mm-side-banner {
    min-height: 380px;
}

body:has(.mm-header) .mm-hero-slide {
    height: 380px;
}

body:has(.mm-header) .mm-category-scroll {
    gap: clamp(20px, 2.4vw, 42px);
    scroll-snap-type: x proximity;
}

body:has(.mm-header) .mm-category-item {
    flex-basis: 122px;
    scroll-snap-align: start;
}

body:has(.mm-header) .mm-category-item span {
    width: 112px;
    height: 112px;
}

/* Keep uploaded three-column campaign banners fully visible. */
body:has(.mm-header) .mm-campaign-card img {
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

body:has(.mm-header) .mm-campaign-card:hover img {
    transform: none;
    filter: saturate(1.08);
}

/* Optional Page Builder blocks made entirely from uploaded banner images. */
.mm-image-banner-section { padding: 14px 0; }
.mm-image-banner-grid { display: grid; gap: 20px; }
.mm-image-banner-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mm-image-banner-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mm-image-banner-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mm-image-banner-link { display: block; overflow: hidden; border-radius: 12px; background: #f4f5f8; box-shadow: 0 8px 22px rgba(25, 35, 55, .08); }
.mm-image-banner-link img { display: block; width: 100%; height: auto; transition: transform .35s ease, filter .35s ease; }
.mm-image-banner-link:hover img { transform: scale(1.015); filter: saturate(1.08); }

/* Product showcase layouts inspired by the original marketplace theme. */
.mm-popular-layout {
    display: grid;
    grid-template-columns: minmax(280px, 1.08fr) minmax(0, 2.92fr);
    align-items: start;
    gap: 22px;
}

.mm-popular-banner {
    display: block;
    align-self: start;
    overflow: hidden;
    padding: 3px;
    border-radius: 14px;
    background: linear-gradient(145deg, #f8f3f7, #f4f5f8);
}

.mm-popular-banner img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 580px;
    object-fit: contain;
    object-position: center;
    border-radius: 10px;
    transition: filter .35s ease;
}

.mm-popular-banner:hover img {
    filter: saturate(1.05);
}

.mm-product-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: 0 3px 8px;
}

.mm-product-slider .swiper-wrapper {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-behavior: smooth;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
}

.mm-product-slider .swiper-wrapper::-webkit-scrollbar {
    display: none;
}

.mm-product-slider .swiper-slide {
    display: flex;
    flex: 0 0 calc((100% - 54px) / 4);
    height: auto;
    min-width: 0;
    scroll-snap-align: start;
}

.mm-product-slider .mm-product-card {
    width: 100%;
}

.mm-product-slider .mm-product-image {
    height: auto;
    aspect-ratio: 4 / 5;
}

.mm-slider-button {
    position: absolute;
    z-index: 6;
    top: 42%;
    margin: 0;
    width: 42px;
    height: 42px;
    border: 1px solid var(--mm-line);
    border-radius: 50%;
    color: var(--mm-text);
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 7px 20px rgba(25, 35, 55, .14);
}

.mm-slider-prev { left: 10px; }
.mm-slider-next { right: 10px; }

.mm-slider-button::after {
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
}

.mm-slider-prev::after { margin-left: 4px; transform: rotate(-135deg); }
.mm-slider-next::after { margin-right: 4px; transform: rotate(45deg); }

.mm-slider-button:hover {
    color: #fff;
    border-color: var(--mm-primary);
    background: var(--mm-primary);
}

.mm-compact-product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px 22px;
}

.mm-compact-product-card {
    position: relative;
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    min-height: 142px;
    overflow: hidden;
    border: 1px solid var(--mm-line);
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 7px 20px rgba(25, 35, 55, .06);
    transition: transform .25s ease, box-shadow .25s ease;
}

.mm-compact-product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 13px 28px rgba(25, 35, 55, .12);
}

.mm-compact-product-image,
.mm-compact-product-image img {
    display: block;
    width: 100%;
    height: 100%;
}

.mm-compact-product-image img {
    object-fit: cover;
}

.mm-compact-product-body {
    display: flex;
    min-width: 0;
    padding: 20px 40px 17px 16px;
    flex-direction: column;
    justify-content: center;
}

.mm-compact-product-title {
    display: -webkit-box;
    overflow: hidden;
    margin-bottom: 10px;
    color: var(--mm-text);
    font-size: 13px;
    font-weight: 750;
    line-height: 1.4;
    text-decoration: none;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.mm-compact-product-body del {
    color: #98a2b3;
    font-size: 11px;
}

.mm-compact-product-body strong {
    color: var(--mm-green);
    font-size: 15px;
}

.mm-compact-product-discount {
    position: absolute;
    right: 10px;
    bottom: 12px;
    padding: 5px 7px;
    border-radius: 5px;
    color: #fff;
    background: #c92245;
    font-size: 9px;
    font-weight: 800;
}

.mm-compact-product-actions {
    position: absolute;
    top: 8px;
    right: 8px;
    display: flex;
    gap: 5px;
    opacity: 0;
    transition: opacity .2s ease;
}

.mm-compact-product-card:hover .mm-compact-product-actions {
    opacity: 1;
}

.mm-compact-product-actions a {
    display: grid !important;
    position: static !important;
    width: 28px !important;
    height: 28px !important;
    padding: 0 !important;
    place-items: center;
    border: 1px solid var(--mm-line) !important;
    border-radius: 50% !important;
    color: var(--mm-text) !important;
    background: #fff !important;
    text-decoration: none;
}

.mm-compact-product-actions svg {
    display: block;
    width: 15px;
    height: 15px;
}

.mm-compact-product-actions a:hover,
.mm-compact-product-actions a.active {
    color: #fff !important;
    border-color: var(--mm-primary) !important;
    background: var(--mm-primary) !important;
}

@media (min-width: 1400px) {
    body:has(.mm-header) .mm-product-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 20px;
    }

    body:has(.mm-header) .mm-product-image {
        height: auto;
        aspect-ratio: 4 / 5;
    }

    body:has(.mm-header) .mm-dual-banner-grid {
        gap: 22px;
    }
}

@media (max-width: 1100px) {
    body:has(.mm-header) .container {
        width: calc(100% - 32px);
    }

    body:has(.mm-header) .mm-hero-grid {
        grid-template-columns: minmax(0, 2.5fr) minmax(210px, 1fr);
        gap: 16px;
    }

    body:has(.mm-header) .mm-hero-slide,
    body:has(.mm-header) .mm-side-banner {
        min-height: 300px;
    }

    body:has(.mm-header) .mm-hero-slide {
        height: 300px;
    }
}

@media (max-width: 800px) {
    body:has(.mm-header) .container {
        width: calc(100% - 24px);
    }

    body:has(.mm-header) .mm-category-showcase {
        padding-block: 18px;
    }

    body:has(.mm-header) .mm-category-scroll {
        gap: 14px;
        padding-bottom: 6px;
        scroll-snap-type: x mandatory;
    }

    body:has(.mm-header) .mm-category-item {
        flex-basis: 96px;
    }

    body:has(.mm-header) .mm-category-item span {
        width: 88px;
        height: 88px;
    }

    body:has(.mm-header) .mm-hero-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    body:has(.mm-header) .mm-hero-slide,
    body:has(.mm-header) .mm-side-banner {
        width: 100%;
        height: auto;
        min-height: 0;
    }

    body:has(.mm-header) .mm-hero-slide {
        aspect-ratio: 16 / 8;
    }

    body:has(.mm-header) .mm-side-banner {
        aspect-ratio: 16 / 7;
    }

    body:has(.mm-header) .mm-product-grid {
        gap: 12px;
    }

    body:has(.mm-header) .mm-product-image {
        height: auto;
        aspect-ratio: 4 / 5;
    }

    body:has(.mm-header) .mm-product-body {
        padding: 12px;
    }

    body:has(.mm-header) .mm-dual-banner-grid {
        gap: 12px;
    }

    .mm-image-banner-grid-3,
    .mm-image-banner-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }

    .mm-popular-layout { grid-template-columns: minmax(220px, .92fr) minmax(0, 2.08fr); gap: 14px; }
    .mm-compact-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .mm-product-slider .swiper-wrapper { gap: 12px; }
    .mm-product-slider .swiper-slide { flex-basis: calc((100% - 24px) / 3); }
}

@media (max-width: 520px) {
    body:has(.mm-header) .container {
        width: calc(100% - 20px);
    }

    body:has(.mm-header) .mm-header-main {
        padding-inline: 0;
    }

    body:has(.mm-header) .mm-hero-section,
    body:has(.mm-header) .mm-section {
        padding-block: 18px;
    }

    body:has(.mm-header) .mm-hero-slide {
        aspect-ratio: 16 / 9;
    }

    body:has(.mm-header) .mm-side-banner {
        aspect-ratio: 16 / 8;
    }

    body:has(.mm-header) .mm-product-grid {
        gap: 9px;
    }

    body:has(.mm-header) .mm-product-body {
        padding: 9px;
    }

    body:has(.mm-header) .mm-product-title {
        font-size: 12px;
        line-height: 1.4;
    }

    body:has(.mm-header) .mm-dual-banner {
        min-height: 120px;
    }

    .mm-image-banner-grid-2,
    .mm-image-banner-grid-3,
    .mm-image-banner-grid-4 { grid-template-columns: 1fr; gap: 10px; }

    .mm-popular-layout { grid-template-columns: 1fr; }
    .mm-popular-banner { width: min(100%, 480px); }
    .mm-product-slider .swiper-wrapper { gap: 10px; }
    .mm-product-slider .swiper-slide { flex-basis: calc((100% - 10px) / 2); }
    .mm-slider-button { width: 36px; height: 36px; }
    .mm-compact-product-grid { grid-template-columns: 1fr; gap: 10px; }
    .mm-compact-product-card { grid-template-columns: 105px minmax(0, 1fr); min-height: 132px; }
    .mm-compact-product-actions { opacity: 1; }
}
/* Modern Magaza reference layout */
body:has(.mm-header){--mm-primary:#ff6b2c;--mm-accent:#ff6b2c;--mm-green:#ff6b2c;background:#fff;color:#292929}
body:has(.mm-header) .container{max-width:1120px}
body:has(.mm-header) .mm-topbar{background:#fafafa}
body:has(.mm-header) .mm-header-main{grid-template-columns:180px minmax(320px,1fr) auto;padding-top:12px;padding-bottom:12px}
body:has(.mm-header) .mm-search{height:42px;border:1px solid #e6e6e6;border-radius:4px}
body:has(.mm-header) .mm-search button{color:#777;background:#fff}
body:has(.mm-header) .mm-header-action-icon{color:#555;background:transparent}
body:has(.mm-header) .mm-nav{border-top:1px solid #eee;border-bottom:1px solid #eee;background:#fff}
body:has(.mm-header) .mm-nav a,body:has(.mm-header) .mm-all-categories{padding:11px 12px;color:#333;background:#fff;font-size:12px}
body:has(.mm-header) .mm-nav-deal{color:#ff6b2c!important}
body:has(.mm-header) .mm-category-section{padding:15px 0 5px}
body:has(.mm-header) .mm-category-scroll{justify-content:center;gap:18px}
body:has(.mm-header) .mm-category-item{flex-basis:78px;font-size:10px}
body:has(.mm-header) .mm-category-item span{width:62px;height:62px;margin-bottom:6px;padding:3px;border:2px solid #ff6b2c;box-shadow:none}
body:has(.mm-header) .mm-hero-section{padding:10px 0 12px}
body:has(.mm-header) .mm-hero-grid{grid-template-columns:minmax(0,2.25fr) minmax(240px,1fr);gap:14px}
body:has(.mm-header) .mm-hero-carousel,body:has(.mm-header) .mm-side-banner{border-radius:9px}
body:has(.mm-header) .mm-hero-slide{height:310px;background:#f6f0ed}
body:has(.mm-header) .mm-side-banner{min-height:148px}
body:has(.mm-header) .mm-side-banner-stack{display:grid;gap:14px}
body:has(.mm-header) .mm-dual-banner-section{padding:0 0 8px}
body:has(.mm-header) .mm-dual-banner-grid{grid-template-columns:repeat(2,1fr)}
body:has(.mm-header) .mm-dual-banner{min-height:130px;border-radius:8px}
body:has(.mm-header) .mm-section{padding:22px 0}
body:has(.mm-header) .mm-section-heading-centered{display:block;text-align:center}
body:has(.mm-header) .mm-section-heading-centered h2{margin:0;font-size:22px}
body:has(.mm-header) .mm-section-heading-centered p{margin:4px 0 0;color:#777;font-size:11px}
body:has(.mm-header) .mm-product-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}
body:has(.mm-header) .mm-product-card{border-radius:8px;box-shadow:none}
body:has(.mm-header) .mm-product-image{height:240px}
body:has(.mm-header) .mm-product-body{padding:9px 8px 12px}
body:has(.mm-header) .mm-product-title{min-height:34px;font-size:11px;font-weight:500}
body:has(.mm-header) .mm-product-body strong{color:#333;font-size:13px}
body:has(.mm-header) .mm-benefits-section{margin-top:20px;padding:20px 0;background:#fff}
body:has(.mm-header) .mm-benefits-grid{grid-template-columns:repeat(3,1fr)}
body:has(.mm-header) .mm-benefit-card{min-height:78px;border:0;box-shadow:none}
body:has(.mm-header) .mm-newsletter{border-radius:0;background:#ffd4c5;color:#333;text-align:center}
body:has(.mm-header) .mm-newsletter-form button{background:#ff6b2c}
@media(max-width:1100px){body:has(.mm-header) .mm-product-grid{grid-template-columns:repeat(4,1fr)}}
@media(max-width:800px){body:has(.mm-header) .mm-product-grid{grid-template-columns:repeat(2,1fr)}body:has(.mm-header) .mm-hero-grid{grid-template-columns:1fr}body:has(.mm-header) .mm-side-banner-stack{grid-template-columns:1fr 1fr}body:has(.mm-header) .mm-benefits-grid{grid-template-columns:1fr}}

/* Final reference alignment */
body:has(.mm-header) .container{width:min(calc(100% - 32px),1180px);max-width:1180px}
body:has(.mm-header) .mm-header-main{grid-template-columns:190px minmax(360px,1fr) auto;gap:18px}
body:has(.mm-header) .mm-header-actions{gap:4px}
body:has(.mm-header) .mm-header-action{padding:4px!important}
body:has(.mm-header) .mm-nav-inner{justify-content:center;gap:5px}
body:has(.mm-header) .mm-category-scroll{justify-content:flex-start;gap:17px}
body:has(.mm-header) .mm-category-item{flex:1 0 82px;max-width:92px}
body:has(.mm-header) .mm-hero-grid{grid-template-columns:minmax(0,2fr) minmax(280px,.9fr);align-items:stretch}
body:has(.mm-header) .mm-hero-slide{height:350px}
body:has(.mm-header) .mm-side-banner-stack{display:grid;grid-template-rows:1fr 1fr;gap:14px}
body:has(.mm-header) .mm-side-banner{position:relative;min-height:0;height:168px;background:#f7eeee}
body:has(.mm-header) .mm-side-banner img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
body:has(.mm-header) .mm-side-banner span{position:absolute;z-index:2;left:18px;top:22px;display:flex;width:48%;flex-direction:column;color:#222}
body:has(.mm-header) .mm-side-banner small{color:#ff6b2c;font-size:10px}
body:has(.mm-header) .mm-side-banner strong{margin-top:6px;font-size:17px;line-height:1.15}
.mm-featured-categories{padding:4px 0 18px}
.mm-centered-title{margin:0 0 14px;text-align:center;font-size:22px}
.mm-featured-category-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:12px}
.mm-featured-category-card{display:flex;min-height:112px;padding:12px 8px;align-items:center;justify-content:center;flex-direction:column;border:1px solid #ececec;border-radius:7px;color:#333;background:#fff;text-align:center;text-decoration:none}
.mm-featured-category-card img{width:58px;height:58px;object-fit:contain}
.mm-featured-category-card strong{margin-top:8px;font-size:11px}
body:has(.mm-header) .mm-section{padding:24px 0}
body:has(.mm-header) .mm-section-heading{margin-bottom:15px}
body:has(.mm-header) .mm-section-heading-centered h2{font-size:21px;font-weight:700}
body:has(.mm-header) .mm-product-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}
body:has(.mm-header) .mm-product-slider .swiper-slide{flex-basis:calc((100% - 64px)/5)}
body:has(.mm-header) .mm-product-card{height:100%}
body:has(.mm-header) .mm-product-image{height:auto;aspect-ratio:4/5;background:#f7f7f7}
body:has(.mm-header) .mm-product-image img{object-fit:cover}
body:has(.mm-header) .mm-product-rating{color:#ffb400}
body:has(.mm-header) .mm-product-label,body:has(.mm-header) .mm-product-discount{background:#ff6b2c}
body:has(.mm-header) .mm-compact-product-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
body:has(.mm-header) .mm-benefits-grid{grid-template-columns:repeat(4,1fr)}
body:has(.mm-header) .mm-benefit-card{border:1px solid #eef0ee;border-radius:8px;background:#f5fff9}
body:has(.mm-header) .mm-newsletter-section{padding-top:16px;background:#ffd4c5}
body:has(.mm-header) .mm-newsletter{max-width:900px;margin:auto;padding:20px 0;background:transparent}
body:has(.mm-header) .mm-footer{padding-top:30px}
@media(max-width:1100px){body:has(.mm-header) .mm-header-main{grid-template-columns:160px 1fr}.mm-featured-category-grid{grid-template-columns:repeat(4,1fr)}body:has(.mm-header) .mm-product-grid{grid-template-columns:repeat(4,1fr)}body:has(.mm-header) .mm-product-slider .swiper-slide{flex-basis:calc((100% - 48px)/4)}}
@media(max-width:800px){body:has(.mm-header) .mm-side-banner-stack{grid-template-columns:1fr 1fr;grid-template-rows:auto}.mm-featured-category-grid{display:flex;overflow-x:auto}.mm-featured-category-card{flex:0 0 130px}body:has(.mm-header) .mm-product-slider .swiper-slide{flex-basis:calc((100% - 12px)/2)}body:has(.mm-header) .mm-compact-product-grid{grid-template-columns:repeat(2,1fr)}}

/* Wide desktop storefront */
@media(min-width:1200px){
body:has(.mm-header) .container{width:min(calc(100% - 48px),1440px);max-width:1440px}
body:has(.mm-header) .mm-header-main{grid-template-columns:230px minmax(420px,1fr) auto;padding-top:14px;padding-bottom:14px}
body:has(.mm-header) .mm-logo img{max-width:205px;max-height:58px}
body:has(.mm-header) .mm-search{height:48px}
body:has(.mm-header) .mm-nav-inner{justify-content:flex-start}
body:has(.mm-header) .mm-nav a{padding:13px 18px;font-size:14px}
body:has(.mm-header) .mm-category-scroll{justify-content:space-between;gap:14px;padding-top:12px}
body:has(.mm-header) .mm-category-item{flex:0 1 110px;max-width:110px;font-size:12px}
body:has(.mm-header) .mm-category-item span{width:82px;height:82px}
body:has(.mm-header) .mm-hero-grid{grid-template-columns:minmax(0,2.2fr) minmax(360px,1fr);gap:24px}
body:has(.mm-header) .mm-hero-slide{height:450px}
body:has(.mm-header) .mm-side-banner{height:213px}
body:has(.mm-header) .mm-hero-copy{left:64px;width:46%;color:#111}
body:has(.mm-header) .mm-hero-copy>span{color:#ff5f28;font-size:14px}
body:has(.mm-header) .mm-hero-copy h1,body:has(.mm-header) .mm-hero-copy h2{color:#f15b28;font-size:46px;line-height:1.08}
body:has(.mm-header) .mm-hero-copy p{color:#111;font-size:17px;font-weight:600;line-height:1.55}
body:has(.mm-header) .mm-hero-copy a{padding:13px 32px;border-radius:8px;color:#ff5f28;box-shadow:0 2px 10px rgba(0,0,0,.05)}
body:has(.mm-header) .mm-side-banner span{left:26px;top:30px;width:48%}
body:has(.mm-header) .mm-side-banner small{font-size:13px;font-style:italic}
body:has(.mm-header) .mm-side-banner strong{font-size:21px}
body:has(.mm-header) .mm-side-banner b{width:max-content;margin-top:18px;padding:9px 16px;border-radius:7px;color:#fff;background:#ff5f28;font-size:12px}
.mm-centered-title{font-size:28px}
.mm-featured-category-grid{gap:16px}
.mm-featured-category-card{min-height:145px}
.mm-featured-category-card img{width:78px;height:78px}
.mm-featured-category-card strong{font-size:14px}
body:has(.mm-header) .mm-section-heading-centered h2{font-size:25px}
body:has(.mm-header) .mm-section-heading-centered p{font-size:13px}
body:has(.mm-header) .mm-product-grid{gap:20px}
body:has(.mm-header) .mm-product-title{font-size:13px}
body:has(.mm-header) .mm-footer-grid{gap:60px}
}

/* Builder-uploaded side banners fill their cards without zoom animation. */
body:has(.mm-header) .mm-side-banner{background:#f5f5f5}
body:has(.mm-header) .mm-side-banner img{
    object-fit:cover;
    object-position:center;
    animation:none!important;
    transform:none!important;
}
body:has(.mm-header) .mm-side-banner:hover img{transform:none!important}
@media(min-width:1200px){
body:has(.mm-header) .mm-side-banner{height:auto;min-height:0;aspect-ratio:1.7/1}
body:has(.mm-header) .mm-side-banner-stack{grid-template-rows:repeat(2,minmax(0,1fr))}
}

/* Polished topbar, benefits and footer */
body:has(.mm-header) .mm-topbar{border:0;background:linear-gradient(90deg,#fff8f4,#fff,#fff8f4);box-shadow:inset 0 -1px #f3e8e1}
body:has(.mm-header) .mm-topbar-inner{min-height:44px;font-weight:600}
.mm-topbar-promise{display:flex;align-items:center;gap:9px;color:#4c4541}
.mm-topbar-icon{display:grid;width:28px;height:28px;place-items:center;border-radius:50%;color:#ff642c;background:#fff0e9}
.mm-topbar-icon svg{width:17px;height:17px}
body:has(.mm-header) .mm-topbar-links{gap:22px}
body:has(.mm-header) .mm-topbar-links a,body:has(.mm-header) .mm-language-button{color:#554c47;font-weight:650}

body:has(.mm-header) .mm-benefits-section{padding:28px 0}
body:has(.mm-header) .mm-benefit-card{min-height:98px;padding:18px 20px;border:1px solid #f0e8e2;border-radius:14px;background:linear-gradient(145deg,#fff,#fff7f1);box-shadow:0 8px 22px rgba(70,45,30,.06)}
body:has(.mm-header) .mm-benefit-icon{display:grid!important;flex:0 0 54px;width:54px;height:54px;place-items:center;border-radius:15px;color:#ff642c;background:#fff0e8}
body:has(.mm-header) .mm-benefit-icon svg{display:block;width:29px;height:29px}
body:has(.mm-header) .mm-benefit-card strong{font-size:15px;font-weight:800}
body:has(.mm-header) .mm-benefit-card>span:last-child>span{color:#71665f;font-size:12px;font-weight:500}

body:has(.mm-header) .mm-footer{padding:46px 0 20px;border-top:0;background:linear-gradient(180deg,#fffaf7,#fff)}
body:has(.mm-header) .mm-footer-grid{grid-template-columns:1.55fr repeat(3,1fr);gap:56px}
body:has(.mm-header) .mm-footer-brand img{max-width:180px;max-height:56px}
body:has(.mm-header) .mm-footer-brand p{max-width:390px;margin:17px 0;color:#5d5651;font-size:13px;font-weight:500;line-height:1.7}
.mm-footer-contact{display:flex;flex-direction:column;gap:5px}
body:has(.mm-header) .mm-footer h3{position:relative;margin-bottom:18px;padding-bottom:10px;color:#211b18;font-size:16px;font-weight:850}
body:has(.mm-header) .mm-footer h3::after{content:"";position:absolute;left:0;bottom:0;width:34px;height:3px;border-radius:3px;background:#ff642c}
body:has(.mm-header) .mm-footer a{margin:9px 0;color:#5c534e;font-size:13px;font-weight:600}
body:has(.mm-header) .mm-footer a:hover{color:#ff642c;transform:translateX(2px)}
body:has(.mm-header) .mm-footer-bottom{margin-top:36px;padding-top:18px;border-top:1px solid #eee1da;color:#716862;font-size:11px;font-weight:600}

/* Show every uploaded banner without cropping; soft backdrop fills unused card space. */
body:has(.mm-header) .mm-side-banner{isolation:isolate;background:#f3f0ee}
body:has(.mm-header) .mm-side-banner::before{content:"";position:absolute;z-index:-1;inset:-12px;background:inherit;filter:blur(16px);opacity:.4}
body:has(.mm-header) .mm-side-banner img{object-fit:contain!important;background:transparent}

/* Uploaded side banners use the theme's intended 2:1 artwork ratio. */
body:has(.mm-header) .mm-side-banner{
    width:100%;
    height:auto!important;
    min-height:0!important;
    aspect-ratio:2/1!important;
}
body:has(.mm-header) .mm-side-banner-stack{
    align-content:start;
    grid-template-rows:none!important;
}
body:has(.mm-header) .mm-side-banner img{
    width:100%!important;
    height:100%!important;
    object-fit:cover!important;
    object-position:center!important;
}

/* Final rule: the card follows each uploaded image's natural ratio. */
body:has(.mm-header) .mm-side-banner{
    height:auto!important;
    min-height:0!important;
    aspect-ratio:var(--mm-banner-ratio,2/1)!important;
}
body:has(.mm-header) .mm-side-banner img{
    inset:0!important;
    width:100%!important;
    height:100%!important;
    object-fit:contain!important;
    object-position:center!important;
}

/* Stable side-banner composition: text left, uploaded artwork right. */
body:has(.mm-header) .mm-side-banner{
    height:auto!important;
    min-height:0!important;
    aspect-ratio:2/1!important;
    background:#f6f1ee!important;
}
body:has(.mm-header) .mm-side-banner img{
    left:auto!important;
    right:0!important;
    width:62%!important;
    height:100%!important;
    object-fit:contain!important;
    object-position:right center!important;
}
body:has(.mm-header) .mm-side-banner span{
    z-index:3!important;
    width:43%!important;
}
body:has(.mm-header) .mm-side-banner::before{display:none!important}
@media(max-width:800px){
body:has(.mm-header) .mm-side-banner{aspect-ratio:16/8!important}
body:has(.mm-header) .mm-side-banner img{width:62%!important}
}

/* Keep the circular category banners grouped side by side. */
body:has(.mm-header) .mm-category-scroll{
    justify-content:center!important;
    gap:clamp(22px,3vw,48px)!important;
}
body:has(.mm-header) .mm-category-item{
    flex:0 0 105px!important;
    max-width:105px!important;
}
@media(max-width:800px){
body:has(.mm-header) .mm-category-scroll{justify-content:flex-start!important;gap:16px!important}
body:has(.mm-header) .mm-category-item{flex-basis:92px!important;max-width:92px!important}
}

/* Modern newsletter card */
body:has(.mm-header) .mm-newsletter-section{
    position:relative;
    overflow:hidden;
    padding:34px 0;
    background:linear-gradient(135deg,#fff4ed,#ffe0d2);
}
body:has(.mm-header) .mm-newsletter-section::before,
body:has(.mm-header) .mm-newsletter-section::after{
    content:"";
    position:absolute;
    border:1px solid rgba(255,101,45,.18);
    border-radius:50%;
}
body:has(.mm-header) .mm-newsletter-section::before{width:260px;height:260px;left:-90px;top:-150px}
body:has(.mm-header) .mm-newsletter-section::after{width:190px;height:190px;right:-55px;bottom:-125px}
body:has(.mm-header) .mm-newsletter{
    position:relative;
    z-index:1;
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(360px,.72fr);
    gap:42px;
    max-width:1180px;
    padding:34px 42px;
    border:1px solid rgba(255,255,255,.72);
    border-radius:22px;
    color:#fff;
    background:linear-gradient(115deg,#ff7138,#ff4f28);
    box-shadow:0 18px 42px rgba(220,76,27,.2);
    text-align:left;
}
body:has(.mm-header) .mm-newsletter::after{
    content:"";
    position:absolute;
    right:34%;
    top:-80px;
    width:210px;
    height:210px;
    border-radius:50%;
    background:rgba(255,255,255,.08);
    pointer-events:none;
}
body:has(.mm-header) .mm-newsletter span{
    display:inline-flex;
    margin-bottom:8px;
    padding:5px 10px;
    border-radius:20px;
    color:#8f2b10;
    background:#fff2eb;
    font-size:10px;
    font-weight:850;
    letter-spacing:1px;
}
body:has(.mm-header) .mm-newsletter h2{margin:0;color:#fff;font-size:28px;font-weight:850;line-height:1.2}
body:has(.mm-header) .mm-newsletter-form{
    align-self:center;
    min-width:0;
    height:56px;
    padding:5px;
    border:1px solid rgba(255,255,255,.78);
    border-radius:14px;
    background:#fff;
    box-shadow:0 10px 25px rgba(126,35,10,.16);
}
body:has(.mm-header) .mm-newsletter-form input{padding:0 17px;color:#312925;font-size:13px;font-weight:550}
body:has(.mm-header) .mm-newsletter-form button{padding:0 24px;border-radius:10px;background:#211b18;font-size:12px;font-weight:800;transition:.2s ease}
body:has(.mm-header) .mm-newsletter-form button:hover{background:#fff0e8;color:#e74e1d}
@media(max-width:800px){
body:has(.mm-header) .mm-newsletter{grid-template-columns:1fr;gap:22px;padding:28px 22px}
body:has(.mm-header) .mm-newsletter h2{font-size:23px}
}

/* Modern Magaza restore pack */
.mm-footer-social { margin-top: 18px; }
.mm-footer-social h4 { margin: 0 0 10px; color: inherit; font-size: 14px; font-weight: 800; }
.mm-footer-social-links { display: flex; flex-wrap: wrap; gap: 9px; }
.mm-footer-social-links a { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; color: #fff; background: #74135f; transition: transform .2s ease, background-color .2s ease; }
.mm-footer-social-links a:hover { transform: translateY(-2px); background: #ff710b; }
.mm-footer-social-links svg { width: 17px; height: 17px; fill: currentColor; }
.mm-footer-social-links svg path { fill: #fff !important; stroke: #fff; }
.mm-footer-payment { display: inline-flex; align-items: center; justify-content: flex-end; gap: 14px; flex-wrap: wrap; }
.mm-footer-payment img { max-height: 22px; max-width: min(100%, 420px); object-fit: contain; }
.mm-product-card-sm .mm-product-image { height: 230px; }
.mm-product-card-md .mm-product-image { height: 260px; }
.mm-product-card-lg { max-width: 360px; margin-left: auto; margin-right: auto; }
.mm-product-card-lg .mm-product-image { height: 280px; }
.mm-product-card-list { display: grid; grid-template-columns: 220px minmax(0, 1fr); align-items: stretch; width: 100%; }
.mm-product-card-list .mm-product-image { height: 220px; }
.mm-product-card-list .mm-product-title { min-height: auto; font-size: 16px; }
.mm-product-card-list .mm-product-body { display: flex; flex-direction: column; justify-content: center; }
.mm-scroll-reveal { opacity: 0; transform: translate3d(0, 34px, 0); transition: opacity .72s ease, transform .72s ease; will-change: opacity, transform; }
.mm-scroll-reveal.mm-scroll-visible { opacity: 1; transform: translate3d(0, 0, 0); }
.mm-scroll-delay-1 { transition-delay: .08s; }
.mm-scroll-delay-2 { transition-delay: .16s; }
.mm-scroll-delay-3 { transition-delay: .24s; }
@media (max-width: 991.98px) { .mm-product-card-sm .mm-product-image, .mm-product-card-md .mm-product-image, .mm-product-card-lg .mm-product-image { height: 230px; } .mm-product-card-list { grid-template-columns: 180px minmax(0, 1fr); } .mm-product-card-list .mm-product-image { height: 190px; } }
@media (max-width: 575.98px) { .mm-product-card-sm .mm-product-image, .mm-product-card-md .mm-product-image, .mm-product-card-lg .mm-product-image { height: 210px; } .mm-product-card-list { grid-template-columns: 1fr; } .mm-product-card-list .mm-product-image { height: 220px; } .mm-footer-payment { justify-content: flex-start; } }
@media (prefers-reduced-motion: reduce) { .mm-scroll-reveal { opacity: 1; transform: none; transition: none; } }
/* Modern Magaza category fit restore */
body:has(.mm-header) .mm-category-grid,
body:has(.mm-header) .mm-category-showcase,
body:has(.mm-header) .mm-category-showcase .container,
body:has(.mm-header) .mm-category-showcase .mm-category-scroll {
    display: grid !important;
    grid-template-columns: repeat(10, minmax(0, 1fr)) !important;
    gap: 14px !important;
    align-items: start !important;
    overflow: visible !important;
}

body:has(.mm-header) .mm-category-item {
    min-width: 0 !important;
    width: 100% !important;
}

body:has(.mm-header) .mm-category-item span {
    width: clamp(72px, 5.6vw, 96px) !important;
    height: clamp(72px, 5.6vw, 96px) !important;
}

@media (max-width: 1199.98px) {
    body:has(.mm-header) .mm-category-grid,
    body:has(.mm-header) .mm-category-showcase,
    body:has(.mm-header) .mm-category-showcase .container,
    body:has(.mm-header) .mm-category-showcase .mm-category-scroll {
        display: flex !important;
        overflow-x: auto !important;
        gap: 16px !important;
    }

    body:has(.mm-header) .mm-category-item {
        flex: 0 0 104px !important;
    }
}
/* Modern Magaza exact category row fit */
body:has(.mm-header) .mm-category-section .mm-category-scroll {
    display: grid !important;
    grid-template-columns: repeat(10, minmax(0, 1fr)) !important;
    gap: 10px !important;
    justify-content: stretch !important;
    align-items: start !important;
    overflow: visible !important;
    padding: 6px 0 12px !important;
}

body:has(.mm-header) .mm-category-section .mm-category-item {
    display: block !important;
    min-width: 0 !important;
    max-width: none !important;
    width: 100% !important;
    flex: initial !important;
    font-size: 11px !important;
    line-height: 1.25 !important;
}

body:has(.mm-header) .mm-category-section .mm-category-item span {
    width: clamp(66px, 5.1vw, 88px) !important;
    height: clamp(66px, 5.1vw, 88px) !important;
    margin: 0 auto 7px !important;
    padding: 4px !important;
    border-width: 2px !important;
}

body:has(.mm-header) .mm-category-section .mm-category-item strong {
    display: -webkit-box !important;
    min-height: 30px !important;
    overflow: hidden !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    word-break: break-word !important;
}

@media (max-width: 1199.98px) {
    body:has(.mm-header) .mm-category-section .mm-category-scroll {
        display: flex !important;
        gap: 14px !important;
        overflow-x: auto !important;
        justify-content: flex-start !important;
        padding-inline: 2px !important;
    }

    body:has(.mm-header) .mm-category-section .mm-category-item {
        flex: 0 0 94px !important;
        width: 94px !important;
    }

    body:has(.mm-header) .mm-category-section .mm-category-item span {
        width: 78px !important;
        height: 78px !important;
    }
}
/* Modern Magaza featured categories redesign */
body:has(.mm-header) .mm-featured-categories {
    padding: 34px 0 18px;
    background: linear-gradient(180deg, #ffffff 0%, #fff8f4 100%);
}

body:has(.mm-header) .mm-featured-category-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

body:has(.mm-header) .mm-section-kicker {
    display: inline-flex;
    align-items: center;
    margin-bottom: 5px;
    color: #ff710b;
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .3px;
    text-transform: uppercase;
}

body:has(.mm-header) .mm-featured-category-head h2 {
    margin: 0;
    color: #251c2c;
    font-size: clamp(22px, 2.2vw, 32px);
    font-weight: 850;
    line-height: 1.15;
}

body:has(.mm-header) .mm-featured-category-head p {
    max-width: 520px;
    margin: 7px 0 0;
    color: #746b80;
    font-size: 14px;
    line-height: 1.55;
}

body:has(.mm-header) .mm-featured-category-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid rgba(255, 113, 11, .28);
    border-radius: 8px;
    color: #e95710;
    background: #fff;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 8px 18px rgba(35, 20, 45, .06);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

body:has(.mm-header) .mm-featured-category-link:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 113, 11, .5);
    background: #fff4ec;
    box-shadow: 0 12px 24px rgba(35, 20, 45, .1);
}

body:has(.mm-header) .mm-featured-category-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 14px !important;
}

body:has(.mm-header) .mm-featured-category-card {
    position: relative;
    display: grid !important;
    grid-template-columns: 68px minmax(0, 1fr) 30px;
    align-items: center;
    gap: 12px;
    min-height: 104px !important;
    padding: 13px 12px !important;
    overflow: hidden;
    border: 1px solid rgba(116, 19, 95, .1) !important;
    border-radius: 8px !important;
    color: #251c2c !important;
    background: #fff !important;
    text-align: left !important;
    text-decoration: none !important;
    box-shadow: 0 10px 24px rgba(35, 20, 45, .07);
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

body:has(.mm-header) .mm-featured-category-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: linear-gradient(180deg, #ff710b, #74135f);
    opacity: .9;
}

body:has(.mm-header) .mm-featured-category-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 113, 11, .36) !important;
    box-shadow: 0 16px 34px rgba(35, 20, 45, .13);
}

body:has(.mm-header) .mm-featured-category-media {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    overflow: hidden;
    border-radius: 8px;
    background: #f7f1f6;
}

body:has(.mm-header) .mm-featured-category-card img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform .28s ease;
}

body:has(.mm-header) .mm-featured-category-card:hover img {
    transform: scale(1.08);
}

body:has(.mm-header) .mm-featured-category-content {
    display: block;
    min-width: 0;
}

body:has(.mm-header) .mm-featured-category-card strong {
    display: -webkit-box !important;
    margin: 0 !important;
    overflow: hidden;
    color: #251c2c;
    font-size: 14px !important;
    font-weight: 850;
    line-height: 1.25;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

body:has(.mm-header) .mm-featured-category-card small {
    display: block;
    margin-top: 5px;
    color: #7b7285;
    font-size: 12px;
    font-weight: 650;
}

body:has(.mm-header) .mm-featured-category-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    color: #ff710b;
    background: #fff3eb;
    transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

body:has(.mm-header) .mm-featured-category-card:hover .mm-featured-category-arrow {
    color: #fff;
    background: #ff710b;
    transform: translateX(2px);
}

@media (max-width: 1199.98px) {
    body:has(.mm-header) .mm-featured-category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 767.98px) {
    body:has(.mm-header) .mm-featured-categories {
        padding: 26px 0 12px;
    }

    body:has(.mm-header) .mm-featured-category-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    body:has(.mm-header) .mm-featured-category-grid {
        display: flex !important;
        gap: 12px !important;
        overflow-x: auto;
        padding: 2px 2px 12px;
        scroll-snap-type: x proximity;
    }

    body:has(.mm-header) .mm-featured-category-card {
        flex: 0 0 260px !important;
        grid-template-columns: 62px minmax(0, 1fr) 28px;
        min-height: 96px !important;
        scroll-snap-align: start;
    }

    body:has(.mm-header) .mm-featured-category-media {
        width: 62px;
        height: 62px;
    }
}
/* Modern Magaza featured categories visibility fix */
body:has(.mm-header) .mm-featured-categories {
    position: relative;
    margin: 16px 0 10px;
    padding: 34px 0 28px !important;
    background: #fff6f0 !important;
    border-top: 1px solid rgba(116, 19, 95, .08);
    border-bottom: 1px solid rgba(116, 19, 95, .08);
}

body:has(.mm-header) .mm-featured-category-head h2 {
    color: #221427 !important;
}

body:has(.mm-header) .mm-featured-category-head p {
    color: #66586c !important;
}

body:has(.mm-header) .mm-featured-category-card {
    border: 1px solid rgba(116, 19, 95, .2) !important;
    background: #ffffff !important;
    box-shadow: 0 12px 30px rgba(35, 20, 45, .14) !important;
}

body:has(.mm-header) .mm-featured-category-card strong {
    color: #211227 !important;
}

body:has(.mm-header) .mm-featured-category-card small {
    color: #6f6076 !important;
}

body:has(.mm-header) .mm-featured-category-media {
    background: #f0e5ef !important;
    border: 1px solid rgba(116, 19, 95, .12);
}
/* Modern Magaza featured categories force visible */
body:has(.mm-header) .mm-featured-categories,
body:has(.mm-header) .mm-featured-categories * {
    opacity: 1 !important;
    visibility: visible !important;
}

body:has(.mm-header) .mm-featured-categories {
    transform: none !important;
}
/* Modern Magaza product showcase headings */
body:has(.mm-header) .mm-showcase-section {
    position: relative;
    margin: 18px 0;
    padding: 34px 0 38px !important;
    overflow: hidden;
}

body:has(.mm-header) .mm-showcase-section:nth-of-type(even) {
    background: #fbfbfd;
}

body:has(.mm-header) .mm-showcase-heading {
    position: relative;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 18px;
    margin-bottom: 20px !important;
    padding: 18px 20px;
    overflow: hidden;
    border: 1px solid rgba(35, 20, 45, .08);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(35, 20, 45, .07);
    text-align: left !important;
}

body:has(.mm-header) .mm-showcase-heading::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    background: var(--mm-showcase-accent, #ff710b);
}

body:has(.mm-header) .mm-showcase-heading::after {
    content: var(--mm-showcase-mark, "");
    position: absolute;
    right: 22px;
    top: 50%;
    color: var(--mm-showcase-soft, rgba(255, 113, 11, .12));
    font-size: 54px;
    font-weight: 900;
    line-height: 1;
    transform: translateY(-50%);
    pointer-events: none;
}

body:has(.mm-header) .mm-showcase-heading > div {
    position: relative;
    z-index: 1;
    max-width: 680px;
}

body:has(.mm-header) .mm-showcase-heading h2 {
    margin: 0;
    color: #211426;
    font-size: clamp(21px, 2vw, 30px) !important;
    font-weight: 900 !important;
    line-height: 1.16 !important;
}

body:has(.mm-header) .mm-showcase-heading h2::before {
    content: var(--mm-showcase-label, "Seçki");
    display: inline-flex;
    align-items: center;
    width: max-content;
    margin: 0 0 8px;
    padding: 5px 9px;
    border-radius: 7px;
    color: var(--mm-showcase-accent, #ff710b);
    background: var(--mm-showcase-tint, #fff3eb);
    font-size: 11px;
    font-weight: 850;
    line-height: 1;
    text-transform: uppercase;
}

body:has(.mm-header) .mm-showcase-heading p {
    max-width: 560px;
    margin: 8px 0 0 !important;
    color: #6f6477 !important;
    font-size: 14px !important;
    font-weight: 550;
    line-height: 1.55 !important;
}

body:has(.mm-header) .mm-showcase-heading a {
    position: relative;
    z-index: 2;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid color-mix(in srgb, var(--mm-showcase-accent, #ff710b) 35%, transparent);
    border-radius: 8px;
    color: var(--mm-showcase-accent, #ff710b) !important;
    background: #fff;
    font-size: 13px;
    font-weight: 850;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 8px 18px rgba(35, 20, 45, .06);
    transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}

body:has(.mm-header) .mm-showcase-heading a:hover {
    transform: translateY(-2px);
    background: var(--mm-showcase-tint, #fff3eb);
    box-shadow: 0 12px 24px rgba(35, 20, 45, .1);
}

body:has(.mm-header) .mm-showcase-summer {
    --mm-showcase-accent: #e95710;
    --mm-showcase-tint: #fff0e7;
    --mm-showcase-soft: rgba(233, 87, 16, .13);
    --mm-showcase-label: "Moda Editörü";
    --mm-showcase-mark: "01";
}

body:has(.mm-header) .mm-showcase-sale {
    --mm-showcase-accent: #74135f;
    --mm-showcase-tint: #f8eaf5;
    --mm-showcase-soft: rgba(116, 19, 95, .12);
    --mm-showcase-label: "İndirim Seçkisi";
    --mm-showcase-mark: "02";
}

body:has(.mm-header) .mm-showcase-opportunity {
    --mm-showcase-accent: #11845b;
    --mm-showcase-tint: #eaf8f2;
    --mm-showcase-soft: rgba(17, 132, 91, .12);
    --mm-showcase-label: "Avantajlı Fırsatlar";
    --mm-showcase-mark: "03";
}

body:has(.mm-header) .mm-showcase-home {
    --mm-showcase-accent: #b06b16;
    --mm-showcase-tint: #fff3df;
    --mm-showcase-soft: rgba(176, 107, 22, .13);
    --mm-showcase-label: "Ev İçin Seçildi";
    --mm-showcase-mark: "04";
}

body:has(.mm-header) .mm-showcase-tech {
    --mm-showcase-accent: #1269b0;
    --mm-showcase-tint: #eaf4ff;
    --mm-showcase-soft: rgba(18, 105, 176, .13);
    --mm-showcase-label: "Teknoloji Vitrini";
    --mm-showcase-mark: "05";
}

body:has(.mm-header) .mm-showcase-sale .mm-showcase-heading,
body:has(.mm-header) .mm-showcase-tech .mm-showcase-heading {
    background: linear-gradient(90deg, #ffffff 0%, var(--mm-showcase-tint, #fff) 100%);
}

body:has(.mm-header) .mm-showcase-opportunity .mm-showcase-heading,
body:has(.mm-header) .mm-showcase-home .mm-showcase-heading {
    background: linear-gradient(90deg, var(--mm-showcase-tint, #fff) 0%, #ffffff 100%);
}

@media (max-width: 767.98px) {
    body:has(.mm-header) .mm-showcase-section {
        padding: 24px 0 28px !important;
    }

    body:has(.mm-header) .mm-showcase-heading {
        align-items: flex-start !important;
        flex-direction: column;
        padding: 16px 16px 18px;
    }

    body:has(.mm-header) .mm-showcase-heading::after {
        right: 16px;
        top: 18px;
        font-size: 40px;
        transform: none;
    }

    body:has(.mm-header) .mm-showcase-heading h2 {
        font-size: 22px !important;
    }
}
/* Modern Magaza distinct showcase layouts */
body:has(.mm-header) .mm-layout-editorial,
body:has(.mm-header) .mm-layout-sale,
body:has(.mm-header) .mm-layout-opportunity,
body:has(.mm-header) .mm-layout-home,
body:has(.mm-header) .mm-layout-tech {
    padding: 40px 0 !important;
}

body:has(.mm-header) .mm-layout-editorial .mm-editorial-showcase {
    display: grid;
    grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
    gap: 22px;
    align-items: stretch;
}

body:has(.mm-header) .mm-editorial-banner {
    position: relative;
    display: flex;
    min-height: 100%;
    padding: 28px 24px;
    overflow: hidden;
    flex-direction: column;
    justify-content: flex-end;
    border-radius: 8px;
    color: #fff;
    background: linear-gradient(145deg, rgba(116, 19, 95, .92), rgba(233, 87, 16, .9));
    text-decoration: none;
    box-shadow: 0 18px 40px rgba(116, 19, 95, .24);
}

body:has(.mm-header) .mm-editorial-banner::after {
    content: "";
    position: absolute;
    inset: auto 22px 22px auto;
    width: 92px;
    height: 92px;
    border: 1px solid rgba(255,255,255,.42);
    border-radius: 8px;
}

body:has(.mm-header) .mm-editorial-kicker,
body:has(.mm-header) .mm-sale-ribbon span,
body:has(.mm-header) .mm-side-showcase-panel span,
body:has(.mm-header) .mm-home-showcase-head span,
body:has(.mm-header) .mm-tech-copy span {
    display: inline-flex;
    width: max-content;
    margin-bottom: 9px;
    padding: 6px 10px;
    border-radius: 7px;
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
}

body:has(.mm-header) .mm-editorial-banner h2,
body:has(.mm-header) .mm-sale-ribbon h2,
body:has(.mm-header) .mm-side-showcase-panel h2,
body:has(.mm-header) .mm-home-showcase-head h2,
body:has(.mm-header) .mm-tech-copy h2 {
    margin: 0;
    font-size: clamp(24px, 2.4vw, 38px);
    font-weight: 950;
    line-height: 1.08;
}

body:has(.mm-header) .mm-editorial-banner p,
body:has(.mm-header) .mm-sale-ribbon p,
body:has(.mm-header) .mm-side-showcase-panel p,
body:has(.mm-header) .mm-home-showcase-head p,
body:has(.mm-header) .mm-tech-copy p {
    margin: 10px 0 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.55;
}

body:has(.mm-header) .mm-editorial-banner b,
body:has(.mm-header) .mm-side-showcase-panel a,
body:has(.mm-header) .mm-tech-copy a,
body:has(.mm-header) .mm-home-showcase-head a,
body:has(.mm-header) .mm-sale-ribbon a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: max-content;
    min-height: 40px;
    margin-top: 18px;
    padding: 0 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
}

body:has(.mm-header) .mm-editorial-banner b {
    color: #211426;
    background: #fff;
}

body:has(.mm-header) .mm-editorial-products .mm-product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 14px !important;
}

body:has(.mm-header) .mm-editorial-products .mm-product-image {
    height: 230px !important;
}

body:has(.mm-header) .mm-layout-sale {
    background: #fff7f0;
}

body:has(.mm-header) .mm-sale-ribbon {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    margin-bottom: 18px;
    padding: 24px 26px;
    border-radius: 8px;
    color: #fff;
    background: linear-gradient(110deg, #74135f 0%, #e95710 100%);
    box-shadow: 0 18px 38px rgba(116, 19, 95, .2);
}

body:has(.mm-header) .mm-sale-ribbon span { color: #74135f; background: #fff; }
body:has(.mm-header) .mm-sale-ribbon p { color: rgba(255,255,255,.84); }
body:has(.mm-header) .mm-sale-ribbon a { margin-top: 0; color: #74135f !important; background: #fff; white-space: nowrap; }
body:has(.mm-header) .mm-sale-slider-wrap { padding: 4px 0 0; }

body:has(.mm-header) .mm-side-showcase {
    display: grid;
    grid-template-columns: minmax(260px, 330px) minmax(0, 1fr);
    gap: 20px;
    align-items: stretch;
}

body:has(.mm-header) .mm-side-showcase-panel {
    display: flex;
    min-height: 330px;
    padding: 26px 22px;
    flex-direction: column;
    justify-content: center;
    border-radius: 8px;
    color: #143524;
    background: #eaf8f2;
    border: 1px solid rgba(17, 132, 91, .18);
}

body:has(.mm-header) .mm-side-showcase-panel span { color: #fff; background: #11845b; }
body:has(.mm-header) .mm-side-showcase-panel p { color: #4b6d5d; }
body:has(.mm-header) .mm-side-showcase-panel a { color: #fff !important; background: #11845b; }
body:has(.mm-header) .mm-side-showcase-products { min-width: 0; }

body:has(.mm-header) .mm-layout-home {
    background: #fffaf2;
}

body:has(.mm-header) .mm-home-showcase-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

body:has(.mm-header) .mm-home-showcase-head span { color: #b06b16; background: #fff1d9; }
body:has(.mm-header) .mm-home-showcase-head p { color: #7a684d; }
body:has(.mm-header) .mm-home-showcase-head a { margin-top: 0; color: #fff !important; background: #b06b16; white-space: nowrap; }

body:has(.mm-header) .mm-home-showcase-body {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 18px;
    align-items: stretch;
}

body:has(.mm-header) .mm-home-mini-banner {
    display: flex;
    min-height: 285px;
    padding: 22px;
    flex-direction: column;
    justify-content: flex-end;
    border-radius: 8px;
    color: #fff;
    background: linear-gradient(180deg, rgba(176,107,22,.1), rgba(80,48,16,.88));
    box-shadow: 0 16px 34px rgba(176, 107, 22, .18);
}

body:has(.mm-header) .mm-home-mini-banner strong { font-size: 24px; font-weight: 950; line-height: 1.08; }
body:has(.mm-header) .mm-home-mini-banner small { margin-top: 8px; color: rgba(255,255,255,.82); font-size: 13px; font-weight: 700; }
body:has(.mm-header) .mm-home-products { min-width: 0; }

body:has(.mm-header) .mm-layout-tech {
    background: #101a2a;
}

body:has(.mm-header) .mm-tech-showcase {
    display: grid;
    grid-template-columns: minmax(280px, 380px) minmax(0, 1fr);
    gap: 20px;
    align-items: center;
}

body:has(.mm-header) .mm-tech-copy {
    position: relative;
    padding: 26px 24px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 8px;
    color: #fff;
    background: linear-gradient(145deg, rgba(18,105,176,.42), rgba(16,26,42,.95));
}

body:has(.mm-header) .mm-tech-copy span { color: #bde3ff; background: rgba(255,255,255,.1); }
body:has(.mm-header) .mm-tech-copy p { color: rgba(255,255,255,.72); }
body:has(.mm-header) .mm-tech-copy a { color: #101a2a !important; background: #bde3ff; }
body:has(.mm-header) .mm-tech-products { min-width: 0; }
body:has(.mm-header) .mm-tech-products .mm-product-card { border-color: rgba(255,255,255,.12); }

@media (max-width: 1199.98px) {
    body:has(.mm-header) .mm-editorial-products .mm-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}

@media (max-width: 991.98px) {
    body:has(.mm-header) .mm-layout-editorial .mm-editorial-showcase,
    body:has(.mm-header) .mm-side-showcase,
    body:has(.mm-header) .mm-home-showcase-body,
    body:has(.mm-header) .mm-tech-showcase {
        grid-template-columns: 1fr;
    }

    body:has(.mm-header) .mm-editorial-banner,
    body:has(.mm-header) .mm-side-showcase-panel,
    body:has(.mm-header) .mm-home-mini-banner {
        min-height: 240px;
    }
}

@media (max-width: 767.98px) {
    body:has(.mm-header) .mm-layout-editorial,
    body:has(.mm-header) .mm-layout-sale,
    body:has(.mm-header) .mm-layout-opportunity,
    body:has(.mm-header) .mm-layout-home,
    body:has(.mm-header) .mm-layout-tech {
        padding: 28px 0 !important;
    }

    body:has(.mm-header) .mm-sale-ribbon,
    body:has(.mm-header) .mm-home-showcase-head {
        grid-template-columns: 1fr;
        align-items: flex-start;
        flex-direction: column;
    }

    body:has(.mm-header) .mm-sale-ribbon a,
    body:has(.mm-header) .mm-home-showcase-head a {
        margin-top: 6px;
    }

    body:has(.mm-header) .mm-editorial-products .mm-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}
/* Modern Magaza daily deal showcase */
body:has(.mm-header) .mm-layout-daily-deal {
    padding: 42px 0 !important;
    background: linear-gradient(180deg, #fff 0%, #fff6f0 100%);
}

body:has(.mm-header) .mm-daily-deal-showcase {
    display: grid;
    grid-template-columns: minmax(280px, 380px) minmax(0, 1fr);
    gap: 22px;
    align-items: stretch;
}

body:has(.mm-header) .mm-daily-deal-panel {
    position: relative;
    display: flex;
    min-height: 100%;
    padding: 30px 26px;
    overflow: hidden;
    flex-direction: column;
    justify-content: center;
    border-radius: 8px;
    color: #fff;
    background: linear-gradient(145deg, rgba(255, 113, 11, .95), rgba(116, 19, 95, .94));
    text-decoration: none;
    box-shadow: 0 20px 44px rgba(116, 19, 95, .24);
}

body:has(.mm-header) .mm-daily-deal-panel::before {
    content: "";
    position: absolute;
    inset: 18px;
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 8px;
    pointer-events: none;
}

body:has(.mm-header) .mm-daily-deal-panel span {
    position: relative;
    z-index: 1;
    display: inline-flex;
    width: max-content;
    margin-bottom: 10px;
    padding: 6px 10px;
    border-radius: 7px;
    color: #74135f;
    background: #fff;
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
}

body:has(.mm-header) .mm-daily-deal-panel h2 {
    position: relative;
    z-index: 1;
    max-width: 320px;
    margin: 0;
    color: #fff;
    font-size: clamp(28px, 3vw, 44px);
    font-weight: 950;
    line-height: 1.04;
}

body:has(.mm-header) .mm-daily-deal-panel p {
    position: relative;
    z-index: 1;
    max-width: 300px;
    margin: 12px 0 0;
    color: rgba(255,255,255,.86);
    font-size: 14px;
    font-weight: 650;
    line-height: 1.55;
}

body:has(.mm-header) .mm-daily-deal-timer {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 20px;
}

body:has(.mm-header) .mm-daily-deal-timer b {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    border-radius: 8px;
    color: #211426;
    background: #fff;
    font-size: 16px;
    font-weight: 950;
    box-shadow: 0 10px 18px rgba(35, 20, 45, .12);
}

body:has(.mm-header) .mm-daily-deal-timer b:nth-child(2),
body:has(.mm-header) .mm-daily-deal-timer b:nth-child(4) {
    min-width: auto;
    width: auto;
    background: transparent;
    color: #fff;
    box-shadow: none;
}

body:has(.mm-header) .mm-daily-deal-panel strong {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: max-content;
    min-height: 42px;
    margin-top: 22px;
    padding: 0 15px;
    border-radius: 8px;
    color: #74135f;
    background: #fff;
    font-size: 13px;
    font-weight: 900;
}

body:has(.mm-header) .mm-daily-deal-products {
    min-width: 0;
    padding: 18px;
    border: 1px solid rgba(116, 19, 95, .1);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(35, 20, 45, .08);
}

body:has(.mm-header) .mm-daily-deal-products .mm-compact-product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 14px !important;
}

@media (max-width: 991.98px) {
    body:has(.mm-header) .mm-daily-deal-showcase {
        grid-template-columns: 1fr;
    }

    body:has(.mm-header) .mm-daily-deal-panel {
        min-height: 300px;
    }
}

@media (max-width: 767.98px) {
    body:has(.mm-header) .mm-layout-daily-deal {
        padding: 28px 0 !important;
    }

    body:has(.mm-header) .mm-daily-deal-panel {
        padding: 26px 22px;
    }

    body:has(.mm-header) .mm-daily-deal-products .mm-compact-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}
/* Modern Magaza editable banner images */
body:has(.mm-header) .mm-editorial-banner,
body:has(.mm-header) .mm-home-mini-banner,
body:has(.mm-header) .mm-daily-deal-panel {
    isolation: isolate;
}

body:has(.mm-header) .mm-showcase-bg-image {
    position: absolute !important;
    inset: 0 !important;
    z-index: -2 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    opacity: .72;
    transform: scale(1.01);
}

body:has(.mm-header) .mm-editorial-banner::before,
body:has(.mm-header) .mm-home-mini-banner::before,
body:has(.mm-header) .mm-daily-deal-panel::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

body:has(.mm-header) .mm-editorial-banner::before {
    background: linear-gradient(145deg, rgba(116, 19, 95, .9), rgba(233, 87, 16, .82));
}

body:has(.mm-header) .mm-home-mini-banner::before {
    background: linear-gradient(180deg, rgba(176,107,22,.1), rgba(80,48,16,.88));
}

body:has(.mm-header) .mm-daily-deal-panel::after {
    background: linear-gradient(145deg, rgba(255, 113, 11, .92), rgba(116, 19, 95, .88));
}
/* Modern Magaza builder clickable banner image layer */
body:has(.mm-header) .mm-showcase-bg-image {
    z-index: 0 !important;
}

body:has(.mm-header) .mm-editorial-banner::before,
body:has(.mm-header) .mm-home-mini-banner::before,
body:has(.mm-header) .mm-daily-deal-panel::after {
    z-index: 1 !important;
    pointer-events: none !important;
}

body:has(.mm-header) .mm-editorial-banner > :not(.mm-showcase-bg-image),
body:has(.mm-header) .mm-home-mini-banner > :not(.mm-showcase-bg-image),
body:has(.mm-header) .mm-daily-deal-panel > :not(.mm-showcase-bg-image) {
    position: relative;
    z-index: 2;
}
/* Modern Magaza banner image visibility balance */
body:has(.mm-header) .mm-showcase-bg-image {
    opacity: .94 !important;
    filter: saturate(1.04) contrast(1.02);
}

body:has(.mm-header) .mm-editorial-banner::before {
    background: linear-gradient(110deg, rgba(34, 18, 39, .62) 0%, rgba(34, 18, 39, .28) 48%, rgba(233, 87, 16, .18) 100%) !important;
}

body:has(.mm-header) .mm-home-mini-banner::before {
    background: linear-gradient(180deg, rgba(80, 48, 16, .08) 0%, rgba(80, 48, 16, .58) 100%) !important;
}

body:has(.mm-header) .mm-daily-deal-panel::after {
    background: linear-gradient(120deg, rgba(116, 19, 95, .58) 0%, rgba(255, 113, 11, .32) 55%, rgba(255, 113, 11, .16) 100%) !important;
}

body:has(.mm-header) .mm-editorial-banner h2,
body:has(.mm-header) .mm-editorial-banner p,
body:has(.mm-header) .mm-home-mini-banner strong,
body:has(.mm-header) .mm-home-mini-banner small,
body:has(.mm-header) .mm-daily-deal-panel h2,
body:has(.mm-header) .mm-daily-deal-panel p {
    text-shadow: 0 2px 14px rgba(0, 0, 0, .38);
}

body:has(.mm-header) .mm-home-mini-banner {
    min-height: 320px;
}
/* Modern Magaza home textile banner as visible image card */
body:has(.mm-header) .mm-home-mini-banner {
    justify-content: flex-start !important;
    padding: 12px !important;
    color: #2d2114 !important;
    background: #fff !important;
    border: 1px solid rgba(176, 107, 22, .16);
    box-shadow: 0 14px 32px rgba(176, 107, 22, .14);
}

body:has(.mm-header) .mm-home-mini-banner::before {
    display: none !important;
}

body:has(.mm-header) .mm-home-mini-banner .mm-showcase-bg-image {
    position: relative !important;
    inset: auto !important;
    z-index: 1 !important;
    width: 100% !important;
    height: 210px !important;
    min-height: 210px !important;
    margin: 0 0 14px !important;
    border-radius: 8px !important;
    object-fit: cover !important;
    opacity: 1 !important;
    filter: saturate(1.03) contrast(1.02);
    transform: none !important;
}

body:has(.mm-header) .mm-home-mini-banner strong,
body:has(.mm-header) .mm-home-mini-banner small {
    position: relative;
    z-index: 2;
    color: #2d2114 !important;
    text-shadow: none !important;
}

body:has(.mm-header) .mm-home-mini-banner strong {
    padding: 0 4px;
}

body:has(.mm-header) .mm-home-mini-banner small {
    padding: 0 4px 4px;
    color: #80684d !important;
}

@media (max-width: 991.98px) {
    body:has(.mm-header) .mm-home-mini-banner .mm-showcase-bg-image {
        height: 230px !important;
        min-height: 230px !important;
    }
}
/* Scroll-to-top control */
.scroll-progress-wrap{position:fixed!important;z-index:9999!important;right:28px!important;bottom:28px!important;display:grid!important;width:44px!important;height:44px!important;padding:0!important;place-items:center!important;border:0!important;border-radius:50%!important;color:#74135f!important;background:#fff!important;box-shadow:0 8px 26px rgba(36,20,45,.2)!important;cursor:pointer!important;opacity:0!important;visibility:hidden!important;transform:translateY(14px)!important;transition:opacity .25s ease,visibility .25s ease,transform .25s ease!important}
.scroll-progress-wrap.active-scroll-progress{opacity:1!important;visibility:visible!important;transform:translateY(0)!important}
.scroll-progress-wrap:hover{color:#fff!important;background:#74135f!important}
.scroll-progress-wrap::after{content:"↑"!important;position:absolute!important;inset:0!important;display:grid!important;place-items:center!important;color:currentColor!important;font-family:Arial,sans-serif!important;font-size:20px!important;font-weight:700!important;line-height:1!important}
.scroll-progress-wrap .scroll-progress-circle{position:absolute!important;inset:0!important;width:44px!important;height:44px!important;transform:rotate(-90deg)!important}
.scroll-progress-wrap .scroll-progress-circle path{fill:none!important;stroke:#ff710b!important;stroke-width:4!important;transition:stroke-dashoffset 10ms linear!important}
@media(max-width:575.98px){.scroll-progress-wrap{right:16px!important;bottom:76px!important;width:42px!important;height:42px!important}.scroll-progress-wrap .scroll-progress-circle{width:42px!important;height:42px!important}}
/* Modern Magaza complete mobile responsive layer */
@media (max-width: 767.98px) {
    html, body { max-width: 100%; overflow-x: clip; }
    body:has(.mm-header) .container { width: 100%; max-width: 100%; padding-left: 14px; padding-right: 14px; }

    body:has(.mm-header) .mm-topbar { font-size: 10px; }
    body:has(.mm-header) .mm-topbar-inner { min-height: 30px; gap: 8px; }
    body:has(.mm-header) .mm-topbar-links { display: none; }

    body:has(.mm-header) .mm-header { position: relative; background: #fff; box-shadow: 0 5px 18px rgba(29,20,35,.08); }
    body:has(.mm-header) .mm-header-main {
        display: grid;
        grid-template-columns: minmax(0,1fr) auto;
        grid-template-rows: auto auto;
        gap: 11px 8px;
        padding-top: 11px;
        padding-bottom: 12px;
    }
    body:has(.mm-header) .mm-logo { min-width: 0; }
    body:has(.mm-header) .mm-logo img { display: block; max-width: 138px; max-height: 38px; object-fit: contain; object-position: left center; }
    body:has(.mm-header) .mm-header-actions { grid-column: 2; grid-row: 1; display: flex; align-items: center; justify-content: flex-end; gap: 5px; min-width: 0; }
    body:has(.mm-header) .mm-header-actions > a,
    body:has(.mm-header) .mm-account-dropdown { display: none !important; }
    body:has(.mm-header) .mm-header-actions > a[data-wishlist-header-trigger],
    body:has(.mm-header) .mm-header-actions > a[data-bs-target="#offcanvasCart"] { display: flex !important; min-height: 38px; padding: 0 !important; }
    body:has(.mm-header) .mm-header-action-copy { display: none; }
    body:has(.mm-header) .mm-header-action-icon { width: 36px; height: 36px; border-radius: 10px; font-size: 18px; }
    body:has(.mm-header) .mm-header-action-icon b { top: -5px; right: -5px; min-width: 17px; height: 17px; border-width: 1px; font-size: 8px; }
    body:has(.mm-header) .mm-mobile-toggle { display: grid; width: 38px; height: 38px; padding: 0; place-items: center; border-radius: 10px; color: #fff; background: var(--mm-primary); font-size: 18px; }
    body:has(.mm-header) .mm-search { grid-column: 1/-1; grid-row: 2; width: 100%; height: 42px; border-width: 1px; border-radius: 10px; }
    body:has(.mm-header) .mm-search input { width: 100%; min-width: 0; padding: 0 13px; font-size: 12px; }
    body:has(.mm-header) .mm-search button { width: 45px; flex: 0 0 45px; }
    body:has(.mm-header) .mm-nav { display: none; }
    body:has(.mm-header) .mm-mobile-menu { width: min(86vw,340px); }
    body:has(.mm-header) .mm-mobile-menu .offcanvas-header { padding: 18px; border-bottom: 1px solid var(--mm-line); }
    body:has(.mm-header) .mm-mobile-menu .offcanvas-header img { max-width: 145px; max-height: 42px; }
    body:has(.mm-header) .mm-mobile-menu .offcanvas-body { display: flex; flex-direction: column; gap: 3px; padding: 12px; }
    body:has(.mm-header) .mm-mobile-menu .offcanvas-body a { padding: 11px 12px; border-radius: 8px; color: var(--mm-text); font-size: 13px; font-weight: 650; text-decoration: none; }
    body:has(.mm-header) .mm-mobile-menu .offcanvas-body a:hover { color: var(--mm-primary); background: #f8edf5; }

    body:has(.mm-header) .mm-category-section { padding: 17px 0 8px; }
    body:has(.mm-header) .mm-category-scroll { gap: 12px !important; padding: 4px 14px 12px !important; scroll-snap-type: x proximity; }
    body:has(.mm-header) .mm-category-item { flex: 0 0 74px !important; width: 74px !important; scroll-snap-align: start; font-size: 10px; }
    body:has(.mm-header) .mm-category-item span { width: 66px !important; height: 66px !important; margin-bottom: 7px; border-width: 2px; }

    body:has(.mm-header) .mm-hero-section { padding: 10px 0 22px; }
    body:has(.mm-header) .mm-hero-grid { grid-template-columns: 1fr; gap: 10px; }
    body:has(.mm-header) .mm-hero-carousel, body:has(.mm-header) .mm-side-banner { border-radius: 11px; }
    body:has(.mm-header) .mm-hero-slide { height: 205px; }
    body:has(.mm-header) .mm-side-banner { min-height: 120px; max-height: 150px; }
    body:has(.mm-header) .mm-hero-copy { left: 17px; width: 62%; }
    body:has(.mm-header) .mm-hero-copy h1, body:has(.mm-header) .mm-hero-copy h2 { margin: 5px 0 7px; font-size: 20px; }
    body:has(.mm-header) .mm-hero-copy p { display: none; }
    body:has(.mm-header) .mm-hero-copy a { margin-top: 4px; padding: 8px 12px; font-size: 10px; }

    body:has(.mm-header) .mm-section { padding: 20px 0; }
    body:has(.mm-header) .mm-section-heading { align-items: center; gap: 12px; margin-bottom: 13px; }
    body:has(.mm-header) .mm-section-heading h2 { font-size: 20px; line-height: 1.2; }
    body:has(.mm-header) .mm-section-heading > a { flex: 0 0 auto; font-size: 11px; }

    body:has(.mm-header) .mm-product-grid,
    body:has(.mm-header) .mm-compact-product-grid,
    body:has(.mm-header) .mm-editorial-products .mm-product-grid,
    body:has(.mm-header) .mm-daily-deal-products .mm-compact-product-grid { grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 10px !important; }
    body:has(.mm-header) .mm-product-card { min-width: 0; border-radius: 11px; }
    body:has(.mm-header) .mm-product-image { height: clamp(165px,52vw,230px) !important; }
    body:has(.mm-header) .mm-product-body { padding: 10px 10px 12px; }
    body:has(.mm-header) .mm-product-title { min-height: 34px; font-size: 11px; line-height: 1.45; }
    body:has(.mm-header) .mm-product-store { font-size: 9px; }
    body:has(.mm-header) .mm-product-body strong { font-size: 13px; }
    body:has(.mm-header) .mm-product-body del, body:has(.mm-header) .mm-product-stock { font-size: 9px; }
    body:has(.mm-header) .mm-product-actions { right: 8px; bottom: 8px; gap: 5px; opacity: 1; transform: none; }
    body:has(.mm-header) .mm-product-image .mm-product-actions .product-wishlist-btn,
    body:has(.mm-header) .mm-product-image .mm-product-actions .product-quickview-btn { width: 34px !important; height: 34px !important; }
    body:has(.mm-header) .mm-product-image .mm-product-actions svg { width: 17px; height: 17px; }

    body:has(.mm-header) .mm-campaign-grid, body:has(.mm-header) .mm-dual-banner-grid { grid-template-columns: 1fr !important; gap: 10px; }
    body:has(.mm-header) .mm-campaign-card { min-height: 94px; padding: 14px 16px; }
    body:has(.mm-header) .mm-campaign-copy strong { font-size: 15px; }
    body:has(.mm-header) .mm-image-banner-link, body:has(.mm-header) .mm-dual-banner { min-height: 120px; border-radius: 11px; }

    body:has(.mm-header) .mm-layout-editorial,
    body:has(.mm-header) .mm-layout-sale,
    body:has(.mm-header) .mm-layout-opportunity,
    body:has(.mm-header) .mm-layout-home,
    body:has(.mm-header) .mm-layout-tech,
    body:has(.mm-header) .mm-layout-daily-deal { padding: 20px 0 !important; overflow: hidden; }
    body:has(.mm-header) .mm-editorial-showcase,
    body:has(.mm-header) .mm-side-showcase,
    body:has(.mm-header) .mm-home-showcase-body,
    body:has(.mm-header) .mm-tech-showcase,
    body:has(.mm-header) .mm-daily-deal-showcase { grid-template-columns: 1fr !important; gap: 12px !important; }
    body:has(.mm-header) .mm-editorial-banner,
    body:has(.mm-header) .mm-side-showcase-panel,
    body:has(.mm-header) .mm-home-mini-banner,
    body:has(.mm-header) .mm-tech-copy,
    body:has(.mm-header) .mm-daily-deal-panel { min-height: 210px !important; padding: 22px !important; border-radius: 14px; }
    body:has(.mm-header) .mm-editorial-banner h2,
    body:has(.mm-header) .mm-sale-ribbon h2,
    body:has(.mm-header) .mm-side-showcase-panel h2,
    body:has(.mm-header) .mm-home-showcase-head h2,
    body:has(.mm-header) .mm-tech-copy h2,
    body:has(.mm-header) .mm-daily-deal-panel h2 { font-size: 22px !important; }
    body:has(.mm-header) .mm-sale-ribbon, body:has(.mm-header) .mm-home-showcase-head { align-items: flex-start; flex-direction: column; gap: 12px; padding: 20px; }

    body:has(.mm-header) .mm-benefits-section { margin-top: 22px; padding: 22px 0; }
    body:has(.mm-header) .mm-benefits-grid { grid-template-columns: 1fr !important; gap: 9px; }
    body:has(.mm-header) .mm-benefit-card { min-height: 72px; padding: 12px 14px; }
    body:has(.mm-header) .mm-benefit-icon { width: 43px; height: 43px; flex-basis: 43px; }

    body:has(.mm-header) .mm-newsletter-section { padding-top: 24px; }
    body:has(.mm-header) .mm-newsletter { display: flex; align-items: stretch; flex-direction: column; gap: 16px; padding: 21px 18px; border-radius: 12px 12px 0 0; }
    body:has(.mm-header) .mm-newsletter h2 { font-size: 19px; line-height: 1.25; }
    body:has(.mm-header) .mm-newsletter-form { width: 100%; min-width: 0; height: 42px; }
    body:has(.mm-header) .mm-newsletter-form input { width: 100%; min-width: 0; font-size: 12px; }
    body:has(.mm-header) .mm-newsletter-form button { flex: 0 0 auto; padding: 0 14px; font-size: 11px; }

    body:has(.mm-header) .mm-footer { padding: 30px 0 18px; overflow: hidden; }
    body:has(.mm-header) .mm-footer-grid { display: grid !important; grid-template-columns: 1fr !important; gap: 0 !important; }
    body:has(.mm-header) .mm-footer-brand { min-width: 0; padding-bottom: 22px; }
    body:has(.mm-header) .mm-footer-brand > img { max-width: 145px; max-height: 42px; }
    body:has(.mm-header) .mm-footer-brand p { max-width: 100%; margin: 12px 0; font-size: 12px; line-height: 1.6; }
    body:has(.mm-header) .mm-footer-contact { overflow-wrap: anywhere; }
    body:has(.mm-header) .mm-footer-social { margin-top: 14px; }
    body:has(.mm-header) .mm-footer-column { min-width: 0; padding: 18px 0; border-top: 1px solid var(--mm-line); }
    body:has(.mm-header) .mm-footer-column h3 { margin: 0 0 10px; font-size: 14px; }
    body:has(.mm-header) .mm-footer-column a { margin: 6px 0; font-size: 12px; overflow-wrap: anywhere; }
    body:has(.mm-header) .mm-footer-bottom { display: flex; align-items: flex-start; flex-direction: column; gap: 12px; margin-top: 4px; padding-top: 16px; font-size: 10px; }
    body:has(.mm-header) .mm-footer-payment { width: 100%; align-items: flex-start; justify-content: flex-start; gap: 10px; }
    body:has(.mm-header) .mm-footer-payment img { width: auto; max-width: 100%; max-height: 20px; }
}

@media (max-width: 389.98px) {
    body:has(.mm-header) .mm-logo img { max-width: 116px; }
    body:has(.mm-header) .mm-header-actions { gap: 3px; }
    body:has(.mm-header) .mm-header-action-icon, body:has(.mm-header) .mm-mobile-toggle { width: 34px; height: 34px; }
    body:has(.mm-header) .mm-product-grid,
    body:has(.mm-header) .mm-compact-product-grid { gap: 7px !important; }
    body:has(.mm-header) .mm-product-body { padding: 9px 8px 10px; }
}
/* Mobile header contrast and daily deal grid */
@media (max-width: 767.98px) {
    body:has(.mm-header) .mm-header-actions > a[data-account-header-trigger],
    body:has(.mm-header) .mm-account-dropdown { display: block !important; }
    body:has(.mm-header) .mm-account-dropdown .mm-account-button { display: flex !important; min-height: 38px; padding: 0 !important; }
    body:has(.mm-header) .mm-header-actions > a[data-wishlist-header-trigger] { display: none !important; }
    body:has(.mm-header) .mm-header-action-icon,
    body:has(.mm-header) .mm-header-action-icon i,
    body:has(.mm-header) .mm-account-button,
    body:has(.mm-header) .mm-header-actions > a[data-bs-target="#offcanvasCart"] { color: #74135f !important; }
    body:has(.mm-header) .mm-header-action-icon { border: 1px solid #ead7e6; background: #f8edf5 !important; }
    body:has(.mm-header) .mm-header-action-icon svg,
    body:has(.mm-header) .mm-header-action-icon svg path { fill: currentColor !important; stroke: currentColor !important; }

    body:has(.mm-header) .mm-daily-deal-products .mm-compact-product-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }
    body:has(.mm-header) .mm-daily-deal-products .mm-compact-product-card {
        display: grid !important;
        grid-template-columns: 1fr !important;
        grid-template-rows: auto 1fr;
        min-width: 0;
        min-height: 0;
        border-radius: 11px;
    }
    body:has(.mm-header) .mm-daily-deal-products .mm-compact-product-image {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
        overflow: hidden;
        background: #f7f7f7;
    }
    body:has(.mm-header) .mm-daily-deal-products .mm-compact-product-image img { object-fit: cover; }
    body:has(.mm-header) .mm-daily-deal-products .mm-compact-product-body {
        min-width: 0;
        padding: 10px 9px 12px;
        justify-content: flex-start;
    }
    body:has(.mm-header) .mm-daily-deal-products .mm-compact-product-title {
        min-height: 34px;
        margin-bottom: 6px;
        font-size: 11px;
        line-height: 1.45;
    }
    body:has(.mm-header) .mm-daily-deal-products .mm-compact-product-body strong { font-size: 13px; }
    body:has(.mm-header) .mm-daily-deal-products .mm-compact-product-body del { font-size: 9px; }
    body:has(.mm-header) .mm-daily-deal-products .mm-compact-product-discount { right: 7px; top: 7px; bottom: auto; }
    body:has(.mm-header) .mm-daily-deal-products .mm-compact-product-actions { top: 7px; left: 7px; right: auto; opacity: 1; }
    body:has(.mm-header) .mm-daily-deal-products .mm-compact-product-actions a { width: 26px !important; height: 26px !important; }
}

/* Daily deal horizontal commerce redesign */
body:has(.mm-header) .mm-layout-daily-deal {
    padding: 40px 0 !important;
    background: linear-gradient(180deg,#fff 0%,#fff8f4 100%);
}
body:has(.mm-header) .mm-daily-deal-showcase {
    display: grid;
    grid-template-columns: 1fr !important;
    gap: 16px;
}
body:has(.mm-header) .mm-daily-deal-panel {
    min-height: 280px;
    padding: 34px 38px;
    justify-content: center;
    border-radius: 20px;
}
body:has(.mm-header) .mm-daily-deal-panel::before { inset: 16px; border-radius: 14px; }
body:has(.mm-header) .mm-daily-deal-panel h2 { max-width: 430px; font-size: clamp(32px,4vw,52px); }
body:has(.mm-header) .mm-daily-deal-panel p { max-width: 430px; }
body:has(.mm-header) .mm-daily-deal-products {
    padding: 18px;
    border: 1px solid #eee5ed;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 14px 36px rgba(48,31,52,.08);
}
body:has(.mm-header) .mm-daily-deal-products .mm-compact-product-grid {
    display: grid !important;
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    gap: 14px !important;
}
body:has(.mm-header) .mm-daily-deal-products .mm-compact-product-card {
    display: grid !important;
    grid-template-columns: 150px minmax(0,1fr) !important;
    grid-template-rows: 1fr !important;
    min-width: 0;
    min-height: 154px;
    overflow: hidden;
    border: 1px solid #ebecef;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 7px 20px rgba(31,36,51,.06);
    transition: transform .22s ease,box-shadow .22s ease,border-color .22s ease;
}
body:has(.mm-header) .mm-daily-deal-products .mm-compact-product-card:hover {
    border-color: rgba(116,19,95,.24);
    box-shadow: 0 14px 30px rgba(50,31,55,.13);
    transform: translateY(-3px);
}
body:has(.mm-header) .mm-daily-deal-products .mm-compact-product-image {
    width: 150px;
    height: 100%;
    min-height: 154px;
    aspect-ratio: auto;
    overflow: hidden;
    background: #f6f7f9;
}
body:has(.mm-header) .mm-daily-deal-products .mm-compact-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
    transition: transform .3s ease;
}
body:has(.mm-header) .mm-daily-deal-products .mm-compact-product-card:hover .mm-compact-product-image img { transform: scale(1.035); }
body:has(.mm-header) .mm-daily-deal-products .mm-compact-product-body {
    display: flex;
    min-width: 0;
    padding: 20px 46px 18px 17px;
    flex-direction: column;
    justify-content: center;
}
body:has(.mm-header) .mm-daily-deal-products .mm-compact-product-title {
    min-height: 0;
    margin: 0 0 9px;
    color: #252a36;
    font-size: 13px;
    font-weight: 780;
    line-height: 1.45;
    -webkit-line-clamp: 2;
}
body:has(.mm-header) .mm-daily-deal-products .mm-compact-product-body del { margin-bottom: 3px; color: #9ba1aa; font-size: 10px; }
body:has(.mm-header) .mm-daily-deal-products .mm-compact-product-body strong { color: #ff5d2a; font-size: 16px; }
body:has(.mm-header) .mm-daily-deal-products .mm-compact-product-discount {
    z-index: 3;
    top: auto;
    right: 12px;
    bottom: 12px;
    padding: 5px 7px;
    border-radius: 7px;
    background: #ff5d2a;
}
body:has(.mm-header) .mm-daily-deal-products .mm-compact-product-actions {
    z-index: 3;
    top: 10px;
    right: 10px;
    left: auto;
    display: flex;
    flex-direction: column;
    opacity: 1;
}
body:has(.mm-header) .mm-daily-deal-products .mm-compact-product-actions a { width: 29px !important; height: 29px !important; background: #fff !important; box-shadow: 0 4px 12px rgba(31,36,51,.13); }
@media (max-width: 991.98px) {
    body:has(.mm-header) .mm-daily-deal-products .mm-compact-product-grid { grid-template-columns: 1fr !important; }
}
@media (max-width: 767.98px) {
    body:has(.mm-header) .mm-layout-daily-deal { padding: 24px 0 !important; }
    body:has(.mm-header) .mm-daily-deal-showcase { gap: 11px !important; }
    body:has(.mm-header) .mm-daily-deal-panel { min-height: 245px !important; padding: 22px !important; border-radius: 15px; }
    body:has(.mm-header) .mm-daily-deal-panel h2 { max-width: 260px; font-size: 27px !important; }
    body:has(.mm-header) .mm-daily-deal-panel p { max-width: 260px; }
    body:has(.mm-header) .mm-daily-deal-products { padding: 9px; border-radius: 15px; }
    body:has(.mm-header) .mm-daily-deal-products .mm-compact-product-grid { grid-template-columns: 1fr !important; gap: 9px !important; }
    body:has(.mm-header) .mm-daily-deal-products .mm-compact-product-card {
        grid-template-columns: 112px minmax(0,1fr) !important;
        grid-template-rows: 1fr !important;
        min-height: 122px;
        border-radius: 12px;
    }
    body:has(.mm-header) .mm-daily-deal-products .mm-compact-product-image { width: 112px; height: 100%; min-height: 122px; aspect-ratio: auto; }
    body:has(.mm-header) .mm-daily-deal-products .mm-compact-product-image img { padding: 4px; object-fit: contain; }
    body:has(.mm-header) .mm-daily-deal-products .mm-compact-product-body { padding: 14px 38px 13px 12px; }
    body:has(.mm-header) .mm-daily-deal-products .mm-compact-product-title { min-height: 0; margin-bottom: 6px; font-size: 11px; }
    body:has(.mm-header) .mm-daily-deal-products .mm-compact-product-body strong { font-size: 14px; }
    body:has(.mm-header) .mm-daily-deal-products .mm-compact-product-actions { top: 7px; right: 7px; left: auto; }
    body:has(.mm-header) .mm-daily-deal-products .mm-compact-product-actions a { width: 25px !important; height: 25px !important; }
    body:has(.mm-header) .mm-daily-deal-products .mm-compact-product-discount { right: 7px; bottom: 7px; top: auto; font-size: 8px; }
}
@media (max-width: 374.98px) {
    body:has(.mm-header) .mm-daily-deal-products .mm-compact-product-card { grid-template-columns: 96px minmax(0,1fr) !important; }
    body:has(.mm-header) .mm-daily-deal-products .mm-compact-product-image { width: 96px; }
}
/* Modern Magaza mobile header: visible wishlist and cart actions */
@media (max-width: 767.98px) {
    body:has(.mm-header) .mm-header-actions > a[data-account-header-trigger],
    body:has(.mm-header) .mm-account-dropdown {
        display: none !important;
    }

    body:has(.mm-header) .mm-header-actions > a[data-wishlist-header-trigger],
    body:has(.mm-header) .mm-header-actions > a[data-bs-target="#offcanvasCart"] {
        display: flex !important;
        min-height: 38px;
        padding: 0 !important;
        color: #74135f !important;
    }

    body:has(.mm-header) .mm-header-actions > a[data-wishlist-header-trigger] .mm-header-action-icon,
    body:has(.mm-header) .mm-header-actions > a[data-bs-target="#offcanvasCart"] .mm-header-action-icon {
        display: grid !important;
        place-items: center;
        color: #74135f !important;
        background: #f8edf5 !important;
        border: 1px solid #ead7e6;
    }

    body:has(.mm-header) .mm-header-actions > a[data-wishlist-header-trigger] .mm-header-action-icon i,
    body:has(.mm-header) .mm-header-actions > a[data-bs-target="#offcanvasCart"] .mm-header-action-icon i {
        display: inline-block !important;
        visibility: visible !important;
        opacity: 1 !important;
        color: #74135f !important;
        font-size: 18px !important;
        line-height: 1 !important;
    }

    body:has(.mm-header) .mm-mobile-toggle,
    body:has(.mm-header) .mm-mobile-toggle i {
        color: #fff !important;
    }
}
/* Font-independent header icons */
body:has(.mm-header) .mm-action-svg {
    display: block !important;
    width: 19px;
    height: 19px;
    overflow: visible;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
    visibility: visible !important;
    opacity: 1 !important;
}
body:has(.mm-header) .mm-action-svg path,
body:has(.mm-header) .mm-action-svg circle {
    fill: none !important;
    stroke: currentColor !important;
}