/* 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; }
}

.mm-footer-social {
    margin-top: 18px;
}

.mm-footer-social h4 {
    margin: 0 0 10px;
    color: #172033;
    font-size: 13px;
    font-weight: 700;
}

.mm-footer-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    align-items: center;
}

.mm-footer-social-links a {
    display: inline-grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border: 1px solid #e8ebf1;
    border-radius: 50%;
    color: #74135f;
    background: #fff;
    text-decoration: none;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.mm-footer-social-links a:hover {
    border-color: #74135f;
    color: #fff;
    background: #74135f;
    transform: translateY(-2px);
}

.mm-footer-social-links svg {
    display: block;
    width: 17px;
    height: 17px;
    fill: currentColor;
    flex: 0 0 17px;
}
/* Modern marketplace category fit restore */
body:has(.mm-header) .mm-category-scroll {
    display: grid !important;
    grid-template-columns: repeat(10, minmax(0, 1fr)) !important;
    gap: 14px !important;
    overflow: visible !important;
    padding-inline: 2px !important;
}
body:has(.mm-header) .mm-category-item {
    min-width: 0 !important;
    flex: initial !important;
    font-size: 12px !important;
    font-weight: 700 !important;
}
body:has(.mm-header) .mm-category-item span {
    width: clamp(74px, 6.4vw, 96px) !important;
    height: clamp(74px, 6.4vw, 96px) !important;
}
@media (max-width: 1199.98px) {
    body:has(.mm-header) .mm-category-scroll {
        display: flex !important;
        gap: 16px !important;
        overflow-x: auto !important;
    }
    body:has(.mm-header) .mm-category-item {
        flex: 0 0 94px !important;
    }
    body:has(.mm-header) .mm-category-item span {
        width: 84px !important;
        height: 84px !important;
    }
}

/* Product listing grid density restore */
.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;
}

@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;
    }
}
/* Modern marketplace scroll reveal restore */
.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 (prefers-reduced-motion: reduce) {
    .mm-scroll-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
/* Mobile storefront alignment and image-fit refinements */
.mm-footer-payment {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.mm-footer-payment img {
    display: block;
    width: auto;
    height: 22px;
    max-width: min(100%, 330px);
    object-fit: contain;
}

@media (max-width: 800px) {
    body:has(.mm-header) .mm-header-actions {
        display: grid;
        grid-column: 1 / -1;
        width: 100%;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        justify-content: stretch;
        gap: 6px;
    }

    body:has(.mm-header) .mm-header-actions > .mm-header-action {
        display: flex !important;
        min-width: 0;
        justify-content: center;
        padding-inline: 3px !important;
    }

    body:has(.mm-header) .mm-header-actions > .mm-account-entry,
    body:has(.mm-header) .mm-header-actions > .mm-mobile-toggle {
        display: none !important;
    }

    body:has(.mm-header) .mm-header-action-copy {
        min-width: 0;
    }

    body:has(.mm-header) .mm-header-action-copy strong {
        white-space: nowrap;
    }

    body:has(.mm-header) .mm-hero-carousel,
    body:has(.mm-header) .mm-hero-slide,
    body:has(.mm-header) .mm-side-banner {
        background: #f5f3f4;
    }

    body:has(.mm-header) .mm-hero-slide > img,
    body:has(.mm-header) .mm-side-banner img {
        object-fit: contain;
        object-position: center;
        transform: none !important;
        animation: none;
    }

    body:has(.mm-header) .mm-footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    body:has(.mm-header) .mm-footer-payment {
        width: 100%;
        align-items: flex-start;
        justify-content: flex-start;
        flex-direction: column;
        gap: 7px;
    }

    body:has(.mm-header) .mm-footer-payment img {
        height: 18px;
        max-width: 100%;
    }
}

@media (max-width: 390px) {
    body:has(.mm-header) .mm-header-actions {
        gap: 2px;
    }

    body:has(.mm-header) .mm-header-action {
        gap: 5px;
    }

    body:has(.mm-header) .mm-header-action-icon {
        width: 30px;
        height: 30px;
    }

    body:has(.mm-header) .mm-header-action-copy small {
        font-size: 9px;
    }

    body:has(.mm-header) .mm-header-action-copy strong {
        font-size: 12px;
    }
}

/* Modern marketplace login modal */
body:has(.mm-header) #formModal .modal-dialog { width:min(920px,calc(100% - 32px)); max-width:920px; }
body:has(.mm-header) #formModal .modal-content { overflow:hidden; border:0; border-radius:24px; background:#fff; box-shadow:0 30px 90px rgba(35,24,48,.24); }
body:has(.mm-header) #formModal .modal-header { position:absolute; z-index:10; top:0; right:0; min-height:0; padding:0; border:0; }
body:has(.mm-header) #formModal .modal-header .btn-close { position:absolute; top:16px; right:16px; width:38px; height:38px; margin:0; padding:0; border:1px solid rgba(34,48,68,.08); border-radius:50%; background-color:rgba(255,255,255,.92); background-size:11px; box-shadow:0 8px 24px rgba(34,48,68,.12); filter:none; opacity:1; }
body:has(.mm-header) #formModal .modal-body { padding:0; }
body:has(.mm-header) #formModal .login-modal-layout { display:grid; grid-template-columns:minmax(0,.92fr) minmax(390px,1.08fr); min-height:610px; }
body:has(.mm-header) #formModal .login-modal-showcase { position:relative; display:flex; overflow:hidden; padding:48px 42px; align-items:flex-end; color:#fff; background:radial-gradient(circle at 20% 15%,rgba(255,255,255,.18),transparent 28%),linear-gradient(145deg,#5d174d 0%,#8b1b57 50%,#e44d75 100%); isolation:isolate; }
body:has(.mm-header) #formModal .login-modal-showcase::before, body:has(.mm-header) #formModal .login-modal-showcase::after { position:absolute; z-index:-1; content:""; border:1px solid rgba(255,255,255,.2); border-radius:50%; }
body:has(.mm-header) #formModal .login-modal-showcase::before { top:-110px; right:-120px; width:360px; height:360px; }
body:has(.mm-header) #formModal .login-modal-showcase::after { top:35px; right:-55px; width:220px; height:220px; }
body:has(.mm-header) #formModal .login-modal-showcase-pattern { position:absolute; top:90px; left:42px; width:150px; height:150px; border-radius:28px; background:linear-gradient(135deg,rgba(255,255,255,.14),rgba(255,255,255,.03)); box-shadow:54px 42px 0 rgba(255,255,255,.07); transform:rotate(-12deg); }
body:has(.mm-header) #formModal .login-modal-showcase-content { position:relative; z-index:2; }
body:has(.mm-header) #formModal .login-modal-kicker, body:has(.mm-header) #formModal .login-modal-eyebrow { display:block; margin-bottom:12px; font-size:11px; font-weight:800; letter-spacing:1.5px; text-transform:uppercase; }
body:has(.mm-header) #formModal .login-modal-showcase h3 { max-width:330px; margin:0 0 14px; color:#fff; font-size:clamp(30px,3vw,42px); font-weight:850; line-height:1.08; }
body:has(.mm-header) #formModal .login-modal-showcase p { max-width:340px; margin:0; color:rgba(255,255,255,.8); font-size:14px; line-height:1.65; }
body:has(.mm-header) #formModal .login-modal-benefits { display:grid; gap:11px; margin-top:28px; }
body:has(.mm-header) #formModal .login-modal-benefits span { display:flex; align-items:center; gap:10px; color:rgba(255,255,255,.92); font-size:13px; font-weight:650; }
body:has(.mm-header) #formModal .login-modal-benefits i { display:grid; width:27px; height:27px; place-items:center; border-radius:50%; background:rgba(255,255,255,.14); }
body:has(.mm-header) #formModal .login-modal-form-panel { display:flex; padding:54px 52px 34px; flex-direction:column; justify-content:center; }
body:has(.mm-header) #formModal .login-modal-heading { margin-bottom:27px; }
body:has(.mm-header) #formModal .login-modal-mobile-icon { display:none; }
body:has(.mm-header) #formModal .login-modal-eyebrow { margin-bottom:6px; color:var(--mm-primary,#8b1b57); }
body:has(.mm-header) #formModal .login-modal-heading h4 { margin:0; color:var(--mm-text,#223044); font-size:30px; font-weight:850; }
body:has(.mm-header) #formModal .login-modal-heading p { margin:7px 0 0; color:#7b8492; font-size:13px; }
body:has(.mm-header) #formModal .login-modal-field { margin-bottom:18px; }
body:has(.mm-header) #formModal .login-modal-field label { margin-bottom:8px; color:#374151; font-size:12px; font-weight:750; }
body:has(.mm-header) #formModal .login-modal-input-wrap { position:relative; }
body:has(.mm-header) #formModal .login-modal-input-wrap>i { position:absolute; z-index:2; top:50%; left:17px; color:#98a0ac; font-size:17px; transform:translateY(-50%); pointer-events:none; }
body:has(.mm-header) #formModal .login-modal-input-wrap .form-control { height:52px; padding:0 48px; border:1px solid #e1e5ea; border-radius:12px; color:#273244; background:#f8f9fb; font-size:13px; box-shadow:none; transition:.2s ease; }
body:has(.mm-header) #formModal .login-modal-input-wrap .form-control:focus { border-color:var(--mm-primary,#8b1b57); background:#fff; box-shadow:0 0 0 4px rgba(139,27,87,.09); }
body:has(.mm-header) #formModal .toggle-password { display:grid; width:38px; height:38px; padding:0; place-items:center; border:0; border-radius:9px; background:transparent; }
body:has(.mm-header) #formModal .login-modal-options { display:flex; margin:2px 0 22px; align-items:center; justify-content:space-between; gap:14px; }
body:has(.mm-header) #formModal .login-modal-options label, body:has(.mm-header) #formModal .login-modal-options a { color:#697383; font-size:12px; font-weight:650; }
body:has(.mm-header) #formModal .login-modal-options a { color:var(--mm-primary,#8b1b57); }
body:has(.mm-header) #formModal .form-check-input:checked { border-color:var(--mm-primary,#8b1b57); background-color:var(--mm-primary,#8b1b57); }
body:has(.mm-header) #formModal .login-modal-submit, body:has(.mm-header) #formModal .login-modal-register { display:flex; min-height:50px; align-items:center; justify-content:center; gap:10px; border-radius:12px; font-size:12px; font-weight:800; letter-spacing:.35px; }
body:has(.mm-header) #formModal .login-modal-submit { border:0; color:#fff; background:linear-gradient(135deg,var(--mm-primary,#8b1b57),#b62968); box-shadow:0 12px 25px rgba(139,27,87,.22); }
body:has(.mm-header) #formModal .login-modal-submit i { transition:transform .2s ease; }
body:has(.mm-header) #formModal .login-modal-submit:hover i { transform:translateX(4px); }
body:has(.mm-header) #formModal .login-modal-divider { display:flex; margin:18px 0 12px; align-items:center; gap:13px; color:#a0a7b1; font-size:11px; }
body:has(.mm-header) #formModal .login-modal-divider::before, body:has(.mm-header) #formModal .login-modal-divider::after { height:1px; flex:1; content:""; background:#eceef1; }
body:has(.mm-header) #formModal .login-modal-register-copy { margin:0 0 10px; color:#8a929d; font-size:11px; text-align:center; }
body:has(.mm-header) #formModal .login-modal-register { border:1px solid #dfe3e8; color:#354052; background:#fff; }
body:has(.mm-header) #formModal .login-modal-register:hover { border-color:var(--mm-primary,#8b1b57); color:var(--mm-primary,#8b1b57); background:#fff8fb; }
body:has(.mm-header) #formModal .login-modal-security { margin:20px 0 0; color:#a0a7b1; font-size:10px; text-align:center; }
body:has(.mm-header) #formModal .login-modal-security i { margin-right:4px; }
@media (max-width:767px) {
 body:has(.mm-header) #formModal .modal-dialog { width:auto; margin:12px; }
 body:has(.mm-header) #formModal .modal-content { border-radius:20px; }
 body:has(.mm-header) #formModal .login-modal-layout { display:block; min-height:0; }
 body:has(.mm-header) #formModal .login-modal-showcase { display:none; }
 body:has(.mm-header) #formModal .login-modal-form-panel { padding:52px 22px 24px; }
 body:has(.mm-header) #formModal .login-modal-heading { display:flex; margin-bottom:24px; align-items:center; gap:13px; }
 body:has(.mm-header) #formModal .login-modal-mobile-icon { display:grid; flex:0 0 45px; width:45px; height:45px; place-items:center; border-radius:13px; color:#fff; background:linear-gradient(135deg,var(--mm-primary,#8b1b57),#d24475); font-size:18px; }
 body:has(.mm-header) #formModal .login-modal-heading h4 { font-size:24px; }
 body:has(.mm-header) #formModal .login-modal-heading p { display:none; }
 body:has(.mm-header) #formModal .login-modal-options { align-items:flex-start; }
}

/* Modern marketplace registration modal */
body:has(.mm-header) #formModal:has(.register-modal-layout) .modal-dialog { width:min(1040px,calc(100% - 32px)); max-width:1040px; }
body:has(.mm-header) #formModal .register-modal-layout { display:grid; grid-template-columns:minmax(330px,.82fr) minmax(520px,1.18fr); min-height:630px; }
body:has(.mm-header) #formModal .register-modal-showcase { position:relative; display:flex; overflow:hidden; padding:48px 42px; align-items:flex-end; color:#fff; background:radial-gradient(circle at 18% 16%,rgba(255,255,255,.18),transparent 28%),linear-gradient(145deg,#401743 0%,#74135f 48%,#c83872 100%); isolation:isolate; }
body:has(.mm-header) #formModal .register-modal-showcase::before, body:has(.mm-header) #formModal .register-modal-showcase::after { position:absolute; z-index:-1; content:""; border:1px solid rgba(255,255,255,.2); border-radius:50%; }
body:has(.mm-header) #formModal .register-modal-showcase::before { top:-110px; right:-120px; width:360px; height:360px; }
body:has(.mm-header) #formModal .register-modal-showcase::after { top:35px; right:-55px; width:220px; height:220px; }
body:has(.mm-header) #formModal .register-modal-showcase-pattern { position:absolute; top:94px; left:44px; width:148px; height:148px; border-radius:50%; background:linear-gradient(135deg,rgba(255,255,255,.15),rgba(255,255,255,.03)); box-shadow:58px 42px 0 -18px rgba(255,255,255,.09),18px 105px 0 -38px rgba(255,255,255,.14); }
body:has(.mm-header) #formModal .register-modal-showcase-content { position:relative; z-index:2; }
body:has(.mm-header) #formModal .register-modal-kicker, body:has(.mm-header) #formModal .register-modal-eyebrow { display:block; margin-bottom:12px; font-size:11px; font-weight:800; letter-spacing:1.5px; text-transform:uppercase; }
body:has(.mm-header) #formModal .register-modal-showcase h3 { max-width:350px; margin:0 0 14px; color:#fff; font-size:clamp(29px,2.8vw,40px); font-weight:850; line-height:1.08; }
body:has(.mm-header) #formModal .register-modal-showcase p { max-width:350px; margin:0; color:rgba(255,255,255,.8); font-size:14px; line-height:1.65; }
body:has(.mm-header) #formModal .register-modal-benefits { display:grid; gap:11px; margin-top:28px; }
body:has(.mm-header) #formModal .register-modal-benefits span { display:flex; align-items:center; gap:10px; color:rgba(255,255,255,.92); font-size:13px; font-weight:650; }
body:has(.mm-header) #formModal .register-modal-benefits i { display:grid; width:27px; height:27px; place-items:center; border-radius:50%; background:rgba(255,255,255,.14); }
body:has(.mm-header) #formModal .register-modal-form-panel { display:flex; padding:48px 46px 30px; flex-direction:column; justify-content:center; }
body:has(.mm-header) #formModal .register-modal-heading { margin-bottom:24px; }
body:has(.mm-header) #formModal .register-modal-mobile-icon { display:none; }
body:has(.mm-header) #formModal .register-modal-eyebrow { margin-bottom:6px; color:var(--mm-primary,#8b1b57); }
body:has(.mm-header) #formModal .register-modal-heading h4 { margin:0; color:var(--mm-text,#223044); font-size:30px; font-weight:850; }
body:has(.mm-header) #formModal .register-modal-heading p { margin:7px 0 0; color:#7b8492; font-size:13px; }
body:has(.mm-header) #formModal .register-modal-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
body:has(.mm-header) #formModal .register-modal-field label { margin-bottom:8px; color:#374151; font-size:12px; font-weight:750; }
body:has(.mm-header) #formModal .register-modal-input-wrap { position:relative; }
body:has(.mm-header) #formModal .register-modal-input-wrap>i { position:absolute; z-index:2; top:50%; left:17px; color:#98a0ac; font-size:17px; transform:translateY(-50%); pointer-events:none; }
body:has(.mm-header) #formModal .register-modal-input-wrap .form-control { height:52px; padding:0 48px; border:1px solid #e1e5ea; border-radius:12px; color:#273244; background:#f8f9fb; font-size:13px; box-shadow:none; transition:.2s ease; }
body:has(.mm-header) #formModal .register-modal-input-wrap .form-control:focus { border-color:var(--mm-primary,#8b1b57); background:#fff; box-shadow:0 0 0 4px rgba(139,27,87,.09); }
body:has(.mm-header) #formModal .register-toggle-password { display:grid; width:38px; height:38px; padding:0; place-items:center; border:0; border-radius:9px; background:transparent; }
body:has(.mm-header) #formModal .register-modal-password-note { display:flex; margin:14px 0 18px; align-items:center; gap:7px; color:#8a929d; font-size:10px; }
body:has(.mm-header) #formModal .register-modal-password-note i { color:var(--mm-primary,#8b1b57); }
body:has(.mm-header) #formModal .register-modal-submit, body:has(.mm-header) #formModal .register-modal-login { display:flex; min-height:50px; align-items:center; justify-content:center; gap:10px; border-radius:12px; font-size:12px; font-weight:800; letter-spacing:.35px; }
body:has(.mm-header) #formModal .register-modal-submit { border:0; color:#fff; background:linear-gradient(135deg,var(--mm-primary,#8b1b57),#b62968); box-shadow:0 12px 25px rgba(139,27,87,.22); }
body:has(.mm-header) #formModal .register-modal-submit i { transition:transform .2s ease; }
body:has(.mm-header) #formModal .register-modal-submit:hover i { transform:translateX(4px); }
body:has(.mm-header) #formModal .register-modal-divider { display:flex; margin:16px 0 10px; align-items:center; gap:13px; color:#a0a7b1; font-size:11px; }
body:has(.mm-header) #formModal .register-modal-divider::before, body:has(.mm-header) #formModal .register-modal-divider::after { height:1px; flex:1; content:""; background:#eceef1; }
body:has(.mm-header) #formModal .register-modal-login-copy { margin:0 0 9px; color:#8a929d; font-size:11px; text-align:center; }
body:has(.mm-header) #formModal .register-modal-login { border:1px solid #dfe3e8; color:#354052; background:#fff; }
body:has(.mm-header) #formModal .register-modal-login:hover { border-color:var(--mm-primary,#8b1b57); color:var(--mm-primary,#8b1b57); background:#fff8fb; }
body:has(.mm-header) #formModal .register-modal-security { margin:17px 0 0; color:#a0a7b1; font-size:10px; text-align:center; }
body:has(.mm-header) #formModal .register-modal-security i { margin-right:4px; }
@media (max-width:991px) {
 body:has(.mm-header) #formModal:has(.register-modal-layout) .modal-dialog { max-width:760px; }
 body:has(.mm-header) #formModal .register-modal-layout { grid-template-columns:260px minmax(0,1fr); }
 body:has(.mm-header) #formModal .register-modal-showcase { padding:38px 28px; }
 body:has(.mm-header) #formModal .register-modal-showcase h3 { font-size:28px; }
 body:has(.mm-header) #formModal .register-modal-form-panel { padding:48px 34px 28px; }
 body:has(.mm-header) #formModal .register-modal-fields { grid-template-columns:1fr; gap:13px; }
}
@media (max-width:767px) {
 body:has(.mm-header) #formModal .register-modal-layout { display:block; min-height:0; }
 body:has(.mm-header) #formModal .register-modal-showcase { display:none; }
 body:has(.mm-header) #formModal .register-modal-form-panel { padding:52px 22px 24px; }
 body:has(.mm-header) #formModal .register-modal-heading { display:flex; margin-bottom:24px; align-items:center; gap:13px; }
 body:has(.mm-header) #formModal .register-modal-mobile-icon { display:grid; flex:0 0 45px; width:45px; height:45px; place-items:center; border-radius:13px; color:#fff; background:linear-gradient(135deg,var(--mm-primary,#8b1b57),#d24475); font-size:18px; }
 body:has(.mm-header) #formModal .register-modal-heading h4 { font-size:24px; }
 body:has(.mm-header) #formModal .register-modal-heading p { display:none; }
}

/* Refined cart drawer for Modern Marketplace */
body:has(.mm-header) #offcanvasCart.cart-offcanvas { width:min(460px,100vw); border-left:1px solid rgba(116,19,95,.08); background:#f7f7fa; box-shadow:-24px 0 70px rgba(37,26,45,.2); }
body:has(.mm-header) #offcanvasCart .shopping-cart-panel-header { position:relative; min-height:116px; padding:25px 26px 22px; align-items:center; border:0; color:#fff; background:radial-gradient(circle at 15% 0%,rgba(255,255,255,.16),transparent 35%),linear-gradient(135deg,#51104c 0%,#74135f 58%,#9a246f 100%); }
body:has(.mm-header) #offcanvasCart .shopping-cart-panel-header::after { position:absolute; right:82px; bottom:0; width:90px; height:90px; content:""; border:1px solid rgba(255,255,255,.1); border-radius:50%; transform:translateY(48%); }
body:has(.mm-header) #offcanvasCart .shopping-cart-panel-eyebrow { margin-bottom:5px; color:rgba(255,255,255,.65); font-size:11px; letter-spacing:1.2px; }
body:has(.mm-header) #offcanvasCart #shoppingCartLabel { margin:0 0 6px!important; color:#fff; font-size:22px; font-weight:800; }
body:has(.mm-header) #offcanvasCart .shopping-cart-panel-header p { color:rgba(255,255,255,.72); font-size:13px; }
body:has(.mm-header) #offcanvasCart .shopping-cart-panel-header .btn-close { position:relative; z-index:2; width:42px; height:42px; margin:0; border:1px solid rgba(255,255,255,.18); background-color:rgba(16,10,18,.76); background-size:12px; box-shadow:0 8px 24px rgba(22,8,20,.2); filter:invert(1); transition:transform .2s ease,background-color .2s ease; }
body:has(.mm-header) #offcanvasCart .shopping-cart-panel-header .btn-close:hover { background-color:#111; opacity:1; transform:rotate(5deg); }
body:has(.mm-header) #offcanvasCart .shopping-cart-panel-body { padding:0; background:linear-gradient(180deg,#f8f8fb 0%,#f2f3f7 100%); }
body:has(.mm-header) #offcanvasCart .cart-products-main { min-height:calc(100dvh - 388px); padding:22px 20px 28px; }
body:has(.mm-header) #offcanvasCart .cartNodata { min-height:calc(100dvh - 410px); }
body:has(.mm-header) #offcanvasCart .cart-empty-state { max-width:340px; padding:34px 28px 30px; border:1px solid rgba(116,19,95,.1); border-radius:18px; background:linear-gradient(145deg,#fff,#fcf9fc); box-shadow:0 18px 48px rgba(42,30,50,.09); }
body:has(.mm-header) #offcanvasCart .cart-empty-state-icon { position:relative; width:68px; height:68px; margin-bottom:20px; color:#fff; background:linear-gradient(135deg,#74135f,#a82f79); font-size:26px; box-shadow:0 12px 28px rgba(116,19,95,.24); }
body:has(.mm-header) #offcanvasCart .cart-empty-state-icon::after { position:absolute; inset:-7px; content:""; border:1px dashed rgba(116,19,95,.24); border-radius:50%; }
body:has(.mm-header) #offcanvasCart .cart-empty-state h4 { color:#202536; font-size:19px; font-weight:800; }
body:has(.mm-header) #offcanvasCart .cart-empty-state-copy { color:#818899; font-size:12px; line-height:1.6; }
body:has(.mm-header) #offcanvasCart .cart-empty-state-action { margin-top:20px; padding:10px 18px; border:1px solid rgba(116,19,95,.18); border-radius:10px; color:#74135f; background:#fff; font-size:11px; font-weight:800; transition:.2s ease; }
body:has(.mm-header) #offcanvasCart .cart-empty-state-action:hover { color:#fff; background:#74135f; transform:translateY(-1px); }
body:has(.mm-header) #offcanvasCart .product-list-sm-group { gap:13px; }
body:has(.mm-header) #offcanvasCart .product-list-view-sm { padding:13px; border:1px solid #ebe7ed; border-radius:15px; box-shadow:0 8px 22px rgba(37,26,45,.06); transition:transform .2s ease,box-shadow .2s ease; }
body:has(.mm-header) #offcanvasCart .product-list-view-sm:hover { transform:translateY(-2px); box-shadow:0 12px 28px rgba(37,26,45,.1); }
body:has(.mm-header) #offcanvasCart .product-list-banner-sm { border-radius:11px; }
body:has(.mm-header) #offcanvasCart .product-title-link { color:#252b3a; font-size:14px; font-weight:750; line-height:1.35; }
body:has(.mm-header) #offcanvasCart .quantity-input-wrap { border-color:#e4dfe7; border-radius:9px; }
body:has(.mm-header) #offcanvasCart .quantity-btn { background:#f6f2f6; }
body:has(.mm-header) #offcanvasCart .product-remove2-btn { display:grid; width:32px; height:32px; place-items:center; border:1px solid #eee7ec; border-radius:9px; background:#fff; }
body:has(.mm-header) #offcanvasCart .shopping-cart-panel-footer { border-top:1px solid #ebe7ed; background:rgba(255,255,255,.98); box-shadow:0 -12px 35px rgba(37,26,45,.08); }
body:has(.mm-header) #offcanvasCart .chipping-cart-bottom { padding:20px 24px max(22px,env(safe-area-inset-bottom)); }
body:has(.mm-header) #offcanvasCart .shopping-cart-total-row { margin-bottom:11px!important; padding-bottom:13px; border-bottom:1px dashed #ded8e0; }
body:has(.mm-header) #offcanvasCart .shopping-cart-total-row h3 { margin:0; color:#202536; font-size:20px; font-weight:850; }
body:has(.mm-header) #offcanvasCart .shopping-cart-total-row h3:last-child { color:#74135f; font-size:22px; }
body:has(.mm-header) #offcanvasCart .shopping-cart-tax-note { display:flex; margin-bottom:13px!important; align-items:flex-start; gap:8px; color:#8a90a0; font-size:11px; line-height:1.4; }
body:has(.mm-header) #offcanvasCart .shopping-cart-tax-note i { margin-top:1px; color:#74135f; }
body:has(.mm-header) #offcanvasCart .shopping-cart-terms { margin-bottom:18px!important; }
body:has(.mm-header) #offcanvasCart .shopping-cart-terms label { color:#666e7d; font-size:11px; line-height:1.4; }
body:has(.mm-header) #offcanvasCart .shopping-cart-terms a { color:#74135f!important; font-weight:700; }
body:has(.mm-header) #offcanvasCart .shopping-cart-actions { flex-wrap:nowrap!important; gap:9px!important; }
body:has(.mm-header) #offcanvasCart .shopping-cart-btn { display:flex; min-height:49px; align-items:center; justify-content:center; border:1px solid #74135f; border-radius:11px; font-size:11px; font-weight:850; letter-spacing:.25px; }
body:has(.mm-header) #offcanvasCart .shopping-cart-btn:first-child { color:#fff; background:linear-gradient(135deg,#74135f,#9d286f); box-shadow:0 10px 22px rgba(116,19,95,.2); }
body:has(.mm-header) #offcanvasCart .shopping-cart-btn:last-child { color:#74135f; background:#fff; }
body:has(.mm-header) #offcanvasCart .shopping-cart-btn.is-disabled { border-color:#ded9df; color:#a7a2a8; background:#f1eff2; box-shadow:none; opacity:1; }
@media (max-width:575.98px) {
 body:has(.mm-header) #offcanvasCart.cart-offcanvas { width:min(410px,calc(100vw - 10px)); }
 body:has(.mm-header) #offcanvasCart .shopping-cart-panel-header { min-height:104px; padding:20px 22px; }
 body:has(.mm-header) #offcanvasCart .shopping-cart-panel-header .btn-close { width:40px; height:40px; }
 body:has(.mm-header) #offcanvasCart .cart-products-main { min-height:calc(100dvh - 372px); padding:18px 16px 22px; }
 body:has(.mm-header) #offcanvasCart .cartNodata { min-height:calc(100dvh - 390px); }
 body:has(.mm-header) #offcanvasCart .cart-empty-state { max-width:310px; padding:30px 22px 26px; }
 body:has(.mm-header) #offcanvasCart .chipping-cart-bottom { padding:17px 18px max(18px,env(safe-area-inset-bottom)); }
 body:has(.mm-header) #offcanvasCart .shopping-cart-actions { flex-direction:row; }
 body:has(.mm-header) #offcanvasCart .shopping-cart-btn { flex:1 1 0; min-width:0; padding-inline:7px; white-space:normal; line-height:1.2; }
}
@media (max-width:360px) {
 body:has(.mm-header) #offcanvasCart .shopping-cart-actions { flex-direction:column; }
 body:has(.mm-header) #offcanvasCart .shopping-cart-btn { width:100%; }
}

/* 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}}