/*cookies-popup*/
.modal.modal-cookies-settings {
    background: #fff;
    margin: 0;
    overflow: auto;
    display: none;
    z-index: 9999;
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, .18);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.modal-bottom.modal-cookies {
    top: unset;
    bottom: 10px;
    background: #fff;
    z-index: 9999999999;
    left: 0;
    margin: auto;
    right: 0;
    display: block;
}

.modal-backdrop {
    display: none;
    background: #000;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 9998;
}

.modal-backdrop.in {
    display: block;
    -moz-opacity: .35;
    -webkit-opacity: .35;
    opacity: .35;
    filter: alpha(opacity=35);
}

.modal-cookies {
    position: fixed;
    width: 100%;
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.18), 0 0 10px 0 rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    padding: 0;
    color: #0f2d83;
    display: block;
}

.modal-cookies .modal-form, .modal-cookies-settings .modal-form {
    padding: 0;
    height: 100%;
}

.modal-cookies-settings form {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.modal-cookies-row {
    display: grid;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 12px 12px 12px 20px;
    font-size: 16px;
    line-height: 125%;
}

.modal-cookies-row > div{
    display: flex;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
    text-align: left;
}

.cookies-link {
    color: #0f2d83;
    text-decoration: underline;
}

.cookies-accept[type="submit"] {
    width: fit-content;
    line-height: 1;
    padding: 13px 38px;
    border-radius: 7px;
    margin-bottom: 0;
}

.modal-cookies-settings {
    position: fixed;
    max-width: 850px;
    width: 100%;
    border-radius: 6px;
    top: 50%;
    transform: translate(-50%, -50%);
    padding: 0;
}

.modal-cookies-settings .modal-title {
    font-weight: 400;
    font-size: 16px;
    line-height: 125%;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    padding-left: 0;
    padding-right: 20px;
    color: #333;
    margin-bottom: 10px;
}

.modal-cookies-scrolled {
    max-height: 300px;
    min-height: 280px;
    overflow-y: auto;
    overflow-x: hidden;
    font-size: 15px;
    line-height: 125%;
    color: #424242;
    scrollbar-width: 4px;
    margin-bottom: 24px;
    padding-right: 6px;
    margin-right: -9px;
}

.modal-cookies-scrolled::-webkit-scrollbar {
    width: 4px;
    background: transparent;
}

.modal-cookies-scrolled::-webkit-scrollbar-track {
    background: transparent;
}

.modal-cookies-scrolled::-webkit-scrollbar-thumb {
    background: #e0e0e0;
    border-radius: 3px;
}

.modal-cookies-settings .modal-wrapper {
    padding: 20px;
    height: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.modal-cookies-settings .modal-form-row {
    padding: 0;
    margin-bottom: 16px;
    margin-top: 0;
}

.modal-cookies-settings .modal-form-row p{
    margin: 5px 0;
}

.modal-cookies-settings .modal-form-cell {
    float: left;
}

.modal-cookies-settings .toggle--item.active .toggle--button:before {
    -ms-transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
}

.toggle--button.cookies-arrow {
    height: 20px;
    line-height: 20px;
    padding-left: 8px;
    clear: right;
    background: none;
    border: none;
}

.toggle--button.cookies-arrow::before {
    content: '';
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 6L10 13L17 6' stroke='%23757575' stroke-width='2'/%3E%3C/svg%3E%0A");
    width: 20px;
    height: 20px;
    position: static;
    display: inline-block;
    line-height: 20px;
}

.modal-form-desc.toggle--content {
    padding: 3px 0 0 12px;
    font-size: 14px;
    line-height: 143%;
    clear: both;
    color: #424242;
}

.modal-input-check {
    position: absolute;
    z-index: -1;
    opacity: 0;
}

.modal-input-check + label {
    font-size: 16px;
    line-height: 125%;
    color: #424242;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-input-check + label::before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid #757575;
    box-shadow: inset 0px 1px 2px rgba(0, 0, 0, 0.2);
    border-radius: 2px;
    flex-shrink: 0;
    box-sizing: border-box;
    background-color: #fff;
    background-size: auto;
    background-position: left -1px bottom -1px;
    background-repeat: no-repeat;
    -webkit-transition: .2s linear;
    -moz-transition: .2s linear;
    -ms-transition: .2s linear;
    -o-transition: .2s linear;
    transition: .2s linear;
    cursor: pointer;
}

.modal-input-check:checked + label::before {
    background-color: #ff004c;
    border-color: #ff004c;
    box-shadow: none;
    background-image: url("data:image/svg+xml,%3Csvg width='15' height='13' viewBox='0 0 15 13' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg filter='url(%23filter0_d_2557_29663)'%3E%3Cpath d='M2.5 5.5L6 9L13 1' stroke='white' stroke-width='2'/%3E%3C/g%3E%3Cdefs%3E%3Cfilter id='filter0_d_2557_29663' x='0.792969' y='0.341553' width='13.959' height='12.1213' filterUnits='userSpaceOnUse' color-interpolation-filters='sRGB'%3E%3CfeFlood flood-opacity='0' result='BackgroundImageFix'/%3E%3CfeColorMatrix in='SourceAlpha' type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0' result='hardAlpha'/%3E%3CfeOffset dy='1'/%3E%3CfeGaussianBlur stdDeviation='0.5'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0'/%3E%3CfeBlend mode='normal' in2='BackgroundImageFix' result='effect1_dropShadow_2557_29663'/%3E%3CfeBlend mode='normal' in='SourceGraphic' in2='effect1_dropShadow_2557_29663' result='shape'/%3E%3C/filter%3E%3C/defs%3E%3C/svg%3E%0A");
}

.modal-input-check:checked:disabled + label::before {
    background-color: #b0b0b0;
    border-color: #b0b0b0;
    box-shadow: none;
    background-image: url("data:image/svg+xml,%3Csvg width='15' height='13' viewBox='0 0 15 13' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg filter='url(%23filter0_d_2557_29663)'%3E%3Cpath d='M2.5 5.5L6 9L13 1' stroke='white' stroke-width='2'/%3E%3C/g%3E%3Cdefs%3E%3Cfilter id='filter0_d_2557_29663' x='0.792969' y='0.341553' width='13.959' height='12.1213' filterUnits='userSpaceOnUse' color-interpolation-filters='sRGB'%3E%3CfeFlood flood-opacity='0' result='BackgroundImageFix'/%3E%3CfeColorMatrix in='SourceAlpha' type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0' result='hardAlpha'/%3E%3CfeOffset dy='1'/%3E%3CfeGaussianBlur stdDeviation='0.5'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0'/%3E%3CfeBlend mode='normal' in2='BackgroundImageFix' result='effect1_dropShadow_2557_29663'/%3E%3CfeBlend mode='normal' in='SourceGraphic' in2='effect1_dropShadow_2557_29663' result='shape'/%3E%3C/filter%3E%3C/defs%3E%3C/svg%3E%0A");
    cursor: default;
}

.modal-cookies-settings .modal-note {
    margin-top: 24px;
    margin-bottom: 1px;
}

.modal-cookies-settings .modal-form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    width: 100%;
    margin: auto 0 0;
}

.modal-cookies-settings .modal-form-btns {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.modal-cookies-settings .cookies-accept, .modal-cookies-settings .modal-form-footer .button-link {
    width: 240px;
    height: auto;
}

.modal-cookies-settings .modal-form-footer .button-link {
    border-radius: 6px;
    font-size: 16px;
    line-height: 1;
    letter-spacing: 0.01em;
    background: transparent;
    padding: 13px 19px;
    color: #ff004c;
    background-color: #ffffff;
    border-color: #ff004c;
    font-weight: bold;
    font-size: 14px;
}

.modal-cookies-settings .modal-form-footer .button-link:hover {
    color: #ffffff;
    background-color: #ff004c;
}

@media (max-width: 1260px) {
    .modal-cookies {
        width: calc(100vw - 48px);
    }

    .modal-cookies-settings {
        width: 85vw;
    }

    .modal-cookies-settings .modal-form-btns {
        display: flex;
        align-items: center;
        gap: 12px;
        flex-grow: 1;
        flex-shrink: 0;
        width: 100%;
    }

    .modal-cookies-settings .cookies-accept, .modal-cookies-settings .modal-form-footer .button-link {
        flex-grow: 1;
    }
}

@media (max-width: 991px) {
    .modal-bottom {
        bottom: 24px;
    }

    .modal-cookies-row {
        flex-direction: column;
        padding: 20px;
    }

    .modal-cookies-settings {
        width: calc(100vw - 48px);
        height: min(calc(100vh - 48px), 672px);
    }

    .modal-cookies-scrolled {
        max-height: min(calc(100vh - 190px), 525px);
    }

    .modal-cookies-settings .modal-form-cell {
        width: calc(100% - 29px);
    }

    .modal-form-desc.toggle--content {
        padding: 6px 0 0 12px;
    }

    .modal-cookies-settings .modal-form-btns {
        flex-direction: column;
    }

    .modal-cookies-settings .cookies-accept, .modal-cookies-settings .modal-form-footer .button-link {
        width: 100%;
        flex: unset;
    }
}

@media (max-width: 767px) {
    .modal-cookies .modal-form, .modal-cookies form, .modal-cookies .cookies-accept {
        width: 100%;
    }
    .modal-cookies-row{
        gap: 16px;
    }
    .modal-cookies-row > div{
        display: grid;
        gap: 16px;
    }
    .modal-cookies .modal-form{
        justify-content: center;
    }
}

@media (min-width: 991px) {
    .modal-cookies-settings .cookies-accept, .modal-cookies-settings .modal-form-footer .button-link {
        margin-left: auto;
        margin-right: 0;
    }
}

.product-item-rating-container + img {
    display: block;
    margin-top: 10px;
    margin-left: 6px;
    max-width: 110px;
}

.modal-cookies .modal-form {
    display: flex;
    align-items: center;
}

.modal-cookies .modal-form .btn-standart {
    margin-left: 10px;
    padding-left: 20px;
    padding-right: 20px;
    background: #0f2d83;
    color: white;
    text-transform: uppercase;
    width: 120px;
}
.modal-cookies .modal-form .btn-standart:hover {
    opacity: .8;
}

.modal__close {
    position: absolute;
    top: 4px;
    right: 4px;
    padding: 2px;
    width: 32px;
    height: 32px;

    color: #4a4a4a;

    background-color: transparent;
    border: none;
    opacity: 0.8;

    cursor: pointer;
    transition: opacity 250ms ease;
}

@media (hover: hover) {
    .modal__close:hover {
        opacity: 1;
    }
}
.modal__close svg {
    display: block;
    width: 28px;
    height: 28px;
}

.modal__close path {
    fill: currentColor;
    stroke-width: 0;
}
