/*
Theme Name: UsePadel Theme
Theme URI: http://usepadel.com
Author: Antigravity AI
Description: Premium Dark Neon Theme for UsePadel
Version: 1.0
Text Domain: usepadel
*/


        /* =========================================
           UsePadel - Ultimate Masterclass Theme
           ========================================= */
        :root {
            --bg-dark: #050505; /* שחור עמוק עוד יותר */
            --text-light: #ffffff;
            --neon-volt: #39FF14; /* צבע הניאון המקורי[cite: 2] */
            --neon-hover: #32e612;
            --glass-bg: rgba(20, 20, 20, 0.4);
            --glass-border: rgba(255, 255, 255, 0.08);
            --sale-red: #ff3366;
        }

        body {
            margin: 0;
            font-family: 'Montserrat', sans-serif;
            background-color: var(--bg-dark);
            color: var(--text-light);
            overflow-x: hidden;
        }

        /* הגדרת גופן עברי כשהאתר מתהפך */
        body[dir="rtl"] {
            font-family: 'Assistant', sans-serif;
        }

        /* 1. Header & Navigation */
        header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 5%;
            background: rgba(5, 5, 5, 0.85);
            backdrop-filter: blur(20px);
            position: fixed;
            width: 90%;
            top: 0;
            z-index: 1000;
            border-bottom: 1px solid var(--glass-border);
        }

        .logo { font-size: 28px; font-weight: 900; letter-spacing: -1px; text-transform: uppercase; cursor: pointer; }
        .logo span { color: var(--neon-volt); text-shadow: 0 0 15px rgba(57, 255, 20, 0.4); }

        .actions { display: flex; gap: 20px; align-items: center; }
        
        .lang-switch {
            background: transparent; border: 1px solid var(--glass-border); color: white;
            padding: 8px 15px; border-radius: 20px; cursor: pointer; font-weight: bold; transition: 0.3s;
        }
        .lang-switch:hover { border-color: var(--neon-volt); color: var(--neon-volt); }

        .cart-btn {
            background: var(--neon-volt); color: black; padding: 10px 20px; border-radius: 30px;
            text-decoration: none; font-weight: 800; display: flex; gap: 10px; transition: 0.3s;
        }
        .cart-btn:hover { background: var(--neon-hover); box-shadow: 0 0 20px rgba(57, 255, 20, 0.5); }

        /* 2. Hero Section */
        .hero {
            /* שימוש בתמונה המדהימה עם אפקט הצללה[cite: 2] */
            background: linear-gradient(to bottom, rgba(5,5,5,0.2), var(--bg-dark)), url('hero-padel.webp') center/top/cover no-repeat;
            height: 100vh;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            position: relative;
        }

        .hero h1 {
            font-size: clamp(3.5rem, 8vw, 7rem);
            font-weight: 900;
            text-transform: uppercase;
            line-height: 1;
            margin-bottom: 20px;
            text-shadow: 0 10px 30px rgba(0,0,0,0.8);
            animation: floatText 4s ease-in-out infinite;
        }

        @keyframes floatText {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-10px); }
        }

        .btn-neon {
            background: var(--neon-volt); color: #000; padding: 18px 50px; font-size: 1.2rem;
            font-weight: 900; text-transform: uppercase; text-decoration: none; border-radius: 50px;
            box-shadow: 0 0 20px rgba(57, 255, 20, 0.4); transition: 0.3s; margin-top: 20px;
        }
        .btn-neon:hover { transform: scale(1.05); box-shadow: 0 0 40px rgba(57, 255, 20, 0.8); }

        /* 3. Scrolling Ticker (Marquee) */
        .ticker-wrap {
            width: 100%; overflow: hidden; background: var(--neon-volt); color: black;
            padding: 12px 0; font-weight: 900; text-transform: uppercase; letter-spacing: 2px;
            position: absolute; bottom: 0;
        }
        .ticker { display: flex; width: 200%; animation: ticker 15s linear infinite; }
        .ticker-item { flex-shrink: 0; width: 33%; text-align: center; font-size: 1.1rem; }
        @keyframes ticker { 100% { transform: translateX(-50%); } }
        body[dir="rtl"] .ticker { animation: ticker-rtl 15s linear infinite; }
        @keyframes ticker-rtl { 100% { transform: translateX(50%); } }

        /* 4. Virtual Store Grid */
        .store-section { padding: 100px 5%; max-width: 1400px; margin: 0 auto; }
        .section-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 50px; }
        .section-header h2 { font-size: 3rem; font-weight: 900; margin: 0; text-transform: uppercase; }
        .view-all { color: var(--neon-volt); text-decoration: none; font-weight: 700; font-size: 1.1rem; }

        .product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }

        /* כרטיסיית מוצר סופר-פרימיום */
        .product-card {
            background: var(--glass-bg); backdrop-filter: blur(20px); border: 1px solid var(--glass-border);
            border-radius: 20px; padding: 20px; position: relative; transition: 0.4s; overflow: hidden;
            display: flex; flex-direction: column; align-items: center;
        }
        .product-card:hover { border-color: var(--neon-volt); box-shadow: 0 20px 50px rgba(0,0,0,0.8), 0 0 30px rgba(57,255,20,0.1); transform: translateY(-10px); }

        .badge { position: absolute; top: 20px; left: 20px; background: var(--sale-red); color: white; padding: 5px 12px; border-radius: 30px; font-weight: 800; font-size: 0.8rem; text-transform: uppercase; z-index: 2; }
        body[dir="rtl"] .badge { left: auto; right: 20px; }

        .product-img { width: 100%; height: 300px; object-fit: contain; filter: drop-shadow(0 20px 20px rgba(0,0,0,0.5)); transition: 0.5s; margin-bottom: 20px; }
        .product-card:hover .product-img { transform: scale(1.1) rotate(3deg); }

        .product-cat { color: #888; font-size: 0.9rem; font-weight: 600; text-transform: uppercase; width: 100%; text-align: left; }
        body[dir="rtl"] .product-cat { text-align: right; }
        
        .product-title { font-size: 1.4rem; font-weight: 800; margin: 10px 0; width: 100%; text-align: left; }
        body[dir="rtl"] .product-title { text-align: right; }

        .rating { color: #facc15; font-size: 1rem; width: 100%; text-align: left; margin-bottom: 10px; font-weight: 600; }
        body[dir="rtl"] .rating { text-align: right; }
        .rating-num { color: #888; font-size: 0.9rem; margin-left: 5px; }
        body[dir="rtl"] .rating-num { margin-left: 0; margin-right: 5px; }

        .price-wrap { display: flex; gap: 15px; align-items: center; width: 100%; justify-content: flex-start; margin-bottom: 20px; }
        body[dir="rtl"] .price-wrap { justify-content: flex-start; }
        
        .old-price { color: #666; text-decoration: line-through; font-size: 1.1rem; font-weight: 600; }
        .new-price { color: var(--neon-volt); font-size: 1.8rem; font-weight: 900; text-shadow: 0 0 10px rgba(57, 255, 20, 0.3); }

        /* Quick Add Button */
        .quick-add {
            width: 100%; background: transparent; color: white; border: 2px solid var(--glass-border);
            padding: 15px; border-radius: 12px; font-weight: 800; text-transform: uppercase;
            cursor: pointer; transition: 0.3s;
        }
        .product-card:hover .quick-add { background: var(--neon-volt); color: black; border-color: var(--neon-volt); }


        /* 5. Desktop Navigation */
        .desktop-nav { display: none; }
        @media (min-width: 768px) {
            .desktop-nav { display: flex; gap: 30px; }
            .desktop-nav a { color: var(--text-light); text-decoration: none; font-weight: 700; text-transform: uppercase; font-size: 0.9rem; transition: 0.3s; position: relative; }
            .desktop-nav a:hover { color: var(--neon-volt); }
            .desktop-nav a::after { content: ''; position: absolute; width: 0; height: 2px; bottom: -5px; left: 0; background-color: var(--neon-volt); transition: width 0.3s ease; }
            .desktop-nav a:hover::after { width: 100%; }
            body[dir="rtl"] .desktop-nav a::after { left: auto; right: 0; }
        }
        
        .icon-btn { background: transparent; border: none; color: white; font-size: 1.2rem; cursor: pointer; transition: 0.3s; }
        .icon-btn:hover { color: var(--neon-volt); }

        /* 6. Categories Section */
        .categories-section { padding: 60px 5%; background: #0a0a0a; }
        .categories-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
        .cat-card { height: 150px; background-size: cover; background-position: center; border-radius: 15px; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; text-decoration: none; border: 1px solid var(--glass-border); transition: 0.4s; }
        .cat-card::before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.6); transition: 0.4s; }
        .cat-card:hover { transform: translateY(-5px); border-color: var(--neon-volt); box-shadow: 0 10px 20px rgba(57,255,20,0.1); }
        .cat-card:hover::before { background: rgba(0,0,0,0.3); }
        .cat-title { position: relative; z-index: 2; color: white; font-size: 1.5rem; font-weight: 900; text-transform: uppercase; text-shadow: 0 4px 10px rgba(0,0,0,0.8); }

        /* 7. Trust Badges */
        .trust-section { padding: 50px 5%; background: var(--bg-dark); display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; border-top: 1px solid var(--glass-border); border-bottom: 1px solid var(--glass-border); }
        .trust-item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 15px; }
        .trust-icon { font-size: 2.5rem; color: var(--neon-volt); }
        .trust-title { font-weight: 800; font-size: 1.1rem; text-transform: uppercase; margin-bottom: 5px; }
        .trust-desc { color: #888; font-size: 0.9rem; }

        /* 8. Footer */
        footer { padding: 80px 5% 30px; background: #030303; border-top: 1px solid var(--neon-volt); }
        .footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; margin-bottom: 50px; }
        .footer-col h3 { color: white; font-weight: 900; text-transform: uppercase; margin-bottom: 25px; font-size: 1.2rem; }
        .footer-col p { color: #888; line-height: 1.6; font-size: 0.9rem; }
        .footer-links { list-style: none; padding: 0; margin: 0; }
        .footer-links li { margin-bottom: 12px; }
        .footer-links a { color: #888; text-decoration: none; transition: 0.3s; display: inline-block; }
        .footer-links a:hover { color: var(--neon-volt); transform: translateX(5px); }
        body[dir="rtl"] .footer-links a:hover { transform: translateX(-5px); }
        
        .social-icons { display: flex; gap: 15px; margin-top: 20px; }
        .social-icons a { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--glass-bg); border: 1px solid var(--glass-border); color: white; text-decoration: none; transition: 0.3s; font-size: 1.2rem; }
        .social-icons a:hover { background: var(--neon-volt); color: black; transform: translateY(-5px); box-shadow: 0 10px 20px rgba(57,255,20,0.3); }

        .newsletter-form { display: flex; margin-top: 20px; }
        .newsletter-input { flex: 1; padding: 12px 15px; background: rgba(255,255,255,0.05); border: 1px solid var(--glass-border); color: white; border-radius: 8px 0 0 8px; outline: none; }
        body[dir="rtl"] .newsletter-input { border-radius: 0 8px 8px 0; }
        .newsletter-btn { padding: 12px 20px; background: var(--neon-volt); color: black; border: none; font-weight: 800; border-radius: 0 8px 8px 0; cursor: pointer; transition: 0.3s; }
        body[dir="rtl"] .newsletter-btn { border-radius: 8px 0 0 8px; }
        .newsletter-btn:hover { background: var(--neon-hover); }

        .footer-bottom { padding-top: 30px; border-top: 1px solid var(--glass-border); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
        .copyright { color: #666; font-size: 0.9rem; }
        .payment-icons { display: flex; gap: 10px; font-size: 1.5rem; color: #888; }

    

/* =========================================
   WooCommerce Global Overrides (Dark & Neon)
   ========================================= */

/* General Typography & Colors */
.woocommerce, .woocommerce-page {
    color: var(--text-light);
}

.woocommerce-page h1, .woocommerce-page h2, .woocommerce-page h3, .woocommerce-page h4 {
    color: var(--text-light);
    text-transform: uppercase;
}

/* Prices */
.woocommerce div.product p.price, .woocommerce div.product span.price, .woocommerce ul.products li.product .price {
    color: var(--neon-volt);
    font-weight: 800;
}
.woocommerce ul.products li.product .price del, .woocommerce div.product p.price del {
    color: #666;
}

/* Buttons (Neon Style) */
.woocommerce a.button, 
.woocommerce button.button, 
.woocommerce input.button, 
.woocommerce #respond input#submit,
.woocommerce #place_order {
    background-color: var(--neon-volt) !important;
    color: #000 !important;
    border-radius: 50px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    padding: 12px 30px !important;
    transition: 0.3s !important;
    border: none !important;
}

.woocommerce a.button:hover, 
.woocommerce button.button:hover, 
.woocommerce input.button:hover, 
.woocommerce #respond input#submit:hover,
.woocommerce #place_order:hover {
    background-color: var(--neon-hover) !important;
    box-shadow: 0 0 20px rgba(57, 255, 20, 0.4) !important;
    transform: scale(1.05);
}

/* Sale Badges */
.woocommerce span.onsale {
    background-color: var(--sale-red) !important;
    color: #fff !important;
    font-weight: 800 !important;
    border-radius: 30px !important;
    padding: 5px 12px !important;
    min-height: auto !important;
    min-width: auto !important;
    line-height: 1 !important;
}

/* Input Fields (Forms, Checkout, Cart) */
.woocommerce form .form-row input.input-text, 
.woocommerce form .form-row textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-light);
    border-radius: 8px;
    padding: 12px;
}

/* Tables (Cart, Checkout) */
.woocommerce table.shop_table {
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-light);
}
.woocommerce table.shop_table th {
    background: rgba(20, 20, 20, 0.8);
    color: var(--text-light);
}
.woocommerce table.shop_table td {
    border-top: 1px solid var(--glass-border);
}

/* Tabs */
.woocommerce div.product .woocommerce-tabs ul.tabs li {
    background: rgba(20, 20, 20, 0.8) !important;
    border: 1px solid var(--glass-border) !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
    background: var(--bg-dark) !important;
    border-bottom-color: transparent !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    color: var(--text-light) !important;
}

/* Product Cards in Loops */
.woocommerce ul.products li.product {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    transition: 0.4s;
}
.woocommerce ul.products li.product:hover {
    border-color: var(--neon-volt);
    transform: translateY(-10px);
}
