.content .container {
    padding: 10px 40px !important;
}

/* ============================================
   CART PAGE - Enhanced Design
   ============================================ */

/* Cart Page Header */
.cart-page-header {
    text-align: center;
    padding: 40px 20px 30px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 20px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.cart-page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.cart-page-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-bg, #1a1a2e) 0%, var(--header-bg, #16213e) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    position: relative;
}

.cart-page-icon::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px dashed rgba(102, 126, 234, 0.3);
    animation: cartIconRotate 20s linear infinite;
}

@keyframes cartIconRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.cart-page-icon i {
    font-size: 32px;
    color: #fff;
}

.cart-page-title {
    font-size: 28px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 10px;
    position: relative;
}

.cart-page-subtitle {
    font-size: 16px;
    color: #64748b;
    margin: 0;
    position: relative;
}

.cart-count {
    color: var(--primary-bg, #1a1a2e);
    font-weight: 700;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    padding: 4px 12px;
    border-radius: 20px;
}

/* Cart Items Section */
.cart-items-section {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    margin-bottom: 30px;
    overflow: hidden;
}

.cart-items-header {
    padding: 20px 24px;
    background: linear-gradient(135deg, var(--primary-bg, #1a1a2e) 0%, var(--header-bg, #16213e) 100%);
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cart-items-header h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-items-list {
    padding: 20px;
}

.cart-item-card {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.cart-item-card:last-child {
    margin-bottom: 0;
}

.cart-item-card:hover {
    border-color: var(--primary-bg, #667eea);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
    transform: translateY(-2px);
}

.cart-item-image-wrapper {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-item-image-link {
    display: block;
    width: 100%;
    height: 100%;
}

.cart-item-image-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 32px;
}

.cart-item-voucher-icon {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #d97706;
    font-size: 40px;
}

.cart-item-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cart-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
}

.cart-item-name {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
    flex: 1;
}

.cart-item-name a {
    color: #1e293b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.cart-item-name a:hover {
    color: var(--primary-bg, #667eea);
}

.btn-remove-item {
    width: 32px;
    height: 32px;
    border: none;
    background: #fee2e2;
    color: #dc2626;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.btn-remove-item:hover {
    background: #dc2626;
    color: #fff;
    transform: scale(1.1);
}

.cart-item-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cart-item-option {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 13px;
}

.option-name {
    color: #64748b;
    font-weight: 500;
}

.option-value {
    color: #374151;
    font-weight: 600;
}

.cart-item-recurring {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #e0e7ff;
    color: #4338ca;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
}

.cart-item-footer {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    padding-top: 12px;
    border-top: 1px solid #e2e8f0;
}

.cart-item-quantity-wrapper,
.cart-item-price-wrapper,
.cart-item-total-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.quantity-label,
.price-label,
.total-label {
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
}

.quantity-control {
    display: flex;
    align-items: center;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

.qty-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: #f8fafc;
    color: #64748b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.qty-btn:hover {
    background: var(--primary-bg, #667eea);
    color: #fff;
}

.qty-input {
    width: 60px;
    height: 36px;
    border: none;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    background: transparent;
}

.cart-item-price {
    font-size: 16px;
    font-weight: 600;
    color: #64748b;
}

.cart-item-total {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-bg, #1a1a2e);
}

/* Cart Actions Section */
.cart-actions-section {
    margin-bottom: 30px;
}

.cart-actions-left {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-continue-shopping,
.btn-update-cart {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-continue-shopping {
    background: #fff;
    color: #374151;
    border: 2px solid #e2e8f0;
}

.btn-continue-shopping:hover {
    border-color: var(--primary-bg, #667eea);
    color: var(--primary-bg, #667eea);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.btn-update-cart {
    background: #f8fafc;
    color: #374151;
    border: 2px solid #e2e8f0;
}

.btn-update-cart:hover {
    background: #e2e8f0;
    transform: translateY(-2px);
}

/* Cart Summary Section */
.cart-summary-section {
    margin-bottom: 30px;
}

.cart-summary-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

.cart-summary-header {
    padding: 20px 24px;
    background: linear-gradient(135deg, var(--primary-bg, #1a1a2e) 0%, var(--header-bg, #16213e) 100%);
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cart-summary-header h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-summary-body {
    padding: 24px;
}

.cart-totals {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f1f5f9;
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
    color: #64748b;
}

.cart-total-label {
    font-weight: 500;
}

.cart-total-value {
    font-weight: 600;
    color: #374151;
}

.cart-total-final {
    padding-top: 16px;
    margin-top: 8px;
    border-top: 2px dashed #e2e8f0;
    font-size: 18px;
}

.cart-total-final .cart-total-label {
    font-weight: 700;
    color: #1e293b;
    font-size: 18px;
}

.cart-total-final .cart-total-value {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-bg, #1a1a2e);
}

.cart-summary-actions {
    margin-top: 20px;
}

.btn-checkout {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--primary-bg, #1a1a2e) 0%, var(--header-bg, #16213e) 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-checkout:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    color: #fff;
}

/* Empty Cart State */
.cart-empty-state {
    text-align: center;
    padding: 60px 30px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 24px;
    margin: 30px 0;
}

.cart-empty-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.cart-empty-icon i {
    font-size: 48px;
    color: var(--primary-bg, #667eea);
}

.cart-empty-title {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
}

.cart-empty-message {
    font-size: 16px;
    color: #64748b;
    margin-bottom: 30px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.btn-start-shopping {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    background: linear-gradient(135deg, var(--primary-bg, #1a1a2e) 0%, var(--header-bg, #16213e) 100%);
    color: #fff;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-start-shopping:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    color: #fff;
}

/* Responsive Cart Page */
@media (max-width: 768px) {
    .cart-page-header {
        padding: 30px 16px 24px;
        margin-bottom: 20px;
    }
    
    .cart-page-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 16px;
    }
    
    .cart-page-icon i {
        font-size: 24px;
    }
    
    .cart-page-title {
        font-size: 22px;
    }
    
    .cart-page-subtitle {
        font-size: 14px;
    }

    .cart-items-list {
        padding: 16px;
    }

    .cart-item-card {
        flex-direction: column;
        padding: 16px;
    }

    .cart-item-image-wrapper {
        width: 100%;
        height: 200px;
    }

    .cart-item-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .cart-item-quantity-wrapper,
    .cart-item-price-wrapper,
    .cart-item-total-wrapper {
        justify-content: space-between;
    }

    .cart-actions-left {
        flex-direction: column;
    }

    .btn-continue-shopping,
    .btn-update-cart {
        width: 100%;
        justify-content: center;
    }

    .cart-summary-body {
        padding: 20px;
    }

    .cart-empty-state {
        padding: 40px 20px;
    }
    
    .cart-empty-icon {
        width: 100px;
        height: 100px;
        margin-bottom: 24px;
    }
    
    .cart-empty-icon i {
        font-size: 40px;
    }
    
    .cart-empty-title {
        font-size: 20px;
    }
    
    .cart-empty-message {
        font-size: 14px;
    }
}
