/*
 * Старые страницы на шаблоне gardista — корзина, оформление заказа, личный кабинет (/personal/, /auth/): правила старого шаблона только этого раздела.
 * Файл собирает local/tools/legacy-css.js — руками не править, правку внести в исходник и пересобрать.
 */

.basket-items-list-container {
    background: transparent;
}

.basket-items-list {
    padding: 0;
}

.basket-items-list-wrapper {
    margin: 0 !important;
    border: none;
}

.checkout {
    margin-bottom: 200px;
}

#bx-soa-order-form {
    margin-bottom: 100px;
}

.bx-soa-cart-total-button-container {
    display: none !important;
}

.bx-soa-cart-total-button-container {
    display: none !important;
}

#bx-soa-orderSave > a {
    display: block;
    text-align: center;
    font-style: normal;
    font-weight: 600;
    font-size: 20px;
    line-height: 24px;
    text-transform: uppercase;
    color: #ffffff;
    padding: 15px;
    background: #032755;
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
    width: 100%;
}

@media (max-width: 500px) {
    .checkout {
        margin-bottom: 90px;
    }
}

.bx-theme-yellow {
    --primary: #f9a91d;
    --theme-color-primary: #f9a91d;
    --theme-color-second: #faba4a;
    --theme-color-light: #f0f0f0;
    --theme-b-link: #f9a91d;
    --theme-b-link-hover: #faba4a;
    --theme-b-tx-primary: #fff;
    --theme-b-bg-primary: #f9a91d;
    --theme-b-bd-primary: #f9a91d;
    --theme-b-sd-primary: rgba(249, 169, 29, 0.5);
    --theme-b-tx-primary-hover: #fff;
    --theme-b-bg-primary-hover: #faba4a;
    --theme-b-bd-primary-hover: #daa53e;
    --theme-b-tx-primary-active: #fff;
    --theme-b-bg-primary-active: #faba4a;
    --theme-b-bd-primary-active: #daa53e;
    --theme-b-tx-primary-disabled: #fff;
    --theme-b-bg-primary-disabled: #daa53e;
    --theme-b-bd-primary-disabled: #b7853b;
}

.bx-theme-blue {
    --primary: #0083d1;
    --theme-color-primary: #0083d1;
    --theme-color-second: #5ca6e4;
    --theme-color-light: #f0f6f8;
    --theme-b-link: #44b1c9;
    --theme-b-link-hover: #5cc3d1;
    --theme-b-tx-primary: #fff;
    --theme-b-bg-primary: #0083d1;
    --theme-b-bd-primary: #0083d1;
    --theme-b-sd-primary: rgba(0, 131, 209, 0.5);
    --theme-b-tx-primary-hover: #fff;
    --theme-b-bg-primary-hover: #5ca6e4;
    --theme-b-bd-primary-hover: #5599d2;
    --theme-b-tx-primary-active: #fff;
    --theme-b-bg-primary-active: #5ca6e4;
    --theme-b-bd-primary-active: #5599d2;
    --theme-b-tx-primary-disabled: #fff;
    --theme-b-bg-primary-disabled: #5599d2;
    --theme-b-bd-primary-disabled: #4d8bbf;
}

.bx-theme-red {
    --primary: #e22b2b;
    --theme-color-primary: #e22b2b;
    --theme-color-second: #e95c5c;
    --theme-color-light: #f0f0f0;
    --theme-b-link: #e22b2b;
    --theme-b-link-hover: #e95c5c;
    --theme-b-tx-primary: #fff;
    --theme-b-bg-primary: #e22b2b;
    --theme-b-bd-primary: #e22b2b;
    --theme-b-sd-primary: rgba(226, 43, 43, 0.5);
    --theme-b-tx-primary-hover: #fff;
    --theme-b-bg-primary-hover: #e95c5c;
    --theme-b-bd-primary-hover: #d05454;
    --theme-b-tx-primary-active: #fff;
    --theme-b-bg-primary-active: #e95c5c;
    --theme-b-bd-primary-active: #d05454;
    --theme-b-tx-primary-disabled: #fff;
    --theme-b-bg-primary-disabled: #d05454;
    --theme-b-bd-primary-disabled: #c04e4e;
}

.bx-theme-green {
    --primary: #63aa28;
    --theme-color-primary: #63aa28;
    --theme-color-second: #5b9f0b;
    --theme-color-light: #a8d95b;
    --theme-b-link: #44b1c9;
    --theme-b-link-hover: #5cc3d1;
    --theme-b-tx-primary: #fff;
    --theme-b-bg-primary: #63aa28;
    --theme-b-bd-primary: #63aa28;
    --theme-b-sd-primary: rgba(99, 170, 40, 0.5);
    --theme-b-tx-primary-hover: #fff;
    --theme-b-bg-primary-hover: #5b9f0b;
    --theme-b-bd-primary-hover: #56940b;
    --theme-b-tx-primary-active: #fff;
    --theme-b-bg-primary-active: #5b9f0b;
    --theme-b-bd-primary-active: #56940b;
    --theme-b-tx-primary-disabled: #fff;
    --theme-b-bg-primary-disabled: #56940b;
    --theme-b-bd-primary-disabled: #497c09;
}

.btn-link {
    color: var(--theme-b-link);
}

.btn-link:hover {
    color: var(--theme-b-link-hover);
}

.basket-coupon-alert-section {
    width: 100%;
}

.basket-item-property:has(.basket-item-property-value[data-property-code="SOURCE"]) {
    display: none;
}
