/* Modern Cart Page Styles */
:root {
    --rogs-primary: #004080;
    --rogs-accent: #0056b3;
    --rogs-secondary: #999999;
    --rogs-light: #f5f7fa;
    --rogs-white: rgba(255, 255, 255, 0.95);
    --rogs-success: #28a745;
    --rogs-warning: #ffc107;
    --rogs-danger: #dc3545;
}

/* Modern Cart Section */
.modern-cart-section {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.modern-cart-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="cart-dots" width="60" height="60" patternUnits="userSpaceOnUse"><circle cx="30" cy="30" r="1" fill="%23004080" opacity="0.02"/></pattern></defs><rect width="100" height="100" fill="url(%23cart-dots)"/></svg>');
    pointer-events: none;
    z-index: 0;
}

.modern-cart-section .container {
    position: relative;
    z-index: 1;
}

/* Section Header */
.section-header {
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--rogs-primary) 0%, var(--rogs-accent) 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 64, 128, 0.2);
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--rogs-primary);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--rogs-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Empty Cart */
.empty-cart-wrapper {
    background: var(--rogs-white);
    border-radius: 24px;
    padding: 4rem 2rem;
    box-shadow: 0 20px 60px rgba(0, 64, 128, 0.1);
    border: 1px solid rgba(0, 64, 128, 0.05);
    backdrop-filter: blur(10px);
    text-align: center;
}

.empty-cart-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--rogs-primary) 0%, var(--rogs-accent) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    color: white;
    font-size: 3rem;
    box-shadow: 0 10px 30px rgba(0, 64, 128, 0.2);
}

.empty-cart-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--rogs-primary);
    margin-bottom: 1rem;
}

.empty-cart-description {
    font-size: 1.1rem;
    color: var(--rogs-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.empty-cart-actions .btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 25px;
}

/* Cart Items Wrapper */
.cart-items-wrapper {
    background: var(--rogs-white);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(0, 64, 128, 0.1);
    border: 1px solid rgba(0, 64, 128, 0.05);
    backdrop-filter: blur(10px);
}

/* Cart Item Card */
.cart-item-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    border: 1px solid rgba(0, 64, 128, 0.05);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.cart-item-card:hover {
    background: white;
    border-color: rgba(0, 64, 128, 0.1);
    box-shadow: 0 8px 25px rgba(0, 64, 128, 0.1);
    transform: translateY(-2px);
}

.cart-item-card:last-child {
    margin-bottom: 0;
}

/* Cart Item Image */
.cart-item-image {
    width: 120px;
    height: 120px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid rgba(0, 64, 128, 0.1);
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.cart-item-card:hover .cart-item-image img {
    transform: scale(1.05);
}

/* Cart Item Content */
.cart-item-content {
    flex: 1;
    min-width: 0;
}

.cart-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.cart-item-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
}

.cart-item-title a {
    color: var(--rogs-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.cart-item-title a:hover {
    color: var(--rogs-accent);
}

.cart-item-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--rogs-accent);
    background: rgba(0, 86, 179, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    white-space: nowrap;
}

/* Cart Item Actions */
.cart-item-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.quantity-label {
    font-weight: 600;
    color: var(--rogs-primary);
    white-space: nowrap;
}

.quantity-input-group {
    display: flex;
    align-items: center;
    border: 2px solid rgba(0, 64, 128, 0.1);
    border-radius: 12px;
    overflow: hidden;
    background: white;
}

.quantity-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(0, 64, 128, 0.05);
    color: var(--rogs-primary);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-btn:hover {
    background: var(--rogs-primary);
    color: white;
}

.quantity-btn:active {
    transform: scale(0.95);
}

.quantity-input {
    width: 60px;
    height: 40px;
    border: none;
    text-align: center;
    font-weight: 600;
    color: var(--rogs-primary);
    background: white;
}

.quantity-input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.1);
}

/* Cart Item Total */
.cart-item-total {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.total-label {
    font-size: 0.9rem;
    color: var(--rogs-secondary);
    font-weight: 500;
}

.total-amount {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--rogs-primary);
}

/* Cart Item Actions Right */
.cart-item-actions-right {
    flex-shrink: 0;
}

.btn-remove-item {
    width: 45px;
    height: 45px;
    border: none;
    background: rgba(220, 53, 69, 0.1);
    color: var(--rogs-danger);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-remove-item:hover {
    background: var(--rogs-danger);
    color: white;
    transform: scale(1.1);
}

/* Cart Actions Bottom */
.cart-actions-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 64, 128, 0.1);
    margin-top: 2rem;
}

.cart-actions-bottom .btn {
    padding: 0.875rem 2rem;
    border-radius: 20px;
    font-weight: 600;
}

/* Cart Summary Wrapper */
.cart-summary-wrapper {
    background: var(--rogs-white);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 20px 60px rgba(0, 64, 128, 0.1);
    border: 1px solid rgba(0, 64, 128, 0.05);
    backdrop-filter: blur(10px);
    height: fit-content;
    position: sticky;
    top: 2rem;
}

.cart-summary-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid rgba(0, 64, 128, 0.1);
}

.summary-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--rogs-primary);
    margin: 0;
}

/* Cart Summary Content */
.cart-summary-content {
    margin-bottom: 2rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 64, 128, 0.05);
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-label {
    font-weight: 600;
    color: var(--rogs-primary);
}

.summary-value {
    font-weight: 700;
    color: var(--rogs-accent);
}

.summary-total {
    padding-top: 1.5rem;
    border-top: 2px solid rgba(0, 64, 128, 0.1);
    margin-top: 1rem;
}

.summary-total .summary-label {
    font-size: 1.2rem;
}

.summary-total .summary-value {
    font-size: 1.5rem;
    color: var(--rogs-primary);
}

.summary-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(0, 64, 128, 0.1) 50%, transparent 100%);
    margin: 1rem 0;
}

/* Cart Summary Actions */
.cart-summary-actions {
    margin-bottom: 2rem;
}

.btn-checkout {
    width: 100%;
    padding: 1.25rem 2rem;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--rogs-primary) 0%, var(--rogs-accent) 100%);
    border: none;
    box-shadow: 0 8px 25px rgba(0, 64, 128, 0.3);
    transition: all 0.3s ease;
}

.btn-checkout:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 64, 128, 0.4);
    color: white;
}

.checkout-note {
    text-align: center;
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(0, 64, 128, 0.05);
    border-radius: 12px;
    font-size: 0.9rem;
    color: var(--rogs-secondary);
}

/* Cart Benefits */
.cart-benefits {
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 64, 128, 0.1);
}

.cart-benefits h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--rogs-primary);
    margin-bottom: 1rem;
    text-align: center;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    color: var(--rogs-secondary);
    font-size: 0.9rem;
}

.benefits-list li i {
    color: var(--rogs-success);
    font-size: 1rem;
    width: 16px;
}

/* Responsive Design */
@media (max-width: 991px) {
    .modern-cart-section {
        padding: 80px 0 60px;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .cart-summary-wrapper {
        position: static;
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .cart-item-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .cart-item-image {
        width: 100px;
        height: 100px;
    }
    
    .cart-item-actions {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .quantity-controls {
        justify-content: center;
    }
    
    .cart-item-total {
        align-items: center;
    }
    
    .cart-actions-bottom {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .cart-actions-bottom .btn {
        width: 100%;
    }
    
    .empty-cart-wrapper {
        padding: 2rem 1rem;
    }
    
    .empty-cart-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .cart-items-wrapper,
    .cart-summary-wrapper {
        padding: 1.5rem;
    }
    
    .cart-item-card {
        padding: 1.5rem;
    }
    
    .quantity-input-group {
        flex-direction: column;
        width: 100px;
    }
    
    .quantity-btn {
        width: 100%;
        height: 35px;
    }
    
    .quantity-input {
        width: 100%;
        height: 35px;
    }
} 