/* ============================================================================
   LIVE YOUR DREAM — Home / front-page · RE-SKIN "Salomón" (dirección vigente)
   Fiel a design/assets/explorations/01-home-salomon-light.html.
   Alto contraste B/N, angular (radios 0), tipografía condensada mayúsculas,
   secciones a sangre con gradiente negro, grids con juntas finas (gap 2px).
   Mobile-first: media queries a 768px (md) y 1024px (lg). Solo light.
   ============================================================================ */

/* ============================================================================
   UTILIDADES DE SECCIÓN
   ============================================================================ */
.lyd-section--flush { padding-block: 0; }

.lyd-section__head {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-10);
}
.lyd-section__head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}
.lyd-section__title {
  font-size: var(--text-h2);
  line-height: 0.95;
  color: var(--text-primary);
  margin-top: var(--space-3);
}

/* Kicker (etiqueta condensada con tick teal) */
.lyd-kicker {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: var(--fw-bold);
  font-size: 0.8125rem;
  letter-spacing: 0.22em;
  color: var(--text-primary);
  margin: 0;
}
.lyd-kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--accent);
}
.lyd-kicker--light { color: #fff; }

/* Enlace con flecha (subrayado fino + caret) */
.lyd-arrowlink {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: var(--fw-bold);
  letter-spacing: 0.1em;
  font-size: 0.8125rem;
  color: var(--ink);
  padding-bottom: 4px;
  border-bottom: 2px solid var(--ink);
  white-space: nowrap;
}
.lyd-arrowlink svg { width: 16px; height: 16px; transition: transform 180ms ease; }
.lyd-arrowlink:hover { color: var(--accent-on); border-bottom-color: var(--accent); }
.lyd-arrowlink:hover svg { transform: translateX(4px); }
.lyd-arrowlink--light { color: #fff; border-bottom-color: rgba(255, 255, 255, 0.6); }
.lyd-arrowlink--light:hover { color: #fff; border-bottom-color: var(--accent); }

/* Micro-animación de flecha en botones del home */
.lyd-home .lyd-btn svg { transition: transform 180ms ease; }
.lyd-home .lyd-btn:hover svg { transform: translateX(4px); }

/* ============================================================================
   HERO (a sangre, 70svh, gradiente negro)
   ============================================================================ */
.lyd-hero {
  position: relative;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: max(460px, calc(70svh - var(--topnav-h)));
}
.lyd-hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(120% 100% at 78% 18%, rgba(0, 233, 203, 0.16), transparent 55%),
    linear-gradient(160deg, #1b1b1b 0%, var(--brand-navy) 58%, #05202f 100%);
}
.lyd-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 17, 17, 0.1) 0%, rgba(17, 17, 17, 0.2) 45%, rgba(17, 17, 17, 0.82) 100%);
}
.lyd-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-top: var(--space-16);
  padding-bottom: var(--space-12);
}
.lyd-hero__kicker { margin-bottom: var(--space-5); }
.lyd-hero__title {
  font-size: var(--text-display);
  line-height: var(--lh-display);
  max-width: 14ch;
  margin: 0 0 var(--space-6);
  color: #fff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.25);
}
.lyd-hero__title em { font-style: normal; color: var(--accent); }
.lyd-hero__lead {
  font-size: var(--text-body-lg);
  color: rgba(255, 255, 255, 0.88);
  max-width: 46ch;
  margin: 0 0 var(--space-8);
  line-height: 1.5;
}
.lyd-hero__cta {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  align-items: stretch;
}
.lyd-hero__cta .lyd-btn { width: 100%; }
.lyd-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4) var(--space-8);
  margin-top: var(--space-10);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}
.lyd-hero__meta-item {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: var(--fw-bold);
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.92);
}
.lyd-hero__meta-item svg { width: 18px; height: 18px; color: var(--accent); flex: 0 0 auto; }

@media (min-width: 768px) {
  .lyd-hero__cta { flex-direction: row; align-items: center; }
  .lyd-hero__cta .lyd-btn { width: auto; }
}

/* ============================================================================
   CATEGORÍAS (mosaico a sangre, juntas finas)
   ============================================================================ */
.lyd-cats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--border-subtle);
}
.lyd-cat {
  position: relative;
  display: block;
  overflow: hidden;
  isolation: isolate;
  background: var(--bg-sunken);
  aspect-ratio: 3 / 4;
}
.lyd-cat__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 600ms cubic-bezier(.2, .7, .2, 1);
}
.lyd-cat:hover .lyd-cat__img { transform: scale(1.05); }
.lyd-cat::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 17, 17, 0) 40%, rgba(17, 17, 17, 0.78) 100%);
  z-index: -1;
}
/* Degradados monocromos cuando la categoría no tiene imagen. */
.lyd-cat--tint-1 { background: linear-gradient(150deg, #2b2b2b, #111); }
.lyd-cat--tint-2 { background: linear-gradient(150deg, var(--brand-navy), #111); }
.lyd-cat--tint-3 { background: linear-gradient(150deg, #3a3a3a, #161616); }
.lyd-cat--tint-4 { background: linear-gradient(150deg, #05202f, #111); }
.lyd-cat--tint-5 { background: linear-gradient(150deg, #242424, var(--brand-navy)); }
.lyd-cat__label {
  position: absolute;
  left: var(--space-5);
  right: var(--space-5);
  bottom: var(--space-5);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-3);
}
.lyd-cat__name {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: var(--fw-bold);
  line-height: 0.95;
  color: #fff;
  font-size: 1.5rem;
}
.lyd-cat__name small {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin-top: var(--space-2);
}
.lyd-cat__chev {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--ink);
  transition: background 180ms ease, color 180ms ease;
}
.lyd-cat:hover .lyd-cat__chev { background: var(--accent); color: var(--accent-on); }
.lyd-cat__chev svg { width: 18px; height: 18px; }
.lyd-cat--featured { grid-column: span 2; aspect-ratio: 16 / 11; }
.lyd-cat--featured .lyd-cat__name { font-size: 2.25rem; }

@media (min-width: 768px) {
  .lyd-cats { grid-template-columns: repeat(4, 1fr); }
  .lyd-cat { aspect-ratio: 3 / 4; }
  .lyd-cat--featured { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
  .lyd-cat--featured .lyd-cat__name { font-size: clamp(2.5rem, 4vw, 4rem); }
}

/* ============================================================================
   NOVEDADES (product cards, limpias y angulares)
   ============================================================================ */
.lyd-products {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--border-subtle);
}
.lyd-product {
  background: var(--bg-base);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: background 200ms ease;
}
.lyd-product:hover { background: var(--bg-elevated); }
.lyd-product__media {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  background: var(--bg-elevated);
  overflow: hidden;
}
.lyd-product__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(.2, .7, .2, 1);
}
.lyd-product:hover .lyd-product__media img { transform: scale(1.05); }
.lyd-product__badges {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  z-index: 2;
}
/* Badges angulares tipo Salomón (anula el pill de base.css en el home). */
.lyd-product__badges .lyd-badge {
  border-radius: 0;
  padding: 5px 10px;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.6875rem;
  font-weight: var(--fw-bold);
}
.lyd-product__body {
  padding: var(--space-4) var(--space-3) var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  flex: 1;
}
.lyd-product__brand {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: var(--fw-bold);
  letter-spacing: 0.12em;
  font-size: 0.6875rem;
  color: var(--text-muted);
}
.lyd-product__name {
  font-size: 0.9375rem;
  font-weight: var(--fw-medium);
  color: var(--text-primary);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.lyd-product__name:hover { color: var(--ink); }
.lyd-product__price {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
  margin-top: auto;
  padding-top: var(--space-2);
  font-variant-numeric: tabular-nums;
  font-size: 1.0625rem;
  font-weight: var(--fw-bold);
  color: var(--price-text);
}
/* Precio de WooCommerce (get_price_html: <del>/<ins>/.amount). */
.lyd-product__price ins { text-decoration: none; color: var(--price-discount); }
.lyd-product__price del {
  font-size: 0.8125rem;
  font-weight: var(--fw-medium);
  color: var(--price-strike);
  text-decoration: line-through;
}
.lyd-product__price .woocommerce-Price-amount { font-weight: var(--fw-bold); }

/* Skeleton (fallback sin productos) */
.lyd-product--skeleton { pointer-events: none; }
.lyd-product__sk-line { display: block; height: 12px; }
.lyd-product__sk-line--sm { width: 40%; height: 10px; }
.lyd-product__sk-line--price { width: 50%; height: 18px; margin-top: var(--space-2); }

@media (min-width: 768px) {
  .lyd-products { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .lyd-products { grid-template-columns: repeat(4, 1fr); }
}

/* ============================================================================
   PROMO (split a sangre, fondo negro)
   ============================================================================ */
.lyd-promo {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--ink);
  color: #fff;
}
.lyd-promo__body {
  padding: var(--space-12) var(--gutter-mobile);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  align-items: flex-start;
}
.lyd-promo__title {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: var(--fw-bold);
  line-height: 0.95;
  font-size: clamp(2rem, 4vw, 3.25rem);
  max-width: 14ch;
  color: #fff;
}
.lyd-promo__lead {
  font-size: var(--text-body);
  color: rgba(255, 255, 255, 0.78);
  max-width: 46ch;
  margin: 0;
}
.lyd-promo__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background:
    radial-gradient(90% 120% at 20% 10%, rgba(0, 233, 203, 0.22), transparent 55%),
    linear-gradient(150deg, var(--brand-navy), #0a0a0a);
}

@media (min-width: 768px) {
  .lyd-promo { grid-template-columns: 1fr 1fr; }
  .lyd-promo__body {
    padding: var(--space-20) var(--space-16);
    justify-content: center;
  }
  .lyd-promo__media { aspect-ratio: auto; min-height: 480px; order: 2; }
}

/* ============================================================================
   CONFIANZA (tira angular con bordes 1px, sin sombra)
   ============================================================================ */
.lyd-trust {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid var(--border-subtle);
}
.lyd-trust__item {
  padding: var(--space-6) var(--space-5);
  border-right: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.lyd-trust__icon { color: var(--ink); }
.lyd-trust__icon svg { width: 28px; height: 28px; }
.lyd-trust__title {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: var(--fw-bold);
  font-size: 0.9375rem;
  color: var(--text-primary);
}
.lyd-trust__copy {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

@media (min-width: 768px) {
  .lyd-trust { grid-template-columns: repeat(4, 1fr); }
  .lyd-trust__item { border-bottom: 0; }
  .lyd-trust__item:last-child { border-right: 0; }
}

/* ============================================================================
   EDITORIAL: DEPORTES DESTACADOS (a sangre)
   ============================================================================ */
.lyd-sports {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  background: var(--border-subtle);
}
.lyd-sport {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  isolation: isolate;
  display: block;
  background: var(--brand-black);
}
.lyd-sport__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 600ms cubic-bezier(.2, .7, .2, 1);
}
.lyd-sport:hover .lyd-sport__img { transform: scale(1.05); }
.lyd-sport--tint-1 { background: linear-gradient(160deg, #2b2b2b, #0d0d0d); }
.lyd-sport--tint-2 { background: linear-gradient(160deg, var(--brand-navy), #0d0d0d); }
.lyd-sport--tint-3 { background: linear-gradient(160deg, #3a3a3a, #111); }
.lyd-sport::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 17, 17, 0) 35%, rgba(17, 17, 17, 0.8) 100%);
  z-index: -1;
}
.lyd-sport__body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-8) var(--space-6);
  color: #fff;
}
.lyd-sport__title {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: var(--fw-bold);
  line-height: 0.95;
  font-size: clamp(1.6rem, 2.5vw, 2.25rem);
  color: #fff;
  margin: var(--space-3) 0 var(--space-5);
}

@media (min-width: 768px) {
  .lyd-sports { grid-template-columns: repeat(3, 1fr); }
  .lyd-sport { aspect-ratio: 3 / 4.4; }
}

/* ============================================================================
   NEWSLETTER (bloque negro rectangular)
   ============================================================================ */
.lyd-newsletter {
  background: var(--ink);
  color: #fff;
  padding: var(--space-16) var(--gutter-mobile);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  align-items: flex-start;
}
.lyd-newsletter__title {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: var(--fw-bold);
  line-height: 0.95;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  max-width: 18ch;
  color: #fff;
  margin-top: var(--space-3);
}
.lyd-newsletter__lead {
  color: rgba(255, 255, 255, 0.78);
  font-size: var(--text-body);
  max-width: 54ch;
  margin: 0;
}
.lyd-newsletter__form {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  width: 100%;
  max-width: 520px;
}
.lyd-newsletter__input {
  width: 100%;
  min-height: 52px;
  padding: 15px 16px;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: #fff;
  font-family: var(--font-sans);
  font-size: var(--text-body);
}
.lyd-newsletter__input::placeholder { color: rgba(255, 255, 255, 0.5); }
.lyd-newsletter__input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: var(--shadow-focus);
}
.lyd-newsletter__small {
  font-size: var(--text-micro);
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
}
.lyd-newsletter__small a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: underline;
}

@media (min-width: 768px) {
  .lyd-newsletter { padding: var(--space-24) var(--space-20); }
  .lyd-newsletter__form {
    flex-direction: row;
    align-items: center;
    max-width: 600px;
  }
  .lyd-newsletter__form .lyd-btn { flex: 0 0 auto; }
}
