/* Ultra-Modern eSIM Theme Styles */
:root {
    --primary-green: #0CE06B;
    --dark-bg: #000000;
    --light-text: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow-glow: 0 0 30px rgba(12, 224, 107, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--dark-bg);
    color: var(--light-text);
    line-height: 1.6;
    /* Removed overflow-x: hidden to prevent double scrollbar */
}

/* Top Bar - Ultra Minimal */
.top-bar {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 0;
    font-size: 13px;
    position: relative;
    z-index: 1000;
}

.top-bar .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.top-bar .row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.support-text {
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 8px;
}

.support-text i {
    color: var(--primary-green);
    font-size: 14px;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.language-switcher select,
.currency-switcher select {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
}

.account-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s ease;
}

.account-link:hover {
    color: var(--primary-green);
}

/* Main Header - Glass Morphism */
.site-header {
    position: fixed;
    top: 41px;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(30px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 999;
    transition: all 0.3s ease;
    padding: 0;
}

.site-header.scrolled {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(40px);
    box-shadow: var(--shadow-glow);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Logo */
.site-branding {
    display: flex;
    align-items: center;
}

.site-title {
    margin: 0;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.site-title a {
    color: var(--light-text);
    text-decoration: none;
    background: linear-gradient(135deg, var(--primary-green), #00ff88);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.site-title a:hover {
    filter: brightness(1.2);
    text-shadow: 0 0 20px rgba(12, 224, 107, 0.5);
}

/* Navigation */
.main-navigation {
    display: flex;
    align-items: center;
}

.primary-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 40px;
}

.primary-menu li {
    position: relative;
}

.primary-menu a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    padding: 10px 0;
    position: relative;
    transition: all 0.3s ease;
}

.primary-menu a:hover,
.primary-menu .current-menu-item a {
    color: var(--primary-green);
}

.primary-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-green), #00ff88);
    transition: width 0.3s ease;
}

.primary-menu a:hover::after,
.primary-menu .current-menu-item a::after {
    width: 100%;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-toggle,
.cart-link {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--light-text);
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
}

.search-toggle:hover,
.cart-link:hover {
    background: rgba(12, 224, 107, 0.2);
    border-color: var(--primary-green);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(12, 224, 107, 0.3);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--primary-green);
    color: black;
    font-size: 11px;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
    padding: 10px;
}

.hamburger-line {
    width: 25px;
    height: 2px;
    background: var(--light-text);
    transition: all 0.3s ease;
}

.menu-toggle:hover .hamburger-line {
    background: var(--primary-green);
}

/* Search Form */
.header-search {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(30px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.3s ease;
}

.header-search.active {
    transform: translateY(0);
    opacity: 1;
}

.search-form-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-form-wrapper input {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 15px 20px;
    border-radius: 12px;
    font-size: 16px;
    outline: none;
}

.search-form-wrapper input:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(12, 224, 107, 0.2);
}

.search-close {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-close:hover {
    background: rgba(255, 0, 0, 0.2);
    border-color: #ff4757;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .primary-menu {
        gap: 25px;
    }
    
    .header-content {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }
    
    .site-header {
        top: 0;
    }
    
    .main-navigation .primary-menu {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .site-title {
        font-size: 24px;
    }
    
    .header-actions {
        gap: 15px;
    }
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(30px);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-close {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 12px;
    cursor: pointer;
}

.mobile-navigation {
    flex: 1;
    padding: 30px 0;
}

.mobile-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-menu li {
    margin-bottom: 20px;
}

.mobile-menu a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    display: block;
    padding: 15px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: color 0.3s ease;
}

.mobile-menu a:hover {
    color: var(--primary-green);
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--primary-green), #00ff88);
    color: black;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(12, 224, 107, 0.4);
}

/* Body padding for fixed header */
body {
    padding-top: 120px;
}

@media (max-width: 768px) {
    body {
        padding-top: 80px;
    }
}

/*--------------------------------------------------------------
# WooCommerce - Modern Cart Page
--------------------------------------------------------------*/
.woocommerce-cart .modern-cart-container {
    display: flex;
    gap: 40px;
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 20px;
}

.woocommerce-cart .cart-main {
    flex: 2;
}

.woocommerce-cart .cart-sidebar {
    flex: 1;
    position: sticky;
    top: 140px; /* Adjust based on fixed header height */
    align-self: flex-start;
}

.woocommerce-cart .cart-tit {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 30px;
    background: linear-gradient(135deg, var(--primary-green), #00ff88);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.woocommerce-cart .cart-tit.flag-emoji {
    font-size: 3em;
    line-height: 1;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 80% !important;
    height: 80% !important;
    border-radius: 50% !important;
    overflow: hidden !important;
}

/* Cart Items */
.modern-cart-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.modern-cart-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 20px;
    border-radius: 15px;
    transition: all 0.3s ease;
    position: relative;
}

.modern-cart-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
    border-color: var(--primary-green);
}

.modern-cart-item .product-thumbnail img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
}

.modern-cart-item .product-details {
    flex-grow: 1;
}

.modern-cart-item .product-name a {
    color: var(--light-text);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.modern-cart-item .product-name a:hover {
    color: var(--primary-green);
}

.modern-cart-item .product-price {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 5px;
}

/* Quantity Input */
.modern-cart-item .quantity .qty {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--glass-border);
    color: var(--light-text);
    width: 60px;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    font-size: 1rem;
}

.modern-cart-item .product-subtotal {
    font-size: 1.1rem;
    font-weight: 600;
    width: 100px;
    text-align: right;
}

.modern-cart-item .product-remove .remove {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.modern-cart-item .product-remove .remove:hover {
    color: #ff4757;
    transform: scale(1.2);
}

/* Cart Actions (Coupon/Update) */
.modern-cart-actions {
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--glass-bg);
    padding: 20px;
    border-radius: 15px;
}

.modern-cart-actions .coupon {
    display: flex;
    gap: 10px;
}

.modern-cart-actions .coupon .input-text {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--glass-border);
    color: white;
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 1rem;
}

.modern-cart-actions .button {
    background: linear-gradient(135deg, var(--primary-green), #00ff88);
    color: black;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    padding: 12px 24px;
}

.modern-cart-actions .button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(12, 224, 107, 0.4);
}

/* Cart Totals Sidebar */
.cart-collaterals .cart_totals {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 30px;
    border-radius: 15px;
}

.cart-collaterals .cart_totals h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-green);
}

.cart-collaterals .shop_table {
    width: 100%;
    border: none;
}

.cart-collaterals .shop_table th,
.cart-collaterals .shop_table td {
    padding: 15px 0;
    border-bottom: 1px solid var(--glass-border);
}

.cart-collaterals .shop_table tr:last-child th,
.cart-collaterals .shop_table tr:last-child td {
    border-bottom: none;
}

.cart-collaterals .shop_table th {
    text-align: left;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
}

.cart-collaterals .shop_table td {
    text-align: right;
    font-weight: 600;
}

.cart-collaterals .wc-proceed-to-checkout a.checkout-button {
    display: block;
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, var(--primary-green), #00ff88);
    color: black;
    text-align: center;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.cart-collaterals .wc-proceed-to-checkout a.checkout-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

/* Empty Cart */
.cart-is-empty .cart-main {
    text-align: center;
    width: 100%;
}

.cart-empty-wrapper .return-to-shop .button {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-green), #00ff88);
    color: black;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    padding: 12px 24px;
    margin-top: 20px;
}

/* Responsive */
@media (max-width: 992px) {
    .woocommerce-cart .modern-cart-container {
        flex-direction: column;
    }
    .woocommerce-cart .cart-sidebar {
        position: static;
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .modern-cart-item {
        flex-direction: column;
        align-items: flex-start;
    }
    .modern-cart-item .product-subtotal,
    .modern-cart-item .product-quantity {
        width: 100%;
        text-align: left;
        margin-top: 15px;
    }
    .modern-cart-item .product-remove {
        position: absolute;
        top: 15px;
        right: 15px;
    }
    .modern-cart-actions {
        flex-direction: column;
        gap: 20px;
    }
    .modern-cart-actions .coupon {
        width: 100%;
    }
    .modern-cart-actions .coupon .input-text {
        width: 100%;
    }
}

/*--------------------------------------------------------------
# Light Theme Overrides for Cart
--------------------------------------------------------------*/
body.light-theme .woocommerce-cart .cart-tit {
    background: var(--primary-green);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.light-theme .modern-cart-item,
body.light-theme .modern-cart-actions,
body.light-theme .cart-collaterals .cart_totals {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    backdrop-filter: blur(10px);
}

body.light-theme .modern-cart-item:hover {
    border-color: var(--primary-green);
    box-shadow: 0 0 20px rgba(0, 98, 230, 0.2);
}

body.light-theme .modern-cart-item .product-name a,
body.light-theme .modern-cart-item .quantity .qty {
    color: #1a1a1a;
}

body.light-theme .modern-cart-item .product-name a:hover {
    color: var(--primary-green);
}

body.light-theme .modern-cart-item .product-price {
    color: #555;
}

body.light-theme .modern-cart-item .quantity .qty {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
}

body.light-theme .modern-cart-item .product-remove .remove {
    color: rgba(0, 0, 0, 0.4);
}

body.light-theme .modern-cart-actions .coupon .input-text {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
    color: #1a1a1a;
}

body.light-theme .cart-collaterals .cart_totals h2 {
    color: var(--primary-green);
}

body.light-theme .cart-collaterals .shop_table th {
    color: #333;
}

body.light-theme .cart-collaterals .shop_table td {
    color: #1a1a1a;
}

body.light-theme .cart-collaterals .shop_table th,
body.light-theme .cart-collaterals .shop_table td {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

body.light-theme .modern-cart-actions .button,
body.light-theme .cart-collaterals .wc-proceed-to-checkout a.checkout-button,
body.light-theme .cart-empty-wrapper .return-to-shop .button {
    background: var(--primary-green);
    color: white;
}

body.light-theme .modern-cart-actions .button:hover,
body.light-theme .cart-collaterals .wc-proceed-to-checkout a.checkout-button:hover {
    box-shadow: 0 5px 15px rgba(0, 98, 230, 0.4);
}

/*--------------------------------------------------------------
# Enhanced Modern Cart Page Styles
--------------------------------------------------------------*/

.modern-cart-wrapper {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
    border: 1px solid rgba(12, 224, 107, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.modern-cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(12, 224, 107, 0.2);
}

.modern-cart-header h2 {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
}

.modern-cart-header h2 i {
    color: var(--primary-green);
}

.cart-item-count {
    background: linear-gradient(135deg, var(--primary-green), #00d4ff);
    color: #000000;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.cart-empty-message {
    text-align: center;
    padding: 80px 40px;
    color: rgba(255, 255, 255, 0.7);
}

.cart-empty-message h3 {
    color: #ffffff;
    font-size: 1.5rem;
    margin: 20px 0 10px;
}

.cart-empty-message .modern-btn {
    background: linear-gradient(135deg, var(--primary-green), #00d4ff);
    color: #000000;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.cart-empty-message .modern-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(12, 224, 107, 0.4);
}

.cart-items-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.cart-item-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(12, 224, 107, 0.1);
    display: grid;
    grid-template-columns: 100px 1fr auto auto auto;
    gap: 20px;
    align-items: center;
    transition: all 0.3s ease;
}

.cart-item-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(12, 224, 107, 0.1);
    border-color: rgba(12, 224, 107, 0.3);
}

.product-image {
    border-radius: 12px;
    overflow: hidden;
}

.product-image img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 12px;
}

.product-details {
    flex: 1;
}

.product-name {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 8px 0;
}

.product-name a {
    color: #ffffff;
    text-decoration: none;
}

.product-name a:hover {
    color: var(--primary-green);
}

.product-price {
    color: var(--primary-green);
    font-size: 1.1rem;
    font-weight: 700;
}

.quantity-controls input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(12, 224, 107, 0.2);
    border-radius: 8px;
    color: #ffffff;
    padding: 8px 12px;
    width: 80px;
    text-align: center;
    font-weight: 600;
}

.quantity-controls input:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 2px rgba(12, 224, 107, 0.2);
}

.product-subtotal {
    color: var(--primary-green);
    font-size: 1.2rem;
    font-weight: 700;
    text-align: right;
}

.remove-item .remove-btn {
    background: rgba(255, 59, 48, 0.1);
    border: 1px solid rgba(255, 59, 48, 0.3);
    border-radius: 8px;
    color: #ff3b30;
    padding: 8px 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.remove-item .remove-btn:hover {
    background: rgba(255, 59, 48, 0.2);
    transform: scale(1.05);
}

.cart-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(12, 224, 107, 0.2);
}

.coupon-input-group {
    display: flex;
    gap: 12px;
    align-items: center;
}

.coupon-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(12, 224, 107, 0.2);
    border-radius: 8px;
    color: #ffffff;
    padding: 12px 16px;
    font-size: 0.9rem;
    width: 200px;
}

.coupon-input:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 2px rgba(12, 224, 107, 0.2);
}

.coupon-btn, .update-cart-btn {
    background: linear-gradient(135deg, var(--primary-green), #00d4ff);
    color: #000000;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.coupon-btn:hover, .update-cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(12, 224, 107, 0.4);
}

/* Cart totals sidebar */
.cart-collaterals {
    margin-top: 40px;
}

.cart_totals {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 30px;
    border: 1px solid rgba(12, 224, 107, 0.1);
}

.cart_totals h2 {
    color: #ffffff;
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-align: center;
}

.cart_totals .shop_table {
    width: 100%;
    border-collapse: collapse;
}

.cart_totals .shop_table th,
.cart_totals .shop_table td {
    padding: 12px 0;
    border-bottom: 1px solid rgba(12, 224, 107, 0.1);
    color: #ffffff;
}

.cart_totals .shop_table th {
    text-align: left;
    font-weight: 600;
}

.cart_totals .shop_table td {
    text-align: right;
    font-weight: 700;
    color: var(--primary-green);
}

.wc-proceed-to-checkout {
    margin-top: 20px;
    text-align: center;
}

.wc-proceed-to-checkout .checkout-button {
    background: linear-gradient(135deg, var(--primary-green), #00d4ff);
    color: #000000;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-block;
    transition: all 0.3s ease;
    width: 100%;
    text-align: center;
}

.wc-proceed-to-checkout .checkout-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(12, 224, 107, 0.4);
}

/* Responsive design */
@media (max-width: 768px) {
    .cart-item-card {
        grid-template-columns: 1fr;
        gap: 16px;
        text-align: center;
    }
    
    .cart-actions {
        flex-direction: column;
        gap: 16px;
    }
    
    .coupon-input-group {
        width: 100%;
    }
    
    .coupon-input {
        width: 100%;
    }
}

/* Light theme overrides */
body.light-theme .modern-cart-wrapper {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 98, 230, 0.1);
}

body.light-theme .modern-cart-header h2 {
    color: #1a1a1a;
}

body.light-theme .modern-cart-header h2 i {
    color: var(--primary-green);
}

body.light-theme .cart-item-card {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 98, 230, 0.1);
}

body.light-theme .product-name,
body.light-theme .product-name a {
    color: #1a1a1a;
}

body.light-theme .product-price,
body.light-theme .product-subtotal {
    color: var(--primary-green);
}

body.light-theme .quantity-controls input,
body.light-theme .coupon-input {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 98, 230, 0.2);
    color: #1a1a1a;
}

/* Güçlendirilmiş cart totals light tema stilleri */
html[data-theme="light"] .cart_totals,
body.light-theme .cart_totals,
.light-theme .cart_totals {
    background-color: rgba(255, 255, 255, 0.85) !important;
    color: #333 !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    backdrop-filter: blur(20px) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
}

html[data-theme="light"] .cart_totals h2,
html[data-theme="light"] .cart_totals th,
html[data-theme="light"] .cart_totals td,
html[data-theme="light"] .cart_totals strong,
body.light-theme .cart_totals h2,
body.light-theme .cart_totals th,
body.light-theme .cart_totals td,
body.light-theme .cart_totals strong {
    color: #333 !important;
}

html[data-theme="light"] .cart_totals .shop_table,
body.light-theme .cart_totals .shop_table {
    background-color: transparent !important;
}

html[data-theme="light"] .cart_totals th,
html[data-theme="light"] .cart_totals td,
body.light-theme .cart_totals th,
body.light-theme .cart_totals td {
    border-bottom-color: rgba(0, 0, 0, 0.1) !important;
}

html[data-theme="light"] .cart_totals .order-total th,
html[data-theme="light"] .cart_totals .order-total td,
body.light-theme .cart_totals .order-total th,
body.light-theme .cart_totals .order-total td {
    color: var(--primary-green) !important;
    border-bottom: none !important;
}

/* WooCommerce Product Flag Images */
.product-flag-image,
.cart-flag-image {
    width: 100px !important;
    height: 100px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a) !important;
    border-radius: 50% !important;
    font-size: 50px !important;
    border: 2px solid rgba(12, 224, 107, 0.3) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
    text-align: center !important;
    overflow: hidden !important;
    clip-path: circle(50%) !important;
    -webkit-clip-path: circle(50%) !important;
}

.cart-item-card .product-image .product-flag-image,
.cart-item-card .product-image .cart-flag-image {
    width: 100px !important;
    height: 100px !important;
    border-radius: 50% !important;
}

/* WooCommerce cart item thumbnail override */
.woocommerce-cart .cart_item .product-thumbnail {
    width: 100px !important;
    height: 100px !important;
}

.woocommerce-cart .cart_item .product-thumbnail img,
.woocommerce-cart .cart_item .product-thumbnail .product-flag-image,
.woocommerce-cart .cart_item .product-thumbnail .cart-flag-image {
    width: 100px !important;
    height: 100px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
}

/* Light theme overrides for flags */
body.light-theme .product-flag-image,
body.light-theme .cart-flag-image,
html[data-theme="light"] .product-flag-image,
html[data-theme="light"] .cart-flag-image {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef) !important;
    border-color: rgba(0, 98, 230, 0.3) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
    clip-path: circle(50%) !important;
    -webkit-clip-path: circle(50%) !important;
}

.modern-cart-item {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.modern-cart-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-green), #00d4ff);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modern-cart-item:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--primary-green);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(12, 224, 107, 0.2);
}

.modern-cart-item:hover::before {
    opacity: 1;
}

.cart-item-content {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: 24px;
    align-items: center;
}

.product-thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.product-details {
    flex: 1;
}

.product-name a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    transition: color 0.3s ease;
    display: block;
    margin-bottom: 8px;
}

.product-name a:hover {
    color: var(--primary-green);
}

.product-price {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.price-label {
    color: rgba(255, 255, 255, 0.5);
    margin-right: 8px;
}

.product-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-end;
    min-width: 200px;
}

.quantity-controls {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
}

.quantity-controls label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    font-weight: 500;
}

.quantity-wrapper .qty {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 8px 12px;
    border-radius: 8px;
    width: 70px;
    text-align: center;
    font-weight: 500;
    transition: all 0.3s ease;
}

.quantity-wrapper .qty:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(12, 224, 107, 0.2);
}

.product-subtotal {
    text-align: right;
}

.subtotal-label {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    display: block;
    margin-bottom: 4px;
}

.subtotal-amount {
    color: var(--primary-green);
    font-size: 1.3rem;
    font-weight: 700;
}

.product-remove {
    position: absolute;
    top: 16px;
    right: 16px;
}

.product-remove .remove {
    background: rgba(255, 71, 87, 0.2);
    color: #ff4757;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
}

.product-remove .remove:hover {
    background: #ff4757;
    color: #ffffff;
    transform: scale(1.1);
}

/* Enhanced Responsive Design */
@media (max-width: 1200px) {
    .modern-cart-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .cart-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .modern-cart-wrapper {
        padding: 100px 0 60px;
    }
    
    .cart-main {
        padding: 24px;
        border-radius: 16px;
    }
    
    .cart-header {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .cart-title {
        font-size: 2rem;
    }
    
    .cart-item-content {
        grid-template-columns: 1fr;
        gap: 16px;
        text-align: center;
    }
    
    .product-actions {
        align-items: center;
        min-width: auto;
    }
    
    .product-remove {
        position: static;
        margin-top: 16px;
    }
    
    .modern-cart-actions {
        flex-direction: column;
        gap: 16px;
    }
    
    .coupon {
        flex-direction: column;
        width: 100%;
    }
    
    .coupon .input-text {
        min-width: auto;
        width: 100%;
    }
}

/* Enhanced Light Theme Overrides - Unified for all plan sections */
body.light-theme .modern-cart-wrapper {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

body.light-theme .cart-main {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 0, 0, 0.1);
}

body.light-theme .cart-title {
    color: #1a1a1a;
}

body.light-theme .modern-cart-item {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.1);
}

body.light-theme .modern-cart-item:hover {
    background: rgba(0, 0, 0, 0.05);
}

body.light-theme .product-name a {
    color: #1a1a1a;
}

body.light-theme .product-price,
body.light-theme .quantity-controls label {
    color: rgba(0, 0, 0, 0.7);
}

body.light-theme .quantity-wrapper .qty {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.2);
    color: #1a1a1a;
}

/* Apply consistent styling to all plan card containers */
body.light-theme .hero-plans-grid .plan-card,
body.light-theme .plans-grid .plan-card,
body.light-theme .unlimited-grid .plan-card,
body.light-theme .monthly-grid .plan-card {
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(5, 150, 105, 0.2) !important;
    color: #1a1a1a !important;
    box-shadow: 0 4px 16px rgba(5, 150, 105, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06) !important;
    backdrop-filter: blur(20px) !important;
    gap: 12px !important;
    padding: 16px !important;
    min-height: 85px !important;
    height: 85px !important;
    border-radius: 12px !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
    overflow: hidden !important;
    cursor: pointer !important;
    user-select: none !important;
    width: 100% !important;
}

/* --------------------------------------------------------------
# Utilities
-------------------------------------------------------------- */
.btn-row {
    margin: 20px 0;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.main-content--gradient {
    min-height: 80vh;
    padding: 40px 0;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #000000 100%);
}

/* Mobile responsive fix for main-content--gradient */
@media (max-width: 768px) {
    .main-content--gradient {
        min-height: 0;
        padding: 0;
        background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #000000 100%);
    }
}

.container--wide {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.centered-message {
    text-align: center;
    padding: 40px;
}
