/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/
/* Modern WooCommerce Cart Styles */
.modern-cart-container {
    max-width: 1400px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(3, 52, 82, 0.15);
    overflow: hidden;
}

.modern-cart-header {
    background: linear-gradient(135deg, #033452 0%, #15B5CD 100%);
    color: white;
    padding: 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.modern-cart-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.modern-cart-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
}

.modern-cart-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    position: relative;
    z-index: 2;
}

.modern-main-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    padding: 40px;
}

.modern-cart-items {
    background: #fafbfc;
    border-radius: 15px;
    padding: 30px;
    border: 1px solid #e8ecef;
}

.modern-item-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid #e8ecef;
    transition: all 0.3s ease;
}

.modern-item-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.modern-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.modern-item-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: #033452;
}

.modern-remove-btn {
    background: #ff6b6b;
    color: white;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.modern-remove-btn:hover {
    background: #ff5252;
    transform: scale(1.1);
}

.modern-item-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.modern-detail-item {
    text-align: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #e9ecef;
}

.modern-detail-label {
    font-size: 0.9rem;
    color: #434549;
    margin-bottom: 5px;
    font-weight: 500;
}

.modern-detail-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: #033452;
}

.modern-price-highlight {
    color: #15B5CD !important;
    font-size: 1.3rem !important;
}

.modern-quantity-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.modern-qty-input {
    width: 80px;
    text-align: center;
    padding: 8px;
    border: 2px solid #e1e8ed;
    border-radius: 6px;
    font-weight: 600;
}

.modern-cart-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: white;
    border-radius: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.modern-coupon {
    display: flex;
    gap: 10px;
    align-items: center;
}

.modern-coupon-input {
    padding: 10px;
    border: 2px solid #e1e8ed;
    border-radius: 6px;
    min-width: 150px;
}

.modern-coupon-btn,
.modern-update-btn {
    background: linear-gradient(135deg, #15B5CD 0%, #027dca 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modern-coupon-btn:hover,
.modern-update-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(21, 181, 205, 0.3);
}

.modern-order-summary {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border: 1px solid #e8ecef;
    position: sticky;
    top: 20px;
    height: fit-content;
}

/* Override WooCommerce cart totals styling */
.modern-order-summary .cart_totals h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #033452;
    margin-bottom: 25px;
    text-align: center;
}

.modern-order-summary .shop_table tr {
    border-bottom: 1px solid #e9ecef;
}

.modern-order-summary .shop_table th {
    color: #434549;
    font-weight: 500;
    padding: 15px 0;
}

.modern-order-summary .shop_table td {
    font-weight: 600;
    color: #033452;
    padding: 15px 0;
}

.modern-order-summary .order-total th,
.modern-order-summary .order-total td {
    font-size: 1.2rem;
    font-weight: 700;
    color: #033452;
    padding-top: 20px;
    margin-top: 10px;
    border-top: 2px solid #15B5CD;
}

.modern-order-summary .checkout-button {
    width: 100%;
    background: linear-gradient(135deg, #15B5CD 0%, #027dca 100%) !important;
    color: white !important;
    border: none;
    padding: 18px;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    margin-top: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(21, 181, 205, 0.3);
    text-decoration: none;
    display: block;
    text-align: center;
}

.modern-order-summary .checkout-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(21, 181, 205, 0.4);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .modern-main-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .modern-order-summary {
        position: static;
    }
}

@media (max-width: 768px) {
    .modern-cart-header h1 {
        font-size: 2rem;
    }
    
    .modern-main-content {
        padding: 20px;
    }
    
    .modern-item-details {
        grid-template-columns: 1fr 1fr;
    }
    
    .modern-cart-actions {
        flex-direction: column