/* DALTON — estilos del módulo home (owner: HOME).
   Home editorial: hero/carrusel, categorías, rails de producto, campaña, fit, colección destacada, comunidad y
   newsletter. Shop the look vive en lookbook.css (.lookbook-shop, compartido con el lookbook).
   Prefijo de clases: .home-* · Usar SIEMPRE los tokens var(--d-*) de css/dalton.css (ver docs/DESIGN-SYSTEM.md).
   Mobile-first; breakpoints Bootstrap (576 / 768 / 992 / 1200 / 1400). */

/* 1 · Base de secciones ------------------------------------------------------------------------- */
.home-section { position: relative; }
.home-empty { padding-block: var(--d-space-section); }

/* Línea editorial "06 —— STREET EDIT" de los bloques que no usan section-heading */
.home-campaign__meta,
.home-community__meta,
.home-newsletter__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-size: var(--d-fs-label);
  font-weight: 600;
  letter-spacing: var(--d-tracking-label);
  text-transform: uppercase;
}
.home-campaign__rule,
.home-community__rule,
.home-newsletter__rule,
.home-hero__rule {
  display: inline-block;
  flex-shrink: 0;
  width: 32px;
  height: 1px;
  background: var(--home-accent, currentColor);
  opacity: .6;
}

/* Rótulo de foto pendiente sobre bloques oscuros (hero, campaña, categorías) */
.home-hero__pending,
.home-campaign__pending,
.home-cat__pending {
  position: absolute;
  z-index: 2;
  margin: 0;
  padding: 6px 10px;
  border: 1px solid rgba(247, 247, 245, .28);
  color: rgba(247, 247, 245, .72);
  font-size: .625rem;
  font-weight: 600;
  letter-spacing: var(--d-tracking-label);
  text-transform: uppercase;
  pointer-events: none;
}

/* 2 · Hero editorial / carrusel (§21–22) --------------------------------------------------------- */
.home-hero {
  --home-hero-interval: 5s;
  position: relative;
  height: 88vh;
  height: 88svh;
  min-height: 540px;
  max-height: 1200px;
  overflow: hidden;
  background-color: var(--d-black);
  color: var(--d-white-warm);
}
@media (min-width: 768px) {
  .home-hero { height: 94vh; height: 94svh; min-height: 620px; }
}

.home-hero__slides { position: absolute; inset: 0; }
.home-hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.1s var(--d-ease), visibility 0s linear 1.1s;
}
.home-hero__slide.is-active {
  z-index: 1;
  opacity: 1;
  visibility: visible;
  transition: opacity 1.1s var(--d-ease), visibility 0s;
}

.home-hero__media {
  position: absolute;
  inset: -1.5%;
  transform: translate3d(var(--home-pointer-x, 0), var(--home-pointer-y, 0), 0);
  transition: transform .9s var(--d-ease);
}
.home-hero__media picture { display: block; width: 100%; height: 100%; }
.home-hero__img { width: 100%; height: 100%; object-fit: cover; object-position: var(--d-photo-position); }
/* Scrim negro sutil (nunca de color): abajo para el texto, arriba para el header transparente. En mobile el texto
   ocupa la mitad inferior de una foto vertical (prendas claras detrás): el degradé sube y es más firme. */
.home-hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(5, 5, 5, .78) 0%, rgba(5, 5, 5, .42) 38%, rgba(5, 5, 5, 0) 66%),
    linear-gradient(to bottom, rgba(5, 5, 5, .36) 0%, rgba(5, 5, 5, 0) 22%);
  pointer-events: none;
}
@media (min-width: 768px) {
  .home-hero__media::after {
    background:
      linear-gradient(to top, rgba(5, 5, 5, .66) 0%, rgba(5, 5, 5, .2) 42%, rgba(5, 5, 5, 0) 68%),
      linear-gradient(to right, rgba(5, 5, 5, .38) 0%, rgba(5, 5, 5, 0) 48%),
      linear-gradient(to bottom, rgba(5, 5, 5, .32) 0%, rgba(5, 5, 5, 0) 22%);
  }
}
.home-hero__slide--dark { color: var(--d-black); }
.home-hero__slide--dark .home-hero__media::after {
  background: linear-gradient(to top, rgba(247, 247, 245, .55) 0%, rgba(247, 247, 245, 0) 55%);
}
.home-hero__placeholder {
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 72% 18%, var(--d-gray-900) 0%, var(--d-black) 62%);
}
.home-hero__pending { top: calc(var(--d-header-h) + 20px); right: var(--d-gutter); }

.home-hero__content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding-top: calc(var(--d-header-h) + 32px);
  padding-bottom: 112px;
}
.home-hero:not(.home-hero--carousel) .home-hero__content { padding-bottom: clamp(40px, 7vw, 96px); }
.home-hero__slide--center .home-hero__content { align-items: center; justify-content: center; text-align: center; }
.home-hero__slide--center-left .home-hero__content { align-items: center; }
.home-hero__slide--bottom-center .home-hero__content { justify-content: center; text-align: center; }
.home-hero__slide--bottom-right .home-hero__content { justify-content: flex-end; text-align: right; }
.home-hero__slide--top-left .home-hero__content { align-items: flex-start; }

.home-hero__text { max-width: 1040px; }
.home-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  font-size: var(--d-fs-label);
  font-weight: 600;
  letter-spacing: var(--d-tracking-label);
  text-transform: uppercase;
}
.home-hero__rule { opacity: .8; }
.home-hero__title {
  margin: 0;
  font-family: var(--d-font-display);
  font-size: clamp(3.6rem, 15vw, 11.5rem);
  font-weight: 400;
  line-height: .86;
  letter-spacing: -.045em;
  text-wrap: balance;
  overflow-wrap: break-word;
}
.home-hero__title em { font-style: italic; letter-spacing: -.05em; }
/* Título = nombre de la marca: wordmark oficial (PNG/WebP, nunca recompuesto con Bodoni). Ancho según el alto de
   línea del título editorial; el archivo original (715 px) cubre hasta ~600 px sin ampliarse. */
.home-hero__title--logo { line-height: 0; }
.home-hero__title--logo picture { display: block; }
.home-hero__logo { display: block; width: clamp(220px, 58vw, 600px); max-width: 100%; height: auto; }
.home-hero__slide--center .home-hero__logo,
.home-hero__slide--bottom-center .home-hero__logo { margin-inline: auto; }
.home-hero__slide--bottom-right .home-hero__logo { margin-left: auto; }
.home-hero__subtitle {
  max-width: 44ch;
  margin: 18px 0 0;
  font-size: clamp(.9375rem, 1.5vw, 1.1875rem);
  letter-spacing: .06em;
  line-height: 1.5;
}
.home-hero__slide--center .home-hero__subtitle,
.home-hero__slide--bottom-center .home-hero__subtitle { margin-inline: auto; }
.home-hero__slide--bottom-right .home-hero__subtitle { margin-left: auto; }
.home-hero__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.home-hero__slide--center .home-hero__ctas,
.home-hero__slide--bottom-center .home-hero__ctas { justify-content: center; }
.home-hero__slide--bottom-right .home-hero__ctas { justify-content: flex-end; }

/* Texto con animación discreta (se reinicia en cada cambio de diapositiva) y zoom lento de la foto */
@media (prefers-reduced-motion: no-preference) {
  .home-hero__slide.is-active .home-hero__text > * { animation: home-rise .9s var(--d-ease) both; }
  .home-hero__slide.is-active .home-hero__text > :nth-child(2) { animation-delay: .12s; }
  .home-hero__slide.is-active .home-hero__text > :nth-child(3) { animation-delay: .24s; }
  .home-hero__slide.is-active .home-hero__text > :nth-child(4) { animation-delay: .36s; }
  .home-hero__slide.is-active .home-hero__img { animation: home-settle 7s var(--d-ease) both; }
}
@keyframes home-rise {
  from { opacity: 0; transform: translate3d(0, 18px, 0); }
  to { opacity: 1; transform: none; }
}
@keyframes home-settle {
  from { transform: scale(1.06); }
  to { transform: scale(1); }
}

/* Controles del carrusel: contador · dots · pausa / flechas */
.home-hero__controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 24px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 16px;
}
.home-hero__controls[hidden] { display: none; }
.home-hero__counter {
  display: inline-flex;
  gap: 6px;
  margin: 0;
  font-size: .75rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: .12em;
}
.home-hero__counter-sep { opacity: .5; }
.home-hero__dots { display: flex; align-items: center; gap: 2px; }
.home-hero__dot {
  position: relative;
  width: 32px;
  height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.home-hero__dot::before,
.home-hero__dot::after {
  content: '';
  position: absolute;
  left: 4px;
  right: 4px;
  top: 50%;
  height: 1px;
  background: currentColor;
}
.home-hero__dot::before { opacity: .35; }
.home-hero__dot::after { transform: scaleX(0); transform-origin: left; }
.home-hero__dot[aria-current='true']::after { transform: scaleX(1); }
@media (prefers-reduced-motion: no-preference) {
  .home-hero.is-playing .home-hero__dot[aria-current='true']::after { animation: home-progress var(--home-hero-interval) linear both; }
  .home-hero.is-paused .home-hero__dot[aria-current='true']::after { animation-play-state: paused; }
}
@keyframes home-progress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
.home-hero__dot:focus-visible { outline: 2px solid currentColor; outline-offset: -2px; }

.home-hero__arrows { display: flex; gap: 6px; margin-left: auto; }
.home-hero__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(247, 247, 245, .36);
  background: transparent;
  color: inherit;
  cursor: pointer;
  transition: background-color var(--d-dur-fast) ease, color var(--d-dur-fast) ease, border-color var(--d-dur-fast) ease;
}
.home-hero__arrow .d-icon { width: 18px; height: 18px; }
.home-hero__arrow[data-hero-prev],
.home-hero__arrow[data-hero-next] { display: none; }
@media (min-width: 768px) {
  .home-hero__arrow[data-hero-prev],
  .home-hero__arrow[data-hero-next] { display: inline-flex; }
}
@media (hover: hover) {
  .home-hero__arrow:hover { background: var(--d-white-warm); border-color: var(--d-white-warm); color: var(--d-black); }
}
.home-hero__arrow:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.home-hero__icon-play { display: none; }
.home-hero__arrow[aria-pressed='true'] .home-hero__icon-pause { display: none; }
.home-hero__arrow[aria-pressed='true'] .home-hero__icon-play { display: inline-block; }
/* La diapositiva activa con texto oscuro oscurece también los controles */
.home-hero.is-theme-dark .home-hero__controls { color: var(--d-black); }
.home-hero.is-theme-dark .home-hero__arrow { border-color: rgba(5, 5, 5, .36); }

/* 3 · Categorías (§23): grilla editorial asimétrica ---------------------------------------------- */
.home-categories__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.home-cat { min-width: 0; }
.home-cat--m-full { grid-column: 1 / -1; }
.home-cat__link {
  position: relative;
  display: block;
  overflow: hidden;
  background-color: var(--d-black-2);
  color: var(--d-white-warm);
  text-decoration: none;
}
.home-cat__media { position: relative; display: block; aspect-ratio: 4 / 5; }
/* Mobile: la tarjeta a lo ancho es cuadrada (en 4:3 una foto vertical perdía la cabeza) */
.home-cat--m-full .home-cat__media { aspect-ratio: 1 / 1; }
.home-cat__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--d-photo-position); }
.home-cat__link::after {
  content: '';
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(to top, rgba(5, 5, 5, .6), rgba(5, 5, 5, 0));
  pointer-events: none;
}
.home-cat__placeholder {
  position: absolute;
  inset: 0;
  background: radial-gradient(110% 80% at 80% 10%, var(--d-gray-900) 0%, var(--d-black-2) 70%);
}
.home-cat__pending { top: 12px; left: 12px; font-size: .5625rem; padding: 4px 8px; }
.home-cat__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 4px 12px;
  padding: 14px;
}
.home-cat__num { grid-column: 1 / -1; opacity: .8; }
.home-cat__name {
  min-width: 0;
  font-family: var(--d-font-display);
  font-size: clamp(1.125rem, 4.6vw, 2.25rem);
  line-height: .95;
  letter-spacing: -.025em;
  text-transform: uppercase;
}
.home-cat--m-full .home-cat__name { font-size: clamp(2.25rem, 10vw, 3.5rem); }
.home-cat__cta {
  display: none;
  align-items: center;
  gap: 8px;
  padding-bottom: 6px;
  font-size: var(--d-fs-label);
  font-weight: 600;
  letter-spacing: var(--d-tracking-label);
  text-transform: uppercase;
}
.home-cat__cta .d-icon { width: 16px; height: 16px; transition: transform var(--d-dur) var(--d-ease); }
@media (hover: hover) {
  .home-cat__link { transition: box-shadow .45s var(--d-ease), transform .45s var(--d-ease); }
  .home-cat__link:hover { transform: translateY(-4px); box-shadow: 0 22px 50px rgba(5, 5, 5, .16); }
  .home-cat__body { transition: transform .45s var(--d-ease); }
  .home-cat__link:hover .home-cat__body { transform: translateY(-4px); }
  .home-cat__link:hover .home-cat__cta .d-icon { transform: translateX(4px); }
  .home-cat__link:hover .home-cat__name { font-style: italic; }
}
.home-cat__link:focus-visible { outline: 2px solid var(--d-focus-color); outline-offset: 3px; }

/* Entrada editorial: primero aparece la pieza y luego rematan número, título y llamada */
@media (prefers-reduced-motion: no-preference) {
  .js:not(.d-no-reveal) .home-cat[data-reveal='category'] {
    transform: translate3d(0, 34px, 0) scale(.985);
    transition-duration: .82s;
  }
  .js .home-cat[data-reveal='category'].is-revealed { transform: none; }
  .home-cat[data-reveal='category'] .home-cat__img {
    transform: scale(1.075);
    transition: transform 1.15s var(--d-ease);
  }
  .home-cat[data-reveal='category'].is-revealed .home-cat__img { transform: scale(1); }
  .home-cat[data-reveal='category'] .home-cat__num,
  .home-cat[data-reveal='category'] .home-cat__name,
  .home-cat[data-reveal='category'] .home-cat__cta {
    opacity: 0;
    transform: translate3d(0, 12px, 0);
    transition: opacity .55s var(--d-ease), transform .65s var(--d-ease);
  }
  .home-cat[data-reveal='category'].is-revealed .home-cat__num,
  .home-cat[data-reveal='category'].is-revealed .home-cat__name,
  .home-cat[data-reveal='category'].is-revealed .home-cat__cta { opacity: 1; transform: none; }
  .home-cat[data-reveal='category'].is-revealed .home-cat__num { transition-delay: .12s; }
  .home-cat[data-reveal='category'].is-revealed .home-cat__name { transition-delay: .19s; }
  .home-cat[data-reveal='category'].is-revealed .home-cat__cta { transition-delay: .26s; }
}

@media (min-width: 768px) {
  .home-categories__grid { gap: 16px; }
  .home-cat__body { padding: 20px; }
  .home-cat__name { font-size: clamp(1.75rem, 4vw, 2.5rem); }
  .home-cat__cta { display: inline-flex; }
  .home-cat--m-full .home-cat__media { aspect-ratio: 16 / 9; }
}
@media (min-width: 992px) {
  .home-categories__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px 20px; align-items: end; }
  .home-cat,
  .home-cat--m-full { grid-column: auto; }
  .home-cat--s3 { grid-column: span 3; }
  .home-cat--s4 { grid-column: span 4; }
  .home-cat--s5 { grid-column: span 5; }
  .home-cat--s7 { grid-column: span 7; }
  .home-cat--s12 { grid-column: 1 / -1; }
  .home-cat .home-cat__media,
  .home-cat--m-full .home-cat__media { aspect-ratio: 4 / 5; }
  .home-cat--s7 .home-cat__media { aspect-ratio: 5 / 4; }
  .home-cat--s12 .home-cat__media { aspect-ratio: 21 / 8; }
  .home-cat__body { padding: 24px; }
  .home-cat__name,
  .home-cat--m-full .home-cat__name { font-size: clamp(1.75rem, 2.6vw, 2.75rem); }
  .home-cat--s5 .home-cat__name,
  .home-cat--s7 .home-cat__name,
  .home-cat--s12 .home-cat__name { font-size: clamp(2.5rem, 4vw, 4.5rem); }
  .home-cat--s3 .home-cat__cta { display: none; }
}

/* 4 · Rails de producto (NEW DROP / BEST SELLERS): slider con scroll-snap < 1200 px, grilla en desktop --- */
.home-rail { position: relative; }
@media (max-width: 1199.98px) {
  .home-rail__track.d-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 68%;
    gap: 12px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--d-gutter);
    padding-inline: var(--d-gutter);
    padding-bottom: 4px;
    margin-inline: calc(var(--d-gutter) * -1);
    scrollbar-width: none;
  }
  .home-rail__track.d-grid::-webkit-scrollbar { display: none; }
  .home-rail__track.d-grid > * { scroll-snap-align: start; min-width: 0; }
}
@media (min-width: 768px) and (max-width: 1199.98px) {
  .home-rail__track.d-grid { grid-auto-columns: calc((100% - 2 * var(--d-gutter) - 32px) / 2.6); gap: 16px; }
}
@media (prefers-reduced-motion: no-preference) {
  .home-rail__track { scroll-behavior: smooth; }
}
.home-rail__nav { display: flex; justify-content: flex-end; gap: 4px; margin-top: 16px; }
.home-rail__nav[hidden] { display: none; }
.home-rail__btn { border: var(--d-line); }
.home-rail__btn:disabled { opacity: .35; cursor: default; }
@media (max-width: 767.98px), (min-width: 1200px) {
  .home-rail__nav { display: none; }
}

/* 5 · Campaña editorial: negro a sangre con titular enorme -------------------------------------- */
.home-campaign {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 78vh;
  min-height: 78svh;
  overflow: hidden;
  background-color: var(--d-black);
  color: var(--d-white-warm);
}
.home-campaign--center { align-items: center; text-align: center; }
.home-campaign__media { position: absolute; inset: 0; }
.home-campaign__media picture { display: block; width: 100%; height: 100%; }
.home-campaign__img { width: 100%; height: 100%; object-fit: cover; object-position: var(--d-photo-position); }
.home-campaign:not(.home-campaign--placeholder) .home-campaign__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 5, 5, .7) 0%, rgba(5, 5, 5, .2) 50%, rgba(5, 5, 5, .05) 100%);
}
.home-campaign--dark { color: var(--d-black); }
.home-campaign--dark:not(.home-campaign--placeholder) .home-campaign__media::after {
  background: linear-gradient(to top, rgba(247, 247, 245, .6) 0%, rgba(247, 247, 245, 0) 60%);
}
.home-campaign__pending { top: 24px; right: var(--d-gutter); }
.home-campaign__content {
  position: relative;
  z-index: 1;
  padding-block: clamp(72px, 11vw, 160px) clamp(48px, 8vw, 112px);
}
.home-campaign__title {
  max-width: 13ch;
  margin: 22px 0 0;
  font-family: var(--d-font-display);
  font-size: clamp(3.4rem, 13vw, 12.5rem);
  font-weight: 400;
  line-height: .85;
  letter-spacing: -.05em;
  text-wrap: balance;
  overflow-wrap: break-word;
}
.home-campaign__title em { font-style: italic; }
.home-campaign--center .home-campaign__title { margin-inline: auto; }
.home-campaign--center .home-campaign__meta { justify-content: center; }
.home-campaign__subtitle {
  max-width: 46ch;
  margin: 22px 0 0;
  font-size: clamp(.9375rem, 1.4vw, 1.125rem);
  letter-spacing: .04em;
  opacity: .85;
}
.home-campaign--center .home-campaign__subtitle { margin-inline: auto; }
.home-campaign__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.home-campaign--center .home-campaign__ctas { justify-content: center; }
/* Desktop: la foto (tríptico 2:1) se ve entera a su proporción (--home-campaign-ratio, la real del archivo) y el titular
   arranca sobre su franja inferior (piernas, con scrim) y sigue en el negro de abajo: nunca tapa las caras. */
@media (min-width: 992px) {
  .home-campaign:not(.home-campaign--placeholder) { display: block; min-height: 0; }
  .home-campaign:not(.home-campaign--placeholder) .home-campaign__media {
    position: relative;
    aspect-ratio: var(--home-campaign-ratio, 2 / 1);
    max-height: 88vh;
    max-height: 88svh;
  }
  .home-campaign:not(.home-campaign--placeholder) .home-campaign__media::after {
    background: linear-gradient(to top, var(--d-black) 0%, rgba(5, 5, 5, .55) 16%, rgba(5, 5, 5, 0) 42%);
  }
  .home-campaign--dark:not(.home-campaign--placeholder) { background-color: var(--d-white-warm); }
  .home-campaign--dark:not(.home-campaign--placeholder) .home-campaign__media::after {
    background: linear-gradient(to top, var(--d-white-warm) 0%, rgba(247, 247, 245, .6) 16%, rgba(247, 247, 245, 0) 42%);
  }
  .home-campaign:not(.home-campaign--placeholder) .home-campaign__content {
    margin-top: calc(clamp(96px, 11vw, 176px) * -1);
    padding-top: 0;
  }
  .home-campaign:not(.home-campaign--placeholder) .home-campaign__title { max-width: none; font-size: clamp(3.4rem, 9vw, 10rem); }
}
/* Sin foto: bloque puramente tipográfico (TYPE) */
.home-campaign--placeholder { min-height: 0; }
.home-campaign--placeholder .home-campaign__title { max-width: none; }
/* Bloques promocionales (§71, banners 'promo'): reusan la pieza de categorías sobre BLACK SPACE */
.home-promos { border-top: 1px solid rgba(247, 247, 245, .12); }
.home-promos__meta { margin-bottom: 24px; }
.home-promos__eyebrow { font-size: var(--d-fs-label); font-weight: 600; letter-spacing: var(--d-tracking-label); text-transform: uppercase; }
.home-promos__subtitle { grid-column: 1 / -1; max-width: 40ch; font-size: .875rem; line-height: 1.45; opacity: .82; }

/* 6 · Encontrá tu fit (§27): bloque tipográfico ------------------------------------------------- */
.home-fit__list { margin: 0; padding: 0; list-style: none; border-top: 1px solid currentColor; }
.home-fit__item { border-bottom: var(--d-line); }
.home-section--warm .home-fit__item { border-bottom-color: rgba(5, 5, 5, .14); }
.home-fit__link {
  position: relative;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 6px 16px;
  padding: 22px 0;
  color: inherit;
  text-decoration: none;
}
.home-fit__num { grid-column: 1; grid-row: 1; color: var(--d-text-muted); }
.home-fit__name {
  grid-column: 2;
  grid-row: 1;
  font-family: var(--d-font-display);
  font-size: clamp(2.5rem, 10vw, 7rem);
  line-height: .9;
  letter-spacing: -.035em;
  text-transform: uppercase;
  transition: letter-spacing var(--d-dur) var(--d-ease);
}
.home-fit__desc { grid-column: 2 / -1; grid-row: 2; max-width: 46ch; color: var(--d-text-muted); font-size: .875rem; line-height: 1.55; }
.home-fit__count {
  grid-column: 3;
  grid-row: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--d-fs-label);
  font-weight: 600;
  letter-spacing: var(--d-tracking-label);
  text-transform: uppercase;
  white-space: nowrap;
}
.home-fit__count .d-icon { width: 16px; height: 16px; transition: transform var(--d-dur) var(--d-ease); }
.home-fit__thumb { display: none; }
@media (hover: hover) {
  .home-fit__link:hover .home-fit__name { font-style: italic; letter-spacing: -.045em; }
  .home-fit__link:hover .home-fit__count .d-icon { transform: translateX(4px); }
}
.home-fit__link:focus-visible { outline: 2px solid var(--d-focus-color); outline-offset: 4px; }
/* < 576: con Bodoni Moda real, OVERSIZE (40 px) no entra al lado de "9 PRENDAS" y la pisaba (360 px); la cantidad
   baja debajo de la descripción y el nombre usa todo el ancho */
@media (max-width: 575.98px) {
  .home-fit__link { grid-template-columns: 32px minmax(0, 1fr); }
  .home-fit__count { grid-column: 2; grid-row: 3; justify-self: start; margin-top: 4px; }
}
@media (min-width: 992px) {
  .home-fit__link { grid-template-columns: 64px minmax(0, 1fr) minmax(0, 34ch) 140px; align-items: center; padding: 28px 0; }
  .home-fit__desc { grid-column: 3; grid-row: 1; }
  .home-fit__count { grid-column: 4; justify-self: end; }
  .home-fit__thumb {
    position: absolute;
    right: 22%;
    top: 50%;
    z-index: 1;
    display: block;
    width: 150px;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: var(--d-media-bg);
    opacity: 0;
    transform: translate3d(0, -46%, 0);
    transition: opacity var(--d-dur) var(--d-ease), transform var(--d-dur) var(--d-ease);
    pointer-events: none;
  }
  .home-fit__thumb img { width: 100%; height: 100%; object-fit: cover; object-position: var(--d-photo-position); }
  .home-fit__link:hover .home-fit__thumb { opacity: 1; transform: translate3d(0, -50%, 0); }
}
/* 992–1299: el nombre a 10vw no entraba en su columna y pisaba la descripción (OVERSIZE en 1024) */
@media (min-width: 992px) and (max-width: 1299.98px) {
  .home-fit__name { font-size: 6.4vw; }
}
.home-fit__guide {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 28px 0 0;
  font-size: .875rem;
}
.home-fit__guide .d-icon { flex-shrink: 0; width: 20px; height: 20px; }

/* 7 · Colección destacada: split editorial ------------------------------------------------------ */
.home-collection__split { display: grid; gap: 32px; }
.home-collection__media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background-color: var(--d-media-bg);
}
.home-collection__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--d-photo-position); }
.home-collection__body .d-section-heading { margin-bottom: 20px; }
.home-collection__text { max-width: 52ch; margin: 0 0 24px; color: var(--d-text-muted); font-size: .9375rem; line-height: 1.65; }
.home-collection__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin: 0 0 40px; }
.home-collection__count { color: var(--d-text-muted); font-size: var(--d-fs-label); font-weight: 600; letter-spacing: var(--d-tracking-label); text-transform: uppercase; }
.home-collection__products .d-grid { gap: 28px 12px; }
@media (min-width: 992px) {
  /* Foto 5/12 (≈ 530 px en 1440: las fotos oficiales miden ≈ 600 × 800 y no se amplían) · productos 7/12 */
  .home-collection__split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 5vw, 96px); align-items: start; }
  .home-collection__media { position: sticky; top: calc(var(--d-header-h) + 24px); }
  .home-collection__products .d-grid { gap: 40px 20px; }
}

/* 8 · Comunidad @DALTONPARAGUAY (§61) ----------------------------------------------------------- */
.home-community__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 992px) {
  .home-community__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
}
/* 3 o 6 posts: 3 columnas en mobile y una tira de 6 (o 3) en desktop, sin huecos en la última fila */
.home-community__grid--n3,
.home-community__grid--n6 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
@media (min-width: 992px) {
  .home-community__grid--n6 { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
  .home-community__grid--n3 { gap: 12px; }
}
/* 4:5 como el feed de Instagram: las fotos verticales no pierden cabezas como en el cuadrado */
.home-community__link {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background-color: var(--d-media-bg);
  color: var(--d-white);
}
.home-community__link img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--d-photo-position); }
.home-community__icon {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: inline-flex;
  opacity: .9;
  filter: drop-shadow(0 1px 2px rgba(5, 5, 5, .5));
}
@media (hover: hover) {
  .home-community__icon { opacity: 0; transition: opacity var(--d-dur) var(--d-ease); }
  .home-community__link:hover .home-community__icon { opacity: 1; }
}
.home-community__editorial {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}
.home-community__handle {
  max-width: 100%;
  margin: 8px 0 0;
  font-family: var(--d-font-display);
  font-size: clamp(1.75rem, 8.2vw, 8.75rem);
  font-weight: 400;
  line-height: .9;
  letter-spacing: -.04em;
  overflow-wrap: break-word;
}
.home-community__handle em { font-style: italic; }
/* Con posts, el handle va en el section-heading: una sola palabra larga que en h1 (36 px) no entra a 360 px.
   Escala como .home-community__handle y, si el handle fuera más largo, corta antes de desbordar */
.home-community .d-section-heading__title { font-size: min(var(--d-fs-h1), 8.2vw); overflow-wrap: anywhere; }
.home-community__text { max-width: 46ch; margin: 0; color: var(--d-text-muted); font-size: .9375rem; }
.home-community__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 24px; }
.home-community__editorial .home-community__actions { margin-top: 8px; }

/* 9 · Newsletter ENTER THE DROP (§60) ----------------------------------------------------------- */
.home-newsletter__inner { display: grid; gap: 32px; align-items: end; }
.home-newsletter__title {
  max-width: 100%;
  margin: 18px 0 0;
  font-family: var(--d-font-display);
  font-size: clamp(2.25rem, 11vw, 5.75rem);
  font-weight: 400;
  line-height: .9;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.home-newsletter__title em { font-style: italic; }
.home-newsletter__text { max-width: 44ch; margin: 0 0 20px; color: var(--d-text-muted); font-size: .9375rem; }
@media (min-width: 992px) {
  .home-newsletter__inner { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(48px, 6vw, 112px); }
  .home-newsletter__title { font-size: clamp(4rem, 6.5vw, 6.5rem); }
}

/* 10 · Beneficios --------------------------------------------------------------------------------- */
.home-benefits .d-section-heading { margin-bottom: 24px; }
@media (prefers-reduced-motion: no-preference) {
  .js:not(.d-no-reveal) .d-benefit[data-reveal='benefit'] { transform: translate3d(0, 22px, 0); }
  .d-benefit[data-reveal='benefit'] .d-benefit__icon { transform: scale(.72) rotate(-8deg); transition: transform .7s var(--d-ease); }
  .d-benefit[data-reveal='benefit'].is-revealed .d-benefit__icon { transform: none; }
}
