/* ==========================================
   GIOANNY - CÓDIGO MAESTRO DE DISEÑO 
   (PORTADA OSCURA + TIENDA CLARA + CARRITO + MENÚ FIJO)
========================================== */

/* --- 1. FONDO GLOBAL Y PORTADA --- */
/* Pintamos el fondo global de negro para sacar las franjas blancas laterales */
body, html, .site-wrapper, .ss-wrapper, #main-wrapper { 
    background-color: #0a0a0a !important; 
    color: #ffffff !important; 
    font-family: 'Montserrat', Arial, sans-serif !important; 
    margin: 0 !important; 
    padding: 0 !important; 
}
html { scroll-behavior: smooth !important; }

#servicios-titulo, .seccion-salon, #academia-titulo, .seccion-academia, .hero-section {
    background-color: transparent !important; 
}
h2:contains("Nuestra Tienda") { display: none !important; }

.container-limitado { max-width: 1100px; margin: 0 auto; padding: 80px 20px; box-sizing: border-box; }
.header-seccion { text-align: center; margin-bottom: 50px; }
.header-seccion h2 { font-size: 32px; font-weight: 800; color: #e3a857; text-transform: uppercase; margin: 0 0 10px 0; letter-spacing: 1px; }
.header-seccion p { font-size: 16px; color: #aaaaaa; max-width: 600px; margin: 0 auto; line-height: 1.6; }
.hero-section { position: relative; background-image: url('https://images.unsplash.com/photo-1560066984-138dadb4c035?q=80&w=1600&auto=format&fit=crop'); background-size: cover; background-position: center; min-height: 90vh; display: flex; align-items: center; justify-content: center; padding: 20px; text-align: center; }
.hero-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.75); z-index: 1; }
.hero-container { position: relative; z-index: 2; max-width: 800px; width: 100%; display: flex; flex-direction: column; gap: 30px; align-items: center; }
.hero-logo { font-size: 32px; font-weight: 900; letter-spacing: 4px; color: #e3a857; margin: 0; text-transform: uppercase; }
.hero-content h2 { font-size: 42px; font-weight: 800; color: #ffffff; line-height: 1.2; margin: 0 0 15px 0; }
.hero-content p { font-size: 18px; color: #cccccc; line-height: 1.6; max-width: 550px; margin: 0 auto; }
.hero-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; width: 100%; }
.btn-hero { background: transparent; color: #ffffff; text-decoration: none; padding: 15px 30px; border: 2px solid #ffffff; border-radius: 8px; font-weight: bold; font-size: 15px; transition: 0.3s; min-width: 220px; }
.btn-hero:hover { background: #ffffff; color: #111111; transform: translateY(-3px); }
.seccion-salon { background-color: transparent; }
.filtro-box { text-align: center; margin-bottom: 30px; }
.filtro-servicios { padding: 10px 15px; border-radius: 8px; font-size: 15px; min-width: 250px; background-color: #1a1a1a; color: #fff; border: 1px solid #333; outline: none; font-family: 'Montserrat', sans-serif; cursor: pointer; }
.tabla-servicios { width: 100%; border-collapse: collapse; text-align: left; background-color: #111111; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.5); }
.tabla-servicios th { padding: 15px; background-color: #1a1a1a; color: #fff; border-bottom: 2px solid #333; font-weight: bold; }
.tabla-servicios td { padding: 15px; border-bottom: 1px solid #222; color: #cccccc; }
.tabla-servicios tr:hover { background-color: #151515; }
.servicio-titulo { color: #e3a857; font-size: 1.05rem; font-weight: bold; }
.servicio-desc { font-weight: normal; color: #888; font-size: 0.85rem; display: block; margin-top: 5px; }
.btn-reservar { padding: 8px 16px; background-color: #e3a857; color: #111; text-decoration: none; border-radius: 6px; font-weight: bold; font-size: 0.9rem; display: inline-block; transition: 0.3s; }
.btn-reservar:hover { background-color: #f0bd75; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.team-card { background: #181818; border: 1px solid #282828; border-radius: 16px; padding: 25px; text-align: center; transition: 0.3s; }
.team-card:hover { transform: translateY(-8px); border-color: #e3a857; }
.team-avatar-wrapper { width: 100%; height: 260px; border-radius: 12px; overflow: hidden; margin-bottom: 20px; border: 2px solid #282828; }
.team-avatar { width: 100%; height: 100%; object-fit: cover; }
.team-info h3 { font-size: 22px; font-weight: 800; color: #fff; margin: 0 0 5px 0; }
.team-role { font-size: 12px; color: #e3a857; font-weight: bold; letter-spacing: 1px; display: block; margin-bottom: 15px; }
.team-desc { font-size: 14px; color: #aaa; line-height: 1.6; margin: 0; }
.seccion-academia { background-color: #111111; border-top: 1px solid #222; }
.cursos-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.curso-card { background: #1f1f1f; border: 1px solid #333; border-radius: 12px; padding: 25px; position: relative; display: flex; flex-direction: column; transition: 0.3s; }
.curso-card:hover { transform: translateY(-5px); border-color: #e3a857; box-shadow: 0 8px 25px rgba(227,168,87,0.05); }
.curso-badge { background: #e3a857; color: #111; padding: 6px 14px; border-radius: 20px; font-size: 11px; font-weight: 800; position: absolute; top: -12px; left: 20px; text-transform: uppercase; }
.curso-titulo { font-size: 22px; font-weight: 800; color: #ffffff; margin: 15px 0 5px 0; }
.curso-instructor { font-size: 12px; font-weight: 700; color: #e3a857; margin-bottom: 15px; text-transform: uppercase; }
.curso-desc { font-size: 14px; color: #cccccc; flex-grow: 1; margin-bottom: 20px; line-height: 1.6; }
.curso-leer-mas { color: #e3a857; font-weight: 800; text-decoration: none; margin-bottom: 20px; display: inline-block; font-size: 14px; }
.curso-leer-mas:hover { color: #fff; }
.curso-footer { border-top: 1px solid #333; padding-top: 15px; font-size: 13px; color: #888; display: flex; justify-content: space-between; }
@media screen and (max-width: 768px) { .hero-content h2 { font-size: 32px !important; } .btn-hero { width: 100%; box-sizing: border-box; } .tabla-servicios, .tabla-servicios thead, .tabla-servicios tbody, .tabla-servicios th, .tabla-servicios td, .tabla-servicios tr { display: block; width: 100%; } .tabla-servicios thead { display: none; } .tabla-servicios tr { margin-bottom: 15px; border: 1px solid #333; border-radius: 8px; padding: 15px; background: #1a1a1a; box-sizing: border-box; } .tabla-servicios td { border: none; padding: 6px 0; text-align: left; } .tabla-servicios td:nth-child(5) { text-align: left; margin-top: 10px; } }

/* --- 2. TIENDA BLANCA Y BOTONES OSCUROS (REGLA PARAGUAS) --- */
.ss-store-page, .ss-store-page body, .ss-store-page .site-wrapper, div[data-widget="store"], .ss-product-item {
    background-color: #ffffff !important;
}

/* Forzamos que TODO texto dentro de la tienda sea oscuro para evitar letras invisibles */
.ss-store-page *, div[data-widget="store"] * {
    color: #333333 !important;
    text-shadow: none !important;
}

/* Estilo para TODOS los botones dentro de la tienda (Agregar y Ver Detalle) */
.ss-store-page a[class*="btn"], .ss-store-page button, 
div[data-widget="store"] a[class*="btn"], div[data-widget="store"] button, 
.ss-product-item a, .ss-product-item button { 
    background-color: #f5f5f5 !important; 
    color: #111111 !important; 
    border: 1px solid #cccccc !important; 
    opacity: 1 !important; 
    visibility: visible !important; 
}
.ss-store-page a[class*="btn"]:hover, .ss-store-page button:hover, 
div[data-widget="store"] a[class*="btn"]:hover, div[data-widget="store"] button:hover, 
.ss-product-item a:hover, .ss-product-item button:hover { 
    background-color: #e3a857 !important; 
    border-color: #e3a857 !important; 
    color: #111111 !important; 
}

/* Devolvemos la transparencia al título del producto para que no parezca un botón */
.ss-product-item .ss-product-title a {
    background-color: transparent !important;
    border: none !important;
}

/* --- 3. CARRITO LATERAL EN CELULARES --- */
div[id*="cart-sidebar"], .cart-sidebar, .ss-cart-sidebar, .offcanvas-cart { background-color: #111111 !important; border-left: 1px solid #333 !important; }
div[id*="cart-sidebar"] *, .cart-sidebar *, .ss-cart-sidebar *, .offcanvas-cart * { color: #ffffff !important; text-shadow: none !important; }

/* --- 4. PARCHE DE CONTRASTE (GRIS PERLA DEFINITIVO) --- */
input, select, option, textarea, 
[class*="dropdown"], [class*="dropdown"] *, 
[role="listbox"], [role="listbox"] *,
[class*="select"], [class*="select"] *,
.ss-dropdown-menu * {
    background-color: #e8e8e8 !important; 
    color: #111111 !important; 
    text-shadow: none !important;
}

/* --- 5. MENÚ FIJO Y BOTÓN DE RESERVA DORADO --- */
header, #header, .site-header, [data-widget="header"], .ss-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 999999 !important;
    background-color: #0a0a0a !important; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.7) !important;
    border-bottom: 1px solid #222 !important;
    width: 100% !important; 
}
header a[href*="wa.me"], #header a[href*="wa.me"], .site-header a[href*="wa.me"], .ss-header a[href*="wa.me"] {
    background-color: #e3a857 !important;
    color: #111111 !important;
    padding: 8px 18px !important;
    border-radius: 6px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    font-size: 13px !important;
    margin-left: 10px !important;
    transition: 0.3s !important;
}
header a[href*="wa.me"]:hover, #header a[href*="wa.me"]:hover, .site-header a[href*="wa.me"]:hover, .ss-header a[href*="wa.me"]:hover {
    background-color: #f0bd75 !important;
    transform: scale(1.05) !important;
}