a {
    color: #D0021B;
}

.basket-btn-checkout {
    border-radius: 2px;
    font-weight: var(--ui-font-weight-bold);
    font-size: 16px;
    border-color: #da3737;
    background-color: #da3737;
    color: #fff;
}

tr.basket-items-list-item-container td:first-child {
    padding-left: 20px;
}

tr.basket-items-grey {
    background-color: #efefef;
    border-bottom-color: #ffffff;
    border-bottom: 2px solid #ffffff;
}

.basket-item-block-actions .basket-item-actions-remove.disabled{
    display: none;
}

/* Контейнер */
.p-content {
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.container__cols {
    display: flex;
    gap: 20px;
}

.container__col-small {
    width: 200px;
    flex-shrink: 0;
}

.container__col-large {
    flex: 1;
    min-width: 0;
}

.line {
    height: 20px;
}

/* Flex */
.flex {
    display: flex;
}

.flex_js_spbtn {
    justify-content: space-between;
    align-items: center;
}

.wrap-breadcrumb {
    margin-bottom: 20px;
}

/* Хлебные крошки */
.bx-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    font-size: 13px;
}

.bx-breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bx-breadcrumb-item:not(:last-child)::after {
    content: '/';
    color: #999;
}

.bx-breadcrumb-item a {
    color: #0066cc;
    text-decoration: none;
}

.bx-breadcrumb-item a:hover {
    color: #004499;
}

.bx-breadcrumb-item span {
    color: #666;
}

/* Заголовки */
.catalog-grid {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.section-title2 {
    font-size: 24px;
    font-weight: 600;
    color: #222;
}

/* Поделиться корзиной */
.shareBasketLink {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #0066cc;
    cursor: pointer;
}

.shareBasketLink i {
    font-size: 18px;
}

.shareBasketLink a {
    color: #0066cc;
    text-decoration: none;
}

/* Соцсети */
.basket_distribution .social {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.basket_distribution h4 {
    font-size: 16px;
    margin-bottom: 15px;
}

.basketLink {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 15px;
}

.basketLink .url {
    color: #0066cc;
    word-break: break-all;
}

.socialButtons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.socialButtons img {
    width: 32px;
    height: 32px;
    border-radius: 4px;
}

/* Row/Col для сетки */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col {
    flex: 1;
    padding: 0 15px;
}

/* Корзина */
.bx-basket {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
}

/* Итого блок */
.basket-checkout-container {
    background: #f8f8f8;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.basket-checkout-section-inner {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.justify-content-between {
    justify-content: space-between;
}

.basket-checkout-block {
    display: flex;
    align-items: center;
}

.basket-checkout-block-total-title {
    font-size: 18px;
    font-weight: 600;
}

.basket-coupon-block-total-price-current {
    font-size: 24px;
    font-weight: 700;
}

/* Кнопка */
.basket-btn-checkout {
    background: #da3737;
    color: #fff;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}

.basket-btn-checkout:hover {
    background: #E7001C;
}

/* Список товаров */
.basket-items-list-wrapper {
    border-radius: 8px;
    overflow: hidden;
}

.basket-items-list-wrapper-height-fixed {
    /* фиксированная высота */
}

.basket-items-list-wrapper-light {
    background: #fff;
}

.basket-items-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    flex-wrap: wrap;
    gap: 10px;
}

.basket-items-search-field {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    flex: 1;
    max-width: 300px;
}

.form-control {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.form-control:focus {
    outline: none;
    border-color: #0066cc;
}

.basket-items-search-clear-btn {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    font-size: 20px;
    color: #999;
    cursor: pointer;
}

.basket-items-list-header-filter {
    display: flex;
    gap: 10px;
}

.basket-items-list-header-filter-item {
    color: #666;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 4px;
    transition: all 0.2s;
}

.basket-items-list-header-filter-item.active {
    background: #0066cc;
    color: #fff;
}

.basket-items-list-container {
    position: relative;
}

.basket-items-list-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.8);
    z-index: 10;
    display: none;
}

/* Товар в списке */
.basket-items-list {
    padding: 0;
}

.basket-items-list-item-container {
    display: grid;
    grid-template-columns: 1fr auto auto auto 40px;
    gap: 20px;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    transition: background 0.2s;
}

.basket-items-list-item-container:hover {
    background: #fafafa;
}

.basket-items-grey {
    background: #f9f9f9;
}

/* Рекомендуемые товары */
.basket-items-grey {
    background: #f9f9f9;
}

.basket-items-recommended-header {
    grid-template-columns: 1fr;
    padding: 20px;
    background: #f0f0f0;
}

.basket-items-recommended-header h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

/* Описание товара */
.basket-items-list-item-descriptions {
    min-width: 0;
}

.basket-items-list-item-descriptions-inner {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.basket-item-block-image {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;

}

.basket-item-image-link {
    display: block;
    
}

.basket-item-image {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
}

.basket-item-block-info {
    flex: 1;
    min-width: 0;
}

.basket-item-info-name {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 5px;
    line-height: 1.4;
}

.basket-item-info-name-link {
    color: #333;
    text-decoration: none;
}

.basket-item-info-name-link:hover {
    color: #0066cc;
}

.basket-item-block-properties {
    margin-top: 8px;
}

.basket-item-property-custom {
    display: flex;
    gap: 8px;
    font-size: 12px;
}

.basket-item-property-custom-name {
    color: #999;
}

.basket-item-property-custom-value {
    color: #666;
}

/* Цена */
.basket-items-list-item-price {
    text-align: right;
    min-width: 100px;
}

.basket-item-block-price {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.basket-item-price-current {
    font-weight: 600;
    font-size: 15px;
}

.basket-item-price-title {
    font-size: 11px;
    color: #999;
}

/* Количество */
.basket-items-list-item-amount {
    min-width: 120px;
}

.basket-item-block-amount {
    display: flex;
    align-items: center;
    gap: 5px;
    border-radius: 4px;
    padding: 4px;
}

.basket-item-amount-btn-minus,
.basket-item-amount-btn-plus {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    color: #666;
    transition: all 0.2s;
    user-select: none;
}

.basket-item-amount-btn-minus:hover,
.basket-item-amount-btn-plus:hover {
    background: #0066cc;
    border-color: #0066cc;
    color: #fff;
}

.basket-item-amount-filed-block {
    width: 50px;
}

.basket-item-amount-filed {
    width: 100%;
    padding: 4px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    background: #fff;
}

.basket-item-amount-filed:focus {
    outline: none;
    border-color: #0066cc;
}

.basket-item-amount-field-description {
    font-size: 12px;
    color: #999;
    min-width: 25px;
}

/* Удаление */
.basket-items-list-item-remove {
    display: flex;
    justify-content: center;
}

.basket-item-block-actions {
    display: flex;
    justify-content: center;
}

.basket-item-actions-remove {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    color: #999;
    font-size: 20px;
    transition: color 0.2s;
}

.basket-item-actions-remove::before {
    content: '×';
}

.basket-item-actions-remove:hover {
    color: #dc3545;
}

.basket-item-actions-remove.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.basket-item-actions-remove.disabled:hover {
    color: #999;
}

/* Поиск не найден */
.basket-search-not-found {
    text-align: center;
    padding: 40px 20px;
    color: #999;
}

.basket-search-not-found-icon {
    font-size: 48px;
    margin-bottom: 15px;
    opacity: 0.5;
}

.basket-search-not-found-text {
    font-size: 16px;
}

/* Адаптивность */
@media (max-width: 992px) {
    .basket-items-list-item-container {
        grid-template-columns: 1fr auto auto 40px;
    }
    
    .basket-items-list-item-remove {
        display: none;
    }
}

@media (max-width: 768px) {
    .container__cols {
        flex-direction: column;
    }
    
    .container__col-small {
        display: none;
    }
    
    .basket-items-list-item-container {
        grid-template-columns: 1fr auto auto;
        gap: 10px;
    }
    
    .basket-items-list-item-price-for-one {
        display: none;
    }
    
    .basket-checkout-section-inner {
        flex-direction: column;
        text-align: center;
    }
    
    .basket-checkout-block {
        width: 100%;
        justify-content: center;
    }
    
    .basket-btn-checkout {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .basket-items-list-item-container {
        grid-template-columns: 1fr auto;
    }
    
    .basket-item-block-image {
        width: 60px;
        height: 60px;
    }
    
    .basket-item-image {
        max-height: 60px;
    }
}

/* Утилиты */
.d-none {
    display: none !important;
}

@media (min-width: 576px) {
    .d-sm-block {
        display: block !important;
    }
}

@media (min-width: 768px) {
    .d-md-block {
        display: block !important;
    }
}

.mb-3 {
    margin-bottom: 1rem;
}

/* Скрытие на мобильных */
@media (max-width: 575px) {
    .d-sm-block {
        display: none !important;
    }
}





.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    border-radius: 20px;
background: #FFF;
box-shadow: 0 5px 15px 2px rgba(189, 189, 189, 0.15);
    padding: 20px;
    z-index: 9999;
    align-items: center;
    border-radius: 8px;
    max-width: 450px;
    border: 1px solid grey;
}
.cookie-banner p {
color: black;
}


.btn-accept {
    margin-top: 20px;
    background: none;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-weight: bold;
    border-radius: 30px;
border: 1px solid var(--Fire-engine-red, #D81920);
background: var(--White, #FFF);
float: right;
}

.text-basket-descr {
    margin-top: 10px;
}

#basket-root .row .col {
    padding: 0;
    border-top: 1px solid #eee;
}


.basket-item-amount-field-description {
display: none;
}

.basket-item-info-name, .basket-item-info-name-link {
font-size: 14px;
line-height: 1.4;
}