/*
Theme Name: MayAudio RD Studio Pro
Theme URI: https://mayaudiord.com/
Author: MayAudio RD
Author URI: https://mayaudiord.com/
Description: Tema profesional minimalista para desarrollo de software de audio, plugins VST3/AU/AAX, software de DJ (May DJ Pro) y reproductores multimedia (May Player Pro). Inspirado en la estética limpia y sobria de Waves Audio (waves.com). 100% compatible con Elementor Free y Elementor Pro, con Panel de Control propio, Login corporativo limpio e Importador de Demo Completo en 1 Clic.
Version: 3.6.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mayaudiord-pro
Tags: dark, custom-menu, custom-logo, featured-images, theme-options, e-commerce, elementor, audio-software, waves-style
*/

:root {
    --may-bg-primary: #0a0b0e;          /* Waves Matte Black */
    --may-bg-secondary: #111318;        /* Waves Charcoal Section */
    --may-bg-tertiary: #171a21;         /* Waves Card Surface */
    --may-bg-card: #151820;
    --may-bg-hover: #1c202b;
    --may-accent-primary: #0073e6;      /* Waves Precision Blue (High contrast with white text) */
    --may-accent-secondary: #0284c7;    /* Deep Sky Blue */
    --may-accent-gold: #f59e0b;         /* Badge Gold (Always paired with dark #0a0b0e text) */
    --may-accent-success: #10b981;
    --may-text-primary: #f3f4f6;
    --may-text-secondary: #9ca3af;
    --may-text-muted: #6b7280;
    --may-border-color: #232733;
    --may-font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --may-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --may-font-mono: 'JetBrains Mono', monospace;
    --may-radius-sm: 4px;
    --may-radius-md: 8px;
    --may-radius-lg: 10px;
    --may-container-width: 1260px;
    --may-transition: all 0.15s ease;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    background-color: var(--may-bg-primary);
    color: var(--may-text-primary);
    font-family: var(--may-font-body);
    font-size: 15px;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--may-font-heading);
    color: var(--may-text-primary);
    font-weight: 700;
    line-height: 1.22;
    letter-spacing: -0.015em;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--may-transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Global Button Reset to prevent browser default light backgrounds with white text */
button,
input[type="button"],
input[type="submit"],
.button,
.wp-element-button,
.elementor-button {
    font-family: var(--may-font-heading);
    background-color: #1a1e29;
    color: #f3f4f6;
    border: 1px solid var(--may-border-color);
}

.may-container {
    width: 100%;
    max-width: var(--may-container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================================================
   SLIM TOP ANNOUNCEMENT BAR (CLEAN, CENTERED, ZERO REDUNDANT LINKS)
   ========================================================================== */
.may-topbar {
    background: #12151e;
    border-bottom: 1px solid var(--may-border-color);
    font-size: 12px;
    padding: 6px 0;
    color: #d1d5db;
}

.may-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
}

.may-promo-pill {
    display: inline-block;
    background: var(--may-accent-gold);
    color: #0a0b0e !important;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 2px 7px;
    border-radius: 3px;
    letter-spacing: 0.04em;
}

/* ==========================================================================
   COMPACT WAVES-STYLE HEADER & NAVIGATION
   ========================================================================== */
.may-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 11, 14, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--may-border-color);
}

.may-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px;
    gap: 16px;
}

/* Strictly Compact Brand / Custom Logo */
.may-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    flex-shrink: 0;
    max-height: 30px;
}

.may-brand img,
.custom-logo-link img,
.may-brand .custom-logo {
    max-height: 26px !important;
    width: auto !important;
    object-fit: contain;
}

.may-brand-icon {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    background: #0073e6;
    color: #ffffff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    flex-shrink: 0;
}

.may-brand-title {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #ffffff;
    white-space: nowrap;
    line-height: 1;
}

.may-brand-title span {
    color: #38bdf8;
    font-weight: 700;
}

/* Primary Menu - Sleek, Single-Line, High Contrast */
.may-nav {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: center;
}

.may-nav-list {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.may-nav-item {
    position: relative;
}

.may-nav-item.has-megamenu {
    position: static;
}

.may-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 11px;
    font-size: 13px;
    font-weight: 500;
    color: #d1d5db !important;
    background: transparent !important;
    border-radius: var(--may-radius-sm);
    white-space: nowrap;
    line-height: 1.2;
}

.may-nav-link i.may-chevron {
    font-size: 9px;
    opacity: 0.65;
}

.may-nav-item:hover > .may-nav-link,
.may-nav-link.active,
.may-nav-link:focus {
    color: #ffffff !important;
    background: #1c202b !important;
}

/* Optional Secondary Category Bar (Hidden by default, toggleable in Control Panel) */
.may-subnav-strip {
    background: #111318;
    border-bottom: 1px solid var(--may-border-color);
    font-size: 12px;
}

.may-subnav-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    height: 34px;
    overflow-x: auto;
    scrollbar-width: none;
}

.may-subnav-inner::-webkit-scrollbar {
    display: none;
}

.may-subnav-inner a {
    color: var(--may-text-secondary) !important;
    white-space: nowrap;
    font-weight: 500;
    padding: 2px 0;
}

.may-subnav-inner a:hover {
    color: #ffffff !important;
}

.may-subnav-inner a.is-highlight {
    color: #38bdf8 !important;
    font-weight: 600;
}

/* Clean 4-Column Mega Menu (Only VST Plugins, No Redundant DJ/Player Links) */
.may-megamenu {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #12141c;
    border-bottom: 1px solid var(--may-border-color);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.75);
    padding: 22px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(4px);
    transition: var(--may-transition);
    pointer-events: none;
    z-index: 999;
}

.may-nav-item.has-megamenu:hover .may-megamenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.may-megamenu-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.may-mega-col-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #9ca3af;
    padding-bottom: 8px;
    margin-bottom: 8px;
    border-bottom: 1px solid var(--may-border-color);
}

.may-mega-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.may-mega-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 8px;
    border-radius: 4px;
    font-size: 13px;
    color: #d1d5db !important;
}

.may-mega-links a:hover {
    color: #ffffff !important;
    background: #1c202b !important;
}

.may-mega-tag {
    font-size: 9.5px;
    padding: 1px 6px;
    border-radius: 3px;
    background: #1e2433;
    color: #cbd5e1 !important;
    font-weight: 600;
}

.may-mega-tag.hot {
    background: #0073e6;
    color: #ffffff !important;
}

/* Standard Dropdown */
.may-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 210px;
    background: #12141c;
    border: 1px solid var(--may-border-color);
    border-radius: 0 0 var(--may-radius-md) var(--may-radius-md);
    padding: 8px;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.7);
    opacity: 0;
    visibility: hidden;
    transform: translateY(4px);
    transition: var(--may-transition);
    list-style: none;
    z-index: 999;
}

.may-nav-item.has-dropdown:hover .may-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.may-dropdown li a {
    display: block;
    padding: 8px 10px;
    border-radius: 4px;
    color: #d1d5db !important;
    font-size: 13px;
}

.may-dropdown li a:hover {
    background: #1c202b !important;
    color: #ffffff !important;
}

/* Header Right Actions (Only Search + Login Icon, No Redundant Descargas Button) */
.may-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.may-icon-btn {
    width: 32px;
    height: 32px;
    border-radius: 5px;
    background: #151820 !important;
    border: 1px solid var(--may-border-color) !important;
    color: #d1d5db !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    cursor: pointer;
    transition: var(--may-transition);
}

.may-icon-btn:hover,
.may-icon-btn:focus {
    border-color: #38bdf8 !important;
    color: #ffffff !important;
    background: #1c202b !important;
}

/* High-Contrast Buttons - Guaranteed Readable Text in All States */
.may-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-family: var(--may-font-heading);
    font-size: 13.5px;
    font-weight: 600;
    padding: 9px 18px;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--may-transition);
    border: 1px solid transparent;
    text-decoration: none;
    white-space: nowrap;
    line-height: 1.2;
}

.may-btn-sm {
    font-size: 12.5px;
    padding: 6px 13px;
}

.may-btn-primary,
.may-btn-cyan {
    background-color: #0073e6 !important;
    border-color: #0073e6 !important;
    color: #ffffff !important;
}

.may-btn-primary:hover,
.may-btn-primary:focus,
.may-btn-primary:active,
.may-btn-cyan:hover,
.may-btn-cyan:focus,
.may-btn-cyan:active {
    background-color: #005bb5 !important;
    border-color: #005bb5 !important;
    color: #ffffff !important;
}

.may-btn-outline {
    background-color: #151820 !important;
    border: 1px solid #33394a !important;
    color: #e5e7eb !important;
}

.may-btn-outline:hover,
.may-btn-outline:focus,
.may-btn-outline:active {
    background-color: #1f2433 !important;
    border-color: #60a5fa !important;
    color: #ffffff !important;
}

.may-mobile-toggle {
    display: none;
}

/* ==========================================================================
   CLEAN WAVES-STYLE FOOTER
   ========================================================================== */
.may-footer {
    background: #08090c;
    border-top: 1px solid var(--may-border-color);
    padding: 48px 0 28px;
    margin-top: 56px;
}

.may-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 32px;
    margin-bottom: 36px;
}

.may-footer-col h4 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #ffffff;
    margin-bottom: 14px;
}

.may-footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.may-footer-links a {
    color: var(--may-text-secondary);
    font-size: 13px;
}

.may-footer-links a:hover {
    color: #ffffff;
}

.may-footer-bottom {
    padding-top: 22px;
    border-top: 1px solid var(--may-border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 12px;
    color: var(--may-text-muted);
}

.may-social-list {
    display: flex;
    align-items: center;
    gap: 8px;
}

.may-social-list a {
    width: 30px;
    height: 30px;
    border-radius: 5px;
    background: #14171f;
    border: 1px solid var(--may-border-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-size: 13px;
}

.may-social-list a:hover {
    background: #0073e6;
    color: #ffffff !important;
    border-color: #0073e6;
}

/* ==========================================================================
   MOBILE DRAWER & BOTTOM BAR
   ========================================================================== */
.may-mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(320px, 88vw);
    height: 100vh;
    background: #0e1015;
    border-left: 1px solid var(--may-border-color);
    z-index: 2000;
    padding: 20px;
    overflow-y: auto;
    transition: right 0.25s ease;
}

.may-mobile-drawer.is-open {
    right: 0;
}

.may-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: var(--may-transition);
}

.may-drawer-backdrop.is-open {
    opacity: 1;
    visibility: visible;
}

.may-mobile-dock {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #0e1015;
    border-top: 1px solid var(--may-border-color);
    z-index: 1500;
    padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
}

.may-mobile-dock-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 4px;
}

.may-dock-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    font-size: 10px;
    font-weight: 500;
    color: var(--may-text-secondary) !important;
    padding: 4px;
}

.may-dock-item i {
    font-size: 14px;
}

.may-dock-item.active,
.may-dock-item:hover {
    color: #38bdf8 !important;
}

@media (max-width: 1024px) {
    .may-nav {
        display: none;
    }
    .may-mobile-toggle {
        display: inline-flex;
    }
    .may-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    body.has-mobile-dock {
        padding-bottom: 58px;
    }
    .may-mobile-dock {
        display: block;
    }
    .may-footer-grid {
        grid-template-columns: 1fr;
    }
}
