/* W3: sólo la nueva galería de sets; se conservan los estilos originales. */
.sets-notice {
  margin: 0 0 2rem;
  padding: 1.1rem 1.25rem;
  color: var(--paper);
  background: var(--pine);
  font: 500 1.1rem/1.5 var(--body);
  text-align: center;
}
.sets-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; }
.set-card { min-width: 0; background: var(--linen); border: 1px solid var(--line); }
.set-card__principal { margin: 0; background: #e2ddd2; }
.set-card__principal img { width: 100%; height: auto; max-height: 560px; aspect-ratio: 3 / 4; object-fit: contain; }
.set-card__photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 10px; }
.set-card__photos img { width: 100%; height: auto; max-height: 240px; aspect-ratio: 3 / 4; object-fit: contain; background: #e2ddd2; }
.set-card__copy { padding: 1.25rem 1.5rem 1.5rem; border-top: 1px solid var(--line); }
.set-card__copy h3 { margin: 0; color: var(--pine); font: 600 2.5rem/1 var(--display); letter-spacing: -.025em; }
.set-card__copy p { margin: .65rem 0 0; color: var(--muted); font: 400 1rem/1.5 var(--body); }
@media (min-width: 768px) { .sets-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* W3.3: hero y carrusel aislados; se conservan colores y tipografía. */
.hero--carousel {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto auto;
}
.hero--carousel .hero__heading { grid-column: 1; grid-row: 1; min-width: 0; padding: 22px 20px 18px; }
.hero--carousel .hero__carousel {
  grid-column: 1;
  grid-row: 2;
  display: block;
  height: auto;
  min-height: 0;
  aspect-ratio: auto;
  padding: 0;
  background: var(--pine);
  align-self: center;
}
.hero-carousel__viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #d8c8b1;
  touch-action: pan-y pinch-zoom;
}
.hero-carousel__slide { position: absolute; inset: 0; opacity: 0; transition: opacity .65s ease-in-out; pointer-events: none; }
.hero-carousel__slide.is-active { z-index: 1; opacity: 1; }
.hero--carousel .hero__visual .hero-carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  box-shadow: none;
  transition: none;
  user-select: none;
  -webkit-user-drag: none;
}
.hero-carousel__label { position: absolute; z-index: 2; top: 12px; left: 12px; padding: 6px 10px; color: var(--pine-deep); background: #fffdf8f2; font: 600 .78rem/1.4 var(--body); pointer-events: none; }
.hero-carousel__controls { display: flex; min-height: 52px; align-items: center; justify-content: center; gap: 12px; padding: 4px 12px; }
.hero-carousel__controls[hidden], .hero-carousel__toggle[hidden] { display: none; }
.hero-carousel__dots { display: flex; }
.hero-carousel__dots button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: var(--paper);
  background: transparent;
  cursor: pointer;
}
.hero-carousel__dots button span { width: 9px; height: 9px; border: 1px solid currentColor; border-radius: 50%; }
.hero-carousel__dots button[aria-current="true"] span { color: var(--gold); background: var(--gold); }
.hero-carousel__toggle { min-width: 88px; min-height: 44px; padding: 6px 10px; border: 1px solid #ffffff70; border-radius: 3px; color: var(--paper); background: transparent; font: 500 .78rem/1.2 var(--body); cursor: pointer; }
.hero-carousel__controls button:focus-visible, .hero-carousel__viewport:focus-visible { outline: 2px solid var(--gold); outline-offset: -3px; box-shadow: none; }
.hero-carousel__status { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hero--carousel .hero__details { grid-column: 1; grid-row: 3; min-width: 0; padding: 0 20px 30px; }
.hero--carousel .hero__price { gap: .35rem .7rem; }
.hero--carousel .hero__price > small { flex-basis: 100%; }
.hero__regular { color: #e7eee8; font: 500 .86rem/1.3 var(--body); text-decoration-thickness: 1px; white-space: nowrap; }
@media (min-width: 768px) and (max-width: 1023px) {
  .hero--carousel .hero__heading { padding: 40px 32px 24px; }
  .hero--carousel .hero__carousel { max-width: 600px; justify-self: center; }
  .hero--carousel .hero__details { padding: 0 32px 45px; }
}
@media (min-width: 1024px) {
  .hero--carousel { grid-template-columns: minmax(0, 48%) minmax(0, 52%); grid-template-rows: auto auto; }
  .hero--carousel .hero__heading { grid-column: 1; grid-row: 1; align-self: end; padding: 64px clamp(32px, 6vw, 100px) 0; }
  .hero--carousel .hero__details { grid-column: 1; grid-row: 2; align-self: start; padding: 0 clamp(32px, 6vw, 100px) 64px; }
  .hero--carousel .hero__carousel { grid-column: 2; grid-row: 1 / span 2; }
}
@media (prefers-reduced-motion: reduce) { .hero-carousel__slide { transition: none; } }

/* W3.4: sólo la nueva tarjeta ilustrativa; las tarjetas y el carrusel previos no cambian. */
.set-card[data-set="verde"] figure { position: relative; margin: 0; }
.set-card[data-set="verde"] .set-card__principal img,
.set-card[data-set="verde"] .set-card__photos img { height: auto; max-height: none; aspect-ratio: 4 / 3; object-fit: contain; }
.set-card[data-set="verde"] .set-card__photos { grid-template-columns: minmax(0, 1fr); }
.set-card__illustration-label { position: absolute; top: 8px; left: 8px; max-width: calc(100% - 16px); padding: 5px 9px; color: var(--pine-deep); background: #fffdf8f2; font: 600 .76rem/1.4 var(--body); }
@media (min-width: 768px) { .set-card[data-set="verde"] { grid-column: 1 / -1; width: calc((100% - 2rem) / 2); justify-self: center; } }

/* W3.6: fotos reales de Verde Bosque, distintivo pet friendly y botón de WhatsApp. */
.set-card[data-set="verde"] .set-card__principal img { max-height: 560px; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 50%; }
.set-card[data-set="verde"] .set-card__photos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.set-card[data-set="verde"] .set-card__photos img { max-height: 240px; aspect-ratio: 3 / 4; }
@media (max-width: 470px), (min-width: 768px) and (max-width: 960px) { .set-card[data-set="verde"] .set-card__photos img:first-child { object-fit: cover; } }
.pet-badge { display: flex; width: fit-content; max-width: 100%; align-items: center; gap: .55rem; margin: .85rem 0 0; padding: .45rem 1.05rem .45rem .8rem; border-radius: 1.3em; color: var(--pine-deep); background: var(--gold); font: 700 .86rem/1.3 var(--body); }
.pet-badge__icono { flex: none; font-size: 1.45em; line-height: 1; filter: brightness(0); }
.wa-float { position: fixed; z-index: 9; right: 14px; bottom: calc(80px + env(safe-area-inset-bottom)); display: inline-flex; width: 54px; height: 54px; align-items: center; justify-content: center; gap: .6rem; border-radius: 999px; color: var(--pine-deep); background: #25d366; box-shadow: 0 6px 20px #10292040; font: 600 .95rem/1 var(--body); text-decoration: none; transition: opacity .25s, transform .25s, visibility .25s; }
.wa-float svg { flex: none; width: 28px; height: 28px; }
.wa-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wa-float.is-hidden { visibility: hidden; opacity: 0; pointer-events: none; }
@media (min-width: 768px) {
  .wa-float { right: 24px; bottom: 24px; width: auto; padding: 0 1.3rem 0 1rem; }
  .wa-float span { position: static; width: auto; height: auto; overflow: visible; clip-path: none; }
  .wa-float:hover { transform: translateY(-2px); }
  .wa-float.is-raised, .wa-float.is-raised:hover { transform: translateY(-110px); }
}
@media (prefers-reduced-motion: reduce) { .wa-float { transition: none; } }

/* W3.7: pastilla pet friendly en La sesión y aviso flotante de preventa.
   El botón del aviso usa .aviso-preventa como prefijo porque .btn vive en el <style> de la página, que carga después. */
.pet-badge--tarjeta { margin: 0 0 1.3rem; padding: .7rem 1.1rem .7rem .85rem; border-radius: 12px; font-size: .92rem; }
/* En dos renglones, el corte cae después de «Pet friendly ·». */
.pet-badge__texto > span { display: inline-block; }
.aviso-preventa {
  position: fixed;
  z-index: 11;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px 6px;
  padding: 10px 8px calc(12px + env(safe-area-inset-bottom)) 16px;
  color: var(--paper);
  background: var(--pine-deep);
  border-top: 2px solid var(--gold);
  box-shadow: 0 -8px 24px #10292033;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity .35s ease, transform .35s ease, visibility .35s;
}
.aviso-preventa[hidden] { display: none; }
.aviso-preventa.is-visible { opacity: 1; visibility: visible; transform: none; }
.aviso-preventa__texto { grid-column: 1; grid-row: 1; margin: 0; font: 600 .9rem/1.35 var(--body); }
.aviso-preventa .aviso-preventa__cta { grid-column: 1 / -1; grid-row: 2; min-height: 48px; margin-right: 8px; font-size: .875rem; letter-spacing: .02em; text-transform: none; }
.aviso-preventa__cerrar { grid-column: 2; grid-row: 1; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; color: var(--paper); background: transparent; font: 400 1.05rem/1 var(--body); cursor: pointer; }
.aviso-preventa__cerrar:hover { background: #ffffff1a; }
.aviso-preventa .aviso-preventa__cta:focus-visible, .aviso-preventa__cerrar:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; box-shadow: none; }
.wa-float { transition: opacity .25s, transform .25s, visibility .25s, bottom .3s; }
body.aviso-eleva-wa .wa-float { bottom: calc(var(--aviso-alto, 0px) + 14px); }
/* Escritorio: tarjeta compacta en la esquina inferior derecha, sobre el lado del carrusel; WhatsApp sube encima. */
@media (min-width: 768px) {
  .aviso-preventa {
    right: 24px;
    bottom: 24px;
    left: auto;
    width: min(420px, calc(100% - 48px));
    gap: 10px 4px;
    padding: 12px 6px 14px 18px;
    border: 1px solid #d5af7366;
    border-radius: 6px;
    box-shadow: 0 12px 34px #10292047;
  }
  .aviso-preventa__texto { font-size: .88rem; }
  .aviso-preventa .aviso-preventa__cta { min-height: 42px; margin-right: 12px; padding: .55rem 1rem; font-size: .75rem; letter-spacing: .09em; text-transform: uppercase; }
  body.aviso-eleva-wa .wa-float { bottom: calc(24px + var(--aviso-alto, 0px) + 12px); }
}
@media (prefers-reduced-motion: reduce) { .aviso-preventa, .wa-float { transition: none; } }
