/* Cart Section */
.cart-section {
    padding: 60px 0;
    background: #f8f9fa;
    min-height: calc(100vh - 80px);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Page Header */
.page-header {
    text-align: center;
    margin-bottom: 40px;
}

.page-header h1 {
    font-size: 42px;
    font-weight: 800;
    color: #222;
    margin-bottom: 10px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
    color: #666;
}

.breadcrumb a {
    color: #ff6b35;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #ff8c42;
    text-decoration: underline;
}

/* Empty Cart */
.empty-cart {
    background: #fff;
    border-radius: 20px;
    padding: 80px 40px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.empty-cart-icon {
    font-size: 100px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-cart h2 {
    font-size: 28px;
    color: #222;
    margin-bottom: 10px;
}

.empty-cart p {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
}

.btn-shop {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    color: #fff;
    padding: 14px 35px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.btn-shop:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

/* Cart Content */
.cart-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 30px;
}

/* Cart Items */
.cart-items {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.cart-header {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.cart-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: #222;
}

/* Cart Item */
.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr 150px 120px;
    gap: 20px;
    align-items: center;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 15px;
    background: #fafafa;
    transition: all 0.3s ease;
}

.cart-item:hover {
    background: #f5f5f5;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

/* Item Image */
.item-image {
    width: 100px;
    height: 100px;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Item Details */
.item-details h3 {
    font-size: 16px;
    font-weight: 600;
    color: #222;
    margin-bottom: 8px;
    line-height: 1.4;
}

.item-price {
    font-size: 18px;
    font-weight: 700;
    color: #ff6b35;
    margin-bottom: 10px;
}

.remove-btn {
    background: none;
    border: none;
    color: #dc3545;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 0;
    transition: all 0.3s ease;
}

.remove-btn:hover {
    color: #c82333;
    text-decoration: underline;
}

/* Quantity Control */
.item-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 5px;
}

.qty-btn {
    background: #f5f5f5;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    color: #666;
    transition: all 0.3s ease;
}

.qty-btn:hover {
    background: #ff6b35;
    color: #fff;
}

.item-quantity input {
    width: 50px;
    text-align: center;
    border: none;
    font-size: 16px;
    font-weight: 600;
    color: #222;
}

/* Item Total */
.item-total p {
    font-size: 20px;
    font-weight: 700;
    color: #222;
    text-align: right;
}

/* Continue Shopping */
.continue-shopping {
    padding-top: 20px;
    margin-top: 20px;
    border-top: 2px solid #f0f0f0;
}

.btn-continue {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ff6b35;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
}

.btn-continue:hover {
    gap: 12px;
    color: #ff8c42;
}

/* Cart Summary */
.cart-summary {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    position: sticky;
    top: 100px;
    height: fit-content;
}

.cart-summary h2 {
    font-size: 22px;
    font-weight: 700;
    color: #222;
    margin-bottom: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    font-size: 15px;
    color: #666;
}

.summary-row span:last-child {
    font-weight: 600;
    color: #222;
}

.free-shipping {
    color: #28a745 !important;
    font-weight: 700 !important;
}

/* Shipping Notice */
.shipping-notice {
    background: linear-gradient(135deg, #fff3e0, #ffe0b2);
    border-left: 4px solid #ff9800;
    padding: 12px 15px;
    margin: 15px 0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #f57c00;
    font-weight: 600;
}

.summary-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, #e0e0e0, transparent);
    margin: 15px 0;
}

.total-row {
    font-size: 18px !important;
    padding: 15px 0 !important;
}

.total-row span {
    font-weight: 700 !important;
    color: #222 !important;
}

.total-row span:last-child {
    font-size: 24px;
    color: #ff6b35 !important;
}

/* Promo Code */
.promo-code {
    margin: 20px 0;
    display: flex;
    gap: 10px;
}

.promo-code input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.promo-code input:focus {
    outline: none;
    border-color: #ff6b35;
}

.promo-code button {
    background: #f5f5f5;
    border: 2px solid #e0e0e0;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.promo-code button:hover {
    background: #ff6b35;
    border-color: #ff6b35;
    color: #fff;
}

/* Checkout Button */
.btn-checkout {
    width: 100%;
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    color: #fff;
    border: none;
    padding: 16px 30px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    transition: all 0.3s ease;
    margin-top: 15px;
}

.btn-checkout:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

/* Payment Methods */
.payment-methods {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
    text-align: center;
}

.payment-methods p {
    font-size: 13px;
    color: #666;
    margin-bottom: 10px;
}

.payment-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    font-size: 24px;
}

/* Security Badge */
.security-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
    padding: 12px;
    background: #e8f5e9;
    border-radius: 8px;
    color: #2e7d32;
    font-size: 13px;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 1024px) {
    .cart-content {
        grid-template-columns: 1fr;
    }
    
    .cart-summary {
        position: static;
    }
}

@media (max-width: 768px) {
    .page-header h1 {
        font-size: 32px;
    }
    
    .cart-item {
        grid-template-columns: 80px 1fr;
        gap: 15px;
    }
    
    .item-quantity,
    .item-total {
        grid-column: 2;
    }
    
    .item-quantity {
        margin-top: 10px;
    }
    
    .item-total {
        text-align: left;
        margin-top: 10px;
    }
}

@media (max-width: 480px) {
    .cart-section {
        padding: 30px 0;
    }
    
    .cart-items,
    .cart-summary {
        padding: 20px;
    }
    
    .item-image {
        width: 70px;
        height: 70px;
    }
    
    .item-details h3 {
        font-size: 14px;
    }
}
