*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', sans-serif;
    width: 100%;
    overflow-x: hidden;
}

.encabezado {
    display: flex;
    gap: 5px;
    width: 100%;
    background-color: #f2f4f2;
}

.encabezado>div {
    flex: 1;
    height: 80px;
    background-color: #f2f4f2;
}

/*inico del ccs del logo imagen de kivy*/
/* la imagen ocupa todo el div */
.logo {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    /* fondo limpio para el logo */
}

.logo img {
    height: 60px;
    /* tamaño controlado */
    width: auto;
    /* mantiene proporción */
    transition: transform 0.3s ease;
}

/* efecto cuando el usuario pasa el mouse */
.logo img:hover {
    transform: scale(1.1);
}

/*final del  css del logo*/

/*inicio del css del menu del encabezado*/
.menu {
    display: flex;
    justify-content: center;
    /* centra horizontalmente */
    align-items: center;
    /* centra verticalmente */
    height: 100%;
}

.menuEncabezado {
    list-style: none;
    display: flex;
    justify-content: center;
    /* centra los elementos del menú */
    align-items: center;
    gap: 35px;
    padding: 0;
    margin: 0;
}

.menu a {
    text-decoration: none;
    color: #222;
    font-weight: 500;
    font-size: 15px;
    padding: 8px 14px;
    transition: all 0.25s ease;
}

/* efecto hover */
.menu a:hover {
    color: #2bb3d6;
}

/* dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu {
    list-style: none;
    position: absolute;
    top: 40px;
    left: 0;
    background: white;
    padding: 10px 0;
    margin: 0;
    min-width: 190px;
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    display: none;
    z-index: 1000;
}

.dropdown-menu li {
    padding: 8px 18px;
}

.dropdown-menu li a {
    display: block;
}

/* cuando esté activo */
.dropdown.active .dropdown-menu {
    display: block;
}

/* fin del css del menu del encabezado */

/*inicia la parte del inicio de sesion y carrito */
.contenedor {
    display: flex;
    justify-content: center;
    /* centra horizontalmente */
    align-items: center;
    /* centra verticalmente */
    gap: 20px;
    /* espacio entre iconos */
    height: 100%;
}

/* iconos */
.contenedor i {
    font-size: 24px;
    cursor: pointer;
}

/* menu usuario */
.iconoUsuario {
    position: relative;
}

/* menu desplegable */
.menuUsuario {
    list-style: none;
    position: absolute;
    top: 35px;
    right: 0;
    background: white;
    padding: 10px 0;
    margin: 0;
    min-width: 170px;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    display: none;
    z-index: 1000;
}

.menuUsuario li {
    padding: 8px 15px;
}

.menuUsuario a {
    text-decoration: none;
    color: black;
    font-size: 13px;
}

/* mostrar menu */
.iconoUsuario.active .menuUsuario {
    display: block;
}

/*FINAL DEL CSS CORRESPONDIENTE A LA PARTE DE ENCABEZADO*/

/*INICIO DEL CSS EN LA PARTE SECTION*/

/* ===== ESTILOS PARA EL FORMULARIO DE REGISTRO ===== */
.registro-seccion {
    padding: 30px 20px;
    background: #fdfdfd;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 80px);
    box-sizing: border-box;
}

.contenedor-registro {
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
}

.registro-box {
    background: white;
    padding: 32px 40px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.registro-box h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 4px;
    color: #1a1a1a;
}

.registro-box p {
    color: #777;
    margin-bottom: 18px;
    font-size: 14px;
}

.input-grupo {
    text-align: left;
    margin-bottom: 14px;
}

.input-grupo label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #444;
}

.input-grupo input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    transition: all 0.3s ease;
}

.input-grupo input:focus {
    outline: none;
    border-color: #2bb3d6;
    box-shadow: 0 0 0 3px rgba(43, 179, 214, 0.1);
}

.btn-registro {
    width: 100%;
    padding: 14px;
    background: #1a1a1a;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 6px;
}

.btn-registro:hover {
    background: #333;
    transform: translateY(-2px);
}

.separador {
    position: relative;
    text-align: center;
    margin: 18px 0;
}

.separador::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: #eee;
}

.separador span {
    position: relative;
    background: white;
    padding: 0 15px;
    color: #999;
    font-size: 13px;
}

.btn-google {
    width: 100%;
    padding: 12px;
    background: white;
    color: #444;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.btn-google img {
    height: 20px;
}

.btn-google:hover {
    background: #f9f9f9;
    border-color: #ccc;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.login-link {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #f1f1f1;
    font-size: 13px;
}

.login-link a {
    color: #2bb3d6;
    text-decoration: none;
    font-weight: 600;
}

.login-link a:hover {
    text-decoration: underline;
}





















/*Inicio del css para el footer*/
/* links del footer */
.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    width: 100%;
    max-width: 900px;
    margin-bottom: 20px;
}

/* columnas */
.footer-links .columna {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: center;
}

/* títulos */
.footer-links h4 {
    color: #fff;
    margin-bottom: 10px;
    font-size: 14px;
}

/* links */
.footer-links a {
    text-decoration: none;
    color: #aaa;
    font-size: 13px;
    transition: 0.3s;
}

/* hover elegante */
.footer-links a:hover {
    color: #c9a05e;
}

/*Aui termina la parte de estilos para los enlaces del footer*/

.footer-social {
    margin-bottom: 15px;
}

.footer-social a {
    color: white;
    margin: 0 12px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.3s;
}

.footer-social a:hover {
    color: #ff3e3e;
}

/* ===== FOOTER CON REDES SOCIALES ===== */
footer {
    background: #0a0a0a;
    padding: 40px 20px;
    border-top: 1px solid rgba(201, 160, 94, 0.2);
    width: 100%;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.social-footer {
    display: flex;
    gap: 25px;
    justify-content: center;
    margin-bottom: 10px;
}

.social-icon-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(201, 160, 94, 0.3);
    border-radius: 50%;
    color: #c9a05e;
    font-size: 1.3rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon-footer:hover {
    background: #c9a05e;
    color: #000;
    transform: translateY(-5px);
    border-color: #c9a05e;
}

.copyright {
    color: #888;
    font-size: 0.85rem;
    text-align: center;
    letter-spacing: 1px;
    margin: 0;
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .social-footer {
        gap: 15px;
    }

    .social-icon-footer {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .copyright {
        font-size: 0.75rem;
    }
}