/* =========================================================
   SWEET & SPICY
   STYLE.CSS
   Estilos principales del sitio
========================================================= */


/* =========================================================
   RESET GENERAL
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--fuente);
    background: var(--negro);
    color: var(--blanco);
    overflow-x: hidden;
    padding-top: 110px;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    font-family: inherit;
}

input,
textarea,
select {
    font-family: inherit;
    outline: none;
}

section {
    padding: 100px 8%;
}


/* =========================================================
   CONTENEDOR GENERAL
========================================================= */

.container {
    width: min(1400px, calc(100% - 32px));
    margin: 0 auto;
}


/* =========================================================
   HEADER
========================================================= */

#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(22, 22, 22, 0.96);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}


/* =========================================================
   NAVBAR
========================================================= */

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 94px;
    padding: 8px 0;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 220px;
    flex-shrink: 0;
}

.site-brand img {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    background: #111;
    box-shadow: 0 8px 20px rgba(0,0,0,.28);
}

.site-brand-text {
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
    color: #fff;
}

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex: 1;
    min-width: 0;
}

.nav-link {
    color: rgba(255,255,255,0.92);
    font-weight: 600;
    font-size: 1.05rem;
    position: relative;
    transition: color .25s ease;
}

.nav-link:hover {
    color: #fff;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 2px;
    border-radius: 99px;
    background: linear-gradient(135deg, #E50914, #6A0DAD);
    transition: width .25s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    min-width: 220px;
    flex-shrink: 0;
}


/* =========================================================
   BOTONES DE ICONOS
========================================================= */

.icon-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.08);
    color: #fff;
    transition: transform .25s ease, background .25s ease;
}
.icon-btn:hover {
    background: rgba(229, 9, 20, 0.9);
    transform: translateY(-2px);
}


/* =========================================================
   CARRITO
========================================================= */

.carrito-btn {
    position: relative;
}
.contador {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #e50914;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.68rem;
    font-weight: 700;
    color: #fff;
}


/* =========================================================
   BOTÓN REALIZAR PEDIDO
========================================================= */

.btn-pedido {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    border-radius: 999px;
    background: linear-gradient(135deg, #E50914, #6A0DAD);
    color: white;
    font-weight: 700;
    white-space: nowrap;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background:
        radial-gradient(
            circle at top left,
            rgba(229, 9, 20, 0.35),
            transparent 35%
        ),
        radial-gradient(
            circle at bottom right,
            rgba(106, 13, 173, 0.35),
            transparent 35%
        ),
        #121212;
}
.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}
.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.08);
    padding: 10px 18px;
    border-radius: 50px;
    margin-bottom: 20px;
    color: #fff;
}
.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
}
.hero h1 span {
    color: var(--rojo);
}
.hero p {
    color: #d6d6d6;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 35px;
}
.hero-buttons {
    display: flex;
    gap: 20px;
}


/* =========================================================
   BOTÓN PRINCIPAL
========================================================= */

.btn-primary {
    padding: 15px 35px;
    border-radius: 50px;
    background: var(--degradado-principal);
    color: white;
    font-weight: 600;
    transition: 0.35s;
}
.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(229, 9, 20, 0.35);
}


/* =========================================================
   BOTÓN SECUNDARIO
========================================================= */

.btn-secondary {
    padding: 15px 35px;
    border: 2px solid var(--rojo);
    border-radius: 50px;
    color: white;
    transition: 0.35s;
}
.btn-secondary:hover {
    background: var(--rojo);
}


/* =========================================================
   IMAGEN HERO
========================================================= */

.hero-image {
    display: flex;
    justify-content: center;
}
.hero-image img {
    width: 100%;
    max-width: 550px;
}


/* =========================================================
   TÍTULOS DE SECCIÓN
========================================================= */

.section-title {
    text-align: center;
    margin-bottom: 70px;
}
.section-title span {
    color: var(--rojo);
    font-weight: 600;
}
.section-title h2 {
    font-size: 2.6rem;
    margin: 15px 0;
}
.section-title p {
    color: #bdbdbd;
    max-width: 700px;
    margin: auto;
}


/* =========================================================
   PRODUCTOS
========================================================= */

.productos {
    background: #181818;
}
.productos-grid {
    display: grid;
    grid-template-columns: repeat(
        auto-fit,
        minmax(300px, 1fr)
    );
    gap: 35px;
}


/* =========================================================
   TARJETA DE PRODUCTO
========================================================= */

.producto-card {
    background: #232323;
    border-radius: 20px;
    padding: 25px;
    position: relative;
    transition: 0.35s;
    overflow: hidden;
}
.producto-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--sombra-hover);
}
.producto-card img {
    width: 220px;
    margin: auto;
}
.producto-card h3 {
    margin-top: 20px;
    font-size: 1.5rem;
}
.producto-card p {
    color: #cfcfcf;
    margin: 15px 0;
}


/* =========================================================
   NIVEL DE PICANTE
========================================================= */

.picante {
    color: #ffb347;
    margin-bottom: 15px;
}


/* =========================================================
   PRECIO
========================================================= */

.precio {
    font-size: 1.6rem;
    color: var(--rojo);
    font-weight: bold;
}


/* =========================================================
   BOTÓN AGREGAR AL CARRITO
========================================================= */

.btn-carrito {
    width: 100%;
    margin-top: 20px;
    padding: 14px;
    border-radius: 50px;
    background: var(--degradado-principal);
    color: white;
    font-weight: 600;
    transition: 0.3s;
}
.btn-carrito:hover {
    transform: scale(1.04);
}

/* =========================================================
   ETIQUETAS DE PRODUCTOS
========================================================= */

.badge {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    color: white;
}
.nuevo {
    background: #2ecc71;
}
.vendido {
    background: #ff9800;
}
.hot {
    background: #e50914;
}

/* =========================================================
   FAVORITOS
========================================================= */

.favorito {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #333;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s;
}

.favorito:hover {
    background: var(--rojo);
}


/* =========================================================
   BENEFICIOS
========================================================= */

.beneficios {
    background: #121212;
}

.beneficios-grid {
    display: grid;
    grid-template-columns:
        repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}


/* =========================================================
   TARJETAS DE BENEFICIOS
========================================================= */

.beneficio-card {
    background: #1d1d1d;
    border-radius: 20px;
    padding: 35px;
    text-align: center;
    transition: 0.35s;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.beneficio-card:hover {
    transform: translateY(-10px);
    border-color: var(--rojo);
    box-shadow: 0 20px 35px rgba(229, 9, 20, 0.15);
}


/* =========================================================
   ICONOS DE BENEFICIOS
========================================================= */

.icono {
    width: 80px;
    height: 80px;
    margin: auto;
    margin-bottom: 20px;
    border-radius: 50%;
    background: var(--degradado-principal);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    color: white;
}
.beneficio-card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}
.beneficio-card p {
    color: #d4d4d4;
    line-height: 1.7;
}


/* =========================================================
   TESTIMONIOS
========================================================= */

.testimonios {
    background: #181818;
}
.slider-testimonios {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 15px;
}
.slider-testimonios::-webkit-scrollbar {
    display: none;
}


/* =========================================================
   TARJETAS DE TESTIMONIOS
========================================================= */

.testimonio-card {
    min-width: 340px;
    background: #222;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: 0.35s;
    flex-shrink: 0;
}
.testimonio-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.35);
}
.testimonio-card img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    margin: auto;
    border: 4px solid var(--rojo);
}
.testimonio-card h3 {
    margin: 20px 0 10px;
}
.estrellas {
    color: #ffd700;
    font-size: 1.2rem;
    margin-bottom: 15px;
}
.testimonio-card p {
    color: #d6d6d6;
    line-height: 1.7;
}

/* =========================================================
   CATEGORÍAS
========================================================= */

.categorias {
    background: #121212;
}
.categorias-grid {
    display: grid;
    grid-template-columns:
        repeat(4, 1fr);
    gap: 25px;
}

/* =========================================================
   TARJETAS DE CATEGORÍAS
========================================================= */

.categoria-card {
    position: relative;
    overflow: hidden;
    min-height: 390px;
    border-radius: 24px;
    background: #1d1d1d;
    border:
        1px solid rgba(255, 255, 255, 0.06);
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}
.categoria-card:hover {
    transform: translateY(-10px);
    box-shadow:
        0 20px 45px rgba(0, 0, 0, 0.4);
}


/* =========================================================
   IMAGEN DE CATEGORÍA
========================================================= */

.categoria-imagen {
    height: 220px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background:
        radial-gradient(
            circle,
            rgba(229, 9, 20, 0.25),
            transparent 65%
        );
}
.categoria-imagen img {
    width: 80%;
    height: 100%;
    object-fit: contain;
    transition:
        transform 0.5s ease;
}
.categoria-card:hover
.categoria-imagen img {
    transform:
        scale(1.12)
        rotate(2deg);
}

/* =========================================================
   INFORMACIÓN DE CATEGORÍA
========================================================= */

.categoria-info {
    padding: 25px;
}
.categoria-info span {
    display: inline-block;
    margin-bottom: 10px;
    color: #ff9f43;
    font-size: 0.85rem;
    font-weight: 600;
}
.categoria-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}
.categoria-info p {
    color: #bdbdbd;
    line-height: 1.6;
    margin-bottom: 20px;
}
.categoria-info strong {
    color: var(--rojo);
    transition: 0.3s;
}
.categoria-card:hover
.categoria-info strong {
    color: #fff;
}

/* =========================================================
   ACCESIBILIDAD
========================================================= */

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--rojo);
    outline-offset: 3px;
}

/* =========================================================
   PÁGINA DE REGISTRO
========================================================= */

.pagina-registro {
    min-height: 100vh;
    background:
        radial-gradient(
            circle at 10% 20%,
            rgba(229, 9, 20, 0.20),
            transparent 35%
        ),
        radial-gradient(
            circle at 90% 80%,
            rgba(106, 13, 173, 0.20),
            transparent 35%
        ),
        #121212;
}


/* =========================================================
   CONTENEDOR DEL REGISTRO
========================================================= */

.registro {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 150px;
    padding-bottom: 80px;
}
.registro-contenedor {
    width: 100%;
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}


/* =========================================================
   PRESENTACIÓN
========================================================= */

.registro-presentacion {
    padding: 20px;
}
.registro-etiqueta {
    display: inline-block;
    padding: 9px 18px;
    margin-bottom: 25px;
    border-radius: 50px;
    background: rgba(255,255,255,0.08);
    color: #fff;
    font-size: 0.9rem;
    border: 1px solid rgba(255,255,255,0.08);
}
.registro-presentacion h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 25px;
}
.registro-presentacion h1 span {
    display: block;
    background:
        var(--degradado-principal);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.registro-presentacion > p {
    color: #cfcfcf;
    font-size: 1.05rem;
    line-height: 1.8;
    max-width: 520px;
    margin-bottom: 35px;
}
/* =========================================================
   BENEFICIOS
========================================================= */

.registro-beneficios {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.registro-beneficio {
    display: flex;
    align-items: center;
    gap: 16px;
}
.registro-beneficio > i {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--degradado-principal);
    color: white;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.registro-beneficio strong {
    display: block;
    margin-bottom: 4px;
    color: white;
}
.registro-beneficio small {
    color: #aaa;
    line-height: 1.5;
}


/* =========================================================
   FORMULARIO
========================================================= */

.registro-formulario {
    background: rgba(30,30,30,0.95);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 28px;
    padding: 40px;
    box-shadow:
        0 25px 70px rgba(0,0,0,0.35);
    backdrop-filter: blur(15px);
}
.registro-form-header {
    margin-bottom: 30px;
}
.registro-form-header h2 {
    font-size: 2rem;
    margin-bottom: 8px;
}
.registro-form-header p {
    color: #aaa;
}


/* =========================================================
   CAMPOS
========================================================= */

.campo {
    margin-bottom: 20px;
}
.campo label {
    display: block;
    margin-bottom: 8px;
    color: #eee;
    font-size: 0.9rem;
    font-weight: 600;
}
.campo-input {
    position: relative;
    display: flex;
    align-items: center;
}
.campo-input > i {
    position: absolute;
    left: 16px;
    color: #999;
    pointer-events: none;
    transition: 0.3s;
}
.campo-input input {
    width: 100%;
    height: 52px;
    padding:
        0 48px
        0 45px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.08);
    background: #141414;
    color: white;
    transition: 0.3s;
}
.campo-input input::placeholder {
    color: #666;
}
.campo-input input:focus {
    border-color: var(--rojo);
    box-shadow:
        0 0 0 3px rgba(229,9,20,0.12);
}
.campo-input:focus-within > i {
    color: var(--rojo);
}


/* =========================================================
   MOSTRAR CONTRASEÑA
========================================================= */

.mostrar-clave {
    position: absolute;
    right: 10px;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: transparent;
    color: #888;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s;
}
.mostrar-clave:hover {
    color: white;
    background: rgba(255,255,255,0.08);
}


/* =========================================================
   MENSAJES DE ERROR
========================================================= */

.mensaje-error {
    display: block;
    min-height: 18px;
    margin-top: 5px;
    color: #ff5c67;
    font-size: 0.78rem;
}


/* =========================================================
   TÉRMINOS
========================================================= */
.terminos {
    margin: 5px 0 20px;
}
.terminos label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #aaa;
    font-size: 0.85rem;
    line-height: 1.5;
    cursor: pointer;
}
.terminos input {
    margin-top: 4px;
    accent-color: var(--rojo);
    cursor: pointer;
}
.terminos a {
    color: #fff;
    text-decoration: underline;
}
.terminos a:hover {
    color: var(--rojo);
}


/* =========================================================
   BOTÓN REGISTRO
========================================================= */

.btn-registro {
    width: 100%;
    min-height: 54px;
    padding: 14px 22px;
    border-radius: 15px;
    background: var(--degradado-principal);
    color: white;
    font-size: 1rem;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    transition: 0.35s;
    box-shadow:
        0 10px 25px rgba(229,9,20,0.20);
}
.btn-registro:hover {
    transform: translateY(-3px);
    box-shadow:
        0 15px 35px rgba(229,9,20,0.35);
}
.btn-registro i {
    transition: 0.3s;
}
.btn-registro:hover i {
    transform: translateX(5px);
}
/* =========================================================
   ENLACES DEL REGISTRO
========================================================= */

.registro-login {
    text-align: center;
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.registro-login p {
    color: #999;
    font-size: 0.9rem;
}
.registro-login a {
    color: white;
    font-weight: 600;
    transition: 0.3s;
}
.registro-login a:hover {
    color: var(--rojo);
}
/* ==============================
   FOOTER
============================== */

#footer {
    background: #0d0d0d;
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 30px 8%;
    text-align: center;
}

#footer p {
    color: #888;
    font-size: .9rem;
}

/* =========================================================
   AJUSTE FINAL - REGISTRO SWEET & SPICY
   Este bloque evita conflictos con estilos generales
========================================================= */

/* Contenedor principal */

body.pagina-registro {
    min-height: 100vh;
    background:
        radial-gradient(
            circle at 10% 20%,
            rgba(229, 9, 20, 0.18),
            transparent 35%
        ),
        radial-gradient(
            circle at 90% 80%,
            rgba(106, 13, 173, 0.18),
            transparent 35%
        ),
        #121212;
}
/* Evitar que el section general afecte el registro */
body.pagina-registro .registro {
    width: 100%;
    min-height: 100vh;
    padding: 160px 8% 80px;
    display: flex;
    align-items: center;
    background: transparent;
}

/* Contenedor de las dos columnas */
body.pagina-registro .registro-contenedor {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, 520px);
    gap: 70px;
    align-items: center;
}


/* =========================================================
   LADO IZQUIERDO
========================================================= */

body.pagina-registro .registro-presentacion {
    width: 100%;
    padding: 0;
}
body.pagina-registro .registro-etiqueta {
    display: inline-flex;
    align-items: center;
    padding: 9px 18px;
    margin-bottom: 25px;
    border-radius: 50px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.08);
    color: white;
    font-size: 0.9rem;
}
body.pagina-registro .registro-presentacion h1 {
    margin: 0 0 25px;
    font-size: clamp(2.5rem, 4vw, 4rem);
    line-height: 1.08;
}
body.pagina-registro .registro-presentacion h1 span {
    display: block;
    color: var(--rojo);
}
body.pagina-registro .registro-presentacion > p {
    max-width: 540px;
    margin: 0 0 35px;
    color: #cfcfcf;
    font-size: 1.05rem;
    line-height: 1.8;
}


/* =========================================================
   BENEFICIOS
========================================================= */

body.pagina-registro .registro-beneficios {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
body.pagina-registro .registro-beneficio {
    display: flex;
    align-items: center;
    gap: 15px;
}
body.pagina-registro .registro-beneficio > i {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--degradado-principal);
    color: white;
    font-size: 1.1rem;
}
body.pagina-registro .registro-beneficio strong {
    display: block;
    margin-bottom: 4px;
    color: white;
}
body.pagina-registro .registro-beneficio small {
    color: #999;
    line-height: 1.5;
}


/* =========================================================
   FORMULARIO
========================================================= */

body.pagina-registro .registro-formulario {
    width: 100%;
    padding: 38px;
    background: rgba(31,31,31,0.96);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 26px;
    box-shadow:
        0 25px 70px rgba(0,0,0,0.40);
    backdrop-filter: blur(15px);
}
body.pagina-registro .registro-form-header {
    margin: 0 0 25px;
}
body.pagina-registro .registro-form-header h2 {
    margin: 0 0 8px;
    color: white;
    font-size: 2rem;
}
body.pagina-registro .registro-form-header p {
    margin: 0;
    color: #999;
    line-height: 1.5;
}


/* =========================================================
   CAMPOS
========================================================= */

body.pagina-registro .campo {
    width: 100%;
    margin: 0 0 15px;
}
body.pagina-registro .campo label {
    display: block;
    margin: 0 0 7px;
    color: #eee;
    font-size: 0.88rem;
    font-weight: 600;
}
body.pagina-registro .campo-input {
    width: 100%;
    height: 50px;
    position: relative;
    display: flex;
    align-items: center;
}
body.pagina-registro .campo-input > i {
    position: absolute;
    left: 16px;
    z-index: 2;
    color: #888;
    pointer-events: none;
    transition: 0.3s;
}
body.pagina-registro .campo-input input {
    width: 100%;
    height: 50px;
    padding: 0 48px 0 45px;
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 13px;
    background: #141414;
    color: white;
    font-size: 0.95rem;
    transition: 0.3s;
}
body.pagina-registro .campo-input input:focus {
    border-color: var(--rojo);
    box-shadow:
        0 0 0 3px rgba(229,9,20,0.12);
}
body.pagina-registro .campo-input input:focus + * {
    color: var(--rojo);
}
body.pagina-registro .campo-input input::placeholder {
    color: #666;
}


/* =========================================================
   BOTÓN MOSTRAR CONTRASEÑA
========================================================= */

body.pagina-registro .mostrar-clave {
    position: absolute;
    right: 7px;
    width: 38px;
    height: 38px;
    border-radius: 9px;
    background: transparent;
    color: #888;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3;
    transition: 0.3s;
}
body.pagina-registro .mostrar-clave:hover {
    background: rgba(255,255,255,0.08);
    color: white;
}


/* =========================================================
   ERRORES
========================================================= */

body.pagina-registro .mensaje-error {
    display: block;
    min-height: 15px;
    margin: 4px 0 0;
    color: #ff5964;
    font-size: 0.76rem;
}


/* =========================================================
   TÉRMINOS
========================================================= */

body.pagina-registro .terminos {
    width: 100%;
    margin: 8px 0 20px;
}
body.pagina-registro .terminos label {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: #999;
    font-size: 0.82rem;
    line-height: 1.5;
    cursor: pointer;
}
body.pagina-registro .terminos input {
    margin-top: 4px;
    accent-color: var(--rojo);
    flex-shrink: 0;
}
body.pagina-registro .terminos a {
    color: white;

    text-decoration: underline;
}
body.pagina-registro .terminos a:hover {
    color: var(--rojo);
}


/* =========================================================
   BOTÓN CREAR CUENTA
========================================================= */

body.pagina-registro .btn-registro {
    width: 100%;
    height: 52px;
    padding: 0 20px;
    border-radius: 13px;
    background: var(--degradado-principal);
    color: white;
    font-size: 0.95rem;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    transition: 0.3s;
    box-shadow:
        0 10px 25px rgba(229,9,20,0.20);
}
body.pagina-registro .btn-registro:hover {
    transform: translateY(-3px);
    box-shadow:
        0 15px 35px rgba(229,9,20,0.35);
}
body.pagina-registro .btn-registro i {
    transition: 0.3s;
}
body.pagina_registro .btn-registro:hover i {
    transform: translateX(5px);
}


/* =========================================================
   LOGIN
========================================================= */

body.pagina-registro .registro-login {
    width: 100%;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    text-align: center;
}
body.pagina-registro .registro-login p {
    margin: 0;
    color: #888;
    font-size: 0.85rem;
}
body.pagina-registro .registro-login a {
    color: white;
    font-weight: 600;
    transition: 0.3s;
}
body.pagina-registro .registro-login a:hover {
    color: var(--rojo);
}


/* =========================================================
   AJUSTE DEL FOOTER EN REGISTRO
========================================================= */

body.pagina-registro #footer {
    margin-top: 0;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {
    body.pagina-registro .registro {
        padding-left: 5%;
        padding-right: 5%;
    }
    body.pagina-registro .registro-contenedor {
        grid-template-columns: 1fr;
        max-width: 650px;
        gap: 45px;
    }
    body.pagina-registro .registro-presentacion {
        text-align: center;
    }
    body.pagina-registro .registro-presentacion > p {
        margin-left: auto;
        margin-right: auto;
    }
    body.pagina-registro .registro-beneficios {
        max-width: 500px;
        margin: auto;
        text-align: left;
    }
}


/* =========================================================
   CELULAR
========================================================= */

@media (max-width: 600px) {
    body.pagina-registro .registro {
        padding:
            130px 5% 50px;
    }
    body.pagina-registro .registro-presentacion h1 {
        font-size: 2.35rem;
    }
    body.pagina-registro .registro-presentacion > p {
        font-size: 0.95rem;
    }
    body.pagina-registro .registro-formulario {
        padding: 25px 20px;
        border-radius: 20px;
    }
    body.pagina-registro .registro-form-header h2 {
        font-size: 1.65rem;
    }
}

/* =========================================================
   LOGIN SWEET & SPICY
========================================================= */

body.pagina-login {
    min-height: 100vh;
    background:
        radial-gradient(circle at 15% 15%, rgba(229, 9, 20, 0.15), transparent 28%),
        radial-gradient(circle at 85% 80%, rgba(106, 13, 173, 0.18), transparent 32%),
        #121212;
}

.login-page {
    min-height: calc(100vh - 140px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 140px 8% 80px;
}

.login-container {
    width: min(1200px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(420px, 520px);
    gap: 64px;
    align-items: center;
}

.login-info {
    padding: 12px 0;
}

.login-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.login-brand img {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    background: #111;
}

.login-brand span {
    font-size: 1.15rem;
    font-weight: 800;
    color: #fff;
}

.login-info h1 {
    margin: 0 0 18px;
    font-size: clamp(2.6rem, 4vw, 4rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.login-info h1 span {
    display: block;
    color: var(--rojo);
}

.login-info p {
    max-width: 560px;
    margin: 0 0 32px;
    color: #d3d3d3;
    font-size: 1.05rem;
    line-height: 1.8;
}

.login-benefits {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.login-benefit {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.login-benefit i {
    width: 46px;
    height: 46px;
    min-width: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: var(--degradado-principal);
    color: #fff;
    font-size: 1.1rem;
    box-shadow: 0 12px 22px rgba(229, 9, 20, 0.25);
}

.login-benefit strong {
    display: block;
    margin-bottom: 4px;
    color: #fff;
    font-size: 1.05rem;
}

.login-benefit small {
    color: #b0b0b0;
    line-height: 1.5;
    font-size: 0.94rem;
}

.login-card {
    width: 100%;
    background: rgba(28, 28, 28, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    padding: 32px 28px 26px;
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.38);
    backdrop-filter: blur(12px);
}

.login-header {
    text-align: center;
    margin-bottom: 24px;
}

.login-icon {
    width: 58px;
    height: 58px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: rgba(229, 9, 20, 0.12);
    color: var(--rojo);
    font-size: 1.45rem;
    border: 1px solid rgba(229, 9, 20, 0.18);
}

.login-header h2 {
    margin: 0 0 6px;
    font-size: clamp(2rem, 3vw, 2.4rem);
    line-height: 1.2;
    color: #fff;
}

.login-header p {
    margin: 0;
    color: #a5a5a5;
    font-size: 1rem;
}

.login-message {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    border-radius: 12px;
    margin-bottom: 18px;
    font-size: 0.92rem;
    line-height: 1.5;
}

.login-error {
    background: rgba(229, 9, 20, 0.12);
    border: 1px solid rgba(229, 9, 20, 0.25);
    color: #ffd7db;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.login-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.login-field-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.login-field label {
    font-size: 0.92rem;
    font-weight: 600;
    color: #f2f2f2;
}

.login-input {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 54px;
    background: #141414;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.login-input i {
    position: absolute;
    left: 16px;
    color: #929292;
    font-size: 1rem;
    pointer-events: none;
    transition: color 0.25s ease;
}

.login-input input {
    width: 100%;
    min-height: 54px;
    padding: 0 48px 0 46px;
    border: none;
    border-radius: 14px;
    background: transparent;
    color: #fff;
    font-size: 0.98rem;
}

.login-input input::placeholder {
    color: #6e6e6e;
}

.login-input:focus-within {
    border-color: rgba(229, 9, 20, 0.9);
    box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.12);
}

.login-input:focus-within i {
    color: var(--rojo);
}

.login-password {
    padding-right: 44px;
}

.login-password input {
    padding-right: 46px;
}

.login-password-toggle {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 10px;
    background: transparent;
    color: #a0a0a0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease;
}

.login-password-toggle:hover,
.login-password-toggle:focus-visible {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

.login-forgot {
    color: #c7c7c7;
    font-size: 0.8rem;
    text-decoration: none;
    transition: color 0.25s ease;
}

.login-forgot:hover,
.login-forgot:focus-visible {
    color: var(--rojo);
}

.login-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.login-remember {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #d9d9d9;
    cursor: pointer;
    font-size: 0.9rem;
}

.login-remember input {
    width: 16px;
    height: 16px;
    accent-color: var(--rojo);
    cursor: pointer;
}

.login-submit {
    width: 100%;
    min-height: 54px;
    border: none;
    border-radius: 14px;
    background: var(--degradado-principal);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
    box-shadow: 0 18px 28px rgba(229, 9, 20, 0.22);
}

.login-submit:hover,
.login-submit:focus-visible {
    transform: translateY(-2px);
    filter: brightness(1.04);
    box-shadow: 0 20px 32px rgba(229, 9, 20, 0.3);
}

.login-submit:active {
    transform: translateY(0);
}

.login-submit i {
    transition: transform 0.25s ease;
}

.login-submit:hover i,
.login-submit:focus-visible i {
    transform: translateX(4px);
}

.login-register {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 12px;
    text-align: center;
}

.login-register p {
    margin: 0;
    color: #a6a6a6;
    font-size: 0.95rem;
}

.login-register a {
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.25s ease;
}

.login-register a:hover,
.login-register a:focus-visible {
    color: var(--rojo);
}

@media (max-width: 980px) {
    .login-page {
        padding: 120px 5% 60px;
    }

    .login-container {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .login-info {
        text-align: center;
    }

    .login-info p {
        margin-left: auto;
        margin-right: auto;
    }

    .login-benefits {
        max-width: 540px;
        margin: 0 auto;
        text-align: left;
    }
}

@media (max-width: 640px) {
    .login-card {
        padding: 24px 18px 20px;
        border-radius: 22px;
    }

    .login-field-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .login-options {
        justify-content: flex-start;
    }

    .login-brand {
        margin-bottom: 18px;
    }

    .login-info h1 {
        font-size: 2.35rem;
    }

    .login-benefit {
        gap: 12px;
    }

    .login-benefit small {
        font-size: 0.86rem;
    }
}

