/* ==========================================================================
   JM · Layout — header, navegación, hero, footer, barra móvil
   ========================================================================== */

/* ======================================================================
   HEADER
   ====================================================================== */

.wd-header {
  position: sticky;
  top: 0;
  z-index: 120;
  background: #fff;
  transition: box-shadow var(--wd-t), transform var(--wd-t);
}

.wd-header.is-stuck {
  box-shadow: var(--wd-shadow-header);
}

.wd-header__row {
  display: flex;
  align-items: center;
  gap: 30px;
  height: var(--wd-header-h);
}

.wd-header__logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

/* El logo es un lockup horizontal: se limita por alto para no romper la barra. */
.wd-header__logo img,
.wd-header__logo svg {
  display: block;
  width: auto;
  height: 64px;
  max-width: 280px;
}

.wd-header__logo-text {
  font-family: var(--wd-title-font);
  font-size: 24px;
  font-weight: 600;
  color: var(--wd-dark);
  letter-spacing: -0.01em;
}

.wd-header__logo-text span {
  color: var(--wd-primary-color);
}

/* --- navegación ------------------------------------------------------ */

.wd-nav {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.wd-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.8vw, 30px);
  min-width: 0;
}

.wd-nav__item {
  position: relative;
}

.wd-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--wd-dark-2);
  white-space: nowrap;
}

.wd-nav__link:hover,
.wd-nav__item.is-open > .wd-nav__link {
  color: var(--wd-primary-color);
}

.wd-nav__link--sale {
  color: var(--wd-sale-color);
}

.wd-nav__link--sale:hover {
  color: var(--wd-sale-color);
  opacity: 0.75;
}

.wd-nav__caret {
  width: 9px;
  height: 9px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform var(--wd-t-fast);
}

.wd-nav__item.is-open .wd-nav__caret {
  transform: rotate(-135deg) translateY(-2px);
}

/* --- mega dropdown ---------------------------------------------------- */

.wd-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  min-width: 240px;
  padding: 22px 26px;
  transform: translate(-50%, 12px);
  background: var(--wd-dark);
  border-radius: var(--wd-radius-lg);
  box-shadow: var(--wd-shadow-dropdown);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--wd-t), transform var(--wd-t), visibility var(--wd-t);
  z-index: 10;
}

.wd-nav__item:hover .wd-dropdown,
.wd-nav__item.is-open .wd-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.wd-dropdown__title {
  font-family: var(--wd-title-font);
  font-size: 14px;
  color: #fff;
  margin-bottom: 12px;
}

.wd-dropdown__list li + li {
  margin-top: 8px;
}

.wd-dropdown__list a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
}

.wd-dropdown__list a:hover {
  color: #fff;
}

.wd-dropdown__list .count {
  color: rgba(255, 255, 255, 0.4);
  font-size: 11px;
  margin-left: 5px;
}

/* --- herramientas de la derecha --------------------------------------- */

.wd-tools {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.2vw, 18px);
}

.wd-tool {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  /* área táctil cómoda para los iconos del header */
  min-height: 44px;
  color: var(--wd-dark-2);
}

.wd-tool:hover {
  color: var(--wd-primary-color);
}

.wd-tool svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wd-tool__text {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.wd-tool__count {
  position: absolute;
  top: -8px;
  right: -11px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: var(--wd-primary-color);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
}

.wd-tool__count:empty,
.wd-tool__count[data-count='0'] {
  display: none;
}

.wd-bottom-toolbar__item .badge[data-count='0'] {
  display: none;
}

/* --- carrito: círculo azul con el ícono y el contador encima ------------ */
.wd-tool--cart {
  padding: 0;
}

.wd-tool--cart .wd-tool__cart {
  position: relative;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--wd-primary-color);
  color: #fff;
  transition: background var(--wd-t-fast), transform var(--wd-t-fast),
    box-shadow var(--wd-t-fast);
}

.wd-tool--cart:hover .wd-tool__cart {
  background: var(--wd-primary-color-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(46, 107, 198, 0.32);
}

.wd-tool--cart .wd-tool__cart svg {
  width: 20px;
  height: 20px;
  stroke: #fff;
}

/* el número de productos va encima del círculo */
.wd-tool--cart .wd-tool__count {
  top: -4px;
  right: -4px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  background: var(--wd-dark);
  color: #fff;
  border: 2px solid #fff;
  font-size: 10px;
  font-weight: 700;
}

/* El botón mantiene el trazo de 22px pero amplía el área táctil a 44px. */
.wd-burger {
  display: none;
  width: 44px;
  height: 44px;
  padding: 12px 11px;
}

.wd-burger span {
  display: block;
  height: 2px;
  background: var(--wd-dark);
  border-radius: 2px;
  transition: transform var(--wd-t), opacity var(--wd-t);
}

.wd-burger span + span {
  margin-top: 5px;
}

/* ======================================================================
   HERO · slider de banners
   ====================================================================== */

.wd-hero {
  position: relative;
  background: #fff;
  overflow: hidden;
}

.wd-hero__viewport {
  position: relative;
  min-height: 600px;
}

.wd-hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(28px);
  transition: opacity 0.6s var(--wd-ease), transform 0.6s var(--wd-ease),
    visibility 0s linear 0.6s;
}

.wd-hero__slide.is-active {
  position: relative;
  min-height: 600px;
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.6s var(--wd-ease), transform 0.6s var(--wd-ease),
    visibility 0s linear 0s;
}

/* imagen anclada a la derecha, como en la referencia */
.wd-hero__media {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 52%;
  z-index: 0;
  overflow: hidden;
}

.wd-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.9s var(--wd-ease);
}

/* el <picture> del banner de campaña debe llenar el bloque igual que la foto */
.wd-hero__media picture {
  display: block;
  width: 100%;
  height: 100%;
}

/* leve zoom al activarse el banner */
.wd-hero__slide.is-active .wd-hero__media img {
  transform: scale(1.03);
}

/* velo blanco: legibilidad del texto a la izquierda, imagen limpia a la derecha */
.wd-hero__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0.99) 0%,
    rgba(255, 255, 255, 0.95) 34%,
    rgba(255, 255, 255, 0.35) 52%,
    rgba(255, 255, 255, 0) 68%
  );
}

.wd-hero__content {
  position: relative;
  z-index: 2;
  /* solo vertical: el padding lateral lo aporta el .container */
  padding-top: 100px;
  padding-bottom: 100px;
}

/* --- banner de campaña (Black Friday) ---------------------------------
   El banner es una imagen 16:9 propia: ocupa todo el ancho y el texto va
   en blanco sobre la mitad izquierda, que la imagen deja oscura. */
.wd-hero__slide:is(.wd-hero__slide--bf, .wd-hero__slide--cm) {
  min-height: 620px;
}

:is(.wd-hero__slide--bf, .wd-hero__slide--cm) .wd-hero__media {
  width: 100%;
}

/* el graffiti está a la derecha: se prioriza ese lado al recortar */
:is(.wd-hero__slide--bf, .wd-hero__slide--cm) .wd-hero__media img {
  object-position: right center;
}

:is(.wd-hero__slide--bf, .wd-hero__slide--cm) .wd-hero__shade {
  background: linear-gradient(
    to right,
    rgba(8, 4, 20, 0.92) 0%,
    rgba(8, 4, 20, 0.78) 32%,
    rgba(8, 4, 20, 0.3) 52%,
    rgba(8, 4, 20, 0) 70%
  );
}

:is(.wd-hero__slide--bf, .wd-hero__slide--cm) .wd-hero__title {
  color: #fff;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

:is(.wd-hero__slide--bf, .wd-hero__slide--cm) .wd-hero__text {
  color: rgba(255, 255, 255, 0.88);
}

:is(.wd-hero__slide--bf, .wd-hero__slide--cm) .wd-hero__eyebrow {
  background: linear-gradient(90deg, #ff2fb3, #00e5ff);
  color: #12002b;
  box-shadow: 0 0 24px rgba(255, 47, 179, 0.45);
}

:is(.wd-hero__slide--bf, .wd-hero__slide--cm) .btn--outline {
  --btn-bg: transparent;
  --btn-fg: #fff;
  border-color: rgba(255, 255, 255, 0.75);
}

:is(.wd-hero__slide--bf, .wd-hero__slide--cm) .btn--outline:hover {
  --btn-bg: #fff;
  --btn-fg: #14002b;
  border-color: #fff;
}

/* el CTA principal del banner de campaña va en degradado neón */
:is(.wd-hero__slide--bf, .wd-hero__slide--cm) .btn:not(.btn--outline) {
  --btn-fg: #fff;
  background: linear-gradient(90deg, #ff2fb3, #7b2bff);
  box-shadow: 0 10px 26px rgba(255, 47, 179, 0.32);
}

:is(.wd-hero__slide--bf, .wd-hero__slide--cm) .btn:not(.btn--outline):hover {
  background: linear-gradient(90deg, #ff52c4, #8f4bff);
}

@media (max-width: 1024px) {
  :is(.wd-hero__slide--bf, .wd-hero__slide--cm) {
    min-height: 0;
  }

  /* En tablet y móvil el banner se parte en dos bloques bien separados: la
     imagen de campaña arriba (completa, sin recortar) y el texto debajo, sobre
     su propio panel oscuro. Así el graffiti de la imagen nunca se confunde con
     las letras del titular. */
  :is(.wd-hero__slide--bf, .wd-hero__slide--cm) .wd-hero__media {
    height: auto;
    aspect-ratio: 16 / 9;
    background: #06021a;
  }

  :is(.wd-hero__slide--bf, .wd-hero__slide--cm) .wd-hero__media img {
    object-fit: cover;
    object-position: center;
  }

  /* velo suave solo sobre la parte alta de la foto: el panel de texto lleva
     su propio fondo, no depende del velo para leerse */
  :is(.wd-hero__slide--bf, .wd-hero__slide--cm) .wd-hero__shade {
    background: linear-gradient(
      180deg,
      rgba(8, 4, 20, 0.55) 0%,
      rgba(8, 4, 20, 0.08) 40%,
      rgba(8, 4, 20, 0) 70%
    );
  }

  :is(.wd-hero__slide--bf, .wd-hero__slide--cm) .wd-hero__content {
    background: #0b0420;
    /* solo vertical: el padding lateral lo aporta el .container */
    padding-top: 26px;
    padding-bottom: 72px;
  }
}

/* En móvil la pieza de campaña es vertical: el graffiti va centrado en el
   cuadro (imagen propia), no a un lado como en el banner de escritorio. */
@media (max-width: 767px) {
  :is(.wd-hero__slide--bf, .wd-hero__slide--cm) .wd-hero__media {
    aspect-ratio: 4 / 3;
    border-bottom: 2px solid rgba(255, 47, 179, 0.55);
  }

  :is(.wd-hero__slide--bf, .wd-hero__slide--cm) .wd-hero__content {
    padding-top: 24px;
    padding-bottom: 76px;
  }

  :is(.wd-hero__slide--bf, .wd-hero__slide--cm) .wd-hero__title {
    font-size: clamp(30px, 8vw, 40px);
  }
}

.wd-hero__content > * {
  max-width: 620px;
}

.wd-hero__eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(46, 107, 198, 0.1);
  color: var(--wd-primary-color);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.wd-hero__title {
  font-size: clamp(40px, 5.4vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #000;
  max-width: 640px;
}

.wd-hero__text {
  margin: 22px 0 34px;
  max-width: 470px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--wd-text-color);
}

.wd-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* flechas: par vertical sobre la imagen, para no pisar el texto */
.wd-hero__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--wd-dark-2);
  cursor: pointer;
  opacity: 0.75;
  transition: opacity var(--wd-t-fast), color var(--wd-t-fast), background var(--wd-t-fast),
    box-shadow var(--wd-t-fast);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.wd-hero__arrow:hover {
  opacity: 1;
  color: var(--wd-primary-color);
  background: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.16);
}

.wd-hero__arrow svg {
  width: 18px;
  height: 18px;
}

.wd-hero__arrow--prev {
  right: 76px;
}

.wd-hero__arrow--next {
  right: 22px;
}

/* paginación */
.wd-hero__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 0;
}

.wd-hero__dot {
  position: relative;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  display: grid;
  place-items: center;
}

/* el punto visible es pequeño, pero el botón sí tiene 40px de área táctil */
.wd-hero__dot::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.18);
  transition: background var(--wd-t-fast), transform var(--wd-t-fast), width var(--wd-t-fast);
}

.wd-hero__dot:hover::before {
  background: rgba(0, 0, 0, 0.4);
}

.wd-hero__dot.is-active::before {
  width: 28px;
  border-radius: 999px;
  background: var(--wd-primary-color);
}

@media (max-width: 1024px) {
  .wd-hero__viewport {
    min-height: 0;
  }
  .wd-hero__slide,
  .wd-hero__slide.is-active {
    min-height: 0;
    padding-top: 0;
  }
  .wd-hero__media {
    position: relative;
    width: 100%;
    height: 320px;
    order: -1;
  }
  .wd-hero__shade {
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0) 55%,
      rgba(255, 255, 255, 0.96) 100%
    );
  }
  .wd-hero__content {
    padding-top: 26px;
    padding-bottom: 64px;
    /* en el layout apilado (imagen arriba, texto abajo) el titular va
       centrado: así el bloque se lee como una pieza, no pegado al borde */
    text-align: center;
  }

  .wd-hero__actions {
    justify-content: center;
  }
}

/* Puntos y flechas en pantallas estrechas.
   Este bloque va DESPUÉS de las reglas base: una media query no gana por sí
   sola, así que si se pone antes el navegador aplica la regla base posterior. */
@media (max-width: 1024px) {
  /* los puntos van sobre una píldora translúcida: así se leen igual sobre el
     panel oscuro del banner de campaña y sobre el fondo claro de los demás */
  .wd-hero__dots {
    bottom: 12px;
    left: 50%;
    right: auto;
    width: max-content;
    transform: translateX(-50%);
    padding: 2px 10px;
    border-radius: 999px;
    background: rgba(12, 6, 28, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }

  .wd-hero__dot::before {
    background: rgba(255, 255, 255, 0.55);
  }

  .wd-hero__dot.is-active::before {
    background: #ff2fb3;
  }

  /* las flechas flotan sobre la foto con borde claro: nada de discos grises
     encima del graffiti */
  .wd-hero__arrow {
    opacity: 1;
    /* centro de la banda de 320px de los banners del catálogo */
    top: 160px;
    background: rgba(12, 6, 28, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.65);
    color: #fff;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.28);
  }

  /* en el banner de campaña la banda es 16:9: se centran dentro de la foto */
  .wd-hero.is-campaign .wd-hero__arrow {
    top: 28.125vw;
  }

  .wd-hero__arrow:hover {
    background: rgba(12, 6, 28, 0.78);
    color: #fff;
  }
}

@media (max-width: 767px) {
  .wd-hero__media {
    height: 240px;
  }
  .wd-hero__title {
    font-size: clamp(32px, 8.5vw, 44px);
  }
  .wd-hero__text {
    margin: 16px 0 26px;
    font-size: 15px;
  }
  .wd-hero__arrow {
    /* en móvil las flechas estorban sobre la foto: el hero se desliza con el
       dedo y los puntos quedan como navegación */
    display: none;
  }
  .wd-hero__dots {
    bottom: 16px;
  }
}

/* ======================================================================
   CATEGORÍAS (tira de acceso rápido)
   ====================================================================== */

.wd-cat-strip {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 18px;
}

.wd-cat-card {
  display: block;
  text-align: center;
  padding: 26px 12px 20px;
  border: 1px solid var(--wd-border-soft);
  border-radius: var(--wd-radius-lg);
  background: #fff;
  transition: border-color var(--wd-t), transform var(--wd-t), box-shadow var(--wd-t);
}

.wd-cat-card:hover {
  border-color: rgba(var(--wd-primary-color-rgb), 0.35);
  transform: translateY(-4px);
  box-shadow: var(--wd-shadow-card);
  color: inherit;
}

.wd-cat-card__icon {
  width: 46px;
  height: 46px;
  margin: 0 auto 12px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--wd-surface);
  color: var(--wd-primary-color);
  transition: background var(--wd-t), color var(--wd-t);
}

.wd-cat-card:hover .wd-cat-card__icon {
  background: var(--wd-primary-color);
  color: #fff;
}

.wd-cat-card__icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wd-cat-card__name {
  font-family: var(--wd-title-font);
  font-size: 14px;
  font-weight: 600;
  color: var(--wd-dark-2);
  line-height: 1.25;
}

.wd-cat-card__count {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  color: var(--wd-text-color);
}

@media (max-width: 1024px) {
  .wd-cat-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .wd-cat-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
}

/* ======================================================================
   FOOTER
   ====================================================================== */

.wd-footer {
  margin-top: 80px;
  padding: 70px 0 0;
  background: var(--wd-dark);
  color: rgba(255, 255, 255, 0.62);
}

.wd-footer__cols {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 46px;
  padding-bottom: 56px;
}

.wd-footer__title {
  font-size: 16px;
  color: #fff;
  margin-bottom: 18px;
}

.wd-footer__list li + li {
  margin-top: 10px;
}

.wd-footer__list a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.62);
}

.wd-footer__list a:hover {
  color: #fff;
}

.wd-footer__brand p {
  font-size: 14px;
  max-width: 320px;
  margin-top: 14px;
}

/* Mención de campaña en el pie: el Ciber Monday, sin tapar el resto. */
.wd-footer__promo {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #ffd23b;
}

.wd-footer__social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.wd-footer__social a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  transition: background var(--wd-t);
}

.wd-footer__social a:hover {
  background: var(--wd-primary-color);
}

.wd-footer__social svg {
  width: 16px;
  height: 16px;
}

.wd-footer__social svg:not(.ic-fill) {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wd-footer__social svg.ic-fill {
  fill: currentColor;
  stroke: none;
}

.wd-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
}

.wd-footer__bottom a:hover {
  color: #fff;
}

@media (max-width: 900px) {
  .wd-footer__cols {
    grid-template-columns: repeat(2, 1fr);
    gap: 34px;
  }
}

@media (max-width: 560px) {
  .wd-footer__cols {
    grid-template-columns: 1fr;
  }
  .wd-footer__bottom {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
}

/* ======================================================================
   BARRA INFERIOR MÓVIL + VOLVER ARRIBA
   ====================================================================== */

.wd-bottom-toolbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 110;
  display: none;
  background: #fff;
  border-top: 1px solid var(--wd-border);
  box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.06);
  padding: 8px 4px calc(8px + env(safe-area-inset-bottom));
}

.wd-bottom-toolbar__item {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 4px 2px;
  color: var(--wd-dark-2);
  font-size: 11px;
  font-weight: 600;
}

.wd-bottom-toolbar__item svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wd-bottom-toolbar__item .badge {
  position: absolute;
  top: -2px;
  left: calc(50% + 6px);
}

.wd-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 115;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--wd-border);
  color: var(--wd-dark-2);
  box-shadow: var(--wd-shadow-card);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity var(--wd-t), transform var(--wd-t), visibility var(--wd-t), color var(--wd-t-fast);
}

.wd-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.wd-to-top:hover {
  color: var(--wd-primary-color);
}

.wd-to-top svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 1024px) {
  .wd-bottom-toolbar {
    display: flex;
  }
  .wd-to-top {
    bottom: 78px;
  }
  body {
    padding-bottom: 66px;
  }
}

/* ======================================================================
   NAVEGACIÓN MÓVIL
   ====================================================================== */

@media (max-width: 1300px) {
  .wd-header__logo img,
  .wd-header__logo svg {
    height: 54px;
    max-width: 240px;
  }
}

@media (max-width: 480px) {
  .wd-header__logo img,
  .wd-header__logo svg {
    height: 42px;
    max-width: 190px;
  }
}

@media (max-width: 1024px) {
  .wd-nav {
    display: none;
  }
  .wd-burger {
    display: block;
    margin-left: auto;
  }
  .wd-header__row {
    gap: 16px;
  }
}

.wd-mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: #fff;
  transform: translateX(-100%);
  transition: transform var(--wd-t-slow);
  overflow-y: auto;
  padding: 22px 0 60px;
}

.wd-mobile-nav.is-open {
  transform: translateX(0);
}

.wd-mobile-nav__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px 22px;
  border-bottom: 1px solid var(--wd-border-soft);
}

.wd-mobile-nav__list {
  padding: 12px 24px;
}

.wd-mobile-nav__list > li {
  border-bottom: 1px solid var(--wd-border-soft);
}

.wd-mobile-nav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
  font-family: var(--wd-title-font);
  font-size: 16px;
  font-weight: 600;
  color: var(--wd-dark-2);
}

.wd-mobile-nav__sub {
  padding: 0 0 14px 14px;
}

.wd-mobile-nav__sub a {
  display: block;
  padding: 7px 0;
  font-size: 14px;
  color: var(--wd-text-color);
}

.wd-overlay {
  position: fixed;
  inset: 0;
  z-index: 190;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--wd-t), visibility var(--wd-t);
}

.wd-overlay.is-open {
  opacity: 1;
  visibility: visible;
}
