html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px; 
    font-size: 16px; 
}

body {
    padding-top: 10px;
    margin: 0;
    min-height: 100vh;
    width: 100%;
    background-color: rgb(255, 255, 255);
    font-family: Arial, Helvetica, sans-serif;
    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 */
@media (max-width: 992px) {
    .navar li {
        margin: 0 0.8rem; 
    }
    .navar a {
        font-size: 0.85rem; /
    }
    .btn {
        width: auto; 
        padding: 0.4em 0.8em;
        margin-left: 0.8rem;
    }
    .logo h1 {
        font-size: 1.1rem; 
    }
}

/* Para pantallas pequeñas */
@media (max-width: 768px) {
    header {
        height: 60px;
        padding: 0 1rem;
    }

    .logo img {
        height: 2.5rem; 
    }
    .logo h1 {
        font-size: 1rem; 
        margin-left: 0.3rem;
    }

    .navar {
        display: none; 
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: rgb(0, 0, 0); /* Fondo negro para que combine con el header */
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        padding: 10px 0;
        text-align: center;
        z-index: 3;
    }

    .navar.active {
        display: flex; 
    }

    .navar li {
        margin: 0.625rem 0; 
        width: 100%; /* Ocupa todo el ancho para el hover */
    }

    .navar a {
        font-size: 0.875rem; 
        color: rgb(255, 255, 255); /* Texto blanco para contraste */
        display: block; /* Hace que el enlace ocupe todo el li para mejor hover */
        padding: 0.5rem 0; /* Espacio para el hover */
    }

    /* Hover para enlaces (mantiene el original) */
    .navar a:hover {
        filter: drop-shadow(0 0 5px #ffc400);  /* Sombra dorada */
    }

    /* Hover adicional para ítems del menú desplegable (fondo sutil) */
    .navar li:hover {
        background-color: rgba(255, 255, 255, 0.1); /* Fondo gris claro al pasar el cursor */
    }

    .botones {
        display: none; 
    }

    .menu-toggle {
        display: block; 
        cursor: pointer;
        font-size: 1.875rem; 
        color: #ffffff; /* Color blanco para el botón de tres líneas */
        z-index: 5;
        transition: color 0.3s; /* Transición suave para hover */
    }

    .menu-toggle:hover {
        color: #ffc400; /* Color dorado al pasar el cursor sobre el botón de tres líneas */
    }
}


@media (min-width: 769px) {
    .menu-toggle {
        display: none;
    }
}

/* Barra de búsqueda y filtros */
.search-filters-container {
  position: relative;
  margin-top: 80px;
  width: 100%;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  font-family: Arial, sans-serif;
}

.search-bar {
  display: flex;
  align-items: center;
  width: 100%;
}

#search-input {
  flex: 1;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px 0 0 4px;
  outline: none;
}

#search-button {
  padding: 10px 20px;
  background-color: #000;
  color: white;
  border: none;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s;
  border-radius: 0 4px 4px 0;
}

#search-button:hover {
  background-color: #AD873D;
}

.dropdown-filters {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: white;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  border-radius: 4px;
  z-index: 20;
  margin-top: 4px;
}

.dropdown-filters.show {
  display: block;
}

.dropdown-header {
  font-weight: bold;
  border-left: 4px solid #AD873D;
  padding: 10px 15px;
  font-size: 14px;
  color: #333;
  background-color: #fafafa;
}

.dropdown-list {
  list-style: none;
  margin: 0;
  padding: 10px 15px;
  max-height: 250px;
  overflow-y: auto;
}

.dropdown-list .filter-item {
  padding: 8px 5px;
  font-size: 14px;
  color: #555;
  cursor: pointer;
  border-radius: 3px;
  transition: background-color 0.2s;
}

.dropdown-list .filter-item:hover {
  background-color: #f2f2f2;
}

/* Responsividad */
@media (max-width: 768px) {
  .search-filters-container {
    padding: 15px;
    margin-top: 60px;
  }
  
  .search-bar {
    flex-direction: column;
    width: 100%;
  }
  
  #search-input {
    border-radius: 4px;
    margin-bottom: 10px;
  }
  
  #search-button {
    border-radius: 4px;
    width: 100%;
  }
  
  .dropdown-filters {
    position: static;
    width: 100%;
  }
}

.filters { display: flex; gap: 10px; margin-top: 10px; }
.filter-group { display: flex; flex-direction: column; }


/* seccion2 */
/* seccion2 */
#Seccion2 {
    width: 100%;
    padding: 60px 2%;
    background-color: #ffffff;  /* Fondo blanco para contraste con header negro */
    margin-top: -14px;
    box-sizing: border-box;
}

.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;
    }
}




/* Estilo para el botón flotante de WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 20px; 
    right: 20px;  
    z-index: 1000; 
    width: 40px;   
    height: 40px;
    border-radius: 50%; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); 
    transition: transform 0.3s ease; 
    display: flex; 
    align-items: center;
    justify-content: center;
    text-decoration: none; 
}

.whatsapp-float:hover {
    transform: scale(1.1); 
}

.whatsapp-float img {
    width: 100%;
    height: 100%;
    border-radius: 50%; 
}

/* Tooltip emergente al hover */
.whatsapp-float::after {
    content: "¿En qué te podemos asesorar?"; /* Mensaje del tooltip */
    position: absolute;
    bottom: 50px; /* Posición arriba del botón */
    right: 0; /* Alineado a la derecha */
    background-color: #AD873D; /* Color verde de WhatsApp */
    color: white;
    padding: 8px 12px;
    border-radius: 5px;
    font-size: 14px;
    white-space: nowrap; /* Evita que el texto se rompa */
    opacity: 0; /* Invisible por defecto */
    visibility: hidden; /* Oculto por defecto */
    transition: opacity 0.3s ease, visibility 0.3s ease; /* Animación suave */
    pointer-events: none; /* No interfiere con clics */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Sombra ligera */
}

.whatsapp-float:hover::after {
    opacity: 1; /* Visible al hover */
    visibility: visible;
}

/* Para tablets y móviles */
@media (max-width: 768px) {
    .whatsapp-float {
        position: fixed !important;
        bottom: 20px !important;
        right: 20px !important;
        z-index: 9999 !important;
        width: 50px !important;
        height: 50px !important;
    }
}

/* FOOTER */
#footer {
  background-color: #212529;  /* Color negro muy oscuro*/
  color: #6c757d;             /* Texto gris claro */
  padding: 1rem 2rem;
  font-family: Arial, sans-serif;
  font-size: 0.9rem;
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 80px; /* altura real de tu footer */
  z-index: 1000;
}

#footer .footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

#footer svg {
  vertical-align: middle;
  margin-right: 0.5rem;
  fill: #0088ff;              /* Gris claro para iconos */
  transition: fill 0.3s ease;
}

#footer-con-icons {
  background-color: #212529;  /* Fondo oscuro */
  color: #adb5bd;              /* Texto gris claro */
  padding: 1rem 2rem;
  font-family: Arial, sans-serif;
  font-size: 0.9rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #adb5bd;
}

.footer-logo {
  height: 50px;     /* Ajusta según tu logo */
}

.social-icons a {
  margin-left: 15px;
  display: inline-block;
  transition: opacity 0.3s ease;
}

.icon-social {
  height: 20px;     /* Tamaño para todos los iconos */
  width: 20px;
  display: block;
}

.social-icons a:hover .icon-social {
  opacity: 0.7;     /* Efecto al pasar mouse */
}

/* Responsive */
@media (max-width: 600px) {
  .footer-content {
    flex-direction: column;
    gap: 10px;
  }
  .footer-left {
    justify-content: center;
  }
  .social-icons {
    justify-content: center;
  }
}

