/* Pack design.menus — variantes y colores del menú.
   No tocar el header móvil del home: logo/login van sobre el banner (home-app.css). */

body.kinlig-body {
  --nav-bg: #ffffff;
  --nav-text: #111111;
  --nav-active: #111111;
  --nav-hover: #666666;
  --nav-overlay: #111111;
}

/* Solo chrome de PC */
body.kinlig-body .am-header-desktop,
body.kinlig-body .am-nav-cats {
  background: var(--nav-bg);
}

body.kinlig-body .am-nav-cats > a,
body.kinlig-body .am-nav-item > a,
body.kinlig-body .am-subnav a,
body.kinlig-body .am-mega-col a,
body.kinlig-body .am-header-auth a,
body.kinlig-body .am-header-utility a {
  color: var(--nav-text);
}

body.kinlig-body .am-nav-cats > a:hover,
body.kinlig-body .am-nav-item > a:hover,
body.kinlig-body .am-subnav a:hover,
body.kinlig-body .am-mega-col a:hover {
  color: var(--nav-hover);
  background: transparent;
}

body.kinlig-body .am-nav-cats > a.is-active,
body.kinlig-body .am-nav-item > a.is-active,
body.kinlig-body .am-subnav a.is-active,
body.kinlig-body .am-mega-col a.is-active {
  color: var(--nav-active);
}

/* Lista y mega: mismo fondo/borde del tema */
body.kinlig-body .am-subnav {
  background: var(--nav-bg);
  border-color: color-mix(in srgb, var(--nav-text) 12%, transparent);
}

/* En páginas sólidas (no home overlay), el nav compacto del header móvil puede usar colores del pack */
body.kinlig-body .sh-header.is-solid .sh-nav a {
  color: var(--nav-text);
}

body.kinlig-body .sh-header.is-solid .sh-nav a:hover,
body.kinlig-body .sh-header.is-solid .sh-nav a.is-active {
  color: var(--nav-active);
}

/* PC · boutique (baseline refinada — se nota vs compacto/editorial) */
body.nav-desk-boutique .am-header-desktop {
  padding-top: 12px;
  padding-bottom: 0; /* sin hueco bajo la línea activa */
}
body.nav-desk-boutique .am-nav-cats {
  gap: 18px;
  padding: 8px 0 0; /* la línea negra pega al piso del header */
  font-size: 0.92rem;
  letter-spacing: 0.01em;
}
body.nav-desk-boutique .am-header-desktop .sh-logo img {
  width: auto;
  height: auto;
  max-height: var(--brand-logo-box-h);
  max-width: var(--brand-logo-box-w);
  object-fit: contain;
}

/* PC · compacto */
body.nav-desk-compact .am-header-desktop {
  padding-top: 6px;
  padding-bottom: 0;
}
body.nav-desk-compact .am-header-utility {
  min-height: 52px;
}
body.nav-desk-compact .am-nav-cats {
  gap: 10px;
  padding: 4px 0 0;
  font-size: 0.86rem;
}
body.nav-desk-compact .am-header-desktop .sh-logo img {
  width: auto;
  height: auto;
  max-height: min(56px, calc(40px * var(--brand-logo-scale, 1)));
  max-width: min(220px, calc(180px * var(--brand-logo-scale, 1)));
  object-fit: contain;
}

/* PC · editorial */
body.nav-desk-editorial .am-header-desktop {
  padding-top: 16px;
  padding-bottom: 0;
}
body.nav-desk-editorial .am-nav-cats > a,
body.nav-desk-editorial .am-nav-item > a {
  font-family: var(--sh-font-heading);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
}
body.nav-desk-editorial .am-nav-cats {
  gap: 22px;
  padding: 10px 0 0;
  border-bottom: 0; /* el piso es el border del header; la línea activa pega ahí */
}
body.nav-desk-editorial .am-header-desktop .sh-logo img {
  width: auto;
  height: auto;
  max-height: min(72px, calc(52px * var(--brand-logo-scale, 1)));
  max-width: min(280px, calc(220px * var(--brand-logo-scale, 1)));
  object-fit: contain;
}

/* PC · lawbar: layout logo izq + links der; sticky sólido; logo grande */
@media (min-width: 721px) {
  /* Sticky: siempre el color del menú (no transparente al scroll) */
  body.kinlig-body.nav-desk-lawbar .sh-header,
  body.kinlig-body.nav-desk-lawbar.kinlig-home .sh-header.sh-header-home,
  body.kinlig-body.nav-desk-lawbar .sh-header.is-solid {
    background: var(--nav-bg) !important;
    border-bottom: 0 !important;
    border-color: transparent !important;
    overflow: visible;
    z-index: 50;
  }

  /* Topbar arena sigue encima; no hereda el azul del sticky */
  body.kinlig-body.nav-desk-lawbar .am-topbar {
    background: var(--sh-btn-bg, var(--nav-active)) !important;
  }

  body.kinlig-body.nav-desk-lawbar .am-header-desktop {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "auth tools"
      "logo cats";
    align-items: stretch;
    width: min(1240px, calc(100% - 48px));
    margin: 0 auto;
    padding: 0;
    background: transparent !important;
    border-bottom: 0 !important;
    border-color: transparent !important;
    position: relative;
    overflow: visible;
  }

  body.kinlig-body.nav-desk-lawbar .am-header-utility {
    display: contents;
  }

  body.kinlig-body.nav-desk-lawbar .am-header-auth {
    grid-area: auth;
    justify-self: stretch;
    align-self: stretch;
    display: inline-flex;
    align-items: center;
    gap: 16px;
    min-height: 0;
    padding: 0 8px;
    margin: 0;
    background: transparent;
    color: var(--nav-text);
    font-size: 12px;
  }

  body.kinlig-body.nav-desk-lawbar .am-header-auth:empty {
    display: none;
  }

  body.kinlig-body.nav-desk-lawbar .am-header-auth a {
    color: var(--nav-text);
  }

  body.kinlig-body.nav-desk-lawbar .am-header-auth a:hover {
    color: var(--nav-hover);
  }

  body.kinlig-body.nav-desk-lawbar .am-header-tools {
    grid-area: tools;
    justify-self: stretch;
    align-self: stretch;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    min-height: 0;
    padding: 0 8px;
    margin: 0;
    background: transparent;
    color: var(--nav-text);
  }

  body.kinlig-body.nav-desk-lawbar .am-header-tools:not(:has(a, button, .lang-switch)) {
    display: none;
  }

  body.kinlig-body.nav-desk-lawbar .am-header-tools .sh-icon-btn {
    color: var(--nav-text);
    border-color: transparent;
  }

  body.kinlig-body.nav-desk-lawbar .am-header-tools .lang-switch a {
    color: var(--sh-muted, var(--nav-hover)) !important;
  }

  body.kinlig-body.nav-desk-lawbar .am-header-tools .lang-switch a.is-active,
  body.kinlig-body.nav-desk-lawbar .am-header-tools .lang-switch a:hover {
    color: var(--nav-text) !important;
  }

  body.kinlig-body.nav-desk-lawbar .am-header-desktop .sh-logo {
    grid-area: logo;
    justify-self: stretch;
    align-self: stretch;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    margin: 0;
    min-width: 0;
    padding: 10px 20px 10px 8px;
    background: transparent !important;
    color: var(--nav-text);
    text-decoration: none;
  }

  /* Caja más generosa: el slider 80–140% debe notarse (wordmarks horizontales) */
  body.kinlig-body.nav-desk-lawbar .am-header-desktop .sh-logo img {
    --brand-logo-box-w: min(360px, calc(clamp(160px, 20vw, 260px) * var(--brand-logo-scale, 1)));
    --brand-logo-box-h: min(96px, calc(68px * var(--brand-logo-scale, 1)));
    width: auto !important;
    height: auto !important;
    max-width: var(--brand-logo-box-w) !important;
    max-height: var(--brand-logo-box-h) !important;
    aspect-ratio: auto;
    object-fit: contain;
    object-position: left center;
    display: block;
  }

  body.kinlig-body.nav-desk-lawbar .am-nav-cats {
    grid-area: cats;
    justify-content: flex-end;
    align-items: stretch;
    gap: 4px;
    width: auto;
    min-width: 0;
    margin: 0;
    padding: 0 8px 0 16px;
    border: 0 !important;
    border-color: transparent !important;
    background: transparent !important;
    min-height: 112px;
    position: relative !important;
    overflow: visible;
  }

  /* Línea activa que se desliza con el hover */
  body.kinlig-body.nav-desk-lawbar .am-nav-ink {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 0;
    background: var(--nav-active);
    opacity: 0;
    pointer-events: none;
    z-index: 3;
    transition:
      left 0.36s cubic-bezier(0.22, 1, 0.36, 1),
      width 0.36s cubic-bezier(0.22, 1, 0.36, 1),
      opacity 0.2s cubic-bezier(0.22, 1, 0.36, 1);
  }

  body.kinlig-body.nav-desk-lawbar .am-nav-ink.is-on {
    opacity: 1;
  }

  body.kinlig-body.nav-desk-lawbar .am-nav-cats > a,
  body.kinlig-body.nav-desk-lawbar .am-nav-item > a {
    display: inline-flex;
    align-items: center;
    padding: 0 18px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--nav-text);
    text-decoration: none;
    white-space: nowrap;
    border-bottom-color: transparent !important;
    box-shadow: none !important;
    transition: color 0.22s cubic-bezier(0.22, 1, 0.36, 1);
  }

  body.kinlig-body.nav-desk-lawbar .am-nav-cats > a:hover,
  body.kinlig-body.nav-desk-lawbar .am-nav-item > a:hover,
  body.kinlig-body.nav-desk-lawbar .am-nav-item:hover > a {
    color: var(--nav-hover);
    border-bottom-color: transparent !important;
  }

  body.kinlig-body.nav-desk-lawbar .am-nav-cats > a.is-active,
  body.kinlig-body.nav-desk-lawbar .am-nav-item > a.is-active {
    color: var(--nav-active);
    box-shadow: none !important;
    border-bottom-color: transparent !important;
  }

  body.kinlig-body.nav-desk-lawbar .am-nav-item {
    display: inline-flex;
    align-items: stretch;
    position: relative;
    overflow: visible;
  }

  /* Submenu lista: mismos tokens que mega */
  body.kinlig-body.nav-desk-lawbar .am-subnav {
    background: var(--nav-bg, var(--sh-cream)) !important;
    border: 1px solid color-mix(in srgb, var(--nav-text) 12%, transparent);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.22);
    z-index: 60;
  }

  body.kinlig-body.nav-desk-lawbar .am-subnav a {
    color: var(--nav-text, var(--sh-ink));
    background: transparent;
  }

  body.kinlig-body.nav-desk-lawbar .am-subnav a:hover {
    color: var(--nav-hover, var(--sh-muted));
    background: transparent;
  }

  body.kinlig-body.nav-desk-lawbar .am-subnav a.is-active {
    color: var(--nav-active, var(--sh-btn-bg));
  }

  body.kinlig-body.nav-desk-lawbar .am-header-desktop .sh-logo-img--light {
    display: block;
  }

  body.kinlig-body.nav-desk-lawbar .am-header-desktop .sh-logo:has(.sh-logo-img--light) .sh-logo-img--dark {
    display: none;
  }

  body.kinlig-body:not(.nav-desk-lawbar) .am-header-desktop .sh-logo-img--light {
    display: none;
  }

  body.kinlig-body.nav-desk-lawbar .am-nav-item.has-mega.has-mega--item {
    position: relative !important;
  }

  body.kinlig-body.nav-desk-lawbar .am-nav-item.has-mega--item > .am-subnav.am-subnav--mega {
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) translateY(-10px) !important;
    margin-left: 0;
    margin-right: 0;
  }

  body.kinlig-body.nav-desk-lawbar .am-nav-item.has-mega--item.has-sub:hover > .am-subnav.am-subnav--mega,
  body.kinlig-body.nav-desk-lawbar .am-nav-item.has-mega--item.has-sub:focus-within > .am-subnav.am-subnav--mega {
    transform: translateX(-50%) translateY(0) !important;
  }
}

/* Móvil · acordeón (cajón lateral) usa colores del pack */
body.nav-mob-accordion .cats-modal {
  background: var(--nav-bg);
  color: var(--nav-text);
}
body.nav-mob-accordion .cats-modal-backdrop,
body.nav-mob-accordion .cats-modal::before {
  background: color-mix(in srgb, var(--nav-overlay) 40%, transparent);
}

/* Móvil · fullscreen solo del cajón de categorías */
body.nav-mob-fullscreen .cats-modal {
  width: 100%;
  max-width: none;
  left: 0;
  right: 0;
  border-radius: 0;
  background: var(--nav-bg);
  color: var(--nav-text);
}
body.nav-mob-fullscreen .cats-modal-backdrop,
body.nav-mob-fullscreen .cats-modal::before {
  background: color-mix(in srgb, var(--nav-overlay) 55%, transparent);
}

/* Links del cajón: app-nav.css fija #111; el pack debe ganar */
body.nav-mob-accordion .cats-link,
body.nav-mob-accordion .cats-modal-close,
body.nav-mob-accordion .cats-acc-toggle,
body.nav-mob-accordion .cats-social-link,
body.nav-mob-fullscreen .cats-link,
body.nav-mob-fullscreen .cats-modal-close,
body.nav-mob-fullscreen .cats-acc-toggle,
body.nav-mob-fullscreen .cats-social-link {
  color: var(--nav-text);
}
body.nav-mob-accordion .cats-link-child,
body.nav-mob-fullscreen .cats-link-child {
  color: color-mix(in srgb, var(--nav-text) 70%, transparent);
}
body.nav-mob-accordion .cats-link:hover,
body.nav-mob-accordion .cats-acc-toggle:hover,
body.nav-mob-fullscreen .cats-link:hover,
body.nav-mob-fullscreen .cats-acc-toggle:hover {
  color: var(--nav-hover);
}
body.nav-mob-accordion .cats-link.is-active,
body.nav-mob-fullscreen .cats-link.is-active {
  color: var(--nav-active);
}

/* —— Mega-menú PC: centrado en la barra, columna imagen a sangre —— */
body.kinlig-body .am-nav-cats {
  position: relative;
  overflow: visible;
}

/*
 * position:static → el absolute del mega usa .am-nav-cats como caja.
 * Así se centra en toda la fila, no bajo la palabra.
 */
body.kinlig-body .am-nav-item.has-mega {
  position: static !important;
}

/*
 * Mega de enlaces custom (ej. Servicios): anclado al ítem de la barra,
 * no centrado en todo el ancho (así queda debajo de “Servicios”).
 */
body.kinlig-body .am-nav-item.has-mega.has-mega--item {
  position: relative !important;
}

body.kinlig-body .am-nav-item.has-mega.has-mega--item:hover::after,
body.kinlig-body .am-nav-item.has-mega.has-mega--item:focus-within::after {
  left: 0;
  width: 100%;
}

body.kinlig-body .am-nav-item.has-mega--item > .am-subnav.am-subnav--mega {
  /* Centro del panel (= columna del medio) bajo el label del ítem */
  left: 50% !important;
  right: auto !important;
  margin-left: 0;
  margin-right: 0;
  transform: translateX(-50%) translateY(-10px) !important;
  width: max-content;
  max-width: min(920px, calc(100vw - 48px));
}

/*
 * Puente de hover: el ::after es del ítem (sigue contando como hover),
 * pero al ser position:static el absolute se mide contra .am-nav-cats
 * → cubre todo el ancho bajo la barra (necesario si el panel está centrado).
 */
body.kinlig-body .am-nav-item.has-mega:hover::after,
body.kinlig-body .am-nav-item.has-mega:focus-within::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  top: 100%;
  height: 28px;
  z-index: 49;
}

body.kinlig-body .am-subnav.am-subnav--mega {
  display: flex;
  align-items: stretch;
  gap: 0;
  /* Centrado robusto: anclado a la barra (no a la palabra) */
  left: 0 !important;
  right: 0 !important;
  top: calc(100% - 2px);
  margin-left: auto;
  margin-right: auto;
  /* Por defecto (varias listas sin foto): abraza el contenido */
  width: fit-content;
  min-width: 0;
  max-width: calc(100% - 24px);
  padding: 0;
  overflow: visible;
  background: var(--nav-bg, #fff);
  border: 1px solid color-mix(in srgb, var(--nav-text, #111) 10%, transparent);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
  transform: translateY(-10px) !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  white-space: normal;
  box-sizing: border-box;
  z-index: 50;
  transition:
    opacity 0.36s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.36s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.36s cubic-bezier(0.22, 1, 0.36, 1);
}

/*
 * Varias listas SIN foto: columnas con aire + línea entre listas.
 */

body.kinlig-body .am-subnav.am-subnav--mega:not(.has-picture) {
  width: fit-content;
  max-width: min(920px, calc(100% - 32px));
}

body.kinlig-body .am-subnav.am-subnav--mega:not(.has-picture) .am-mega-cols {
  flex: 0 1 auto;
  width: fit-content;
  max-width: 100%;
  gap: 0;
  padding: 18px 8px;
  grid-template-columns: repeat(var(--am-mega-cols, 1), minmax(10.5rem, max-content));
}

body.kinlig-body .am-subnav.am-subnav--mega:not(.has-picture) .am-mega-col {
  min-width: 10.5rem;
  padding: 2px 28px;
}

body.kinlig-body .am-subnav.am-subnav--mega:not(.has-picture) .am-mega-col:not(:first-child) {
  border-left: 1px solid color-mix(in srgb, var(--nav-text, #111) 12%, transparent);
}

body.kinlig-body .am-subnav.am-subnav--mega:not(.has-picture) .am-mega-col:empty {
  display: none;
}

body.kinlig-body .am-subnav.am-subnav--mega:not(.has-picture) .am-mega-col a {
  padding: 5px 0;
  white-space: nowrap;
}

/* Con foto a la derecha: panel más ancho, solo texto en columnas */
body.kinlig-body .am-subnav.am-subnav--mega.has-picture[data-cols="1"],
body.kinlig-body .am-subnav.am-subnav--mega.has-promo-bleed[data-cols="1"] {
  width: min(520px, calc(100% - 32px));
}
body.kinlig-body .am-subnav.am-subnav--mega.has-picture[data-cols="2"],
body.kinlig-body .am-subnav.am-subnav--mega.has-promo-bleed[data-cols="2"] {
  width: min(720px, calc(100% - 32px));
}
body.kinlig-body .am-subnav.am-subnav--mega.has-picture[data-cols="3"],
body.kinlig-body .am-subnav.am-subnav--mega.has-promo-bleed[data-cols="3"] {
  width: min(920px, calc(100% - 32px));
}
body.kinlig-body .am-subnav.am-subnav--mega.has-picture[data-cols="4"],
body.kinlig-body .am-subnav.am-subnav--mega.has-promo-bleed[data-cols="4"] {
  width: min(1080px, calc(100% - 32px));
}

/* Con imagen: alto = enlaces; la foto es un cuadrado al lado */
body.kinlig-body .am-subnav.am-subnav--mega.has-picture,
body.kinlig-body .am-subnav.am-subnav--mega.has-promo-bleed {
  align-items: stretch;
}

body.kinlig-body .am-subnav.am-subnav--mega.has-picture .am-mega-cols {
  flex: 1 1 auto;
  min-width: 0;
  gap: 0;
  padding: 20px 12px 20px 8px;
  grid-template-columns: repeat(var(--am-mega-cols, 1), minmax(11rem, 1fr));
}

body.kinlig-body .am-subnav.am-subnav--mega.has-picture .am-mega-col {
  min-width: 0;
  padding: 2px 28px;
}

body.kinlig-body .am-subnav.am-subnav--mega.has-picture .am-mega-col:not(:first-child) {
  border-left: 1px solid color-mix(in srgb, var(--nav-text, #111) 12%, transparent);
}

body.kinlig-body .am-subnav.am-subnav--mega::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -20px;
  height: 20px;
  z-index: 1;
}

/* El interior del mega sí recorta la imagen a sangre */
body.kinlig-body .am-subnav.am-subnav--mega .am-mega-cols,
body.kinlig-body .am-subnav.am-subnav--mega .am-mega-promo {
  overflow: hidden;
}

body.kinlig-body .am-nav-item.has-sub:hover .am-subnav.am-subnav--mega,
body.kinlig-body .am-nav-item.has-sub:focus-within .am-subnav.am-subnav--mega {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) !important;
}

/* Custom mega (Servicios): al hover mantener centrado bajo el título */
body.kinlig-body .am-nav-item.has-mega--item.has-sub:hover > .am-subnav.am-subnav--mega,
body.kinlig-body .am-nav-item.has-mega--item.has-sub:focus-within > .am-subnav.am-subnav--mega {
  left: 50% !important;
  right: auto !important;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0) !important;
}

@media (prefers-reduced-motion: reduce) {
  body.kinlig-body .am-subnav,
  body.kinlig-body .am-subnav.am-subnav--mega,
  body.kinlig-body.nav-desk-lawbar .am-nav-ink {
    transition-duration: 0.01ms !important;
  }
}

body.kinlig-body .am-mega-cols {
  display: grid;
  gap: 0;
  flex: 1 1 auto;
  min-width: 0;
  padding: 18px 12px;
  align-content: start;
  grid-template-columns: repeat(var(--am-mega-cols, 1), minmax(10.5rem, 1fr));
}

body.kinlig-body .am-subnav--mega[data-cols="1"] .am-mega-cols {
  --am-mega-cols: 1;
  min-width: 160px;
}
body.kinlig-body .am-subnav--mega[data-cols="2"] .am-mega-cols { --am-mega-cols: 2; }
body.kinlig-body .am-subnav--mega[data-cols="3"] .am-mega-cols { --am-mega-cols: 3; }
body.kinlig-body .am-subnav--mega[data-cols="4"] .am-mega-cols { --am-mega-cols: 4; }

body.kinlig-body .am-mega-col {
  list-style: none;
  margin: 0;
  padding: 2px 28px;
  min-width: 0;
}

body.kinlig-body .am-mega-col:not(:first-child) {
  border-left: 1px solid color-mix(in srgb, var(--nav-text, #111) 12%, transparent);
}

body.kinlig-body .am-mega-col li + li {
  border-top: 0;
}

body.kinlig-body .am-mega-col a {
  display: block;
  padding: 5px 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--nav-text, #111);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border: 0;
  background: transparent;
}

body.kinlig-body .am-mega-col a:hover {
  color: var(--nav-hover, #666);
  background: transparent;
}

body.kinlig-body .am-mega-group + .am-mega-group {
  margin-top: 14px;
  padding-top: 2px;
}

body.kinlig-body .am-mega-cat {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.01em;
  padding-bottom: 6px !important;
}

body.kinlig-body .am-mega-products {
  list-style: none;
  margin: 0;
  padding: 0;
}

body.kinlig-body .am-mega-prod {
  display: block !important;
  padding: 4px 0 !important;
  font-size: 12.5px !important;
  font-weight: 500 !important;
  opacity: 0.78;
}

body.kinlig-body .am-mega-prod:hover {
  opacity: 1;
}

/* Columna imagen: siempre 1:1, responsive, no estira el mega */
body.kinlig-body .am-mega-promo {
  --am-mega-promo-size: clamp(148px, 16vw, 200px);
  display: block;
  position: relative;
  flex: 0 0 var(--am-mega-promo-size);
  width: var(--am-mega-promo-size);
  height: var(--am-mega-promo-size);
  aspect-ratio: 1 / 1;
  align-self: center;
  margin: 16px 16px 16px 4px;
  padding: 0;
  border: 0;
  text-decoration: none;
  color: var(--nav-text, #111);
  background: #f0f0f0;
  overflow: hidden;
}

body.kinlig-body .am-mega-promo.am-mega-promo--bleed {
  margin: 0;
  background: #111;
}

body.kinlig-body .am-mega-promo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border: 0;
  background: transparent;
}

body.kinlig-body .am-mega-promo span {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

body.kinlig-body .am-mega-promo.am-mega-promo--bleed span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  margin: 0;
  padding: 28px 10px 10px;
  color: #fff;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.25) 55%, transparent 100%);
}

body.kinlig-body .am-mega-promo.am-mega-promo--image-only span {
  display: none;
}

body.kinlig-body .am-mega-promo:hover span {
  color: var(--nav-hover, #666);
}

body.kinlig-body .am-mega-promo.am-mega-promo--bleed:hover span {
  color: #fff;
}

@media (max-width: 900px) {
  body.kinlig-body .am-mega-promo {
    --am-mega-promo-size: clamp(100px, 20vw, 140px);
  }
}

/* PDP compacta */
body.kinlig-body .product-page.pdp-compact .product-detial--kinlig {
  max-width: 920px;
  margin-inline: auto;
}
body.kinlig-body .product-page.pdp-compact .slider {
  max-height: min(52vh, 420px);
}
body.kinlig-body .product-page.pdp-compact .product-buybox-title {
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
}
