:root {
    --verde: #61FF00;
    --blanco: #ffffff;
    --oscuro: #0b0b0b;
    --panel: #1a1a1a;
    --azul: #0055ff;
    --plata: #2b2b2b;
}

/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--oscuro);
    color: var(--blanco);
    font-family: 'Segoe UI', sans-serif;
}

/* ================= OVERLAY ================= */
.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease;
    z-index: 150;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ================= HERO ================= */
.hero-section {
    padding: 3rem 5%;
    display: flex;
    justify-content: center;
}

.hero-box {
    background: var(--panel);
    padding: 2rem;
    border-radius: 18px;
    border: 2px solid var(--verde);
    text-align: center;
    max-width: 600px;
}

/* ================= CATÃLOGO ================= */
.catalog-section {
    padding: 3rem 5%;
    text-align: center;
}

.catalog-title {
    font-size: 2rem;
    margin-bottom: 0.3rem;
    text-shadow: 0 0 10px var(--verde);
}

.catalog-subtitle {
    color: #ccc;
    margin-bottom: 2rem;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

/* ================= TARJETAS ================= */.catalog-card {
    background: var(--panel);
    padding: 1.8rem 1.2rem;
    border-radius: 18px;
    text-decoration: none;
    color: var(--blanco);
    border: 2px solid transparent;
    transition: transform 0.3s, filter 0.3s, box-shadow 0.3s;

}


.catalog-card img {
    width: 80px;
    margin-bottom: 0.8rem;
}
.catalog-card span {
    display: block;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.3rem;

    
}

.catalog-card small {
    font-size: 0.95rem;
    color: #ccc;
}

/* iOS GRANDE */
.catalog-card.big {
    grid-column: span 2;
    padding: 2.5rem 1.5rem;
}

.catalog-card.big img {
    width: 110px;
}

/* COLORES */
.ios { border-color: #fff; }
.android { border-color: var(--verde); }
.consolas { border-color: var(--azul); }
.accesorios { border-color: #aaa; }

/* ================= HOVER PROFESIONAL ================= */
.catalog-grid:hover .catalog-card {
    filter: brightness(0.45);
}

.catalog-card:hover {
    filter: brightness(1) !important;
    transform: translateY(-8px) scale(1.04);
}

.catalog-card.ios:hover {
    box-shadow: 0 0 35px rgba(255,255,255,0.6);
}

.catalog-card.android:hover {
    box-shadow: 0 0 35px rgba(97,255,0,0.6);
}

.catalog-card.consolas:hover {
    box-shadow: 0 0 35px rgba(0,85,255,0.6);
}

.catalog-card.accesorios:hover {
    box-shadow: 0 0 30px rgba(255,255,255,0.4);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 600px) {
    .catalog-grid {
        grid-template-columns: 1fr;
    }

    .catalog-card.big {
        grid-column: span 1;
    }
}

/* ================= SOBRE NOSOTROS ================= */
.about-section {
    padding: 4rem 5%;
    background: var(--plata); /* fondo gris oscuro/plata */
    display: flex;
    justify-content: center;
}

.about-box {
    max-width: 800px;
    text-align: center;
    color: var(--blanco);
}

/* TÃ­tulo con glow y lÃ­nea desvanecida */
.about-title {
    font-size: 1.8rem;
    text-shadow: 0 0 10px var(--verde);
    margin: 1.5rem 0;
    position: relative;
    display: inline-block;
    padding: 0 1rem;
}

.about-title::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--verde) 50%, transparent);
    transform: translateY(-8px);
}

.about-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--verde) 50%, transparent);
    transform: translateY(8px);
}

.about-box p {
    font-size: 1rem;
    line-height: 1.6;
    color: #ccc;
    max-width: 650px;
    margin: 1rem auto 0 auto;
}
/* ================= CONTACTO / UBICACIÃ“N MINIMAL CON ICONOS FOTO ================= */
.contact-section {
    background: #2b2b2b; /* gris oscuro */
    padding: 3rem 5%;
}

.contact-box {
    max-width: 700px;
    margin: auto;
    padding: 2rem;
    border-radius: 12px;
    background: #2b2b2b; /* gris */
    position: relative;
}

/* LÃ­nea verde sobre el tÃ­tulo */
.contact-box h2::before {
    content: "";
    position: absolute;
    top: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--verde);
    border-radius: 2px;
}

/* TÃ­tulo secciÃ³n contacto */
.contact-box h2 {
    text-align: center;
    color: var(--blanco);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 8px var(--verde);
    position: relative;
    padding-top: 1rem;
}

/* InformaciÃ³n de contacto */
.contact-box p {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #ccc;
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
}

.contact-box p i {
    color: var(--verde);
    min-width: 20px;
    font-size: 1.2rem;
}

/* Redes sociales con imÃ¡genes */
.contact-box .socials {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.contact-box .socials a img {
    width: 36px;
    height: 36px;
    transition: transform 0.3s, filter 0.3s;
}

/* Facebook ligeramente mÃ¡s grande */
.contact-box .socials a.facebook img {
    width: 36px;
    height: 36px;
}

.contact-box .socials a:hover img {
    transform: scale(1.2);
}

/* RESPONSIVE */
@media (max-width: 600px) {
    .contact-box h2 { font-size: 1.5rem; }
    .contact-box p { font-size: 0.9rem; }
    .contact-box .socials { flex-direction: row; gap: 1rem; }
    .contact-box .socials a img { width: 30px; height: 30px; }
    .contact-box .socials a.facebook img { width: 33px; height: 33px; }
}
.socials-vertical {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.socials-vertical a {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    color: #fff;
    padding: 0.6rem;
    border-radius: 10px;
    transition: 0.3s;
}

.socials-vertical a:hover {
    background: #1f1f1f;
    transform: translateX(6px);
}

.socials-vertical img {
    width: 28px;
    height: 28px;
}

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 55px;
    height: 55px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(37,211,102,0.7);
    z-index: 999;
}

.whatsapp-float img {
    width: 32px;
}/* ===== BANNER iOS (AJUSTE FINAL, SIN ROMPER NADA) ===== */
.ios-banner {
    width: 100%;
    height: 300px;
    background: url("https://raw.githubusercontent.com/LuisMarcillo/Smart-Lab/refs/heads/main/LogoiOS.jpg")
        center / cover no-repeat;
    position: relative;
}

/* Overlay degradado */
.ios-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.75),
        rgba(0,0,0,0.35),
        rgba(0,0,0,0)
    );
    z-index: 1;
}

/* TEXTO (control total con top) */
.ios-banner-overlay {
    position: absolute;
    top: 2.6rem;          /* ðŸ”½ BAJADO UN POCO */
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    text-align: center;
    padding: 0 1rem;
    width: 100%;
    max-width: 520px;
}

/* TÃTULO */
.ios-banner-overlay h1 {
    font-size: 2.2rem;    /* ðŸ”¼ un poco mÃ¡s grande, no exagerado */
    color: #61FF00;
    text-shadow: 0 0 10px rgba(97,255,0,0.6);
    margin-bottom: 0.3rem;
}

/* SUBTÃTULO */
.ios-banner-overlay p {
    font-size: 1.1rem;    /* legible y limpio */
    color: #ddd;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
    .ios-banner {
        height: 240px;
    }

    .ios-banner-overlay {
        top: 2rem;        /* ðŸ”½ tambiÃ©n bajado en mÃ³vil */
    }

    .ios-banner-overlay h1 {
        font-size: 1.6rem;
    }

    .ios-banner-overlay p {
        font-size: 0.95rem;
    }
}/* ===== BANNER iOS (AJUSTE FINAL, SIN ROMPER NADA) ===== */
.ios-banner {
    width: 100%;
    height: 300px;
    background: url("https://raw.githubusercontent.com/LuisMarcillo/Smart-Lab/refs/heads/main/Screenshot_20260111-160734.jpg")
        center / cover no-repeat;
    position: relative;
}

/* Overlay degradado */
.ios-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.75),
        rgba(0,0,0,0.35),
        rgba(0,0,0,0)
    );
    z-index: 1;
}

/* TEXTO */
.ios-banner-overlay {
    position: absolute;
    top: 2.6rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    text-align: center;
    padding: 0 1rem;
    width: 100%;
    max-width: 520px;
}

.ios-banner-overlay h1 {
    font-size: 2.2rem;
    color: #61FF00;
    text-shadow: 0 0 10px rgba(97,255,0,0.6);
    margin-bottom: 0.3rem;
}

.ios-banner-overlay p {
    font-size: 1.1rem;
    color: #ddd;
}

/* RESPONSIVE */
@media (max-width: 600px) {
    .ios-banner {
        height: 240px;
    }

    .ios-banner-overlay {
        top: 2rem;
    }

    .ios-banner-overlay h1 {
        font-size: 1.6rem;
    }

    .ios-banner-overlay p {
        font-size: 0.95rem;
    }
}

/* ===== VIDEO AL HOVER ===== */
.ios-banner.video-hover {
    overflow: hidden;
}

.ios-banner-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.ios-banner.video-hover:hover .ios-banner-video {
    opacity: 1;
}

.ios-banner.video-hover .ios-banner-overlay {
    z-index: 2;
}
/* OCULTAR TEXTO CUANDO SALE EL VIDEO */
.ios-banner.video-hover:hover .ios-banner-overlay {
  opacity: 0;
  pointer-events: none;
}

/* DESACTIVAR VIDEO EN MÃ“VIL */
@media (max-width: 768px) {
    .ios-banner-video {
        display: none;
    }
}
/* ===== FIX DEFINITIVO VIDEO HOVER iOS ===== */
.ios-banner.video-hover {
    overflow: hidden;
}

/* Video siempre cargado */
.ios-banner-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

/* Mostrar video al hover */
.ios-banner.video-hover:hover .ios-banner-video {
    opacity: 1;
}

/* Texto siempre visible */
.ios-banner.video-hover .ios-banner-overlay {
    z-index: 2;
}

/* En mÃ³vil no se usa hover */
@media (max-width: 768px) {
    .ios-banner-video {
        display: none;
    }
}
/* ===== BUSCADOR + FILTRO ===== */
.catalog-tools {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.search-box {
    display: flex;
    align-items: center;
    background: #1a1a1a;
    border-radius: 12px;
    padding: 0.6rem 1rem;
    gap: 0.5rem;
    border: 1px solid rgba(255,255,255,0.1);
}

.search-box input {
    background: none;
    border: none;
    outline: none;
    color: #fff;
    font-size: 0.95rem;
    width: 180px;
}

.search-box span {
    color: var(--verde);
}

/* FILTRO */
.filter-select {
    background: #1a1a1a;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 0.6rem 1rem;
    font-size: 0.95rem;
}

/* ===== GRID DE IPHONES (2 POR FILA) ===== */
.phones-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

/* RESPONSIVE */
@media (max-width: 600px) {
    .phones-grid {
        grid-template-columns: 1fr;
    }
}
/* ================= FIX GRID IPHONE ================= */

/* Forzar 2 columnas en iPhone */
.phones-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
}

/* Ajuste visual de tarjetas */
.phones-grid .catalog-card {
    padding: 1.2rem 0.8rem;
}

.phones-grid .catalog-card img {
    width: 70px;
    margin-bottom: 0.6rem;
}

/* Texto mÃ¡s compacto */
.phones-grid .catalog-card span {
    font-size: 1.1rem;
}

.phones-grid .catalog-card small {
    font-size: 0.85rem;
}

/* ðŸ“± MÃ“VIL: seguir en 2 columnas */
@media (max-width: 600px) {
    .phones-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* ================= IPHONE PAGE â€“ COMPACTAR ESPACIADO ================= */

/* Contenedor general */
.catalog-section {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

/* TÃ­tulo */
.catalog-title {
    margin-bottom: 0.2rem;
}

/* SubtÃ­tulo */
.catalog-subtitle {
    margin-bottom: 1.2rem;
}

/* Barra bÃºsqueda + filtro */
.catalog-controls {
    margin-bottom: 1.4rem;
    gap: 0.8rem;
}

/* Input bÃºsqueda */
.catalog-controls input {
    padding: 0.7rem 1rem;
}

/* Select filtro */
.catalog-controls select {
    padding: 0.7rem 1rem;
}

/* Grid de iPhone */
.phones-grid {
    margin-top: 0;
    gap: 1rem;
}

/* Tarjetas */
.phones-grid .catalog-card {
    padding: 1rem 0.7rem;
}

/* Imagen */
.phones-grid .catalog-card img {
    margin-bottom: 0.4rem;
}

/* Texto */
.phones-grid .catalog-card span {
    margin-bottom: 0.15rem;
}

/* ðŸ“± MÃ“VIL */
@media (max-width: 600px) {
    .catalog-section {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }

    .catalog-controls {
        margin-bottom: 1rem;
    }
}
.iphone-detail {
    display: none;
    text-align: center;
    padding: 2rem;
}

.buy-button {
    margin-top: 1rem;
    padding: 0.7rem 1.4rem;
    background: #61FF00;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
}/* ===== FIX SOLO PARA CATALOGO IPHONE ===== */

/* SOLO dentro del catÃ¡logo de iPhone */
#iphone-list .phones-grid {
    gap: 2rem;
}

#iphone-list .catalog-card.ios {
    min-height: 320px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Espacio real para imagen */
#iphone-list .catalog-card .phone-img {
    width: 100%;
    height: 140px;
    border-radius: 12px;
    background: linear-gradient(145deg, #1c1c1c, #111);
    border: 1px dashed rgba(255,255,255,0.25);
    margin-bottom: 1rem;

    display: flex;
    align-items: center;
    justify-content: center;
}

#iphone-list .catalog-card .phone-img::after {
    content: "Imagen aquÃ­";
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
}

/* Texto */
#iphone-list .catalog-card span {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

#iphone-list .catalog-card small {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 0.8rem;
}

/* BotÃ³n */
#iphone-list .buy-button {
    background: #61FF00;
    color: #000;
    border: none;
    padding: 0.7rem;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

#iphone-list .buy-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(97,255,0,0.6);
}
/* ===== ESPACIO REAL PARA IMÃGENES IPHONE ===== */

#iphone-list .catalog-card.ios {
    min-height: 360px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* CONTENEDOR DE IMAGEN */
#iphone-list .phone-img {
    width: 100%;
    height: 160px;
    border-radius: 14px;
    background: linear-gradient(145deg, #1b1b1b, #0f0f0f);
    border: 1px solid rgba(255,255,255,0.15);
    margin-bottom: 1rem;

    display: flex;
    align-items: center;
    justify-content: center;
}

/* IMAGEN REAL */
#iphone-list .phone-img img {
    max-height: 140px;
    max-width: 90%;
    object-fit: contain;
}

/* TEXTO */
#iphone-list .catalog-card span {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

#iphone-list .catalog-card small {
    font-size: 1.05rem;
    opacity: 0.9;
    margin-bottom: 0.9rem;
}

/* BOTÃ“N */
#iphone-list .buy-button {
    background: #61FF00;
    color: #000;
    border: none;
    padding: 0.75rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
}

/* --- Mejora de la Barra de Navegación --- */

header {
    background-color: #000; /* Fondo negro puro */
    padding: 1rem 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* Iconos de la izquierda */
.nav-icons {
    display: flex;
    gap: 1.2rem;
    flex: 1; /* Esto ayuda a centrar el logo */
}

.nav-icons .material-symbols-outlined {
    color: #fff;
    cursor: pointer;
    font-size: 1.5rem;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

/* Efecto Neón en Iconos al pasar el mouse */
.nav-icons .material-symbols-outlined:hover {
    color: #39ff14; /* Verde neón */
    text-shadow: 0 0 8px #39ff14;
}

/* Logo Centrado */
.logo {
    flex: 0; 
}

.logo-img {
    height: 45px; /* Ajusta según tu preferencia */
    display: block;
    filter: drop-shadow(0 0 5px rgba(57, 255, 20, 0.3)); /* Brillo sutil al logo */
}

/* Menú hamburguesa */
.menu-toggle {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    color: #fff;
    font-size: 1.8rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.menu-toggle:hover {
    color: #39ff14;
}

/* Ajuste para móviles */
@media (max-width: 768px) {
    header {
        padding: 0.8rem 1rem;
    }
    
    .logo-img {
        height: 35px;
    }
    
    .nav-icons {
        gap: 0.8rem;
    }
}
/* ================= APPLE STYLE HEADER ================= */
.apple-header {
    position: sticky;
    top: 0;
    z-index: 2000;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.apple-nav {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
}

.apple-logo img {
    height: 34px;
}

.apple-actions {
    display: flex;
    gap: 12px;
}

.nav-btn {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 6px;
    border-radius: 50%;
    transition: background 0.3s;
}

.nav-btn:hover {
    background: rgba(255,255,255,0.1);
}/* ================= PANEL QUE CAE ================= */
.apple-panel {
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background: #000;

    display: flex;
    flex-direction: column;
    align-items: center;

    overflow: hidden;
    max-height: 0;

    /* caída general del panel (más lenta y suave) */
    transition: max-height 0.9s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.apple-panel.active {
    max-height: 420px;
}

/* LINKS – estado inicial */
.apple-panel a {
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    padding: 16px 0;

    opacity: 0;
    transform: translateY(-32px);

    /* transición individual MÁS SUAVE */
    transition:
        opacity 0.75s cubic-bezier(0.25, 0.8, 0.25, 1),
        transform 0.75s cubic-bezier(0.25, 0.8, 0.25, 1);

    /* retraso escalonado MÁS NOTORIO */
    transition-delay: calc(var(--i) * 0.22s);
}

/* LINKS – cuando el panel está activo */
.apple-panel.active a {
    opacity: 1;
    transform: translateY(0);
}

/* ================= OVERLAY ================= */
.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
    z-index: 1500;
}

.overlay.active {
    opacity: 1;
    pointer-events: all;
}

/* ================= APPLE STYLE HEADER ================= */
.apple-header {
    position: sticky;
    top: 0;
    z-index: 2000;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.apple-nav {
    height: 60px;
    max-width: 1200px;
    margin: auto;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.apple-logo img {
    height: 36px;
    filter: drop-shadow(0 0 6px rgba(97,255,0,0.35));
}

/* Acciones */
.apple-actions {
    display: flex;
    gap: 10px;
}

/* Botones */
.nav-btn {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 6px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s ease, color 0.25s ease;
}

.nav-btn:hover {
    background: rgba(255,255,255,0.08);
    color: #61FF00;
}


/* Iconos */
.nav-btn .material-symbols-outlined {
    font-size: 22px;
}
/* ================= BORDE PREMIUM CON BRILLO SOFISTICADO ================= */

/* HERO BOX */
.hero-box {
    border: 1.5px solid rgba(97, 255, 0, 0.55);
    box-shadow:
        0 0 0 1px rgba(97, 255, 0, 0.15),
        0 0 25px rgba(97, 255, 0, 0.25),
        inset 0 0 12px rgba(97, 255, 0, 0.08);
    transition: box-shadow 0.4s ease, border-color 0.4s ease;
}

/* TARJETAS DE CATEGORÍAS */
.catalog-card {
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.08),
        0 0 18px rgba(255, 255, 255, 0.18),
        inset 0 0 10px rgba(255, 255, 255, 0.05);
    transition: all 0.35s ease;
}

/* Hover elegante */
.catalog-card:hover {
    border-color: rgba(97, 255, 0, 0.7);
    box-shadow:
        0 0 0 1px rgba(97, 255, 0, 0.25),
        0 0 35px rgba(97, 255, 0, 0.45),
        inset 0 0 14px rgba(97, 255, 0, 0.12);
    transform: translateY(-6px) scale(1.03);
}
/* ================= BRILLOS PREMIUM POR CATEGORÍA ================= */

/* BASE (sin hover, discreto) */
.catalog-card {
    border: 1.5px solid rgba(255,255,255,0.25);
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.05),
        inset 0 0 10px rgba(255,255,255,0.04);
    transition: 
        box-shadow 0.4s ease,
        border-color 0.4s ease,
        transform 0.4s ease;
}

/* ================= iOS – BLANCO APPLE ================= */
.catalog-card.ios:hover {
    border-color: rgba(255,255,255,0.9);
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.35),
        0 0 35px rgba(255,255,255,0.45),
        inset 0 0 14px rgba(255,255,255,0.12);
    transform: translateY(-6px) scale(1.03);
}

/* ================= ANDROID – VERDE ELEGANTE ================= */
.catalog-card.android:hover {
    border-color: rgba(97,255,0,0.85);
    box-shadow:
        0 0 0 1px rgba(97,255,0,0.35),
        0 0 40px rgba(97,255,0,0.45),
        inset 0 0 14px rgba(97,255,0,0.12);
    transform: translateY(-6px) scale(1.03);
}

/* ================= CONSOLAS – AZUL PREMIUM ================= */
.catalog-card.consolas:hover {
    border-color: rgba(0,85,255,0.9);
    box-shadow:
        0 0 0 1px rgba(0,85,255,0.35),
        0 0 40px rgba(0,85,255,0.5),
        inset 0 0 14px rgba(0,85,255,0.15);
    transform: translateY(-6px) scale(1.03);
}

/* ================= ACCESORIOS – PLATA SOFISTICADO ================= */
.catalog-card.accesorios:hover {
    border-color: rgba(200,200,200,0.85);
    box-shadow:
        0 0 0 1px rgba(200,200,200,0.3),
        0 0 30px rgba(200,200,200,0.45),
        inset 0 0 12px rgba(200,200,200,0.1);
    transform: translateY(-6px) scale(1.03);
}
/* ================= HAMBURGUESA ANIMADA ================= */
.burger {
    width: 42px;
    height: 42px;
    position: relative;
}

.burger span {
    position: absolute;
    left: 10px;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Posiciones iniciales */
.burger span:nth-child(1) { top: 13px; }
.burger span:nth-child(2) { top: 20px; }
.burger span:nth-child(3) { top: 27px; }

/* === CUANDO ESTÁ ACTIVO (X) === */
.burger.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 20px;
}

.burger.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0.5);
}

.burger.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 20px;
}
/* ================= HOVER SOLO PARA PC ================= */
@media (hover: hover) and (pointer: fine) {
    .catalog-card:hover {
        filter: brightness(1.1);
        box-shadow: 0 0 20px rgba(0, 255, 0, 0.4);
        transform: scale(1.03);
    }
}

/* ================= COMPORTAMIENTO EN CELULAR ================= */
@media (hover: none) and (pointer: coarse) {
    .catalog-card {
        transition: transform 0.1s ease, box-shadow 0.1s ease;
    }

    .catalog-card:hover,
    .catalog-card:focus {
        filter: none !important;
        box-shadow: none !important;
        transform: none !important;
    }

    .catalog-card:active {
        transform: scale(0.98);
        box-shadow: 0 0 12px rgba(0, 255, 0, 0.4);
    }
}

/* ================= FIX ANDROID ================= */
.catalog-card {
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}
/* ================= HEADER DETALLE ================= */
.detail-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    z-index: 3000;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.detail-back {
    background: rgba(255,255,255,0.1);
    border: none;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.detail-logo {
    height: 32px;
    object-fit: contain;
}

.detail-actions {
    display: flex;
    gap: 14px;
    color: #fff;
}

.detail-actions span {
    cursor: pointer;
    opacity: 0.85;
}
.device-icon.accessories {
    width: 56px;
    height: auto;
}
.catalog-subtitle {
    letter-spacing: 0.3px;
}.hero-box {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    min-height: 220px;
}

.hero-img-full {
    width: 100%;
    max-width: 320px;   /* 🔥 AJUSTA AQUÍ */
    height: auto;
    display: block;
}
.menu-item {
    width: 100%;
}

/* Apple se ve igual que los links */
.menu-title {
    display: block;
    text-align: center;
    font-size: 1.1rem;
    padding: 14px 0;
    cursor: pointer;
    color: white;
}

}/* Ajuste para que el panel principal pueda crecer si se abren submenús */
.apple-panel.active {
    max-height: 100vh; 
    overflow-y: auto; /* Permite scroll si hay muchos modelos */
}

.submenu-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    width: 100%;
}
/* ===== SUBMENÚS DEL HEADER ===== */

.menu-item {
  width: 100%;
  text-align: center;
}

.submenu {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.25s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.menu-item.open .submenu {
  max-height: 500px; /* suficiente para todos */
  opacity: 1;
}

.submenu a {
  padding: 10px 0;
  font-size: 0.95rem;
  color: #bfbfbf;
  text-decoration: none;
}

.submenu a:hover {
  color: var(--verde);
}

.menu-title {
  display: block;
  padding: 14px 0;
  font-size: 1.2rem;
  cursor: pointer;
  color: white;
}
.image-viewer {
  position: relative;
  max-width: 420px;
  margin: auto;
}

.image-viewer img {
  width: 100%;
  border-radius: 18px;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,.45);
  border: none;
  color: #fff;
  font-size: 2rem;
  padding: .4rem .7rem;
  cursor: pointer;
  border-radius: 50%;
  z-index: 5;
}

.carousel-btn.left {
  left: 8px;
}

.carousel-btn.right {
  right: 8px;
}

@media (max-width: 768px) {
  .carousel-btn {
    font-size: 1.6rem;
  }
}
.gen-filter {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2rem;
}

.gen-btn {
  background: #141414;
  border: 1px solid rgba(255,255,255,0.08);
  color: #bbb;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font-size: 0.75rem;
  cursor: pointer;
  transition: 0.25s;
}

.gen-btn:hover {
  border-color: var(--primary-green);
  color: #fff;
}

.gen-btn.active {
  background: var(--primary-green);
  color: #7CFF00;
  font-weight: 600;
}.hero-box {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-cta {
  margin-top: 2rem;

  padding: 0.85rem 2.2rem;
  background: linear-gradient(135deg, #7CFF00, #4DFF00);

  color: #000;
  font-weight: 600;
  font-size: 0.95rem;

  border-radius: 999px;
  text-decoration: none;

  box-shadow: 0 8px 20px rgba(124, 255, 0, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(124, 255, 0, 0.55);
}

}

.hero-cta {
  margin-top: 2rem;

  padding: 0.85rem 2.2rem;
  background: linear-gradient(135deg, #7CFF00, #4DFF00);

  color: #000;
  font-weight: 600;
  font-size: 0.95rem;

  border-radius: 999px;
  text-decoration: none;

  box-shadow: 0 8px 20px rgba(124, 255, 0, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(124, 255, 0, 0.55);
}
}

.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(124, 255, 0, 0.55);
}
.filter-dropdown {
  position: relative;
}

.filter-menu {
  display: none;
  position: absolute;
  top: 110%;
  right: 0;
  background: #111;
  border-radius: 12px;
  padding: 0.5rem;
  box-shadow: 0 10px 30px rgba(0,0,0,.6);
  z-index: 10;
}

.filter-menu.open {
  display: flex;
  flex-direction: column;
}

.filter-menu button {
  background: none;
  border: none;
  color: #fff;
  padding: 0.6rem 1rem;
  text-align: left;
}
/* ===== BUSCADOR HEADER ===== */
.header-search {
    position: absolute;
    top: 64px;
    left: 0;
    width: 100%;
    background: #000;
    padding: 1rem;
    display: none;
    z-index: 999;
}

.header-search.active {
    display: block;
}

.header-search input {
    width: 100%;
    padding: 0.8rem 1rem;
    border-radius: 12px;
    border: none;
    outline: none;
    font-size: 1rem;
}
/* ================= CARRITO ================= */
.cart-panel {
  position: fixed;
  top: 64px; /* debajo del header */
  right: 1rem;
  width: 320px;
  max-width: 90%;
  background: #111;
  border-radius: 14px;
  padding: 1rem;
  color: #fff;
  box-shadow: 0 20px 40px rgba(0,0,0,0.6);
  z-index: 2000;

  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: all 0.25s ease;
}

.cart-panel.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.cart-panel h4 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

.cart-items {
  font-size: 0.9rem;
  color: #aaa;
}
/* ===== HEADER FIX ===== */
.main-header {
  position: sticky;
  top: 0;
  z-index: 2000;
  background: #000;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.header-inner {
  max-width: 1200px;
  margin: auto;
  height: 64px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo img {
  height: 34px;
  width: auto;
  max-width: none;
}

/* botones */
.icon-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 26px;
  cursor: pointer;
}/* ===================== SUBMENÚ HEADER ===================== */

.menu-item .submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.menu-item .submenu.active {
  max-height: 500px; /* suficiente para los links */
}

/* opcional: sangría visual */
.menu-item .submenu a {
  padding-left: 1.5rem;
}
/* ===================== TEXTO MENÚ LATERAL ===================== */

.apple-panel,
.apple-panel a,
.apple-panel .menu-title {
  color: #ffffff;
}

/* títulos Apple / Android */
.apple-panel .menu-title {
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
}

/* enlaces de submenú */
.apple-panel .submenu a {
  color: #cfcfcf;
  font-size: 0.95rem;
  padding: 0.5rem 0;
  display: block;
}

/* hover */
.apple-panel a:hover,
.apple-panel .menu-title:hover {
  color: #61ff00; /* verde Smart Lab */
}
/* ===================== FIX DEFINITIVO TEXTO MENÚ ===================== */

#categoriesBar {
  color: #ffffff !important;
}

#categoriesBar * {
  color: #ffffff !important;
  opacity: 1 !important;
  filter: none !important;
  mix-blend-mode: normal !important;
}

/* títulos Apple / Android */
#categoriesBar .menu-title {
  font-size: 1.1rem;
  font-weight: 600;
}

/* enlaces */
#categoriesBar a {
  text-decoration: none;
}

/* submenús */
#categoriesBar .submenu {
  background: #000;
}

#categoriesBar .submenu a {
  color: #cfcfcf !important;
  font-size: 0.95rem;
}

/* hover */
#categoriesBar a:hover,
#categoriesBar .menu-title:hover {
  color: #61ff00 !important;
}/* ================= SMART BANNER ================= */#smartBanner {
  position: relative;
  height: 45vh;
  min-height: 260px;

  background-image: url("../images/accesoriosbanner.png");
  background-size: 100%;
  background-position: center top;
  background-repeat: no-repeat;

  margin-top: 70px;
}


/* Overlay */
#smartBanner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}


/* Texto */
.smart-banner-overlay {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
}

.smart-banner-overlay h1 {
  color: #39ff14;
  font-size: clamp(1.6rem, 4vw, 2.3rem);
  margin-bottom: 0.3rem;
}

.smart-banner-overlay p {
  color: #ddd
  font-size: 0.95rem;
}
#smartBanner {
  background-image:
    linear-gradient(to bottom, rgba(0,0,0,0.15), rgba(0,0,0,0.85)),
    url("../images/accesoriosbanner.png");
}
/* ================= BOTÓN WHATSAPP ================= */
.btn-ws {
  display: flex;              /* ⬅ clave */
  align-items: center;
  justify-content: center;

  width: 100%;
  min-height: 52px;

  background: #39ff14;
  color: #000 !important;

  text-decoration: none;      /* ⬅ quita estilo de link */
  font-weight: 600;
  font-size: 1rem;

  border-radius: 14px;
  border: none;

  box-shadow: 0 0 20px rgba(57, 255, 20, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-ws:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 26px rgba(57, 255, 20, 0.55);
}
.buy-button,
.buy-btn {
    margin-top: auto;
}
/* =========================
   AJUSTES SOLO PARA PC
   ========================= */
@media (min-width: 1024px) {

  /* ---------- CONTENEDOR GENERAL ---------- */
  .container,
  .main-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
  }

  /* ---------- HERO EN 2 COLUMNAS ---------- */
  .hero,
  .hero-section {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: 4rem;
    min-height: 80vh;
  }

  /* Texto hero */
  .hero h1 {
    font-size: 3rem;
  }

  .hero p {
    font-size: 1.1rem;
    max-width: 520px;
  }

  /* ---------- GRID DE PRODUCTOS ---------- */
  .products-grid,
  .catalog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }

  /* ---------- CARD PRODUCTO ---------- */
  .product-card {
    transition: transform .3s ease, box-shadow .3s ease;
  }

  .product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 25px rgba(0, 255, 0, .35);
  }

  /* ---------- FILTROS EN LATERAL ---------- */
  .catalog-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 2.5rem;
    align-items: flex-start;
  }

  /* ---------- HEADER DESKTOP ---------- */
  .menu-desktop {
    display: flex;
    gap: 2rem;
    align-items: center;
  }

  .menu-mobile {
    display: none;
  }

  /* ---------- FOOTER DESKTOP ---------- */
  .footer,
  footer {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }

  /* ---------- GLOW MÁS SUAVE EN PC ---------- */
  .glow,
  .neon {
    box-shadow: 0 0 18px rgba(0, 255, 0, .25);
  }

}
/* ============================
   SOLO CUANDO ESTÁ EN HORIZONTAL
   ============================ */
@media screen and (orientation: landscape) and (min-width: 600px) {

  /* GRID DE CATEGORÍAS / PRODUCTOS */
  .catalog-grid,
  .products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  /* TARJETAS */
  .product-card,
  .category-card {
    transition: transform .3s ease, box-shadow .3s ease;
  }

  .product-card:hover,
  .category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 22px rgba(0, 255, 0, .3);
  }

  /* HERO MÁS ANCHO */
  .hero,
  .hero-section {
    padding: 4rem 3rem;
  }

}
@media screen and (orientation: landscape) and (min-width: 600px) {

  .product-card {
    padding: 1.5rem;
  }

  .product-card img {
    max-height: 160px;
    object-fit: contain;
  }

}
@media screen and (orientation: landscape) {

  .btn-buy {
    padding: .6rem 1.5rem;
    font-size: .95rem;
  }

}
@media screen and (orientation: landscape) {

  .category-card {
    padding: 3rem 2rem;
  }

}
@media screen and (orientation: landscape) {
    /* ===== ANIMACIÓN ENTRADA CARRITO ===== */
.page-enter {
  animation: pageFadeSlide 0.35s ease-out both;
}

@keyframes pageFadeSlide {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}