/*******************************************************************************************
*   ___  _          ______                     _ _                _                        *
*  / _ \| |         | ___ \                   | (_)              | |              © 2023   *
* / /_\ | | _____  _| |_/ /_ __ __ _ _ __   __| |_ _ __   __ _   | |_ ___  __ _ _ __ ___   *
* |  _  | |/ _ \ \/ / ___ \ '__/ _` | '_ \ / _` | | '_ \ / _` |  | __/ _ \/ _` | '_ ` _ \  *
* | | | | |  __/>  <| |_/ / | | (_| | | | | (_| | | | | | (_| |  | ||  __/ (_| | | | | | | *
* \_| |_/_|\___/_/\_\____/|_|  \__,_|_| |_|\__,_|_|_| |_|\__, |  \___\___|\__,_|_| |_| |_| *
*                                                         __/ |                            *
*                                                        |___/                             *
* ---------------------------------------------------------------------------------------- *
* This is commercial software, only users who have purchased a valid license and accept    *
* to the terms of the License Agreement can install and use this program.                  *
* ---------------------------------------------------------------------------------------- *
* website: https://cs-cart.alexbranding.com                                                *
*   email: info@alexbranding.com                                                           *
*******************************************************************************************/

#ab__product_sets_ms {
    margin: 10px 0 20px;
    width: 100% !important;
    display: none;
}
#results_ab__product_sets {
    max-width: 462px;
    background: #f7f7f7;
    margin: 5px 0;
    box-sizing: border-box;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    > span {
        display: none;
    }
    .ab__ps-list {
        padding: 7px 10px 0 10px;
        text-align: left;
    }
    .ab__ps-totals {
        padding: 7px 10px 10px 10px;
    }
    @media (max-width: 900px) {
        max-width: unset;
    }
}
.ab__ps-item {
    position: relative;
    margin-top: 3px;
    padding-right: 30px;

    &_price {
        font-weight: bold;
        display: block;
        float: left;
        height: 30px;
        line-height: 30px;
        font-size: 16px;
    }

    &_title {
        margin-left: 10px;
    }

    &_quick-delete {
        position: absolute;
        top: -1px;
        right: 1px;
        cursor: pointer;
        font-size: 0;

        &:before {
            content: "\e00a";
            font-family: glyphs;
            font-size: 30px;
            line-height: 30px;
            color: #999;
            position: relative;
            top: 2px;
            margin-left: 2px;
        }
    }

    &:first-child {
        margin-top: 0;
    }
}
.ab__ps-item_common_info {
    position: relative;
    padding-bottom: 6px;

    a.ut2-quick-view-button {
        display: block;
        float: right;
        font-size: 16px;
        line-height: 16px;
        height: 30px;
        width: 30px;
        margin-top: -2px;

        i {
            font-size: 16px;
            line-height: 16px;
        }
    }
    &:after {
        content: '';
        display: block;
        width: 100%;
        height: 0;
        clear: both;
    }
}
.ab__ps-totals {
    text-align: left;
    border-top: 1px solid @base;
    padding: 7px 0;
    margin-top: 5px;
    &_discount {
        color: #999;
        .ab__ps-totals_value {
            font-weight: normal;
        }
    }
    &_total {
        .ab__ps-totals_value {
            font-size: 16px;
        }
    }
    &_value {
        margin-left: 20px;
        font-weight: bold;
    }
}

.sol-input-container {
    padding-left: 30px;
    &:before {
        content: "";
        background: url('images/addons/ab__product_sets/pr-set-icon.svg') no-repeat left center;
        position: absolute;
        margin: 2px 5px;
        left: 2px;
        width: 32px;
        height: 32px;
    }
    input[type="text"] {
        &:hover, &:focus {
            border-color: transparent;
            box-shadow: none;
        }
    }
}
.sol-caret-container:hover {
    .sol-caret {
        border-top-color: @base;
    }
}
.sol-inner-container {
    border: 1px solid darken(@base, 5%);
    &:hover {
        border-color: darken(@base, 10%);
    }
    @media (max-width: 900px) {
        max-width: unset;
    }
}
.sol-container {
    position: relative;
    text-align: left;
    z-index: 2;
    &.sol-active {
        .sol-selection-container {
            left: 0 !important;
            top: 37px !important;
            position: absolute;
            border: 0 none;
            text-align: left;
            -webkit-box-shadow: 0 0 0 1px rgba(0,0,0,0.07), 0 1px 20px 1px rgba(0,0,0,0.22);
            -moz-box-shadow: 0 0 0 1px rgba(0,0,0,0.07), 0 1px 20px 1px rgba(0,0,0,0.22);
            box-shadow: 0 0 0 1px rgba(0,0,0,0.07), 0 1px 20px 1px rgba(0,0,0,0.22);
            margin-top: 12px;
            min-width: 280px;
            &:after, &:before {
                content: "";
                position: absolute;
                display: block;
                left: 10%;
                margin-left: -11px;
                border-color: transparent;
                border-style: solid;
                border-top-width: 0;
                border-width: 11px;
            }
            &:after {
                top: -21px;
                border-bottom-color: white;
            }
            &:before {
                top: -22px;
                border-bottom-color: rgba(0, 0, 0, 0.20);
            }
        }
        .sol-inner-container {
            border-color: @links;
        }
    }
}
.sol-optiongroup-label {
    background: @base;
    color: @font;
}
.sol-selection:not(.sol-keyboard-navigation) .sol-option:hover .sol-label-text, .sol-option.keyboard-selection .sol-label-text {
    color: @links;
}
.sol-action-buttons {
    border-bottom: 1px solid darken(@base, 5%);
    color: @links;
}

@media screen and (max-width: 650px) and (min-width: 577px) {
    .sol-action-buttons a {
        display: block;
        float: none !important;
        text-align: left;
        margin-top: 2px;
        &:first-child {
            margin-top: 0;
        }
    }
}