/* Chrome, Safari, Edge, Opera */

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}


/* Firefox */

input[type=number] {
    -moz-appearance: textfield;
}

label.color {
    margin-right: 10px;
    margin-bottom: 10px;
    box-shadow: 0px 4px 30px rgba(0, 0, 0, 0);
    transition: get('transition');
    display: inline-block;
    font-size: 0;
    .color-name {
        font: 500 normal rem(11px) / rem(18px) get('font.family');
        margin-top: 3px;
        display: block;
        width: 70px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    // &.wide-2 {
    //     width: 68px;
    // }
    // &.wide-3 {
    //     width: 102px;
    // }
    // &.wide-4 {
    //     width: 136px;
    // }
    &:hover {
        cursor: pointer;
        box-shadow: 0px 4px 30px rgba(0, 0, 0, 0.05);
    }
    .tick-icon {
        margin: auto;
        opacity: 0;
        transition: get('transition');
    }
    &.selected {
        .tick-icon {
            opacity: 1;
        }
    }
}

.label {
    border: 1px solid #eee;
    display: block;
    width: 70px;
    height: 34px;
    display: flex;
}

label.size {
    display: inline-flex;
    width: 27px;
    height: 27px;
    border: 1px solid get('colors.black.100');
    transition: get('transition');
    span {
        margin: auto;
    }
    &.selected {
        border-color: get('colors.primary.400');
        color: get('colors.primary.400');
    }
    &:hover {
        cursor: pointer;
        border-color: get('colors.primary.400');
    }
}

.qty-couter {
    display: inline-flex;
    input {
        width: 32px;
        border: none;
        background: none;
        text-align: center;
        font: normal normal rem(12px) / 1 get('font.family');
        color: get('colors.black.300');
        &:focus {
            outline: none;
        }
    }
    .action-qty {
        display: inline-block;
        font: normal normal rem(12px) / 27px get('font.family');
        text-align: center;
        width: 27px;
        height: 27px;
        border: 1px solid get('colors.black.100');
        transition: get('transition');
        &:hover {
            cursor: pointer;
            background-color: get('colors.black.400');
            border-color: get('colors.black.400');
            color: #fff;
        }
    }
}

#price-slider-range {
    margin-top: 50px;
}

.ui {
    &-slider-horizontal {
        height: 2px !important;
    }
    &-widget-content {
        background-color: #EFEFEF;
    }
    &-slider-range {
        background-color: #323232;
    }
    &-slider {
        .handles-num {
            position: absolute;
            bottom: 20px;
            font: 400 normal rem(10px) / rem(24px) get('font.family');
            background-color: #fff;
            box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.07);
            padding: 5px;
            z-index: 10;
            background-color: #fff;
        }
        .bottom-bar {
            position: relative;
            display: flex;
            justify-content: space-between;
            span {
                position: relative;
                margin-top: 9px;
                font: 400 normal rem(14px) / rem(24px) get('font.family');
                color: get('colors.black.200');
                &:before {
                    content: '';
                    background-color: #C4C4C4;
                    position: absolute;
                    width: 1px;
                    height: 5px;
                    transform: translateY(-100%);
                    display: block;
                }
                &:nth-child(2):before {
                    left: 50%;
                }
                &:nth-child(3):before {
                    right: 0;
                }
            }
        }
        .ui-slider-handle {
            background-color: #8FC05B;
            margin-top: -3px;
            // margin-left: 0 !important;
            width: 16px !important;
            height: 16px !important;
            box-shadow: inset 0px 0px 0px 2px #fff;
            z-index: 10;
            &:hover {
                cursor: pointer;
            }
        }
        // .start-to {
        //     transform: translateX(-100%);
        // }
    }
    &-state-focus {
        border: none;
        outline: none;
    }
}

input[type=search]::-webkit-search-decoration,
input[type=search]::-webkit-search-cancel-button,
input[type=search]::-webkit-search-results-button,
input[type=search]::-webkit-search-results-decoration {
    display: none;
}