﻿@charset "UTF-8";

:root {
    --wpc-navy: #0D1B2A;
    --wpc-navy-dk: #091420;
    --wpc-cyan: #0099CC;
    --wpc-cyan-lt: #00C8FF;
    --wpc-amber: #F5A623;
    --wpc-amber-dk: #D4881A;
    --wpc-green: #22A06B;
    --wpc-blue: #0099CC;
    --wpc-gray: #6B7280;
    --wpc-red: #C0392B;
    --wpc-dark-blue: #010b19;
    --wpc-white: #FFF;
    --wpc-border: rgba(0,200,255,0.12);
    --wpc-muted: rgba(255,255,255,0.55);
}

/* ── Header wrapper ── */
#wpc-header {
    background: var(--wpc-dark-blue);
    border-bottom: 1px solid var(--wpc-border);
    position: sticky;
    top: 0;
    z-index: 1030;
}

    /* ── Navbar ── */
    #wpc-header .navbar {
        background: var(--wpc-dark-blue);
        padding: 0;
        min-height: 60px;
    }

    /* ── Brand / Logo ── */
    #wpc-header .navbar-brand {
        padding: 5px 0;
        margin-right: 1.5rem;
    }

    #wpc-header .navbar-brand img {
        max-height: 56px;
        width: auto;
    }

    /* ── Nav links ── */
    #wpc-header .navbar-nav .nav-link {
        background: var(--wpc-dark-blue);
        color: var(--wpc-muted);
        font-size: 0.88rem;
        font-weight: 500;
        padding: 0.5rem 0.75rem;
        border-radius: 5px;
        transition: color 0.15s, background 0.15s;
        letter-spacing: 0.02em;
    }

        #wpc-header .navbar-nav .nav-link:hover,
        #wpc-header .navbar-nav .nav-link:focus {
            color: #fff;
            background: rgba(255,255,255,0.07);
        }

        #wpc-header .navbar-nav .nav-link.active,
        #wpc-header .navbar-nav .show > .nav-link {
            color: var(--wpc-cyan-lt);
            background: rgba(0,200,255,0.06);
        }

    #wpc-header .navbar-nav .dropdown-toggle::after {
        opacity: 0.45;
        vertical-align: 0.15em;
    }

/* ── Mega dropdown — Softwares ── */
.wpc-mega-menu {
    background: var(--wpc-dark-blue);
    border: 1px solid var(--wpc-border);
    border-top: none;
    border-radius: 0 0 10px 10px;
    padding: 1.25rem;
    min-width: 560px;
    left: 0 !important;
    right: auto;
    box-shadow: 0 12px 40px rgba(0,0,0,0.35);
}

.wpc-edition-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 1rem;
}

.wpc-edition-card {
    background: rgba(255,255,255,0.04);
    border: 0.5px solid rgba(255,255,255,0.08);
    border-radius: 7px;
    padding: 10px 11px;
    text-decoration: none;
    display: block;
    transition: background 0.15s, border-color 0.15s;
}

    .wpc-edition-card:hover {
        background: rgba(255,255,255,0.08);
        text-decoration: none;
    }

    .wpc-edition-card .ed-name {
        font-family: 'Rajdhani', sans-serif;
        font-size: 0.95rem;
        font-weight: 700;
        letter-spacing: 0.04em;
        color: #fff;
        margin-bottom: 2px;
    }

    .wpc-edition-card .ed-desc {
        font-size: 0.75rem;
        color: rgba(255,255,255,0.4);
        line-height: 1.4;
        margin-bottom: 6px;
    }

    .wpc-edition-card .ed-price {
        font-size: 0.75rem;
        font-weight: 600;
    }

    .wpc-edition-card .ed-dot {
        width: 7px;
        height: 7px;
        border-radius: 50%;
        display: inline-block;
        margin-right: 5px;
        vertical-align: middle;
    }

/* Edition border-top accent */
.wpc-ed-basic {
    border-top: 2px solid var(--wpc-green) !important;
}

.wpc-ed-pro {
    border-top: 2px solid var(--wpc-blue) !important;
}

.wpc-ed-monument {
    border-top: 2px solid var(--wpc-gray) !important;
}

.wpc-ed-cnc {
    border-top: 2px solid var(--wpc-red) !important;
}

.wpc-mega-links {
    display: flex;
    gap: 0;
    border-top: 0.5px solid rgba(255,255,255,0.08);
    padding-top: 0.9rem;
    flex-wrap: wrap;
}

.wpc-mega-link {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.45);
    text-decoration: none;
    padding: 3px 12px 3px 0;
    transition: color 0.15s;
}

    .wpc-mega-link:hover {
        color: #fff;
        text-decoration: none;
    }

    .wpc-mega-link + .wpc-mega-link {
        border-left: 0.5px solid rgba(255,255,255,0.12);
        padding-left: 12px;
    }

/* ── Standard dropdown (Videos, Support) ── */
#wpc-header .dropdown-menu {
    background: var(--wpc-dark-blue);
    border: 1px solid var(--wpc-border);
    border-radius: 8px;
    padding: 6px;
    min-width: 220px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    margin-top: 2px !important;
}

#wpc-header .dropdown-item {
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
    padding: 7px 12px;
    border-radius: 5px;
    transition: background 0.12s, color 0.12s;
}

    #wpc-header .dropdown-item:hover,
    #wpc-header .dropdown-item:focus {
        background: rgba(255,255,255,0.07);
        color: #fff;
    }

#wpc-header .dropdown-divider {
    border-color: rgba(255,255,255,0.08);
    margin: 4px 4px;
}

#wpc-header .dropdown-header {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.25);
    padding: 6px 12px 2px;
}

/* ── Right-side nav items ── */
.wpc-nav-box {
    color: var(--wpc-muted);
    font-size: 1rem;
    padding: 6px 8px;
    border-radius: 5px;
    border: 0.5px solid rgba(255,255,255,0.1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: color 0.15s, border-color 0.15s;
    position: relative;
}

    .wpc-nav-box:hover {
        color: #fff;
        border-color: rgba(255,255,255,0.25);
    }

.wpc-cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 16px;
    height: 16px;
    background: var(--wpc-amber);
    color: var(--wpc-navy);
    font-size: 10px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.wpc-nav-pill {
    color: rgba(255,255,255,0.5);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    padding: 4px 9px;
    border: 0.5px solid rgba(255,255,255,0.12);
    border-radius: 4px;
    text-decoration: none;
    transition: color 0.15s, border-color 0.15s;
    cursor: pointer;
}

    .wpc-nav-pill:hover {
        color: var(--wpc-cyan-lt);
        border-color: rgba(0,200,255,0.35);
    }

    .wpc-nav-pill.dropdown-toggle::after {
        opacity: 0.4;
        font-size: 0.65rem;
        vertical-align: 0.1em;
    }

.wpc-btn-login {
    color: rgba(255,255,255,0.6);
    font-size: 0.83rem;
    font-weight: 500;
    padding: 5px 12px;
    border: 0.5px solid rgba(255,255,255,0.14);
    border-radius: 5px;
    text-decoration: none;
    transition: color 0.15s, border-color 0.15s;
}

    .wpc-btn-login:hover {
        color: #fff;
        border-color: rgba(255,255,255,0.3);
    }

/* ── Language / Currency switcher (smxcnc style) ── */
.wpc-switcher {
    display: inline-flex;
    align-items: center;
    gap: 0;
}

.wpc-switcher-item {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.38);
    text-decoration: none;
    background: none;
    border: none;
    padding: 0 2px;
    cursor: pointer;
    transition: color 0.15s;
    line-height: 1;
}

    .wpc-switcher-item:hover {
        color: rgba(255,255,255,0.75);
        text-decoration: none;
    }

    .wpc-switcher-item.active {
        color: rgba(255,255,255,0.85);
    }

.wpc-switcher-sep {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.2);
    padding: 0 3px;
    user-select: none;
}

/* ── Mobile toggler ── */
#wpc-header .navbar-toggler {
    border-color: rgba(255,255,255,0.15);
    padding: 5px 8px;
}

    #wpc-header .navbar-toggler:focus {
        box-shadow: none;
    }

#wpc-header .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255%2C255%2C255%2C0.7%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ── Mobile nav (collapsed) ── */
@media (max-width: 991.98px) {
    #wpc-header .navbar-collapse {
        background: var(--wpc-dark-blue);
        margin: 0 -12px;
        padding: 8px 12px 0;
        border-top: 0.5px solid var(--wpc-border);
    }

    #wpc-header .navbar-nav .nav-link {
        padding: 10px 8px;
        border-radius: 0;
        border-bottom: 0.5px solid rgba(255,255,255,0.06);
    }

    .wpc-mega-menu {
        min-width: unset;
        border-radius: 8px;
        margin: 4px 0;
    }

    .wpc-edition-cards {
        grid-template-columns: 1fr 1fr;
    }

    .wpc-mobile-bottom {
        padding: 12px 0;
        display: flex;
        gap: 8px;
        align-items: center;
        flex-wrap: wrap;
        border-top: 0.5px solid rgba(255,255,255,0.08);
        margin-top: 4px;
    }

    body.modal-open .modal-backdrop {
        z-index: 1055;
    }
}

@media (min-width: 992px) {
    .wpc-mobile-bottom {
        display: none;
    }
}