/* =========================================================
   NEW PRODUCT DETAIL
   ========================================================= */

.new-product-detail,
.new-product-detail *,
.new-product-detail *::before,
.new-product-detail *::after {
    box-sizing: border-box;
}


/* MAIN GRID */

.new-product-detail.main-product-block {
    display: grid;
    grid-template-columns: minmax(0, 1.482fr)
        minmax(360px, 1fr);
    gap: 20px;
    width: 100%;
    min-width: 0;
    align-items: stretch;
}


/* =========================================================
   LEFT
   ========================================================= */

.new-product-detail .new-product-detail__left {
    min-width: 0;
    padding: 34px;
    background: var(--card, #fff);
    border-radius: var(--radius-lg, 24px);
    box-shadow:
        0 6px 22px rgba(30, 36, 48, 0.06);
    /* overflow: hidden; */
}


/* HEADER */

.new-product-detail .new-product-detail__left-head {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    min-height: 28px;

    margin-bottom: 14px;
}


/* RATING */

.new-product-detail .new-product-detail__rating {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin: 0;
    padding: 0;
    color: #20242d;
    font-family:
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;
    font-size: 14px;
    line-height: 1.2;
    text-decoration: none;
}


.new-product-detail .new-product-detail__rating:hover {
    color: #20242d;

    text-decoration: none;
}


.new-product-detail .new-product-detail__rating-star {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    color: #f9b10b;
    background: none;
    font-size: 22px;
    line-height: 1.3;
    width: 22px;
    height: 29px;
}


.new-product-detail .new-product-detail__rating-value {
    color: #171726;
    font-weight: bold;
    line-height: 1.3;
    font-size: 16px;
}


.new-product-detail .new-product-detail__rating-text {
    color: #171726;
    font-weight: 400;
    margin-left: 5px;
    line-height: 1.3;
    font-size: 16px;
}


/* ARTICLE */

.new-product-detail .new-product-detail__article {
    position: static;

    display: flex;

    align-items: center;

    gap: 6px;

    margin: 0;
    padding: 0;

    color: #20242d;

    font-family:
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;

    font-size: 14px;
    line-height: 1.2;

    white-space: nowrap;
}


.new-product-detail .new-product-detail__article-label {
    font-weight: bold;
    font-size: 16px;
    line-height: 1.3;
}


.new-product-detail .new-product-detail__article-value {
    font-weight: 400;
    font-size: 16px;
}


/* =========================================================
   GALLERY
   ========================================================= */

.new-product-detail .new-product-detail__gallery {
    min-width: 0;
}


/* MAIN IMAGE */

.new-product-detail .new-product-detail__slider {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    /* overflow: hidden; */
    background: #fff;
    border-radius: var(--radius-md, 18px);
    outline: none;
}


/*
 * ÃƒÂÃ¢â‚¬ÂÃƒÂÃ‚Â¾ ÃƒÂÃ‚Â·ÃƒÂÃ‚Â°ÃƒÂÃ‚Â¿Ãƒâ€˜Ã†â€™Ãƒâ€˜Ã‚ÂÃƒÂÃ‚ÂºÃƒÂÃ‚Â° JS ÃƒÂÃ‚Â¿ÃƒÂÃ‚Â¾ÃƒÂÃ‚ÂºÃƒÂÃ‚Â°ÃƒÂÃ‚Â·Ãƒâ€˜Ã¢â‚¬Â¹ÃƒÂÃ‚Â²ÃƒÂÃ‚Â°ÃƒÂÃ‚ÂµÃƒÂÃ‚Â¼ ÃƒÂÃ‚Â¿ÃƒÂÃ‚ÂµÃƒâ€˜Ã¢â€šÂ¬ÃƒÂÃ‚Â²Ãƒâ€˜Ã¢â‚¬Â¹ÃƒÂÃ‚Â¹ Ãƒâ€˜Ã‚ÂÃƒÂÃ‚Â»ÃƒÂÃ‚Â°ÃƒÂÃ‚Â¹ÃƒÂÃ‚Â´.
 */

.new-product-detail .new-product-detail__slide {
    display: none;

    width: 100%;
    height: 100%;

    margin: 0;
    padding: 0;
}


.new-product-detail
.new-product-detail__slide:first-child {
    display: block;
}


/*
 * ÃƒÂÃ…Â¸ÃƒÂÃ‚Â¾Ãƒâ€˜Ã‚ÂÃƒÂÃ‚Â»ÃƒÂÃ‚Âµ ÃƒÂÃ‚Â·ÃƒÂÃ‚Â°ÃƒÂÃ‚Â¿Ãƒâ€˜Ã†â€™Ãƒâ€˜Ã‚ÂÃƒÂÃ‚ÂºÃƒÂÃ‚Â° JS Ãƒâ€˜Ã†â€™ÃƒÂÃ‚Â¿Ãƒâ€˜Ã¢â€šÂ¬ÃƒÂÃ‚Â°ÃƒÂÃ‚Â²ÃƒÂÃ‚Â»Ãƒâ€˜Ã‚ÂÃƒÂÃ‚ÂµÃƒÂÃ‚Â¼ is-active.
 */

.new-product-detail.is-gallery-ready
.new-product-detail__slide:first-child {
    display: none;
}


.new-product-detail.is-gallery-ready
.new-product-detail__slide.is-active {
    display: block;
}


.new-product-detail .new-product-detail__image-link {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;

    margin: 0;
    padding: 0;

    overflow: hidden;

    background: #fff;

    border: 0;
}


.new-product-detail .new-product-detail__image {
    display: block;

    width: 100%;
    height: 100%;

    max-width: 100%;
    max-height: 100%;

    margin: 0;

    object-fit: contain;
    object-position: center;

    cursor: zoom-in;
}


/* MAIN ARROWS */

.new-product-detail .new-product-detail__gallery-arrow {
    position: absolute;
    top: 50%;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin: 0;
    padding: 0;
    color: #fff;
    background: var(--red, #f14850);
    border: 0;
    border-radius: 50%;
    box-shadow:
        0 6px 16px rgba(241, 72, 80, 0.24);
    cursor: pointer;
    transform: translateY(-50%);
    transition:
        background-color .2s ease,
        transform .2s ease;
}


.new-product-detail
.new-product-detail__gallery-arrow:hover {
    background: var(--red-dark, #d72f39);
}


.new-product-detail
.new-product-detail__gallery-arrow--prev {
    left: -20px;
    padding-right: 4px;
}


.new-product-detail
.new-product-detail__gallery-arrow--next {
    right: -20px;
    padding-left: 4px;
}


.new-product-detail
.new-product-detail__gallery-arrow svg {
    display: block;
    width: 11px;
    height: 16px;
}


/* =========================================================
   THUMBNAILS
   ========================================================= */

.new-product-detail .new-product-detail__thumbs-wrap {
    position: relative;

    width: 100%;

    margin-top: 18px;

    padding: 0 34px;
}


.new-product-detail .new-product-detail__thumbs {
    display: flex;

    align-items: stretch;

    gap: 10px;

    width: 100%;

    margin: 0;
    padding: 0;

    overflow-x: auto;
    overflow-y: hidden;

    scroll-behavior: smooth;

    scrollbar-width: none;
}


.new-product-detail
.new-product-detail__thumbs::-webkit-scrollbar {
    display: none;
}


.new-product-detail .new-product-detail__thumb {
}


.new-product-detail
.new-product-detail__thumb:hover {
    border-color: #c8ccd4;
}


.new-product-detail
.new-product-detail__thumb.is-active {
    padding: 2px;

    border: 2px solid var(--red, #f14850);
}


.new-product-detail
.new-product-detail__thumb:focus-visible {
    outline: 2px solid var(--red, #f14850);

    outline-offset: 2px;
}


.new-product-detail .new-product-detail__thumb-image {
    display: block;

    width: 100%;
    height: 100%;

    max-width: none;

    object-fit: contain;
    object-position: center;
}


/* THUMB ARROWS */

.new-product-detail .new-product-detail__thumb-arrow {
    position: absolute;

    top: 50%;

    z-index: 20;

    display: flex;

    align-items: center;
    justify-content: center;

    width: 28px;
    height: 40px;

    margin: 0;
    padding: 0;

    color: #20242d;

    background: transparent;

    border: 0;

    cursor: pointer;

    transform: translateY(-50%);
}


.new-product-detail
.new-product-detail__thumb-arrow--prev {
    left: 0;
}


.new-product-detail
.new-product-detail__thumb-arrow--next {
    right: 0;
}


.new-product-detail
.new-product-detail__thumb-arrow svg {
    display: block;

    width: 18px;
    height: 18px;
}


.new-product-detail
.new-product-detail__thumb-arrow:disabled {
    opacity: .25;

    cursor: default;
}


/* =========================================================
   RIGHT
   ========================================================= */

.new-product-detail .new-product-detail__right {
    display: flex;

    flex-direction: column;

    gap: 18px;

    min-width: 0;
    min-height: 0;
}


/* =========================================================
   BUY CARD
   ========================================================= */

.new-product-detail .new-product-detail__buy-card {
    flex: 0 0 auto;
    padding: 34px;
    background: var(--card, #fff);
    border-radius: var(--radius-lg, 24px);
    box-shadow:
        0 6px 22px rgba(30, 36, 48, 0.06);
}


/* PRICE ROW */

.new-product-detail .new-product-detail__price-row {
    display: flex;
    align-items: flex-end;
    gap: 20px;
    width: 100%;
    margin: 0 0 30px;
    padding: 0;
    gap: 46px;
}


.new-product-detail .new-product-detail__price-left {
    min-width: 0;
}


.new-product-detail .new-product-detail__price-box {
    margin: 0;
    padding: 0;
}


.new-product-detail .new-product-detail__old-price {
    width: fit-content;

    margin-bottom: 3px;

    color: #8b8f98;

    font-size: 14px;
    line-height: 1.2;
}


.new-product-detail .new-product-detail__price {
    margin: 0;
    padding: 0;
    color: black;
    font-family:
        "Philosopher",
        Georgia,
        Serif;
    font-size: 22px;
    font-weight: bold;
    line-height: 1.3;
}


/* AVAILABILITY */

.new-product-detail .new-product-detail__availability {
    padding: 0;
    font-family:
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.3;
}


.new-product-detail
.new-product-detail__availability--available {
    color: #20242d;
}


.new-product-detail
.new-product-detail__availability--order {
    color: black;
    font-size: 16px;
    line-height: 1.3;
}


.new-product-detail
.new-product-detail__availability--not-available {
    color: #8b8f98;
}


/* FROM MANUFACTURER */

.new-product-detail .new-product-detail__manufacturer-wrap {
    flex: 0 0 auto;
    margin-top: -17px;
}


.new-product-detail .new-product-detail__manufacturer {
    display: block;
    width: 160px;
    min-height: 66px;
    margin: 0;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url(/local/templates/samovarov-grad/images/catalog-detail-img/badge_producer_red.png);
}


/* =========================================================
   BUTTONS
   ========================================================= */

.new-product-detail .new-product-detail__actions {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
    margin: 0 0 20px;
    padding: 0;
}


.new-product-detail .new-product-detail__cart-button,
.new-product-detail .new-product-detail__one-click-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    margin: 0;
    padding: 8px 10px;
    border-radius: 999px;
    font-family:
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;
    font-size: 20px;
    font-weight: bold;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}


.new-product-detail .new-product-detail__cart-button {
    color: #fff;

    background: var(--red, #f14850);

    border: 1px solid var(--red, #f14850);
}


.new-product-detail
.new-product-detail__cart-button:hover {
    color: #fff;

    background: var(--red-dark, #d72f39);

    border-color: var(--red-dark, #d72f39);

    text-decoration: none;
}


.new-product-detail .new-product-detail__one-click-button {
    color: var(--red, #f14850);

    background: #fff;

    border: 1px solid var(--red, #f14850);
}


.new-product-detail
.new-product-detail__one-click-button:hover {
    color: #fff;

    background: var(--red, #f14850);

    text-decoration: none;
}


.new-product-detail
.new-product-detail__one-click-button
.one-click-buy {
    color: inherit;

    font: inherit;
}


/* =========================================================
   DELIVERY
   ========================================================= */

.new-product-detail .new-product-detail__delivery {
    margin: 0;
    padding: 0;
}


.new-product-detail .new-product-detail__delivery-title {
    margin: 0 0 20px;
    color: #111318;
    font-family:
        "Philosopher",
        Georgia,
        Serif;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
}


.new-product-detail .new-product-detail__delivery-list {
    display: grid;

    gap: 9px;

    width: 100%;

    margin: 0;
    padding: 0;
}


.new-product-detail .new-product-detail__delivery-item {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #20242d;
    font-size: 16px;
    line-height: 1.3;
}


.new-product-detail .new-product-detail__delivery-dot {
    flex: 0 0 auto;
    width: 5px;
    height: 5px;
    margin-right: 2px;
    background: var(--red, #f14850);
    border-radius: 50%;
    margin-right: 6px;
}


.new-product-detail
.product-info-detail-delivery-city {
    font-weight: 700;
}


.new-product-detail
.product-info-detail-delivery-date {
    font-weight: 400;
}


/* =========================================================
   PROMO CARD
   ========================================================= */

.new-product-detail .new-product-detail__promos {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
    padding: 34px;
    overflow: hidden;
    background: var(--card, #fff);
    border-radius: var(--radius-lg, 24px);
    box-shadow:
        0 6px 22px rgba(30, 36, 48, 0.06);
}


.new-product-detail .new-product-detail__promos-title {
    flex: 0 0 auto;
    margin: 0 0 18px;
    color: black;
    font-family:
        "Philosopher",
        Georgia,
        Serif;
    font-size: 22px;
    font-weight: bold;
    line-height: 1.3;
}


.new-product-detail .new-product-detail__promos-list {
    display: grid;

    gap: 12px;

    min-height: 0;

    padding-right: 10px;

    overflow-x: hidden;
    overflow-y: auto;

    scrollbar-width: thin;

    scrollbar-color:
        var(--red, #f14850)
        transparent;
}


.new-product-detail
.new-product-detail__promos-list::-webkit-scrollbar {
    width: 6px;
}


.new-product-detail
.new-product-detail__promos-list::-webkit-scrollbar-track {
    background: transparent;
}


.new-product-detail
.new-product-detail__promos-list::-webkit-scrollbar-thumb {
    background: var(--red, #f14850);

    border-radius: 999px;
}


.new-product-detail .new-product-detail__promo {
    display: block;
    width: 101%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border-radius: var(--radius-md, 18px);
    text-decoration: none;
    height: 135px;
}


.new-product-detail .new-product-detail__promo-image {
    display: block;

    width: 100%;
    height: auto;

    margin: 0;

    border-radius: var(--radius-md, 18px);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .new-product-detail.main-product-block {
        grid-template-columns:
            minmax(0, 1.25fr)
            minmax(330px, .85fr);
    }


    .new-product-detail .new-product-detail__left,
    .new-product-detail .new-product-detail__buy-card {
        padding: 20px;
    }


    .new-product-detail .new-product-detail__promos {
        padding:
            20px
            12px
            16px
            20px;
    }


    .new-product-detail .new-product-detail__thumb {
        flex-basis: 68px;

        width: 68px;
        height: 68px;
    }

}


/* =========================================================
   MOBILE / STACK
   ========================================================= */

@media (max-width: 900px) {

    .new-product-detail.main-product-block {
        grid-template-columns: minmax(0, 1fr);
    }


    .new-product-detail .new-product-detail__promos-list {
        max-height: 520px;
    }

}


@media (max-width: 600px) {

    .new-product-detail.main-product-block {
        gap: 12px;
    }


    .new-product-detail .new-product-detail__left {
        padding: 14px;

        border-radius: 18px;
    }


    .new-product-detail .new-product-detail__left-head {
        gap: 10px;

        margin-bottom: 12px;
    }


    .new-product-detail
    .new-product-detail__rating {
        gap: 5px;

        font-size: 12px;
    }


    .new-product-detail
    .new-product-detail__rating-star {
        font-size: 16px;
    }


    .new-product-detail
    .new-product-detail__article {
        font-size: 12px;
    }


    .new-product-detail
    .new-product-detail__slider {
        border-radius: 14px;
    }


    .new-product-detail
    .new-product-detail__gallery-arrow {
        width: 38px;
        height: 38px;
    }


    .new-product-detail
    .new-product-detail__gallery-arrow--prev {
        left: 6px;
    }


    .new-product-detail
    .new-product-detail__gallery-arrow--next {
        right: 6px;
    }


    .new-product-detail
    .new-product-detail__thumbs-wrap {
        margin-top: 12px;

        padding: 0 27px;
    }


    .new-product-detail
    .new-product-detail__thumbs {
        gap: 7px;
    }


    .new-product-detail
    .new-product-detail__thumb {
        flex-basis: 60px;

        width: 60px;
        height: 60px;

        border-radius: 10px;
    }


    .new-product-detail
    .new-product-detail__thumb-arrow {
        width: 24px;
    }


    .new-product-detail
    .new-product-detail__buy-card,
    .new-product-detail
    .new-product-detail__promos {
        padding: 18px 14px;

        border-radius: 18px;
    }


    .new-product-detail
    .new-product-detail__price-row {
        margin-bottom: 18px;
    }


    .new-product-detail
    .new-product-detail__price {
        font-size: 22px;
    }


    .new-product-detail
    .new-product-detail__manufacturer {
        width: 110px;
    }


    .new-product-detail
    .new-product-detail__actions {
        grid-template-columns: 1fr;

        gap: 8px;

        margin-bottom: 20px;
    }


    .new-product-detail
    .new-product-detail__cart-button,
    .new-product-detail
    .new-product-detail__one-click-button {
        min-height: 44px;

        font-size: 14px;
    }


    .new-product-detail
    .new-product-detail__delivery-title,
    .new-product-detail
    .new-product-detail__promos-title {
        font-size: 17px;
    }


    .new-product-detail
    .new-product-detail__promos-list {
        max-height: 420px;
    }

}




.new-product-detail .new-product-detail__slider {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    /* overflow: hidden; */
    background: #fff;
}

.new-product-detail .new-product-detail__slide {
    display: none;
    width: 100%;
    height: 100%;
}

.new-product-detail .new-product-detail__slide.is-active {
    display: block !important;
}

.new-product-detail .new-product-detail__image-link {
    position: static !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    height: 100% !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    box-shadow: 0px 14px 36px rgba(30, 36, 48, 0.11);
    border-radius: 24px;
}

.new-product-detail .new-product-detail__image {
    position: static !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    margin: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    object-fit: contain !important;
    object-position: center !important;
}


/*css ÃÂ¼ÃÂ°ÃÂ»ÃÂµÃÂ½Ã‘Å’ÃÂºÃÂ¾ÃÂ³ÃÂ¾ Ã‘ÂÃÂ»ÃÂ°ÃÂ¹ÃÂ´ÃÂµÃ‘â‚¬ÃÂ°*/
/* =========================================================
   PRODUCT GALLERY THUMBS
   ========================================================= */

.new-product-detail .new-product-detail__thumbs-wrap {
    position: relative;
    width: 100%;
    margin-top: 18px;
    padding: 0 27px;
}

.new-product-detail .new-product-detail__thumbs {
    --thumb-count: 7;
    --thumb-gap: 15px;
    display: flex;
    align-items: stretch;
    gap: var(--thumb-gap);
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.new-product-detail .new-product-detail__thumbs::-webkit-scrollbar {
    display: none;
}

.new-product-detail .new-product-detail__thumb {
    flex: 0 0 calc(
        (
            100%
            -
            (var(--thumb-count) - 1) * var(--thumb-gap)
        )
        /
        var(--thumb-count)
    );
    width: calc(
        (
            100%
            -
            (var(--thumb-count) - 1) * var(--thumb-gap)
        )
        /
        var(--thumb-count)
    );
    aspect-ratio: 1 / 1;
    min-width: 0;
    margin: 0;
    padding: 3px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line, #e7eaf0);
    border-radius: 12px;
    cursor: pointer;
    transition:
        border-color .15s ease,
        box-shadow .15s ease;
}

.new-product-detail .new-product-detail__thumb:hover {
    border-color: #c8ccd4;
}

.new-product-detail .new-product-detail__thumb.is-active {
    padding: 2px;
    border: 2px solid var(--red, #f14850);
}

.new-product-detail .new-product-detail__thumb-image {
    display: block;

    width: 100%;
    height: 100%;
    max-width: none;

    object-fit: contain;
    object-position: center;
}


/* Ã‘ÂÃ‘â€šÃ‘â‚¬ÃÂµÃÂ»ÃÂºÃÂ¸ */

.new-product-detail .new-product-detail__thumb-arrow {
    position: absolute;

    top: 50%;
    z-index: 20;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 24px;
    height: 44px;

    margin: 0;
    padding: 0;

    color: #333;

    background: transparent;

    border: 0;
    box-shadow: none;

    cursor: pointer;

    transform: translateY(-50%);
}

.new-product-detail .new-product-detail__thumb-arrow:hover,
.new-product-detail .new-product-detail__thumb-arrow:focus {
    color: #333;
    background: transparent;
}

.new-product-detail .new-product-detail__thumb-arrow--prev {
    left: 0;
}

.new-product-detail .new-product-detail__thumb-arrow--next {
    right: 0;
}

.new-product-detail .new-product-detail__thumb-arrow svg {
    display: block;
    width: 12px;
    height: 22px;
}

.new-product-detail .new-product-detail__thumb-arrow:disabled {
    opacity: .25;
    cursor: default;
}


/* tablet */

@media (max-width: 1100px) {

    .new-product-detail .new-product-detail__thumbs {
        --thumb-count: 6;
        --thumb-gap: 8px;
    }

}


/* mobile */

@media (max-width: 767px) {

    .new-product-detail .new-product-detail__thumbs {
        --thumb-count: 5;
        --thumb-gap: 7px;
    }

}


@media (max-width: 550px) {

    .new-product-detail .new-product-detail__thumbs-wrap {
        padding: 0 27px;
    }

    .new-product-detail .new-product-detail__thumbs {
        --thumb-count: 4;
        --thumb-gap: 6px;
    }

    .new-product-detail .new-product-detail__thumb {
        border-radius: 9px;
    }

}


@media (max-width: 380px) {

    .new-product-detail .new-product-detail__thumbs {
        --thumb-count: 3;
    }

}



/*Ð°ÐºÑ†Ð¸Ð¸*/

/* =========================================================
   PRODUCT DETAIL â€” PROMO HEIGHT + SCROLL
   ========================================================= */

.new-product-detail.main-product-block {
    align-items: stretch;
}


/*
 * ÐŸÑ€Ð°Ð²Ð°Ñ ÐºÐ¾Ð»Ð¾Ð½ÐºÐ° Ð½Ðµ Ð´Ð¾Ð»Ð¶Ð½Ð° ÑƒÐ²ÐµÐ»Ð¸Ñ‡Ð¸Ð²Ð°Ñ‚ÑŒ Ð²Ñ‹ÑÐ¾Ñ‚Ñƒ Ð²ÑÐµÐ¹ grid-ÑÑ‚Ñ€Ð¾ÐºÐ¸.
 * Ð’Ñ‹ÑÐ¾Ñ‚Ñƒ Ð¾Ð¿Ñ€ÐµÐ´ÐµÐ»ÑÐµÑ‚ Ð»ÐµÐ²Ñ‹Ð¹ Ð±Ð»Ð¾Ðº Ñ Ð³Ð°Ð»ÐµÑ€ÐµÐµÐ¹.
 */
.new-product-detail .new-product-detail__right {
    height: 0;
    min-height: 100%;
    overflow: hidden;
}


/* Ð²ÐµÑ€Ñ…Ð½ÑÑ ÐºÐ°Ñ€Ñ‚Ð¾Ñ‡ÐºÐ° Ð·Ð°Ð½Ð¸Ð¼Ð°ÐµÑ‚ Ñ‚Ð¾Ð»ÑŒÐºÐ¾ Ð½ÐµÐ¾Ð±Ñ…Ð¾Ð´Ð¸Ð¼ÑƒÑŽ ÐµÐ¹ Ð²Ñ‹ÑÐ¾Ñ‚Ñƒ */
.new-product-detail .new-product-detail__buy-card {
    flex: 0 0 auto;
}


/*
 * ÐÐºÑ†Ð¸Ð¸ Ð·Ð°Ð½Ð¸Ð¼Ð°ÑŽÑ‚ Ð²ÑÑ‘ Ð¾ÑÑ‚Ð°Ð²ÑˆÐµÐµÑÑ Ð¼ÐµÑÑ‚Ð¾.
 */
.new-product-detail .new-product-detail__promos {
    
    
    
    
    

    /*
     * Ð¡ÐºÑ€Ð¾Ð»Ð» Ð½Ð°Ñ…Ð¾Ð´Ð¸Ñ‚ÑÑ Ñƒ ÑÐ°Ð¼Ð¾Ð³Ð¾ Ð¿Ñ€Ð°Ð²Ð¾Ð³Ð¾ ÐºÑ€Ð°Ñ Ð±Ð»Ð¾ÐºÐ°.
     */
    padding-right: 20px;
    scrollbar-width: thin;
    scrollbar-color:
        var(--red, #f14850)
        transparent;
    scrollbar-gutter: stable;

    /*
     * Ð Ð¾Ð´Ð¸Ñ‚ÐµÐ»ÑŒ ÑƒÐ¶Ðµ Ð¸Ð¼ÐµÐµÑ‚ border-radius.
     * overflow Ð¾Ð±Ñ€ÐµÐ¶ÐµÑ‚ ÑÐºÑ€Ð¾Ð»Ð» Ð¿Ð¾ ÐµÐ³Ð¾ ÑÐºÑ€ÑƒÐ³Ð»ÐµÐ½Ð¸ÑŽ.
     */
}


/*
 * Ð’Ð½ÑƒÑ‚Ñ€ÐµÐ½Ð½Ð¸Ð¹ ÑÐ¿Ð¸ÑÐ¾Ðº Ð±Ð¾Ð»ÑŒÑˆÐµ ÑÐ°Ð¼ Ð½Ðµ ÑÐºÑ€Ð¾Ð»Ð»Ð¸Ð¼.
 * Ð¡ÐºÑ€Ð¾Ð»Ð» Ñ‚ÐµÐ¿ÐµÑ€ÑŒ Ñƒ Ð²ÑÐµÐ³Ð¾ Ð±Ð»Ð¾ÐºÐ° ÐÐºÑ†Ð¸Ð¸.
 */
.new-product-detail .new-product-detail__promos-list {
    min-height: 0;

    padding-right: 0;

    overflow: visible;
}


/* Chrome / Edge / Safari */

.new-product-detail
.new-product-detail__promos::-webkit-scrollbar {
    width: 8px;
}


.new-product-detail
.new-product-detail__promos::-webkit-scrollbar-track {
    background: transparent;
}


.new-product-detail
.new-product-detail__promos::-webkit-scrollbar-thumb {
    background: var(--red, #f14850);

    border-radius: 999px;
}


.new-product-detail
.new-product-detail__promos::-webkit-scrollbar-thumb:hover {
    background: var(--red-dark, #d72f39);
}


/*
 * ÐÐ° Ð¿Ð»Ð°Ð½ÑˆÐµÑ‚Ðµ / Ð¼Ð¾Ð±Ð¸Ð»ÑŒÐ½Ð¾Ð¼ ÐºÐ¾Ð»Ð¾Ð½ÐºÐ¸ ÑÑ‚Ð°Ð½Ð¾Ð²ÑÑ‚ÑÑ Ð´Ñ€ÑƒÐ³ Ð¿Ð¾Ð´ Ð´Ñ€ÑƒÐ³Ð¾Ð¼,
 * Ð¿Ð¾ÑÑ‚Ð¾Ð¼Ñƒ Ð¾Ð³Ñ€Ð°Ð½Ð¸Ñ‡ÐµÐ½Ð¸Ðµ Ð¿Ð¾ Ð²Ñ‹ÑÐ¾Ñ‚Ðµ Ð¾Ñ‚ÐºÐ»ÑŽÑ‡Ð°ÐµÐ¼.
 */
@media (max-width: 900px) {

    .new-product-detail .new-product-detail__right {
        height: auto;
        min-height: 0;
        overflow: visible;
    }

    .new-product-detail .new-product-detail__promos {
        flex: none;

        max-height: 520px;

        overflow-y: auto;
    }

}


@media (max-width: 600px) {

    .new-product-detail .new-product-detail__promos {
        max-height: 420px;
    }

}




















/*Ð±Ð»Ð¾Ðº Ñ Ð±Ð°Ð½Ð½ÐµÑ€Ð°Ð¼Ð¸*/
.new-product-detail.main-product-block {
    align-items: stretch;
}

.new-product-detail .new-product-detail__right {
    height: 0;
    min-height: 100%;
    overflow: hidden;
}

.new-product-detail .new-product-detail__buy-card {
    flex: 0 0 auto;
}

.new-product-detail .new-product-detail__promos {
    position: relative;
    flex: 1 1 0;
    min-height: 0;
    max-height: 100%;
    overflow: hidden;
    border-radius: var(--radius-lg, 24px);
}

.new-product-detail .new-product-detail__promos-list {
    flex: 1 1 auto;
    min-height: 0;
    height: 100%;
    padding-right: 14px;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.new-product-detail .new-product-detail__promos-list::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.new-product-detail__promo-scrollbar {
    position: absolute;
    top: 0px;
    right: -12px;
    bottom: 0px;
    z-index: 20;
    width: 12px;
    pointer-events: none;
}

.new-product-detail__promo-scrollbar-thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 12px;
    min-height: 50px;
    background: var(--red, #f14850);
    border-radius: 999px;
    pointer-events: auto;
    cursor: grab;
}

.new-product-detail__promo-scrollbar-thumb:active {
    cursor: grabbing;
}

.new-product-detail__promo-scrollbar.is-hidden {
    display: none;
}

@media (max-width: 900px) {
    .new-product-detail .new-product-detail__right {
        height: auto;
        min-height: 0;
        overflow: visible;
    }

    .new-product-detail .new-product-detail__promos {
        flex: none;
        max-height: 520px;
    }

    .new-product-detail .new-product-detail__promos-list {
        max-height: 450px;
    }
}

@media (max-width: 600px) {
    .new-product-detail .new-product-detail__promos {
        max-height: 420px;
    }

    .new-product-detail .new-product-detail__promos-list {
        max-height: 350px;
    }
}