.fmax-b2b {
  --b2b-blue: #13367e;
  --b2b-ink: #666;
  --b2b-button: #13367e;
  --b2b-button-text: #fff;
  --b2b-surface: #fff;
  --b2b-line: #e5e7eb;
  --b2b-columns: 4;
  color: var(--b2b-ink);
  font: 400 14px/1.5 'Work Sans', system-ui, sans-serif;
}
.fmax-b2b, .fmax-b2b * { box-sizing: border-box; }
.fmax-b2b [hidden] { display: none !important; }
.fmax-b2b :is(a, button, input, textarea):focus-visible { outline: 2px solid #2177d6; outline-offset: 3px; }
.fmax-b2b .fmax-b2b-title { margin: 0; color: var(--b2b-blue); font: 600 clamp(24px, 3vw, 30px)/1.2 'Work Sans', system-ui, sans-serif; }
.fmax-b2b-note { margin: 12px 0 0; padding: 10px 12px; border: 1px solid var(--b2b-line); border-radius: 5px; background: #f8f9fc; }
.fmax-b2b-lots { scroll-margin-top: 24px; }
.fmax-b2b-lots-intro { margin: 0 0 40px; text-align: center; }
.fmax-b2b-lots-intro p, .fmax-b2b-quote-copy p { margin: 10px 0 0; }

.fmax-b2b-route, .fmax-b2b-route nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.fmax-b2b-route { width: 100%; max-width: 1380px; margin-inline: auto; padding: 13px 32px; justify-content: space-between; font-size: 13px; }
.fmax-b2b .fmax-b2b-rate { display: inline-flex; align-items: center; gap: 7px; padding: 5px 14px; border: 1px solid rgb(19 54 126 / 16%); border-radius: 3px; background: #fff; color: var(--b2b-blue); font-size: 12.5px; font-weight: 700; }
.fmax-b2b-rate::before { content: ''; flex: none; width: 7px; height: 7px; border-radius: 50%; background: #728095; }
.fmax-b2b-rate[data-status="ok"]::before { background: #1b8547; }
.fmax-b2b-rate[data-status="last"]::before { background: #b65a0d; }
.fmax-b2b-route a { color: var(--b2b-blue); }

.fmax-b2b-photo { margin: 0; }
.fmax-b2b-photo img { display: block; width: min(100%, 380px); height: 225px; margin: 0 auto; object-fit: cover; border-radius: 10px; box-shadow: 0 16px 34px rgb(19 54 126 / 16%); }

.fmax-b2b .woocommerce ul.products { display: grid; grid-template-columns: repeat(var(--b2b-columns), minmax(0, 1fr)); gap: var(--b2b-gap, 24px); margin: 0; padding: 0; list-style: none; }
.fmax-b2b .woocommerce ul.products::before, .fmax-b2b .woocommerce ul.products::after { display: none; }
.fmax-b2b .woocommerce ul.products li.product { display: flex; flex-direction: column; position: relative; float: none; clear: none; width: auto; min-width: 0; margin: 0; padding: var(--b2b-card-padding, 18px); border: 1px solid var(--b2b-line); border-radius: var(--b2b-card-radius, 6px); background: var(--b2b-surface); overflow-wrap: anywhere; }
.fmax-b2b .woocommerce ul.products li.product a img { display: block; width: 100%; height: var(--b2b-photo-height, 165px); object-fit: cover; margin: 0 0 16px; border-radius: 6px; background: #f5f7fb; }
.fmax-b2b .woocommerce ul.products li.product .woocommerce-loop-product__title { color: var(--b2b-blue); margin: 0 0 8px; padding: 0; font-size: 15.5px; font-weight: 700; line-height: 1.35; }
.fmax-b2b .woocommerce ul.products li.product .price { margin: 14px 0 2px; padding-top: 12px; border-top: 1px solid #f1f3f6; color: #222; font-size: 22px; font-weight: 800; }
.fmax-b2b :is(.fmax-b2b-product-description, .fmax-b2b-price-bs, .fmax-b2b-unit) { display: block; margin: 5px 0; color: var(--b2b-ink); font-size: 12.5px; line-height: 1.35; }
.fmax-b2b :is(.fmax-b2b-price-bs, .fmax-b2b-unit) { font-weight: 650; }
.fmax-b2b .woocommerce ul.products li.product .onsale { position: absolute; inset: 26px 26px auto auto; z-index: 1; min-width: 0; min-height: 0; margin: 0; padding: 4px 9px; border-radius: 3px; background: #df7314; color: #fff; font-size: 11px; line-height: 1.2; }

.fmax-b2b .fmax-b2b-button, .fmax-b2b .woocommerce ul.products li.product .button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 42px; padding: 10px 14px; border: 0; border-radius: 3px; background: var(--b2b-button); color: var(--b2b-button-text); font: inherit; font-size: 13px; font-weight: 700; text-align: center; text-decoration: none; cursor: pointer; }
.fmax-b2b .woocommerce ul.products li.product .button { margin: auto 0 0; }
.fmax-b2b .woocommerce ul.products li.product > a:first-of-type { padding-bottom: 14px; }
.fmax-b2b .woocommerce ul.products li.product:hover { border-color: var(--b2b-blue); box-shadow: 0 12px 30px rgb(19 54 126 / 8%); }
.fmax-b2b-product-category { display: block; margin-bottom: 4px; color: var(--b2b-ink); font-size: 11.5px; font-weight: 600; }
.fmax-b2b .fmax-b2b-product-description { margin-bottom: 14px; font-size: 13px; line-height: 1.5; }
.fmax-b2b .woocommerce ul.products li.product .button:hover, .fmax-b2b .fmax-b2b-button:hover { filter: brightness(1.12); }
.fmax-b2b .fmax-b2b-request { display: flex; align-items: center; justify-content: center; min-height: 41px; margin-top: 8px; padding: 5px 8px; border: 1px solid var(--b2b-line); border-radius: 5px; color: var(--b2b-blue); font-size: 13px; font-weight: 650; text-align: center; text-decoration: none; }
.fmax-b2b .fmax-b2b-request:hover { border-color: var(--b2b-blue); }
.fmax-b2b.fmax-b2b-hide-image .woocommerce ul.products li.product a img,
.fmax-b2b.fmax-b2b-hide-price .woocommerce ul.products li.product .price,
.fmax-b2b.fmax-b2b-hide-sale .woocommerce ul.products li.product .onsale,
.fmax-b2b.fmax-b2b-hide-cart .woocommerce ul.products li.product .button { display: none; }

.fmax-b2b-quote { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: start; gap: 52px; padding: 52px 56px; border: 1px solid var(--b2b-line); border-radius: 6px; background: var(--b2b-surface); }
.fmax-b2b .fmax-b2b-quote-copy .fmax-b2b-title { font-size: 28px; font-weight: 400; line-height: 1.25; }
.fmax-b2b-quote-copy strong { font-weight: 800; }
.fmax-b2b-quote-copy p { font-size: 14.5px; line-height: 1.7; }
.fmax-b2b .fmax-b2b-form .fmax-b2b-button { padding: 14px 36px; font-size: 14.5px; }
.fmax-b2b .fmax-b2b-direct { margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--b2b-line); }
.fmax-b2b-direct a { display: block; color: #df7314; font-size: 22px; font-weight: 800; }
.fmax-b2b-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; min-width: 0; margin: 0; }
.fmax-b2b-form label { display: grid; gap: 5px; min-width: 0; font-size: 13px; font-weight: 650; }
.fmax-b2b-full { grid-column: 1 / -1; }
.fmax-b2b .fmax-b2b-form :is(input, textarea) { width: 100%; min-height: 46px; min-width: 0; margin: 0; padding: 10px 16px; border: 1px solid #d1d5db; border-radius: 3px; color: var(--b2b-ink); background: #fff; font: 400 14px/1.45 'Work Sans', system-ui, sans-serif; }
.fmax-b2b .fmax-b2b-form textarea { resize: vertical; }

@media (max-width: 1120px) {
  .fmax-b2b { --b2b-columns: 2; }
  .fmax-b2b-quote { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}
@media (max-width: 820px) {
  .fmax-b2b-route { padding-inline: 18px; }
  .fmax-b2b-quote { padding: 28px 22px; }
}
@media (max-width: 540px) {
  .fmax-b2b { --b2b-columns: 1; }
  .fmax-b2b-form { grid-template-columns: minmax(0, 1fr); }
}

/* Maquetación editorial de la plantilla Ventas al Mayor. */
.fmax-mayor-page .elementor-widget-text-editor p:last-child { margin-bottom: 0; }
.fmax-mayor-page .fmax-mayor-hero-title strong { color: #222; font-weight: 800; }
.fmax-mayor-page .fmax-mayor-actions > .elementor-widget,
.fmax-mayor-page .fmax-mayor-tags > .elementor-widget { width: auto; }
.fmax-mayor-page .fmax-mayor-tag { border: 1px solid #dce1eb; border-radius: 3px; }
.fmax-mayor-page .fmax-mayor-stat .elementor-heading-title span { color: #df7314; }
.fmax-mayor-page .fmax-mayor-pillar-number .elementor-heading-title { display: inline-block; padding-bottom: 5px; border-bottom: 2px solid currentColor; }
.elementor .fmax-mayor-showcase.e-con,
.elementor .fmax-mayor-metrics.e-con,
.elementor .fmax-mayor-pillars.e-con { display: grid; }
.fmax-mayor-page .fmax-mayor-showcase { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.fmax-mayor-page .fmax-mayor-metrics { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fmax-mayor-page .fmax-mayor-pillars { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fmax-mayor-page #lotes-b2b, .fmax-mayor-page #cotizacion-b2b { scroll-margin-top: 24px; }
@media (max-width: 1120px) {
  .fmax-mayor-page .fmax-mayor-showcase { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 820px) {
  .fmax-mayor-page .fmax-mayor-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fmax-mayor-page .fmax-mayor-pillars { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 540px) {
  .fmax-mayor-page .fmax-mayor-metrics { grid-template-columns: minmax(0, 1fr); }
}
