/**
 * PrestaHU
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Commercial License
 * you can't distribute, modify or sell this code
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file
 * If you need help please contact info@presta.hu
 *
 * @author    PrestaHU <info@presta.hu>
 * @copyright PrestaHU
 * @license   commercial
 */
.pshu-bt {
    clear: both;
    margin: 20px 0 8px;
    padding: 16px 18px;
    border: 1px solid #e6e6e6;
    border-radius: 10px;
    background: #fafafa;
    text-align: left;
}

.pshu-bt-head {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.pshu-bt-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pshu-bt-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-top: 1px solid #ececec;
}

.pshu-bt-item:first-child {
    border-top: 0;
    padding-top: 0;
}

.pshu-bt-check,
.pshu-bt-check-gap {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin: 0;
}

.pshu-bt-check {
    cursor: pointer;
    accent-color: #222222;
}

.pshu-bt-thumb {
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    border: 1px solid #ececec;
    border-radius: 8px;
    background: #ffffff;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pshu-bt-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.pshu-bt-info {
    flex: 1 1 auto;
    min-width: 0;
}

.pshu-bt-name {
    display: block;
    color: inherit;
    font-size: 0.92rem;
    line-height: 1.3;
    font-weight: 500;
}

.pshu-bt-comb {
    margin-top: 2px;
    color: #7a7a7a;
    font-size: 0.8rem;
}

.pshu-bt-price {
    margin-top: 4px;
    font-size: 0.92rem;
    font-weight: 600;
}

.pshu-bt-regular {
    margin-right: 6px;
    color: #9a9a9a;
    font-weight: 400;
    text-decoration: line-through;
}

.pshu-bt-qty {
    margin-left: 4px;
    color: #7a7a7a;
    font-weight: 400;
}

.pshu-bt-action {
    flex: 0 0 auto;
}

.pshu-bt .pshu-bt-add {
    padding: 7px 14px;
    font-size: 0.82rem;
    line-height: 1.2;
    white-space: nowrap;
    text-transform: none;
}

.pshu-bt-item.is-added .pshu-bt-add {
    background: #e3f5ea;
    border-color: #bfe6cd;
    color: #1c6b3c;
}

.pshu-bt-unavailable {
    display: inline-block;
    color: #8a8a8a;
    font-size: 0.8rem;
    white-space: nowrap;
}

.pshu-bt-item.is-unavailable .pshu-bt-thumb,
.pshu-bt-item.is-unavailable .pshu-bt-info {
    opacity: 0.6;
}

.pshu-bt-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e0e0e0;
}

.pshu-bt-total {
    font-size: 0.92rem;
    font-weight: 600;
}

.pshu-bt .pshu-bt-add-all {
    white-space: nowrap;
}

.pshu-bt-msg {
    margin-top: 8px;
    color: #dc3545;
    font-size: 0.85rem;
}

.pshu-bt-msg.is-ok {
    color: #1c8a4a;
}

.pshu-bt-msg:empty {
    display: none;
}

@media (max-width: 575px) {
    .pshu-bt {
        padding: 14px 12px;
    }

    .pshu-bt-item {
        flex-wrap: wrap;
        gap: 10px;
    }

    .pshu-bt-thumb {
        flex-basis: 56px;
        width: 56px;
        height: 56px;
    }

    .pshu-bt-info {
        flex-basis: calc(100% - 18px - 56px - 20px);
    }

    .pshu-bt-action {
        flex-basis: 100%;
        padding-left: 28px;
    }

    .pshu-bt-foot {
        flex-direction: column;
        align-items: stretch;
    }

    .pshu-bt .pshu-bt-add-all {
        width: 100%;
        white-space: normal;
    }
}
