/* ============================
   Fuentes
   ============================ */
@font-face {
  font-family: "Chewy";
  src: url("../fuentes/Chewy-Regular.ttf");
}
@font-face {
  font-family: "titan_one";
  src: url("../fuentes/TitanOne-Regular.ttf");
}

/* ============================
   Reset básico
   ============================ */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

/* Evita que al navegar a #secciones el header tape el contenido */
html {
  scroll-padding-top: 110px;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: #fffdf8;
  color: #333333;
}

/* ============================
   Tipografía global
   ============================ */
h1,
h2,
h3 {
  font-family: "titan_one", "Chewy", system-ui, sans-serif;
  letter-spacing: 0.03em;
}

p,
li {
  font-size: 0.98rem;
}

/* ============================
   HEADER – versión estable
   ============================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 9999;

  background: linear-gradient(
    90deg,
    #ffffff 0px,
    #ffffff 110px,
    #eef7fd 140px,
    #87c9ea 45%,
    #59a8d9 65%,
    #30618c 100%
  );

  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0.4rem 1rem;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.caja_logo {
  background: #ffffff;
  padding: 0.35rem 0.85rem;
  border-radius: 0 22px 22px 0;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
}

.logo {
  max-height: 72px;
  display: block;
}

/* Navbar */
.navbar {
  padding: 0;
  background: transparent !important;
}

.navbar-nav {
  align-items: center;
  gap: 0.5rem;
}

/* RRSS */
.rrss-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.rrss-header img {
  width: 30px;
  height: auto;
}

/* Mobile ajustes */
@media (max-width: 991px) {
  .header-inner {
    flex-wrap: wrap;
  }

  .navbar-collapse {
    background: transparent;
    padding-top: 0.5rem;
  }

  .navbar-nav {
    align-items: flex-start;
  }

  .rrss-header {
    margin-top: 0.5rem;
  }
}

/* ============================
   Redes sociales header
   ============================ */
.rrss-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.rrss-header img {
  height: 30px;
  width: auto;
}

/* ============================
   WhatsApp flotante + tooltip (unificado)
   ============================ */
.whatsapp {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 9999;

  width: 78px;
  height: 78px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 999px;
  text-decoration: none;
}

.whatsapp img {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: block;
}

.whatsapp:hover img {
  transform: scale(1.08);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.whatsapp .whatsapp-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  bottom: 50%;
  transform: translateY(50%) translateX(6px);

  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  padding: 10px 12px;
  border-radius: 12px;

  font-size: 14px;
  line-height: 1.15;
  white-space: nowrap;

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.whatsapp .whatsapp-tooltip::after {
  content: "";
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: transparent transparent transparent rgba(0, 0, 0, 0.85);
}

.whatsapp:hover .whatsapp-tooltip,
.whatsapp:focus-visible .whatsapp-tooltip {
  opacity: 1;
  transform: translateY(50%) translateX(0);
}

@media (max-width: 576px) {
  .whatsapp {
    width: 72px;
    height: 72px;
    bottom: 18px;
    right: 18px;
  }

  .whatsapp img {
    width: 72px;
    height: 72px;
  }

  .whatsapp .whatsapp-tooltip {
    right: 0;
    bottom: calc(100% + 10px);
    transform: translateY(6px);
  }

  .whatsapp .whatsapp-tooltip::after {
    right: 18px;
    top: auto;
    bottom: -12px;
    transform: none;
    border-color: rgba(0, 0, 0, 0.85) transparent transparent transparent;
    border-width: 6px;
  }

  .whatsapp:hover .whatsapp-tooltip,
  .whatsapp:focus-visible .whatsapp-tooltip {
    transform: translateY(0);
  }
}

/* ============================
   Portada (home)
   ============================ */
.portada {
  background: linear-gradient(135deg, #30618c 0%, #59a8d9 45%, #f2b279 100%);
  color: #ffffff;
  padding: 3rem 1rem 2rem;
}

.texto_portada h1 {
  font-size: clamp(2.1rem, 3vw, 2.7rem);
  margin-bottom: 0.8rem;
}

.texto_portada p {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.texto_portada ul {
  margin-top: 0.5rem;
  padding-left: 1.2rem;
}

.texto_portada li {
  margin-bottom: 0.25rem;
}

.custom-carousel-img {
  border-radius: 16px;
  max-height: 360px;
  object-fit: cover;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

.lineas_portada {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  column-gap: 3px;
  margin-top: 2rem;
  height: 4px;
}

.lineas_portada .linea1 { background-color: #f2b279; }
.lineas_portada .linea2 { background-color: #ffc667; }
.lineas_portada .linea3 { background-color: #ffe7a3; }
.lineas_portada .linea4 { background-color: #59a8d9; }
.lineas_portada .linea5 { background-color: #30618c; }

/* ============================
   Sección categorías (home)
   ============================ */
.seccion_categorias {
  padding: 3rem 1rem;
}

.seccion_categorias h2 {
  margin-bottom: 0.5rem;
}

.seccion_categorias p {
  margin-bottom: 1.5rem;
}

.galeria_categorias {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2rem;
}

.galeria_categorias > div {
  flex: 0 1 160px;
}

.galeria_index {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 0.6rem 0.6rem 0.9rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16);
  text-align: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.galeria_index img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 0.4rem;
}

.galeria_index h3 {
  font-size: 1.05rem;
  color: #30618c;
}

.galeria_index:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

/* ============================
   Sección destacados (home)
   ============================ */
.seccion_destacados {
  padding: 3rem 1rem;
  background-color: #f7fbff;
}

.seccion_destacados h2 {
  margin-bottom: 0.5rem;
}

/* ============================
   Sección confianza (home)
   ============================ */
.seccion_confianza {
  padding: 0 1rem 3rem;
}

.seccion_confianza h2 {
  margin-bottom: 0.7rem;
}

.seccion_confianza ul {
  padding-left: 1.2rem;
}

.seccion_confianza li {
  margin-bottom: 0.25rem;
}

.seccion_confianza img {
  display: block;
  max-width: 340px;
  width: 100%;
  margin: 1rem auto 0;
  border-radius: 16px;
  object-fit: cover;
}

/* ============================
   Sección marcas (home)
   ============================ */
.marcas {
  padding: 3rem 1rem 3.5rem;
  background-color: #fff7ef;
}

.contenedor_marcas {
  width: min(1100px, 100%);
  margin: 0 auto;
  text-align: center;
}

.contenedor_marcas h2 {
  margin-bottom: 0.6rem;
}

.marcas__texto {
  max-width: 720px;
  margin: 0 auto 2rem;
  font-size: 0.95rem;
}

.marcas__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.marca {
  background-color: #ffffff;
  border-radius: 999px;
  padding: 0.6rem 1.3rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.marca img {
  display: block;
  max-width: 130px;
  max-height: 55px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* ============================
   Banners de categoría (legacy)
   ============================ */
.img_accesorios,
.img_higiene,
.img_juguetes,
.img_snacks,
.img_trabajo_cognitivo {
  height: 30vh;
  min-height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-align: center;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.img_accesorios { background-image: url("../img/Portada accesorios.jpg"); }
.img_higiene { background-image: url("../img/Portada higiene.jpg"); }
.img_juguetes { background-image: url("../img/Portada juguetes.jpg"); }
.img_snacks { background-image: url("../img/Portada snacks.jpg"); }
.img_trabajo_cognitivo { background-image: url("../img/Portada trabajo cognitivo.jpg"); }

.img_accesorios h1,
.img_higiene h1,
.img_juguetes h1,
.img_snacks h1,
.img_trabajo_cognitivo h1 {
  font-size: clamp(2rem, 3vw, 2.6rem);
}

.lineas {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  column-gap: 3px;
  margin: 0 auto 2rem;
  width: min(80%, 900px);
  height: 4px;
}

.lineas .linea1 { background-color: #f2b279; }
.lineas .linea2 { background-color: #ffc667; }
.lineas .linea3 { background-color: #ffe7a3; }
.lineas .linea4 { background-color: #59a8d9; }
.lineas .linea5 { background-color: #30618c; }

/* =========================================================
   Banner categoría - tamaño controlado (2026 v1)
   ========================================================= */
.banner_categoria {
  width: 100%;
  background: none;
  padding: 0;
  margin: 0 auto;
}

/* Imagen completa pero con altura controlada */
.banner_categoria__img {
  width: 100%;
  height: auto;
  display: block;

  /* Control de tamaño */
  max-height: 360px;         /* ajusta aquí: 300-420 según prefieras */
  object-fit: contain;       /* no recorta */
  object-position: center;

  /* Opcional: evita que se vea pegado arriba/abajo */
  margin: 0 auto;
}

/* Responsive: reducir altura en pantallas pequeñas */
@media (max-width: 768px) {
  .banner_categoria__img {
    max-height: 260px;
  }
}

@media (max-width: 480px) {
  .banner_categoria__img {
    max-height: 210px;
  }
}


/* =========================================================
   NUEVO 2026 v1: Intro categoría (texto + filtros compactos)
   - El contenedor data-role="subcategorias" va dentro de .intro-categoria__filtros
   ========================================================= */
.intro-categoria {
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 1.2rem 1rem 0.25rem;

  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.25rem;
  align-items: center;
}

.intro-categoria__texto p {
  margin: 0;
  max-width: 760px;
  line-height: 1.55;
  color: #333;
}

.intro-categoria__filtros {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* Cuando la barra de subcategorías está dentro del layout nuevo, quitamos padding extra */
.intro-categoria__filtros .barra-subcategorias {
  padding: 0.25rem 0 0;
}

.intro-categoria__filtros .lista-subcategorias {
  justify-content: flex-end;
}

/* Responsive */
@media (max-width: 992px) {
  .intro-categoria {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .intro-categoria__filtros {
    justify-content: flex-start;
  }

  .intro-categoria__filtros .lista-subcategorias {
    justify-content: flex-start;
  }
}

/* ============================
   Catálogo: filtros + subcategorías
   ============================ */
.barra-subcategorias {
  padding: 1.5rem 0 0.5rem;
}

.lista-subcategorias {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.lista-subcategorias li { margin: 0; }

.boton-subcat {
  border-radius: 999px;
  border: 1px solid #30618c;
  background-color: #ffffff;
  color: #30618c;
  font-size: 0.9rem;
  padding: 0.35rem 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.boton-subcat--activo,
.boton-subcat:hover {
  background-color: #30618c;
  color: #ffffff;
}

.filtros-catalogo {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.filtros-catalogo__campo {
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.filtros-catalogo__label {
  font-weight: 600;
  color: #30618c;
  font-size: 0.9rem;
}

.filtros-catalogo__input {
  border-radius: 8px;
  border: 1px solid #ced4da;
  padding: 0.4rem 0.65rem;
  font-size: 0.95rem;
}

/* ============================
   Galería de productos
   ============================ */
.mensaje-vacio {
  text-align: center;
  font-size: 0.95rem;
  color: #555555;
  padding: 2rem 1rem;
}

.galeria_productos {
  width: min(1200px, 100%);
  margin: 1.5rem auto 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  justify-content: center;
}

.fotos_productos {
  margin: 0;
  background-color: #ffffff;
  border-radius: 12px;
  padding: 0.5rem 0.5rem 1rem;
  box-shadow: 0 0 5px #acabab;
  justify-self: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.fotos_productos img {
  width: 200px;
  height: 200px;
  margin: 0.5rem auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
}

.fotos_productos:hover {
  transform: translateY(-3px);
  filter: saturate(1.1);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.16);
}

.pie_foto_productos {
  padding-top: 0.25rem;
}

.pie_foto_productos .nombre_producto {
  font-size: 1rem;
  color: #30618c;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.pie_foto_productos .precio_producto {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.pie_foto_productos .precio_producto span {
  color: #30618c;
}

.botones_producto {
  margin-top: 0.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.btn-consulta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: none;
  font-size: 0.9rem;
  background: linear-gradient(135deg, #59a8d9, #30618c);
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.btn-consulta:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.18);
}

.btn-detalles {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid #30618c;
  font-size: 0.9rem;
  background-color: #ffffff;
  color: #30618c;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.btn-detalles:hover {
  background-color: #30618c;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.18);
}

.galeria_productos--destacados .fotos_productos {
  max-width: 260px;
}

/* ============================
   Modal de producto
   ============================ */
.modal-producto .modal-title {
  font-family: "titan_one", "Chewy", system-ui, sans-serif;
  font-size: 1.25rem;
}

.modal-producto__img {
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
}

.modal-producto__bloque + .modal-producto__bloque {
  margin-top: 0.75rem;
}

.modal-producto__bloque h6 {
  font-weight: 700;
  color: #30618c;
  margin-bottom: 0.25rem;
}

.modal-producto__bloque p {
  margin-bottom: 0.2rem;
}

.modal-producto__bloque ul {
  padding-left: 1.1rem;
  margin-bottom: 0;
}

.modal-producto__precio {
  font-weight: 700;
  color: #30618c;
  font-size: 1rem;
}

.modal-producto__tabla {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.25rem;
  font-size: 0.9rem;
}

.modal-producto__tabla th,
.modal-producto__tabla td {
  border-bottom: 1px solid #eee;
  padding: 0.25rem 0.4rem;
}

.modal-producto__tabla th {
  font-weight: 600;
  color: #30618c;
}

/* ============================
   Contacto (legacy)
   ============================ */
.caja_completa_contacto {
  padding: 2rem 1rem 3rem;
}

.img_contacto {
  height: 30vh;
  min-height: 210px;
  background-image: url("../img/contacto.jpg");
  background-position: center;
  background-size: cover;
  border-radius: 16px;
  margin-bottom: 1rem;
}

.form_contacto h2 {
  margin-bottom: 0.75rem;
  color: #30618c;
}

.form_contacto p {
  margin-bottom: 0.75rem;
}

/* ============================
   Contacto v2 (panel + formulario) ✅ (restaurado)
   ============================ */
.contacto-v2 {
  position: relative;
  padding: 2.4rem 0 3rem;
  background: #fffdf8;
  overflow: hidden;
}

.contacto-v2::before,
.contacto-v2::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(30px);
  opacity: 0.28;
  pointer-events: none;
}

.contacto-v2::before {
  left: -240px;
  top: -200px;
  background: radial-gradient(circle at 30% 30%, #59a8d9, transparent 60%);
}

.contacto-v2::after {
  right: -240px;
  bottom: -240px;
  background: radial-gradient(circle at 40% 40%, #f2b279, transparent 60%);
}

.contacto-v2 .titulo_principal {
  font-family: "titan_one", "Chewy", system-ui, sans-serif;
  color: #2b2b2b;
  font-size: clamp(2.1rem, 3.4vw, 3rem);
  margin: 0;
}

.contacto-v2 .subtitulo_principal {
  color: #4b4b4b;
  margin: 0;
  font-size: 1rem;
}

.contacto-v2 .contacto-card {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 18px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.10);
  border: 1px solid rgba(48, 97, 140, 0.12);
}

.contacto-v2 .contacto-card__body {
  padding: 1.25rem 1.25rem;
}

.contacto-v2 .contacto-title {
  font-family: "titan_one", "Chewy", system-ui, sans-serif;
  color: #30618c;
  font-size: 1.6rem;
  margin-bottom: 0.4rem;
}

.contacto-v2 .contacto-sub {
  color: #4a4a4a;
  margin-bottom: 0.8rem;
}

.contacto-v2 .contacto-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(48, 97, 140, 0.18);
  background: rgba(89, 168, 217, 0.10);
  color: #30618c;
  font-weight: 700;
  font-size: 0.9rem;
}

.contacto-v2 .btn-wsp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #2fbf71, #1f9e5b);
  color: #ffffff;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.contacto-v2 .btn-wsp:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.18);
  color: #ffffff;
}

.contacto-v2 .btn-sec {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(48, 97, 140, 0.25);
  background: #ffffff;
  color: #30618c;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.contacto-v2 .btn-sec:hover {
  background: rgba(89, 168, 217, 0.10);
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.10);
  color: #30618c;
}

.contacto-v2 .form-label {
  font-weight: 800;
  color: #30618c;
}

.contacto-v2 .form-control,
.contacto-v2 .form-select {
  border-radius: 12px;
  border: 1px solid rgba(48, 97, 140, 0.20);
  padding: 0.6rem 0.75rem;
}

.contacto-v2 .form-control:focus,
.contacto-v2 .form-select:focus {
  border-color: rgba(89, 168, 217, 0.8);
  box-shadow: 0 0 0 0.2rem rgba(89, 168, 217, 0.18);
}

.contacto-v2 .ayuda-mini {
  font-size: 0.92rem;
  color: #5a5a5a;
}

.contacto-v2 .rrss-big {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}

.contacto-v2 .rrss-big img {
  width: 44px !important;
  height: 44px !important;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.12));
  transition: transform 0.15s ease;
}

.contacto-v2 .rrss-big a:hover img {
  transform: translateY(-2px);
}

/* ============================
   Footer
   ============================ */
.footer {
  background-color: #30618c;
  color: #ffffff;
  padding: 1rem 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.texto_footer {
  font-size: 0.85rem;
  text-align: center;
}

/* rrss antigua (por si se usa en páginas viejas) */
.rrss {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.rrss img {
  height: 35px;
  width: auto;
}

/* ============================
   Responsive general
   ============================ */
@media (max-width: 768px) {
  .portada { padding-top: 2.4rem; }
  .rrss-header { margin-top: 0.75rem; justify-content: center; }
  .seccion_confianza img { max-width: 260px; }
}

/* =========================================================
   FIX Responsive: cuando colapsa el navbar, que no quede pegado a la izquierda
   ========================================================= */
@media (max-width: 991.98px) {
  /* Devuelve un padding cómodo SOLO en mobile/tablet */
  header .navbar > .container-fluid {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  /* El panel del logo no debe “comerse” espacio en mobile */
  .caja_logo {
    margin-right: 0 !important;
    border-top-right-radius: 18px;
    border-bottom-right-radius: 18px;
  }

  /* El dropdown y el menú colapsado alineados al contenido */
  #navbarSupportedContent {
    padding: 10px 0;
  }

  /* RRSS no pegadas al borde */
  .rrss-header {
    margin-top: 10px;
    padding-bottom: 6px;
  }
}

/* =========================================================
   Dropdown + estados activos (fix color / seleccionado)
   PONER AL FINAL DEL CSS
   ========================================================= */

/* Dropdown panel */
.site-header .dropdown-menu {
  background-color: #30618c !important;
  border: none !important;
  border-radius: 12px !important;
  padding: 0.4rem !important;
  box-shadow: 0 14px 28px rgba(0,0,0,0.22) !important;
}

/* Items del dropdown */
.site-header .dropdown-item {
  color: #ffffff !important;
  border-radius: 10px;
  padding: 0.55rem 0.75rem;
}

/* Hover / focus */
.site-header .dropdown-item:hover,
.site-header .dropdown-item:focus-visible {
  background-color: rgba(89,168,217,0.35) !important;
  color: #ffffff !important;
}

/* Activo (página actual) */
.site-header .dropdown-item.active,
.site-header .dropdown-item:active {
  background-color: #59a8d9 !important;
  color: #ffffff !important;
  font-weight: 800;
}

/* Nav links: hover / focus */
.site-header .nav-link {
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
}

.site-header .nav-link:hover,
.site-header .nav-link:focus-visible {
  background-color: rgba(242,178,121,0.18);
  color: #ffffff !important;
}

/* Nav link activo (Inicio/Contacto) */
.site-header .nav-link.active,
.site-header .nav-link[aria-current="page"] {
  background-color: rgba(242,178,121,0.28);
  color: #ffffff !important;
  font-weight: 800;
}

/* Cuando el dropdown está abierto, que "Productos" se marque */
.site-header .nav-item.dropdown .nav-link.show {
  background-color: rgba(242,178,121,0.28);
  color: #ffffff !important;
  font-weight: 800;
}

/* Separadores dentro del dropdown */
.site-header .dropdown-divider {
  border-color: rgba(255,255,255,0.22) !important;
}

/* ============================
   2026 v1 - Watermark logo en productos (no invasivo)
   ============================ */
.producto-img-wrap {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
}

/* Sello de agua sobre la foto del producto */
.producto-img-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../img/logo.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 62%;
  opacity: 0.08;           /* no invasivo */
  pointer-events: none;
}

/* Modal: wrapper para aplicar watermark sin tocar el <img> */
.modal-producto__img-wrap {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

.modal-producto__img-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../img/logo.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 80%;
  opacity: 0.06;           /* aún más sutil en modal */
  pointer-events: none;
}

/* Mantiene estética del modal */
.modal-producto__img {
  border-radius: 12px;
}

/* =========================================================
   Catálogo – Intro compacta bajo banner (2026 v1)
   ========================================================= */

.catalogo-intro {
  max-width: 1100px;
  margin: 1.2rem auto 1.4rem;
  padding: 0 1rem;
  text-align: center;
}

/* Texto descriptivo */
.catalogo-intro__texto {
  font-size: 0.95rem;
  color: #444;
  max-width: 820px;
  margin: 0 auto 0.9rem;
  line-height: 1.4;
}

/* Subcategorías (chips centrados) */
.catalogo-intro__subcategorias {
  display: flex;
  justify-content: center;
  margin-bottom: 0.9rem;
}

.catalogo-intro__subcategorias .lista-subcategorias {
  justify-content: center;
}

/* Buscador */
.catalogo-intro__buscador {
  max-width: 520px;
  margin: 0 auto;
}

/* Input del buscador más protagonista */
.catalogo-intro__buscador input {
  border-radius: 999px;
  padding: 0.55rem 1rem;
  font-size: 0.95rem;
}

/* Mobile ajustes */
@media (max-width: 768px) {
  .catalogo-intro {
    margin-top: 0.8rem;
  }

  .catalogo-intro__texto {
    font-size: 0.9rem;
  }
}
