.cart-section {
    padding: 40px 0;
}

.cart-header {
    text-align: center;
    margin-bottom: 40px;
}

.cart-header h1 {
    font-size: 36px;
    color: #fff;
    margin-bottom: 15px;
}

.cart-header p {
    color: #888;
    font-size: 16px;
}

.empty-cart {
    text-align: center;
    padding: 80px 20px;
}

.empty-cart h3 {
    font-size: 24px;
    color: #fff;
    margin-bottom: 15px;
}

.empty-cart p {
    color: #888;
    font-size: 16px;
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

.cart-table th,
.cart-table td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid #333;
}

.cart-table th {
    background: #1a1a1d;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cart-table td {
    background: #0f0f12;
}

.cart-table tr:hover td {
    background: #1a1a1d;
}

.cart-table .qty-input {
    width: 70px;
    padding: 8px 10px;
    background: #2a2a2f;
    border: 2px solid #333;
    border-radius: 6px;
    color: #fff;
    text-align: center;
}

.remove-btn {
    padding: 8px 15px;
    background: rgba(239, 68, 68, 0.2);
    border: none;
    border-radius: 6px;
    color: #ef4444;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s;
}

.remove-btn:hover {
    background: #ef4444;
    color: #fff;
}

.cart-summary {
    max-width: 500px;
    margin-left: auto;
    background: #1a1a1d;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #333;
}

.cart-summary-row:last-child {
    border-bottom: none;
}

.cart-summary-row span:first-child {
    color: #888;
    font-size: 15px;
}

.cart-summary-row span:last-child {
    color: #fff;
    font-size: 15px;
}

.cart-summary-total {
    padding-top: 20px;
    margin-top: 10px;
    border-top: 2px solid #4ade80;
}

.cart-summary-total span:first-child {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
}

.cart-summary-total span:last-child {
    font-size: 24px;
    font-weight: 700;
    color: #4ade80;
}

.cart-actions {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    flex-wrap: wrap;
}

.continue-shopping {
    background: #1a1a1d;
    border: 2px solid #333;
    color: #fff;
}

.continue-shopping:hover {
    border-color: #4ade80;
}

.cart-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 50px;
    padding: 40px;
    background: #1a1a1d;
    border-radius: 12px;
}

.feature-item {
    text-align: center;
}

.feature-icon {
    font-size: 36px;
    margin-bottom: 15px;
}

.feature-title {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.feature-desc {
    color: #888;
    font-size: 14px;
}

.promo-section {
    max-width: 500px;
    margin-left: auto;
    margin-bottom: 30px;
}

.promo-input {
    display: flex;
    gap: 10px;
}

.promo-input input {
    flex: 1;
    padding: 12px 15px;
    background: #1a1a1d;
    border: 2px solid #333;
    border-radius: 8px;
    color: #fff;
    font-size: 15px;
}

.promo-input button {
    padding: 12px 25px;
    background: #f97316;
    border: none;
    border-radius: 8px;
    color: #fff;
    font-weight: 600;
    font-size: 15px;
}

.promo-input button:hover {
    background: #ea580c;
}

.shipping-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
    padding: 30px;
    background: #1a1a1d;
    border-radius: 12px;
}

.shipping-card {
    text-align: center;
    padding: 20px;
}

.shipping-card h4 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 10px;
}

.shipping-card p {
    color: #888;
    font-size: 14px;
}

.recommended-products {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid #333;
}

.recommended-products h2 {
    font-size: 28px;
    color: #fff;
    margin-bottom: 30px;
    text-align: center;
}

.recommended-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

@media (max-width: 768px) {
    .cart-header h1 {
        font-size: 28px;
    }
    
    .cart-table th,
    .cart-table td {
        padding: 12px 8px;
        font-size: 13px;
    }
    
    .cart-summary {
        margin-left: 0;
    }
    
    .cart-actions {
        justify-content: center;
    }
    
    .promo-input {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .cart-table {
        display: block;
        overflow-x: auto;
    }
}

/* Text alignment utility classes for cart table */
.cart-table th.text-center,
.cart-table td.text-center {
    text-align: center;
}

.cart-table th.text-right,
.cart-table td.text-right {
    text-align: right;
}

/* Cart item text styles */
.cart-item-name {
    color: #fff;
}

.cart-item-sku {
    color: #888;
}

.cart-item-total {
    text-align: right;
    font-weight: 600;
}
