.ex_header_catalog_btn {
    background-color: var(--ds-primary-color) !important;
    color: var(--ds-white-color) !important;
}

.ex_header_catalog_btn:hover {
    background-color: #376fe6 !important;
    border-color: #376fe6 !important;
}

.ex_header_catalog_btn .catalog_icon_svg_mine path {
    stroke: white !important;
}

.fs-12 {
    font-size: 12px !important;
}

.fs-14 {
    font-size: 14px !important;
}

.fs-16 {
    font-size: 16px !important;
}

.fs-18 {
    font-size: 18px !important;
}

.fs-20 {
    font-size: 20px !important;
}

.ds-module-rating-stars .ds-module-rating-star {
    width: 12px;
    height: 12px;
    margin: 0 4px 0 0;
}

.button-transparent:hover svg.ex_icon path, .button-transparent svg.ex_icon path {
    fill: none
}

.product-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.product-section:not(:last-child) {
    margin-bottom: 56px;
}

.product-image {
    flex: 0 0 464px;
    width: 464px;
    max-width: 100%;
    text-align: center;
    box-sizing: border-box;
}

.product-image img,
.product-image video {
    width: 100%;
    max-height: 672px;
    border-radius: 16px;
    object-fit: cover;
}

.product-text {
    flex: 1;
    box-sizing: border-box;
}

.product-section.first .product-image {
    margin-right: 24px;
}

.product-section.second .product-text {
    margin-right: 24px;
}

.product-section.third .product-image {
    margin-right: 24px;
}

.product-text h2 {
    margin-bottom: 16px;
}

.ds-product-tab-content-text h2 {
    margin-bottom: 16px;
}

.ex_pg_cart__btn {
    min-width: 40px !important;
    min-height: 40px !important;
}

.ex_pg_cart__btn svg {
}

@media (max-width: 768px) {
    .product-section {
        flex-direction: column;
    }

    .product-section:not(:last-child) {
        margin-bottom: 32px;
    }

    .product-section:last-child {
        margin-bottom: 0;
    }

    .product-section.first .product-image,
    .product-section.second .product-image,
    .product-section.third .product-image {
        order: 0;
        margin: 0 0 24px 0;
    }

    .product-section.first .product-text,
    .product-section.second .product-text,
    .product-section.third .product-text {
        order: 1;
    }

    .product-image,
    .product-text {
        flex: none;
        width: 100%;
        max-width: 100%;
        margin: 0;
    }

    .product-section.second .product-text {
        margin-right: 0;
    }

    .ex_attr_show_all_btn {
        width: 100%;
    }

    .ds-product-tabs-item {
        padding: 1rem;
    }

    .ex_pg_cart__btn {
        min-width: 35px !important;
        min-height: 35px !important;
    }

    .ex_pg_cart__btn svg {
        width: 15px !important;
        height: 15px !important;
    }
}

.ex_attribute_alert {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: row;
    margin-top: 16px;
    border-top: 1px solid #f2f2f2;
    padding-top: 16px;
}

.ex_attribute_alert_svg {
}

.ex_attribute_alert_svg svg {
    width: 25px;
    height: 25px;
    margin-right: 10px;
}

.ex_attribute_alert_text {
    color: #9ca3af;
    font-size: 12px;
}

.ex_attr_show_all {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin-top: 16px;
    margin-bottom: 0;
}

.ex_attr_show_all_btn {
    gap: 8px;
    padding: .75rem 1rem;
}

.ex_attr_show_all_btn svg {
    margin: 0;
}

.ex_nutrition-table {
    background-color: #F0F5FE;
    border-radius: 8px;
    padding: 16px;
    width: 100%;
    max-width: 512px;
    box-sizing: border-box;
}

.ex_nutrition-table h3 {
    margin-bottom: 16px;
    margin: 0;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.5;
}

.ex_nutrition-table p {
    margin: 8px 0 !important;
    font-size: 14px !important;
    display: flex;
    justify-content: space-between;
}

.ex_nutrition-table .value {
    margin-left: 8px;
}

@media (max-width: 600px) {
    .ex_nutrition-table {
        padding: 12px;
    }

    .ex_nutrition-table h3 {
        font-size: 14px;
    }

    .ex_nutrition-table p {
        font-size: 12px;
    }
}

.ds-module-stickers .ds-module-sticker {
    padding: 4px 8px !important;
}

.mfp-preloader {
    display: none !important;
    opacity: 0;
}

.button.ds-header-catalog-button:hover {
    background-color: #3B68D9 !important;
}

.ex_category_sorting {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    gap: 16px;
    margin-bottom: 16px;
}

.ex_category_sorting_sort_by {
    max-width: 180px;
    padding: 8px 16px 8px 32px;
    margin: 0 !important;
    border-radius: 8px !important;
    border: 1px solid #EDEDED;
    min-height: 40px;
    background: white;
}

.ex_category_sorting_sort_by::-ms-expand {
    display: none;
}

.ex_category_sorting_types {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    background: white;
    border: 1px solid #EDEDED;
    border-radius: 8px;
    padding: 8px 12px;
    gap: 8px;
}

.ex_category_sorting_sort_by_block {
    position: relative;
}

.ex_category_sorting_sort_by_block > svg {
    position: absolute;
    top: 12px;
    left: 10px;
}

.ex_category_sorting_types button {
}

.ex_category_sorting_types button.active {
    background: white;
}

.ex_category_sorting_types button.active svg path {
    fill: #00171F;
}

.ds-header-user-button.active .button-icon-user {
    background: var(--ds-links-color)
}

.ds-header-viewed-button svg path {
    stroke: #333;
    transition: all .3s !important;
}

.ds-header-viewed-button:hover svg path {
    stroke: var(--ds-links-color);
    transition: all .3s !important;
}

.ds-header-wishlist-button svg path {
    stroke: #333;
    transition: all .3s !important;
}

.ds-header-wishlist-button:hover svg path {
    stroke: var(--ds-links-color);
    transition: all .3s !important;
}

.ds-header-compare-button svg path {
    stroke: #333;
    transition: all .3s !important;
}

.ds-header-compare-button svg line {
    stroke: #333;
    transition: all .3s !important;
}

.ds-header-compare-button:hover svg path {
    stroke: var(--ds-links-color);
    transition: all .3s !important;
}

.ds-header-compare-button:hover svg line {
    stroke: var(--ds-links-color);
    transition: all .3s !important;
}

.ds-header-cart-button:hover .button-icon-cart {
    background: var(--ds-links-color)
}

.ds-wishlist-btn.added svg path {
    stroke: var(--ds-interactive-color);
}

.ds-compare-btn.added svg path {
    stroke: var(--ds-interactive-color);
}


/* Header */
.ex-header-contact-item-link {}

.ex-header-contact-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    border-radius: 8px;
    padding: 8px;
    background: white;
    /*max-width: 224px;*/
}

.ex-header-contact-item:hover {
    background: #f8fbfd;
    cursor: pointer;
}

.ex-header-contact-item .ex-header-contact-item-icon {
    width: 24px;
    height: 24px;
}

.ex-header-contact-item svg path {
}

.ex-header-contact-item .ex-header-contact-item-text {
    color: #212121;
    font-size: 14px;
}

.ex-header-contact-item .ex-header-contact-item-text-12 {
    color: #212121;
    font-size: 12px;
    max-width: 172px;
}

.ex-header-contact-text-btn {
    display: none;
}

@media (max-width: 600px) {
    .ex-header-contact-text-btn {
        display: flex;
        justify-content: space-between;
        padding: 8px;
    }

    .ex-header-contact-text {
        font-size: 20px;
    }

    .ex-header-contact-btn {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        border-radius: 8px;
        background: #F4F4F4;
    }

    .ds-dropdown-box.active .ds-dropdown {
        position: fixed !important;
        top: auto;
        bottom: 18px;
        border-radius: 8px;
        overflow: hidden;
        margin: 0 12px;
    }
}

/* Header */

.ex-red-bg {
    background-color: #F44332
}

/* Player */
.video-progress-wrapper {
    position: absolute;
    top: 8px;
    left: 16px;
    right: 16px;
    height: 3px;
    z-index: 9;
}

.video-progress-bg {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

.video-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: #ffffff;
    border-radius: 4px;
    z-index: 10;
    transition: width 0.01s
}


.video-top-controls {
    position: absolute;
    top: 32px;
    right: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 20;
}

.video-top-controls button {
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.2);
    border: none;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    padding: 0;
}

.video-top-controls button svg {
    fill: #fff;
    stroke: #fff;
}

.ex_play, .ex_unmute {
    display: none;
}

.ex-block-advantages {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.ex-block-advantages-item {
    justify-content: space-between;
    gap: 8px;
    background: #FAFAFA;
    padding: 8px 12px;
    border-radius: 8px;
}

.ex-block-advantages-image {
}

.ex-block-advantages-text {
    color: #9CA3AF;
    font-weight: 400;
}

.ex-block-advantages-text b {
    color: #00171F;
    font-weight: 500;
}

#search #searchInput {
    background-color: white !important;
}

.ds-dropdown-inner.ds-dropdown-contacts {
    min-width: 240px !important;
}

#product .ds-product-wishlist-compare .ds-product-wishlist {}
#product .ds-product-wishlist-compare .ds-product-wishlist.added {}
#product .ds-product-wishlist-compare .ds-product-wishlist.added svg {}
#product .ds-product-wishlist-compare .ds-product-wishlist svg {}
#product .ds-product-wishlist-compare .ds-product-wishlist.added svg path {stroke: white;fill: none;}
#product .ds-product-wishlist-compare .ds-product-wishlist svg path {}
#product .ds-product-wishlist-compare .ds-product-compare {}
#product .ds-product-wishlist-compare .ds-product-compare.added {}
#product .ds-product-wishlist-compare .ds-product-compare.added svg {fill: white;}
#product .ds-product-wishlist-compare .ds-product-compare svg {}
#product .ds-product-wishlist-compare .ds-product-compare.added svg path {stroke: white;}
#product .ds-product-wishlist-compare .ds-product-compare svg path {fill: none;}

@media (max-width: 768px) {
    #button-cart {
        max-height: 42px;
    }
    .ds-product-fixed-btns .button {
        max-height: 40px;
        height: 40px;
    }
    .ds-product-fixed-btns {
        padding-bottom: 78px;
    }
}

#ds_sidebar_viewed .ds-sidebar-content {
    background-color: white !important;
}
#ds_sidebar_viewed .ds-sidebar-content .ds-module-item:not(.product-layout) .ds-module-img {
    border-right: none !important;
}

#ds_sidebar_viewed.active {
    margin-top: 24px;
    margin-right: 24px;
    margin-bottom: 24px;
    border-radius: 8px;
}

#ds_sidebar_viewed .ds-sidebar-close {
    width: 32px;
    height: 32px;
    padding: 5px;
    background: #f4f4f4;
}

.ds-menu-catalog .ds-menu-maincategories-item-title:hover {
    text-decoration: none !important;
}