

/* Start:/bitrix/templates/eshop_bootstrap_v4/components/bitrix/sale.basket.basket/.default/style.css?17744699297092*/
/* =========================================
   СОВРЕМЕННАЯ КОРЗИНА - ФИНАЛЬНАЯ ВЕРСИЯ
   ========================================= */

/* Главная сетка корзины */
.insales-cart-page .insales-cart-layout {
    display: grid !important;
    grid-template-columns: 1fr 360px !important;
    gap: 30px !important;
    align-items: start;
    font-family: 'Manrope', sans-serif !important;
    margin-top: 20px;
    width: 100% !important;
}
@media (max-width: 991px) {
    .insales-cart-page .insales-cart-layout { grid-template-columns: 1fr !important; gap: 20px !important; }
}

/* Скрываем старый мусор Битрикса */
.insales-cart-page .basket-items-list-header, .insales-cart-page .basket-items-list-item-descriptions > div { display: none !important; }
.insales-cart-page .basket-items-list-wrapper { background: transparent !important; border: none !important; }

/* === НОВАЯ КАРТОЧКА ТОВАРА === */
.insales-cart-page .cart-item-card {
    display: grid !important;
    grid-template-columns: 120px 1fr 140px 120px 120px 50px; /* Иконка, Имя, Счетчик, Цена, Итого, Удалить */
    align-items: center !important;
    gap: 20px !important;
    background: #ffffff !important; 
    border-radius: 12px !important; 
    box-shadow: 0 8px 25px rgba(17,73,123,0.05) !important;
    margin-bottom: 20px !important; 
    border: 1px solid #f1f4f8 !important; 
    padding: 20px !important;
    transition: box-shadow 0.3s ease, transform 0.3s ease !important;
}
.insales-cart-page .cart-item-card:hover { 
    box-shadow: 0 12px 30px rgba(17,73,123,0.1) !important;
    transform: translateY(-2px);
}
@media (max-width: 767px) {
    .insales-cart-page .cart-item-card {
        grid-template-columns: 80px 1fr !important;
        grid-template-areas: "image info" "counter counter" "price sum" "delete delete";
        padding: 15px;
    }
    .insales-cart-page .cart-item-image { grid-area: image; }
    .insales-cart-page .cart-item-info { grid-area: info; }
    .insales-cart-page .cart-item-counter { grid-area: counter; justify-self: start; margin-top: 15px; }
    .insales-cart-page .cart-item-price { grid-area: price; text-align: left; }
    .insales-cart-page .cart-item-sum-price { grid-area: sum; text-align: right; }
    .insales-cart-page .cart-item-actions { grid-area: delete; position: absolute !important; top: 10px; right: 10px; }
}

/* 1. Картинка */
.insales-cart-page .cart-item-image {
    width: 120px; height: 120px;
    background: #f8f9fa; border-radius: 8px;
    padding: 10px; text-decoration: none; display: block;
}
.insales-cart-page .cart-item-image img { width: 100%; height: 100%; object-fit: contain; }

/* 2. Название */
.insales-cart-page .cart-item-info__name {
    color: #11497b !important; font-size: 16px !important; font-weight: 600 !important; 
    text-decoration: none !important; line-height: 1.4;
}
.insales-cart-page .cart-item-info__props { font-size: 12px; color: #999; margin-top: 5px; }

/* 3. Счетчик */
.insales-cart-page .cart-item-counter { display: flex; align-items: center; }
.insales-cart-page .cart-item-counter__btn {
    width: 38px; height: 38px;
    background: #f7f8fa; border: 1px solid #eeeeee; border-radius: 6px;
    color: #11497b; font-size: 18px; font-weight: 500;
    cursor: pointer; transition: 0.2s;
    user-select: none;
}
.insales-cart-page .cart-item-counter__btn:hover { background: #11497b; color: #fff; }
.insales-cart-page .cart-item-counter__input {
    width: 50px; height: 38px; border: none; background: transparent;
    text-align: center; font-weight: 600; font-size: 16px; color: #000;
}

/* 4, 5. Цены */
.insales-cart-page .cart-item-price { text-align: center; }
.insales-cart-page .cart-item-price__current { font-size: 15px; color: #666; }
.insales-cart-page .cart-item-price__old { font-size: 12px; color: #999; text-decoration: line-through; }
.insales-cart-page .cart-item-sum-price { font-size: 20px; font-weight: 700; color: #000; text-align: right; }

/* 6. Удаление */
.insales-cart-page .cart-item-actions__btn-delete {
    width: 38px; height: 38px; background: transparent; border: none;
    border-radius: 6px; display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: 0.2s;
}
.insales-cart-page .cart-item-actions__btn-delete svg { fill: #ccc; width: 16px; transition: 0.2s; }
.insales-cart-page .cart-item-actions__btn-delete:hover { background: #fff0f0; }
.insales-cart-page .cart-item-actions__btn-delete:hover svg { fill: #f8353e; }


/* === ПРАВАЯ КОЛОНКА (ИТОГО) === */
.insales-cart-page .basket-checkout-container {
    background: #fcfdfe !important; border-radius: 12px !important; padding: 30px !important;
    border: 1px solid #f1f4f8 !important; box-shadow: 0 10px 30px rgba(0,0,0,0.03) !important;
    position: sticky !important; top: 20px;
}
.insales-cart-page .basket-checkout-block-total-inner { width: 100%; display: flex; justify-content: space-between; align-items: center; }
.insales-cart-page .basket-checkout-block-total-title { color: #666 !important; font-size: 16px !important; font-weight: 500 !important; }
.insales-cart-page .basket-coupon-block-total-price-current { font-size: 24px !important; font-weight: 700 !important; color: #000 !important; }
.insales-cart-page .basket-btn-checkout { background: #11497b !important; color: #ffffff !important; border: none !important; border-radius: 6px !important; height: 50px !important; font-size: 16px !important; font-weight: 600 !important; width: 100% !important; transition: 0.2s !important; display: flex !important; align-items: center !important; justify-content: center !important; margin: 0 !important; }

/* === КНОПКА ЗАКАЗ В 1 КЛИК (ИСПРАВЛЕННАЯ ИКОНКА) === */
.insales-cart-page .basket-btn-one-click { 
    display: flex !important; 
    align-items: center !important; 
    justify-content: center !important; 
    gap: 10px !important; 
    background: transparent !important; 
    color: #11497b !important; 
    border: 2px solid #11497b !important; 
    border-radius: 6px !important; 
    height: 50px !important; 
    font-size: 15px !important; 
    font-weight: 600 !important; 
    width: 100% !important; 
    margin-top: 15px !important; 
    transition: 0.2s !important; 
    cursor: pointer; 
}
.insales-cart-page .basket-btn-one-click:hover { background: #11497b !important; color: #fff !important; }

/* ФИКС ДЛЯ ИКОНКИ SVG ВНУТРИ КНОПКИ */
.insales-cart-page .basket-btn-one-click svg {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    flex-shrink: 0 !important;
    fill: currentColor !important;
    display: block !important;
}

.insales-cart-page .basket-coupon-section { margin-bottom: 20px !important; }
.insales-cart-page .basket-coupon-block-field input { border: 1px solid #ddd !important; border-radius: 5px !important; height: 45px !important; }
/* End */
/* /bitrix/templates/eshop_bootstrap_v4/components/bitrix/sale.basket.basket/.default/style.css?17744699297092 */
