/* MURALIA – index-mejoras.css
   Se carga DESPUÉS de style.css. No hace falta tocar style.css. */

:focus-visible { outline: 3px solid #3498db; outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
button.icon-cart { background: none; border: 0; }
html { scroll-behavior: smooth; }

/* ── HERO: más corto, con acción ── */
.hero-parallax { height: clamp(470px, 76vh, 760px); }
.slide::before { background: linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.5)); }
.title { font-size: clamp(2rem, 5.2vw, 4.3rem); line-height: 1.1; }
.text { font-size: clamp(1.05rem, 2.4vw, 2rem); }
.caption { display: flex; flex-direction: column; align-items: center; }
.hero-cta {
  display: inline-block; margin-top: 28px; padding: 14px 32px; border-radius: 30px;
  background: #e74c3c; color: #fff; font-weight: 900; letter-spacing: .5px;
  text-decoration: none; text-shadow: none; box-shadow: 0 6px 18px rgba(0,0,0,.35);
  transition: background .2s;}
.hero-cta:hover { background: #c0392b; }

.dot { border: 0; padding: 0; position: relative; }
.dot::after { content: ""; position: absolute; inset: -9px; } /* Agranda el área de clic para móvil */

@media (max-width: 768px) { 
    .hero-parallax { height: clamp(430px, 66vh, 580px); } 
    .hero-cta { margin-top: 20px; padding: 12px 26px; } 
}
/* ── Los 3 formatos ── */
.formatos-intro {
  max-width: 1200px; margin: 32px auto 0; padding: 0 20px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.formato-card {
  display: flex; gap: 14px; align-items: center; background: #fff; border-radius: 12px;
  padding: 16px; box-shadow: 0 4px 12px rgba(0,0,0,.08); border-left: 5px solid var(--c);
}
.formato-card img { width: 40px; height: 40px; flex: 0 0 40px; }
.formato-card h3 { font-size: 1.05em; margin-bottom: 2px; color: #2c3e50; }
.formato-card p { font-size: .9em; color: #555; line-height: 1.35; }
.formato-card strong { display: block; margin-top: 4px; color: var(--ct); }
.fc-lamina { --c: #00bcd4; --ct: #00798a; }
.fc-cuadro { --c: #e74c3c; --ct: #c0392b; }
.fc-afiche { --c: #9b59b6; --ct: #7d3c98; }
@media (max-width: 768px) {
  .formatos-intro { gap: 8px; padding: 0 12px; margin-top: 16px; }
  .formato-card { flex-direction: column; text-align: center; padding: 12px 6px; gap: 6px; border-left: 0; border-top: 4px solid var(--c); }
  .formato-card p { display: none; }
}

/* ── Catálogo: buscador + categorías ── */
.catalogo-barra { display: flex; flex-direction: column; gap: 12px; margin: 18px 0 6px; scroll-margin-top: 100px; }
.buscador input {
  width: 100%; padding: 13px 20px; border: 1px solid #ddd; border-radius: 30px;
  font: inherit; font-size: 16px; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
@media (min-width: 1025px) { .chips { flex-wrap: wrap; overflow: visible; justify-content: center; } }
.cat-chip {
  flex: 0 0 auto; border: 1px solid #d5d9dd; background: #fff; color: #333; border-radius: 20px;
  padding: 8px 14px; font: inherit; font-size: .9em; cursor: pointer; white-space: nowrap;
}
.cat-chip small { opacity: .6; margin-left: 5px; }
.cat-chip:hover { background: #eef1f3; }
.cat-chip[aria-pressed="true"] { background: #2c3e50; border-color: #2c3e50; color: #fff; }
.catalogo-resumen { text-align: center; color: #666; margin: 6px 0 18px; font-size: .95em; min-height: 1.3em; }
.catalogo-mas { text-align: center; margin-top: 28px; }
#btn-mas {
  padding: 14px 34px; border: 2px solid #2c3e50; border-radius: 30px; background: #fff;
  color: #2c3e50; font: inherit; font-weight: 700; cursor: pointer; transition: background .2s, color .2s;
}
#btn-mas:hover { background: #2c3e50; color: #fff; }
.catalogo-vacio { text-align: center; padding: 40px 16px; color: #555; }
.catalogo-vacio p { margin-bottom: 16px; font-size: 1.05em; }
.btn-secundario {
  display: inline-block; margin: 4px; padding: 12px 24px; border: 2px solid #2c3e50; border-radius: 30px;
  background: #fff; color: #2c3e50; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
}
.btn-secundario:hover { background: #2c3e50; color: #fff; }

/* ── Tarjetas ── */
.listProduct .item img.imagen-principal { cursor: pointer; }
.item .img-wrap { position: relative; }
.item .item-link { display: block; }
.item .btn-zoom {
  position: absolute; right: 8px; bottom: 8px; width: 38px; height: 38px; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.92); box-shadow: 0 2px 8px rgba(0,0,0,.25); font-size: 18px; cursor: zoom-in;
}
.item .miniaturas { gap: 4px; padding: 6px; }
.item .miniaturas img { flex: 1 1 0; min-width: 0; width: auto; height: auto; aspect-ratio: 1 / 1; }
.item-titulo { font-weight: 600; font-size: 1.15em; margin: 10px 0 8px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.item-titulo a { color: rgba(0,0,0,.75); text-decoration: none; }
.item-titulo a:hover { text-decoration: underline; }
.precios-doble .btn-precio { padding: 8px 4px; }
.btn-precio .precio { font-size: clamp(15px, 1.5vw, 20px); }
.btn-precio .precio small { display: block; font-size: .55em; font-weight: 700; line-height: 1; margin-bottom: 1px; }
/* colores = los mismos que en la ficha del producto */
.lamina-btn { background: linear-gradient(135deg, #17c3d9, #0097a7); }
.cuadro-btn { background: linear-gradient(135deg, #ef5a48, #c0392b); }
.afiche-btn { background: linear-gradient(135deg, #b07cc6, #8e44ad); color: #fff; }
.lamina-btn:hover { background: linear-gradient(135deg, #0097a7, #00788a); box-shadow: 0 4px 8px rgba(0,151,167,.35); }
.cuadro-btn:hover { background: linear-gradient(135deg, #c0392b, #a93226); box-shadow: 0 4px 8px rgba(231,76,60,.35); }
.afiche-btn:hover { background: linear-gradient(135deg, #8e44ad, #76388f); box-shadow: 0 4px 8px rgba(155,89,182,.35); }

/* ── Banner con acción ── */
.banner-cta {
  display: inline-block; margin-top: 22px; padding: 14px 30px; border-radius: 30px; background: #e74c3c;
  color: #fff; font-weight: 900; text-decoration: none; text-shadow: none; box-shadow: 0 6px 18px rgba(0,0,0,.35);
}
.banner-cta:hover { background: #c0392b; }

/* ── Footer ── */
.footer-col p { margin-bottom: 10px; }
.footer-redes { display: flex; gap: 10px; margin-top: 14px; }
.footer-redes img { width: 36px; height: 36px; display: block; }

/* ── Menos movimiento si la persona lo pide ── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .title, .text, .titulo-principal, .banner-title, .banner-text { animation: none; opacity: 1; transform: none; }
  .listProduct .item { animation: none; opacity: 1; transform: none; }
  .slide, .slide.exit { transform: none; transition: opacity .8s ease; }  /* fundido en vez de deslizar */
}

/* ══════════ Ajustes v2 ══════════ */

/* Fondo un poco más gris (los cuadros blancos ganan contraste). Para ajustarlo, cambiá este valor. */
body { background: #eceff1; }

/* Título del catálogo: más grande y con más presencia */
.titulo-principal { font-size: clamp(48px, 6.4vw, 104px); font-weight: 600; color: #2c3e50; line-height: 1.05; margin-bottom: 14px; }

/* Formatos: el precio va al lado del nombre */
.formato-card h3 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
.fc-precio { font-size: .88em; font-weight: 400; color: #555; }
.formato-card .fc-precio strong { display: inline; margin-top: 0; font-size: 1.1em; font-weight: 900; color: var(--ct); }
@media (max-width: 768px) {
  .formato-card h3 { flex-direction: column; align-items: center; gap: 2px; }
  .fc-llevas { display: none; }
}

/* Botones de precio de las tarjetas: más chicos */
.precios-doble { gap: 5px; margin-top: 8px; }
.precios-doble .btn-precio { padding: 5px 3px; border-radius: 6px; }
.btn-precio .tipo { font-size: 9px; margin-bottom: 1px; letter-spacing: .3px; }
.btn-precio .precio { font-size: clamp(14px, 1.25vw, 17px); }
.btn-precio .precio small { font-size: .5em; }

/* ── Visor de imágenes: columna única del ancho de la imagen ── */
#modal-imagenes { --wm: min(92vw, 62vh); }
@media (max-width: 768px) { #modal-imagenes { --wm: min(94vw, 52vh); } }
#modal-imagenes .main-carousel,
#modal-imagenes .thumb-carousel { width: var(--wm); max-width: var(--wm); flex: none; }
#modal-imagenes .main-carousel { height: var(--wm); max-height: none; margin-bottom: 12px; }
#modal-imagenes .main-carousel .swiper-slide img { width: 100%; height: 100%; max-width: 100%; max-height: 100%; object-fit: contain; }
#modal-imagenes .thumb-carousel { max-height: none; margin-bottom: 6px; }
#modal-imagenes .thumb-carousel .swiper-slide { width: 76px; height: 76px; }
#modal-imagenes .thumb-carousel img { width: 100%; height: 100%; }
#modal-imagenes .thumb-carousel .swiper-slide-thumb-active img { transform: none; }

/* Flechas azules con su propio símbolo (no dependen de la fuente de íconos de Swiper) */
#modal-imagenes .main-carousel .swiper-button-prev,
#modal-imagenes .main-carousel .swiper-button-next {
  width: 44px; height: 44px; margin-top: -22px; border-radius: 50%;
  background: #3498db; color: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.5);
}
#modal-imagenes .main-carousel .swiper-button-prev:hover,
#modal-imagenes .main-carousel .swiper-button-next:hover { background: #2980b9; transform: none; }
#modal-imagenes .main-carousel .swiper-button-prev { left: 10px; }
#modal-imagenes .main-carousel .swiper-button-next { right: 10px; }
#modal-imagenes .main-carousel .swiper-button-prev::after,
#modal-imagenes .main-carousel .swiper-button-next::after {
  font-family: Arial, Helvetica, sans-serif; font-size: 32px; font-weight: 700; line-height: 1; padding-bottom: 4px;
}
#modal-imagenes .main-carousel .swiper-button-prev::after { content: '‹'; }
#modal-imagenes .main-carousel .swiper-button-next::after { content: '›'; }

/* En celular el header muestra Instagram y WhatsApp a la izquierda del carrito */
@media (max-width: 568px) {
  .header-redes { display: flex; gap: 8px; margin-right: 10px; }
  .header-redes .redes-link img { width: 32px; height: 32px; }
  .header-separador { display: none; }
}

/* ── Aclaración de precios ── */
.nota-precios { color: #929496; text-align: center; line-height: 1.35; }
.nota-precios strong { color: #929496; }
/* ── .nota-index { font-size: clamp(.85rem, 1.4vw, 1rem); margin: 0 0 6px; padding: 0; }── */
.nota-index { font-size: clamp(.72rem, 1.1vw, .82rem); letter-spacing: .3px; margin: 0 0 6px; padding: 0; }
