@import './styles/<!--partnerName--settings-->';
@import './styles/tools';

$c-dropdown-box-height: 48px !default;
$c-product-sizes-content-title: $default-font-family !default;
$c-product-sizes-content-units-of-measurement-text-transform: uppercase !default;

.c-dropdown-label {
    padding-left: 12px;
    font-family: $secondary-font-family;
    font-size: 10px;
    letter-spacing: 0.66px;
    line-height: 14px;
    font-weight: 400;
    margin-bottom: -9px;
    text-align: left;
}

.c-dropdown-box {
    position: relative;
    cursor: pointer;
    display: inline-block;
    width: 100%;
}
    .c-dropdown-box__select {
        color: $grey-super-dark;
        border: none;
        outline: none;
        height: $c-dropdown-box-height;
        background-color: transparent;
        display: flex;
        font-family: $secondary-font-family;
        font-size: $font-size-text-m;
        color: #141414;
        font-weight: 500;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        border-radius: 0;
        cursor: pointer;
        width: 100%;
        padding-left: 12px;
        font-size: 15px;
        opacity: 0.9;
    }

    .c-dropdown-box__select__icon {
        opacity: 0.4;
        margin-top: -23px;
        height: 32px;
        width: 32px;
    }

    .c-icon-no-option-label {
        margin-top: 0;
    }

    .c-dropdown-box__menu {
        position: absolute;
        top: 100%;
        left: 0;
        min-width: 100%;
        z-index: 1;
    }

    $c-dropdown-box__select-menu--options-bg: rgb(255, 255, 255);
    .c-dropdown-box__select-menu {
        list-style: none;
        background-color: $c-dropdown-box__select-menu--options-bg;
        padding: 10px 0;
        padding-top: 0;
        margin: 0;
        box-sizing: content-box;
        width: 99%;
        margin: auto;
        box-shadow: 0 30px 30px 0px rgba(0, 0, 0, 0.1);
        max-height: 45vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
        .c-dropdown-box__select-menu--min-height {
            min-height: $c-dropdown-box-height * 4;
        }
    .c-dropdown-box__select-menu__item {
        padding: 0 8px;
        overflow: hidden;
    }

    .c-dropdown-box__select-menu__option {
        line-height: 30px;
        height: 38px;
        padding-left: 15px;
        font-family: $secondary-font-family;
        font-size: 15px;
        border: none;
        outline: none;
        background-color: transparent;
        box-sizing: border-box;
        width: 100%;
        text-align: left;
        border-radius: 0;
        cursor: pointer;
        &:hover {
            background-color: #F3F3F3;
        }
        &:active {
            outline: none;
        }
    }

    .c-dropdown-box__select-menu__option--selected {
        cursor: default;
    }

    .c-header-li {
        font-family: $secondary-font-family;
        cursor: default;
        display: flex;
        position: sticky;
        top: 0;
        background-color: inherit;
    }
        .c-has-switcher {
            padding: 24px 16px 16px 24px;
        }

        .c-no-switcher {
            padding: 16px 16px 8px 24px;
        }

    .c-header-text {
        font-size: 10px;
        letter-spacing: 0.66px;
        opacity: 0.7;
    }

    .c-no-header {
        padding: 0;
        padding-top: 10px;
    }

    .c-header-selector {
        opacity: 1;
        margin-top: -9px;
    }

    .c-spacer {
        flex: 1 1 auto;
    }

    .c-btn--active {
        border: 1px solid black;
        cursor: default;
    }
    
    .c-btn--active:hover {
        color: unset;
    }

    .c-selector-button {
        font-size: 10px;
        padding: 13px 11.6px;
        line-height: 0;
        outline: none;
    }

    .c-btn--inactive {
        border-width: 1px;
    }
