/*new-style.css*/
body {
    margin: 0;
    font-family: 'SF Pro Display',"Arial",sans-serif;
    font-size: var(--font-size-16);
    color: var(--color-black);
    max-width: 100vw;
}

* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

a {
    color: inherit;
    text-decoration: none;
}

p {
    margin: 0;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
}

button, input {
    font-family: inherit;
    font-size: inherit;
}

/*Variables*/
:root {

    /*Colors*/
    --color-primary: #172FBB;
    --color-primary-light: rgba(23, 47, 187, 0.70);
    --color-white: #FFF;
    --color-1: #F7F7F7;
    --color-2: #FAFAFA;
    --color-3: #D3D3D3;
    --color-4: #CECECE;
    --color-5: #C4C4C4;
    --color-6: #8C9294;
    --color-7: #000103;
    --color-8: #434042;
    --color-9: #231F21;
    --color-10: #1E2836;
    --color-11: #4A4D5A;
    --color-new: #4A4D5A;
    --color-black: #000103;
    --color-error: #F45353;
    --color-green: #488E3D;
    --stroke-color: #F7F7F7;
    --blog-card-bg: #2F3641;
    --light-grey: #FAFAFA;
    --dark-green: #0E683D;
    --done: #40CA29;
    --done-button: #2EC321;
    --promotion: #AB21FF;
    --new: #2192FF;
    --blue-black: #212731;
    --blue-black-light: #3C4552;

    /*Font sizes*/
    --font-size-64: 64px;
    --font-size-48: 48px;
    --font-size-40: 40px;
    --font-size-32: 32px;
    --font-size-24: 24px;
    --font-size-20: 20px;
    --font-size-18: 18px;
    --font-size-16: 16px;
    --font-size-14: 14px;
    --font-size-12: 12px;

    /*Other*/
    --min-hover-width: 1000px;
}

.a-link {
    color: var(--color-primary);
}

.combo-sticker {
    background-color: var(--color-error);
    color: #ffffff;
    font-size: 12px;
    padding: 3px 5px;
    border-radius: 3px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.__jivoMobileButton {
    bottom: 100px !important
}

.product-review__button_active svg path {
    fill: var(--color-primary);
    color: var(--color-primary);
}

.basket-page__count {
    display: flex;
    align-items: center;
    background: var(--color-2);
    border: 1px solid var(--color-3);
    border-radius: 500px;
    width: fit-content;
    padding: 6px 16px;
    height: 40px;
}

.basket-page__count-input {
    font-weight: 400;
    font-size: var(--font-size-24);
    color: var(--color-7);
    text-align: center;
    width: 43px;
    background: none;
    outline: none;
    border-width: 0;
    appearance: none;
    -moz-appearance: textfield;
}

.basket-page__count-input::-webkit-outer-spin-button,
.basket-page__count-input::-webkit-inner-spin-button {
    display: none;
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
}

.basket-page__count-button {
    font-weight: 400;
    font-size: var(--font-size-24);
    color: var(--color-7);
    background: none;
    border: none;
    padding: 10px;
    margin: -10px;
    cursor: pointer;
    fill: var(--color-7);
}

/*new-style.css*/

/*header.css*/
header {
    display: contents;
}

/* Top menu */

.top-menu {
    padding: 12px 32px;
    background:  #262626;
    height: 68px;
}

.top-menu__container {
    color: var(--color-white);
    display: flex;
    align-items: center;
    gap: 8px;
    /* #LINEMENU GAP 24px */
    margin: 0 auto;
    max-width: 1200px;
    justify-content: space-between;
}

.top-menu__logo {
    fill: var(--color-white);
    margin-left:-30px;
    margin-right:-30px;
    /* #LINEMENU REMOVE 2 LINE */
}

.top-menu__location-button {
    cursor: pointer;
    user-select: none;
    background: none;
    border: none;
    font-size: inherit;
    font-family: inherit;
    padding: 0;
    margin-right: 8px;
}

.top-menu__navigation {
    display: flex;
    gap: 12px;
    /* #LINEMENU GAP 12 */
    list-style: none;
    padding: 0;
    margin: 0;
}

.top-menu__navigation-link {
    display: flex;
    gap: 16px;
    white-space: nowrap;
}

.top-menu__navigation-link:hover {
    text-decoration: underline solid;
}

.top-menu__phone-and-time {
    display: flex;
    flex-direction: column;
    align-items: end;
    /*flex-direction: row;*/
    /*align-items: center;*/
    /* #LINEMENU REMOVE 2 LINE */
    gap: 4px;
    white-space: nowrap;
}

.top-menu__phone {
    fill: var(--color-3);
    display: flex;
    gap: 4px;
    align-items: center;
}

.top-menu__phone:hover {
    text-decoration: solid underline;
}

.top-menu__time {
    font-size: 14px;
    fill: var(--color-3);
    display: flex;
    gap: 4px;
    margin-right: 10px;
    align-items: center;
    white-space: nowrap;
}


/* Social media */
.social-media {
    display: flex;
    gap: 8px;
}

.social-media__link {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: block;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

@media screen and (max-width: 1250px) {

    .top-menu {
        display: none;
    }
}


/* Bottom menu */
.bottom-menu {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: none;
    box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.05), 0 4px 4px rgba(0, 0, 0, 0.25);
    background: var(--color-white);
    z-index: 500;
    height: 54px;
}

.bottom-menu__container {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 8px 22px;
    justify-content: space-between;
}

.bottom-menu__button {
    width: 66px;
    height: 38px;
    color: var(--color-7);
    transition: 0.15s ease color;

}

.bottom-menu__button svg {
    fill: var(--color-7);
    transition: 0.15s ease fill;
}

.bottom-menu__button_active, .bottom-menu__button:active {
    color: var(--color-primary);
    transition: 0.15s ease color;
}

.bottom-menu__button_active svg, .bottom-menu__button:active svg {
    fill: var(--color-primary);
    transition: 0.15s ease fill;
}

.bottom-menu__button-link {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.bottom-menu__button-icon {
}

.bottom-menu__button-text {
    /*font-size: var(--font-size-12);*/
    font-size: 12px;
    text-align: center;
}

.bottom-menu__button-counter {
    position: absolute;
    background-color: var(--done);
    color: var(--color-white);
    padding: 2px 6px;
    font-size: 13px;
    border-radius: 999px;
    margin-left: 30px;
    margin-top: -7px;
}

@media screen and (max-width: 1250px) {

    .footer {
        margin-bottom: 54px !important;
    }

    .bottom-menu {
        display: block;
    }

    .bottom-menu__button-text {
        /*font-size: var(--font-size-14);*/
        font-size: 14px;
    }
}

@media screen and (max-width: 460px) {

    .bottom-menu__button-text {
        /*font-size: var(--font-size-12);*/
        font-size: 12px;
    }
}


/* Header */

.fix-top {
    position: sticky;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 500;
}

.header {
    background: var(--color-2);
    color: var(--color-9);
    padding: 0 32px;
    display: flex;
    align-items: center;
    height: 64px;
}

.header__container {
    margin: 0 auto;
    max-width: 1200px;
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 24px;
    justify-content: center;
    width: 100%;
}

.header__logo {
    fill: var(--color-white);
    align-items: center;
    justify-content: center;
    display: flex;
    margin-right: -5px;
}

.header__button {
    fill: var(--color-10);
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    user-select: none;
    margin: -12px;
    padding: 12px;
    transition: 0.1s ease fill;
}

.header__button svg {
    width: 24px;
    height: 24px;
}

.header__button-state {
    display: none;
}

.header__button-state:first-of-type {
    display: block;
}

.header__button_phone-only {
    display: none;
}

.header__button_desktop-only {
    display: flex;
}

.header__button:hover {
    fill: var(--color-primary);
    transition: 0.15s ease fill;
}

.header__navigation-nav {
    margin-right: auto;
    margin-left: 17px;
    flex: 1 1 0;
}

.header__navigation {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    /* #LINEMENU GAP 5px */
}

.header__category {
    flex-grow: 1;
}

.header__category-title {
    color: var(--color-10);
    font-weight: 500;
    font-size: var(--font-size-20);
    transition: 0.1s ease color;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    padding: 0 10px;
    margin: 0 -10px;
}

.header__category-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.header__category-title:hover {
    /*text-decoration: underline;*/
    transition: 0.1s ease color;
    padding: 36px 10px;
    margin: -36px -10px;
    color: var(--color-primary)
}

.header__category:hover .header__category-title{
    color: var(--color-primary)
}

.header__category-link-catalog {
    color: #4A4D5A;
    padding-left: 16px;
    margin-top: 5px;
    font-weight: 400;
}

.header__category-links {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: fit-content;
    padding: 0 0 10px 0;
    margin: 20px 0 0 -15px;
    list-style: none;
    z-index: 2;
    display: flex;
    flex-direction: column;
    /*height: 301px;*/
    /*width: 240px;*/
    background: #fafafa;
    /* border-radius: 0 0 0 16px;*/
    border-radius: 0 0 8px 8px;
    text-transform: capitalize;
    font-weight: 500;
    min-width: 150px;
    /*min-height: 375px;*/
    height: auto;
}

.header__category-links .last-child {
    display:grid;
    position: absolute;
    left: 100%;
    top: 0;
    grid-auto-flow: column;
    /*grid-template-rows: repeat(9, auto);*/
    white-space: nowrap;
    opacity: 0;
    /*height: 301px;*/
    min-height: 100%;
    background: #ffffff;
    padding-right:20px;
    /*border-radius: 0 0 16px 0;*/
    border-radius: 0 0 8px 8px;
    font-weight: 400;
    overflow: hidden;
    margin-left: -8px;
    /*max-height: 100%;*/
}

.header__category-links .last-child ul {
    list-style: none;
    padding-left: 0;
}

.header__category-links .last-child .header__category-link {
    border-bottom: none;
    background: transparent;
    padding:10px 16px;
    margin:-5px 0;
}

.header__category-links .last-child .header__category-links_columns li:first-child .header__category-link {
    padding-top: 5px;
    margin-top: 0;
}

.header__category-links .last-child li:last-child .header__category-link {

}

.header__category-nav li:hover .last-child, .header__category-nav li:focus-within {
    opacity:1;
}

.header__category-links_over-6 {
    display: grid;
    grid-template-columns: minmax(173px, auto) minmax(173px, auto);
}

.header__category-links_columns{
    display: grid;
}

.last-child .header__category-links_columns{
    grid-auto-flow: column;
}

.header__category:hover .header__category-links, .header__category:focus-within .header__category-links {
    opacity: 1;
    pointer-events: fill;
}

.header__category .header__category-nav:before, .header__category .header__category-nav:before {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    margin-top: 20px;
    width: 100%;
    height: calc(100vh - 64px);
    pointer-events: none;
    background: none;
    z-index: -1;
}

.header__category:hover .header__category-nav:before, .header__category:focus-within .header__category-nav:before {
    background: rgba(45, 52, 65, 0.03);
}

.header__category-link {
    color: #121212;
    padding: 8px 16px;
    display: flex;
    gap: 16px;
    width: 100%;
    transition: 0.15s ease background-color, 0.15s ease color;
    position: relative;
    z-index: 3;
    background: transparent;
}

.header__category-link:hover {
    /*padding-right: 10px;*/
    /*background-color: var(--color-2);*/
    color: var(--color-primary);
    transition: 0.15s ease background-color, 0.15s ease color;
}

.header__category-links>li:hover > .header__category-link{
    color: var(--color-primary);
}

.header__category-link-new-tag {
    color: var(--done);
    margin-left: auto;
    display: block;
}

.header__basket {
    position: relative;
}

.header__basket:hover .header__basket-link {
    color: var(--color-white);
    background: var(--done-button);
    transition: 0.1s ease color, 0.15s ease background;
}

.header__basket-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    fill: var(--color-11);
}

.header__basket:hover .header__basket-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    fill: var(--color-white);
    width: 24px;
    height: 24px;
}

.header__basket-text {
    color: var(--color-11);
}

.header__basket-link {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 12px 8px;
    background: #F2F2F2;
    border-radius: 16px;
    margin-left: 6px;
    transition: 0.1s ease color, 0.15s ease background;
    white-space: nowrap;
}

.header__basket_active {
}

.header__basket_active .header__basket-link {
    background: var(--done-button);
    color: var(--color-white);
}
.header__basket_active .header__basket-icon, .header__basket:hover .header__basket-icon, .header__basket_active .header__basket-text, .header__basket:hover .header__basket-text{
    fill: var(--color-white);
    color: var(--color-white);
}

.header__basket_active:hover .header__basket-link {
    background: var(--done-button);
    border-radius: 16px 16px 0 0;
}

.header__basket-payed {
    position: absolute;
    top: 48px;
    right: 0;
    padding: 16px 16px 24px 24px;
    background: var(--color-white);
    border-radius: 16px 0 16px 16px;
    width: 447px;
    color: var(--color-9);
    opacity: 0;
    pointer-events: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.header__basket_active:hover .header__basket-payed {
    opacity: 1;
    pointer-events: fill;
}

.header__basket-payed-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    max-height: 300px;
    overflow-y: auto;
    padding-right: 24px;
}

.header__basket .basket-page__count {
    display: flex;
    align-items: center;
    background: var(--color-2);
    border: 1px solid var(--color-3);
    border-radius: 500px;
    width: fit-content;
    padding: 4px 16px;
    height: 32px;
    margin-top: 11px;
    overflow: hidden;
}

.header__basket .basket-page__count-input {
    font-weight: 400;
    font-size: var(--font-size-20);
    color: var(--color-7);
    text-align: center;
    width: 36px;
    background: none;
    outline: none;
    border-width: 0;
}

.header__basket-payed-list::-webkit-scrollbar {
    background: var(--color-2);
    border-radius: 8px;
    width: 8px;
}

.header__basket-payed-list::-webkit-scrollbar-thumb {
    background: var(--color-4);
    border-radius: 8px;
}

.header__basket-payed-item {
}

.header__basket-payed-item-remove{
    height: 100%;
    background: none;
    padding: 0;
    margin: 0;
    display: block;
    width: 32px;
    min-width: 32px;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    fill: var(--color-primary);
}
.header__basket-payed-item-remove svg{ display: block}

.header__basket-payed-item-link {
    border-bottom: 1px solid var(--color-2);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
}

.header__basket-payed-item-image {
    width: 48px;
    min-width: 48px;
    height: 48px;
    object-fit: contain;
}

.header__basket-payed-item-name {
    font-weight: 500;
    font-size: 16px;
    margin-right: 64px;
}

.header__basket-payed-item-price {
    font-weight: 500;
    font-size: 16px;
    margin-left: auto;
    white-space: nowrap;
    text-align: right;
}

.header__basket-payed-total {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 16px;
    padding-right: 24px;
}

.header__basket-payed-button {
    padding: 11px 16px;
}

.header__basket-payed-total-text {
    font-weight: 500;
    font-size: 16px;
    margin-left: auto;
}

.header__basket-payed-total-text-bold {
    font-weight: 700;
    font-size: 16px;
}

@media screen and (max-width: 1250px) {

    .fix-top {
        display: contents;
    }

    main {
        padding-top: 80px;
    }

    .header {
        display: none;
    }
}


@media screen and (max-width: 460px) {

    header *{
        outline: none;
    }

    main {
        padding-top: 48px;
    }

    .header__container {
        padding: 12px 16px;
        gap: 20px;
        height: 48px;
    }
}

.header__button_active {
    fill: #9398FF !important;
}

.header__button_active .header__button-state {
    fill: #9398FF !important;
}


/*Mobile header*/

.mobile-header {
    background: #262626;
    display: none;
    height: 80px;
    align-items: center;
    padding-left: 32px;
    padding-right: 16px;
    position: fixed;
    z-index: 500;
    top: 0;
    left: 0;
    width: 100%;
}

.mobile-header__logo {
    margin-right: auto;
}

.mobile-header__logo svg {
    fill: white;
}

.mobile-header__button.mobile-header__search-button {
}


.mobile-header__button.mobile-header__menu-button {
}

.mobile-header__button {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    background: none;
    padding: 16px;
    margin: 0;
    fill: #FFFFFF;
    transition: 0.15s ease fill;
}

.mobile-header__button:active, .mobile-header__button_active {
    fill: #9398FF;
    transition: 0.15s ease fill;
}

.mobile-header__button svg {
    width: 32px;
    height: 32px;
}

.mobile-header:before {
    position: fixed;
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    margin-top: -1px;
    background-color: inherit;
    left: 0;
    top: 0;
}

@media screen and (max-width: 1250px) {

    .mobile-header {
        display: flex;
        height: 80px;
    }

    .mobile-header__logo{
        padding: 1.875vw 0;
    }
    .mobile-header__logo img{
        width: auto;
        height: 30px;
    }
}

@media screen and (max-width: 767px) {
    .mobile-header {
        padding-left: 16px;
        padding-right: 0px;
    }
}

@media screen and (max-width: 576px) {
    .mobile-header__logo img {
        height: 6vw;
    }
}

@media screen and (max-width: 460px) {

    main {
        padding-top: 12.5vw;
    }

    .mobile-header {
        height: 12.5vw;
        /* padding-left: 5vw; */
        padding-right: 8px;
        gap: 2.5vw;
    }

    /*.mobile-header__logo {*/
    /*    width: 20.9375vw;*/
    /*    height: 7.5vw;*/
    /*}*/

    .mobile-header__logo svg {
        width: 20.9375vw;
        height: 7.5vw;
    }

    .mobile-header__button.mobile-header__search-button {
    }

    .mobile-header__button.mobile-header__search-button svg {
    }

    .mobile-header__button.mobile-header__menu-button {
    }

    .mobile-header__button.mobile-header__menu-button svg {
    }

    .mobile-header__button {
        width: 11.25vw;
        height: 11.25vw;
        padding: 1.875vw;
    }

    .mobile-header__button:hover {
    }

    .mobile-header__button_active {
    }

    .mobile-header__button svg {
        width: 7.5vw;
        height: 7.5vw;
    }
}
/*header.css*/

/*ui.css*/

/*Checkbox*/

.sorting-section {
    display: flex;
    align-items: center;
    gap: 24px;
    border: 1px solid var(--stroke-color);
    padding: 8px 16px;
    overflow-x: auto;
    width: 100%;
    white-space: nowrap;
}

.sorting-section::-webkit-scrollbar {
    display: none;
}

.sorting-section__parameter {
    display: flex;
    gap: 4px;
    width: fit-content;
    justify-content: end;
}

.sorting-section__sort-parameter {
}

.sorting-section__parameter-label {
    color: var(--color-8);
}

.sorting-section__parameter-select {
    color: var(--color-primary);
    display: flex;
    align-items: center;
    gap: 4px;
    user-select: none;
    cursor: pointer;
}

/*.sorting-section__parameter-select.top:after, .sorting-section__parameter-select.bottom:after{*/
/*    display: block;*/
/*    content: '';*/
/*    background-image: url("/catalog/view/theme/apple/images/icons/price-filter-ic.svg");*/
/*    background-position: center;*/
/*    background-repeat: no-repeat;*/
/*    background-size: contain;*/
/*    width: 24px;*/
/*    height: 24px;*/
/*    transform: rotate(180deg);*/
/*}*/

.sorting-section__parameter-select.bottom:after{
    transform: rotate(0);
}

.sorting-section__parameter-select-icon {
    stroke: var(--color-primary);
    width: 24px;
    height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sorting-section__sort-parameter-list {
    position: absolute;
    width: 100%;
    max-width: 302px;
    z-index: 5;
    background: #FFFFFF;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 16px;
    padding-top: 14px;
    padding-bottom: 14px;
    margin-top: 35px;
    opacity: 0;
    pointer-events: none;
    transition: 0.15s ease opacity;
    /*margin-right: -130px;*/
}

.search-page .sorting-section__sort-parameter-list{
    margin-right: -130px;
}

.sorting-section__sort-parameter_active .sorting-section__sort-parameter-list {
    opacity: 1;
    pointer-events: fill;
    transition: 0.15s ease opacity;
}

.sorting-section__sort-parameter-list-item {
    padding: 2px 24px;
    user-select: none;
    cursor: pointer;
}

.sorting-section__sort-parameter-list-item_active {
    background: #EEE9FF;
    color: var(--color-primary);
}

.sorting-section__sort-parameter-list-item:hover {
    color: var(--color-primary);
}
@media screen and (max-width: 1250px) {
    .sorting-section__sort-parameter-list {
        margin-right: -130px;
    }
}

/*Checkbox*/

.checkbox {
    user-select: none;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: var(--font-size-16);
    color: var(--color-10);
    font-family: inherit;
    font-weight: 500;
    cursor: pointer;
}

.checkbox__input {
    appearance: none;
    width: 24px;
    height: 24px;
    cursor: pointer;
    margin: 0;
    padding: 0;
}

.checkbox__input:before {
    content: "";
    display: block;
    width: 24px;
    height: 24px;
    border: 1px solid var(--color-6);
    border-radius: 4px;
}

.checkbox__input:checked:before {
    background: var(--color-primary);
    background-image: url("/catalog/view/theme/apple/images/ui/fly.svg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 20px 20px;
    border: solid 1px var(--color-primary);
}

@media screen and (max-width: 600px) {

    .sorting-section {
        padding: 10px 16px;
    }

    .sorting-section__parameter:first-child {
        margin-left: auto;
    }

    .sorting-section__sort-parameter-list {
        left: 24px;
        width: calc(100% - 48px);
        max-width: 100%;
    }
}


/*Button*/

.button {
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
    border-radius: 8px;
    background: none;
    padding: 11px 24px;
    font-size: var(--font-size-16);
    font-family: inherit;
    margin: 0;
    width: fit-content;
    transition: 0.15s ease background-color, 0.15s ease color;
    text-align: center;
    display: inline-block;
    cursor: pointer;
    white-space: nowrap;
}

.button_accent {
    background: var(--color-primary);
    color: var(--color-white);
}

.button:hover {
    transition: 0.15s ease background-color, 0.15s ease color;
    background: var(--color-primary);
    color: var(--color-white);
}


/*Input*/

.input {
    border: 1px solid var(--color-6);
    border-radius: 4px;
    padding: 11px 24px;
    font-weight: 400;
    font-size: 16px;
    color: var(--color-7);
    outline: none;
}

.input::placeholder {
    color: #8c929481;
}

.input:focus {
    border-color: var(--color-primary);
}


/*Date select*/

.date-select {
    position: relative;
    background: var(--color-2);
    border: 1px solid var(--color-3);
    border-radius: 4px;
    height: 40px;
    user-select: none;
}

.date-select_opened, .date-select:focus-within {
    border: 1px solid var(--color-primary);
}

.date-select__current {
    width: 100%;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 16px;
    padding-right: 20px;
    font-weight: 400;
    font-size: 16px;
    color: var(--color-9);
    cursor: pointer;
}

.date-select__current:after {
    content: "";
    display: block;
    border: 2px solid #8C9294;
    transform: translateY(-3px) rotate(-45deg);
    width: 10px;
    height: 10px;
    margin-left: 21px;
    border-top: 0;
    border-right: 0;
}

.date-select_opened .date-select__current:after {
    transform: translateY(3px) rotate(135deg);
}

.date-select__list {
    position: relative;
    width: 100%;
    margin: 4px 0 0;
    background: var(--color-2);
    border-radius: 4px;
    opacity: 0;
    transform: translateY(20px);
    transition: 0.15s ease transform, 0.15s ease opacity;
    border: 1px solid var(--color-3);
    padding: 12px 8px;
    z-index: 20;
    height: 124px;
    pointer-events: none;
}

.date-select_opened .date-select__list {
    opacity: 1;
    pointer-events: fill;
    transform: translateY(0);
    transition: 0.15s ease transform, 0.15s ease opacity;
    border: 1px solid var(--color-primary);
}

.date-select__list-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 100%;
}

.date-select__list-container::-webkit-scrollbar {
    width: 4px;
    background: var(--color-3);
    border-radius: 8px;
    padding-right: 15px;
}

.date-select__list-container::-webkit-scrollbar-thumb {
    background: var(--color-6);
    border-radius: 8px;
}

.date-select__list-item {
    font-weight: 400;
    font-size: var(--font-size-16);
    color: var(--color-9);
    user-select: none;
    cursor: pointer;
    padding: 4px;
    margin: -4px;
    padding-right: 20px;
}

.date-select__input {
    appearance: none;
    width: 0;
    height: 0;
}


/*Alert window*/

.alert-window {
    position: absolute;
    background: #3A3A44;
    border-radius: 8px;
    top: 100px;
    left: 100px;
    padding: 16px 41px 16px 14px;
    z-index: 400;
    max-width: 349px;
}

@media screen and (max-width: 500px){

    .alert-window {
        max-width: 100% !important;
        width: calc(100% - 8px) !important;
        left: 4px !important;
    }
}

.alert-window__close {
    position: absolute;
    width: 24px;
    height: 24px;
    top: 8px;
    right: 8px;
    background: none;
    border: none;
    fill: white;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.alert-window__content {
    font-size: var(--font-size-14);
    color: white;
}

/*Range*/

.range {
    position: relative;
    width: 100%;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.range__input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    opacity: 0;
    cursor: pointer;
    margin: 0;
    padding: 0;
}

.range__active-line {
    position: absolute;
    background: var(--color-primary);
    border-radius: 8px;
    width: 50%;
    z-index: 2;
    height: 8px;
    left: 0;
    pointer-events: none;
}

.range__line {
    position: absolute;
    background: var(--color-3);
    border-radius: 8px;
    width: 100%;
    height: 8px;
    pointer-events: none;
}

.range__circle-container {
    position: absolute;
    width: calc(100% - 24px);
    left: 12px;
}

.range__circle {
    position: absolute;
    width: 24px;
    height: 24px;
    background: var(--color-primary);
    border-radius: 999px;
    z-index: 3;
    left: 50%;
    margin-left: -12px;
    pointer-events: none;
    margin-top: -12px;
}

/*ui.css*/