/*
Theme Name: EVOSAKI Master 2026 Mobile Responsive & Hamburger
Theme URI: https://evosaki.com
Author: AV Company & Antigravity
Description: Tema Oficial EVOSAKI - Estética Clara, Header Cyan #37bbd2 con Menú Hamburguesa Móvil y 100% Responsivo.
Version: 3.3.0
Text Domain: evosaki
*/

@font-face {
    font-family: 'Grift';
    src: url('fonts/grift-regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Grift';
    src: url('fonts/grift-medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Grift';
    src: url('fonts/grift-semibold.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Grift';
    src: url('fonts/grift-bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Grift';
    src: url('fonts/grift-black.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --color-primary: #37bbd2;
    --color-primary-dark: #1fb0c8;
    --color-primary-glow: rgba(55, 187, 210, 0.35);
    --color-black: #000000;
    --color-dark-charcoal: #231f20;
    --color-white: #ffffff;
    --color-light-bg: #f8fafc;
    --color-accent-green: #10b981;
    --font-heading: 'Grift', 'Montserrat', system-ui, -apple-system, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
    --navbar-height: 80px;
}

body {
    background-color: #ffffff;
    color: #0f172a;
    font-family: var(--font-body);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .font-heading, .ev-brand-logo, .ev-nav-link {
    font-family: var(--font-heading) !important;
}

/* TOP ANNOUNCEMENT BAR */
.ev-topbar {
    background: var(--color-dark-charcoal);
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 500;
    text-align: center;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}
.ev-topbar span.highlight {
    color: var(--color-primary);
    font-weight: 700;
    background: rgba(55, 187, 210, 0.2);
    padding: 2px 10px;
    border-radius: 12px;
}

/* NAVBAR IN ELECTRIC CYAN (#37bbd2) WITH LOGO & HAMBURGER */
.ev-navbar {
    position: sticky;
    top: 0;
    z-index: 99999;
    background: var(--color-primary);
    box-shadow: 0 4px 25px rgba(55, 187, 210, 0.35);
    height: var(--navbar-height);
}
.ev-nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.ev-brand-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}
.ev-brand-logo img {
    height: 40px !important;
    width: auto !important;
    display: block;
}
.ev-nav-menu {
    display: flex;
    align-items: center;
    gap: 28px;
}
.ev-nav-link {
    color: #000000;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 700;
    transition: all 0.2s;
}
.ev-nav-link:hover, .ev-nav-link.active {
    color: #ffffff;
}
.ev-nav-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}
.ev-cart-toggle-btn {
    background: #000000;
    border: none;
    color: #ffffff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.ev-cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #ef4444;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 800;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ev-mobile-hamburger {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px;
}

/* MOBILE DRAWER MENU */
.ev-mobile-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(4px);
    z-index: 999998;
    display: none;
    opacity: 0;
    transition: opacity 0.3s;
}
.ev-mobile-drawer-overlay.active {
    display: block;
    opacity: 1;
}
.ev-mobile-drawer {
    position: fixed;
    top: 0;
    left: -320px;
    width: 280px;
    height: 100vh;
    background: #0f172a;
    z-index: 999999;
    box-shadow: 10px 0 40px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
    transition: left 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.ev-mobile-drawer.active {
    left: 0;
}
.ev-mobile-drawer-header {
    padding: 24px 20px;
    background: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.ev-mobile-drawer-close {
    background: transparent;
    border: none;
    color: #000000;
    font-size: 1.8rem;
    cursor: pointer;
    font-weight: 900;
}
.ev-mobile-drawer-body {
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.ev-mobile-nav-link {
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    text-decoration: none;
    padding: 12px 16px;
    border-radius: 12px;
    background: rgba(255,255,255,0.05);
    transition: background 0.2s;
}
.ev-mobile-nav-link:hover {
    background: var(--color-primary);
    color: #000000;
}

/* DRAWER CART */
.ev-cart-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 999998;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.ev-cart-drawer-overlay.active {
    display: block;
    opacity: 1;
}
.ev-cart-drawer {
    position: fixed;
    top: 0;
    right: -440px;
    width: 100%;
    max-width: 420px;
    height: 100vh;
    background: #ffffff;
    z-index: 999999;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.ev-cart-drawer.active {
    right: 0;
}
.ev-cart-drawer-header {
    padding: 20px 24px;
    background: #000000;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.ev-cart-drawer-header h3 {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--color-primary);
}
.ev-cart-drawer-close {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
}
.ev-cart-drawer-body {
    flex: 1;
    padding: 20px 24px;
    overflow-y: auto;
}
.ev-cart-drawer-footer {
    padding: 20px 24px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}
.ev-cart-btn-checkout {
    display: block;
    width: 100%;
    padding: 15px 0;
    background: var(--color-primary);
    color: #000000;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1rem;
    text-align: center;
    text-decoration: none;
    border-radius: 14px;
    box-shadow: 0 8px 25px var(--color-primary-glow);
    box-sizing: border-box;
}

/* RESPONSIVE MOBILE MEDIA QUERIES (ZERO OVERFLOW) */
@media (max-width: 991px) {
    .ev-nav-menu {
        display: none !important;
    }
    .ev-mobile-hamburger {
        display: block !important;
    }
    .ev-topbar {
        font-size: 0.75rem;
        padding: 6px 12px;
        gap: 8px;
    }
    .ev-navbar {
        height: 66px;
    }
    .ev-brand-logo img {
        height: 34px !important;
    }
    div[style*="grid-template-columns:1fr 1.25fr"],
    div[style*="grid-template-columns: 1fr 1.25fr"] {
        grid-template-columns: 1fr !important;
    }
    input, select, textarea {
        font-size: 16px !important;
    }
}
