/*
Theme Name: StunX Premium
Theme URI: https://yourwebsite.com
Author: StunX
Description: A premium dark mountain theme built for StunX.
Version: 2.0
Text Domain: stunx
*/

/* =========================================
   1. ROOT VARIABLES & BASE
========================================= */
:root { 
    --bg-dark: #0a0a0c; 
    --text-main: #e2e8f0; 
    --accent-silver: #a0aec0; 
    --glass-bg: rgba(20, 20, 25, 0.4); 
    --glass-border: rgba(255, 255, 255, 0.08); 
    --glass-hover: rgba(255, 255, 255, 0.12);
    --cozy-blue: #64a1ff;
    --cozy-blue-glow: rgba(100, 161, 255, 0.5);

    /* Customizable icon positions (overridden by WP Customizer) */
    /* These values are DISTANCE FROM THE LEFT EDGE.
       Decrease them (e.g. 15% -> 10% -> 5%) to move icons TOWARD the left. */
    --header-actions-left-desktop: 5%;
    --header-actions-left-mobile: -20%;
}

html, body {
    background-color: transparent !important; /* Transparent for particles */
    color: var(--text-main); 
    font-family: 'Vazirmatn', sans-serif; 
    margin: 0; 
    padding: 0;
    overflow-x: hidden !important; 
    max-width: 100vw !important;
}

#particle-canvas { 
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; 
    z-index: -1; pointer-events: none; 
    background: radial-gradient(circle at center, #1a1a24 0%, #0a0a0c 100%); 
}

#primary, .site-main, .wrapper { position: relative; z-index: 10; }
* { box-sizing: border-box !important; }
.wrapper { max-width: 1400px; margin: 0 auto; padding: 60px 20px; }
.sharp-edge { border-radius: 4px !important; }
.text-glow { color: var(--cozy-blue); text-shadow: 0 0 30px var(--cozy-blue-glow); }

/* =========================================
   2. HEADER & NAVIGATION
========================================= */
.main-header { 
    background: var(--glass-bg); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); 
    border-bottom: 1px solid var(--glass-border); position: sticky; top: 0; z-index: 1000; 
    padding: 15px 40px; box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5); transition: all 0.3s ease; 
}

.header-container { max-width: 1600px; margin: 0 auto; display: flex; align-items: center; width: 100%; position: relative; }

.logo-wrapper { width: 120px; height: 120px; flex-shrink: 0; transition: transform 0.3s ease, filter 0.3s ease; position: relative; z-index: 20; }
.logo-wrapper img { width: 100%; height: 100%; object-fit: contain; border-radius: 50%; filter: drop-shadow(0 4px 12px rgba(255, 255, 255, 0.1)); }
.logo-wrapper:hover { transform: scale(1.05); filter: drop-shadow(0 6px 16px rgba(255, 255, 255, 0.2)); }

.glassy-nav-menu { position: absolute; left: 50%; transform: translateX(-50%); display: flex; justify-content: center; width: max-content; z-index: 10; }
.nav-menu-list { list-style: none; display: flex; gap: 15px; flex-wrap: wrap; margin: 0; padding: 0; }
.nav-link { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 12px 16px; border-radius: 12px; background: transparent; border: 1px solid transparent; color: var(--accent-silver); text-decoration: none; transition: all 0.4s ease; font-size: 12px; font-weight: 500; min-width: 90px; text-align: center; }
.nav-link:hover, .nav-link.active { background: rgba(100, 161, 255, 0.08); border-color: rgba(100, 161, 255, 0.3); color: #ffffff; transform: translateY(-4px); box-shadow: 0 8px 25px var(--cozy-blue-glow), inset 0 0 15px rgba(100, 161, 255, 0.15); }
.nav-link svg { width: 24px; height: 24px; stroke-width: 1.5; transition: all 0.4s ease; }
.nav-link:hover svg, .nav-link.active svg { stroke: var(--cozy-blue); stroke-width: 2; transform: scale(1.15); filter: drop-shadow(0 0 8px var(--cozy-blue-glow)); }

/* =========================================
   3. HEADER ICONS (CART, USER, BURGER)
========================================= */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 100;
    position: absolute;
    left: var(--header-actions-left-desktop);
    top: 50%;
    transform: translateY(-50%);
}

.header-user-btn, .header-cart-btn { position: relative; color: var(--accent-silver); display: flex; align-items: center; justify-content: center; text-decoration: none; transition: all 0.3s ease; cursor: pointer; overflow: visible; }
.header-user-btn svg, .header-cart-btn svg { width: 28px; height: 28px; transition: all 0.3s ease; }
.header-user-btn:hover, .header-cart-btn:hover { color: var(--cozy-blue); transform: translateY(-2px); filter: drop-shadow(0 0 10px var(--cozy-blue-glow)); }

.cart-count { position: absolute; top: -6px; left: -8px; background: var(--cozy-blue); color: #fff; font-size: 11px; font-weight: bold; width: 18px; height: 18px; display: flex; align-items: center; justify-content: center; border-radius: 50%; box-shadow: 0 0 10px var(--cozy-blue-glow); z-index: 10; overflow: visible; }

@media (max-width: 768px) {
    .cart-count {
        width: 16px !important;
        height: 16px !important;
        font-size: 10px !important;
        top: -4px !important;
        left: -4px !important;
    }
}

.mobile-menu-toggle { display: none; background: transparent !important; border: none !important; outline: none !important; color: var(--accent-silver) !important; cursor: pointer; z-index: 9999; padding: 5px; transition: all 0.3s ease; border-radius: 4px; }
.mobile-menu-toggle:hover, .mobile-menu-toggle:active { color: var(--cozy-blue) !important; filter: drop-shadow(0 0 8px var(--cozy-blue-glow)); background: rgba(100, 161, 255, 0.05) !important; }
.mobile-menu-toggle svg { width: 35px !important; height: 35px !important; display: block; }

/* Shooting Star Magic */
.shooting-star-effect { position: fixed; width: 12px; height: 12px; background: #fff; border-radius: 50%; box-shadow: 0 0 20px 5px var(--cozy-blue-glow), 0 0 40px 10px var(--cozy-blue); pointer-events: none; z-index: 999999; transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.6s ease-in; margin-top: -6px; margin-left: -6px; }
.shooting-star-effect::after { content: ''; position: absolute; top: 50%; right: 100%; width: 50px; height: 2px; background: linear-gradient(to left, rgba(255,255,255,0.9), transparent); transform: translateY(-50%); }
.cart-bump { animation: cartBumpAnim 0.4s ease-out; }
@keyframes cartBumpAnim { 0% { transform: scale(1); } 50% { transform: scale(1.4) rotate(-15deg); filter: drop-shadow(0 0 20px var(--cozy-blue)); color: var(--cozy-blue); } 100% { transform: scale(1) rotate(0); } }

/* /* =========================================
   4. STUNX OFF-CANVAS MINI CART (FIXED)
========================================= */

/* --- THE DARK OVERLAY --- */
.stunx-cart-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 100000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.stunx-cart-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

/* --- THE SLIDING PANEL --- */
.stunx-mini-cart-panel {
    position: fixed !important;
    top: 0 !important;
    right: -100% !important;       /* Hidden off-screen to the right (RTL) */
    left: auto !important;
    width: 85vw !important;
    max-width: 420px !important;
    height: 100vh !important;
    height: 100dvh !important;     /* Fixes mobile browser bar glitch */
    
    /* 🔥 THIS WAS MISSING — the panel had NO background! */
    background: rgba(10, 10, 14, 0.97) !important;
    backdrop-filter: blur(30px) !important;
    -webkit-backdrop-filter: blur(30px) !important;
    
    border-right: none !important;
    border-left: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: -15px 0 50px rgba(0, 0, 0, 0.9) !important;
    
    display: flex !important;
    flex-direction: column !important;
    
    z-index: 100005 !important;
    overflow: hidden !important;
    
    transition: right 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
}

/* When open: slide to visible position */
.stunx-mini-cart-panel.open {
    right: 0 !important;
}

/* --- CART HEADER --- */
.mini-cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid var(--glass-border);
    background: rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
}
.mini-cart-header h3 {
    color: #fff;
    margin: 0;
    font-size: 1.2rem;
    font-weight: bold;
}

#close-mini-cart {
    background: transparent;
    border: none;
    color: var(--accent-silver);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 5px;
    font-size: 1.5rem;
}
#close-mini-cart:hover {
    color: #ff4a4a;
    transform: scale(1.2) rotate(90deg);
}
/* --- SCROLLABLE BODY --- */
.mini-cart-body {
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding: 15px 25px 25px 40px !important;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.15) transparent;
    scrollbar-gutter: stable !important;
}
.mini-cart-body::-webkit-scrollbar { width: 4px; }
.mini-cart-body::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 10px; }

/* --- EMPTY CART MESSAGE --- */
.woocommerce-mini-cart__empty-message {
    color: var(--accent-silver);
    text-align: center;
    margin-top: 40px;
    font-size: 1.1rem;
}

/* --- CART ITEMS (Flexbox layout) --- */
.woocommerce-mini-cart.cart_list {
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}

li.woocommerce-mini-cart-item {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    padding: 18px 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    flex-wrap: nowrap !important;
}

/* Remove "X" Button */
.woocommerce-mini-cart-item a.remove {
    position: static !important;
    width: 32px !important;
    min-width: 32px !important;
    height: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(255, 74, 74, 0.1) !important;
    border-radius: 50% !important;
    color: #ff4a4a !important;
    font-size: 1.2rem !important;
    flex-shrink: 0 !important;
    transition: all 0.3s ease !important;
}
.woocommerce-mini-cart-item a.remove:hover {
    background: #ff4a4a !important;
    color: #fff !important;
    transform: scale(1.1) !important;
}

/* Product Link (Image + Title together) */
.woocommerce-mini-cart-item a:not(.remove) {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    text-align: right !important;
    flex-grow: 1 !important;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    transition: color 0.3s ease !important;
}
.woocommerce-mini-cart-item a:not(.remove):hover {
    color: var(--cozy-blue) !important;
}

/* Product Image — Locked Size */
.woocommerce-mini-cart-item img {
    width: 65px !important;
    min-width: 65px !important;
    max-width: 65px !important;
    height: 65px !important;
    object-fit: cover !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
    float: none !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
}

/* Quantity & Price */
.woocommerce-mini-cart-item .quantity {
    margin-right: auto !important;
    white-space: nowrap !important;
    color: var(--accent-silver) !important;
    font-size: 0.9rem !important;
    direction: ltr !important;
}

/* --- TOTALS (pushed to bottom) --- */
.woocommerce-mini-cart__total {
    display: flex;
    justify-content: space-between;
    margin-top: auto !important;
    padding-top: 20px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #fff;
    font-size: 1.2rem;
    font-weight: bold;
}
.woocommerce-mini-cart__total .amount {
    color: var(--cozy-blue);
    text-shadow: 0 0 10px var(--cozy-blue-glow);
}

/* --- BUTTONS --- */
.woocommerce-mini-cart__buttons {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    margin-top: 15px !important;
    margin-bottom: env(safe-area-inset-bottom, 20px) !important;
}

.woocommerce-mini-cart__buttons .button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 50px !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    border: 1px solid var(--glass-border) !important;
    color: #fff !important;
}
.woocommerce-mini-cart__buttons .button:hover {
    background: rgba(255, 255, 255, 0.1) !important;
}
.woocommerce-mini-cart__buttons .checkout {
    background: var(--cozy-blue) !important;
    border-color: var(--cozy-blue) !important;
    box-shadow: 0 0 15px var(--cozy-blue-glow) !important;
}
.woocommerce-mini-cart__buttons .checkout:hover {
    background: #7bb0ff !important;
    box-shadow: 0 0 25px var(--cozy-blue-glow) !important;
    transform: translateY(-2px) !important;
}

/* =========================================
   5. GENERAL COMPONENTS & HOME PAGE
========================================= */
.glass-card { background: var(--glass-bg); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--glass-border); border-radius: 4px; padding: 30px; transition: all 0.4s ease; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); }
.glass-card:hover { transform: translateY(-8px); border-color: rgba(100, 161, 255, 0.3); box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(100, 161, 255, 0.1); }

.btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 28px; border-radius: 4px; font-size: 15px; font-weight: 700; text-decoration: none; transition: all 0.3s ease; cursor: pointer; border: none; }
.btn-primary { background: var(--cozy-blue); color: #fff; box-shadow: 0 4px 15px var(--cozy-blue-glow); }
.btn-primary:hover { background: #4a8bff; box-shadow: 0 8px 25px var(--cozy-blue-glow); transform: translateY(-2px); }

.hero-section { min-height: 80vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 0 20px; position: relative; z-index: 10; }
.hero-title { font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 800; margin-bottom: 20px; line-height: 1.2; }
.hero-subtitle { font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--accent-silver); max-width: 600px; margin: 0 auto 40px; line-height: 1.8; }
.hero-actions { display: flex; gap: 20px; justify-content: center; }
.glass-panel-sharp { background: var(--glass-bg); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--glass-border); padding: 50px; border-radius: 4px; box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5); }

.feature-card { text-align: center; }
.feature-icon { width: 60px; height: 60px; margin: 0 auto 20px; background: rgba(100, 161, 255, 0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--cozy-blue); }
.feature-icon svg { width: 30px; height: 30px; stroke-width: 1.5; }
.feature-card h3 { margin-bottom: 15px; font-size: 1.2rem; color: #fff; }

.products-preview .products-grid::-webkit-scrollbar { height: 8px; }
.products-preview .products-grid::-webkit-scrollbar-track { background: rgba(255,255,255,0.1); border-radius: 10px; }
.products-preview .products-grid::-webkit-scrollbar-thumb { background: #444; border-radius: 10px; }

.product-card h3 { font-size: 1.1rem; margin-bottom: 10px; color: #fff; }
.product-image { width: 100%; height: 220px; background: rgba(0, 0, 0, 0.4); margin-bottom: 20px; display: flex; align-items: center; justify-content: center; overflow: hidden; border-radius: 4px; }
.product-image img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.5s ease; padding: 10px; }
.product-card:hover .product-image img { transform: scale(1.08); }
.product-card .price { display: block; text-align: right; color: var(--cozy-blue); font-weight: 800; font-size: 1.2rem; margin-top: 10px; margin-bottom: 10px; text-shadow: 0 0 10px var(--cozy-blue-glow); }
.product-card .ajax_add_to_cart { display: inline-block; float: right; margin-top: 10px; }
.product-card::after { content: ""; display: table; clear: both; }

.widget_price_filter, .woocommerce-widget-layered-nav, #shop-sidebar { display: none !important; }

/* =========================================
   6. WOOCOMMERCE CART & CHECKOUT PAGES
========================================= */
.woocommerce-cart .wrapper, .woocommerce-checkout .wrapper { padding-top: 100px; padding-bottom: 100px; }
button[name="update_cart"] { display: none !important; }
.woocommerce-cart-form.processing { opacity: 0.4; pointer-events: none; filter: blur(2px); transition: all 0.3s ease; }

.woocommerce table.shop_table { border: none; border-radius: 12px; background: rgba(255, 255, 255, 0.02); box-shadow: 0 10px 30px rgba(0,0,0,0.5); border-collapse: separate; border-spacing: 0; overflow: hidden; }
.woocommerce table.shop_table th { background: rgba(255, 255, 255, 0.05); color: #fff; border: none; padding: 20px; text-align: right; }
.woocommerce table.shop_table td { border-top: 1px solid var(--glass-border); background: transparent; color: var(--accent-silver); padding: 20px; }
.woocommerce table.shop_table.cart img { border-radius: 8px; width: 80px; box-shadow: 0 5px 15px rgba(0,0,0,0.3); }

.woocommerce a.remove { color: #ff4a4a !important; background: rgba(255, 74, 74, 0.1) !important; border-radius: 50%; width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; }
.woocommerce a.remove:hover { background: #ff4a4a !important; color: #fff !important; }

.cart-collaterals .cart_totals { background: rgba(255, 255, 255, 0.02); border: 1px solid var(--glass-border); border-radius: 12px; padding: 30px; width: 100% !important; max-width: 500px; float: left; }
.cart-collaterals h2 { color: #fff; border-bottom: 1px solid var(--glass-border); padding-bottom: 15px; margin-bottom: 20px; }
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button { background: var(--cozy-blue); color: #fff; padding: 15px; border-radius: 8px; font-size: 1.2rem; box-shadow: 0 0 20px var(--cozy-blue-glow); transition: all 0.3s ease; }
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover { background: #7bb0ff; transform: translateY(-3px); box-shadow: 0 0 30px var(--cozy-blue-glow); }

/* BULLETPROOF CHECKOUT FIELDS */
.woocommerce-checkout { direction: rtl !important; text-align: right !important; }
.woocommerce-checkout h3, .woocommerce-checkout label { text-align: right !important; display: block; }
.woocommerce-checkout .form-row input.input-checkbox { margin-left: 10px !important; margin-right: 0 !important; }
.woocommerce-checkout .form-row, .select2-container { width: 100% !important; max-width: 100% !important; display: block !important; margin-bottom: 15px !important; box-sizing: border-box !important; }

.woocommerce-checkout .form-row input.input-text,
.woocommerce-checkout .form-row textarea,
.select2-container--default .select2-selection--single {
    background-color: rgba(0, 0, 0, 0.4) !important; border: 1px solid var(--glass-border) !important; color: #fff !important; border-radius: 4px !important; width: 100% !important; min-height: 48px !important; height: 48px !important; box-sizing: border-box !important; padding: 0 15px !important; box-shadow: none !important; transition: all 0.3s ease; display: flex !important; align-items: center !important;
}

.woocommerce-checkout .form-row textarea { height: 120px !important; padding-top: 15px !important; align-items: flex-start !important; }
.woocommerce-checkout .form-row input.input-text:focus, .woocommerce-checkout .form-row textarea:focus, .select2-container--default.select2-container--open .select2-selection--single { border-color: var(--cozy-blue) !important; box-shadow: 0 0 15px var(--cozy-blue-glow) !important; outline: none !important; }
.select2-container--default .select2-selection--single .select2-selection__rendered { color: #fff !important; line-height: 48px !important; padding-right: 0 !important; padding-left: 30px !important; text-align: right !important; width: 100% !important; }
.select2-container--default .select2-selection--single .select2-selection__arrow { height: 48px !important; top: 0 !important; left: 10px !important; right: auto !important; }
.select2-dropdown { background-color: #15151a !important; border: 1px solid var(--cozy-blue) !important; color: #fff !important; box-shadow: 0 10px 30px rgba(0,0,0,0.8) !important; }
.select2-search--dropdown .select2-search__field { background-color: rgba(0,0,0,0.5) !important; color: #fff !important; border: 1px solid var(--glass-border) !important; padding: 10px !important; border-radius: 4px !important; }
.select2-container--default .select2-results__option { color: var(--accent-silver) !important; background-color: transparent !important; }
.select2-container--default .select2-results__option[aria-selected=true], .select2-container--default .select2-results__option--highlighted[aria-selected] { background-color: var(--cozy-blue) !important; color: #fff !important; }

::-webkit-input-placeholder { color: rgba(255,255,255,0.4) !important; }
:-moz-placeholder { color: rgba(255,255,255,0.4) !important; }

#billing_phone_field label .optional { display: none !important; }
#billing_phone_field label::after { content: '*' !important; color: #ff4a4a !important; margin-right: 5px !important; font-weight: bold !important; font-size: 1.2rem !important; }
.woocommerce-checkout .form-row label abbr.required { color: #ff4a4a !important; text-decoration: none !important; border: none !important; font-size: 1.2rem !important; }

/* FIX WOOCOMMERCE TEXT SQUEEZE BUG */
.woocommerce-error, .woocommerce-info, .woocommerce-message, #payment div.payment_box { width: 100% !important; word-break: normal !important; white-space: normal !important; display: block !important; background: rgba(20, 20, 25, 0.95) !important; color: #fff !important; padding: 20px !important; border: 1px solid #ff4a4a !important; border-radius: 8px !important; margin-bottom: 20px !important; box-shadow: 0 5px 15px rgba(255, 74, 74, 0.2) !important; }
.woocommerce-error::before, .woocommerce-info::before, .woocommerce-message::before { display: none !important; }
/* =========================================
   7. SINGLE PRODUCT ADD-ONS & ACCORDIONS
========================================= */
.live-stock-container { display: flex; flex-direction: row-reverse; align-items: center; gap: 10px; width: max-content; margin-bottom: 20px; }
.stock-pulse { width: 10px; height: 10px; background: var(--cozy-blue); border-radius: 50%; box-shadow: 0 0 12px var(--cozy-blue-glow); animation: pulseGlowBlue 1.5s infinite; }
.stock-text { color: var(--cozy-blue); font-weight: bold; }
@keyframes pulseGlowBlue { 0% { transform: scale(0.95); box-shadow: 0 0 0 0 var(--cozy-blue-glow); } 70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(100, 161, 255, 0); } 100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(100, 161, 255, 0); } }

.qty-and-button { display: flex; gap: 15px; align-items: stretch; flex-direction: row-reverse; }
.quantity .qty { background: rgba(0,0,0,0.2); border: 1px solid var(--glass-border); color: var(--text-main); border-radius: 4px; height: 60px; width: 70px; text-align: center; }

.stunx-trust-badges { display: flex; justify-content: space-around; align-items: center; margin-top: 25px; padding: 25px 0; border-top: 1px solid var(--glass-border); }
.trust-badge { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--accent-silver); font-size: 0.8rem; text-align: center; }
.trust-badge svg { width: 30px; height: 30px; color: var(--accent-silver); transition: all 0.3s ease; }
.trust-badge:hover svg { color: var(--cozy-blue); transform: scale(1.1); filter: drop-shadow(0 0 8px var(--cozy-blue-glow)); }

/* FIX GIANT ACCORDION ARROWS */
.stunx-accordions summary { list-style: none !important; }
.stunx-accordions summary::-webkit-details-marker { display: none !important; }
.stunx-accordions summary svg { width: 24px !important; height: 24px !important; min-width: 24px !important; flex-shrink: 0 !important; color: var(--cozy-blue) !important; transition: transform 0.3s ease !important; }
.stunx-accordions details[open] summary svg { transform: rotate(180deg) !important; }

/* =========================================
   8. LOGIN PANEL (BASE)
========================================= */
.woocommerce-account .wrapper { padding-top: 100px; padding-bottom: 100px; max-width: 1000px; }
#customer_login { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.woocommerce-account h2 { color: #fff; font-size: 1.8rem; margin-bottom: 25px; border-bottom: 2px solid var(--glass-border); padding-bottom: 15px; text-align: right; }
.woocommerce-account .form-row { margin-bottom: 20px; }
.woocommerce-account .form-row label { color: var(--accent-silver); margin-bottom: 10px; display: block; text-align: right; }
.woocommerce-account .form-row input.input-text { width: 100% !important; background: rgba(0, 0, 0, 0.4) !important; border: 1px solid var(--glass-border) !important; color: #fff !important; border-radius: 4px; padding: 15px 20px; font-family: inherit; transition: all 0.3s ease; height: 50px; box-sizing: border-box; }
.woocommerce-account .form-row input.input-text:focus { border-color: var(--cozy-blue) !important; box-shadow: 0 0 15px var(--cozy-blue-glow) !important; outline: none; }
.woocommerce-account button.woocommerce-button { background: var(--cozy-blue) !important; color: #fff !important; font-size: 1.2rem; font-weight: 800; padding: 15px 30px !important; border-radius: 4px !important; border: none !important; box-shadow: 0 0 25px var(--cozy-blue-glow); transition: all 0.3s ease; width: 100%; margin-top: 15px; cursor: pointer; }
.woocommerce-account button.woocommerce-button:hover { background: #7bb0ff !important; box-shadow: 0 0 40px var(--cozy-blue-glow); transform: translateY(-3px); }
.woocommerce-account .woocommerce-form-login__rememberme { display: inline-flex; align-items: center; gap: 10px; color: var(--accent-silver); margin-bottom: 15px; }
.woocommerce-account .woocommerce-LostPassword { text-align: center; margin-top: 20px; }
.woocommerce-account .woocommerce-LostPassword a { color: var(--cozy-blue); text-decoration: none; transition: 0.3s ease; font-size: 0.95rem; }

/* =========================================
   9. FOOTER
========================================= */
.site-footer { background: linear-gradient(180deg, rgba(10, 10, 12, 0.8) 0%, rgba(5, 5, 6, 1) 100%); backdrop-filter: blur(20px); border-top: 1px solid var(--glass-border); margin-top: 80px; position: relative; z-index: 10; }
.footer-wrapper { max-width: 1400px; margin: 0 auto; padding: 80px 20px 40px; }
.footer-heading { color: #fff; font-size: 1.2rem; margin-bottom: 25px; position: relative; padding-bottom: 10px; }
.footer-heading::after { content: ''; position: absolute; bottom: 0; right: 0; width: 40px; height: 2px; background: var(--cozy-blue); border-radius: 2px; box-shadow: 0 0 10px var(--cozy-blue-glow); }
.footer-links a { color: var(--accent-silver); text-decoration: none; transition: all 0.3s ease; display: inline-block; }
.footer-links a:hover { color: var(--cozy-blue); transform: translateX(-5px); text-shadow: 0 0 8px var(--cozy-blue-glow); }

.footer-contact-info svg { width: 24px !important; height: 24px !important; min-width: 24px !important; flex-shrink: 0 !important; color: var(--cozy-blue) !important; margin-left: 10px !important; }
.footer-links, .footer-contact-info, .footer-links li, .footer-contact-info li { list-style: none !important; list-style-type: none !important; padding: 0 !important; }
.footer-links li::before, .footer-contact-info li::before { content: none !important; display: none !important; }
.footer-links li { margin-bottom: 15px !important; }
.footer-contact-info li { display: flex !important; align-items: center !important; justify-content: flex-start !important; margin-bottom: 15px !important; color: var(--accent-silver) !important; }

.social-icons { display: flex !important; gap: 15px !important; justify-content: flex-start !important; }
.social-icons a { display: flex !important; align-items: center !important; justify-content: center !important; width: 40px !important; height: 40px !important; background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 50%; color: var(--accent-silver); transition: all 0.3s ease; flex-shrink: 0 !important; }
.social-icons a:hover { background: var(--cozy-blue); color: #fff; border-color: var(--cozy-blue); transform: translateY(-3px); box-shadow: 0 5px 15px var(--cozy-blue-glow); }
.social-icons svg { width: 18px !important; height: 18px !important; margin: 0 !important; }

.footer-bottom { display: flex !important; align-items: center !important; justify-content: center !important; text-align: center !important; width: 100% !important; padding: 20px !important; background: rgba(0, 0, 0, 0.4) !important; }
.footer-bottom p { margin: 0 !important; padding: 0 !important; text-align: center !important; font-size: 0.95rem !important; color: var(--accent-silver) !important; display: flex !important; align-items: center !important; justify-content: center !important; flex-wrap: wrap !important; gap: 5px !important; }
.footer-bottom img.emoji { display: inline !important; border: none !important; box-shadow: none !important; height: 1.2em !important; width: 1.2em !important; margin: 0 .1em !important; vertical-align: -0.1em !important; background: none !important; padding: 0 !important; }

/* =========================================
   10. MOBILE READABLE "MINI-PC" VIEW 
========================================= */
@media (max-width: 1024px) {
    /* HEADER (BURGER MENU ACTIVATE) */
    .main-header { padding: 10px 20px !important; min-height: auto !important; }
    .header-container { display: flex !important; flex-direction: row !important; justify-content: space-between !important; align-items: center !important; }
    .logo-wrapper { width: 60px !important; height: 60px !important; margin: 0 !important; position: static !important; }

    /* MOBILE/TABLET: icons group stays on the LEFT side.
       Decrease --header-actions-left-mobile to move closer to left edge. */
    .header-actions {
        position: relative;
        left: var(--header-actions-left-mobile);
        top: auto;
        transform: none;
        margin-left: auto !important;
        margin-right: 0 !important;
        gap: 12px;
    }

    .header-user-btn svg, .header-cart-btn svg { width: 24px; height: 24px; }
    
    .mobile-menu-toggle { display: block !important; }
    .glassy-nav-menu { position: absolute !important; top: 100% !important; left: 0 !important; width: 100% !important; transform: none !important; background: rgba(15, 15, 20, 0.98) !important; backdrop-filter: blur(25px) !important; border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important; padding: 20px !important; display: none !important; z-index: 1000 !important; }
    .glassy-nav-menu.active { display: block !important; }
    .nav-menu-list { display: flex !important; flex-direction: column !important; gap: 10px !important; }
    .nav-link { width: 100% !important; max-width: 100% !important; flex-direction: row !important; justify-content: flex-start !important; padding: 15px 20px !important; font-size: 14px !important; }
}

@media (max-width: 768px) {
    /* WRAPPER FIX */
    .wrapper { padding: 15px 15px !important; width: 100vw !important; max-width: 100vw !important; box-sizing: border-box !important; }

    /* CHECKOUT: Split side-by-side but with READABLE fonts */
    #order_review_heading { display: none !important; }

    .woocommerce-checkout .form-row-first, .woocommerce-checkout .form-row-last { width: 48% !important; float: right !important; clear: none !important; }
    .woocommerce-checkout .form-row-last { float: left !important; }

    .woocommerce-checkout h3 { font-size: 14px !important; margin-bottom: 10px !important; padding-bottom: 5px !important; }
    .woocommerce-checkout .form-row { margin-bottom: 12px !important; }
    .woocommerce-checkout label { font-size: 11px !important; margin-bottom: 5px !important; }
    
    .woocommerce-checkout input.input-text, .woocommerce-checkout textarea, .select2-container--default .select2-selection--single { padding: 8px 10px !important; font-size: 14px !important; }
}

/* ========================================================
   🚀 1000% INSANE MOBILE & RTL MINI-CART OPTIMIZATION 
======================================================== */

/* --- 1. THE CART PANEL (SLIDES FROM RIGHT FOR RTL) --- */
.stunx-mini-cart-panel {
    left: auto !important; 
    right: -100% !important; /* Hides off the right side */
    width: 85vw !important; /* Mobile width */
    max-width: 400px !important; /* Desktop/Tablet max width */
    height: 100dvh !important; /* dvh fixes mobile browser address bar glitches! */
    display: flex !important;
    flex-direction: column !important;
    border-right: none !important;
    border-left: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: -15px 0 50px rgba(0, 0, 0, 0.9) !important;
    transition: right 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) !important; /* Ultra-smooth slide */
}

.stunx-mini-cart-panel.open {
    right: 0 !important; /* Slide in nicely */
}

/* --- 2. BULLETPROOF GRID FIX FOR SQUISHED ITEMS --- */
.woocommerce-mini-cart.cart_list {
    padding: 0 !important;
    margin: 0 !important;
}

li.woocommerce-mini-cart-item {
    display: grid !important;
    /* This grid forces exact spacing: [ X Button ] [ Image ] [ Text Area ] */
    grid-template-columns: 35px 70px 1fr !important; 
    gap: 15px !important;
    align-items: center !important;
    padding: 20px 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

/* The "X" Remove Button */
.woocommerce-mini-cart-item a.remove {
    position: static !important; /* Kills Woo's broken absolute positioning */
    width: 35px !important;
    height: 35px !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* The Product Image */
.woocommerce-mini-cart-item img {
    width: 100% !important;
    height: 70px !important;
    object-fit: cover !important;
    border-radius: 8px !important;
    margin: 0 !important; /* Kills Woo's broken margins */
    float: none !important; /* Kills Woo's broken floats */
    box-shadow: 0 4px 15px rgba(0,0,0,0.3) !important;
}

/* The Product Title & Text Area */
.woocommerce-mini-cart-item a:not(.remove) {
    display: block !important;
    text-align: right !important; /* RTL Alignment */
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    margin-bottom: 8px !important;
    white-space: normal !important; /* Allows long titles to wrap perfectly */
}

.woocommerce-mini-cart-item .quantity {
    display: show !important;
    text-align: right !important;
    font-size: 0.95rem !important;
    color: var(--accent-silver) !important;
    direction: ltr !important;
    text-align: right !important;
    margin-right: 15px !important;
} 
/* --- 3. BOTTOM BUTTONS (ANCHORED FOR MOBILE REACHABILITY) --- */
.mini-cart-body {
    display: flex !important;
    flex-direction: column !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding: 0 25px 25px 25px !important;
    /* Invisible sleek scrollbar */
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.2) transparent;
}

/* Push totals to the very bottom */
.woocommerce-mini-cart__total {
    margin-top: auto !important; /* Magic trick: pushes totals to the bottom of the screen */
    padding-top: 20px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.woocommerce-mini-cart__buttons {
    margin-bottom: env(safe-area-inset-bottom, 20px) !important; /* Fixes iPhone home bar overlap */
}

/* Buttons strictly sized for fat-fingers on mobile */
.woocommerce-mini-cart__buttons .button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 50px !important;
    font-size: 1rem !important;
    border-radius: 8px !important;
}

/* --- 4. GENERAL MOBILE INSANE POLISH (< 768px) --- */
@media (max-width: 768px) {
    /* Make Header layout perfect on mobile */
    .header-container {
        padding: 5px 0 !important;
    }
    .logo-wrapper {
        width: 50px !important;
        height: 50px !important;
    }
    
    /* Make cart icon bigger so it's easier to tap */
    .header-cart-btn svg, .header-user-btn svg, .mobile-menu-toggle svg {
        width: 30px !important;
        height: 30px !important;
    }

    /* Cart Panel adjustments for small phones */
    li.woocommerce-mini-cart-item {
        grid-template-columns: 30px 60px 1fr !important; /* Shrink slightly for mobile */
        gap: 12px !important;
    }
    .woocommerce-mini-cart-item img {
        height: 60px !important;
    }
    .woocommerce-mini-cart-item a:not(.remove) {
        font-size: 0.95rem !important;
    }
    
    /* Ensure the Horizontal Product Scroll on homepage is smooth */
    .products-preview .products-grid {
        padding-inline: 15px !important; /* Adds space on edges so products aren't cut off */
        scroll-padding-inline: 15px !important;
    }
    .product-card {
        flex: 0 0 80vw !important; /* Product cards take exactly 80% of screen */
    }
}
/* ========================================================
   12. FIX: RESPONSIVE FEATURES GRID & OVERFLOW
======================================================== */

/* Completely hide any broken horizontal scrollbars or white sidebars */
html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
}

/* Make the features grid magically adapt to any screen */
.features-grid { 
    display: grid !important; 
    /* This automatically makes it 3 on PC, 2 on Tablet, and 1 on Mobile! */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important; 
    gap: 30px !important; 
    width: 100% !important;
}

/* Ensure the cards look nice when stacked on mobile */
@media (max-width: 768px) {
    .features-grid {
        gap: 20px !important;
        padding: 0 10px !important;
    }
    
    .glass-panel-sharp {
        padding: 30px 20px !important; /* Smaller padding inside the main box on mobile */
    }

    .feature-card {
        background: rgba(255, 255, 255, 0.02); /* Adds a subtle box around each feature on mobile */
        padding: 20px;
        border-radius: 8px;
        border: 1px solid var(--glass-border);
    }
}
/* ========================================================
   13. FIX: MOBILE FOOTER SQUISH & OVERFLOW
======================================================== */

/* Safeguard to stop the footer from causing horizontal scrollbars */
.site-footer {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
}

/* Tablet Layout: Change to 2 Columns */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 40px !important;
    }
}

/* Mobile Layout: Stack into 1 Single Column */
@media (max-width: 768px) {
    .footer-wrapper {
        padding: 50px 20px 30px !important; /* Adjust padding for mobile */
    }

    .footer-grid {
        grid-template-columns: 1fr !important; /* Forces everything to stack cleanly */
        gap: 35px !important; /* Space between the stacked sections */
    }

    /* Make the logo section look nice when stacked */
    .footer-grid > div:first-child {
        text-align: center !important; /* Center the logo and first text block on mobile */
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-grid > div:first-child img {
        margin: 0 auto 15px auto !important; /* Center the logo image */
    }

    /* Adjust heading sizes for mobile */
    .footer-heading {
        font-size: 1.1rem !important;
        margin-bottom: 15px !important;
    }

    /* Ensure links don't break out of their container */
    .footer-links a {
        word-wrap: break-word !important;
        white-space: normal !important;
        line-height: 1.8 !important;
    }
}
/* ========================================================
   14. FIX: RTL OVERFLOW & DEAD-CENTER FEATURE CARDS
======================================================== */

/* Fix the global wrapper from causing RTL overflow */
.wrapper {
    width: 100% !important;      /* Replaces 100vw to stop horizontal scrolling */
    max-width: 100% !important;
    box-sizing: border-box !important;
}

@media (max-width: 768px) {
    /* 1. Stop the main glass panel from breaking the screen width */
    .glass-panel-sharp {
        width: 100% !important;
        max-width: 100% !important;
        padding: 25px 15px !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }

    /* 2. Force the Grid into a perfectly centered Flexbox column */
    .features-grid {
        display: flex !important; 
        flex-direction: column !important;
        width: 100% !important;
        margin: 0 auto !important;
        padding: 0 !important;
        align-items: center !important; /* Centers the cards horizontally */
        gap: 20px !important;
    }

    /* 3. Make sure the individual cards sit perfectly in the middle */
    .feature-card {
        width: 100% !important;
        max-width: 320px !important; /* Keeps them from looking too stretched */
        margin: 0 auto !important;   /* Locks them strictly to the center */
        box-sizing: border-box !important;
    }
}
/* ========================================================
   15. FIX: MOBILE CHECKOUT PAGE SQUISH (STACK VERTCALLY)
======================================================== */

@media (max-width: 768px) {
    /* 1. Force the checkout form to stack top-to-bottom */
    .woocommerce-checkout form.checkout { 
        display: flex !important; 
        flex-direction: column !important; /* This is the magic fix! */
        width: 100% !important; 
        gap: 40px !important; 
    }

    /* 2. Make the Billing form and the Order Review take 100% of the screen */
    #customer_details, 
    .woocommerce-checkout-review-order { 
        width: 100% !important; 
        max-width: 100% !important; 
    }

    /* 3. Make First Name and Last Name fields stack so they are easy to type in */
    .woocommerce-checkout .form-row-first, 
    .woocommerce-checkout .form-row-last { 
        width: 100% !important; 
        float: none !important; 
        clear: both !important;
    }

    /* 4. Fix the order summary table from spilling off the screen */
    .woocommerce table.shop_table {
        width: 100% !important;
        table-layout: auto !important; 
        word-wrap: break-word !important;
    }
    
    .woocommerce table.shop_table th, 
    .woocommerce table.shop_table td {
        padding: 15px 10px !important; /* Slightly smaller padding for mobile */
        font-size: 0.9rem !important;
    }

    /* 5. Fix the default dark-blue WooCommerce link color on the Coupon box */
    .woocommerce-form-coupon-toggle .woocommerce-info a {
        color: var(--cozy-blue) !important;
        text-shadow: 0 0 10px var(--cozy-blue-glow) !important;
        text-decoration: none !important;
    }
}
/* ========================================================
   16. FIX: PC MINI-CART IMAGE EXPLOSION
======================================================== */

/* 1. Revert to Flexbox (Safer because Woo puts Image & Text in one link) */
.woocommerce-mini-cart.cart_list li.woocommerce-mini-cart-item {
    display: flex !important; 
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 15px !important;
    flex-wrap: nowrap !important;
}

/* 2. Make the link holding the image & text behave like a neat row */
.woocommerce-mini-cart-item a:not(.remove) {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    text-align: right !important;
    flex-grow: 1 !important;
    width: auto !important; /* Stops the link from forcing 100% width */
}

/* 3. STRICT LOCK ON THE IMAGE (Prevents the explosion) */
.woocommerce-mini-cart-item img {
    width: 65px !important;       /* Hard lock width */
    min-width: 65px !important;   /* Stops text from crushing it */
    max-width: 65px !important;   /* Stops it from exploding */
    height: 65px !important;      /* Hard lock height */
    object-fit: cover !important; /* Keeps image looking nice */
    flex-shrink: 0 !important;    /* Forces it to stay a perfect square */
    margin: 0 !important;
    border-radius: 6px !important;
}

/* 4. Ensure Quantity stays on the left */
.woocommerce-mini-cart-item .quantity {
    margin-right: auto !important; /* Pushes to the left side in RTL */
    white-space: nowrap !important;
}
/* ========================================================
   17. SUPER COOL LOGIN & SCI-FI DASHBOARD
======================================================== */

/* --- A. THE LOGIN PANEL (ANIMATED NEON BORDER & LASER) --- */
.woocommerce-account form.login, 
.woocommerce-account form.register {
    position: relative !important;
    background: transparent !important;
    border: none !important;
    padding: 50px 40px !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8) !important;
    border-radius: 16px !important;
    z-index: 1;
}

/* 1. The Glowing Animated Border Trick */
.woocommerce-account form.login::before, 
.woocommerce-account form.register::before {
    content: ''; position: absolute;
    inset: -3px; /* Pushes the border slightly outside */
    border-radius: 18px;
    background: linear-gradient(90deg, var(--cozy-blue), #000, #ff4a4a, #000, var(--cozy-blue));
    background-size: 400%;
    z-index: -2;
    animation: neonTrace 8s linear infinite;
    filter: blur(4px);
}

/* 2. The Inner Dark Glass */
.woocommerce-account form.login::after, 
.woocommerce-account form.register::after {
    content: ''; position: absolute;
    inset: 0;
    border-radius: 16px;
    background: rgba(10, 10, 14, 0.95);
    backdrop-filter: blur(25px);
    z-index: -1;
}

/* 3. The Scanning Laser Line Effect */
.woocommerce-account form.login .scan-line {
    position: absolute; top: 0; left: 0; width: 100%; height: 2px;
    background: var(--cozy-blue);
    box-shadow: 0 0 15px var(--cozy-blue-glow), 0 0 30px var(--cozy-blue);
    opacity: 0.5; z-index: 10; pointer-events: none;
    animation: scanLaser 4s ease-in-out infinite alternate;
}

/* 4. Super Cool Input Fields */
.woocommerce-account .form-row input.input-text {
    background: rgba(0, 0, 0, 0.6) !important;
    border: none !important;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 8px 8px 0 0 !important;
    color: #fff !important;
    transition: all 0.4s ease !important;
}

.woocommerce-account .form-row input.input-text:focus {
    border-bottom: 2px solid var(--cozy-blue) !important;
    background: linear-gradient(0deg, rgba(100, 161, 255, 0.15) 0%, transparent 100%) !important;
    box-shadow: 0 15px 30px -5px rgba(100, 161, 255, 0.2) !important;
}

/* --- B. DASHBOARD WELCOME BANNER --- */
.stunx-welcome-banner {
    background: linear-gradient(135deg, rgba(100, 161, 255, 0.1) 0%, rgba(0, 0, 0, 0.4) 100%);
    border-right: 4px solid var(--cozy-blue);
    padding: 35px;
    border-radius: 12px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.stunx-welcome-banner h2 {
    color: #fff; font-size: 1.8rem; margin-bottom: 10px; font-weight: 800;
}

.stunx-welcome-banner h2 span {
    color: var(--cozy-blue);
    text-shadow: 0 0 15px var(--cozy-blue-glow);
}

.stunx-welcome-banner p { color: var(--accent-silver); font-size: 1rem; margin: 0; }

/* --- C. CONNECTED DEVICES GRID --- */
.stunx-devices-container { margin-bottom: 40px; }
.stunx-devices-container h3 {
    color: #fff; font-size: 1.3rem; margin-bottom: 20px;
    border-bottom: 1px solid var(--glass-border); padding-bottom: 10px;
}

.stunx-devices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.stunx-device-card {
    background: rgba(20, 20, 25, 0.6);
    border: 1px solid var(--glass-border);
    padding: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stunx-device-card:hover {
    border-color: var(--cozy-blue);
    background: rgba(100, 161, 255, 0.05);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
}

/* The glowing "Online" dot */
.device-status-dot {
    width: 10px; height: 10px;
    background: #00ff88;
    border-radius: 50%;
    box-shadow: 0 0 10px #00ff88;
    position: absolute;
    top: 15px; left: 15px;
    animation: blinkPulse 2s infinite;
}

.device-icon {
    width: 45px; height: 45px;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: var(--cozy-blue);
}

.device-icon svg { width: 24px; height: 24px; }

.device-info h4 { color: #fff; margin: 0 0 5px 0; font-size: 1rem; direction: ltr; text-align: right;}
.device-info span { color: var(--accent-silver); font-size: 0.85rem; display: block; }

/* --- D. DASHBOARD APP MENU TWEAKS --- */
.woocommerce-account .woocommerce-MyAccount-navigation ul {
    list-style: none !important; padding: 0 !important; margin: 0 0 30px 0 !important;
    display: grid !important; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)) !important; gap: 15px !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation li a {
    display: flex !important; align-items: center !important; justify-content: center !important;
    background: rgba(0,0,0,0.4); border: 1px solid var(--glass-border); padding: 15px 10px;
    border-radius: 8px; color: var(--accent-silver); font-weight: bold; text-decoration: none;
    transition: 0.3s;
}

.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation li a:hover {
    background: var(--cozy-blue); color: #fff; border-color: var(--cozy-blue);
    box-shadow: 0 5px 20px var(--cozy-blue-glow); transform: translateY(-3px);
}

/* Animations */
@keyframes neonTrace {
    0% { background-position: 0 0; }
    100% { background-position: 400% 0; }
}
@keyframes scanLaser {
    0% { top: 0; opacity: 0; }
    10% { opacity: 0.8; }
    90% { opacity: 0.8; }
    100% { top: 100%; opacity: 0; }
}
@keyframes blinkPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.8); }
}

/* ========================================================
   18. FIX: HIDE DEFAULT TEXT (NO DUPLICATE BANNERS)
======================================================== */

/* 1. ONLY hide the boring default WooCommerce text safely */
.woocommerce-account .woocommerce-MyAccount-content > p:nth-of-type(1),
.woocommerce-account .woocommerce-MyAccount-content > p:nth-of-type(2) {
    display: none !important;
}

/* Make sure the text color is bright and readable for other sections */
.woocommerce-MyAccount-content {
    color: var(--text-main);
}
/* ========================================================
   19. MOBILE DASHBOARD RESCALE (PC-LIKE VIBE)
======================================================== */
@media (max-width: 768px) {
    /* 1. Dashboard Menu: Keep it side-by-side (3 in a row) instead of stacking */
    .woocommerce-account .woocommerce-MyAccount-navigation ul {
        grid-template-columns: repeat(3, 1fr) !important; 
        gap: 8px !important;
    }
    
    .woocommerce-account .woocommerce-MyAccount-navigation li a {
        padding: 12px 5px !important;
        font-size: 0.75rem !important; /* Smaller text to fit perfectly */
        border-radius: 6px !important;
    }

    /* 2. Scale down the Welcome Banner */
    .stunx-welcome-banner {
        padding: 20px 15px !important;
    }
    
    .stunx-welcome-banner h2 {
        font-size: 1.3rem !important;
    }

    .stunx-welcome-banner p {
        font-size: 0.85rem !important;
    }

    /* 3. Scale down Connected Devices Cards */
    .stunx-device-card {
        padding: 12px !important;
        gap: 12px !important;
        border-radius: 8px !important;
    }

    /* Make the Device Icon smaller */
    .device-icon {
        width: 35px !important;
        height: 35px !important;
        border-radius: 6px !important;
    }

    .device-icon svg {
        width: 18px !important;
        height: 18px !important;
    }

    /* Adjust the blinking neon dot position */
    .device-status-dot {
        width: 8px !important;
        height: 8px !important;
        top: 10px !important;
        left: 10px !important;
    }

    /* Shrink the text inside the device card */
    .device-info h4 {
        font-size: 0.9rem !important;
        margin-bottom: 2px !important;
    }

    .device-info span {
        font-size: 0.75rem !important;
    }
}
/* ========================================================
   20. UNIVERSAL MOBILE "MINI-PC" SCALING (APP VIBE)
======================================================== */

@media (max-width: 768px) {
    /* --- 1. HERO SECTION & BUTTONS --- */
    .hero-title { font-size: 1.8rem !important; }
    .hero-subtitle { font-size: 0.9rem !important; margin-bottom: 25px !important; }
    .btn { padding: 10px 20px !important; font-size: 0.85rem !important; border-radius: 6px !important; }
    
        /* --- 2. FEATURES GRID (Mobile Fix with Text) --- */
    .features-grid {
        display: grid !important;
        grid-template-columns: 1fr !important; /* یک ستون زیر هم تا متن جا بشه */
        gap: 15px !important;
    }
    
    .feature-card { padding: 20px 15px !important; border-radius: 12px !important; }
    
    .feature-icon {
        width: 45px !important; height: 45px !important; margin-bottom: 15px !important;
    }
    
    .feature-icon svg { width: 24px !important; height: 24px !important; }
    .feature-card h3 { font-size: 1.1rem !important; margin-bottom: 10px !important; }
    
    /* برگرداندن توضیحات به موبایل */
    .feature-card p { 
        display: block !important; 
        font-size: 0.9rem !important; 
        line-height: 1.7 !important;
        color: #94a3b8 !important; 
    } 
    /* --- 3. PRODUCTS CAROUSEL (Show 2+ instead of 1 giant one) --- */
    .products-preview .products-grid { gap: 10px !important; padding-inline: 10px !important; scroll-padding-inline: 10px !important; }
    
    .product-card {
        flex: 0 0 160px !important; /* Miniaturized width */
    }
    
    .product-image {
        height: 140px !important; /* Smaller images */
        margin-bottom: 10px !important;
    }
    
    .product-card h3 { font-size: 0.85rem !important; }
    .product-card .price { font-size: 1rem !important; }
    .product-card .button { padding: 8px !important; font-size: 0.8rem !important; }

    /* --- 4. TRUST BADGES (Single Product Page) --- */
    .stunx-trust-badges {
        flex-wrap: nowrap !important; /* Keeps them in 1 neat row */
        gap: 5px !important;
        padding: 15px 0 !important;
    }
    .trust-badge svg { width: 22px !important; height: 22px !important; }
    .trust-badge span { font-size: 0.65rem !important; }

    /* Quantity & Add to Cart button scaling */
    .qty-and-button { gap: 10px !important; }
    .quantity .qty { width: 50px !important; height: 50px !important; font-size: 1rem !important; }

    /* --- 5. THE FOOTER (Compact Grid) --- */
    .footer-wrapper { padding: 40px 15px 20px !important; }
    
    .footer-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important; /* 2 Columns instead of 1 long list */
        gap: 20px !important;
    }

    /* Make the logo and description span all the way across the top */
    .footer-grid > div:first-child {
        grid-column: 1 / -1 !important; 
        margin-bottom: 10px !important;
    }

    .footer-heading { font-size: 0.95rem !important; margin-bottom: 12px !important; }
    .footer-heading::after { width: 30px !important; height: 2px !important; }
    
    .footer-links a, .footer-contact-info li { 
        font-size: 0.8rem !important; 
        margin-bottom: 8px !important; 
    }
    
    .footer-contact-info svg { width: 16px !important; height: 16px !important; }
    
    /* Social Icons scaled down */
    .social-icons a { width: 32px !important; height: 32px !important; }
    .social-icons svg { width: 14px !important; height: 14px !important; }
}
/* ========================================================
   21. CLEAN UP THE LOGIN PANEL (PREMIUM GLASS, NO CRAZY ANIMATIONS)
======================================================== */

/* 1. Safely turn off the PHP scanning laser */
.woocommerce-account form.login .scan-line {
    display: none !important;
}

/* 2. Turn off the crazy spinning neon border animations */
.woocommerce-account form.login::before, 
.woocommerce-account form.register::before,
.woocommerce-account form.login::after, 
.woocommerce-account form.register::after {
    display: none !important;
    animation: none !important;
}

/* 3. Apply a sleek, clean, elegant Glassmorphism look to the boxes */
.woocommerce-account form.login, 
.woocommerce-account form.register {
    background: rgba(15, 15, 20, 0.6) !important;
    backdrop-filter: blur(25px) !important;
    -webkit-backdrop-filter: blur(25px) !important;
    border: 1px solid var(--glass-border) !important;
    border-top: 3px solid var(--cozy-blue) !important; /* Elegant blue highlight on top */
    padding: 40px !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6) !important;
    border-radius: 12px !important;
}

/* 4. Keep the text inputs looking clean but interactive */
.woocommerce-account .form-row input.input-text {
    background: rgba(0, 0, 0, 0.5) !important;
    border: 1px solid var(--glass-border) !important;
    border-radius: 8px !important;
    color: #fff !important;
    transition: all 0.3s ease !important;
}

/* Subtle, elegant lift and glow when typing */
.woocommerce-account .form-row input.input-text:focus {
    border-color: var(--cozy-blue) !important;
    background: rgba(100, 161, 255, 0.05) !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5), inset 0 0 10px rgba(100, 161, 255, 0.1) !important;
    transform: translateY(-2px) !important;
}
/* ========================================================
   22. FIX: SINGLE CENTERED LOGIN BOX WITH TOGGLE
======================================================== */

/* 1. Force the container to be a single, perfectly centered column */
#customer_login {
    display: block !important;
    width: 100% !important;
    max-width: 450px !important; /* Perfect width for a modern App login */
    margin: 0 auto !important; /* Dead center on the page */
}

/* 2. Kill WooCommerce's broken side-by-side layout */
#customer_login .u-column1, 
#customer_login .u-column2 {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 3. Center the titles nicely */
#customer_login h2 {
    text-align: center !important;
    font-size: 1.6rem !important;
    margin-bottom: 20px !important;
    border-bottom: none !important; /* Removes the old underline */
}

/* 4. Fix the "Remember Me" alignment for RTL */
.woocommerce-account .woocommerce-form-login__rememberme {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
}

.woocommerce-account .woocommerce-form-login__rememberme input[type="checkbox"] {
    margin: 0 !important;
    width: 16px !important;
    height: 16px !important;
    accent-color: var(--cozy-blue) !important;
}
/* ========================================================
   23. SECONDARY BUTTON TWEAKS (REGISTER / BACK TO LOGIN)
======================================================== */

/* Style for the newly injected Register button under "Forgot Password" */
a.stunx-secondary-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    margin-top: 15px !important;
    background: transparent !important;
    color: var(--cozy-blue) !important;
    border: 1px solid var(--cozy-blue) !important;
    box-shadow: none !important;
    text-decoration: none !important;
}

a.stunx-secondary-btn:hover {
    background: rgba(100, 161, 255, 0.1) !important;
    color: #fff !important;
    box-shadow: 0 0 15px var(--cozy-blue-glow) !important;
    transform: translateY(-2px) !important;
}

/* Make sure the forgot password link has some breathing room */
.woocommerce-account .woocommerce-LostPassword {
    margin-bottom: 20px !important;
}
/* ========================================================
   24. "THE GOOD SHIT" - PREMIUM AGENCY LOGIN UPGRADES 🚀
======================================================== */

/* 1. The Ambient "Vercel/Stripe" Background Glow Orb */
.woocommerce-account .wrapper {
    position: relative;
    z-index: 1;
}

.woocommerce-account .wrapper::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 60vw; height: 60vw;
    max-width: 800px; max-height: 800px;
    background: radial-gradient(circle, var(--cozy-blue-glow) 0%, transparent 60%);
    opacity: 0.4;
    z-index: -1;
    pointer-events: none;
    filter: blur(80px); /* Creates the soft, smoky neon effect */
    animation: breatheOrb 8s infinite alternate ease-in-out;
}

/* 2. The Floating Agency Tagline */
#customer_login::before {
    content: '✨ پلتفرم خلق شاهکارهای دیجیتال'; /* "Platform for creating digital masterpieces" */
    display: block;
    text-align: center;
    color: var(--cozy-blue);
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 25px;
    text-shadow: 0 0 15px var(--cozy-blue-glow);
    animation: floatUpDown 4s infinite ease-in-out;
}

/* 3. The "Tesla" Light Sweep on the Login Button */
.woocommerce-account button.woocommerce-button {
    position: relative;
    overflow: hidden; /* Keeps the light inside the button */
}

.woocommerce-account button.woocommerce-button::after {
    content: '';
    position: absolute;
    top: 0; left: -150%; 
    width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    transform: skewX(-25deg);
    animation: buttonShine 4s infinite;
}

/* 4. Make Inputs Feel Like a Native iOS App */
.woocommerce-account .form-row input.input-text {
    font-size: 1.1rem !important;
    letter-spacing: 1px !important;
    text-align: center !important; /* Centers the text they type */
}

.woocommerce-account .form-row input.input-text:focus {
    transform: scale(1.02) !important; /* Slightly pops out the input box */
    border-color: #fff !important; /* Turns bright white on focus */
    box-shadow: 0 10px 30px rgba(0,0,0,0.8), 0 0 20px var(--cozy-blue-glow) !important;
}

/* --- Smooth Animations --- */
@keyframes breatheOrb {
    0% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.2; }
    100% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.5; }
}

@keyframes floatUpDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); text-shadow: 0 0 25px var(--cozy-blue); }
}

@keyframes buttonShine {
    0% { left: -150%; }
    20% { left: 200%; } /* Sweeps across quickly */
    100% { left: 200%; } /* Waits before sweeping again */
}
/* ========================================================
   25. MATH CAPTCHA & PRIVACY TEXT STYLING
======================================================== */

/* 1. Make the Farsi Privacy text look incredibly clean */
.woocommerce-privacy-policy-text {
    text-align: center !important;
    font-size: 0.85rem !important;
    color: var(--accent-silver) !important;
    line-height: 1.8 !important;
    background: rgba(0, 0, 0, 0.3) !important;
    padding: 15px !important;
    border-radius: 8px !important;
    border: 1px dashed rgba(255, 255, 255, 0.1) !important;
    margin-bottom: 25px !important;
}

/* 2. Styling the Captcha Row */
.stunx-captcha-row {
    margin-top: 10px !important;
    margin-bottom: 25px !important;
    padding-top: 20px !important;
    border-top: 1px dashed var(--glass-border) !important;
}

/* The Math Question Label */
.stunx-captcha-row label {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    font-size: 0.95rem !important;
    color: var(--text-main) !important;
    margin-bottom: 15px !important;
}

/* The glowing math numbers */
.stunx-captcha-row label b {
    background: rgba(100, 161, 255, 0.1) !important;
    border: 1px solid var(--cozy-blue) !important;
    color: var(--cozy-blue) !important;
    padding: 4px 15px !important;
    border-radius: 6px !important;
    font-family: monospace !important;
    font-size: 1.2rem !important;
    box-shadow: 0 0 10px var(--cozy-blue-glow) !important;
    letter-spacing: 2px !important;
    direction: ltr !important;
}

/* 3. The Captcha Input Box Validation effect */
.stunx-captcha-row input {
    border-color: rgba(255,255,255,0.2) !important;
    font-size: 1.3rem !important;
    font-family: monospace !important;
    font-weight: bold !important;
    width: 100px !important;
    margin: 0 auto !important; /* Centers the input box */
    display: block !important;
}

.stunx-captcha-row input:focus {
    border-color: #00ff88 !important; /* Glows hacker-green when typing the answer! */
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.4) !important;
    color: #00ff88 !important;
}

/* Hide the up/down arrows inside the number input box */
.stunx-captcha-row input::-webkit-outer-spin-button,
.stunx-captcha-row input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
/* ========================================================
   🛠️ EMERGENCY FIXES: CART & FOOTER SLIDER OVERLAP
======================================================== */
/* 1. FIX THE CART PANEL POSITIONING */
.stunx-mini-cart-panel {
    position: fixed !important; 
    top: 0 !important;          
    z-index: 100005 !important; 
}
/* 2. FIX THE SLIDER / FOOTER OVERLAP */
.site-main, #primary, .wrapper {
    clear: both !important;
    display: block !important;
}
.products-preview, .slider-container, .swiper-container, .slick-list {
    position: relative !important;
    z-index: 5 !important;
    margin-bottom: 60px !important; 
    clear: both !important;
}
.site-footer {
    clear: both !important;
    position: relative !important;
    z-index: 50 !important;
    margin-top: 80px !important;
    display: block !important;
    width: 100% !important;
}
/* Prevent scrolling when cart is open */
body.cart-open {
    overflow: hidden !important;
}

/* Ensure proper stacking */
.stunx-cart-overlay {
    z-index: 100000 !important;
}

.stunx-mini-cart-panel {
    z-index: 100005 !important;
}

/* Smooth animation for shooting stars */
.shooting-star-effect {
    will-change: left, top, opacity;
}
/* =========================================
   MINI PC VERSION - COMPACT BOXES
========================================= */

/* Container sizing for "mini PC" appearance */
.wrapper, .content, main {
    max-width: 1400px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 30px 15px !important;
}

/* Compact glass containers */
.glass-card, .glass-panel-sharp, .stunx-glass-container {
    max-width: 100% !important;
    padding: 25px !important;
    margin-bottom: 20px !important;
    border-radius: 10px !important;
    background: rgba(15, 15, 20, 0.8) !important;
    border: 1px solid rgba(96, 165, 250, 0.15) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
}

/* Smaller section containers */
section {
    max-width: 900px !important;
    margin: 0 auto 25px !important;
    padding: 0 !important;
}

/* Compact header styling */
.main-header {
    max-width: 100% !important;
    margin: 0 !important;
}

/* Smaller footer */
.site-footer {
    max-width: 100% !important;
}

.footer-wrapper {
    max-width: 1400px !important;
    padding: 50px 15px 30px !important;
}

/* Mini PC grid layout */
.features-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
    gap: 15px !important;
    width: 100% !important;
}

.feature-card {
    padding: 20px !important;
    background: rgba(20, 20, 30, 0.6) !important;
    border: 1px solid rgba(96, 165, 250, 0.1) !important;
    border-radius: 8px !important;
    text-align: center !important;
}

/* Compact article/post boxes */
article {
    max-width: 100% !important;
    padding: 0 !important;
}

/* Smaller product cards */
.product-card {
    max-width: 100% !important;
    padding: 15px !important;
    background: rgba(20, 20, 30, 0.6) !important;
    border: 1px solid rgba(96, 165, 250, 0.1) !important;
    border-radius: 8px !important;
    margin-bottom: 15px !important;
}

/* Compact table styling */
.woocommerce table.shop_table {
    max-width: 100% !important;
    font-size: 0.95rem !important;
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
    padding: 15px !important;
}

/* Mini cart optimized */
.stunx-mini-cart-panel {
    max-width: 380px !important;
    width: 85vw !important;
}

/* Compact spacing */
h1, h2, h3, h4 {
    margin-top: 20px !important;
    margin-bottom: 12px !important;
}

p {
    margin-bottom: 15px !important;
}

/* Button sizing for mini PC */
.btn, button, .button {
    padding: 11px 25px !important;
    font-size: 0.95rem !important;
    min-width: 120px !important;
}

/* Compact box containers */
.hero-section, .section-content {
    max-width: 900px !important;
    margin: 0 auto !important;
    padding: 40px 15px !important;
}

/* Mini app-like dashboard feel */
.content-box, .info-box, .notification-box {
    background: rgba(15, 15, 20, 0.8) !important;
    border: 1px solid rgba(96, 165, 250, 0.15) !important;
    border-radius: 8px !important;
    padding: 20px !important;
    margin-bottom: 15px !important;
    max-width: 100% !important;
}

/* Compact footer grid */
.footer-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) !important;
    gap: 20px !important;
    max-width: 100% !important;
}

/* Smaller sidebar if exists */
.sidebar, .shop-sidebar {
    max-width: 280px !important;
    margin-left: 20px !important;
}

/* Tighter vertical spacing */
.wrapper > section {
    margin-bottom: 30px !important;
}

.glass-card + .glass-card {
    margin-top: 20px !important;
}

/* Mini PC responsive breakpoint */
@media (max-width: 1200px) {
    .wrapper, .content, main {
        max-width: 850px !important;
        padding: 25px 12px !important;
    }

    .glass-card, .glass-panel-sharp {
        padding: 20px !important;
    }

    .footer-wrapper {
        max-width: 850px !important;
        padding: 40px 12px 25px !important;
    }

    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) !important;
        gap: 12px !important;
    }
}

@media (max-width: 768px) {
    .wrapper, .content, main {
        max-width: 100% !important;
        padding: 20px 10px !important;
        width: 100vw !important;
        margin-left: 0 !important;
    }

    .glass-card, .glass-panel-sharp, .stunx-glass-container {
        padding: 18px !important;
        margin-bottom: 15px !important;
        border-radius: 8px !important;
        width: 100% !important;
    }

    section {
        margin-bottom: 20px !important;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

    .feature-card {
        padding: 15px !important;
        font-size: 0.9rem !important;
    }

    .footer-wrapper {
        max-width: 100% !important;
        padding: 30px 10px 20px !important;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }

    .btn, button, .button {
        padding: 10px 20px !important;
        font-size: 0.9rem !important;
    }

    h1 {
        font-size: 1.6rem !important;
    }

    h2 {
        font-size: 1.3rem !important;
    }

    h3 {
        font-size: 1rem !important;
    }

    p {
        font-size: 0.9rem !important;
    }
}

@media (max-width: 480px) {
    .wrapper, .content, main {
        padding: 15px 8px !important;
    }

    .glass-card, .glass-panel-sharp {
        padding: 15px !important;
        margin-bottom: 12px !important;
    }

    .features-grid {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
    }

    .footer-grid {
        grid-template-columns: 1fr !important;
    }

    .btn, button, .button {
        width: 100% !important;
        padding: 12px 15px !important;
    }
}

/* Compact card appearance */
.card-compact {
    background: rgba(15, 15, 20, 0.8) !important;
    border: 1px solid rgba(96, 165, 250, 0.1) !important;
    border-radius: 8px !important;
    padding: 18px !important;
    margin-bottom: 15px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}

/* Mini app-like dashboard feel */
.dashboard-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
    gap: 15px !important;
    width: 100% !important;
}

.dashboard-card {
    background: rgba(15, 15, 20, 0.8) !important;
    border: 1px solid rgba(96, 165, 250, 0.1) !important;
    border-radius: 8px !important;
    padding: 20px !important;
    transition: all 0.3s ease !important;
}

.dashboard-card:hover {
    border-color: rgba(96, 165, 250, 0.3) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), inset 0 0 15px rgba(100, 161, 255, 0.05) !important;
    transform: translateY(-2px) !important;
}

/* Mini PC centered layout */
body {
    display: flex !important;
    flex-direction: column !important;
}

main {
    flex: 1 !important;
    max-width: 1400px !important;
    width: 100% !important;
    margin: 0 auto !important;
}

.site-footer {
    width: 100% !important;
    max-width: 100% !important;
}
/* =========================================
   INTERACTIVE GLOW EFFECT ON BOXES
========================================= */

/* Glass cards glow on hover */
.glass-card:hover,
.glass-card:focus,
.glass-card:active,
.glass-panel-sharp:hover,
.stunx-glass-container:hover,
.card-compact:hover,
.dashboard-card:hover,
.feature-card:hover,
.product-card:hover {
    border-color: rgba(100, 161, 255, 0.4) !important;
    background: rgba(15, 15, 20, 0.95) !important;
    box-shadow: 0 12px 35px rgba(100, 161, 255, 0.25), 
                inset 0 0 20px rgba(100, 161, 255, 0.1),
                0 0 30px rgba(100, 161, 255, 0.3) !important;
    transform: translateY(-3px) !important;
}

/* Touch state for mobile */
.glass-card:active,
.glass-panel-sharp:active,
.stunx-glass-container:active,
.card-compact:active,
.dashboard-card:active,
.feature-card:active,
.product-card:active {
    border-color: rgba(100, 161, 255, 0.5) !important;
    box-shadow: 0 15px 40px rgba(100, 161, 255, 0.35),
                inset 0 0 25px rgba(100, 161, 255, 0.15),
                0 0 40px rgba(100, 161, 255, 0.4) !important;
    transform: translateY(-5px) !important;
}

/* Extra glow for focused elements */
.glass-card:focus-within,
.glass-panel-sharp:focus-within,
.stunx-glass-container:focus-within {
    border-color: rgba(100, 161, 255, 0.5) !important;
    box-shadow: 0 12px 35px rgba(100, 161, 255, 0.3),
                inset 0 0 25px rgba(100, 161, 255, 0.12),
                0 0 35px rgba(100, 161, 255, 0.35) !important;
}

/* Smooth transition for glow effect */
.glass-card,
.glass-panel-sharp,
.stunx-glass-container,
.card-compact,
.dashboard-card,
.feature-card,
.product-card {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

/* Content boxes glow */
.content-box:hover,
.info-box:hover,
.notification-box:hover {
    border-color: rgba(100, 161, 255, 0.4) !important;
    box-shadow: 0 8px 25px rgba(100, 161, 255, 0.25),
                inset 0 0 15px rgba(100, 161, 255, 0.1),
                0 0 25px rgba(100, 161, 255, 0.3) !important;
}

/* Mini cart panel glow on interaction */
.stunx-mini-cart-panel:hover {
    border-color: rgba(100, 161, 250, 0.3) !important;
    box-shadow: -15px 0 50px rgba(100, 161, 255, 0.2),
                inset 0 0 20px rgba(100, 161, 255, 0.05) !important;
}

/* Article/post boxes glow */
article:hover {
    box-shadow: 0 12px 35px rgba(100, 161, 255, 0.2) !important;
}

/* Mobile touch-friendly glow */
@media (hover: none) and (pointer: coarse) {
    .glass-card,
    .glass-panel-sharp,
    .stunx-glass-container,
    .card-compact,
    .dashboard-card,
    .feature-card,
    .product-card {
        transition: all 0.3s ease !important;
    }

    .glass-card:active,
    .glass-panel-sharp:active,
    .stunx-glass-container:active,
    .card-compact:active,
    .dashboard-card:active,
    .feature-card:active,
    .product-card:active {
        border-color: rgba(100, 161, 255, 0.5) !important;
        background: rgba(15, 15, 20, 0.95) !important;
        box-shadow: 0 12px 35px rgba(100, 161, 255, 0.3),
                    inset 0 0 20px rgba(100, 161, 255, 0.12),
                    0 0 35px rgba(100, 161, 255, 0.35) !important;
        transform: scale(0.98) !important;
    }
}

/* Extra glow animation on hover (optional) */
@keyframes glowPulse {
    0% {
        box-shadow: 0 0 20px rgba(100, 161, 255, 0.2);
    }
    50% {
        box-shadow: 0 0 30px rgba(100, 161, 255, 0.35);
    }
    100% {
        box-shadow: 0 0 20px rgba(100, 161, 255, 0.2);
    }
}

/* Apply glow animation on interaction */
.glass-card.glowing,
.glass-panel-sharp.glowing,
.dashboard-card.glowing {
    animation: glowPulse 2s ease-in-out infinite !important;
}

/* Button glow on interaction */
.btn:hover,
button:hover,
.button:hover,
.btn:active,
button:active,
.button:active {
    box-shadow: 0 12px 35px var(--cozy-blue-glow),
                inset 0 1px 0 rgba(255, 255, 255, 0.3),
                0 0 30px rgba(100, 161, 255, 0.35) !important;
}

/* Intense glow for primary buttons */
.btn-primary:hover,
.button-primary:hover,
.checkout:hover {
    box-shadow: 0 15px 45px rgba(100, 161, 255, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.4),
                0 0 40px rgba(100, 161, 255, 0.5) !important;
}

/* Text link glow */
a:active,
a:focus {
    color: #7bb0ff !important;
    text-shadow: 0 0 15px var(--cozy-blue-glow) !important;
}

/* Form elements glow on focus */
input:focus,
textarea:focus,
select:focus {
    border-color: var(--cozy-blue) !important;
    box-shadow: 0 0 20px var(--cozy-blue-glow),
                inset 0 0 10px rgba(100, 161, 255, 0.1) !important;
}

/* Table rows glow on hover */
.woocommerce table.shop_table tr:hover {
    background: rgba(100, 161, 255, 0.08) !important;
    box-shadow: inset 0 0 15px rgba(100, 161, 255, 0.1) !important;
}
.moon-orb{
  width: 140px;
  height: 140px;
  border-radius: 50%;
  position: fixed;
  top: 6vh;
  left: 50%;
  transform: translateX(-50%);

  z-index: 5;
  pointer-events: none;
  opacity: 1;

  background:
    radial-gradient(circle at 35% 30%,
      rgba(255,255,255,0.96) 0%,
      rgba(233,213,255,0.92) 18%,
      rgba(167,139,250,0.60) 50%,
      rgba(30,41,59,0.0) 72%),
    radial-gradient(circle at 58% 55%, rgba(255,255,255,0.10) 0 12px, transparent 13px),
    radial-gradient(circle at 45% 67%, rgba(0,0,0,0.22) 0 16px, transparent 17px),
    radial-gradient(circle at 25% 38%, rgba(0,0,0,0.18) 0 10px, transparent 11px),
    radial-gradient(circle at 70% 30%, rgba(0,0,0,0.12) 0 9px, transparent 10px);

  box-shadow:
    0 0 20px rgba(233,213,255,0.55),
    0 0 90px rgba(167,139,250,0.35),
    0 0 180px rgba(99,102,241,0.18);

  animation: moonPulse 2.6s ease-in-out infinite;
}

@keyframes moonPulse{
  0%, 100%{
    filter: brightness(1) saturate(1);
    transform: translateX(-50%) scale(1);
  }
  50%{
    filter: brightness(1.12) saturate(1.08);
    transform: translateX(-50%) scale(1.05);
  }
}
.hero-logo{
  width:110px;
  height:110px;
  margin-bottom:20px;
  position:relative;
  z-index:2;
  flex-shrink:0;
  border-radius:50%;
  font-size:0;
  font-weight:bold;

  background:
    radial-gradient(circle at 35% 30%, rgba(255,255,255,0.95) 0%, rgba(80,255,210,0.65) 18%, rgba(0,170,255,0.22) 50%, rgba(0,0,0,0) 70%),
    radial-gradient(circle at 60% 70%, rgba(138,92,255,0.20) 0%, rgba(0,0,0,0) 60%);

  box-shadow:
    0 0 50px rgba(80,255,210,0.35),
    0 0 120px rgba(0,170,255,0.18),
    inset -6px -6px 18px rgba(0,0,0,0.45),
    inset 6px 6px 16px rgba(255,255,255,0.18),
    0 0 0 1px rgba(255,255,255,0.08);

  border:2px solid rgba(255,255,255,0.1);
  animation: orbPulse 2.8s.ease-in-out infinite;
}

.hero-logo::before{
  content:'';
  position:absolute;
  inset:-6px;
  border-radius:50%;
  background:
    conic-gradient(from 180deg,
      rgba(80,255,210,0.0),
      rgba(80,255,210,0.65),
      rgba(0,170,255,0.6),
      rgba(138,92,255,0.55),
      rgba(80,255,210,0.0));
  filter: blur(0.2px);
  mask: radial-gradient(circle, transparent 62%, #000 64%);
  opacity:0.95;
  animation:ringSpin 3.6s linear infinite;
  pointer-events:none;
}

.hero-logo::after{
  content:'';
  position:absolute;
  inset:14px;
  border-radius:50%;
  background:
    radial-gradient(circle at 50% 50%,
      rgba(255,255,255,0.20) 0%,
      rgba(80,255,210,0.25) 25%,
      rgba(0,0,0,0) 60%),
    radial-gradient(circle at 25% 45%, rgba(255,255,255,0.18) 0 2px, transparent 3px),
    radial-gradient(circle at 70% 35%, rgba(80,255,210,0.18) 0 2px, transparent 3px),
    radial-gradient(circle at 60% 75%, rgba(0,170,255,0.16) 0 2px, transparent 3px),
    radial-gradient(circle at 35% 70%, rgba(138,92,255,0.14) 0 2px, transparent 3px);
  box-shadow: inset 0 0 20px rgba(80,255,210,0.25);
  opacity:0.95;
  pointer-events:none;
}

@keyframes orbPulse{
  0%,100%{
    transform: translateY(0) scale(1);
    filter: saturate(1) brightness(1);
    box-shadow:
      0 0 50px rgba(80,255,210,0.32),
      0 0 120px rgba(0,170,255,0.18),
      inset -6px -6px 18px rgba(0,0,0,0.45),
      inset 6px 6px 16px rgba(255,255,255,0.18),
      0 0 0 1px rgba(255,255,255,0.08);
  }
  50%{
    transform: translateY(-3px) scale(1.05);
    filter: saturate(1.18) brightness(1.05);
    box-shadow:
      0 0 62px rgba(80,255,210,0.45),
      0 0 160px rgba(0,170,255,0.28),
      inset -6px -6px 18px rgba(0,0,0,0.45),
      inset 6px 6px 16px rgba(255,255,255,0.22),
      0 0 0 1px rgba(255,255,255,0.10);
  }
}

@keyframes ringSpin{
  from{ transform: rotate(0deg); }
  to{ transform: rotate(360deg); }
}
/* ========================================================
   STUNX CONTACT PAGE - FULL WIDTH & CENTERED ORB
======================================================== */
#stunx-contact-page {
    direction: rtl !important;
    text-align: center !important;
    background: #020617 !important;
    padding: 60px 20px !important;
    font-family: 'Vazirmatn', 'Tahoma', sans-serif !important;
    color: #fff !important;
    
    /* THE BREAKOUT TRICK: Forces it to be full screen width */
    width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    max-width: 100vw !important;
    border-top: 1px solid rgba(45, 212, 191, 0.2) !important;
    border-bottom: 1px solid rgba(45, 212, 191, 0.2) !important;
    overflow: hidden !important;
}

/* === THE ORB (Your exact original code + center lock) === */
.stunx-orb-container {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin-bottom: 40px !important;
    width: 100% !important;
}

.stunx-orb {
    width: 150px !important;
    height: 150px !important;
    min-width: 150px !important;
    min-height: 150px !important;
    border-radius: 50% !important;
    background: radial-gradient(circle at 35% 35%, #5eead4, #0d9488, #042f2e) !important;
    box-shadow: 0 0 50px rgba(45, 212, 191, 0.4), inset -10px -10px 20px rgba(0,0,0,0.6) !important;
    animation: stunxFloat 4s ease-in-out infinite !important;
    margin: 0 auto !important; /* Locks it to the center */
    display: block !important;
}

@keyframes stunxFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* === HEADERS === */
.stunx-contact-header {
    font-size: 2.5rem !important;
    font-weight: 900 !important;
    margin-bottom: 15px !important;
    display: block !important;
    width: 100% !important;
}

.stunx-contact-desc {
    color: #2dd4bf !important;
    font-size: 1.1rem !important;
    margin-bottom: 50px !important;
    display: block !important;
    width: 100% !important;
}
/* ========================================================
   STUNX CONTACT PAGE - SATURN ORB & PERFECT CENTERING
======================================================== */
#stunx-contact-page {
    /* تنظیمات قفل کردن باکس در وسط صفحه (خنثی کردن کدهای قبلی) */
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important; /* این خط باعث میشه همه متن‌ها وسط‌چین بشن */
    justify-content: flex-start !important;
    
    position: relative !important;
    left: auto !important;
    right: auto !important;
    margin: 40px auto !important; 
    transform: none !important;
    clear: both !important;
    
    direction: rtl !important;
    background: #020617 !important;
    padding: 60px 20px !important;
    border-radius: 35px !important; 
    
    width: 95% !important; /* کمی حاشیه برای موبایل */
    max-width: 900px !important; /* عرض نهایی باکس */
    
    font-family: 'Vazirmatn', 'Tahoma', sans-serif !important;
    color: #fff !important;
    border: 1px solid rgba(45, 212, 191, 0.2) !important;
    box-sizing: border-box !important;
}

/* === THE ORB BOX === */
.stunx-orb-container {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin-bottom: 50px !important;
    width: 100% !important;
    perspective: 1000px !important; /* برای 3D شدن حلقه زحل */
}

/* === THE SATURN ORB === */
.stunx-orb {
    width: 150px !important;
    height: 150px !important;
    min-width: 150px !important;
    min-height: 150px !important;
    border-radius: 50% !important;
    background: radial-gradient(circle at 35% 35%, #5eead4, #0d9488, #042f2e) !important;
    box-shadow: 0 0 50px rgba(45, 212, 191, 0.4), inset -10px -10px 20px rgba(0,0,0,0.6) !important;
    animation: stunxFloat 4s.ease-in-out infinite !important;
    margin: 0 !important;
    display: block !important;
    position: relative !important; /* برای نگه‌داشتن حلقه‌ها */
    transform-style: preserve-3d !important;
}

/* === SATURN RING 1 (Main Glow) === */
.stunx-orb::before {
    content: '' !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 280px !important;
    height: 280px !important;
    border-radius: 50% !important;
    border: 3px solid rgba(45, 212, 191, 0.5) !important;
    transform: translate(-50%, -50%) rotateX(75deg) rotateY(-15deg) !important; 
    box-shadow: 0 0 25px rgba(45, 212, 191, 0.6), inset 0 0 20px rgba(45, 212, 191, 0.5) !important;
    pointer-events: none !important;
}

/* === SATURN RING 2 (Inner Crystal Line) === */
.stunx-orb::after {
    content: '' !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 240px !important;
    height: 240px !important;
    border-radius: 50% !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    transform: translate(-50%, -50%) rotateX(75deg) rotateY(-15deg) !important;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2) !important;
    pointer-events: none !important;
}

@keyframes stunxFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* === HEADERS (Strictly Centered) === */
.stunx-contact-header {
    font-size: 2.5rem !important;
    font-weight: 900 !important;
    color: #fff !important;
    margin: 0 0 15px 0 !important;
    display: block !important;
    width: 100% !important;
    text-align: center !important;
}

.stunx-contact-desc {
    color: #2dd4bf !important;
    font-size: 1.1rem !important;
    margin: 0 0 50px 0 !important;
    display: block !important;
    width: 100% !important;
    text-align: center !important;
}

/* === CARDS === */
.stunx-grid-vertical {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 25px !important;
    width: 100% !important;
    margin: 0 !important;
}

.stunx-card {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(45, 212, 191, 0.1) !important;
    padding: 40px 30px !important;
    border-radius: 25px !important;
    width: 100% !important; 
    transition: 0.3s !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    box-sizing: border-box !important;
}

.stunx-card:hover {
    border-color: #2dd4bf !important;
    transform: translateY(-8px) !important;
    background: rgba(45, 212, 191, 0.05) !important;
}

.stunx-card h3 {
    color: #2dd4bf !important;
    font-size: 1.6rem !important;
    margin: 0 0 15px 0 !important;
    width: 100% !important;
    text-align: center !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 10px !important;
}

.stunx-card p {
    color: #94a3b8 !important;
    line-height: 1.8 !important;
    font-size: 1.05rem !important;
    margin: 0 0 25px 0 !important;
    width: 100% !important;
    text-align: center !important;
}

/* === BUTTONS === */
.stunx-btn {
    display: block !important;
    width: 100% !important;
    background: rgba(45, 212, 191, 0.1) !important;
    color: #fff !important;
    padding: 15px !important;
    border-radius: 12px !important;
    text-decoration: none !important;
    font-family: monospace !important;
    font-weight: bold !important;
    font-size: 1.1rem !important;
    border: 1px solid rgba(45, 212, 191, 0.2) !important;
    transition: 0.3s !important;
    margin: 0 0 10px 0 !important;
    box-sizing: border-box !important;
}

.stunx-btn:hover {
    background: #2dd4bf !important;
    color: #020617 !important;
}

.stunx-btn-premium {
    background: linear-gradient(135deg, #0d9488, #2dd4bf) !important;
    border: none !important;
    color: #020617 !important;
}
/* ========================================================
   FIX: PRODUCTS GRID (PC) - HORIZONTAL SLIDER
======================================================== */
.products-preview .products-grid {
    display: flex !important;
    flex-wrap: nowrap !important; /* جلوگیری از رفتن به خط بعد */
    overflow-x: auto !important;  /* فعال‌سازی اسکرول افقی */
    gap: 30px !important;
    padding-bottom: 20px !important; /* فضا برای اسکرول‌بار */
    width: 100% !important;
}

.product-card {
    flex: 0 0 calc(33.333% - 20px) !important; /* نمایش 3 محصول در کامپیوتر */
    min-width: 280px !important; /* جلوگیری از خیلی فشرده شدن */
    max-width: 400px !important;
    box-sizing: border-box !important;
}

/* در سایز تبلت، 2 محصول نشان داده شود */
@media (max-width: 1024px) {
    .product-card {
        flex: 0 0 calc(50% - 15px) !important;
    }
}
/* ========================================================
   ULTIMATE FRONT-PAGE FIX (GRID, ALIGNMENT & SLIDER)
======================================================== */

/* --- 1. بخش ویژگی‌ها (تضمین کیفیت و ...) --- */
.features-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important; /* 3 ستون در کامپیوتر */
    gap: 30px !important;
    align-items: stretch !important; /* این خط باعث می‌شود هر 3 باکس هم‌قد شوند */
}

.feature-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    height: 100% !important; /* پر کردن کل ارتفاع کشیده شده */
    justify-content: flex-start !important;
}

.feature-card p {
    display: block !important; /* برگرداندن توضیحات */
    font-size: 0.95rem !important;
    line-height: 1.8 !important;
    color: #94a3b8 !important;
    margin-top: 15px !important;
}

/* موبایل: زیر هم چیده شوند */
@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr !important;
    }
}

/* --- 2. بخش محصولات (اسلایدر افقی و تراز دکمه‌ها) --- */
.products-preview .products-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important; /* اسکرول افقی */
    gap: 30px !important;
    padding-bottom: 20px !important;
    align-items: stretch !important; /* همه کارت‌های محصول هم‌قد می‌شوند */
}

.product-card {
    flex: 0 0 calc(33.333% - 20px) !important; /* 3 محصول در کامپیوتر */
    min-width: 280px !important;
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
}

/* این بخش باعث می‌شود فاصله خالی بین عکس و قیمت پر شود */
.product-link-wrapper {
    flex-grow: 1 !important; 
    display: flex !important;
    flex-direction: column !important;
}

/* هل دادن قیمت و دکمه افزودن به سبد به کف کارت */
.product-card .price {
    margin-top: 15px !important;
}

.product-card .ajax_add_to_cart,
.product-card .button {
    margin-top: auto !important; /* جادوی تراز کردن دکمه‌ها در کف باکس */
    width: 100% !important;
    text-align: center !important;
    float: none !important; /* خنثی کردن فلوت مخرب ووکامرس */
    display: block !important;
    box-sizing: border-box !important;
}

/* رسپانسیو اسلایدر محصولات */
@media (max-width: 1024px) {
    .product-card { flex: 0 0 calc(50% - 15px) !important; } /* 2 محصول در تبلت */
}
@media (max-width: 768px) {
    .product-card { flex: 0 0 80vw !important; } /* اسلایدر کارتی در موبایل */
}
 /* ========================================================
   STUNX ABOUT US PAGE - RED SATURN & STORY
======================================================== */

#stunx-about-page {
    direction: rtl !important;
    background: #020617 !important;
    padding: 60px 40px !important;
    font-family: 'Vazirmatn', 'Tahoma', sans-serif !important;
    color: #fff !important;
    width: 100% !important;
    max-width: 900px !important;
    margin: 40px auto !important;
    border-radius: 30px !important;
    border: 1px solid rgba(220, 38, 38, 0.15) !important;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5) !important;
    position: relative !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

/* افکت درخشش پس‌زمینه */
#stunx-about-page::before {
    content: '' !important;
    position: absolute !important;
    top: 10% !important; 
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 600px !important; 
    height: 600px !important;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.08) 0%, transparent 60%) !important;
    z-index: 0 !important;
    pointer-events: none !important;
}

/* === سیاره سرخ (Red Saturn) === */
.red-saturn-container {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin-bottom: 60px !important;
    margin-top: 20px !important;
    width: 100% !important;
    perspective: 1000px !important;
    position: relative !important;
    z-index: 10 !important;
}

.red-saturn {
    width: 160px !important;
    height: 160px !important;
    min-width: 160px !important;
    min-height: 160px !important;
    border-radius: 50% !important;
    background: radial-gradient(circle at 35% 35%, #ff8a8a 0%, #dc2626 30%, #7f1d1d 70%, #450a0a 100%) !important;
    box-shadow: 
        0 0 60px rgba(220, 38, 38, 0.4), 
        inset -15px -15px 30px rgba(0,0,0,0.7),
        inset 10px 10px 20px rgba(255,255,255,0.2) !important;
    animation: saturnFloat 5s.ease-in-out infinite !important;
    position: relative !important;
    transform-style: preserve-3d !important;
    display: block !important;
}

/* حلقه بیرونی */
.red-saturn::before {
    content: '' !important;
    position: absolute !important;
    top: 50% !important; left: 50% !important;
    width: 300px !important; height: 300px !important;
    border-radius: 50% !important;
    border: 3px solid rgba(220, 38, 38, 0.6) !important;
    transform: translate(-50%, -50%) rotateX(75deg) rotateY(-15deg) !important;
    box-shadow: 0 0 30px rgba(220, 38, 38, 0.7), inset 0 0 20px rgba(220, 38, 38, 0.5) !important;
    pointer-events: none !important;
}

/* حلقه داخلی */
.red-saturn::after {
    content: '' !important;
    position: absolute !important;
    top: 50% !important; left: 50% !important;
    width: 250px !important; height: 250px !important;
    border-radius: 50% !important;
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    transform: translate(-50%, -50%) rotateX(75deg) rotateY(-15deg) !important;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3) !important;
    pointer-events: none !important;
}

@keyframes saturnFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* === متون و هدرها === */
.about-header {
    text-align: center !important;
    position: relative !important;
    z-index: 10 !important;
    margin-bottom: 40px !important;
}

.about-header h1 {
    font-size: 2.8rem !important;
    font-weight: 900 !important;
    margin: 0 0 10px 0 !important;
    color: #fff !important;
}

.about-header h2 {
    font-size: 1.1rem !important;
    color: #f87171 !important;
    font-weight: normal !important;
    margin: 0 !important;
}

/* === باکس داستان === */
.about-story-card {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(220, 38, 38, 0.2) !important;
    padding: 40px !important;
    border-radius: 20px !important;
    backdrop-filter: blur(10px) !important;
    position: relative !important;
    z-index: 10 !important;
    margin-bottom: 40px !important;
    line-height: 2 !important;
    font-size: 1.05rem !important;
    color: #cbd5e1 !important;
    text-align: justify !important;
    text-justify: inter-word !important;
}

.about-story-card p {
    margin-bottom: 20px !important;
}

.about-story-card p:last-child {
    margin-bottom: 0 !important;
}

.highlight-text {
    color: #f87171 !important;
    font-weight: bold !important;
}

/* === آمار و تایم‌لاین === */
.about-stats-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px !important;
    position: relative !important;
    z-index: 10 !important;
}

.stat-box {
    background: rgba(15, 23, 42, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    padding: 25px 15px !important;
    border-radius: 15px !important;
    text-align: center !important;
    transition: all 0.3s ease !important;
}

.stat-box:hover {
    border-color: #dc2626 !important;
    background: rgba(220, 38, 38, 0.05) !important;
    transform: translateY(-5px) !important;
}

.stat-year {
    font-size: 1.8rem !important;
    font-weight: 900 !important;
    color: #fff !important;
    margin-bottom: 5px !important;
    display: block !important;
}

.stat-desc {
    font-size: 0.9rem !important;
    color: #94a3b8 !important;
}

/* واکنش‌گرایی برای موبایل */
@media (max-width: 768px) {
    #stunx-about-page { padding: 40px 20px !important; }
    .about-header h1 { font-size: 2.2rem !important; }
    .about-story-card { padding: 25px !important; font-size: 0.95rem !important; }
    .about-stats-grid { grid-template-columns: 1fr !important; gap: 15px !important; }
    .red-saturn { width: 130px !important; height: 130px !important; min-width: 130px !important; min-height: 130px !important; }
    .red-saturn::before { width: 240px !important; height: 240px !important; }
    .red-saturn::after { width: 200px !important; height: 200px !important; }
}
.header-favorites-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: #fff;
    transition: all 0.3s ease;
}

.header-favorites-btn:hover svg {
    stroke: #ff6b6b;
    transform: scale(1.1);
}

.header-favorites-btn svg {
    width: 24px;
    height: 24px;
}
/* ========================================================
   SEO PAGE STYLING - Add this to your main style.css
======================================================== */

/* SEO Page Specific Styles */
body.seo-page {
    background: #0a0a0c !important;
}

.seo-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

.seo-header {
    text-align: center;
    margin-bottom: 60px;
    padding: 40px 0;
    border-bottom: 2px solid rgba(100, 161, 255, 0.3);
}

.seo-header h1 {
    font-size: 2.5rem;
    color: #64a1ff;
    margin-bottom: 15px;
    text-shadow: 0 0 20px rgba(100, 161, 255, 0.2);
}

.seo-subtitle {
    font-size: 1.2rem;
    color: #a0aec0;
    font-weight: 300;
}

.seo-section {
    background: rgba(15, 15, 20, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(100, 161, 255, 0.15);
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    transition: all 0.3s ease;
}

.seo-section:hover {
    border-color: rgba(100, 161, 255, 0.25);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7), 0 0 40px rgba(100, 161, 255, 0.1);
}

.seo-section h2 {
    font-size: 2rem;
    color: #64a1ff;
    margin-bottom: 25px;
    text-shadow: 0 0 15px rgba(100, 161, 255, 0.2);
}

.seo-section h3 {
    font-size: 1.4rem;
    color: #cbd5e1;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 700;
}

.seo-section p {
    font-size: 1.05rem;
    margin-bottom: 20px;
    color: #cbd5e1;
    line-height: 1.9;
}

.seo-section ul,
.seo-section ol {
    margin-right: 30px;
    margin-bottom: 20px;
}

.seo-section li {
    margin-bottom: 12px;
    color: #cbd5e1;
    font-size: 1rem;
}

.seo-highlight {
    background: rgba(100, 161, 255, 0.1);
    padding: 25px;
    border-right: 4px solid #64a1ff;
    border-radius: 10px;
    margin: 25px 0;
    border: 1px solid rgba(100, 161, 255, 0.2);
}

.seo-highlight strong {
    color: #64a1ff;
}

.seo-box {
    background: rgba(100, 161, 255, 0.08);
    padding: 25px;
    border-radius: 12px;
    margin: 20px 0;
    border: 1px solid rgba(100, 161, 255, 0.2);
}

.seo-box h3 {
    color: #64a1ff;
    margin-bottom: 20px;
}

.seo-benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.seo-benefit-card {
    background: rgba(100, 161, 255, 0.1);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(100, 161, 255, 0.2);
    text-align: center;
    transition: all 0.3s ease;
}

.seo-benefit-card:hover {
    transform: translateY(-8px);
    border-color: rgba(100, 161, 255, 0.4);
    background: rgba(100, 161, 255, 0.15);
    box-shadow: 0 15px 40px rgba(100, 161, 255, 0.2);
}

.seo-benefit-card h4 {
    color: #64a1ff;
    margin-bottom: 15px;
    font-size: 1.2rem;
    font-weight: 700;
}

.seo-benefit-card p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

.seo-footer {
    text-align: center;
    padding: 40px;
    border-top: 2px solid rgba(100, 161, 255, 0.3);
    color: #a0aec0;
    margin-top: 60px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .seo-header h1 {
        font-size: 1.8rem;
    }

    .seo-section {
        padding: 25px;
        margin-bottom: 30px;
    }

    .seo-section h2 {
        font-size: 1.5rem;
    }

    .seo-section h3 {
        font-size: 1.2rem;
    }

    .seo-benefits-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .seo-benefit-card {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .seo-section {
        padding: 15px;
    }

    .seo-header h1 {
        font-size: 1.5rem;
    }

    .seo-section h2 {
        font-size: 1.3rem;
    }
}
/* Blog Grid Layout - Dark Mountain Theme with Spaces */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin: 60px 0;
    perspective: 1000px;
    padding: 0 20px;
}

.blog-card {
    background: rgba(15, 15, 20, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(100, 161, 255, 0.15);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(100, 161, 255, 0.1);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.320, 1);
    position: relative;
    transform: translateZ(0);
    cursor: pointer;
}

.blog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(100, 161, 255, 0.2), transparent);
    transition: left 0.6s ease;
    z-index: 10;
}

.blog-card:hover::before {
    left: 100%;
}

.blog-card:hover {
    transform: rotateX(8deg) rotateY(12deg) translateY(-25px) scale(1.08);
    border-color: rgba(100, 161, 255, 0.4);
    box-shadow: 0 50px 100px rgba(100, 161, 255, 0.25),
                inset 0 0 40px rgba(100, 161, 255, 0.08),
                0 0 60px rgba(100, 161, 255, 0.2);
}

.blog-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, rgba(100, 161, 255, 0.1) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: brightness(0.85) saturate(0.9);
}

.blog-card:hover .blog-image img {
    transform: scale(1.12) rotate(1deg);
    filter: brightness(1.1) saturate(1.2);
}

.blog-content {
    padding: 30px 25px;
    background: rgba(10, 10, 14, 0.8);
    position: relative;
    z-index: 5;
    backdrop-filter: blur(10px);
}

.blog-content h3 {
    margin: 0 0 15px 0;
    font-size: 1.4rem;
    font-weight: 800;
    background: linear-gradient(135deg, #64a1ff 0%, #a0aec0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.4s ease;
    line-height: 1.4;
}

.blog-card:hover .blog-content h3 {
    transform: translateX(8px);
    text-shadow: 0 0 15px rgba(100, 161, 255, 0.3);
}

.blog-content h3 a {
    text-decoration: none;
    color: inherit;
}

.blog-meta {
    font-size: 0.8rem;
    color: #a0aec0;
    margin: 0 0 18px 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.blog-meta::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    background: #64a1ff;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(100, 161, 255, 0.6);
}

.blog-excerpt {
    color: #cbd5e1;
    line-height: 1.8;
    margin: 0 0 25px 0;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.blog-card:hover .blog-excerpt {
    color: #e2e8f0;
}

.read-more {
    display: inline-block;
    color: #fff;
    background: linear-gradient(135deg, #64a1ff 0%, #4a7dd9 100%);
    text-decoration: none;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 8px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 8px 25px rgba(100, 161, 255, 0.3);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(100, 161, 255, 0.4);
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.read-more::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.4s ease;
}

.read-more:hover::before {
    left: 100%;
}

.read-more:hover {
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 15px 40px rgba(100, 161, 255, 0.5),
                0 0 20px rgba(100, 161, 255, 0.3);
    border-color: rgba(100, 161, 255, 0.7);
}

.read-more:active {
    transform: translateY(-2px) scale(1.04);
}

@keyframes cardFadeIn {
    from {
        opacity: 0;
        transform: rotateX(-90deg) rotateY(-20deg) translateY(30px);
    }
    to {
        opacity: 1;
        transform: rotateX(0) rotateY(0) translateY(0);
    }
}

.blog-card {
    animation: cardFadeIn 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.blog-card:nth-child(1) { animation-delay: 0.1s; }
.blog-card:nth-child(2) { animation-delay: 0.2s; }
.blog-card:nth-child(3) { animation-delay: 0.3s; }
.blog-card:nth-child(4) { animation-delay: 0.4s; }
.blog-card:nth-child(5) { animation-delay: 0.5s; }
.blog-card:nth-child(6) { animation-delay: 0.6s; }
.blog-card:nth-child(7) { animation-delay: 0.7s; }
.blog-card:nth-child(8) { animation-delay: 0.8s; }
.blog-card:nth-child(9) { animation-delay: 0.9s; }

/* Mountain/Space Theme Adjustments */
@media (max-width: 768px) {
    .blog-grid {
        gap: 25px;
        padding: 0 15px;
    }

    .blog-card {
        border-radius: 16px;
    }

    .blog-image {
        height: 180px;
    }

    .blog-content {
        padding: 20px 18px;
    }

    .blog-content h3 {
        font-size: 1.2rem;
    }

    .blog-excerpt {
        font-size: 0.85rem;
        line-height: 1.6;
    }

    .read-more {
        padding: 10px 22px;
        font-size: 0.85rem;
    }
}
@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;700;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* Forceful light-bulb styling (try this at the very end of CSS) */
[class*="light-bulb"], [class^="light-bulb"] {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 8px 12px !important;
  border-radius: 12px !important;
  background: rgba(15,15,20,0.6) !important;
  border: 1px solid rgba(100,161,255,0.08) !important;
  color: var(--text-main) !important;
  font-weight: 600 !important;
  box-shadow: 0 8px 30px rgba(100,161,255,0.06) !important;
  transition: transform .18s ease, box-shadow .18s ease !important;
  z-index: 9999 !important;
}

/* Icon inside - generic targeting */
[class*="light-bulb"] svg,
[class*="light-bulb"] .icon,
[class*="light-bulb"] .stunx-light-bulb-icon {
  width: 36px !important;
  height: 36px !important;
  flex-shrink: 0 !important;
  color: var(--cozy-blue) !important;
  fill: none !important;
  stroke: currentColor !important;
  filter: none !important;
  box-shadow: 0 0 12px rgba(100,161,255,0.08) !important;
}

/* Hover (desktop) */
[class*="light-bulb"]:hover { transform: translateY(-3px) !important; box-shadow: 0 18px 50px rgba(100,161,255,0.12) !important; }

/* SEO page variant */
body.seo-page [class*="light-bulb"] { background: rgba(10,10,14,0.8) !important; border-color: rgba(100,161,255,0.12) !important; color: #e6f0ff !important; }

/* RTL handling */
[dir="rtl"] [class*="light-bulb"] { direction: rtl !important; }
.single .post-thumbnail {
  display: none !important;
}

.single .wp-post-image {
  display: none !important;
}
/* =============================================================
   STUNX BLOG PAGE — Neon Dark Design
   Paste this block at the bottom of your style.css
   ============================================================= */

@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;600;700;800&display=swap');

/* ── Page wrapper ── */
.stunx-blog-page {
  font-family: 'Vazirmatn', system-ui, sans-serif;
  direction: rtl;
  position: relative;
  min-height: 100vh;
  width: 100%;
  overflow: hidden;
  background-color: #020817;
  color: #f1f5f9;
}

/* ── Ambient neon background glows ── */
.stunx-blog-bg {
  pointer-events: none;
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.stunx-blog-bg__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
}

.stunx-blog-bg__glow--top-right {
  top: -8rem;
  right: 25%;
  width: 24rem;
  height: 24rem;
  background: rgba(34, 211, 238, 0.18);
}

.stunx-blog-bg__glow--mid-left {
  top: 33%;
  left: -6rem;
  width: 20rem;
  height: 20rem;
  background: rgba(37, 99, 235, 0.18);
}

.stunx-blog-bg__glow--bottom-center {
  bottom: 0;
  left: 33%;
  width: 18rem;
  height: 18rem;
  background: rgba(34, 211, 238, 0.08);
}

/* ── Main content area ── */
.stunx-blog-main {
  position: relative;
  z-index: 1;
  max-width: 72rem;
  margin: 0 auto;
  padding: 3rem 1rem 4rem;
}

@media (min-width: 640px) {
  .stunx-blog-main { padding: 4rem 1.5rem 5rem; }
}

/* ── Page Header ── */
.stunx-blog-header {
  margin-bottom: 3rem;
  text-align: center;
}

.stunx-blog-header__title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  background: linear-gradient(to bottom, #cffafe, #22d3ee);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 20px rgba(34, 211, 238, 0.45));
  margin: 0 0 1rem;
  line-height: 1.2;
}

.stunx-blog-header__subtitle {
  color: #94a3b8;
  font-size: 1rem;
  max-width: 36rem;
  margin: 0 auto;
  line-height: 1.75;
}

/* ── Post grid ── */
.stunx-blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .stunx-blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .stunx-blog-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ── Post card ── */
.stunx-post-card {
  height: 100%;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.stunx-post-card--visible {
  opacity: 1;
  transform: translateY(0);
}

/* Card is now an <a> link */
.stunx-post-card__btn {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid rgba(34, 211, 238, 0.2);
  border-radius: 1rem;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  outline: none;
}

.stunx-post-card__btn:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 211, 238, 0.6);
  box-shadow: 0 0 30px -5px rgba(34, 211, 238, 0.45);
  text-decoration: none;
  color: inherit;
}

.stunx-post-card__btn:focus-visible {
  outline: 2px solid #22d3ee;
  outline-offset: 2px;
}

/* Card image */
.stunx-post-card__image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #1e293b;
  flex-shrink: 0;
}

.stunx-post-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.stunx-post-card__btn:hover .stunx-post-card__image {
  transform: scale(1.05);
}

.stunx-post-card__image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(2, 8, 23, 0.3), transparent);
}

.stunx-post-card__image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: rgba(34, 211, 238, 0.4);
  font-size: 0.875rem;
}

/* Card body */
.stunx-post-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.25rem;
  text-align: right;
}

/* Card meta */
.stunx-post-card__meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: rgba(103, 232, 249, 0.7);
  margin-bottom: 0.75rem;
}

.stunx-post-card__meta-icon {
  flex-shrink: 0;
  width: 0.875rem;
  height: 0.875rem;
}

/* Card title */
.stunx-post-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.75rem;
  color: #f8fafc;
  margin: 0 0 0.5rem;
  transition: color 0.3s ease;
}

.stunx-post-card__btn:hover .stunx-post-card__title {
  color: #67e8f9;
}

/* Card excerpt */
.stunx-post-card__excerpt {
  font-size: 0.875rem;
  line-height: 1.75;
  color: #94a3b8;
  flex: 1;
  margin: 0 0 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Read more */
.stunx-post-card__readmore {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #22d3ee;
  margin-top: auto;
  transition: color 0.3s ease;
}

.stunx-post-card__readmore svg {
  transition: transform 0.3s ease;
}

.stunx-post-card__btn:hover .stunx-post-card__readmore {
  color: #67e8f9;
}

.stunx-post-card__btn:hover .stunx-post-card__readmore svg {
  transform: translateX(-4px);
}

/* ── Empty state ── */
.stunx-blog-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  border: 1px solid rgba(34, 211, 238, 0.2);
  background: rgba(15, 23, 42, 0.4);
  padding: 5rem 1.5rem;
  text-align: center;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.stunx-blog-empty__title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #e2e8f0;
  margin: 0 0 0.5rem;
}

.stunx-blog-empty__subtitle {
  font-size: 0.875rem;
  color: #94a3b8;
  margin: 0;
}

/* ── Pagination ── */
.stunx-pagination {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
}

.stunx-pagination .page-numbers {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  justify-content: center;
}

.stunx-pagination .page-numbers li a,
.stunx-pagination .page-numbers li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(34, 211, 238, 0.25);
  color: #94a3b8;
  font-size: 0.875rem;
  text-decoration: none;
  transition: all 0.2s ease;
  background: transparent;
}

.stunx-pagination .page-numbers li a:hover {
  border-color: rgba(34, 211, 238, 0.6);
  color: #22d3ee;
  background: rgba(34, 211, 238, 0.08);
}

.stunx-pagination .page-numbers li span.current {
  background: rgba(34, 211, 238, 0.15);
  border-color: rgba(34, 211, 238, 0.6);
  color: #22d3ee;
  font-weight: 700;
}

/* =============================================================
   END STUNX BLOG PAGE
   ============================================================= */