:root {
  --verde: #5b2b12;
  --blanco: #ffffff;
  --rojo: #b8252b;
  --naranja: #556041;
  --azul: #207184;
}

.navbar {
  background-color: #5b2b12; /*!important; marron */
}

.navbar .nav-link {
  color: #ffffff; /* texto blanco */
}

.navbar .nav-link:hover {
  color: #c4af5e; /* naranja al pasar el mouse */
}
.navbar .nav-link.active {
  color: #ffffff; /* el activo también en blanco */
}
.navbar .nav-link.active:hover {
  color: #c4af5e; /* y cambia a naranja igual que los demás */
}
.navbar-brand img {
  max-height: 90px; /* ajusta el tamaño del logo */
  width: auto;      /* mantiene la proporción */
  display: block;  /* elimina espacio debajo del logo */
}
.navbar-toggler {
  border-color: #ffffff;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255,1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* Logo grande en desktop */
.logo {
  height: 90px;
  width: auto;
}

/* Logo reducido en pantallas chicas */
@media (max-width: 576px) {
  .logo {
    height: 40px;   /* achica el logo en móviles */
    width: auto;
  }
}

.contenido {
  background-color: var(--blanco);
  padding: 2rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  grid-template-rows: repeat(2, auto);
  gap: 1rem;
  justify-content:center;
}
@media (max-width: 992px) {
  .grid {
    grid-template-columns: repeat(3, 1fr); /* 3 columnas en tablets */
  }
}

@media (max-width: 576px) {
  .grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columnas en móviles */
  }
}

.item {
  background-color: var(--blanco); /* fondo blanco */
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.item-img {
  width: 100%;
  height: auto;
  border-radius: 5px;
  margin-bottom: 1rem;
}

.item-title {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--verde); /* texto en verde */
}

.btn-naranja {
  background-color: var(--naranja); /* botón verde */
  color: var(--blanco);             /* texto blanco */
  border: none;
  padding: 0.8rem 2rem;
  margin-top: 1rem;
  margin-bottom: 40px; 
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
}

.btn-naranja:hover {
  background-color: #2d4a3e; /* tono más oscuro al hover */
}

.header {
  height: 100vh;
  background: url('images/hero.jpg') top/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Caja de texto con overlay */
.text-box {
  background: rgba(0,0,0,0.5); /* solo detrás del texto */
  padding: 1rem;
  border-radius: 20px;          /* opcional, esquinas redondeadas */
  color: white;
  max-width: 600px;
  margin: 0 auto; /* centrado horizontal */
}
/* Mantener el título normal */
.text-box h1 {
 font-weight: 300; /* reg */
}
/* Párrafo en semibold/bold */
.text-box p {
  font-weight: 600; /* semibold */
}
.header .btn-primary {
  background-color: var(--rojo);
  border: none;
}
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 20px;
  right: 20px;
  background-color: #25d366; /* verde WhatsApp */
  border-radius: 50%;
  box-shadow: 2px 2px 5px rgba(0,0,0,0.3);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.whatsapp-float i {
  color: #ffffff;   /* ícono en blanco */
  font-size: 32px;  /* tamaño del ícono */
  line-height: 1;   /* evita que quede descentrado */
}

.whatsapp-float:hover {
  background-color: #1ebe5d; /* tono más oscuro al hover */
}
.item i {
  color: #1a3c47; /* o el color que quieras */
  font-size: 20px; /* ajustá tamaño */
  display:inline-block;
}
.bi-arrow-down-circle-fill {
  color: #b8252b !important; /* tu rojo oscuro */
  font-size: 24px;           /* ajustá tamaño para que se note */
}

.extra-col {
  display: flex;
  flex-direction: column;   /* siempre en columna */
  align-items: center;      /* centrado horizontal */
  justify-content: center;  /* centrado vertical */
  gap: 2rem;                /* espacio entre filas */
  width: 100%;              /* ocupa todo el ancho */
  margin-top: 2rem;
}

.extra-item {
  text-align: center;
  margin: 1.5rem 0;         /* espacio vertical entre items */
  width: 100%;              /* cada item ocupa todo el ancho */
}

.extra-img {
  width: 120px;             /* ajustá según tu diseño */
  height: auto;
  margin-bottom: 0.5rem;
}

.extra-title {
  margin-bottom: 0.5rem;
  color: #1a3c47;           /* azul petróleo */
   text-align: center;
}

.row.mt-3 p {
  text-align: center;
}

.row.mt-3 .btn-naranja {
  display: inline-block;   /* para que se centre bien */
  margin: 0 auto;
}

.btn-naranja {
  background-color: #556041;
  color: #fff;
  border: none;
  padding: 0.6rem 1rem;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
}

.btn-primary {
  background-color: var(--rojo);
  border: none;
}
.btn-primary:hover {
  background-color: #a93226; /* un rojo más oscuro al hover */
}

footer p,
footer a {
  color: #5b2b12; /* marrón oscuro */
}

footer a {
  text-decoration: none; /* sin subrayado */
}

footer a:visited {
  color: #5b2b12; /* mismo color, no cambia al visitar */
}

footer a:hover {
  color: #402010; /* opcional: tono más oscuro al pasar el mouse */
}

.mini-img {
  max-width: 300px;   /* ajustá el valor a gusto */
  height: auto;
  margin: 0 auto;     /* centra la imagen dentro de la columna */
  display: block;
  transition: transform 0.3s ease;
}
.mini-img:hover {
  transform: scale(1.1);
}
/* En pantallas chicas (teléfono) */
@media (max-width: 576px) {
  .mini-img {
    transition: transform 0.4s ease;
  }
  .mini-img:active {
    transform: scale(1.4); /* más notorio al tocar */
  }
}
/* Efecto de zoom */
.zoom-img {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.zoom-img:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Tamaño más grande en pantallas grandes */
@media (min-width: 992px) {
  #productoA img {
    max-width: 120%;
  }
}
.banda-superior {
  background-color: #5b2b12; /* marrón */
  padding: 25px 20px; /* altura */
}
/* Galería */
.product-gallery {
  max-width: 500px; /* Tamaño máximo en PC */
  margin: 0 auto;
}

.main-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1; /* Mantiene la foto cuadrada */
  object-fit: cover;
  border-radius: 8px;
}

.color-title {
  text-align: center;
  font-weight: bold;
  margin: 10px 0;
}

/* Grilla de Miniaturas */
.thumbnail-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* 5 columnas por fila */
  gap: 8px;
}

.thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  opacity: 0.6;
  border: 2px solid transparent;
  transition: all 0.2s ease;
}

.thumb:hover, .thumb.active {
  opacity: 1;
  border-color: #333; /* Resalta la miniatura seleccionada */
}