/*PEINETA*/
/*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;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: #fefefe;
    color: #333;
    line-height: 1.6;
}
/* PRODUCTO DETALLE */
.producto-detalle {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding: 4rem;
    max-width: 1400px;
    margin: 0 auto;
    align-items: start;
}

/* GALERÍA */
.producto-galeria {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.imagen-principal {
    position: relative;
    width: 100%;
    height: 550px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px #b99a90;
}

.imagen-principal img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* Flechas de la galería */
.galeria-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #e0e0e0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.prev-arrow {
    left: 20px;
}

.next-arrow {
    right: 20px;
}

.galeria-arrow:hover {
    background: white;
    border-color: #ccc;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
/* MINIATURAS */
.miniaturas {
    display: flex;
    gap: 0.8rem;
    justify-content: center;
}

.miniatura {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}
.miniatura.active {
    border-color: #333;
}

.miniatura:hover {
    border-color: #666;
}

.miniatura img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* INFORMACIÓN DEL PRODUCTO */
.producto-info {
    padding: 1rem 0;
}

.producto-info h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 1rem;
    color: #333;
}

.precio {
    font-family: 'Inter', sans-serif;
    font-size: 1.8rem;
    font-weight: 400;
    color: #333;
    margin-bottom: 1rem;
}
.rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    color: #666;
}

.review-count {
    font-size: 0.9rem;
}

.descripcion {
    margin-bottom: 2rem;
}
.descripcion p {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
}

.disponibilidad {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 2rem;
    padding: 1rem;
    background: #f8f8f8;
    border-radius: 8px;
}
/* BOTONES DE COMPRA */
.botones-compra {
    display: flex;
    gap: 1rem;
}
.btn-comprar, .btn-carrito {
    flex: 1;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
.btn-comprar {
    background: #333;
    color: white;
}

.btn-comprar:hover {
    background: #555;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-carrito {
    background: transparent;
    color: #333;
    border: 1px solid #e0e0e0;
}
.btn-carrito:hover {
    background: #f8f8f8;
    border-color: #ccc;
    transform: translateY(-2px);
}
/* PROCESO DE CREACIÓN */
.proceso-creacion {
    padding: 3rem 8rem;
    background-color: #fefefe;
    border-top: 1px solid #f0f0f0;
}

.proceso-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0;
    cursor: pointer;
    padding: 1rem 0;
}
.proceso-header h2 {
    font-family: 'Cormorant Garamond';
    font-size: 2rem;
    font-weight: 400;
    color: #333;
    margin: 0;
}

.toggle-btn {
    background: none;
    border: 1px solid #e0e0e0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.toggle-btn:hover {
    background: #f8f8f8;
    border-color: #ccc;
}

.toggle-icon {
    font-size: 1rem;
    color: #666;
    transition: transform 0.3s ease;
}

.toggle-btn.rotated .toggle-icon {
    transform: rotate(180deg);
}
/* CONTENIDO DESPLEGABLE */
.proceso-contenido {
    display: none;
    padding-top: .1rem;
}

.proceso-contenido.mostrar {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
/* ITEMS DEL PROCESO */
.proceso-item {
    display: grid;
    grid-template-columns: 190px 1fr;
    gap: 2rem;
    margin-bottom: 1rem;
    padding: 1.5rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.proceso-item:hover {
    background: #fafafa;
}

.proceso-imagen {
    width: 190px;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.proceso-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.proceso-item:hover .proceso-imagen img {
    transform: scale(1.05);
}

.proceso-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.proceso-info h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-weight: 400;
    color: #333;
    margin-bottom: 0.5rem;
}
.proceso-info p {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #666;
    margin-bottom: 1rem;
}
/* BOTÓN GALERÍA */
.btn-galeria {
    align-self: flex-start;
    background: transparent;
    border: 1px solid #333;
    color: #333;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}
.btn-galeria:hover {
    background: #333;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
/* OPINIONES DESTACADAS */
.opiniones-section {
    padding: 2rem 4rem;
    background-color: #fefefe;
    border-top: 1px solid #f0f0f0;
}

.opiniones-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0;
    cursor: pointer;
    padding: 1rem 4.5rem;
}

.opiniones-header h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 400;
    color: #333;
    margin: 0;
}

/* GRID DE REVIEWS */
.opiniones-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

/* REVIEW CARD */
.review-card {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    border-radius: 12px;
    background: #fafafa;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.review-card:hover {
    background: #f8f8f8;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}
/* CONTENEDOR DE FOTOS*/
.review-fotos {
    display: flex;
    flex-direction: row;
    gap: 0.8rem;
    min-width: 300px; /* Ancho fijo para las fotos */
    max-width: 300px;
}

.foto-item {
    width: 90px;
    height: 120px; /* Formato vertical de teléfono */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: relative;
    flex-shrink: 0; 
}
.foto-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.foto-item:hover img {
    transform: scale(1.05);
}
/* CONTENIDO DE LA REVIEW */
.review-card {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    border-radius: 12px;
    background: #fafafa;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    align-items: flex-start; /* Alinear al inicio */
}
.review-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 120px; /* Altura mínima para alinear con las fotos */
}

.review-rating {
    color: #ffb400;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}
.review-text p {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 1.5rem;
}

.review-date {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    color: #999;
    text-align: right;
    margin-top: auto;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .opiniones-section {
        padding: 2rem 1rem;
    }
    
    .review-card {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem;
    }
  .review-fotos {
        flex-direction: row;
        overflow-x: auto;
        gap: 1rem;
        min-width: auto;
        padding-bottom: 0.5rem;
    }
    
    .foto-item {
        width: 150px;
        height: 180px;
        flex-shrink: 0; /* Evita que se encojan */
    }
    
    .review-content {
        min-height: auto;
    }
  .review-text p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .review-card {
        padding: 1.2rem;
    }
    
    .review-fotos {
        gap: 0.8rem;
    }
    
    .foto-item {
        width: 120px;
        height: 150px;
    }
 .opiniones-header h2 {
        font-size: 1.5rem;
    }
    
    .review-rating {
        text-align: center;
    }
    
    .review-date {
        text-align: center;
    }
}


/* RESPONSIVE */
@media (max-width: 968px) {
    .producto-detalle {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }
    
    .imagen-principal {
        height: 400px;
    }
}
@media (max-width: 768px) {
    .header-solid {
        padding: 1.5rem 2rem;
    }
    
    .producto-detalle {
        padding: 1rem;
    }
    
    .imagen-principal {
        height: 350px;
    }
    
    .botones-compra {
        flex-direction: column;
    }
  .producto-info h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .imagen-principal {
        height: 300px;
    }
    
    .miniaturas {
        gap: 0.5rem;
    }
    
    .miniatura {
        width: 60px;
        height: 60px;
    }
   .galeria-arrow {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .proceso-creacion {
        padding: 2rem 1rem;
    }
    
    .proceso-item {
        grid-template-columns: 100px 1fr;
        gap: 1.5rem;
        margin-bottom: 2rem;
        padding: 1rem;
    }
    
    .proceso-imagen {
        width: 100px;
        height: 100px;
    }
 .proceso-info h3 {
        font-size: 1.2rem;
    }
    
    .proceso-info p {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .proceso-item {
        grid-template-columns: 1fr;
        text-align: center;
    }
   .proceso-imagen {
        width: 150px;
        height: 150px;
        margin: 0 auto;
    }
    
    .btn-galeria {
        align-self: center;
    }
    
    .proceso-header h2 {
        font-size: 1.5rem;
    }
}