/*******************************************************************************************
*   ___  _          ______                     _ _                _                        *
*  / _ \| |         | ___ \                   | (_)              | |              © 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-bottom: 3px;
    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;
    }
}
.ab__ps-item_price {
    font-weight: bold;
}
.ab__ps-item_title {
    margin-left: 10px;
}
.ab__ps-item_quick-delete {
    cursor: pointer;
    font-size: 0;
    &:before {
        content: "\e00a";
        font-family: glyphs;
        font-size: 14px;
        line-height: 14px;
        color: #999;
        position: relative;
        top: 2px;
        margin-left: 2px;
    }
}
.ab__ps-totals {
    text-align: left;
    border-top: 1px solid @base;
    padding: 7px 0;
    margin-top: 5px;
}
.ab__ps-totals_discount {
    color: #999;
    .ab__ps-totals_value {
        font-weight: normal;
    }
}
.ab__ps-totals_total {
    .ab__ps-totals_value {
        font-size: 16px;
    }
}
.ab__ps-totals_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;
    }
}
.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%);
    }
}
.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;
            &: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;
}

.ty-product-block .sol-container.sol-active .sol-selection-container {
    max-height: 320px;
    overflow-y: scroll;
}

.ty-product-bigpicture__sidebar-bottom {
    .sol-action-buttons a {
        display: block;
        float: none !important;
        text-align: left;
        margin-bottom: 4px;
        &.sol-deselect-all {
            margin-bottom: 0;
        }
    }
}

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

.ty-product-block__note {
    &.ty-product-block__note-inner {
        position: static;
    }
}