/*
Theme Name: InfluCheap v2
Theme URI: https://influcheap.com.ar/
Description: Tema personalizado, liviano y optimizado para la web de InfluCheap. Sin constructores visuales, construido puramente en codigo para maximo rendimiento y SEO.
Author: Codex Agent (OpenClaw)
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: influcheap-v2
*/

/* Base CSS Variables for the Brand Design System */
:root {
    --bg-color: #000000;
    --primary-color: #e11d48;
    --text-color: #ffffff;
    --text-light: #cbd5e1;
    --white: #ffffff;
    --font-family: 'Inter', 'Outfit', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --glow-shadow: 0 0 20px rgba(225, 29, 72, 0.08);
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-family);
    margin: 0;
    padding: 0;
}

/* ==========================================================================
   Vibrant Desktop Social Networks Mega Dropdown (Full Color Palette)
   ========================================================================== */
.nav-products-trigger {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
}
.dropdown-chevron {
    transition: transform 0.2s ease;
    opacity: 0.8;
}

@media (min-width: 1025px) {
    .nav-dropdown-item {
        position: relative !important;
    }
    .nav-dropdown-item::after {
        content: '';
        position: absolute;
        top: 100%;
        left: -20px;
        right: -20px;
        height: 25px;
        display: block;
        pointer-events: auto;
    }
    .products-mega-dropdown {
        display: block !important;
        position: absolute !important;
        top: calc(100% + 12px) !important;
        left: 50% !important;
        transform: translateX(-50%) translateY(8px);
        width: 390px !important;
        background: #090d16 !important;
        border: 1px solid rgba(255, 255, 255, 0.12) !important;
        border-radius: 12px !important;
        box-shadow: 0 20px 48px rgba(0, 0, 0, 0.9), 0 0 30px rgba(244, 63, 94, 0.12) !important;
        padding: 18px !important;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease !important;
        z-index: 99999 !important;
    }
    .nav-dropdown-item:hover .products-mega-dropdown,
    .nav-dropdown-item:focus-within .products-mega-dropdown,
    .products-mega-dropdown.is-open {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: translateX(-50%) translateY(0) !important;
    }
    .nav-dropdown-item:hover .dropdown-chevron,
    .nav-dropdown-item:focus-within .dropdown-chevron {
        transform: rotate(180deg) !important;
        opacity: 1 !important;
    }
    .dropdown-header-label {
        font-size: 11px !important;
        font-weight: 800 !important;
        letter-spacing: 0.1em !important;
        color: #94a3b8 !important;
        margin-bottom: 12px !important;
        padding-bottom: 8px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
        text-transform: uppercase !important;
    }
    .dropdown-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }
    
    /* Base Card Style */
    .dropdown-net-item {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        padding: 9px 12px !important;
        border-radius: 8px !important;
        color: #f1f5f9 !important;
        text-decoration: none !important;
        font-size: 13.5px !important;
        font-weight: 600 !important;
        background: rgba(255, 255, 255, 0.03) !important;
        border: 1px solid rgba(255, 255, 255, 0.06) !important;
        transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    }
    
    .dropdown-net-item .net-icon {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 30px !important;
        height: 30px !important;
        border-radius: 7px !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
        transition: transform 0.2s ease, box-shadow 0.2s ease !important;
        flex-shrink: 0 !important;
    }

    /* ----------------------------------------------------------------------
       COLORFUL DEFAULT STYLES FOR EACH SOCIAL NETWORK
       ---------------------------------------------------------------------- */
    
    /* Instagram */
    .dropdown-net-item.net-instagram {
        background: rgba(225, 48, 108, 0.1) !important;
        border-color: rgba(225, 48, 108, 0.25) !important;
    }
    .dropdown-net-item.net-instagram .net-icon {
        background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important;
        color: #ffffff !important;
    }
    .dropdown-net-item.net-instagram:hover {
        background: rgba(225, 48, 108, 0.25) !important;
        border-color: rgba(225, 48, 108, 0.6) !important;
        box-shadow: 0 4px 16px rgba(225, 48, 108, 0.35) !important;
        transform: translateY(-2px) !important;
    }

    /* TikTok */
    .dropdown-net-item.net-tiktok {
        background: rgba(0, 242, 254, 0.1) !important;
        border-color: rgba(0, 242, 254, 0.25) !important;
    }
    .dropdown-net-item.net-tiktok .net-icon {
        background: #00f2fe !important;
        color: #080b11 !important;
    }
    .dropdown-net-item.net-tiktok:hover {
        background: rgba(0, 242, 254, 0.25) !important;
        border-color: rgba(0, 242, 254, 0.6) !important;
        box-shadow: 0 4px 16px rgba(0, 242, 254, 0.35) !important;
        transform: translateY(-2px) !important;
    }

    /* Facebook */
    .dropdown-net-item.net-facebook {
        background: rgba(24, 119, 242, 0.1) !important;
        border-color: rgba(24, 119, 242, 0.25) !important;
    }
    .dropdown-net-item.net-facebook .net-icon {
        background: #1877f2 !important;
        color: #ffffff !important;
    }
    .dropdown-net-item.net-facebook:hover {
        background: rgba(24, 119, 242, 0.25) !important;
        border-color: rgba(24, 119, 242, 0.6) !important;
        box-shadow: 0 4px 16px rgba(24, 119, 242, 0.35) !important;
        transform: translateY(-2px) !important;
    }

    /* YouTube */
    .dropdown-net-item.net-youtube {
        background: rgba(255, 0, 0, 0.1) !important;
        border-color: rgba(255, 0, 0, 0.25) !important;
    }
    .dropdown-net-item.net-youtube .net-icon {
        background: #ff0000 !important;
        color: #ffffff !important;
    }
    .dropdown-net-item.net-youtube:hover {
        background: rgba(255, 0, 0, 0.25) !important;
        border-color: rgba(255, 0, 0, 0.6) !important;
        box-shadow: 0 4px 16px rgba(255, 0, 0, 0.35) !important;
        transform: translateY(-2px) !important;
    }

    /* X (Twitter) */
    .dropdown-net-item.net-x {
        background: rgba(241, 245, 249, 0.1) !important;
        border-color: rgba(241, 245, 249, 0.25) !important;
    }
    .dropdown-net-item.net-x .net-icon {
        background: #f1f5f9 !important;
        color: #0f172a !important;
    }
    .dropdown-net-item.net-x:hover {
        background: rgba(241, 245, 249, 0.22) !important;
        border-color: rgba(241, 245, 249, 0.6) !important;
        box-shadow: 0 4px 16px rgba(241, 245, 249, 0.3) !important;
        transform: translateY(-2px) !important;
    }

    /* Threads */
    .dropdown-net-item.net-threads {
        background: rgba(226, 232, 240, 0.1) !important;
        border-color: rgba(226, 232, 240, 0.25) !important;
    }
    .dropdown-net-item.net-threads .net-icon {
        background: #18181b !important;
        color: #ffffff !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
    }
    .dropdown-net-item.net-threads:hover {
        background: rgba(226, 232, 240, 0.22) !important;
        border-color: rgba(226, 232, 240, 0.6) !important;
        box-shadow: 0 4px 16px rgba(226, 232, 240, 0.3) !important;
        transform: translateY(-2px) !important;
    }

    /* Spotify */
    .dropdown-net-item.net-spotify {
        background: rgba(29, 185, 84, 0.1) !important;
        border-color: rgba(29, 185, 84, 0.25) !important;
    }
    .dropdown-net-item.net-spotify .net-icon {
        background: #1db854 !important;
        color: #080b11 !important;
    }
    .dropdown-net-item.net-spotify:hover {
        background: rgba(29, 185, 84, 0.25) !important;
        border-color: rgba(29, 185, 84, 0.6) !important;
        box-shadow: 0 4px 16px rgba(29, 185, 84, 0.35) !important;
        transform: translateY(-2px) !important;
    }

    /* Twitch */
    .dropdown-net-item.net-twitch {
        background: rgba(145, 71, 255, 0.1) !important;
        border-color: rgba(145, 71, 255, 0.25) !important;
    }
    .dropdown-net-item.net-twitch .net-icon {
        background: #9147ff !important;
        color: #ffffff !important;
    }
    .dropdown-net-item.net-twitch:hover {
        background: rgba(145, 71, 255, 0.25) !important;
        border-color: rgba(145, 71, 255, 0.6) !important;
        box-shadow: 0 4px 16px rgba(145, 71, 255, 0.35) !important;
        transform: translateY(-2px) !important;
    }

    /* LinkedIn */
    .dropdown-net-item.net-linkedin {
        background: rgba(10, 102, 194, 0.1) !important;
        border-color: rgba(10, 102, 194, 0.25) !important;
    }
    .dropdown-net-item.net-linkedin .net-icon {
        background: #0a66c2 !important;
        color: #ffffff !important;
    }
    .dropdown-net-item.net-linkedin:hover {
        background: rgba(10, 102, 194, 0.25) !important;
        border-color: rgba(10, 102, 194, 0.6) !important;
        box-shadow: 0 4px 16px rgba(10, 102, 194, 0.35) !important;
        transform: translateY(-2px) !important;
    }

    /* Telegram */
    .dropdown-net-item.net-telegram {
        background: rgba(36, 161, 222, 0.1) !important;
        border-color: rgba(36, 161, 222, 0.25) !important;
    }
    .dropdown-net-item.net-telegram .net-icon {
        background: #24a1de !important;
        color: #ffffff !important;
    }
    .dropdown-net-item.net-telegram:hover {
        background: rgba(36, 161, 222, 0.25) !important;
        border-color: rgba(36, 161, 222, 0.6) !important;
        box-shadow: 0 4px 16px rgba(36, 161, 222, 0.35) !important;
        transform: translateY(-2px) !important;
    }

    /* Footer Link */
    .dropdown-footer-link {
        margin-top: 12px !important;
        padding-top: 12px !important;
        border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
        text-align: center !important;
    }
    .dropdown-footer-link a {
        font-size: 12.5px !important;
        font-weight: 700 !important;
        color: #f43f5e !important;
        text-decoration: none !important;
        transition: color 0.15s ease !important;
    }
    .dropdown-footer-link a:hover {
        color: #fb7185 !important;
        text-decoration: underline !important;
    }
}

@media (max-width: 1024px) {
    .products-mega-dropdown {
        display: none !important;
    }
    .dropdown-chevron {
        display: none !important;
    }
}


/* ==========================================================================
   Admin Bar Compatibility for Logged-In Administrators
   ========================================================================== */
body.admin-bar .site-header {
    top: 32px !important;
}
@media (max-width: 782px) {
    body.admin-bar .site-header {
        top: 46px !important;
    }
}
