/*
 * Vila — tienda editorial. Colores compartidos en brand.css.
 */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; max-width: 100%; }
#primary.site-main { overflow-x: clip; max-width: 100%; }
body { margin: 0; color: var(--shoe-ink); background: var(--shoe-paper); font-family: "DM Sans", "Inter", sans-serif; }
/* Bloqueo de scroll del menú móvil.
   overflow:hidden por sí solo no sujeta a iOS Safari: el fondo se sigue
   moviendo bajo el panel y al cerrar la página aparece en otro punto. Fijando
   el body sí se queda quieto; el JS guarda la posición en `top` y la restaura
   al cerrar. */
body.menu-open {
  position: fixed;
  width: 100%;
  overflow: hidden;
}
body :where(p, ul, ol) { line-height: 1.58; }
a { color: inherit; }
/* Iconos SVG (inc/icons.php): miden 1em y toman el color del texto, como
   el glifo de la fuente de Material Symbols a la que sustituyen. */
.material-symbols-outlined { display: inline-block; flex-shrink: 0; width: 1em; height: 1em; font-size: 24px; vertical-align: baseline; fill: currentColor; }
.material-symbols-outlined .cite-icon-fill { display: none; }
.material-symbols-outlined.fill-1 .cite-icon-fill { display: inline; }
/* Iconos de línea (cite_icon_lines): trazo, sin relleno salvo .cite-icon-fill. */
.material-symbols-outlined.cite-icon-line { fill: none; }
.material-symbols-outlined.cite-icon-line .cite-icon-fill { fill: currentColor; }
.w-100 { width: 100%; }
section + footer { margin-top: 0; }
.container { width: min(100%, 1440px); margin-right: auto; margin-left: auto; padding-left: 32px; padding-right: 32px; }
/* Ancho completo (Personalizar › Ancho del sitio): sin tope, el margen lateral crece con la pantalla. */
.cite-width-completo .container { width: 100%; max-width: none; padding-left: clamp(18px, 3.2vw, 64px); padding-right: clamp(18px, 3.2vw, 64px); }

/* ----- Páginas: migas y título (inc/header.php) ----- */
.cite-page-head {
  padding-top: clamp(28px, 3.5vw, 44px);
  padding-bottom: clamp(20px, 2.5vw, 32px);
  border-bottom: 1px solid var(--shoe-line);
  margin-bottom: clamp(28px, 3.5vw, 48px);
}
.cite-page-head__crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin: 0 0 12px;
  color: var(--shoe-ink-soft);
  font-size: 12.5px;
}
.cite-page-head__crumbs a {
  color: var(--shoe-ink-soft);
  font-weight: 400;
  text-decoration: none;
  transition: color .2s ease;
}
.cite-page-head__crumbs a:hover {
  color: var(--shoe-clay);
}
.cite-page-head__crumbs [aria-hidden] {
  color: var(--shoe-line);
  font-weight: 400;
}
.cite-page-head__crumbs [aria-current="page"] {
  color: var(--shoe-ink);
  font-weight: 600;
}
.cite-page-head__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  color: var(--shoe-clay, #b85d38);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.cite-page-head__title {
  margin: 0;
  color: var(--shoe-ink);
  font-family: var(--cite-font-title, "Bodoni Moda", Georgia, serif);
  font-size: clamp(32px, 4.2vw, 52px);
  font-weight: 400;
  letter-spacing: -.03em;
  line-height: 1.1;
}

/* Cuerpo de página editorial / por defecto */
.cite-page-body {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: clamp(56px, 7vw, 100px);
  color: var(--shoe-ink);
  font-size: 15.5px;
  line-height: 1.8;
}
.cite-page-body > * + * {
  margin-top: 1.25em;
}
.cite-page-body > :is(h2, h3, h4) {
  margin-top: 2.2em;
  margin-bottom: .6em;
  font-family: var(--cite-font-title, "Bodoni Moda", Georgia, serif);
  font-weight: 400;
  letter-spacing: -.02em;
  line-height: 1.25;
  color: var(--shoe-ink);
}
.cite-page-body > h2 {
  font-size: clamp(22px, 2.4vw, 28px);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--shoe-line);
}
.cite-page-body > h3 {
  font-size: clamp(18px, 1.9vw, 22px);
}
.cite-page-body p {
  margin: 0 0 1.25em;
  color: var(--shoe-ink);
}
.cite-page-body > :is(ul, ol),
.cite-page-body ul:not([class]),
.cite-page-body ol:not([class]) {
  padding-left: 1.5em;
  margin: 1.25em 0;
}
.cite-page-body li {
  margin-bottom: .6em;
  line-height: 1.65;
}
.cite-page-body li::marker {
  color: var(--shoe-clay, #b85d38);
  font-weight: 700;
}
.cite-page-body a:not([class]) {
  color: var(--shoe-clay, #b85d38);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity .15s ease;
}
.cite-page-body a:not([class]):hover {
  opacity: .8;
}

/* Bloques de notas y destacados */
.cite-page-body blockquote,
.cite-page-body .cite-callout {
  margin: 1.8em 0;
  padding: 18px 24px;
  background: var(--shoe-sand, #f7f5f0);
  border-left: 3px solid var(--shoe-clay, #b85d38);
  border-radius: 0 var(--shoe-radius, 4px) var(--shoe-radius, 4px) 0;
  color: var(--shoe-ink);
  font-size: 14.5px;
  line-height: 1.65;
}
.cite-page-body blockquote p:last-child {
  margin-bottom: 0;
}

/* Tarjeta resumen para páginas de políticas */
.cite-policy-intro {
  padding: clamp(20px, 2.5vw, 28px);
  background: var(--shoe-sand, #f7f5f0);
  border: 1px solid var(--shoe-line);
  border-left: 4px solid var(--shoe-ink);
  border-radius: var(--shoe-radius, 4px);
  margin-bottom: 2.2em;
}
.cite-policy-intro__lead {
  font-size: clamp(15.5px, 1.8vw, 17px);
  font-weight: 500;
  line-height: 1.65;
  margin: 0 0 14px;
  color: var(--shoe-ink);
}
.cite-policy-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin: 14px 0 0;
  padding: 14px 0 0 !important;
  border-top: 1px solid rgba(0, 0, 0, .08);
  list-style: none !important;
}
.cite-policy-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: #fff;
  border: 1px solid var(--shoe-line);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--shoe-ink);
  margin-bottom: 0 !important;
}
.cite-policy-badge svg {
  color: #2f6b45;
  flex-shrink: 0;
}

/* Pasos estructurados */
.cite-policy-step {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 1.25em;
  padding: 18px 22px;
  background: #fff;
  border: 1px solid var(--shoe-line);
  border-radius: var(--shoe-radius, 4px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .02);
}
.cite-policy-step__num {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  background: var(--shoe-ink);
  color: #fff;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 700;
  margin-top: 2px;
}
.cite-policy-step__content h3 {
  margin: 0 0 6px !important;
  font-family: inherit !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  color: var(--shoe-ink) !important;
  border-bottom: 0 !important;
  padding-bottom: 0 !important;
}
.cite-policy-step__content p {
  margin: 0 !important;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--shoe-ink-soft);
}

/* Tarjeta de contacto y soporte al cliente */
.cite-policy-contact {
  margin-top: 3.5em;
  padding: clamp(24px, 3.5vw, 36px);
  background: var(--shoe-sand, #f7f5f0);
  border: 1px solid var(--shoe-line);
  border-radius: var(--shoe-radius, 4px);
  text-align: center;
}
.cite-policy-contact__title {
  margin: 0 0 8px;
  font-family: var(--cite-font-title, "Bodoni Moda", Georgia, serif);
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 400;
  color: var(--shoe-ink);
}
.cite-policy-contact__desc {
  max-width: 520px;
  margin: 0 auto 22px;
  font-size: 14.5px;
  color: var(--shoe-ink-soft);
  line-height: 1.6;
}
.cite-policy-contact__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
}
.cite-policy-contact__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 22px;
  border-radius: var(--shoe-radius, 4px);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none !important;
  transition: all .2s ease;
}
.cite-policy-contact__btn--wa {
  background: #25d366;
  color: #fff !important;
}
.cite-policy-contact__btn--wa:hover {
  background: #20ba59;
}
.cite-policy-contact__btn--email {
  background: var(--shoe-ink);
  color: #fff !important;
}
.cite-policy-contact__btn--email:hover {
  background: var(--shoe-clay);
}
.cite-policy-contact__btn--lr {
  background: #fff;
  color: var(--shoe-ink) !important;
  border: 1px solid var(--shoe-line);
}
.cite-policy-contact__btn--lr:hover {
  border-color: var(--shoe-ink);
}

/* ----- Compra: cabecera con pasos, avisos y garantías ----- */
/* Los comparten carrito, checkout y pedido recibido (inc/cart.php). */
.cite-cart-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 32px; margin-bottom: clamp(20px, 3vw, 28px); padding-bottom: 18px; border-bottom: 1px solid var(--shoe-line); }
.cite-cart-head__title { margin: 0; color: var(--shoe-ink); font-family: var(--cite-font-title, "Bodoni Moda", Georgia, serif); font-size: clamp(30px, 3.4vw, 40px); font-weight: 400; letter-spacing: -.02em; line-height: 1.1; }

/* Pasos: los hechos con check, el actual en tinta y los siguientes apagados, unidos por una línea. */
.cite-cart-steps { display: flex; align-items: center; gap: 10px; margin: 0 0 4px; padding: 0; list-style: none; }
.cite-cart-steps li, .cite-cart-steps a { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--shoe-ink-soft); font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-decoration: none; text-transform: uppercase; white-space: nowrap; }
.cite-cart-steps a:hover { color: var(--shoe-clay); }
.cite-cart-steps li + li::before { width: 28px; height: 1px; margin-right: 2px; content: ""; background: var(--shoe-line); }
.cite-cart-steps span { display: grid; flex: 0 0 auto; width: 22px; height: 22px; place-items: center; border: 1px solid var(--shoe-line); border-radius: 50%; font-size: 10px; letter-spacing: 0; }
.cite-cart-steps .is-done, .cite-cart-steps .is-done a { color: var(--shoe-ink); }
.cite-cart-steps .is-done span { border-color: var(--shoe-ink); }
.cite-cart-steps .is-current { color: var(--shoe-ink); }
.cite-cart-steps .is-current span { border-color: var(--shoe-ink); color: #fff; background: var(--shoe-ink); }

/* Avisos de WooCommerce en todo el sitio: añadido al carrito, errores del checkout… */
.woocommerce-notices-wrapper:empty { display: none; }
body .woocommerce-message, body .woocommerce-info, body .woocommerce-error { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; margin: 0 0 18px; padding: 14px 18px; border: 0; border-left: 2px solid var(--shoe-ink); border-radius: 0; color: var(--shoe-ink); background: #fff; font-size: 13.5px; line-height: 1.55; list-style: none; box-shadow: 0 0 0 1px var(--shoe-line) inset; }
body :is(.woocommerce-message, .woocommerce-info, .woocommerce-error)::before,
body :is(.woocommerce-message, .woocommerce-info, .woocommerce-error)::after { display: none; }
body .woocommerce-message { border-left-color: #2f6b45; }
body .woocommerce-error { border-left-color: var(--shoe-clay); color: var(--shoe-clay-dark); }
body .woocommerce-error li { margin: 0; }
/* Varios errores: lista en columnas con título, no piezas repartidas por el flex. */
body .woocommerce-error:has(li + li) { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); align-items: start; gap: 8px 32px; padding: 18px 22px 20px; }
body .woocommerce-error:has(li + li)::before { display: block; grid-column: 1 / -1; margin-bottom: 6px; padding-bottom: 10px; border-bottom: 1px solid var(--shoe-line); position: static; color: var(--shoe-ink); content: "Revisa lo siguiente para continuar"; font-family: inherit; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
/* woocommerce.css fuerza padding-left:0 !important en los li: la viñeta va como ítem flex. */
body .woocommerce-error:has(li + li) li { display: flex; align-items: baseline; gap: 10px; }
body .woocommerce-error:has(li + li) li::before { flex: none; width: 6px; height: 6px; background: var(--shoe-clay); border-radius: 50%; transform: translateY(-.25em); content: ""; }
body .woocommerce-error a { color: inherit; text-decoration: none; }
body .woocommerce-error a:hover { text-decoration: underline; text-underline-offset: 3px; }
body :is(.woocommerce-message, .woocommerce-info) a { color: var(--shoe-ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
body :is(.woocommerce-message, .woocommerce-info) a:hover { color: var(--shoe-clay); }
/* «Ver carrito» y similares: enlace al final del aviso, no un botón gris flotando. */
body :is(.woocommerce-message, .woocommerce-info, .woocommerce-error) .button { order: 2; float: none; min-height: 0; margin: 0; padding: 0 0 2px; color: var(--shoe-ink); background: none; border: 0; border-bottom: 1px solid currentColor; border-radius: 0; font-size: 11px; font-weight: 800; letter-spacing: .12em; line-height: 1.4; text-decoration: none; text-transform: uppercase; }
body :is(.woocommerce-message, .woocommerce-info, .woocommerce-error) .button:hover { color: var(--shoe-clay); background: none; }

/* Garantías y medios de pago bajo el botón de pago. */
.cite-cart-trust { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--shoe-line); }
.cite-cart-trust__list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.cite-cart-trust__list li { display: flex; align-items: center; gap: 9px; margin: 0; color: var(--shoe-ink-soft); font-size: 12.5px; line-height: 1.4; }
.cite-cart-trust__list svg { flex: 0 0 auto; color: #2f6b45; }
.cite-cart-trust__pay { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.cite-cart-trust__pay .cite-payments__icon { width: 44px; height: 26px; border: 1px solid var(--shoe-line); border-radius: 3px; color: var(--shoe-ink-soft); background: var(--shoe-paper); }

@media (max-width: 600px) {
  .cite-cart-head { flex-direction: column; align-items: stretch; gap: 14px; }
  /* Los pasos ocupan el ancho completo con líneas flexibles entre ellos. */
  .cite-cart-steps { width: 100%; justify-content: space-between; gap: 0; }
  .cite-cart-steps li, .cite-cart-steps a { gap: 6px; font-size: 9.5px; }
  .cite-cart-steps li:not(.is-current), .cite-cart-steps li:not(.is-current) a { font-size: 0; gap: 0; }
  .cite-cart-steps li + li { display: flex; flex: 1 1 auto; align-items: center; }
  .cite-cart-steps li + li::before { flex: 1; width: auto; min-width: 12px; margin: 0 8px; }
}

/* Shared headings, copy and CTAs */
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 { font-family: var(--cite-font-title, "Bodoni Moda", Georgia, serif); font-weight: 400; letter-spacing: -.045em; }
/* H1 de la página cuando ningún bloque trae uno (cite_h1_unico): fuera de la vista, pero en el HTML para Google y lectores de pantalla. */
.cite-h1-oculto { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }

/* Tarjetas y listados de producto */
.ListProduct, .woocommerce ul.products { gap: 18px !important; }
/* Listados de WooCommerce (tienda, [products]): misma rejilla que el listado del módulo de productos. */
.woocommerce ul.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
@media (max-width: 1023px) { .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .woocommerce ul.products { grid-template-columns: minmax(0, 1fr); } }
.itemProductH { position: relative; min-width: 0; width: 100%; padding: 0 !important; overflow: hidden; color: var(--shoe-ink) !important; background: #fff !important; border: 1px solid var(--shoe-line) !important; border-radius: var(--shoe-radius) !important; box-shadow: none !important; container-type: inline-size; }
.itemProductH > a:first-child { display: block; padding: 10px 10px 0; -webkit-tap-highlight-color: transparent; }
.itemProductH > a:first-child > div { margin-bottom: 0 !important; background: #fff5f8 !important; border-radius: 0 !important; }
.itemProductH > div { padding: 15px 15px 16px; container-type: inline-size; min-width: 0; }
.itemProductH img { mix-blend-mode: multiply; }
.cite-card-img-hover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  z-index: 2;
  pointer-events: none !important;
  transition: opacity .35s ease, transform .45s ease !important;
}
.itemProductH .has-hover-image > img:not(.cite-card-img-hover) {
  transition: opacity .35s ease, transform .45s ease !important;
}

/* Efectos hover en tarjetas: para cualquier dispositivo con soporte de hover (ratón / trackpad) */
@media (hover: hover) {
  .itemProductH { transition: transform .25s ease, box-shadow .25s ease !important; }
  :is(.itemProductH:hover, .itemProductH.group:hover) { box-shadow: var(--shoe-shadow) !important; transform: translateY(-4px); }
  :is(.itemProductH:hover, .itemProductH.group:hover) img { transform: scale(1.055) !important; }
  /* Con imagen secundaria: fundido cruzado limpio a la foto 2 */
  :is(.itemProductH:hover, .itemProductH.group:hover) .has-hover-image > img:not(.cite-card-img-hover) { opacity: 0 !important; }
  :is(.itemProductH:hover, .itemProductH.group:hover) .cite-card-img-hover { opacity: 1 !important; }
}
.itemProductH :is(.lista-badges, .odr-badges) {
  position: absolute !important;
  top: 10px !important;
  left: 10px !important;
  gap: 3px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  z-index: 5 !important;
  max-width: calc(100% - 40px) !important;
  pointer-events: none !important;
}
.itemProductH .lista-badges {
  /* No depender de las utilidades de Tailwind: algunos estilos de plugins
     cambian el display o posicionan la insignia individualmente. */
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
}
.itemProductH .lista-badges > span {
  position: static !important;
  inset: auto !important;
  margin: 0 !important;
  float: none !important;
}
.itemProductH :is(.lista-badges, .odr-badges) .odr-badges__list {
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
}
.itemProductH .lista-badges > span,
.itemProductH .odr-badges .odr-label {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  padding: 4px 6px !important;
  border-radius: 2px !important;
  color: #fff !important;
  background: var(--shoe-ink) !important;
  font-family: inherit !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  letter-spacing: .04em !important;
  line-height: 1 !important;
  text-indent: 0 !important;
  text-transform: uppercase !important;
  box-shadow: none !important;
}
.itemProductH .lista-badges > span.badge-descuento,
.itemProductH .odr-badges .odr-label--descuento {
  background: var(--shoe-clay, #c2593f) !important;
  color: #fff !important;
}
/* ODR agrupa sus etiquetas alrededor de las del tema. Ocultamos únicamente
   su lista propia y dejamos que «Nuevo» + descuento del tema se apilen. */
html body .woocommerce .itemProductH .odr-badges[data-odr-grouped="1"] {
  display: contents !important;
}
html body .woocommerce .itemProductH .odr-badges[data-odr-grouped="1"] > .odr-badges__list:not(.lista-badges) {
  display: none !important;
}
html body .woocommerce .itemProductH .odr-badges[data-odr-grouped="1"] > .lista-badges {
  display: flex !important;
  flex-direction: column !important;
  position: absolute !important;
  top: 10px !important;
  left: 10px !important;
  gap: 3px !important;
}
.itemProductH .hc-wishlist-btn { border-color: transparent !important; border-radius: 0 !important; background: rgba(255,255,255,.92) !important; }
/* Tarjeta de producto: el nombre manda y el precio va debajo, un punto menor.
   Los tamaños siguen el ancho de la tarjeta (cqi), no el de la pantalla, porque
   la misma tarjeta vive en la tienda, el bloque Productos, sliders y relacionados. */
/* Pesos entre 300 y 500: la jerarquía la marcan tamaño y color, no el grosor. */
.itemProductH .text-slate-400 {
  display: block;
  min-width: 0;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #6f665e !important;
  font-size: clamp(9.5px, 3.8cqi, 11px) !important;
  font-weight: 500 !important;
  letter-spacing: .08em;
  line-height: 1.3;
  height: 1.3em;
  margin-bottom: 3px;
}
.itemProductH a.block { display: block; min-width: 0; max-width: 100%; text-decoration: none; }
.itemProductH h3 {
  min-width: 0;
  max-width: 100%;
  margin-bottom: 4px !important;
  color: var(--shoe-ink);
  font-family: var(--cite-font-content, "DM Sans", sans-serif) !important;
  font-size: clamp(12.5px, 4.8cqi, 15.5px) !important;
  font-weight: 500;
  letter-spacing: -.015em;
  line-height: 1.28;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  word-break: break-word;
}
.hc-price, .itemProductH .woocommerce-Price-amount { color: var(--shoe-ink); font-family: var(--cite-font-price, "DM Sans", sans-serif); font-size: 17px; font-weight: 800; }
.itemProductH .hc-price, .itemProductH .woocommerce-Price-amount { font-size: clamp(12.5px, 4.6cqi, 15px); font-weight: 600; letter-spacing: .01em; }
.itemProductH .hc-price { margin-bottom: 7px !important; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px; }
.hc-price del { margin-right: 4px; color: #999087; font-size: 12px; font-weight: 500; }
.itemProductH .hc-price del { font-size: clamp(10.5px, 3.8cqi, 12px); font-weight: 400; }
/* El importe tachado toma el tamaño del del: si no, la línea (medida a 12px) cae alta sobre un texto de 17px. */
.itemProductH del .woocommerce-Price-amount { color: inherit; font-size: inherit; font-weight: inherit; }
.hc-price ins { color: var(--shoe-clay); text-decoration: none; }
:is(.itemProductH, .woocommerce .itemProductH) :is(.button, a.button) {
  min-height: 40px;
  background: var(--shoe-ink) !important;
  border-radius: 0 !important;
  color: #fff !important;
  text-decoration: none !important;
  font-size: clamp(10px, 4cqi, 11.5px) !important;
  font-weight: 500 !important;
  letter-spacing: .08em;
  text-transform: uppercase;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 0 14px !important;
  line-height: 1 !important;
}
@media (hover: hover) and (pointer: fine) {
  :is(.itemProductH:not(.itemProductH--btn-floating), .woocommerce .itemProductH:not(.itemProductH--btn-floating)) :is(.button, a.button):hover { background: var(--shoe-clay) !important; color: #fff !important; }
}
/* Icono centrado alineado al eje visual medio del botón */
.itemProductH .button .cite-icon-line { font-size: 16px; position: static; top: 0; margin: 0; }
.itemProductH .button :is(.cite-btn-text, span:not(.material-symbols-outlined):not(.cite-wishlist-spinner)) { display: inline-flex; align-items: center; line-height: 1; transform: translateY(0.5px); text-indent: 0.05em; }
/* Añadir por AJAX: el botón no se apaga ni salta. Mientras carga, un spinner
   ocupa el sitio del icono; al terminar, un check. El minicarrito se abre solo,
   así que el «Ver carrito» que inserta WooCommerce sobra en la tarjeta. */
.itemProductH .button::after { display: none !important; }
.itemProductH .button.loading { opacity: 1 !important; pointer-events: none; cursor: progress; }
.itemProductH .button:is(.loading, .added) .cite-icon-line { display: none; }
.itemProductH .button:is(.loading, .added)::before { content: ""; flex: 0 0 auto; box-sizing: border-box; width: 14px; height: 14px; }
.itemProductH .button.loading::before { border: 1.5px solid rgba(255, 255, 255, .35); border-top-color: #fff; border-radius: 50%; animation: cite-card-spin .7s linear infinite; }
.itemProductH .button.added::before { width: 13px; height: 7px; margin-top: -4px; border: solid currentColor; border-width: 0 0 1.5px 1.5px; transform: rotate(-45deg); }
.added_to_cart, .itemProductH .added_to_cart { display: none !important; }
@keyframes cite-card-spin { to { transform: rotate(360deg); } }
/* Tarjeta estrecha (2 por fila en móvil): sin icono en el botón para que el texto quepa en una línea; insignias más compactas. */
@container (max-width: 220px) {
  .itemProductH :is(.lista-badges, .odr-badges) { gap: 3px !important; top: 7px !important; left: 7px !important; }
  .itemProductH .lista-badges > span,
  .itemProductH .odr-badges .odr-label { padding: 3px 5px !important; font-size: 9px !important; letter-spacing: .03em !important; }
  :is(.itemProductH:not(.itemProductH--btn-floating), .woocommerce .itemProductH:not(.itemProductH--btn-floating)) :is(.button, a.button) {
    min-height: 35px !important;
    font-size: 9.5px !important;
    letter-spacing: .03em !important;
    padding: 0 4px !important;
    gap: 0 !important;
    white-space: nowrap !important;
  }
  .itemProductH:not(.itemProductH--btn-floating) .button .cite-icon-line,
  .itemProductH:not(.itemProductH--btn-floating) .button:is(.loading, .added)::before { display: none !important; }
  :is(.itemProductH.itemProductH--btn-floating, .woocommerce .itemProductH.itemProductH--btn-floating) :is(.button, a.button) {
    top: 4px !important;
    right: 4px !important;
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    max-width: 28px !important;
    min-height: 28px !important;
    max-height: 28px !important;
  }
  :is(.itemProductH.itemProductH--clean.itemProductH--btn-floating, .woocommerce .itemProductH.itemProductH--clean.itemProductH--btn-floating) :is(.button, a.button) {
    top: 1px !important;
    right: 1px !important;
  }
  .itemProductH--btn-floating :is(.button, a.button) svg {
    width: 15px !important;
    height: 15px !important;
    min-width: 15px !important;
    min-height: 15px !important;
  }
  .itemProductH--btn-floating .cite-btn-tooltip {
    padding: 2.5px 4.5px 2px !important;
    font-size: 7px !important;
    letter-spacing: .05em !important;
    line-height: 1 !important;
    text-indent: 0.03em !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    right: calc(100% - 3px) !important;
  }
}
@container (max-width: 160px) {
  :is(.itemProductH, .woocommerce .itemProductH) :is(.button, a.button) {
    font-size: 8.5px !important;
    letter-spacing: 0 !important;
    padding: 0 3px !important;
  }
}
@media (prefers-reduced-motion: reduce) { .itemProductH .button.loading::before { animation-duration: 2s; } }
.hc-products-slider__nav { width: 42px !important; height: 42px !important; color: var(--shoe-ink) !important; border-color: var(--shoe-line) !important; border-radius: 0 !important; background: #fff !important; box-shadow: var(--shoe-shadow) !important; }
@media (hover: hover) and (pointer: fine) {
  .hc-products-slider__nav:hover { color: #fff !important; background: var(--shoe-clay) !important; border-color: var(--shoe-clay) !important; }
}

/* ----- Opciones de Personalizar: Tarjeta de producto ----- */
/* 1. Tarjeta limpia (sin marco exterior, sin relleno, imagen a los bordes) */
:is(.itemProductH.itemProductH--clean, .cite-shop-bar ~ ul.products .itemProductH.itemProductH--clean) {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}
:is(.itemProductH.itemProductH--clean, .cite-shop-bar ~ ul.products .itemProductH.itemProductH--clean) > a:first-child {
  padding: 0 !important;
}
:is(.itemProductH.itemProductH--clean, .cite-shop-bar ~ ul.products .itemProductH.itemProductH--clean) > a:first-child > div {
  border-radius: 0 !important;
  margin-bottom: 12px !important;
}
:is(.itemProductH.itemProductH--clean, .cite-shop-bar ~ ul.products .itemProductH.itemProductH--clean) > div {
  padding: 0 !important;
}
.itemProductH.itemProductH--clean :is(.lista-badges, .odr-badges) {
  top: 10px !important;
  left: 10px !important;
}
@media (hover: hover) {
  :is(.itemProductH.itemProductH--clean:hover, .itemProductH.itemProductH--clean.group:hover) {
    box-shadow: none !important;
    transform: none !important;
  }
}

/* 2. Alineación centrada */
.itemProductH.itemProductH--center > div {
  text-align: center !important;
  align-items: center !important;
}
.itemProductH.itemProductH--center .text-slate-400 {
  text-align: center !important;
}
.itemProductH.itemProductH--center h3 {
  text-align: center !important;
}
.itemProductH.itemProductH--center .hc-price {
  justify-content: center !important;
  text-align: center !important;
}
.itemProductH.itemProductH--center .mt-auto {
  width: 100%;
}
.itemProductH.itemProductH--center .button {
  margin-left: auto;
  margin-right: auto;
}

/* 3. Botón invertido (outline) */
:is(.itemProductH.itemProductH--btn-invert:not(.itemProductH--btn-floating), .woocommerce .itemProductH.itemProductH--btn-invert:not(.itemProductH--btn-floating)) :is(.button, a.button) {
  background: transparent !important;
  color: var(--shoe-ink, #0f172a) !important;
  border: 1px solid var(--shoe-ink, #0f172a) !important;
  text-decoration: none !important;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease !important;
}
@media (hover: hover) and (pointer: fine) {
  :is(.itemProductH.itemProductH--btn-invert:not(.itemProductH--btn-floating), .woocommerce .itemProductH.itemProductH--btn-invert:not(.itemProductH--btn-floating)) :is(.button, a.button):hover {
    background: var(--shoe-ink, #0f172a) !important;
    color: #fff !important;
    border-color: var(--shoe-ink, #0f172a) !important;
  }
}
.dark :is(.itemProductH.itemProductH--btn-invert:not(.itemProductH--btn-floating), .woocommerce .itemProductH.itemProductH--btn-invert:not(.itemProductH--btn-floating)) :is(.button, a.button) {
  background: transparent !important;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
}
@media (hover: hover) and (pointer: fine) {
  .dark :is(.itemProductH.itemProductH--btn-invert:not(.itemProductH--btn-floating), .woocommerce .itemProductH.itemProductH--btn-invert:not(.itemProductH--btn-floating)) :is(.button, a.button):hover {
    background: #fff !important;
    color: var(--shoe-ink, #0f172a) !important;
    border-color: #fff !important;
  }
}
:is(.itemProductH.itemProductH--btn-invert, .woocommerce .itemProductH.itemProductH--btn-invert) .button.loading::before {
  border-color: rgba(15, 23, 42, .25) !important;
  border-top-color: var(--shoe-ink, #0f172a) !important;
}
.dark :is(.itemProductH.itemProductH--btn-invert, .woocommerce .itemProductH.itemProductH--btn-invert) .button.loading::before {
  border-color: rgba(255, 255, 255, .25) !important;
  border-top-color: #fff !important;
}

/* 4. Botón flotante compacto (arriba en la foto, transparente y sin fondo) */
.itemProductH:not(.itemProductH--btn-floating) .cite-btn-tooltip {
  display: none !important;
}
.itemProductH--btn-floating {
  position: relative !important;
}

/* Base móvil y táctil (mobile-first): botón flotante transparente sin fondo ni bordes */
:is(.itemProductH.itemProductH--btn-floating, .woocommerce .itemProductH.itemProductH--btn-floating) :is(.button, a.button) {
  position: absolute !important;
  top: 6px !important;
  right: 6px !important;
  z-index: 25 !important;
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  max-width: 40px !important;
  min-height: 40px !important;
  max-height: 40px !important;
  padding: 0 !important;
  margin: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  color: var(--shoe-ink) !important;
  cursor: pointer !important;
  opacity: 1 !important;
  transform: none !important;
  pointer-events: auto !important;
  text-decoration: none !important;
  transition: transform .2s cubic-bezier(0.16, 1, 0.3, 1), color .2s ease, opacity .2s ease !important;
}

/* Jamás tener fondo negro ni de color en hover, focus ni active: limpio y transparente siempre */
:is(.itemProductH.itemProductH--btn-floating, .woocommerce .itemProductH.itemProductH--btn-floating) :is(.button, a.button):is(:hover, :focus, :focus-visible, :active),
:is(.itemProductH.itemProductH--btn-floating.itemProductH--btn-invert, .woocommerce .itemProductH.itemProductH--btn-floating.itemProductH--btn-invert) :is(.button, a.button):is(:hover, :focus, :focus-visible, :active),
:is(.itemProductH.itemProductH--clean.itemProductH--btn-floating, .woocommerce .itemProductH.itemProductH--clean.itemProductH--btn-floating) :is(.button, a.button):is(:hover, :focus, :focus-visible, :active) {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  color: var(--shoe-clay) !important;
}

/* En tarjeta limpia sin marco, el botón se apega a la esquina superior derecha de la foto */
:is(.itemProductH.itemProductH--clean.itemProductH--btn-floating, .woocommerce .itemProductH.itemProductH--clean.itemProductH--btn-floating) :is(.button, a.button) {
  top: 2px !important;
  right: 2px !important;
}

/* Ocultar el texto en modo compacto y garantizar visibilidad del icono */
.itemProductH--btn-floating :is(.button, a.button) .cite-btn-text {
  display: none !important;
}
:is(.itemProductH--btn-floating, .woocommerce .itemProductH--btn-floating) :is(.button, a.button) .cite-btn-icon,
:is(.itemProductH--btn-floating, .woocommerce .itemProductH--btn-floating) :is(.button, a.button) .cite-icon-line {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 22px !important;
  height: 22px !important;
  line-height: 1 !important;
  margin: 0 !important;
  color: inherit !important;
  transition: transform .2s cubic-bezier(0.16, 1, 0.3, 1), opacity .2s ease !important;
}
.itemProductH--btn-floating :is(.button, a.button) svg {
  width: 22px !important;
  height: 22px !important;
  min-width: 22px !important;
  min-height: 22px !important;
  display: block !important;
  stroke: currentColor !important;
  stroke-width: 1.5 !important;
  fill: none !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
  filter: drop-shadow(0 1px 2px rgba(255, 255, 255, 0.85));
}
.dark .itemProductH--btn-floating :is(.button, a.button) svg {
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.8));
}

/* Desktop (>= 768px) con ratón: oculto por defecto, se revela únicamente con HOVER */
@media (min-width: 768px) and (hover: hover) {
  :is(.itemProductH.itemProductH--btn-floating, .woocommerce .itemProductH.itemProductH--btn-floating) :is(.button, a.button) {
    top: 6px !important;
    right: 6px !important;
    opacity: 0 !important;
    transform: translateY(-4px) scale(0.9) !important;
    pointer-events: none !important;
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
  }
  :is(.itemProductH.itemProductH--clean.itemProductH--btn-floating, .woocommerce .itemProductH.itemProductH--clean.itemProductH--btn-floating) :is(.button, a.button) {
    top: 2px !important;
    right: 2px !important;
  }
  :is(.itemProductH.itemProductH--btn-floating:hover, .itemProductH.itemProductH--btn-floating.group:hover) :is(.button, a.button) {
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
    pointer-events: auto !important;
  }
  :is(.itemProductH.itemProductH--btn-floating, .woocommerce .itemProductH.itemProductH--btn-floating) :is(.button, a.button):hover {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: var(--shoe-clay) !important;
    transform: translateY(0) scale(1.15) !important;
  }
}

/* Toque activo / presionar: rebote táctil elástico sin fondo ni destello */
:is(.itemProductH.itemProductH--btn-floating, .woocommerce .itemProductH.itemProductH--btn-floating) :is(.button, a.button):active {
  transform: scale(0.88) !important;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* Micro-etiqueta flotante: homogenizada con .itemProductH .lista-badges span */
.itemProductH--btn-floating .cite-btn-tooltip {
  position: absolute !important;
  right: calc(100% - 4px) !important;
  top: 50% !important;
  transform: translateY(-50%) translateX(3px) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  background: var(--shoe-ink) !important;
  color: #ffffff !important;
  font-size: 8px !important;
  font-weight: 600 !important;
  letter-spacing: .08em !important;
  line-height: 1 !important;
  text-indent: 0.04em !important;
  text-transform: uppercase !important;
  padding: 3.5px 6px 3px !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  border: 0 !important;
  white-space: nowrap !important;
  pointer-events: none !important;
  opacity: 0 !important;
  transition: opacity .18s ease, transform .18s cubic-bezier(0.16, 1, 0.3, 1) !important;
  z-index: 30 !important;
  box-sizing: border-box !important;
}

@media (hover: hover) {
  .itemProductH--btn-floating :is(.button, a.button):hover .cite-btn-tooltip,
  .itemProductH--btn-floating :is(.button, a.button):focus-visible .cite-btn-tooltip {
    opacity: 1 !important;
    transform: translateY(-50%) translateX(0) !important;
  }
}

/* Reducción proporcional en vista móvil y pantallas estrechas */
@media (max-width: 767px) {
  :is(.itemProductH.itemProductH--btn-floating, .woocommerce .itemProductH.itemProductH--btn-floating) :is(.button, a.button) {
    top: 4px !important;
    right: 4px !important;
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    max-width: 30px !important;
    min-height: 30px !important;
    max-height: 30px !important;
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
  }
  :is(.itemProductH.itemProductH--clean.itemProductH--btn-floating, .woocommerce .itemProductH.itemProductH--clean.itemProductH--btn-floating) :is(.button, a.button) {
    top: 1px !important;
    right: 1px !important;
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    max-width: 30px !important;
    min-height: 30px !important;
    max-height: 30px !important;
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
  }
  :is(.itemProductH.itemProductH--btn-floating, .woocommerce .itemProductH.itemProductH--btn-floating) :is(.button, a.button):is(:hover, :focus, :focus-visible, :active),
  :is(.itemProductH.itemProductH--clean.itemProductH--btn-floating, .woocommerce .itemProductH.itemProductH--clean.itemProductH--btn-floating) :is(.button, a.button):is(:hover, :focus, :focus-visible, :active) {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    color: var(--shoe-clay) !important;
  }
  :is(.itemProductH--btn-floating, .woocommerce .itemProductH--btn-floating) :is(.button, a.button) .cite-btn-icon,
  :is(.itemProductH--btn-floating, .woocommerce .itemProductH--btn-floating) :is(.button, a.button) .cite-icon-line {
    width: 17px !important;
    height: 17px !important;
  }
  .itemProductH--btn-floating :is(.button, a.button) svg {
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    min-height: 16px !important;
    stroke-width: 1.6 !important;
  }
  .itemProductH--btn-floating .button.loading::before {
    width: 14px !important;
    height: 14px !important;
    border-width: 1.5px !important;
  }
  .itemProductH--btn-floating .cite-btn-tooltip {
    padding: 2.5px 4.5px 2px !important;
    font-size: 7px !important;
    letter-spacing: .05em !important;
    line-height: 1 !important;
    text-indent: 0.03em !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    right: calc(100% - 3px) !important;
  }
}

/* En dispositivos táctiles sin puntero fino, suprimir tooltip persistente */
@media (hover: none) and (pointer: coarse) {
  .itemProductH--btn-floating :is(.button, a.button):not(.added) .cite-btn-tooltip {
    display: none !important;
  }
}

/* Modo oscuro */
.dark :is(.itemProductH.itemProductH--btn-floating, .woocommerce .itemProductH.itemProductH--btn-floating) :is(.button, a.button),
.dark :is(.itemProductH.itemProductH--btn-floating, .woocommerce .itemProductH.itemProductH--btn-floating) :is(.button, a.button):is(:hover, :focus, :focus-visible, :active) {
  color: #ffffff !important;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
}
@media (hover: hover) {
  .dark :is(.itemProductH.itemProductH--btn-floating, .woocommerce .itemProductH.itemProductH--btn-floating) :is(.button, a.button):hover {
    color: var(--shoe-sand, #ede8df) !important;
    background: transparent !important;
    background-color: transparent !important;
  }
  .dark .itemProductH--btn-floating .cite-btn-tooltip {
    background: #ffffff !important;
    color: var(--shoe-ink, #0f172a) !important;
  }
}

/* Suprimir añadidos e inyecciones nativas de WooCommerce que rompen el botón */
.itemProductH--btn-floating .added_to_cart {
  display: none !important;
}
.woocommerce .itemProductH--btn-floating :is(.button, a.button)::after {
  display: none !important;
}
.itemProductH--btn-floating :is(.button, a.button)::after {
  display: none !important;
}

/* Spinner AJAX en modo flotante: fino y centrado sobre el icono */
.itemProductH--btn-floating .button.loading .cite-btn-icon {
  opacity: 0 !important;
  transform: scale(0.5) !important;
}
.itemProductH--btn-floating .button.loading::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  margin: auto !important;
  width: 18px !important;
  height: 18px !important;
  border: 1.5px solid rgba(0,0,0, 0.25) !important;
  border-top-color: var(--shoe-ink) !important;
  border-radius: 50% !important;
  animation: cite-card-spin .6s linear infinite !important;
  display: block !important;
}
.dark .itemProductH--btn-floating .button.loading::before {
  border-color: rgba(255, 255, 255, 0.25) !important;
  border-top-color: #fff !important;
}

/* Estado añadido (.added): suave confirmación esmeralda sin marcas rotas */
.itemProductH--btn-floating .button.added .cite-btn-icon {
  color: #15803d !important;
  transform: scale(1.1) !important;
  opacity: 1 !important;
}
.itemProductH--btn-floating .button.added::before {
  display: none !important;
}
.itemProductH--btn-floating :is(.button, a.button).added .cite-btn-tooltip {
  background: #15803d !important;
  color: #ffffff !important;
  opacity: 1 !important;
  transform: translateY(-50%) translateX(0) !important;
}

/* Cuando el botón flota, el contenedor inferior mt-auto colapsa a 0 */
.itemProductH--btn-floating .mt-auto {
  margin: 0 !important;
  padding: 0 !important;
  min-height: 0 !important;
  height: 0 !important;
  line-height: 0 !important;
  pointer-events: none;
}

@media (max-width: 680px) {
  .container { padding-left: 16px; padding-right: 16px; }
  .ListProduct, .woocommerce ul.products { gap: 10px !important; }
  .itemProductH > a:first-child { padding: 8px 8px 0 !important; }
  .itemProductH > div { padding: 9px 9px 11px !important; }
  .itemProductH :is(.lista-badges, .odr-badges) { gap: 3px !important; top: 8px !important; left: 8px !important; }
  .itemProductH .lista-badges > span,
  .itemProductH .odr-badges .odr-label { padding: 3px 5px !important; font-size: 9px !important; letter-spacing: .03em !important; }
  :is(.itemProductH:not(.itemProductH--btn-floating), .woocommerce .itemProductH:not(.itemProductH--btn-floating)) :is(.button, a.button) {
    min-height: 35px !important;
    font-size: 9.5px !important;
    letter-spacing: .03em !important;
    padding: 0 4px !important;
    gap: 0 !important;
    white-space: nowrap !important;
  }
  .itemProductH:not(.itemProductH--btn-floating) .button .cite-icon-line { display: none !important; }
}

@media (max-width: 600px) {
  .wp-block-orange612-productos,
  .orange612-productos,
  .wp-block-orange612-taxonomia,
  .orange612-taxonomia {
    width: 100% !important;
    max-width: 100% !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    overflow: hidden !important;
  }
  .orange612-productos--mobile-slider .orange612-productos__inner,
  .orange612-productos--carousel .orange612-productos__inner,
  .orange612-taxonomia--carousel .orange612-taxonomia__inner {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
  }
  .orange612-productos--mobile-slider .orange612-productos__heading,
  .orange612-productos--carousel .orange612-productos__heading,
  .orange612-taxonomia--carousel .orange612-taxonomia__heading {
    padding-left: var(--cite-block-gutter, 20px) !important;
    padding-right: var(--cite-block-gutter, 20px) !important;
    box-sizing: border-box !important;
  }
  .orange612-productos__grid,
  .orange612-taxonomia__grid {
    box-sizing: border-box !important;
    max-width: 100% !important;
  }
  .orange612-productos--mobile-slider .orange612-productos__grid > .itemProductH,
  .orange612-productos--carousel .orange612-productos__grid > .itemProductH,
  .orange612-taxonomia--carousel .orange612-taxonomia__card {
    min-width: 0 !important;
  }
}


/* ----- Página 404 ----- */
.error-404 { padding: clamp(48px, 6vw, 88px) 0; color: var(--shoe-ink); background: var(--shoe-paper); }
.error-404 .error-404__inner { width: 100%; max-width: 1200px; margin: 0 auto; padding-inline: clamp(20px, 4vw, 48px); }
.error-404__copy { min-width: 0; }
.error-404__title { max-width: 17ch; margin: 0 0 22px; color: var(--shoe-ink); font-family: var(--cite-font-title, "Bodoni Moda", Georgia, serif); font-size: clamp(34px, 4.3vw, 58px); font-weight: 400; letter-spacing: -.045em; line-height: 1.1; text-wrap: balance; overflow-wrap: anywhere; }
.error-404__text { max-width: 48ch; margin: 0 0 30px; color: var(--shoe-ink-soft); font-size: 15px; line-height: 1.75; overflow-wrap: anywhere; }
.error-404__eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 24px; color: var(--shoe-clay-dark); font-size: 10px; font-weight: 700; letter-spacing: .17em; line-height: 1.6; text-transform: uppercase; }
.error-404__code { display: block; font-family: var(--cite-font-title, "Bodoni Moda", Georgia, serif); font-weight: 400; letter-spacing: -.065em; line-height: 1; }
.error-404__sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.error-404__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.error-404__arrow { flex: 0 0 auto; transition: transform .2s ease; }
.error-404__button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 50px; padding: 13px 23px; border: 1px solid var(--shoe-ink); border-radius: var(--shoe-radius); color: #fff; background: var(--shoe-ink); font-size: 12px; font-weight: 600; line-height: 1.5; text-decoration: none; transition: color .2s ease, background .2s ease, border-color .2s ease; }
.error-404__button:hover { color: #fff; background: var(--shoe-clay-dark); border-color: var(--shoe-clay-dark); }
.error-404__button--ghost { border-color: var(--shoe-line); color: var(--shoe-ink); background: transparent; }
.error-404__button--ghost:hover { color: var(--shoe-ink); background: var(--shoe-sand); border-color: var(--shoe-ink); }
.error-404__link { display: inline-flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 44px; padding: 8px 0; border-bottom: 1px solid var(--shoe-ink); color: var(--shoe-ink); font-size: 12px; font-weight: 600; line-height: 1.5; text-decoration: none; transition: color .2s ease, border-color .2s ease; }
.error-404__link--muted { color: var(--shoe-ink-soft); border-color: var(--shoe-line); }
.error-404__link:hover { color: var(--shoe-clay-dark); border-color: var(--shoe-clay-dark); }
@media (hover: hover) and (pointer: fine) {
  .error-404 :is(a, button):hover .error-404__arrow { transform: translateX(3px); }
}
.error-404 :is(a, button, input):focus-visible { outline: 2px solid var(--shoe-clay-dark); outline-offset: 4px; }

/* Buscador nativo WordPress / WooCommerce con etiqueta siempre visible. */
.error-404__search { width: 100%; margin: 0 0 24px; }
.error-404__search-label { display: block; margin: 0 0 10px; color: var(--shoe-ink-soft); font-size: 12px; font-weight: 500; line-height: 1.5; }
.error-404__search-field { display: flex; align-items: center; gap: 12px; padding: 5px; border: 1px solid var(--shoe-line); border-radius: var(--shoe-radius); background: #fff; transition: border-color .2s ease; }
.error-404__search-field:focus-within { border-color: var(--shoe-clay-dark); }
.error-404__search-field > svg { flex: 0 0 auto; margin-left: 10px; color: var(--shoe-ink-soft); }
.error-404__search input[type="search"] { flex: 1 1 0%; width: 100%; min-width: 0; height: 44px; padding: 0; border: 0; border-radius: 0; color: var(--shoe-ink); background: transparent; font: inherit; font-size: 16px; box-shadow: none; }
.error-404__search input[type="search"]::placeholder { color: var(--shoe-ink-soft); opacity: 1; }
.error-404__search input[type="search"]:focus-visible { outline-offset: 0; }
.error-404__search button { flex: 0 0 auto; min-height: 44px; padding: 10px 17px; border: 0; border-radius: 1px; color: #fff; background: var(--shoe-ink); font-family: inherit; font-size: 12px; font-weight: 600; cursor: pointer; transition: background .2s ease; }
.error-404__search button:hover { background: var(--shoe-clay-dark); }

/* Clásico: una página de error genérica, sobria y centrada. */
.error-404--clasico { display: flex; align-items: center; min-height: 520px; padding-block: clamp(64px, 7vw, 100px); background: #fff; }
.error-404--clasico .error-404__inner { display: flex; flex-direction: column; align-items: center; max-width: 760px; text-align: center; }
.error-404__code--solid { margin: 0 0 24px; color: #33363b; font-family: "DM Sans", sans-serif; font-size: clamp(96px, 11vw, 140px); font-weight: 600; letter-spacing: -.055em; line-height: 1; }
.error-404--clasico .error-404__title { max-width: 25ch; margin-bottom: 16px; font-family: "DM Sans", sans-serif; font-size: clamp(26px, 3vw, 34px); font-weight: 600; letter-spacing: -.03em; line-height: 1.25; }
.error-404--clasico .error-404__text { max-width: 52ch; margin-bottom: 28px; line-height: 1.7; }
.error-404--clasico .error-404__actions { justify-content: center; }

/* Catálogo: sustituye a Editorial y conserva su clave para los ajustes guardados. */
.error-404--editorial { padding-block: clamp(56px, 7vw, 96px); background: var(--shoe-paper); }
.error-404--editorial .error-404__inner { max-width: 800px; }
.error-404__catalog-heading { text-align: center; }
.error-404--editorial .error-404__eyebrow { justify-content: center; margin-bottom: 20px; color: var(--shoe-ink-soft); font-size: 11px; letter-spacing: .1em; }
.error-404--editorial .error-404__title { max-width: 24ch; margin: 0 auto 18px; font-family: "DM Sans", sans-serif; font-size: clamp(30px, 3.5vw, 42px); font-weight: 600; letter-spacing: -.035em; line-height: 1.2; }
.error-404--editorial .error-404__text { max-width: 56ch; margin: 0 auto 32px; }
.error-404__catalog-panel { max-width: 640px; margin: 0 auto; padding: clamp(20px, 3vw, 36px); border: 1px solid var(--shoe-line); border-radius: 4px; background: #fff; }
.error-404__catalog-panel .error-404__search-label { margin-bottom: 14px; color: var(--shoe-ink); font-size: 16px; font-weight: 600; }
.error-404__catalog-panel .error-404__search { margin-bottom: 24px; }
.error-404__catalog-panel .error-404__search-field { background: var(--shoe-paper); }
.error-404__catalog-panel .error-404__actions { justify-content: center; padding-top: 24px; border-top: 1px solid var(--shoe-line); }

/* Minimal: líneas finas, espacio en blanco y jerarquía sin serif. */
.error-404--minimal { display: flex; align-items: center; min-height: 550px; padding-block: clamp(64px, 9vw, 132px); background: #fff; }
.error-404--minimal .error-404__inner { max-width: 1040px; }
.error-404__minimal-top { display: flex; justify-content: space-between; gap: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--shoe-line); color: var(--shoe-ink-soft); font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.error-404__fila { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); align-items: center; gap: clamp(32px, 6vw, 80px); padding: clamp(40px, 6vw, 72px) 0; border-bottom: 1px solid var(--shoe-line); }
.error-404__code--lateral { font-family: "DM Sans", sans-serif; font-size: clamp(96px, 12vw, 148px); font-weight: 400; letter-spacing: -.085em; }
.error-404__period { color: var(--shoe-clay); }
.error-404--minimal .error-404__title { max-width: 19ch; font-family: "DM Sans", sans-serif; font-size: clamp(28px, 3.3vw, 42px); font-weight: 500; letter-spacing: -.055em; line-height: 1.2; }
.error-404--minimal .error-404__actions { gap: 12px 28px; }

/* Tienda: recuperación de la búsqueda y categorías con imagen o icono. */
.error-404__shop-intro { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 6vw, 88px); }
.error-404__status { padding: 5px 9px; border: 1px solid #d9b9aa; border-radius: 2px; font-size: 12px; letter-spacing: .08em; }
.error-404--tienda .error-404__title { font-size: clamp(34px, 3.8vw, 50px); }
.error-404__finder { padding: clamp(24px, 3vw, 38px); border: 1px solid var(--shoe-line); background: #fff; }
.error-404__finder-icon { display: grid; width: 42px; height: 42px; margin-bottom: 20px; border-radius: 50%; place-items: center; color: var(--shoe-clay-dark); background: var(--shoe-sand); }
.error-404__finder-title { margin: 0 0 18px; color: var(--shoe-ink); font-size: 30px; font-weight: 600; letter-spacing: -.04em; line-height: 1.2; }
.error-404__finder .error-404__search { margin-bottom: 18px; }
.error-404__finder .error-404__search-field > svg { display: none; }
.error-404__finder .error-404__search input[type="search"] { padding-left: 10px; }
.error-404__account { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: var(--shoe-ink-soft); font-size: 12px; text-decoration: underline; text-underline-offset: 4px; }
.error-404__account:hover { color: var(--shoe-clay-dark); }
.error-404__cats { margin-top: clamp(40px, 5vw, 64px); padding-top: 28px; border-top: 1px solid var(--shoe-line); }
.error-404__cats-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; margin-bottom: 22px; }
.error-404__cats-heading h2 { margin: 0; color: var(--shoe-ink); font-size: clamp(24px, 2.5vw, 30px); font-weight: 600; letter-spacing: -.035em; line-height: 1.3; }
.error-404__cats-heading p { margin: 0; color: var(--shoe-ink-soft); font-size: 12px; }
.error-404__cats ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.error-404__cats li { min-width: 0; }
.error-404__cats a { display: flex; align-items: center; gap: 16px; height: 100%; padding: 12px; border: 1px solid var(--shoe-line); color: var(--shoe-ink); background: #fff; text-decoration: none; transition: background .2s ease, border-color .2s ease; }
.error-404__cats a:hover { border-color: var(--shoe-clay); background: #f7f2eb; }
.error-404__cat-image { display: grid; flex: 0 0 72px; width: 72px; height: 80px; place-items: center; overflow: hidden; color: var(--shoe-clay-dark); background: var(--shoe-sand); }
.error-404__cat-image img { width: 100%; height: 100%; object-fit: cover; }
.error-404__cat-name { flex: 1; min-width: 0; font-size: 14px; font-weight: 600; line-height: 1.45; overflow-wrap: anywhere; }
.error-404__cats .error-404__arrow { width: 18px; height: 18px; margin-right: 3px; }
.bottom-0 { bottom: 0; }
@media (max-width: 900px) {
  .error-404__shop-intro { gap: 32px; }
  .error-404__cats ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .error-404__shop-intro { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .error-404__fila { grid-template-columns: minmax(0, 1fr); gap: 30px; padding-block: 32px; }
  .error-404__code--lateral { font-size: 100px; }
  .error-404--minimal { min-height: 0; }
  .error-404__finder { padding: 24px; }
}
@media (max-width: 480px) {
  .error-404__button { flex: 1 1 auto; padding-inline: 18px; }
  .error-404--clasico .error-404__actions { width: 100%; }
  .error-404__catalog-panel .error-404__search-field > svg { display: none; }
  .error-404__catalog-panel .error-404__search input[type="search"] { padding-left: 8px; }
  .error-404__cats ul { grid-template-columns: minmax(0, 1fr); }
  .error-404__cat-image { flex-basis: 64px; width: 64px; height: 64px; }
  .error-404__search-field { gap: 8px; }
  .error-404__search-field > svg { margin-left: 5px; }
  .error-404__search button { padding-inline: 13px; }
  .error-404__finder { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .error-404 *, .error-404 *::before, .error-404 *::after { transition: none; }
  .error-404 :is(a, button):hover .error-404__arrow { transform: none; }
}
/* ----- Página 404 ----- */

/* ----- WhatsApp flotante ----- */
/* Globo de texto: aparece al pasar el cursor y se despliega hacia el centro
   de la pantalla, según el lado en el que esté anclado el botón. */
.cite-whatsapp__tip { position: absolute; top: 50%; padding: 8px 13px; background: #fff; color: var(--shoe-ink); border-radius: 6px; box-shadow: 0 6px 18px rgba(0,0,0,.16); font-size: 12.5px; font-weight: 600; white-space: nowrap; opacity: 0; pointer-events: none; transform: translateY(-50%) scale(.94); transition: opacity .2s ease, transform .2s ease; }
.cite-whatsapp--derecha .cite-whatsapp__tip { right: calc(100% + 12px); transform-origin: right center; }
.cite-whatsapp--izquierda .cite-whatsapp__tip { left: calc(100% + 12px); transform-origin: left center; }
@media (hover: hover) and (pointer: fine) {
  .cite-whatsapp:hover .cite-whatsapp__tip { opacity: 1; transform: translateY(-50%) scale(1); }
  .cite-whatsapp:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.28); }
}
.cite-whatsapp:focus-visible .cite-whatsapp__tip { opacity: 1; transform: translateY(-50%) scale(1); }

.cite-whatsapp { position: fixed; bottom: 22px; z-index: 900; transition: opacity .25s ease; display: grid; width: 58px; height: 58px; place-items: center; border-radius: 50%; color: #fff; background: var(--wa-color, #25d366); box-shadow: 0 6px 18px rgba(0,0,0,.22); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.cite-whatsapp--derecha { right: 22px; }
.cite-whatsapp--izquierda { left: 22px; }
.cite-whatsapp:focus-visible { outline: 3px solid var(--shoe-ink); outline-offset: 3px; }
.cite-whatsapp svg { display: block; }

@media (max-width: 600px) {
  /* Sin puntero no hay hover: el globo solo estorbaría. */
  .cite-whatsapp__tip { display: none; }
  .cite-whatsapp { width: 52px; height: 52px; bottom: 16px; }
  .cite-whatsapp--derecha { right: 16px; }
  .cite-whatsapp--izquierda { left: 16px; }
  .cite-whatsapp svg { width: 30px; height: 30px; }
}
@media (max-width: 500px) {
  .cite-whatsapp { width: 44px; height: 44px; bottom: 12px; }
  .cite-whatsapp--derecha { right: 12px; }
  .cite-whatsapp--izquierda { left: 12px; }
  .cite-whatsapp svg { width: 24px; height: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .cite-whatsapp { transition: none; }
  .cite-whatsapp:hover { transform: none; }
}
/* ----- WhatsApp flotante ----- */

/* ----- Botón volver arriba ----- */
/* Se apila por encima del flotante de WhatsApp cuando comparten lado: 58px
   del botón + 22px de su separación + 14px de aire entre ambos. */
.cite-totop {
  position: fixed;
  bottom: 94px;
  z-index: 899;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  color: var(--cite-totop-color, #fff);
  background: var(--cite-totop-bg, #1d1b19);
  box-shadow: 0 6px 18px rgba(0,0,0,.22);
  cursor: pointer;
  /* Nace oculto: el JS lo revela al pasar el umbral de scroll. */
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s, background .2s ease;
}

.cite-totop.is-visible { opacity: 1; visibility: visible; transform: none; transition: opacity .25s ease, transform .25s ease, visibility 0s, background .2s ease; }
@media (hover: hover) and (pointer: fine) {
  .cite-totop:hover { transform: translateY(-2px); }
}

.cite-totop svg { width: 21px; height: 21px; }

.cite-totop--derecha { right: 22px; }
.cite-totop--izquierda { left: 22px; }

.cite-totop--circulo { width: 48px; height: 48px; justify-content: center; border-radius: 50%; }
.cite-totop--cuadrado { width: 48px; height: 48px; justify-content: center; border-radius: 3px; }

@media (max-width: 680px) {
  .cite-totop { bottom: 80px; }
  .cite-totop--derecha { right: 16px; }
  .cite-totop--izquierda { left: 16px; }
  .cite-totop--circulo, .cite-totop--cuadrado { width: 44px; height: 44px; }
}
/* Pantallas chicas: más pequeño y centrado sobre el WhatsApp de 44px
   (12px de margen + 44px + 10px de aire). */
@media (max-width: 500px) {
  .cite-totop { bottom: 66px; }
  .cite-totop--derecha { right: 16px; }
  .cite-totop--izquierda { left: 16px; }
  .cite-totop--circulo, .cite-totop--cuadrado { width: 36px; height: 36px; }
  .cite-totop svg { width: 17px; height: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  .cite-totop { transition: opacity .25s ease, visibility 0s; transform: none; }
  .cite-totop:hover { transform: none; }
}
/* ----- Botón volver arriba ----- */
