* {
    box-sizing: border-box; /* Asegura que padding y border no afecten el ancho total */
}
html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px; 
    font-size: 16px; 
}

body {
    padding-top: 70px;
    margin: 0;
    min-height: 100vh;
    width: 100%;
    background-color: rgb(255, 255, 255);
    font-family: 'Forum', cursive;
    overflow-x: hidden; 
}

header {
    width: 100%;
    height: 70px; 
    top: 0;
    background-color: rgb(0, 0, 0);
    position: fixed;
    z-index: 4;

    display: flex;
    align-items: center;
    justify-content: space-between;  /* Distribuye logo, menú e iconos equilibradamente */
    padding: 0 2%; 
    box-sizing: border-box;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    font-family: 'Forum', cursive;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.logo img {
    height: 4rem;  /* Aumentado de 3.125rem a 4rem (más grande) */
    transition: transform 0.5s;
    cursor: pointer;
}
.logo h1 {
    font-size: 1.5rem;  /* Aumentado de 1.25rem a 1.5rem (más grande, proporcional) */
    color: #ffffff;
    margin: 0;
    margin-left: 0.625rem; 
    white-space: nowrap; 
    min-width: 0;
}


/* Menu */
.navar {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    align-items: center;
    flex-grow: 1;  /* Toma el espacio disponible para centrarse */
    justify-content: center;  /* Centra los enlaces del menú */
}

.navar li {
    margin: 0 1.25rem; 
}

.navar a {
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgb(255, 255, 255);
    font-size: 0.9375rem; 
    transition: color 300ms;
    font-weight: bold;
    white-space: nowrap; 
}

.navar a:hover {
      filter: drop-shadow(0 0 5px #ffc400);  /* Sombra roja */
}

/* Botones */
.botones {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}
.icono {
    width: 24px;  
    height: 24px; 
    object-fit: contain;  
    transition: filter 0.3s;  
}
.icono:hover {
      filter: drop-shadow(0 0 5px #ffc400);  /* Sombra roja */
  }

/* Para pantallas medianas */
.texto-imagen-container {
    width: 100%;
    padding: 20px;
}

.producto-detalle {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    gap: 25px;
}

.producto-imagen,
.producto-info {
    width: 100%;
    min-width: 0;
}

.perfume-descripcion-seccion,
.mas-detalles {
    width: 100%;
    max-width: 800px;
    padding-left: 20px;
    padding-right: 20px;
    margin-left: auto;
    margin-right: auto;
}

.detalle-contenido {
    width: 100%;
    overflow-wrap: break-word;
}

.detalle-contenido img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.card {
    min-width: 0;
}

.customer-reviews-section {
    width: calc(100% - 40px);
}


/* =========================================
   DISEÑO RESPONSIVE - MENÚ MÓVIL
========================================= */

@media (max-width: 768px) {

    /* HEADER */
    header {
        height: 60px;
        padding: 0 1rem;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
    }

    .logo img {
        height: 2.5rem;
    }

    .logo h1 {
        font-size: 1rem;
        margin-left: 0.3rem;
    }

    /* BOTÓN HAMBURGUESA */
    .menu-toggle {
        display: block;
        cursor: pointer;
        font-size: 1.875rem;
        color: #ffffff;
        z-index: 1002;
        transition: color 0.3s ease;
    }

    .menu-toggle:hover {
        color: #ffc400;
    }

    /* MENÚ DESPLEGABLE */
    .navar {
        display: none;
        flex-direction: column;
        align-items: center;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: #000000;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
        padding: 10px 0;
        text-align: center;
        z-index: 1001;
        margin: 0;
    }

    .navar.active {
        display: flex;
    }

    /* OPCIONES DEL MENÚ */
    .navar li {
        display: block;
        width: 100%;
        margin: 0;
        padding: 0;
        text-align: center;
    }

    .navar li a {
        display: block;
        width: 100%;
        padding: 12px 10px;
        font-size: 0.875rem;
        color: #ffffff;
        text-decoration: none;
    }

    .navar li a:hover {
        filter: drop-shadow(0 0 5px #ffc400);
    }

    .navar li:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }

.navar .iconos-movil {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
        background: transparent !important;
        padding: 10px 0 !important;
    }

    .navar .iconos-movil:hover {
        background: transparent !important;
    }

    /* Caja contenedora de los iconos en fila horizontal */
   .navar .iconos-movil .botones {
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 20px !important;
    }

    .navar .iconos-movil .botones a {
        display: inline-block !important;
        width: auto !important;
        padding: 0 !important;
    }

    .navar .iconos-movil .botones a:hover {
        background: none !important;
    }

    .navar .iconos-movil .icono {
        width: 26px !important;
        height: 26px !important;
    }

    /* Ocultar iconos en su posición original del header */
    header > .botones {
        display: none !important;
    }

    /* No ocultar los botones de compra del producto */
    .producto-info .botones {
        display: flex !important;
    }
}
/* =========================================
   ESCRITORIO
========================================= */

@media (min-width: 769px) {

    .menu-toggle {
        display: none;
    }

    .navar {
        display: flex;
    }

    header > .botones {
        display: flex;
    }
}





/* Sección de texto e imagen (parece una introducción o hero) */
.texto {
    width: 55%;
    padding-right: 2rem;
    text-align: justify;
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.5;
    color: #000000;
}

.texto h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Ya es responsivo con clamp */
    font-weight: 700;
    color: #000000;
    font-family: 'Forum', cursive;
    margin-bottom: 0.5rem;
    letter-spacing: -0.05em;
}

.texto p {
    font-size: clamp(1rem, 1.5vw, 1.125rem); /* Responsivo */
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.imagen {
    width: 40%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.imagen img {
    max-width: 100%;
    max-height: 90%;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transition: transform 0.4s ease;
}

.imagen img:hover {
    transform: scale(1.03);
}

/* Contenedor general para texto e imagen (agregado para mejor control) */
.texto-imagen-container {
    display: flex;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Breadcrumb */
.breadcrumb {
    font-size: 15px;
    margin-bottom: 40px;
    color: #666;
    padding: 0 20px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;  
}


.breadcrumb a {
    color: #000000;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    margin: 0 10px;
}

/* Detalles del producto */
.producto-detalle {
    display: flex;
    gap: 40px;
    max-width: 1200px;
    margin: 0 0 0 150px; /* arriba derecha abajo izquierda */
    padding: 20px;
}

.producto-imagen {
    flex: 1;
    max-width: 100%; /* Cambiado de 700px para responsividad */
    display: flex;
    flex-direction: column;
    gap: 30px;
    overflow: visible;
    position: relative;
}

.producto-imagen img {
    width: 100%; /* Cambiado de 150% para evitar desbordes; usa 100% para que se ajuste */
    height: 350px;
    object-fit: cover;
    border: 1px solid #ddd;
    background-color: #f5f5f5;
    /* Eliminé margin-left: -50% y position relative para simplificar y evitar problemas en móviles */
    box-sizing: border-box;
}

/* Información del producto */
.producto-info {
    flex: 2;
    min-width: 0; /* Evita que el flex se rompa en móviles */
}

.producto-info h1 {
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 6px;
    color: #777;
}

.producto-info h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
}

/* Reseñas */
.reviews {
    font-size: 22px;
    line-height: 1;
    letter-spacing: 2px;
}

.reviews-star {
    color: #ccc;
    cursor: pointer;
    transition: color 0.2s;
}

.reviews-star.filled {
    color: #AD873D;
}

.producto-info .reviews span {
    color: #666;
    font-size: 12px;
    margin-left: 6px;
    font-weight: normal;
}

/* Precio */
.precio {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
}

.precio .precio-anterior {
    text-decoration: line-through;
    font-size: 16px;
    margin-left: 10px;
    color: #999;
    font-weight: 400;
}

/* Cantidad */
.cantidad-label {
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 14px;
}

.cantidad-control {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.cantidad-control button {
    width: 30px;
    height: 30px;
    background: none;
    border: 1px solid #333;
    font-weight: 700;
    font-size: 18px;
    cursor: pointer;
    user-select: none;
}

.cantidad-control input {
    width: 50px;
    height: 30px;
    text-align: center;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 3px;
}

/* Nota restantes */
.nota {
    font-size: 13px;
    color: #444;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nota i {
    font-style: normal;
    background: #000;
    color: #fff;
    border-radius: 50%;
    width: 17px;
    height: 17px;
    line-height: 17px;
    text-align: center;
    font-weight: 700;
    font-size: 12px;
    font-family: Arial, Helvetica, sans-serif;
}

/* Botones */
.botones {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.boton-carrito {
    border: 1px solid #000;
    background: none;
    padding: 12px 20px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    gap: 8px;
    align-items: center;
    transition: background-color 0.3s, color 0.3s;
}

.boton-carrito:hover {
    background-color: #AD873D;
    color: #fff;
}

.icono-carrito {
    width: 18px;
    height: 16px;
    margin-right: 8px;
    vertical-align: middle;
}

.boton-comprar {
    border: none;
    background-color: #39803b;
    color: white;
    padding: 12px 60px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    text-transform: uppercase;
    transition: background-color 0.3s;
}

.boton-comprar:hover {
    background-color: #333333;
}

/* Icono carrito para botón (mantenido) */
.icono-carrito::before {
    content: "";
    position: absolute;
    top: 6px;
    left: 4px;
    width: 2px;
    height: 6px;
    background: currentColor;
    border-radius: 1px;
}

.icono-carrito::after {
    content: "";
    position: absolute;
    bottom: 3px;
    right: 3px;
    width: 4px;
    height: 4px;
    background: currentColor;
    border-radius: 50%;
}

/* Contenedor de regalo */
.regalo-container {
    margin-top: 30px;
    max-width: 600px;
    padding: 20px;
    margin: 0 0 0 -15px; 
}

.regalo-container h3 {
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: Arial, Helvetica, sans-serif;
}

.regalo-container h4 {
    font-weight: 700;
    margin-top: 8px;
    margin-bottom: 8px;
    font-family: 'Forum', cursive;
}

.regalo-container p {
    line-height: 1.4;
    margin-bottom: 15px;
    font-family: 'Forum', cursive;
}

.regalo-container p span {
    text-decoration: underline;
    font-family: 'Forum', cursive;
}

.regalo-imagen {
    margin: 20px auto 20px auto;
    padding-right: 0; /* Eliminé padding-right fijo para responsividad */
 margin: 0 0 0 -4px; 
}

.regalo-imagen img {
    width: 200px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}


/* Media Queries para Responsividad */

/* Tablets (hasta 992px) */
@media (max-width: 992px) {
    .texto-imagen-container {
        flex-direction: column; /* Apila texto e imagen verticalmente */
        gap: 20px;
    }

    .texto {
        width: 100%;
        padding: 0 0 2rem 0;
        text-align: center;
    }

    .imagen {
        width: 100%;
        margin-bottom: 1rem;
    }

    .imagen img {
        max-height: 300px;
    }

    .texto h1 {
        font-size: 2.2rem;
    }

    .texto p {
        font-size: 1rem;
    }

    .producto-detalle {
        flex-direction: column; /* Apila imagen e info verticalmente */
        gap: 20px;
    }

    .producto-imagen img {
        height: 250px; /* Reduce altura en tablets */
    }

    .botones {
        flex-direction: column; /* Botones uno debajo del otro */
        align-items: center;
    }

    .regalo-imagen img {
        width: 120px; /* Reduce tamaño en tablets */
    }
}

/* Móviles grandes (hasta 768px) */
@media (max-width: 768px) {
    .breadcrumb {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .producto-info h1 {
        font-size: 16px;
    }

    .producto-info h2 {
        font-size: 20px;
    }

    .reviews {
        font-size: 18px;
    }

    .precio {
        font-size: 20px;
    }

    .cantidad-control button {
        width: 25px;
        height: 25px;
        font-size: 16px;
    }

    .cantidad-control input {
        width: 40px;
        height: 25px;
        font-size: 14px;
    }

    .nota {
        font-size: 12px;
    }

    .botones {
        align-items: flex-start; /* IZQUIERDA */
    }

    .boton-carrito,
    .boton-comprar {
        width: 240px;
        padding: 12px;
        font-size: 14px;
    }

    .regalo-imagen img {
        width: 200px;
        max-width: 100%;
        height: auto;
    }
}

/* Móviles pequeños (hasta 480px) */
@media (max-width: 480px) {
    .texto h1 {
        font-size: 1.8rem;
    }

    .texto p {
        font-size: 0.9rem;
    }

    .producto-imagen img {
        height: 200px; /* Aún más pequeño */
    }

    .producto-info h2 {
        font-size: 18px;
    }

    .precio {
        font-size: 18px;
    }

    .botones {
        align-items: flex-start;
    }

    .boton-carrito,
    .boton-comprar {
        width: 220px;
        padding: 10px;
        font-size: 13px;
    }

    .regalo-imagen img {
        width: 180px;
        max-width: 100%;
        height: auto;
    }
}







/* Detalle */
.perfume-descripcion-seccion {
    border-top: 1px solid #ddd; /* línea gris arriba */
  padding-top: 20px;          /* espacio para que no quede pegada */
  margin-top: 40px;     
  max-width: 800px;
  margin: 60px auto 60px auto; /* centrado horizontalmente */
  padding-left: 200px; /* empuja contenido hacia la derecha */
  font-family: 'Forum', cursive;
  color: #333;
}
.perfume-titulo {
    margin: 0 0 10px 0;
    font-weight: 700;
    font-size: 20px;
    text-transform: uppercase;
    white-space: normal; 
    
}


.descripcion-titulo {
  margin: 0 0 10px 0;
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  color: #444;
}

.perfume-descripcion-seccion p {
  font-size: 15px;
  line-height: 1.2;
  color: #555;
  margin-bottom: 30px;
}

.video-perfume {
  display: block;            /* Hace que el video sea un bloque para centrado */
  margin: 0 auto 30px auto;  /* Centra horizontalmente y añade espacio abajo */
  width: 250px;              /* Tamaño fijo más pequeño (ajústalo según prefieras) */
  height: auto;              /* Para mantener proporción del video */
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  object-fit: cover;
}


/* MAs detalles */

.mas-detalles {
    border-top: 1px solid #ddd; /* línea gris arriba */
  padding-top: 20px;          /* espacio para que no quede pegada */
  margin-top: 40px;     
  max-width: 800px;
  margin: 60px auto 60px auto; 
  padding-left: 200px; 
  font-family: 'Forum', cursive;
  color: #333;
}

.mas-detalles h2 {
  font-weight: 700;
  font-size: 24px;
  margin-bottom: 20px;
   font-family: 'Forum', cursive;
}

.detalle-item {
  border-bottom: 1px solid #ccc;
  margin-bottom: 10px;
}

.detalle-titulo {
  width: 100%;
  background: none;
  border: none;
  font-weight: 600;
  font-size: 16px;
  color: #222;
  padding: 10px 0;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
   font-family: 'Forum', cursive;
}

.detalle-contenido {
  display: none; /* oculto por defecto */
  padding: 10px 0 20px 0;
   font-family: 'Forum', cursive;
   width: 100%;
}

.detalle-contenido p {
  margin: 0 0 10px 0;
  font-size: 14px;
  line-height: 1.5;
}

.detalle-contenido img {
    display: block;
    width: 300px !important;
    height: auto;
}

.toggle-icon {
  font-weight: 700;
  font-size: 20px;
  user-select: none;
  transition: transform 0.3s ease;
}

/* Aplica rotación cuando se abre */
.detalle-item.abierto .toggle-icon {
  transform: rotate(45deg); /* cambia + a x visual */
}


/*cartas*/
.album-header {
    text-align: center;
    margin-bottom: 10px;
}

.album-header h1 {
    font-size: 3rem;
    color: #000000;
    font-family: 'Forum', cursive;  /* Fuente cursiva para consistencia */
    margin-bottom: 50px;
}

.album-header .lead {
    font-size: 1.25rem;
    color: #7f8c8d;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.album-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    width: calc(33.333% - 20px);  /* 3 tarjetas por fila en desktop */
    min-width: 250px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.card img {
    width: 60%;
    height: 200px;
    object-fit: cover;
    margin: 0 auto; 
    display: block;  /* Necesario para centrar con margin auto */
}


.card-body {
    padding: 10px 20px 20px 20px;
     text-align: left; 
}

.card-title {
    font-size: 1.2rem;
    color: #000000;
    margin-bottom: 1px;  /* Reducido para espacio */
    font-family: 'Forum', cursive;
    font-weight: bold;  /* Negrita para títulos de tarjetas */
}

.card-subtitle {
    font-size: 1.1rem;
    color: #7f8c8d;  /* Gris para subtítulo */
    margin-bottom: 6px;
    font-family: 'Forum', cursive;  /* Consistencia con título */
}

.card-description {
    font-size: 1rem;
    color: #7f8c8d;
    margin-bottom: 10px;  /* Ajustado para estrellas */
    line-height: 1.5;
}

.stars {
    color: #efb810;  /* Dorado para estrellas, match con botones */
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.price {
    margin-bottom: 15px;
}

.price .old-price {
    text-decoration: line-through;
    color: #999;  /* Gris para precio anterior */
    font-size: 0.9rem;
}

.price .new-price {
    font-size: 1.2rem;
    font-weight: bold;
    color: #000000;  /* Negro para precio actual */
}

.btnver {
    display: inline-block;
    padding: 10px 20px;
    background-color: #000;  /* Negro para fondo */
    color: #fff;  /* Blanco para texto */
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.btnver:hover {
    background-color: #333;  /* Gris oscuro al hover */
}

.ver-todo-container {
    margin-top: 30px;
    text-align: center;
}

.btn-ver-todo {
    display: inline-block;
    background-color: #000;  /* Negro para fondo */
    color: #fff;  /* Blanco para texto */
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
}

.btn-ver-todo:hover {
    background-color: #333;  /* Gris oscuro al pasar mouse */
}

/* Responsive */
@media (max-width: 768px) {
    .card {
        width: calc(50% - 20px);  /* 2 tarjetas por fila en tablets */
    }
    .album-header h1 {
        font-size: 2.5rem;
    }
    .album-header .lead {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .card {
        width: 100%;  /* 1 tarjeta por fila en móviles */
    }
    .album-header h1 {
        font-size: 2rem;
    }
    .album-header .lead {
        font-size: 0.9rem;
    }
    .card-body {
        padding: 15px;
    }
}














/* Estilos para la sección de sugerencias */
.suggestions-section {
  margin: 20px 0;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #f9f9f9;
}
.suggestions-title {
  font-size: 24px;
  margin-bottom: 15px;
  color: #333;
}








/*RESEÑA */

.customer-reviews-section {
  border-top: 1px solid #ddd; /* línea gris arriba */
  padding-top: 20px;          /* espacio para que no quede pegada la línea */
  margin: 60px auto 60px auto; /* margen arriba y abajo, centrado horizontal */
  max-width: 900px;             /* mismo ancho para las secciones */
  font-family: 'Forum', cursive;
  color: #333;
  box-sizing: border-box; /* para evitar problemas con padding/margin */
}

.customer-reviews-title {
  font-weight: 700;
  color: #888;
  font-size: 16px;
  margin: 20px 0 30px 0;
  text-transform: uppercase;
  letter-spacing: 1.5px;

    text-align: center;   /* Centra el texto */
  width: 100%;          /* Ocupa todo el ancho del contenedor */
  display: block;       /* Asegura que text-align funcione bien */
}
.customer-reviews-content {
  max-width: 600px;           /* ancho restringido al contenido dentro de la sección */
  margin: 0 auto;             /* centrado contenido interno */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.rating-and-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
   .stars {
      font-size: 22px;
      line-height: 1;
      letter-spacing: 2px;
    }
    .star {
      color: #ccc; /* Color gris por defecto para estrellas no seleccionadas */
      cursor: pointer;
      transition: color 0.2s; /* Transición suave para el cambio de color */
    }
    .star.filled {
      color: #AD873D; /* Color dorado para estrellas seleccionadas */
    }

.review-text {
  font-size: 12px;
  color: #222;
  margin-top: 4px;
}

.write-review-btn {
  background-color: #dca331; /* amarillo brillante */
  border: none;
  color: #222;
  font-weight: 700;
  padding: 12px 28px;
  font-size: 14px;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.write-review-btn:hover {
  background-color: #f2c200;
}

/* Modal overlay */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(3px);
}

/* Modal activo */
.modal-overlay.active {
    display: flex;
}

/* Caja del modal */
.modal-box {
    background: #fff;
    padding: 25px 30px;
    border-radius: 12px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    animation: modalFadeIn 0.3s ease;
}

/* Animación */
@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Título */
.modal-box h2 {
    margin-bottom: 15px;
    font-size: 20px;
}

/* Botones */
.modal-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.modal-buttons button {
    padding: 8px 18px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.2s ease;
}

#modal-login-btn {
    background-color: #c6a009;
    color: #fff;
}

#modal-login-btn:hover {
    background-color: #ccb143;
}

#modal-cerrar-btn {
    background-color: #ccc;
    color: #333;
}

#modal-cerrar-btn:hover {
    background-color: #aaa;
}


.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}
.modal-overlay.active {
    display: flex;
}
.modal-box {
    background: #fff;
    padding: 20px 30px;
    border-radius: 8px;
    text-align: center;
}

/* SECCION RESEÑAS */
.customer-reviews-section{
  border-top: 1px solid #ddd;
  padding-top: 25px;
  margin: 60px auto;
  max-width: 800px;
  font-family: 'Forum', cursive;
  color: #333;
}

/* TITULO */
.customer-reviews-title{
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #777;
  text-align: center;
  margin-bottom: 30px;
}

/* BOTON ESCRIBIR RESEÑA */
.write-review-btn{
  display:block;
  margin:0 auto 30px auto;
  background:#dca331;
  border:none;
  color:#222;
  font-family:'Forum', cursive;
  font-weight:700;
  padding:12px 30px;
  font-size:14px;
  cursor:pointer;
  border-radius:4px;
  transition:0.3s;
}

.write-review-btn:hover{
  background:#f2c200;
}

/* FORMULARIO */
.form-resena{
  max-width:500px;
  margin:0 auto 40px auto;
  display:flex;
  flex-direction:column;
  gap:12px;
}

/* TEXTAREA */
.form-resena textarea{
  resize:none;
  height:90px;
  border:1px solid #ddd;
  padding:10px;
  font-family:'Forum', cursive;
  font-size:14px;
  color:#333;
}

/* SELECT */
.form-resena select{
  border:1px solid #ddd;
  padding:8px;
  font-family:'Forum', cursive;
}

/* BOTON PUBLICAR */
.btn-publicar{
  background:#000;
  color:#fff;
  border:none;
  padding:10px;
  font-family:'Forum', cursive;
  cursor:pointer;
  transition:0.3s;
}

.btn-publicar:hover{
  background:#333;
}

/* LISTA DE RESEÑAS */
.lista-resenas{
  max-width:600px;
  margin:0 auto;
}

/* RESEÑA */
.resena{
  border-bottom:1px solid #eee;
  padding:18px 0;
}

/* NOMBRE */
.nombre-usuario{
  font-size:14px;
  font-weight:700;
  color:#222;
}

/* ESTRELLAS */
.estrellas{
  color:#AD873D;
  font-size:16px;
  margin:4px 0 6px 0;
}

/* TEXTO */
.texto-resena{
  font-size:14px;
  color:#555;
  line-height:1.5;
}

/* MENSAJE SIN RESEÑAS */
.sin-resenas{
  text-align:center;
  color:#777;
  font-size:14px;
  margin-top:20px;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal.active {
  display: flex;
}

.modal-contenido {
  background: white;
  padding: 20px;
  border-radius: 10px;
}
/* =====================================
   MENÚ RESPONSIVE - DETALLES
===================================== */

@media (max-width: 768px) {

    .navar .iconos-movil {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        margin: 10px 0;
        background: transparent;
    }

    .navar .iconos-movil:hover {
        background: transparent;
    }

    .navar .iconos-movil .botones {
        display: flex !important;
        justify-content: center;
        align-items: center;
        gap: 15px;
        width: auto;
        margin: 0;
    }

    .navar .iconos-movil .botones a {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 5px;
    }

    .navar .iconos-movil .icono {
        width: 24px;
        height: 24px;
    }

}
/* ==========================================================
   SOLUCIÓN DEFINITIVA Y AISLADA: ICONOS EN HORIZONTAL
========================================================== */
@media (max-width: 768px) {
    /* Forzamos que el elemento contenedor de los iconos ocupe el ancho pero controle su interior */
    .navar li.iconos-movil {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
        background: transparent !important;
    }

    .navar li.iconos-movil:hover {
        background: transparent !important;
    }

    /* Convertimos la caja de botones en una fila flexible horizontal */
    .navar li.iconos-movil .botones {
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 20px !important;
        width: auto !important;
        margin: 0 auto !important;
    }

    /* Anulamos el display block exclusivo de los enlaces que están dentro de los iconos móviles */
    .navar li.iconos-movil .botones a {
        display: inline-block !important;
        width: auto !important;
        padding: 0 !important;
        margin: 0 !important;
        background: none !important;
    }

    .navar li.iconos-movil .botones a:hover {
        background: none !important;
    }

    .navar li.iconos-movil .icono {
        width: 26px !important;
        height: 26px !important;
    }
}