@import url('https://fonts.googleapis.com/css2?family=Alumni+Sans+Pinstripe:ital@0;1&family=Anta&family=Anton&family=Audiowide&family=Bebas+Neue&family=Bruno+Ace+SC&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=League+Spartan:wght@100..900&family=Lexend:wght@100..900&family=Michroma&family=Permanent+Marker&family=Playwrite+NZ+Basic:wght@100..400&family=Quicksand:wght@300..700&family=Zen+Dots&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Alumni+Sans+Pinstripe:ital@0;1&family=Anta&family=Anton&family=Audiowide&family=Bebas+Neue&family=Bruno+Ace+SC&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=League+Spartan:wght@100..900&family=Lexend:wght@100..900&family=Michroma&family=Outfit:wght@100..900&family=Permanent+Marker&family=Playwrite+NZ+Basic:wght@100..400&family=Quicksand:wght@300..700&family=Zen+Dots&display=swap');

body {
   font-family: "Outfit", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.volver {
    margin: 15px;
    font-size: 25px;
    background: none;
    border: none;
}

/* Botón Flotante */
.cart-floating-btn {
    position: fixed;
    bottom: 100px; /* Arriba del botón de WA */
    right: 20px;
    background: #000;
    padding: 15px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
#cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ffcc00;
    color: #000;
    font-weight: bold;
    border-radius: 50%;
    padding: 2px 8px;
    font-size: 12px;
}

/* Panel Lateral */
#cart-panel {
    position: fixed;
    top: 100px;
    right: 0;
    width: 350px;
    height: 100%;
    background: white;
    z-index: 2000;
    transition: transform 0.4s ease;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
}
.cart-panel-hidden { transform: translateX(100%); }

.cart-header { padding: 20px; border-bottom: 1px solid #eee; display: flex; justify-content: space-between; align-items: center; }
.cart-body { flex-grow: 1; padding: 20px; overflow-y: auto; }
.cart-footer { padding: 20px; border-top: 1px solid #eee; background: #fafafa; }

.btn-checkout {
    width: 100%;
    background: #25d366;
    color: white;
    border: none;
    padding: 15px;
    font-weight: bold;
    letter-spacing: 1px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    border-bottom: 1px solid #f9f9f9;
    padding-bottom: 10px;
}

a {
    list-style: none;
    text-decoration: none;
    color: #000;
}

/* Títulos de sección */
.velero-collections h2 {
    text-align: center;
    padding-bottom: 100px;
    margin: 40px 0 20px;
    font-size: 2em;
    color: #005b72;
}

.producto h3{
    text-align: center;
    margin: 40px 0 20px;
    font-size: 2em;
    color: #005166;
}

.line-up {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.9em;
    letter-spacing: 1px;
    background-color: #dfdfdf; 
    color: #fff;
    padding: 8px 0;
    margin: 0;
    z-index: 10;
}



/* Main Content */
main {
    margin-top: 00px;
    display: flex;
    flex-wrap: wrap;
    /* Para que los elementos se apilen en pantallas pequeñas */
    justify-content: center;
    padding: 20px;
    gap: 30px;
    margin-top: 1px;
}

.prenda {
    width: 300px;
    height: auto;
}

.prenda img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.detalles {
    max-width: 500px;
    text-align: center;
}

.detalles h1 {
    font-size: 2em;
    font-weight:bold;
    margin-bottom: 10px;
}

.detalles p {
    margin-bottom: 10px;
    font-size: 1em;
    color: #000000;
    font-weight: bold;
}

select{
    display: block;
    margin: 0 auto;
}

.color-options button {
    font-size: 20px;
    padding: 10px 35px;
    margin: 5px;
    border: 1px solid #000;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: bold;
}

.color-options .white {
    background-color: #fff;
    border: 1px solid #ccc;
}

.color-options .black {
    background-color: #000;
    color: white;
}

.color-options .beige {
    background-color: #d2d2b2;
}

.color-options .moca {
    background-color:#a97c50;
}

.color-options .beige.light {
    background-color: #f5f5dc;
    border: 1px solid #ccc;
}

.color-options .crema {
    background-color: #ece8db;
    border: 1px solid #ccc;
}

.color-options .hueso {
    background-color: #f0e6d2;
    border: 1px solid #ccc;
}

.color-options .navy-blue {
    background-color: #000080;
    border: 1px solid #ccc;
}

.precio {
    font-size: 1.8em;
    color: #e60023;
    /* Un color para el precio */
    margin-top: 15px;
}

.boton-comprar {
    font-family: "Alumni Sans Pinstripe", sans-serif;
    font-weight: 400;
    font-style: normal;
    background-color: #007bff;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1.2em;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.boton-comprar:hover {
    background-color: #0056b3;
}

/* Productos Alternativos */
h2 {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 2em;
}

.productos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 0 20px 40px;
}

.producto {
    width: 300px;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    max-width: 250px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.producto:hover {
    transform: translateY(-5px);
}

.imagen-container {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    /* Para mantener una relación de aspecto cuadrada */
    overflow: hidden;
}

.imagen-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Asegura que la imagen cubra el área sin distorsión */
    transition: opacity 0.3s ease;
}

.imagen-hover {
    opacity: 0;
    /* Oculta la imagen de hover por defecto */
}

.imagen-container:hover .imagen-principal {
    opacity: 0;
    /* Oculta la imagen principal al pasar el mouse */
}

.imagen-container:hover .imagen-hover {
    opacity: 1;
    /* Muestra la imagen de hover al pasar el mouse */
}

.producto h3 {
    margin-top: 10px;
    font-size: 1.2em;
}

.producto p {
    font-weight: bold;
    color: #333;
}

label{
    font-size: 15px;
    color: #000000;
    font-family: "Alumni Sans Pinstripe", sans-serif;
    font-weight: 400;
    font-style: normal;
}

/* --- Media Queries para Responsive Design --- */
@media (max-width: 768px) {
    .line-up {
        font-size: 0.7em;
    }

    nav {
        flex-direction: row;
        /* Mantener en fila los elementos principales */
        justify-content: space-between;
        align-items: center;
    }

    .nav-links {
        display: none;
        /* Ocultar por defecto en pantallas pequeñas */
        flex-direction: column;
        width: 100%;
        background-color: #f8f8f8;
        position: absolute;
        top: 120px;
        /* Ajusta según la altura de tu header */
        left: 0;
        z-index: 1000;
        padding: 10px 0;
        border-top: 1px solid #eee;
        text-align: center;
    }

    .nav-links.active {
        display: flex;
        /* Mostrar cuando se activa */
    }

    .nav-links li {
        margin: 10px 0;
    }

    .hamburger-menu {
        display: block;
        /* Mostrar el botón de hamburguesa */
        order: 2;
        /* Para que aparezca a la derecha del logo */
    }

    .redes-sociales {
        display: none;
        /* Ocultar las redes sociales en el header en móvil si no quieres que estorben */
        /* Puedes moverlas al footer o dentro del menú desplegable si lo deseas */
    }

    main {
        flex-direction: column;
        /* Apilar la imagen y los detalles */
        align-items: center;
    }

    .detalles {
        padding: 0 15px;
    }

    .detalles h1 {
        font-size: 2em;
    }

    .productos {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
}

@media (max-width: 480px) {
    .line-up {
        font-size: 0.6em;
    }

    .logo h4 {
        font-size: 1.2em;
    }

    .color-options button{
        font-size: 15px;
    }


    .detalles h1 {
        font-size: 1.2em;
    }

    .boton-comprar {
        font-size: 1em;
        padding: 10px 20px;
    }

    .productos {
        grid-template-columns: 1fr;
        /* Una columna en pantallas muy pequeñas */
    }

    .producto {
        max-width: 90%;
        /* Ajuste para productos en pantallas muy pequeñas */
    }
}