
/* Основные стили */
:root {
    --boost-blue: #0033a0;
    --boost-orange: #ff6d00;
    --boost-light-blue: #005eb8;
    --text-light: #f8f9fa;
    --text-dark: #333;
    --bg-light: #f8f9fa;
    --bg-gray: #e9ecef;
    --promo-green: #00c389;
    --promo-purple: #8a2be2;
}

/* Стили корзины */
.cart-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 1rem;
}

.cart-header {
    text-align: center;
    margin-bottom: 2rem;
}

.cart-header h1 {
    color: var(--boost-blue);
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.cart-header h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--boost-orange);
}

.cart-content {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

.cart-items {
    margin-bottom: 2rem;
}

.cart-item {
    display: flex;
    align-items: center;
    padding: 1.5rem 0;
    border-bottom: 1px solid #eee;
}

.cart-item-image {
    width: 120px;
    height: 120px;
    background: var(--bg-gray);
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 1.5rem;
    overflow: hidden;
}

.cart-item-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.cart-item-image i {
    font-size: 2rem;
    color: #666;
}

.cart-item-details {
    flex-grow: 1;
}

.cart-item-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--boost-blue);
    margin-bottom: 0.5rem;
}

.cart-item-price {
    font-weight: 600;
    color: var(--boost-orange);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.cart-item-total {
    font-weight: 700;
    color: #555;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

.quantity-control {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}

.quantity-btn {
    width: 35px;
    height: 35px;
    background: #f9f9f9;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.3s;
}

.quantity-btn:hover {
    background: #eee;
}

.quantity-input {
    width: 50px;
    height: 35px;
    text-align: center;
    border: none;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
}

.remove-btn {
    background: none;
    border: none;
    color: #ff4d4f;
    cursor: pointer;
    font-size: 1rem;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.remove-btn:hover {
    color: #f5222d;
}

.cart-summary {
    background: var(--bg-gray);
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 2rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.summary-total {
    font-weight: 700;
    font-size: 1.3rem;
    padding-top: 1rem;
    border-top: 1px solid #ddd;
}

.cart-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    gap: 1rem;
}

.btn-continue {
    background: var(--boost-blue);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    text-align: center;
}

.btn-checkout {
    background: var(--promo-green);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-checkout:hover {
    background-color: #00a573;
}

.btn-checkout:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

.empty-cart {
    text-align: center;
    padding: 3rem;
}

.empty-cart i {
    font-size: 3rem;
    color: var(--boost-blue);
    margin-bottom: 1rem;
}

/* Cart count in header */
.cart-icon {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--boost-orange);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

