/* Ficha v2 — La Barraca de maría. Solo body.lbm-ficha-v2-page */

.lbm-ficha-v2-page #page-container,
.lbm-ficha-v2-page #main-content,
.lbm-ficha-v2-page .container,
.lbm-ficha-v2-page #content-area,
.lbm-ficha-v2-page #left-area {
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
  float: none !important;
}

.lbm-ficha-v2 {
  --orange: #ef7d00;
  --orange-deep: #d86c00;
  --steel: #445055;
  --ink: #1c2224;
  --muted: #5c666b;
  --line: #e6e1d8;
  --paper: #fff;
  --plate: #f4efe6;
  --plate-edge: #e2d8c8;
  --good: #2f7d4a;
  --radius: 14px;
  --radius-sm: 10px;
  --font: "myriad_proregular", "Myriad Pro", "Segoe UI", sans-serif;
  --font-semi: "myriad_prosemibold", "Myriad Pro", sans-serif;
  --font-bold: "myriad_probold", "Myriad Pro", sans-serif;
  --font-black: "myriad_problack", "Myriad Pro", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.45;
}

.lbm-ficha-v2 *,
.lbm-ficha-v2 *::before,
.lbm-ficha-v2 *::after {
  box-sizing: border-box;
}

.lbm-ficha-v2 a {
  color: var(--orange);
  text-decoration: none;
}
.lbm-ficha-v2 a:hover {
  text-decoration: underline;
}
.lbm-ficha-v2 :focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

.lbm-ficha-v2__pilot {
  margin: 0 0 18px;
  padding: 10px 14px;
  background: var(--plate);
  border-left: 4px solid var(--orange);
  border-radius: var(--radius-sm);
  color: var(--steel);
  font-family: var(--font-semi);
  font-size: 13px;
}

.lbm-ficha-v2__wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 20px 80px;
}

.lbm-ficha-v2__crumbs,
.lbm-ficha-v2__crumbs .woocommerce-breadcrumb {
  font-size: 13px;
  color: var(--muted);
  margin: 8px 0 20px;
}
.lbm-ficha-v2__crumb-sep {
  margin: 0 8px;
  color: #b7b3aa;
}

.lbm-ficha-v2__stage {
  display: grid;
  grid-template-columns: minmax(240px, 1.05fr) minmax(260px, 1fr) minmax(250px, 0.72fr);
  grid-template-rows: auto 1fr;
  gap: 14px 24px;
  align-items: start;
}

/*
 * Marca y titulo viven fuera de __info para poder subirlos por delante
 * de la foto en movil. En escritorio el grid los devuelve a su sitio:
 * columna central, primera fila, con __info justo debajo.
 */
.lbm-ficha-v2__head {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
}
/*
 * El titulo ya trae su propio margen y su linea separadora; con el
 * row-gap del grid encima quedaba un hueco muerto bajo el nombre.
 */
.lbm-ficha-v2__head .lbm-ficha-v2__title {
  margin-bottom: 0;
}
.lbm-ficha-v2__gallery {
  grid-column: 1;
  grid-row: 1 / span 2;
  position: sticky;
  top: 92px;
  min-width: 0;
}
.lbm-ficha-v2__info {
  grid-column: 2;
  grid-row: 2;
  min-width: 0;
}
.lbm-ficha-v2__buy {
  grid-column: 3;
  grid-row: 1 / span 2;
}
.lbm-ficha-v2__main-img {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
}
.lbm-ficha-v2__photo {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  transform-origin: 50% 50%;
  transition: transform .16s ease;
  will-change: transform;
}
.lbm-ficha-v2__main-img.is-zooming {
  cursor: zoom-in;
}
html.lbm-ficha-lb-open,
html.lbm-ficha-lb-open body {
  overflow: hidden;
}
html.lbm-ficha-lb-open .lbm-head {
  z-index: 1 !important;
}
.lbm-ficha-v2__lb {
  position: fixed;
  inset: 0;
  z-index: 2147483640;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 52px;
  background: rgba(18, 20, 22, 0.92);
  cursor: zoom-out;
}
.lbm-ficha-v2__lb[hidden] {
  display: none !important;
}
.lbm-ficha-v2__lb-photo {
  max-width: min(96vw, 1400px);
  max-height: 92vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
  cursor: default;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
}
.lbm-ficha-v2__lb-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #1c2226;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.lbm-ficha-v2__lb-close:hover,
.lbm-ficha-v2__lb-close:focus-visible {
  background: var(--orange);
  color: #fff;
}
@media (max-width: 900px) {
  .lbm-ficha-v2__lb {
    display: none !important;
  }
}
.lbm-ficha-v2__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--orange);
  color: #fff;
  font-family: var(--font-bold);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 8px;
}
.lbm-ficha-v2__thumbs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}
.lbm-ficha-v2__thumb {
  width: 64px;
  height: 64px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  cursor: pointer;
  opacity: 0.7;
  overflow: hidden;
}
.lbm-ficha-v2__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.lbm-ficha-v2__thumb.is-active,
.lbm-ficha-v2__thumb:hover {
  opacity: 1;
  border-color: var(--orange);
}

/* --- Galeria deslizante de movil ---------------------------------
   Oculta en escritorio: alli manda la foto grande con miniaturas. */
.lbm-ficha-v2__slider,
.lbm-ficha-v2__dots {
  display: none;
}

.lbm-ficha-v2__brand {
  margin: 0 0 6px;
  font-family: var(--font-body, inherit);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
}
.lbm-ficha-v2__brand a {
  color: inherit;
}
.lbm-ficha-v2__brand-more {
  margin: 0 0 8px;
  font-size: 13px;
}
.lbm-ficha-v2__brand-more a {
  color: var(--muted);
}

.lbm-ficha-v2__title {
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--font-black);
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: normal;
  line-height: 1.12;
  letter-spacing: -0.02em;
  white-space: normal;
  overflow-wrap: break-word;
}

.lbm-ficha-v2__meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin: 0 0 16px;
  font-size: 13px;
  color: var(--muted);
}
.lbm-ficha-v2__stock.is-in {
  color: var(--good);
  font-family: var(--font-semi);
}
.lbm-ficha-v2__stock.is-in::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--good);
  vertical-align: middle;
}
.lbm-ficha-v2__stock.is-out {
  color: #a33;
  font-family: var(--font-semi);
}

/* Placa de cultivo — tabla tipo VerdeTop */
.lbm-ficha-v2__plate {
  margin: 0 0 18px;
  padding: 0;
  background: #fff;
  border: 1px solid var(--plate-edge);
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  position: relative;
}
.lbm-ficha-v2__plate-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 8px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--plate-edge);
  background: var(--plate);
}
.lbm-ficha-v2__plate-row:nth-child(even) {
  background: #fff;
}
.lbm-ficha-v2__plate-row:last-child {
  border-bottom: 0;
}
.lbm-ficha-v2__plate-extra {
  display: contents;
}
.lbm-ficha-v2__plate-extra[hidden] {
  display: none !important;
}
.lbm-ficha-v2__plate + .lbm-ficha-v2__more {
  margin: 0 0 16px;
}
.lbm-ficha-v2__plate dt {
  margin: 0;
  font-family: var(--font-semi);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 2px;
}
.lbm-ficha-v2__plate dd {
  margin: 0;
  font-family: var(--font-bold);
  font-size: 15px;
  color: var(--ink);
}

.lbm-ficha-v2__about {
  margin: 18px 0 8px;
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
}
.lbm-ficha-v2__about-title {
  margin: 0 0 8px;
  font-family: var(--font-semi);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
}
.lbm-ficha-v2__about-body {
  color: var(--steel);
  font-size: 15px;
  line-height: 1.55;
}
.lbm-ficha-v2__about-body p {
  margin: 0;
}
.lbm-ficha-v2__more,
.lbm-ficha-v2__jump {
  display: inline-block;
  margin: 6px 14px 0 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--orange);
  font-family: var(--font-semi);
  font-size: 13px;
  cursor: pointer;
}

.lbm-ficha-v2__options {
  display: none;
  margin: 0 0 16px;
}
.lbm-ficha-v2__options.is-ready {
  display: block;
}
.lbm-ficha-v2__options-label {
  margin: 0 0 8px;
  font-family: var(--font-semi);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.lbm-ficha-v2__price {
  margin: 0 0 8px;
  font-family: var(--font-black);
  font-size: 24px;
  line-height: 1.1;
  color: var(--ink);
}
.lbm-ficha-v2__price br,
.lbm-ficha-v2__buy-price br,
.lbm-ficha-v2__price small,
.lbm-ficha-v2__buy-price small {
  display: none !important;
}
.lbm-ficha-v2__dto {
  display: inline-block;
  margin-left: 10px;
  padding: 4px 9px;
  background: var(--orange);
  color: #fff;
  font-family: var(--font-bold);
  font-size: 14px;
  line-height: 1;
  border-radius: 8px;
  vertical-align: middle;
}
.lbm-ficha-v2__dto[hidden] {
  display: none;
}
.lbm-ficha-v2__price del {
  font-family: var(--font);
  font-size: 0.55em;
  color: var(--muted);
  margin-right: 8px;
}
.lbm-ficha-v2__price ins {
  text-decoration: none;
  color: var(--orange);
}

.lbm-ficha-v2__cart .variations {
  width: 100%;
  margin: 0 0 12px;
}
.lbm-ficha-v2__cart .variations th,
.lbm-ficha-v2__cart .variations td {
  display: block;
  text-align: left;
  padding: 0;
  border: 0;
  background: none;
}
.lbm-ficha-v2__cart .variations label {
  font-family: var(--font-semi);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.lbm-ficha-v2__choice-group + .lbm-ficha-v2__choice-group {
  margin-top: 14px;
}
.lbm-ficha-v2__packs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 0;
}
@media (min-width: 901px) {
  /* Solo packs de semillas (2 columnas): el impar suelto ocupa la fila.
     En medidas/kits el ultimo no debe ensancharse: 7 opciones = 4+3. */
  .lbm-ficha-v2__packs:not(.is-choices) > .lbm-ficha-v2__pack:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}
.lbm-ficha-v2__packs.is-choices {
  grid-template-columns: repeat(auto-fit, minmax(84px, 1fr));
}
.lbm-ficha-v2__pack {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-width: 0;
  min-height: 62px;
  padding: 9px 6px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  cursor: pointer;
  color: var(--ink);
  font-family: var(--font);
  overflow: hidden;
  transition: border-color .15s ease, box-shadow .15s ease;
}
/* Cifra y unidad juntas, en una sola linea: "500 ml", "1 L". */
.lbm-ficha-v2__pack-label {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 3px;
  min-width: 0;
  max-width: 100%;
}
.lbm-ficha-v2__pack .n {
  font-family: var(--font-black);
  font-size: 21px;
  line-height: 1.05;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.lbm-ficha-v2__pack .u {
  font-family: var(--font-semi);
  font-size: 13px;
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--muted);
  white-space: nowrap;
}
/* Precio de cada opcion: oficial tachado + precio de venta. */
.lbm-ficha-v2__pack-price {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  font-family: var(--font);
  font-weight: 400;
  font-size: 12.5px;
  line-height: 1.15;
  color: var(--muted);
  white-space: nowrap;
}
.lbm-ficha-v2__pack-price del {
  font-size: 11px;
  color: var(--muted);
  text-decoration: line-through;
}
.lbm-ficha-v2__pack-price .lbm-ficha-v2__pack-now,
.lbm-ficha-v2__pack-price.is-sale .lbm-ficha-v2__pack-now {
  color: var(--orange);
  font-family: var(--font-semi);
}
.lbm-ficha-v2__pack.is-selected {
  border-color: var(--orange);
  background: var(--orange);
  color: #fff;
}
.lbm-ficha-v2__pack.is-selected .u,
.lbm-ficha-v2__pack.is-selected .lbm-ficha-v2__pack-price,
.lbm-ficha-v2__pack.is-selected .lbm-ficha-v2__pack-price del,
.lbm-ficha-v2__pack.is-selected .lbm-ficha-v2__pack-now,
.lbm-ficha-v2__pack.is-selected .lbm-ficha-v2__pack-price.is-sale {
  color: rgba(255, 255, 255, 0.92);
}
.lbm-ficha-v2__pack:hover:not(.is-selected) {
  border-color: var(--steel);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}
.lbm-ficha-v2__pack.is-text {
  min-height: 54px;
  padding: 8px 6px 9px;
}
.lbm-ficha-v2__pack.is-text .lbm-ficha-v2__pack-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.lbm-ficha-v2__pack.is-text .n {
  font-family: var(--font-bold);
  font-size: 13px;
  letter-spacing: 0.01em;
  line-height: 1.2;
  white-space: normal;
  text-align: center;
  overflow-wrap: anywhere;
}
.lbm-ficha-v2__pack.is-text .u {
  white-space: normal;
  text-align: center;
  font-size: 11.5px;
  line-height: 1.15;
}
/* En la barra fija no cabe el precio: alli ya se ve el total. */
.lbm-ficha-v2__sticky-packs .lbm-ficha-v2__pack-price {
  display: none;
}

.lbm-ficha-v2__buy {
  min-width: 0;
  position: sticky;
  top: 92px;
  padding: 18px 16px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.lbm-ficha-v2__buy-kicker {
  margin: 0 0 4px;
  font-size: 13px;
  color: var(--muted);
}
.lbm-ficha-v2__buy-price {
  margin: 0 0 8px;
  font-family: var(--font-black);
  font-size: 28px;
  line-height: 1.1;
  color: var(--ink);
}
.lbm-ficha-v2__buy-price del {
  font-family: var(--font);
  font-size: 0.62em;
  color: var(--muted);
  margin-right: 8px;
  text-decoration: line-through;
}
.lbm-ficha-v2__buy-price ins {
  text-decoration: none;
  color: var(--orange);
}
.lbm-ficha-v2__buy-price br,
.lbm-ficha-v2__buy-price small {
  display: none !important;
}
.lbm-ficha-v2__buy-ship {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0 0 14px;
  font-family: var(--font-semi);
  font-size: 14px;
  line-height: 1.35;
  color: var(--steel);
}
.lbm-ficha-v2__buy-ship .lbm-ficha-v2__icon {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  color: var(--orange);
}
.lbm-ficha-v2__buy-ship span {
  min-width: 0;
}
.lbm-ficha-v2__qty-label {
  margin: 0 0 6px;
  font-family: var(--font-semi);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.lbm-ficha-v2__cart .woocommerce-variation-add-to-cart,
.lbm-ficha-v2__cart form.cart:not(.variations_form) {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.lbm-ficha-v2__cart .quantity {
  display: block !important;
  float: none !important;
  width: 100% !important;
  margin: 0 0 20px !important;
}
.lbm-ficha-v2__cart .woocommerce-variation-add-to-cart .quantity,
.lbm-ficha-v2__cart form.cart:not(.variations_form) .quantity {
  margin: 0 !important;
}
.lbm-ficha-v2__cart .qty {
  width: 100% !important;
  max-width: none !important;
  height: 44px !important;
  border: 1px solid var(--line) !important;
  border-radius: var(--radius-sm) !important;
  text-align: center;
  font-family: var(--font-bold);
  font-size: 16px;
  color: var(--ink);
  background: #fff;
}
.lbm-ficha-v2__cart .single_variation_wrap {
  margin-top: 0;
}
.lbm-ficha-v2__cart .woocommerce-variation-price {
  display: none;
}
.lbm-ficha-v2__cart .woocommerce-variation-availability,
.lbm-ficha-v2__cart > .stock {
  display: none;
}
.lbm-ficha-v2__cart .quantity:has(input[type="hidden"]) {
  display: none !important;
}
.lbm-ficha-v2__cart form.cart {
  display: block;
  margin: 0;
}
.lbm-ficha-v2.is-pack .lbm-ficha-v2__cart form.cart .variations,
.lbm-ficha-v2.has-chips .lbm-ficha-v2__cart form.cart .variations,
.lbm-ficha-v2.is-pack .lbm-ficha-v2__cart form.cart .lbm-ficha-v2__packs,
.lbm-ficha-v2.has-chips .lbm-ficha-v2__cart form.cart .lbm-ficha-v2__choice-groups,
.lbm-ficha-v2.has-chips .lbm-ficha-v2__cart form.cart .lbm-ficha-v2__packs {
  display: none;
}
.lbm-ficha-v2:not(.is-pack):not(.has-chips) .lbm-ficha-v2__cart .variations {
  display: block;
  width: 100%;
  margin: 0 0 12px;
  border: 0;
}
.lbm-ficha-v2:not(.is-pack) .lbm-ficha-v2__cart .variations tbody,
.lbm-ficha-v2:not(.is-pack) .lbm-ficha-v2__cart .variations tr,
.lbm-ficha-v2:not(.is-pack) .lbm-ficha-v2__cart .variations th,
.lbm-ficha-v2:not(.is-pack) .lbm-ficha-v2__cart .variations td {
  display: block;
  width: 100%;
  border: 0;
  background: none;
  padding: 0;
}
.lbm-ficha-v2:not(.is-pack) .lbm-ficha-v2__cart .variations tr + tr {
  margin-top: 10px;
}
.lbm-ficha-v2:not(.is-pack) .lbm-ficha-v2__cart .variations label {
  display: block;
  margin: 0 0 6px;
  font-family: var(--font-semi);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.lbm-ficha-v2:not(.is-pack) .lbm-ficha-v2__cart .variations select {
  width: 100%;
  max-width: none;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  font-family: var(--font-semi);
  font-size: 15px;
  color: var(--ink);
  padding: 0 10px;
}
.lbm-ficha-v2:not(.is-pack) .reset_variations {
  display: none !important;
}
.lbm-ficha-v2__cart form.cart .single_variation_wrap {
  width: 100%;
}

.lbm-ficha-v2__cart .single_add_to_cart_button,
.lbm-ficha-v2 .button.alt {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 12px 16px !important;
  border: 0 !important;
  border-radius: var(--radius-sm) !important;
  background: var(--orange) !important;
  color: #fff !important;
  font-family: var(--font-bold) !important;
  font-size: 16px !important;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: none !important;
  text-transform: none !important;
}
.lbm-ficha-v2__cart .single_add_to_cart_button:hover,
.lbm-ficha-v2 .button.alt:hover {
  background: var(--orange-deep) !important;
}

.lbm-ficha-v2__trust {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 14px;
}
.lbm-ficha-v2__trust > div,
.lbm-ficha-v2__trust-wide {
  background: var(--plate);
  padding: 12px 10px;
  text-align: center;
  border-radius: var(--radius-sm);
}
.lbm-ficha-v2__trust .lbm-ficha-v2__icon,
.lbm-ficha-v2__trust-wide .lbm-ficha-v2__icon {
  display: block;
  width: 24px;
  height: 24px;
  margin: 0 auto 7px;
  color: var(--orange);
}
.lbm-ficha-v2__trust strong,
.lbm-ficha-v2__trust-wide strong {
  display: block;
  font-family: var(--font-bold);
  font-size: 13px;
  color: var(--ink);
  margin-bottom: 4px;
}
.lbm-ficha-v2__trust span,
.lbm-ficha-v2__trust-wide span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.35;
}
/*
 * Portes es hijo de __trust (asi las tres cajas pueden ir en una fila en
 * movil), de modo que aqui ocupa el ancho entero de la segunda fila,
 * que es como se veia cuando era un hermano suelto.
 */
.lbm-ficha-v2__trust-wide {
  grid-column: 1 / -1;
}
.lbm-ficha-v2__pay {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
}
.lbm-ficha-v2__pay li {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  padding: 8px 10px;
  color: var(--steel);
}
.lbm-ficha-v2__pay svg {
  display: block;
  width: 72px;
  height: 24px;
  flex: 0 0 auto;
}
.lbm-ficha-v2__pay li:last-child svg {
  width: 22px;
  height: 20px;
}
.lbm-ficha-v2__pay-caption {
  font-family: var(--font-semi);
  font-size: 12px;
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
  color: var(--steel);
}
.lbm-ficha-v2__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.lbm-ficha-v2__section-title {
  margin: 0 0 18px;
  font-family: var(--font-black);
  font-size: 26px;
  color: var(--orange);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.lbm-ficha-v2__detail,
.lbm-ficha-v2__sheet,
.lbm-ficha-v2__reviews,
.lbm-ficha-v2__related {
  margin-top: 56px;
  padding-top: 0;
  scroll-margin-top: 88px;
}

.lbm-ficha-v2__long {
  color: var(--steel);
  font-size: 16.5px;
  line-height: 1.65;
  font-family: var(--font);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 32px 32px;
}
.lbm-ficha-v2__prose {
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}
.lbm-ficha-v2__prose .lead {
  margin: 0 0 1.4em;
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink);
  padding-bottom: 1.1em;
  border-bottom: 1px solid var(--line);
}
.lbm-ficha-v2__long div:empty {
  display: none;
}
.lbm-ficha-v2__long h2,
.lbm-ficha-v2__long h3,
.lbm-ficha-v2__long h2 span,
.lbm-ficha-v2__long h3 span {
  background: none !important;
  border-left: 0 !important;
  padding-left: 0 !important;
}
.lbm-ficha-v2__long [style]:not(h2):not(h3) {
  color: var(--steel) !important;
  background: none !important;
  border-left: 0 !important;
}
.lbm-ficha-v2__long h2 {
  font-family: var(--font-black);
  font-size: 22px !important;
  font-weight: normal;
  color: var(--ink) !important;
  letter-spacing: -0.02em;
  text-transform: none;
  margin: 1.6em 0 0.5em;
}
.lbm-ficha-v2__long h3,
.lbm-ficha-v2__long h4 {
  display: block;
  font-family: var(--font-semi);
  font-size: 12px !important;
  font-weight: normal;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange) !important;
  margin: 1.85em 0 0.55em;
  padding: 0;
  border: 0 !important;
}
.lbm-ficha-v2__long h3::after,
.lbm-ficha-v2__long h4::after {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  margin-top: 8px;
  background: var(--orange);
}
.lbm-ficha-v2__long > p:first-of-type {
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink);
  margin: 0 0 1.15em;
}
.lbm-ficha-v2__long p {
  margin: 0 0 1em;
}
.lbm-ficha-v2__long p.muted {
  color: var(--steel);
}
.lbm-ficha-v2__long ul,
.lbm-ficha-v2__long ol {
  list-style: disc;
  margin: 0.15em 0 1.15em;
  padding: 0 0 0 1.2em;
  background: none;
  border: 0;
}
.lbm-ficha-v2__long ol {
  list-style: decimal;
}
.lbm-ficha-v2__long li {
  padding: 0.28em 0;
}
.lbm-ficha-v2__long li::marker {
  color: var(--orange);
}
.lbm-ficha-v2__long li::before {
  content: none;
}
.lbm-ficha-v2__long strong {
  font-family: var(--font-semi);
  font-weight: normal;
  color: var(--ink);
}
.lbm-ficha-v2__long em {
  display: block;
  font-style: italic;
  color: var(--muted);
  background: none;
  border: 0;
  border-left: 0 !important;
  padding: 0;
  margin: 0.45em 0;
  font-size: 14.5px;
  line-height: 1.55;
}
.lbm-ficha-v2__table-wrap {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  touch-action: pan-x pan-y;
  margin: 0 0 1.2em;
  border: 1px solid var(--plate-edge);
  border-radius: var(--radius);
  scrollbar-width: thin;
}
.lbm-ficha-v2__long table {
  width: max-content;
  min-width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  color: var(--ink);
}
.lbm-ficha-v2__long table th,
.lbm-ficha-v2__long table td {
  padding: 8px 12px;
  border-bottom: 1px solid var(--plate-edge);
  text-align: left;
  vertical-align: top;
  white-space: nowrap;
}
.lbm-ficha-v2__long table th {
  font-family: var(--font-semi);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--plate);
}
.lbm-ficha-v2__long table tr:nth-child(even) td {
  background: #fff;
}
.lbm-ficha-v2__long table tr:last-child td {
  border-bottom: 0;
}
.lbm-ficha-v2__long > .lbm-ficha-v2__prose ~ div:has(em) {
  margin-top: 0;
}
.lbm-ficha-v2__long > .lbm-ficha-v2__prose ~ div:has(em):nth-of-type(2) {
  margin-top: 1.4em;
  padding-top: 1.15em;
  border-top: 1px solid var(--line);
}

.lbm-ficha-v2__sheet-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.lbm-ficha-v2__sheet-item {
  background: #faf8f4;
  padding: 16px 18px 18px;
  min-height: 92px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.lbm-ficha-v2__sheet-k {
  font-family: var(--font-semi);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.lbm-ficha-v2__sheet-v {
  font-family: var(--font-bold);
  font-size: 16px;
  color: var(--ink);
}

.lbm-ficha-v2__reviews .comment-form-rating,
.lbm-ficha-v2__reviews .comment-form input,
.lbm-ficha-v2__reviews .comment-form textarea {
  font-family: var(--font);
}
.lbm-ficha-v2__reviews .form-submit .submit {
  background: var(--orange) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: var(--radius-sm) !important;
  padding: 10px 22px !important;
}
.lbm-ficha-v2__reviews textarea,
.lbm-ficha-v2__reviews input[type="text"],
.lbm-ficha-v2__reviews input[type="email"] {
  border-radius: var(--radius-sm) !important;
}

.lbm-ficha-v2__related .related > h2,
.lbm-ficha-v2__reviews .woocommerce-Reviews-title {
  display: none !important;
}
.lbm-ficha-v2__cart .woocommerce-variation-availability {
  display: none;
}
.lbm-ficha-v2__related ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 18px !important;
  list-style: none;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  width: 100% !important;
}
.lbm-ficha-v2__related ul.products::before,
.lbm-ficha-v2__related ul.products::after {
  content: none !important;
  display: none !important;
}
.lbm-ficha-v2__related ul.products li.product {
  width: 100% !important;
  max-width: none !important;
  float: none !important;
  clear: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}
.lbm-ficha-v2__related ul.products li.product img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
}
.lbm-ficha-v2__related ul.products li.product .woocommerce-loop-product__title,
.lbm-ficha-v2__related ul.products li.product h2,
.lbm-ficha-v2__related ul.products li.product h3 {
  font-family: var(--font-semi);
  font-size: 15px;
  color: var(--ink);
  padding: 10px 12px 0;
  margin: 0;
}
.lbm-ficha-v2__related .price {
  display: block;
  padding: 6px 12px 14px;
  font-family: var(--font-bold);
  color: var(--ink);
}

.lbm-ficha-v2__sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99990;
  background: var(--steel);
  color: #fff;
  box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.18);
}
.lbm-ficha-v2__sticky[hidden] {
  display: none;
}
.lbm-ficha-v2__sticky-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.lbm-ficha-v2__sticky-name {
  flex: 1 1 auto;
  min-width: 0;
  font-family: var(--font-semi);
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lbm-ficha-v2__sticky-packs {
  flex: 0 0 auto;
}
.lbm-ficha-v2__sticky-packs .lbm-ficha-v2__packs {
  display: flex;
  grid-template-columns: none;
  gap: 6px;
  margin: 0;
}
.lbm-ficha-v2__sticky-packs .lbm-ficha-v2__pack {
  min-height: 0;
  min-width: 44px;
  width: auto;
  height: 36px;
  padding: 0 8px;
  border-color: rgba(255, 255, 255, 0.35);
  background: transparent;
  color: #fff;
}
.lbm-ficha-v2__sticky-packs .lbm-ficha-v2__pack .n {
  font-size: 15px;
}
.lbm-ficha-v2__sticky-packs .lbm-ficha-v2__pack .u {
  display: none;
}
.lbm-ficha-v2__sticky-packs .lbm-ficha-v2__pack:hover:not(.is-selected) {
  border-color: #fff;
}
.lbm-ficha-v2__sticky-packs .lbm-ficha-v2__pack.is-selected {
  border-color: var(--orange);
  background: var(--orange);
  color: #fff;
}
.lbm-ficha-v2__sticky-price {
  font-family: var(--font-black);
  font-size: 18px;
  white-space: nowrap;
}
.lbm-ficha-v2__sticky-price del,
.lbm-ficha-v2__sticky-price small {
  display: none !important;
}
.lbm-ficha-v2__sticky-btn {
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--orange);
  color: #fff;
  font-family: var(--font-bold);
  font-size: 14px;
  padding: 10px 18px;
  cursor: pointer;
  white-space: nowrap;
}

.lbm-ficha-v2.is-pack .woo-variation-swatches,
.lbm-ficha-v2.is-pack .variable-items-wrapper,
.lbm-ficha-v2.has-chips .woo-variation-swatches,
.lbm-ficha-v2.has-chips .variable-items-wrapper,
.lbm-ficha-v2 .reset_variations {
  display: none !important;
}
.lbm-ficha-v2:not(.is-pack):not(.has-chips) .variable-items-wrapper {
  display: none !important;
}
.lbm-ficha-v2:not(.is-pack):not(.has-chips) .woo-variation-raw-select,
.lbm-ficha-v2:not(.is-pack):not(.has-chips) .lbm-ficha-v2__cart .variations select {
  display: block !important;
}
.lbm-ficha-v2.has-chips .woo-variation-raw-select,
.lbm-ficha-v2.has-chips .lbm-ficha-v2__cart .variations select {
  display: none !important;
}

@media (max-width: 1100px) {
  .lbm-ficha-v2__stage {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 24px;
  }
  .lbm-ficha-v2__head {
    grid-column: 2;
    grid-row: 1;
  }
  .lbm-ficha-v2__gallery {
    grid-column: 1;
    grid-row: 1 / span 2;
  }
  .lbm-ficha-v2__info {
    grid-column: 2;
    grid-row: 2;
  }
  .lbm-ficha-v2__buy {
    grid-column: 1 / -1;
    grid-row: 3;
    position: static;
    max-width: 420px;
  }
}

@media (max-width: 900px) {
  .lbm-ficha-v2__stage {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  /* Primero quien es y que es; despues la foto. */
  .lbm-ficha-v2__head {
    order: 1;
  }
  .lbm-ficha-v2__gallery {
    order: 2;
  }
  .lbm-ficha-v2__info {
    order: 3;
  }
  .lbm-ficha-v2__buy {
    order: 4;
  }
  .lbm-ficha-v2__head,
  .lbm-ficha-v2__gallery,
  .lbm-ficha-v2__info,
  .lbm-ficha-v2__buy {
    width: 100%;
    max-width: none;
  }
  .lbm-ficha-v2__gallery,
  .lbm-ficha-v2__buy {
    position: static;
  }
  .lbm-ficha-v2__buy {
    max-width: none;
  }
  /*
   * Las pastillas de variacion deben usar todo el ancho. Con 1 opcion
   * ocupan la fila entera; con 2 o 3 se reparte; con 4 quedan 2x2.
   */
  .lbm-ficha-v2__packs,
  .lbm-ficha-v2__packs.is-choices {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 108px), 1fr));
  }
  /*
   * Ficha tecnica en movil: una sola columna a todo el ancho
   * (el mismo margen que la foto y las variaciones), filas
   * etiqueta | valor, no dos tarjetas de 180px.
   */
  .lbm-ficha-v2__sheet {
    width: 100%;
    max-width: none;
  }
  .lbm-ficha-v2__sheet-grid {
    grid-template-columns: 1fr;
    gap: 0;
    width: 100%;
    background: #fff;
    border: 1px solid var(--plate-edge);
  }
  .lbm-ficha-v2__sheet-item {
    display: grid;
    grid-template-columns: minmax(112px, 40%) 1fr;
    gap: 10px;
    align-items: start;
    min-height: 0;
    padding: 11px 14px;
    background: var(--plate);
  }
  .lbm-ficha-v2__sheet-item:nth-child(even) {
    background: #fff;
  }
  .lbm-ficha-v2__sheet-k {
    padding-top: 2px;
    line-height: 1.3;
  }
  .lbm-ficha-v2__sheet-v {
    font-size: 15px;
    line-height: 1.3;
  }
  .lbm-ficha-v2__related ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .lbm-ficha-v2__title {
    font-size: 26px;
  }
}

@media (max-width: 640px) {
  .lbm-ficha-v2__wrap {
    padding: 8px 14px 88px;
  }
  .lbm-ficha-v2__long {
    padding: 20px 18px 24px;
  }
  .lbm-ficha-v2__plate-row {
    grid-template-columns: minmax(112px, 40%) 1fr;
    padding: 10px 14px;
  }
  .lbm-ficha-v2__packs,
  .lbm-ficha-v2__packs.is-choices {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 108px), 1fr));
  }
  .lbm-ficha-v2__sticky-name {
    display: none;
  }
  .lbm-ficha-v2__sticky-inner {
    padding: 8px 12px 8px 58px;
    gap: 8px;
  }
  .lbm-ficha-v2__sticky-packs .lbm-ficha-v2__pack {
    min-width: 40px;
    width: auto;
    height: 32px;
    padding: 0 6px;
  }
  .lbm-ficha-v2__sticky-packs .lbm-ficha-v2__pack .n {
    font-size: 13px;
  }
  .lbm-ficha-v2__sticky-price {
    font-size: 16px;
  }
  .lbm-ficha-v2__sticky-btn {
    padding: 8px 12px;
    font-size: 13px;
  }
  .lbm-ficha-v2__related ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .lbm-ficha-v2__related ul.products li.product .woocommerce-loop-product__title,
  .lbm-ficha-v2__related ul.products li.product h2,
  .lbm-ficha-v2__related ul.products li.product h3 {
    font-size: 14px;
    line-height: 1.25;
    overflow-wrap: break-word;
  }
}

/* =================================================================
   Movil: primera pantalla util
   =================================================================
   Objetivo: que al abrir un producto se vea el titulo, el precio y
   la foto sin desplazar. Para eso:
     - la foto pasa a tira deslizante con puntitos (las miniaturas
       comian una fila de 64px);
     - el titulo sube por delante de la marca y baja de cuerpo;
     - la descripcion corta desaparece (ya esta la larga mas abajo);
     - la barra de compra no aparece hasta el final.
   ================================================================= */
@media (max-width: 900px) {
  /* La tira sustituye a la foto fija y a las miniaturas. */
  .lbm-ficha-v2__main-img,
  .lbm-ficha-v2__thumbs {
    display: none !important;
  }
  .lbm-ficha-v2__slider {
    display: flex;
    position: relative;
    gap: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    max-width: 100%;
  }
  .lbm-ficha-v2__slider::-webkit-scrollbar {
    display: none;
  }
  .lbm-ficha-v2__slide {
    flex: 0 0 100%;
    max-width: 100%;
    scroll-snap-align: start;
  }
  .lbm-ficha-v2__slide-img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
  }
  .lbm-ficha-v2__slider .lbm-ficha-v2__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
  }

  .lbm-ficha-v2__dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    margin: 10px 0 2px;
  }
  .lbm-ficha-v2__dot {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #cfcac1;
    cursor: pointer;
    transition: width .2s ease, background .2s ease;
  }
  .lbm-ficha-v2__dot.is-active {
    width: 20px;
    border-radius: 4px;
    background: var(--orange);
  }

  /* Marca arriba del todo, luego el titulo; la foto viene despues. */
  .lbm-ficha-v2__head {
    margin: 0;
  }
  .lbm-ficha-v2__brand {
    margin: 0 0 4px;
    font-size: 12px;
  }
  .lbm-ficha-v2__title {
    font-size: 20px;
    line-height: 1.22;
    margin: 0;
  }

  /* La descripcion corta repetia lo que ya cuenta la larga. */
  .lbm-ficha-v2__about[data-solo-escritorio] {
    display: none;
  }

  /*
   * El precio salia dos veces: una bajo la foto y otra dentro del bloque
   * de comprar, a dos dedos de distancia. En escritorio estan en columnas
   * distintas y cada uno tiene sentido; apilados, el primero solo gasta
   * pantalla. Se quita el de arriba y manda el del bloque de comprar,
   * que es el que acompana al boton.
   *
   * Solo el precio: el aviso de stock vive en __meta-line y se queda.
   */
  .lbm-ficha-v2__info > .lbm-ficha-v2__price {
    display: none;
  }

  /*
   * Los tres avisos de confianza ocupaban dos filas y media pantalla.
   * En una sola linea de tres columnas dicen lo mismo: se quedan el
   * icono y el titular, y el texto de apoyo pasa a ser prescindible
   * (se mantiene en el de portes, que lleva el dato de la recogida).
   */
  .lbm-ficha-v2__trust {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    margin-top: 12px;
  }
  /* Aqui portes no manda una fila entera: es la tercera columna. */
  .lbm-ficha-v2__trust-wide {
    grid-column: auto;
  }
  .lbm-ficha-v2__trust > div,
  .lbm-ficha-v2__trust-wide {
    padding: 10px 7px;
  }
  .lbm-ficha-v2__trust .lbm-ficha-v2__icon,
  .lbm-ficha-v2__trust-wide .lbm-ficha-v2__icon {
    width: 20px;
    height: 20px;
    margin-bottom: 5px;
  }
  .lbm-ficha-v2__trust strong,
  .lbm-ficha-v2__trust-wide strong {
    font-size: 11.5px;
    line-height: 1.25;
    margin-bottom: 0;
  }
  /* Con tres columnas no cabe la linea de apoyo sin partirse en cuatro. */
  .lbm-ficha-v2__trust > div span,
  .lbm-ficha-v2__trust-wide span {
    display: none;
  }

  /* Los cuatro sellos de pago, en una fila. */
  .lbm-ficha-v2__pay {
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    margin-top: 8px;
  }
  .lbm-ficha-v2__pay li {
    min-height: 40px;
    padding: 6px 4px;
  }
  .lbm-ficha-v2__pay svg {
    width: 100%;
    max-width: 52px;
    height: 18px;
  }
  .lbm-ficha-v2__pay li:last-child svg {
    width: 18px;
    height: 16px;
  }
  /*
   * "Transferencia" no cabe al lado del icono en una cuarta parte de
   * pantalla, pero el icono solo no se entiende: se pone debajo y en
   * pequeno, que es lo unico que cabe.
   */
  .lbm-ficha-v2__pay li:last-child {
    flex-direction: column;
    gap: 2px;
  }
  .lbm-ficha-v2__pay-caption {
    font-size: 9.5px;
    letter-spacing: 0;
  }

  /*
   * Entre el boton y los avisos quedaba un hueco muerto de 39px. Lo pone
   * Divi con ".woocommerce-page div.product form.cart" desde un <style>
   * en linea: tres niveles de especificidad, que ganan a
   * ".lbm-ficha-v2__cart form.cart". Se iguala con el body.
   */
  body.woocommerce-page div.product .lbm-ficha-v2__cart form.cart,
  body .lbm-ficha-v2__cart form.cart {
    margin-bottom: 0;
  }

  /*
   * El bloque de comprar respiraba de mas: entre el precio, la fecha de
   * entrega, el rotulo CANTIDAD y el boton se iba una pantalla entera
   * para tres datos.
   */
  .lbm-ficha-v2__buy {
    padding: 16px 14px;
  }
  .lbm-ficha-v2__buy-kicker {
    margin-bottom: 2px;
    font-size: 12px;
  }
  .lbm-ficha-v2__buy-price {
    margin-bottom: 4px;
    font-size: 26px;
  }
  .lbm-ficha-v2__buy-ship {
    margin-bottom: 10px;
    font-size: 13.5px;
  }
  .lbm-ficha-v2__buy-ship .lbm-ficha-v2__icon {
    flex-basis: 20px;
    width: 20px;
    height: 20px;
  }
  .lbm-ficha-v2__qty-label {
    margin-bottom: 4px;
    font-size: 11px;
  }
}

@media (max-width: 640px) {
  .lbm-ficha-v2__title {
    font-size: 19px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lbm-ficha-v2 * {
    transition: none !important;
  }
}
