/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.cuenta-dropdown {
    position: relative;
    display: inline-block;
    margin-left: 1rem;
    font-family: 'Inter', sans-serif;
}

.cuenta-icono {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 6px 12px;
    border: 2px solid #00ffcc;
    border-radius: 30px;
    color: white;
    transition: background 0.3s ease;
}

.cuenta-icono:hover {
    background-color: #00ffcc33;
}

.cuenta-icono i {
    font-size: 1.5rem;
}

.cuenta-texto span {
    font-size: 0.8rem;
    color: #ccc;
}

.cuenta-texto strong {
    font-size: 0.9rem;
    color: white;
}

.cuenta-formulario {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #111;
    color: #fff;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 1rem;
    width: 230px;
    display: none;
    box-shadow: 0 5px 20px rgba(0, 255, 204, 0.2);
    z-index: 1000;
}

.cuenta-formulario input {
    width: 100%;
    margin-bottom: 0.7rem;
    padding: 0.6rem;
    border-radius: 6px;
    border: 1px solid #444;
    background: #222;
    color: #fff;
    font-family: 'Inter', sans-serif;
}

.cuenta-formulario .btn-ingresar {
    width: 100%;
    background-color: #00ffcc;
    color: #000;
    font-weight: bold;
    padding: 0.6rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    margin-bottom: 0.5rem;
    transition: background 0.3s;
}

.cuenta-formulario .btn-ingresar:hover {
    background-color: #00ccaa;
}

.cuenta-formulario .olvide {
    font-size: 0.8rem;
    color: #ccc;
    display: block;
    margin-bottom: 0.6rem;
    text-align: center;
    text-decoration: none;
}

.cuenta-formulario .btn-crear {
    width: 100%;
    background-color: transparent;
    color: #00ffcc;
    border: 1px solid #00ffcc;
    padding: 0.5rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
}

.cuenta-formulario .btn-crear:hover {
    background-color: #00ffcc;
    color: #000;
}

@media (max-width: 600px) {
    .cuenta-formulario {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 90%;
        max-width: 350px;
        z-index: 9999;
    }
}


/* Body */
body {
    background-color: #1a1a1a;
    color: white;
    font-family: "Inter", sans-serif;
    line-height: 1.6;

}

/* Header */
/* Estilo para el contenedor general */
/* Header ocupa el ancho completo */
.header {
    width: 100%;
    background-color: #000;
    border-bottom: 2px solid #00ffcc;
}



main {
    max-width: 1200px;
    /* o 1000px, según prefieras */
    margin: 0 auto;
    padding: 20px;
}

.banner-marcas {
    background-color: #111;
    padding: 2rem;
    color: #fff;
    text-align: center;
}

.beneficios {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.beneficio {
    background: #1c1c1c;
    border: 1px solid #0ff;
    box-shadow: 0 0 12px #0ff3;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 300px;
}

.beneficio img {
    width: 40px;
    height: auto;
    filter: brightness(1.2);
}

.beneficio strong {
    color: #0ff;
    font-size: 1rem;
}

.beneficio span {
    font-size: 0.9rem;
    color: #ccc;
}

.marcas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 2rem;
    align-items: center;
    justify-items: center;
}

.marcas img {
    max-width: 80px;
    filter: grayscale(100%) brightness(1.5);
    transition: transform 0.3s ease;
}

.marcas img:hover {
    transform: scale(1.1);
    filter: grayscale(0) drop-shadow(0 0 5px #0ff);
}



/* Logo más visible */
.logo h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.2rem;
    color: #00ffcc;
    letter-spacing: 2px;
    margin: 0;
}


/* Menú centrado en el espacio restante */
.menu {
    flex: 1;
    display: flex;
    justify-content: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background-color: #000;
    border-bottom: 1px solid #00f9dc;
    position: relative;
}

/* Estilo del menú */
.flex-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
}

.flex-menu li {
    position: relative;
}

.flex-menu li a {
    color: white;
    text-decoration: none;
    padding: 12px 10px;
    transition: all 0.3s ease;
}

.flex-menu li a:hover {
    color: #00ffcc;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.menu-toggle {
    font-size: 24px;
    cursor: pointer;
    display: none;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

@media (max-width: 768px) {
    .menu {
        display: block;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        transform: translateX(-100%);
        transition: transform 0.5s ease;
        z-index: 999;
        background-color: #000;
    }

    .menu.open {
        transform: translateX(0);
    }

    .menu.open~.overlay {
        opacity: 1;
        visibility: visible;
    }

    .flex-menu {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 0;
    }

    .menu-toggle {
        display: block;
    }

    .carrito {
        order: -1;
    }
}




/* Submenú */
.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #111;
    min-width: 180px;
    z-index: 1000;
    border: 1px solid #333;
}

.submenu li a {
    display: block;
    padding: 10px;
    color: #ccc;
    border-bottom: 1px solid #222;
}

.submenu li a:hover {
    background-color: #1a1a1a;
    color: #00ffcc;
}

.flex-menu li:hover .submenu {
    display: block;
}


/* Hero */
.hero {
    text-align: center;
    padding: 4rem 2rem;
    width: 90%;
    background-color: #181818;
    border: 2px solid #0ff;
    border-radius: 16px;
    box-shadow: 0 0 20px #00fff2;
    margin: 2rem auto;
}

.hero h1 {
    font-family: "Orbitron", sans-serif;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero button {
    background-color: #00fff2;
    color: black;
    font-family: 'Orbitron', sans-serif;
    border: none;
    padding: 0.8rem 1.6rem;
    font-weight: bold;
    border-radius: 12px;
    box-shadow: 0 0 10px #00fff2;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.hero button:hover {
    transform: scale(1.05);
    background-color: #00ccb3;
}


/* Grid Layout */

/* Contenedor interno centrado */
.grid-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.7rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main {
    grid-column: 1 / 3;
}

.footer {
    grid-column: 1 / 3;
}


/* Video */
.video-container {
    /* width: 100%;
    max-width: 800px; */
    margin: 2rem auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 0 30px #00ffcc44;
}

.video-container video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
}

/* Secciones generales */
section {
    padding: 3rem 2rem;
    width: 100%;
    margin: auto;
    color: white;
}

.estilosTitulos {
    font-size: 2rem;
    font-family: "Orbitron", sans-serif;
    margin-bottom: 30px;
    color: #00ffcc;
    text-align: center;
    /* Esto lo centra */
}

.parrafoCentrado {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

#nosotros {
    text-align: center;
    padding: 2rem;
}

.contenedor-boton {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}


#nosotros button {
    align-items: center;
    background-color: #00fff2;
    color: black;
    border: none;
    padding: 0.8rem 1.6rem;
    font-weight: bold;
    border-radius: 10px;
    margin-top: 1rem;
    box-shadow: 0 0 10px #00fff2;
    cursor: pointer;
    transition: transform 0.2s ease;
}

#nosotros button:hover {
    transform: scale(1.05);
    background-color: #00ccb3;
}

/* Sección de Categorías */
.categories-section {
    background-color: #f4f4f4;
    /* fondo suave */
    border-radius: 16px;
    padding: 40px 20px;
    margin: 40px auto;
    max-width: 1300px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.categories-section h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 28px;
    color: #00aa66;
    margin-bottom: 30px;
}

.categories {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.category-card {
    background-color: #ffffff;
    color: #000;
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.category-card:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.category-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.category-card h3 {
    margin: 10px 0;
    font-family: 'Orbitron', sans-serif;
    font-size: 16px;
    color: #00aa66;
}

.category-card p {
    font-size: 14px;
    padding: 0 10px 10px;
}


/* Grid de productos */

#productos {
    padding: 4rem 2rem;
    background-color: #1a1a1a;
    text-align: center;
}

.grid-productos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.card-producto {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.card-producto img {
    width: 100%;
    max-height: 180px;
    object-fit: contain;
}

.card-producto h3 {
    color: #000;
    margin: 0.5rem 0 0.25rem;
}

.card-producto p {
    flex-grow: 1;
    font-size: 0.9rem;
    color: #000;
    margin: 0 0 0.5rem;
}

.card-producto .precio {
    font-weight: bold;
    color: black;
    margin-bottom: 0.5rem;
}

.card-producto button {
    align-self: stretch;
    background-color: #00fff2;
    color: black;
    font-family: 'Orbitron', sans-serif;
    border: none;
    padding: 0.8rem 1.6rem;
    font-weight: bold;
    border-radius: 12px;
    box-shadow: 0 0 10px #00fff2;
    cursor: pointer;
    transition: transform 0.2s ease;
    /* padding: 0.5rem;
    background-color: #00ffcc;
    color: black;
    border: none;
    cursor: pointer;
    border-radius: 6px;
    transition: background-color 0.2s ease;
    cursor: pointer; */
}

.btn-comprar:active {
    transform: scale(0.96);
    background-color: #00c6cc;
}

.card-producto button:hover {
    transform: scale(1.05);
    background-color: #00ffcc;
}

#snackbar {
    visibility: hidden;
    min-width: 250px;
    background-color: #00ffcc;
    color: #000;
    text-align: center;
    border-radius: 8px;
    padding: 12px;
    position: fixed;
    z-index: 10;
    left: 50%;
    bottom: 30px;
    font-weight: bold;
    transform: translateX(-50%);
    box-shadow: 0 0 10px #00ffcc;
    transition: visibility 0s, opacity 0.4s ease-in-out;
    opacity: 0;
}

#snackbar.mostrar {
    visibility: visible;
    opacity: 1;
}



/* Reseñas */

.opiniones {
    background-color: #f4f4f4;
    /* fondo suave */
    border-radius: 16px;
    padding: 40px 20px;
    margin: 40px auto;
    max-width: 1300px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.opiniones h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #000;
}

.cards-opiniones {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.card-opinion {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    max-width: 280px;
    text-align: center;
    transition: transform 0.3s ease;
}

.card-opinion:hover {
    transform: translateY(-5px);
}

.foto-perfil {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
}

.card-opinion h3 {
    margin: 0.5rem 0;
    font-size: 1.1rem;
    color: #333;
}

.card-opinion p {
    color: #555;
    font-size: 0.95rem;
}

.estrellas {
    font-size: 1.2rem;
    color: #ffc107;
    margin-top: 8px;
}


/* Formulario */

form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 600px;
    margin: auto;
    background-color: #111;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 0 20px #00ffcc33;
}

form label {
    font-weight: bold;
    color: #00ffcc;
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 0.5rem;
    display: block;
}

form input,
form textarea {
    width: 100%;
    padding: 0.75rem;
    background-color: #222;
    color: white;
    border: 1px solid #444;
    border-radius: 10px;
    resize: none;
}

form button {
    background-color: #00ffcc;
    color: #000;
    font-weight: bold;
    padding: 0.75rem;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: background 0.3s ease;
}

form button:hover {
    background-color: #00ccb3;
}

/* Iframe Visítanos */
.iframe-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 0 20px #00ffcc55;
    margin-top: 1rem;
}

/* Botón general */
button {
    background: transparent;
    border: 2px solid #00ffe1;
    color: black;
    padding: 10px 20px;
    font-family: 'Orbitron', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
}

button:hover {
    background: #00ffe1;
    color: #000;
}

/* Footer */
.footer {
    background-color: #000;
    color: #fff;
    font-family: 'Inter', sans-serif;
    padding: 3rem 2rem 1rem;
    border: 2px solid #0ff;
    border-radius: 16px;
    box-shadow: 0 0 20px #00fff2;
}

.footer a {
    color: #fff;
    text-decoration: none;
}


.footer-top,
.footer-mid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section ul,
.footer-social {
    list-style: none;
    padding: 0;
}

.footer-section h4,
.footer-social h4,
.footer-newsletter h4 {
    font-weight: bold;
    margin-bottom: 1rem;
}

.footer-section li,
.footer-social a {
    margin-bottom: 0.5rem;
}

.footer-social a {
    font-size: 1.5rem;
    margin-right: 1rem;
}

.footer-newsletter input {
    padding: 0.5rem;
    width: 200px;
    border: none;
    border-radius: 20px;
    margin-bottom: 0.5rem;
}

.footer-newsletter button {
    background-color: #00ffcc;
    color: black;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: bold;
    cursor: pointer;
}

.captcha-mock {
    background-color: #eee;
    color: #000;
    padding: 1rem;
    text-align: center;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    border-radius: 5px;
}

.footer-mid>div {
    max-width: 300px;
}

.footer-mid h4 {
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.info-btn {
    background-color: #00fff2;
    color: black;
    font-family: 'Orbitron', sans-serif;
    border: none;
    padding: 0.8rem 1.6rem;
    font-weight: bold;
    border-radius: 12px;
    box-shadow: 0 0 10px #00fff2;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.btn-info {
    /* display: inline-block; */
    padding: 8px 16px;
    background-color: #00ffcc;
    color: black;
    cursor: pointer;
    text-decoration: none;
    border: none;
    font-weight: bold;
    padding: 0.4rem 1rem;
    border-radius: 8px;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 1rem;
    text-align: center;
}

.footer-bottom img {
    max-height: 30px;
    margin: 0 1rem;
    vertical-align: middle;
}

.footer-bottom,
.footer-bottom small {
    font-size: 0.8rem;
    color: white;
    margin-top: 0.5rem;
}

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #111;
    color: #ccc;
    font-size: 0.85rem;
    padding: 0.5rem 2rem;
    border-bottom: 1px solid #222;
    flex-wrap: wrap;
}

/* Lista de enlaces a la izquierda */
.topbar-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.topbar-links li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
    font-family: "Inter", sans-serif;
}

.topbar-links li a:hover {
    color: #00ffcc;
}

/* Parte derecha: buscador + ícono */
.topbar-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

.buscador {
    padding: 0.4rem 0.6rem;
    border-radius: 4px;
    border: 1px solid #444;
    background-color: #222;
    color: #fff;
}

.buscador::placeholder {
    color: #aaa;
}

.icono-cuenta {
    text-decoration: none;
    color: #ccc;
    font-weight: bold;
}

.icono-cuenta i {
    margin-right: 5px;
}

.barra-promociones {
    background-color: #222222;
    color: white;
    overflow: hidden;
    white-space: nowrap;
    padding: 10px 0;
    font-family: Arial, sans-serif;
    font-size: 1rem;
    border-bottom: 2px solid #444444;
    position: relative;
    z-index: 10;
}

.promociones-contenido {
    display: inline-block;
    padding-left: 100%;
    animation: deslizar 25s linear infinite;
}

.barra-promociones:hover .promociones-contenido {
    animation-play-state: paused;
}

.promociones-contenido span {
    margin: 0 50px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.promociones-contenido i {
    color: #ffcc00;
    font-size: 1.1rem;
}

@keyframes deslizar {
    from {
        transform: translateX(0%);
    }

    to {
        transform: translateX(-100%);
    }
}



/* Responsive */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: flex-start;
    }

    #headerNav ul {
        flex-direction: column;
        width: 100%;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .topbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .topbar-right {
        width: 100%;
        justify-content: space-between;
        margin-top: 0.5rem;
    }

    .topbar-links {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }

    .grid-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .flex-menu {
        flex-direction: column;
        width: 100%;
        gap: 0.8rem;
    }

    .menu {
        width: 100%;
    }

    .buscador {
        width: 100%;
    }
}

/* Botón "Volver arriba" */
/* Botón "Volver arriba" */
.scroll-top-btn {
    position: fixed;
    bottom: 90px;
    right: 30px;
    background-color: #00ffe0;
    border: none;
    border-radius: 50%;
    width: 55px;
    height: 55px;
    cursor: pointer;
    box-shadow: 0 0 10px #00ffe0, 0 0 20px #00ffe0;
    z-index: 1000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.scroll-top-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px #00ffe0, 0 0 40px #00ffe0;
}

.scroll-top-btn img {
    width: 24px;
    height: 24px;
}

/* Botón de WhatsApp */
.whatsapp-btn {
    position: fixed;
    bottom: 20px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px #25d366, 0 0 20px #25d366;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 1000;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px #25d366, 0 0 40px #25d366;
}

.whatsapp-btn img {
    width: 32px;
    height: 32px;
}

/* 🌐 RESPONSIVE: Ajustes en pantallas pequeñas */
@media (max-width: 600px) {
    .scroll-top-btn {
        bottom: 80px;
        right: 20px;
        width: 50px;
        height: 50px;
    }

    .scroll-top-btn img {
        width: 20px;
        height: 20px;
    }

    .whatsapp-btn {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }

    .whatsapp-btn img {
        width: 28px;
        height: 28px;
    }
}