/*TIENDA*/
/*header*/
header {
    padding: 1.5rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px;
    position: relative;
}
header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%; /* Margen izquierdo */
    right: 10%; /* Margen derecho */
    height: 3px; /* Grosor fino */
    background: black;
    opacity: 50%;
}
nav {
    flex: 2; /* Ocupa más espacio para centrar */
    display: flex;
    justify-content: center; /* Centrar el menú */
}
nav ul {
    display: flex;
    list-style: none;
    gap: 5rem;
    margin: 0;
    padding: 0;
}
nav a {
    text-decoration: none;
    color: black;
    font-family: 'Cormorant Garamond';
    font-weight: 500;
    font-size: 1.7rem;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    cursor: pointer;
    transition: all 0.3s ease; /* Transición para todos los efectos */
    display: inline-block; /* Necesario para transform */
}
nav a:hover {
    color: #ff6b6b;
    transform: scale(1.1); /* Efecto de agrandamiento */
    text-shadow: 0 2px 8px rgba(91, 91, 91); /* Sombra sutil para profundidad */
}
.user-menu {
    display: flex;
    justify-content: center;
}
.user-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px black;
    border-radius: 50%;
    text-decoration: none;
    color: black;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
}
.user-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
    border-color: black;
}

.user-icon svg {
    transition: transform 0.3s ease;
}

.user-icon:hover svg {
    transform: scale(1.1);
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* botones */
.hero-buttons {
    display: flex;
    justify-content: flex-end; /* Alineados a la derecha */
    gap: 1rem;
    margin-top: 5rem;
    margin-bottom: 0rem;
    padding: 0 2rem;
    position: relative;
    bottom: 50px; 
}
.hero-btn {
    background: #fbecb2;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #705228;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
.hero-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
/* Iconos */
.heart-icon {
    color: #ff6b6b;
    font-size: 1.1rem;
}
.cart-icon {
    font-size: 1.1rem;
}
/* Versión con íconos SVG (más profesional) */
.hero-btn svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}
/*títulos*/
.colecciones-section {
    padding: .0rem 4rem 2rem;
    background-color: #fefefe;
    text-align: center;
}
.colecciones-header h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 5rem;
    font-weight: 500;
    color: #666;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}
.subtitle-with-lines {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
}
.subtitle-line {
    flex: 1;
    height: 2px;
    background: #b5b5b5;
    border-radius: 1px;
}
.subtitle-text {
    font-family: 'Cormorant Garamond';
    font-size: 3rem;
    font-weight: 300;
    color: #b5b5b5;
    letter-spacing: 0.5px;
    white-space: nowrap;
}
/* CARRUSEL */
.series-carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 4rem;
    background-color: #fefefe;
    position: relative;
    gap: 1rem;
}
.carousel-container {
    width: 100%;
    max-width: 1200px;
    overflow: hidden;
    display: flex;
    justify-content: center; /* Centra el track */
}
.carousel-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s ease;
    padding: 1rem 0;
}

/* FORMA DE TÚNEL */
.tunnel-shape {
    position: relative;
    width: 350px;
    height: 450px;
    overflow: hidden;
    border-top-left-radius: 160px;
  border-top-right-radius: 160px;
  border-bottom-right-radius: 0px;
  border-bottom-left-radius: 0px;
}
.tunnel-shape img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.series-card:hover .tunnel-shape img {
    transform: scale(1.05);
}
.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent 0%, rgba(0,0,0,0.8) 100%);
    padding: 2rem 1rem 1rem;
    text-align: center;
}

.card-overlay h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    color: white;
    font-weight: 300;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}
/*Títulos debajo de la imagen*/
.card-title {
    text-align: center;
    margin-top: 1.5rem;
    position: relative;
}
.title-line {
    width: 350px; /* Mismo ancho que la imagen */
    height: 1px;
    background: #ccc;
    margin: 0 auto 1rem auto;
}
.card-title h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    font-weight: 400;
    color: #333;
    margin: 0;
    letter-spacing: 0.5px;
}

/*SERIES CARD Ajustes*/
.series-card {
    flex: 0 0 auto;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.series-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none; /* Quita el subrayado del enlace */
    color: inherit; /* Mantiene los colores originales */
    cursor: pointer;
    transition: all 0.3s ease;
}
.series-card h3 {
    text-decoration: none;
    color: inherit;
}
.series-card:hover {
    transform: translateY(-10px);
    text-decoration: none; /* Asegurar que no aparezca subrayado */
}
.series-card:hover h3 {
    color: #666;
    text-decoration: none;
}
/* FLECHAS DEL CARRUSEL */
.carousel-arrow {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #e0e0e0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 2rem;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}
.carousel-arrow:hover {
    background: white;
    border-color: #ccc;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* SERIES CARD */
.series-card {
    flex: 0 0 auto;
    cursor: pointer;
    transition: all 0.3s ease;
}
.series-card:hover {
    transform: translateY(-10px);
}

/* NUEVOS TESOROS SECTION */
.nuevos-tesoros-section {
    padding: 3rem 4rem;
    background-color: #fefefe;
}

.nuevos-tesoros-header h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 4rem;
    font-weight: 400;
    color: #b5b5b5;
    text-align: center;
    margin-bottom: 1.5rem;
}
/* PRODUCTOS CAROUSEL */
.productos-carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    position: relative;
}
.carousel-container {
    width: 100%;
    max-width: 1200px;
    overflow: hidden;
}
.productos-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.5s ease;
    padding: 1rem 0;
}
/* PRODUCTO CARD */
.producto-card {
    flex: 0 0 auto;
    width: 250px; /* Más pequeños que las series */
    cursor: pointer;
    transition: all 0.3s ease;
}
.producto-card:hover {
    transform: translateY(-5px);
}

/* IMAGEN DEL PRODUCTO */
.producto-image {
    position: relative;
    width: 260px;
    height: 360px; /* Rectángulo vertical */
    border-radius: 12px; /* Bordes redondeados */
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.producto-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.producto-card:hover .producto-image img {
    transform: scale(1.05);
}
/* OVERLAY CON RATING Y PRECIO */
.producto-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.4) 0%,
        transparent 30%,
        transparent 70%,
        rgba(0, 0, 0, 0.3) 100%
    );
       padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.producto-card:hover .producto-overlay {
    opacity: 1;
}
.rating {
    color: white;
    font-size: 0.8rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.review-count {
    font-size: 0.7rem;
    opacity: 0.9;
}
.price {
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    align-self: flex-end;
}

/* INFORMACIÓN DEL PRODUCTO */
.producto-info {
    padding: 1rem 0.5rem 0;
    text-align: center;
}
.producto-info h3 {
    font-family: 'Cormorant Garamond';
    font-size: 1.3rem;
    font-weight: 400;
    color: #333;
    margin: 0;
    line-height: 1.4;
}
/* FLECHAS (reutilizamos las mismas) */
.carousel-arrow {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #e0e0e0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    flex-shrink: 0;
}
.carousel-arrow:hover {
    background: white;
    border-color: #ccc;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
/* RESPONSIVE */
@media (max-width: 768px) {
    .series-carousel {
        padding: 2rem 1rem;
        gap: 0.5rem;
    }
/* RESPONSIVE */
@media (max-width: 768px) {
    header {
        padding: 1.5rem 2rem;
        flex-direction: column;
        gap: 1rem;
    }
    
    nav ul {
        gap: 1.5rem;
    }
    
  .tunnel-shape {
        width: 280px;
        height: 360px;
    }
    
    .carousel-arrow {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
}
@media (max-width: 480px) {
    .tunnel-shape {
        width: 250px;
        height: 320px;
    }
    
    .carousel-track {
        gap: 1rem;
    }
}
@media (max-width: 768px) {
    .nuevos-tesoros-section {
        padding: 2rem 1rem;
    }
    
    .nuevos-tesoros-header h2 {
        font-size: 2rem;
    }
    
    .producto-card {
        width: 180px;
    }
    
    .producto-image {
        width: 180px;
        height: 230px;
    }
     .carousel-arrow {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .producto-card {
        width: 160px;
    }
    
    .producto-image {
        width: 160px;
        height: 200px;
    }
     .producto-info h3 {
        font-size: 0.8rem;
    }
}