/* Məhsullar səhifəsi — sol sidebar fürsət banner(lər)i */
.mv-pside {
    --pside-bg: #e31e24;
    --pside-fg: #fff;
    margin-top: 16px;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #f1f5f9;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .08);
}
.mv-pside__track {
    position: relative;
}
.mv-pside__slide {
    background: linear-gradient(160deg, var(--pside-bg) 0%, #9f1239 100%);
    color: var(--pside-fg);
}
.mv-pside__slide[hidden] {
    display: none !important;
}
.mv-pside__ribbon {
    overflow: hidden;
    white-space: nowrap;
    background: rgba(0, 0, 0, .18);
    padding: 7px 0;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.mv-pside__ribbon span {
    display: inline-block;
    padding-left: 100%;
    animation: mvPsideMarquee 14s linear infinite;
}
.mv-pside__ribbon span:nth-child(2) {
    animation-delay: -7s;
}
@keyframes mvPsideMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

.mv-pside__media {
    position: relative;
    margin: 14px 14px 0;
    border-radius: 14px;
    background: rgba(255, 255, 255, .14);
    aspect-ratio: 1 / 1;
    overflow: hidden;
    display: grid;
    place-items: center;
}
.mv-pside__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    padding: 10px;
}
.mv-pside__media-empty {
    color: rgba(255, 255, 255, .85);
    font-size: 28px;
}
.mv-pside__discount {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    background: #111827;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    padding: 5px 9px;
    border-radius: 999px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, .2);
}

.mv-pside__body {
    padding: 14px 14px 16px;
    text-align: center;
}
.mv-pside__title {
    margin: 0;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.3;
    color: inherit;
}
.mv-pside__sub {
    margin: 6px 0 0;
    font-size: 12px;
    font-weight: 650;
    opacity: .9;
    line-height: 1.4;
}
.mv-pside__price {
    margin-top: 10px;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
}
.mv-pside__price strong {
    font-size: 18px;
    font-weight: 850;
}
.mv-pside__price del {
    font-size: 12px;
    opacity: .7;
}
.mv-pside__cta {
    margin-top: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 11px 14px;
    border-radius: 12px;
    background: #111827;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    transition: .15s ease;
}
.mv-pside__cta:hover {
    background: #fff;
    color: #111827;
}

.mv-pside__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 12px 12px;
    background: linear-gradient(160deg, var(--pside-bg) 0%, #9f1239 100%);
}
.mv-pside__arrow {
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 9px;
    background: rgba(255, 255, 255, .18);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.mv-pside__arrow:hover {
    background: rgba(255, 255, 255, .3);
}
.mv-pside__dots {
    display: inline-flex;
    gap: 6px;
}
.mv-pside__dot {
    width: 7px;
    height: 7px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .35);
    cursor: pointer;
    padding: 0;
}
.mv-pside__dot.is-active {
    background: #fff;
    transform: scale(1.15);
}

/* Mobile: sheet from left + trigger */
.mv-pside-trigger {
    display: none;
}

@media (max-width: 768px) {
    .mv-pside-trigger {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        position: fixed;
        bottom: calc(16px + env(safe-area-inset-bottom, 0px));
        right: 14px;
        z-index: 900;
        background: #e31e24;
        color: #fff;
        border: 0;
        padding: 10px 14px;
        border-radius: 50px;
        font-weight: 800;
        font-size: 13px;
        box-shadow: 0 8px 18px rgba(227, 30, 36, .35);
        max-width: calc(100vw - 28px);
        cursor: pointer;
    }
    .shop-wrapper .mv-pside {
        position: fixed !important;
        left: -110vw;
        top: 14%;
        width: min(82vw, 300px);
        max-width: 300px;
        z-index: 9999;
        margin: 0;
        transition: left .35s ease;
        box-shadow: 8px 0 24px rgba(15, 23, 42, .25);
        max-height: none;
        overflow: hidden;
    }
    .shop-wrapper .mv-pside.is-open {
        left: 12px;
    }
}

@media (min-width: 769px) {
    /* Sol panel (filter + reklam) scroll zamanı ekranda qalsın */
    .shop-wrapper .sidebar:has(.mv-pside) {
        position: sticky !important;
        top: 12px !important;
        align-self: flex-start !important;
        max-height: calc(100vh - 24px);
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        z-index: 6;
    }
    .shop-wrapper .sidebar:has(.mv-pside) .desktop-filters {
        position: static !important;
        top: auto !important;
        max-height: none !important;
        overflow: visible !important;
    }
    .shop-wrapper .mv-pside {
        position: static;
        flex-shrink: 0;
    }
}
