/* MX Selector 5.2.0 — conversion-first responsive product layout
   This file is presentation-only and loads after the configurator styles. */

body.mx-v50-commerce {
  --mx50-ink: #17191d;
  --mx50-muted: #667085;
  --mx50-line: #e3e6ea;
  --mx50-soft: #f5f6f8;
  --mx50-soft-2: #fafafa;
  --mx50-card: #ffffff;
  --mx50-brand: #a8977b;
  --mx50-brand-dark: #655640;
  --mx50-brand-soft: #f5f1ea;
  --mx50-delivery: #315b96;
  --mx50-delivery-dark: #254675;
  --mx50-delivery-soft: #f0f5fb;
  --mx50-accent: #e3262e;
  --mx50-accent-dark: #bd1d24;
  --mx50-choice: #243044;
  --mx50-focus: #2563eb;
  --mx50-success: #12804d;
  --mx50-success-soft: #eef9f3;
  --mx50-radius: 16px;
  --mx50-shadow: 0 12px 32px rgba(17, 24, 39, .075);
}

body.mx-v50-commerce.single-product .summary.entry-summary > .price,
body.mx-v50-commerce.single-product .summary > .price,
body.mx-v50-commerce.single-product .woocommerce-product-details__short-description,
body.mx-v50-commerce.single-product .summary.entry-summary > .product_meta,
body.mx-v50-commerce.single-product .summary > .product_meta,
body.mx-v50-commerce.single-product .summary.entry-summary > .ct-product-divider,
body.mx-v50-commerce.single-product .summary > .ct-product-divider {
  display: none !important;
}

/* ---------- PRODUCT HEADING AND PURCHASE SURFACE ---------- */
body.mx-v50-commerce.single-product .summary.entry-summary,
body.mx-v50-commerce.single-product .summary {
  min-width: 0;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--mx50-ink);
}

body.mx-v50-commerce.single-product .summary.entry-summary > .product_title,
body.mx-v50-commerce.single-product .summary > .product_title {
  display: none !important;
}

body.mx-v50-commerce .mx-v511-product-head {
  display: block !important;
  min-width: 0;
  width: 100%;
  margin: 0;
  padding: 0;
}

body.mx-v50-commerce .mx-v511-product-head h1 {
  max-width: 1180px;
  margin: 0 !important;
  color: var(--mx50-ink) !important;
  font-size: clamp(27px, 2.35vw, 36px) !important;
  font-weight: 850 !important;
  letter-spacing: -.03em !important;
  line-height: 1.08 !important;
  text-wrap: balance;
}

body.mx-v50-commerce.single-product .summary form.cart,
body.mx-v50-commerce.single-product .summary form.variations_form.cart {
  margin: 0 !important;
}

/* Gallery is a viewer, not an article-sized image. */
body.mx-v50-commerce.single-product .woocommerce-product-gallery {
  min-width: 0;
}

body.mx-v50-commerce.single-product .woocommerce-product-gallery__wrapper,
body.mx-v50-commerce.single-product .woocommerce-product-gallery figure {
  overflow: hidden;
  border: 1px solid #e4e7eb;
  border-radius: 18px;
  background: #f7f7f7;
  box-shadow: 0 8px 26px rgba(17, 24, 39, .055);
}

body.mx-v50-commerce.single-product .woocommerce-product-gallery__image,
body.mx-v50-commerce.single-product .woocommerce-product-gallery__image > a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #f7f7f7 !important;
}

body.mx-v50-commerce.single-product .woocommerce-product-gallery__image img {
  width: 100% !important;
  height: auto !important;
  max-height: 560px !important;
  object-fit: contain !important;
}

body.mx-v50-commerce.single-product .woocommerce-product-gallery .flex-control-thumbs {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 9px !important;
  overflow-x: auto !important;
  padding: 10px 1px 2px !important;
  scrollbar-width: thin;
}

body.mx-v50-commerce.single-product .woocommerce-product-gallery .flex-control-thumbs li {
  flex: 0 0 70px !important;
  width: 70px !important;
  margin: 0 !important;
}

body.mx-v50-commerce.single-product .woocommerce-product-gallery .flex-control-thumbs img {
  width: 70px !important;
  height: 70px !important;
  object-fit: cover !important;
  border: 1px solid #d9dde2 !important;
  border-radius: 10px !important;
  background: #fff !important;
}

body.mx-v50-commerce.single-product .woocommerce-product-gallery .flex-control-thumbs img.flex-active {
  border: 2px solid #20242a !important;
}

/* ---------- CONFIGURATOR ---------- */
body.mx-v50-commerce .mx-v50-configurator {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  overflow: hidden !important;
  border: 1px solid #d9d2c7 !important;
  border-radius: var(--mx50-radius) !important;
  background: var(--mx50-card) !important;
  box-shadow: 0 6px 18px rgba(17, 24, 39, .035) !important;
}

body.mx-v50-commerce .mx-v50-configurator-head {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 0 !important;
  align-items: start !important;
  padding: 17px 18px 15px !important;
  border: 0 !important;
  border-bottom: 1px solid #dfd7cb !important;
  background: var(--mx50-brand-soft) !important;
  box-shadow: inset 4px 0 0 var(--mx50-brand) !important;
}

body.mx-v50-commerce .mx-v50-head-copy {
  min-width: 0;
}

body.mx-v50-commerce .mx-v40-eyebrow,
body.mx-v50-commerce .mx-v41-heading small {
  display: block !important;
  margin: 0 0 3px !important;
  color: var(--mx50-brand-dark) !important;
  font-size: 10px !important;
  font-weight: 850 !important;
  letter-spacing: .065em !important;
  line-height: 1.2 !important;
  text-transform: uppercase !important;
}

body.mx-v50-commerce .mx-v50-delivery-head small {
  display: block !important;
  margin: 0 0 3px !important;
  color: var(--mx50-delivery) !important;
  font-size: 10px !important;
  font-weight: 850 !important;
  letter-spacing: .065em !important;
  line-height: 1.2 !important;
  text-transform: uppercase !important;
}

body.mx-v50-commerce .mx-v50-configurator-head h2 {
  margin: 0 !important;
  color: var(--mx50-ink) !important;
  font-size: 20px !important;
  font-weight: 900 !important;
  letter-spacing: -.015em !important;
  line-height: 1.15 !important;
}

body.mx-v50-commerce .mx-v50-configurator-head p {
  margin: 4px 0 0 !important;
  color: var(--mx50-muted) !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
}

body.mx-v50-commerce .mx-v40-step,
body.mx-v50-commerce .mx-v41-step {
  padding: 13px 16px !important;
  border: 0 !important;
  border-bottom: 1px solid #edf0f2 !important;
  background: #fff !important;
}

body.mx-v50-commerce .mx-v40-step:last-of-type,
body.mx-v50-commerce .mx-v41-step:last-of-type {
  border-bottom: 0 !important;
}

body.mx-v50-commerce .mx-v40-step-heading,
body.mx-v50-commerce .mx-v41-step-title {
  gap: 8px !important;
  margin-bottom: 9px !important;
}

body.mx-v50-commerce .mx-v40-step-number,
body.mx-v50-commerce .mx-v41-step-title > span {
  display: inline-grid !important;
  width: 22px !important;
  height: 22px !important;
  flex: 0 0 22px !important;
  place-items: center !important;
  border-radius: 50% !important;
  background: var(--mx50-brand-dark) !important;
  color: #fff !important;
  box-shadow: none !important;
  font-size: 11px !important;
  font-weight: 900 !important;
}

body.mx-v50-commerce .mx-v40-step-heading h3,
body.mx-v50-commerce .mx-v41-step-title strong {
  margin: 0 !important;
  color: var(--mx50-ink) !important;
  font-size: 15px !important;
  font-weight: 850 !important;
  line-height: 1.2 !important;
}

body.mx-v50-commerce .mx-v40-step-heading p,
body.mx-v50-commerce .mx-v41-help {
  margin-top: 2px !important;
  color: var(--mx50-muted) !important;
  font-size: 11px !important;
}

body.mx-v50-commerce .mx-v40-size-options,
body.mx-v50-commerce .mx-v41-options {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(92px, 1fr)) !important;
  gap: 8px !important;
}

body.mx-v50-commerce .mx-v40-size-option,
body.mx-v50-commerce .mx-v40-package-option,
body.mx-v50-commerce .mx-v41-option {
  min-height: 46px !important;
  padding: 8px 10px !important;
  border: 1px solid #d3d7dc !important;
  border-radius: 10px !important;
  background: #fff !important;
  color: #2c3137 !important;
  box-shadow: none !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  transform: none !important;
}

body.mx-v50-commerce .mx-v40-size-option:hover:not(:disabled),
body.mx-v50-commerce .mx-v40-package-option:hover:not(:disabled),
body.mx-v50-commerce .mx-v41-option:hover:not(:disabled) {
  border-color: #8f969e !important;
  background: #fafafa !important;
}

body.mx-v50-commerce .mx-v40-size-option[aria-pressed="true"],
body.mx-v50-commerce .mx-v40-package-option[aria-pressed="true"],
body.mx-v50-commerce .mx-v41-option[aria-pressed="true"] {
	position: relative !important;
	border: 2px solid var(--mx50-accent) !important;
	background: #fff1f2 !important;
	color: #991b1f !important;
	box-shadow: 0 0 0 2px rgba(227, 38, 46, .10) !important;
}

body.mx-v50-commerce .mx-v40-size-option[aria-pressed="true"]::after,
body.mx-v50-commerce .mx-v41-option[aria-pressed="true"]::after {
	content: "✓";
	display: inline-grid;
	width: 19px;
	height: 19px;
	margin-left: 7px;
	place-items: center;
	border-radius: 50%;
	background: var(--mx50-accent);
	color: #fff;
	font-size: 11px;
	font-weight: 950;
	line-height: 1;
}

body.mx-v50-commerce .mx-v40-package-option.is-recommended:not([aria-pressed="true"]) {
  border-color: #9aa5b3 !important;
  background: #fafbfc !important;
}

body.mx-v50-commerce .mx-v40-current-model,
body.mx-v50-commerce .mx-v41-model-current {
  border: 1px solid #ddd4c8 !important;
  border-radius: 11px !important;
  background: #faf7f2 !important;
  box-shadow: none !important;
}

body.mx-v50-commerce .mx-v40-open-models,
body.mx-v50-commerce .mx-v41-open-models {
	display: inline-flex !important;
	min-height: 46px !important;
	padding: 9px 14px !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 8px !important;
	border: 1px solid var(--mx50-accent) !important;
	border-radius: 9px !important;
	background: var(--mx50-accent) !important;
	color: #fff !important;
	box-shadow: 0 5px 13px rgba(227, 38, 46, .19) !important;
	font-weight: 900 !important;
}

body.mx-v50-commerce .mx-v40-open-models::after,
body.mx-v50-commerce .mx-v41-open-models::after {
	content: "→";
	font-size: 18px;
	font-weight: 950;
	line-height: 1;
}

/* Beat the global WooCommerce button rule: model selection is a required CTA. */
body.mx-v50-commerce.single-product button.button.mx-v40-open-models,
body.mx-v50-commerce.single-product button.button.mx-v41-open-models {
	border-color: var(--mx50-accent) !important;
	background: var(--mx50-accent) !important;
	color: #fff !important;
	box-shadow: 0 5px 13px rgba(227, 38, 46, .19) !important;
}

body.mx-v50-commerce.single-product button.button.mx-v40-open-models:hover,
body.mx-v50-commerce.single-product button.button.mx-v41-open-models:hover {
	border-color: var(--mx50-accent-dark) !important;
	background: var(--mx50-accent-dark) !important;
	color: #fff !important;
}

body.mx-v50-commerce.single-product button.button.mx-cotizador-temporal-boton {
  border-color: var(--mx50-delivery) !important;
  background: var(--mx50-delivery) !important;
  color: #fff !important;
  box-shadow: 0 5px 12px rgba(49, 91, 150, .16) !important;
}

body.mx-v50-commerce.single-product button.button.mx-cotizador-temporal-boton:hover:not(:disabled) {
  border-color: var(--mx50-delivery-dark) !important;
  background: var(--mx50-delivery-dark) !important;
  color: #fff !important;
}

body.mx-v50-commerce .mx-v40-meter-calculator {
  padding: 10px !important;
  border: 1px solid #d9dde2 !important;
  border-radius: 11px !important;
  background: #f8f9fa !important;
}

/* Keep the unit readable even when the theme restyles WooCommerce inputs. */
body.mx-v50-commerce .mx-v40-meter-field input,
body.mx-v50-commerce .mx-v41-meter-field input {
	padding-right: 82px !important;
}

body.mx-v50-commerce .mx-v40-meter-row input,
body.mx-v50-commerce .mx-v41-field-label input,
body.mx-v50-commerce .mx-v41-quantity button,
body.mx-v50-commerce .mx-v41-quantity input {
  border-color: #cbd1d7 !important;
  border-radius: 10px !important;
  background: #fff !important;
}

body.mx-v50-commerce .mx-v40-selection-summary,
body.mx-v50-commerce .mx-v41-summary,
body.mx-v50-commerce .mx-v412-fixed-summary {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  margin: 0 !important;
  padding: 13px 16px !important;
  border: 0 !important;
  border-top: 1px solid #101827 !important;
  border-radius: 0 !important;
  background: #172033 !important;
  color: #fff !important;
  box-shadow: none !important;
}

body.mx-v50-commerce .mx-v40-selection-summary .price,
body.mx-v50-commerce .mx-v40-selection-summary .price .amount,
body.mx-v50-commerce .mx-v40-selection-summary .price bdi,
body.mx-v50-commerce .mx-v40-selection-summary .price .woocommerce-Price-currencySymbol,
body.mx-v50-commerce .mx-v41-summary > strong,
body.mx-v50-commerce .mx-v41-summary-total > strong,
body.mx-v50-commerce .mx-v412-fixed-total,
body.mx-v50-commerce .mx-v412-fixed-total .amount,
body.mx-v50-commerce .mx-v412-fixed-total bdi,
body.mx-v50-commerce .mx-v412-fixed-total .woocommerce-Price-currencySymbol {
  color: #fff !important;
  font-size: 26px !important;
  font-weight: 950 !important;
  letter-spacing: -.025em !important;
  white-space: nowrap !important;
}

body.mx-v50-commerce .mx-v41-summary-copy small {
  color: #c9d2df !important;
  font-size: 10px !important;
  font-weight: 850 !important;
}

body.mx-v50-commerce .mx-v41-summary-copy > span,
body.mx-v50-commerce .mx-v40-summary-line > span {
  color: #f3f6fa !important;
}

body.mx-v50-commerce .mx-v41-summary-total {
	flex: 0 0 auto;
	justify-items: end;
	text-align: right;
}

body.mx-v50-commerce .mx-v41-summary-total small,
body.mx-v50-commerce .mx-v41-summary-total > span {
	color: #c9d2df !important;
}

body.mx-v50-commerce .mx-v40-summary-line {
	display: flex !important;
	width: 100% !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 14px !important;
}

body.mx-v50-commerce .mx-v40-summary-choice,
body.mx-v50-commerce .mx-v40-summary-total {
	display: grid;
	min-width: 0;
	gap: 2px;
}

body.mx-v50-commerce .mx-v40-summary-choice small,
body.mx-v50-commerce .mx-v40-summary-total small {
	color: #c9d2df !important;
	font-size: 10px !important;
	font-weight: 850 !important;
	letter-spacing: .055em !important;
	line-height: 1.2 !important;
	text-transform: uppercase !important;
}

body.mx-v50-commerce .mx-v40-summary-choice > strong {
	color: #fff !important;
	font-size: 14px !important;
	font-weight: 850 !important;
	line-height: 1.35 !important;
}

body.mx-v50-commerce .mx-v40-summary-total {
	flex: 0 0 auto;
	justify-items: end;
	text-align: right;
}

body.mx-v50-commerce .mx-v40-summary-total > span {
	color: #c9d2df !important;
	font-size: 10px !important;
	font-weight: 650 !important;
}

/* ---------- DELIVERY / ORDER SUMMARY ---------- */
body.mx-v50-commerce .mx-cotizador-temporal.mx-v50-delivery-card {
  clear: both !important;
  width: 100% !important;
  margin: 10px 0 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 1px solid #d4dfed !important;
  border-radius: var(--mx50-radius) !important;
  background: #fff !important;
  box-shadow: 0 6px 18px rgba(17, 24, 39, .035) !important;
}

body.mx-v50-commerce .mx-v50-delivery-head {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 0 !important;
  align-items: start !important;
  margin: 0 !important;
  padding: 16px 18px 14px !important;
  border-bottom: 1px solid #d7e1ee !important;
  background: var(--mx50-delivery-soft) !important;
  box-shadow: inset 4px 0 0 var(--mx50-delivery) !important;
}

body.mx-v50-commerce .mx-v50-delivery-head .mx-cotizador-temporal-titulo {
  display: block !important;
  margin: 0 !important;
  color: var(--mx50-ink) !important;
  font-size: 18px !important;
  font-weight: 900 !important;
  letter-spacing: -.015em !important;
  line-height: 1.15 !important;
}

body.mx-v50-commerce .mx-cotizador-temporal [data-mx-quote-parcel-controls] {
  padding: 13px 16px 15px !important;
}

body.mx-v50-commerce .mx-cotizador-temporal label {
  display: block !important;
  margin: 0 0 7px !important;
  color: #2d3238 !important;
  font-size: 12px !important;
  font-weight: 850 !important;
}

body.mx-v50-commerce .mx-cotizador-temporal-controles {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 8px !important;
  align-items: stretch !important;
}

body.mx-v50-commerce .mx-cotizador-temporal-cp {
  width: 100% !important;
  min-width: 0 !important;
  min-height: 50px !important;
  padding: 10px 13px !important;
  border: 1px solid #cbd1d7 !important;
  border-radius: 10px !important;
  background: #fff !important;
  color: var(--mx50-ink) !important;
  font-size: 16px !important;
  font-weight: 750 !important;
}

body.mx-v50-commerce .mx-cotizador-temporal-cp:focus {
  outline: 3px solid rgba(37, 99, 235, .14) !important;
  border-color: var(--mx50-focus) !important;
}

body.mx-v50-commerce .mx-cotizador-temporal-boton {
  min-height: 50px !important;
  padding: 9px 15px !important;
  border: 1px solid var(--mx50-delivery) !important;
  border-radius: 10px !important;
  background: var(--mx50-delivery) !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  white-space: nowrap !important;
}

body.mx-v50-commerce .mx-cotizador-temporal-boton:hover:not(:disabled) {
  border-color: var(--mx50-delivery-dark) !important;
  background: var(--mx50-delivery-dark) !important;
}

body.mx-v50-commerce .mx-v40-size-option:focus-visible,
body.mx-v50-commerce .mx-v40-package-option:focus-visible,
body.mx-v50-commerce .mx-v41-option:focus-visible,
body.mx-v50-commerce .mx-v40-open-models:focus-visible,
body.mx-v50-commerce .mx-v41-open-models:focus-visible,
body.mx-v50-commerce .mx-cotizador-temporal-boton:focus-visible,
body.mx-v50-commerce .mx-cotizador-compra-final .single_add_to_cart_button:focus-visible {
  outline: 3px solid rgba(37, 99, 235, .22) !important;
  outline-offset: 2px !important;
}

body.mx-v50-commerce .mx-cotizador-temporal-ayuda {
  margin: 7px 0 0 !important;
  color: var(--mx50-muted) !important;
  font-size: 11px !important;
  line-height: 1.4 !important;
}

body.mx-v50-commerce .mx-cotizador-temporal-resultado:not([hidden]) {
  display: block !important;
  margin: 0 !important;
  padding: 0 16px 16px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

body.mx-v50-commerce .mx-cotizador-temporal-resultado > p:not(.mx-cotizador-temporal-error) {
  margin: 0 !important;
  padding: 11px 12px !important;
  border: 1px solid #dce2e8 !important;
  border-radius: 10px !important;
  background: #f8fafc !important;
  color: var(--mx50-muted) !important;
  font-size: 12px !important;
  font-weight: 750 !important;
}

body.mx-v50-commerce .mx-cotizador-resumen.mx-v50-order-summary {
  padding: 0 !important;
  overflow: hidden !important;
  border: 1px solid #d9dde2 !important;
  border-radius: 13px !important;
  background: #fff !important;
  box-shadow: none !important;
}

body.mx-v50-commerce .mx-v50-order-lines {
  padding: 12px 13px 8px !important;
}

body.mx-v50-commerce .mx-cotizador-resumen-fila {
  display: flex !important;
  align-items: baseline !important;
  justify-content: space-between !important;
  gap: 14px !important;
  margin: 6px 0 !important;
  color: var(--mx50-muted) !important;
  font-size: 13px !important;
}

body.mx-v50-commerce .mx-cotizador-resumen-fila strong,
body.mx-v50-commerce .mx-cotizador-resumen-fila strong .amount,
body.mx-v50-commerce .mx-cotizador-resumen-fila strong bdi,
body.mx-v50-commerce .mx-cotizador-resumen-fila strong .woocommerce-Price-currencySymbol {
  display: inline !important;
  color: #30353a !important;
  font-size: 14px !important;
  font-weight: 850 !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
}

body.mx-v50-commerce .mx-cotizador-resumen-total.mx-v50-total-hero {
  display: block !important;
  margin: 0 !important;
  padding: 14px 13px 15px !important;
  border: 0 !important;
  border-top: 1px solid #e2e6ea !important;
  background: var(--mx50-success-soft) !important;
}

body.mx-v50-commerce .mx-cotizador-resumen-total.mx-v50-total-hero > span {
  display: block !important;
  margin: 0 0 3px !important;
  color: #385144 !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  letter-spacing: .06em !important;
  line-height: 1.2 !important;
  text-transform: uppercase !important;
}

body.mx-v50-commerce .mx-cotizador-resumen-total.mx-v50-total-hero > strong,
body.mx-v50-commerce .mx-cotizador-resumen-total.mx-v50-total-hero > strong .amount,
body.mx-v50-commerce .mx-cotizador-resumen-total.mx-v50-total-hero > strong bdi,
body.mx-v50-commerce .mx-cotizador-resumen-total.mx-v50-total-hero > strong .woocommerce-Price-currencySymbol {
  display: inline !important;
  color: #0f5132 !important;
  font-size: clamp(38px, 3.4vw, 48px) !important;
  font-weight: 950 !important;
  letter-spacing: -.045em !important;
  line-height: .98 !important;
  white-space: nowrap !important;
}

body.mx-v50-commerce .mx-cotizador-temporal-nota {
  display: block !important;
  margin: 0 !important;
  padding: 9px 13px 11px !important;
  border-top: 1px solid #dcefe4 !important;
  background: var(--mx50-success-soft) !important;
  color: var(--mx50-success) !important;
  font-size: 11px !important;
  font-weight: 800 !important;
}

body.mx-v50-commerce .mx-cotizador-temporal-error {
  margin: 0 !important;
  padding: 10px 12px !important;
  border: 1px solid #f0caca !important;
  border-radius: 10px !important;
  background: #fff5f5 !important;
  color: #9b1c1c !important;
  font-size: 12px !important;
  font-weight: 800 !important;
}

body.mx-v50-commerce .mx-cotizador-especial {
  padding: 13px !important;
  border: 1px solid #d9e2dc !important;
  border-radius: 12px !important;
  background: #f6fbf8 !important;
}

body.mx-v50-commerce.single-product a.button.mx-cotizador-especial-boton {
  min-height: 48px !important;
  padding: 11px 16px !important;
  border: 1px solid var(--mx50-success) !important;
  border-radius: 10px !important;
  background: var(--mx50-success) !important;
  color: #fff !important;
  font-weight: 900 !important;
}

body.mx-v50-commerce .mx-cotizador-compra-final {
  margin: 0 !important;
  padding: 0 16px 16px !important;
  border: 0 !important;
}

body.mx-v50-commerce .mx-cotizador-compra-final .single_add_to_cart_button {
  display: block !important;
  width: 100% !important;
  min-height: 56px !important;
  margin: 0 !important;
  padding: 12px 18px !important;
  border: 1px solid var(--mx50-accent) !important;
  border-radius: 11px !important;
  background: var(--mx50-accent) !important;
  color: #fff !important;
  box-shadow: 0 7px 16px rgba(227, 38, 46, .18) !important;
  font-size: 16px !important;
  font-weight: 950 !important;
  letter-spacing: -.01em !important;
  line-height: 1.15 !important;
  text-align: center !important;
}

body.mx-v50-commerce .mx-cotizador-compra-final .single_add_to_cart_button:hover:not(:disabled) {
  border-color: var(--mx50-accent-dark) !important;
  background: var(--mx50-accent-dark) !important;
}

body.mx-v50-commerce .mx-v51-purchase-note {
  display: block;
  margin: 9px 2px 0;
  color: var(--mx50-muted);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

/* ---------- INFORMATION AFTER PURCHASE SURFACE ---------- */
body.mx-v50-commerce .mx-v50-after-buy {
  clear: both;
  width: 100%;
  margin: 18px 0 6px;
}

body.mx-v50-commerce .mx-v50-quick-info {
  overflow: hidden;
  border: 1px solid var(--mx50-line);
  border-radius: 13px;
  background: #fff;
}

body.mx-v50-commerce .mx-v50-quick-info > summary {
  padding: 14px 16px;
  color: #23272d;
  font-size: 14px;
  font-weight: 850;
  cursor: pointer;
}

body.mx-v50-commerce .mx-v50-quick-info-copy {
  padding: 0 16px 15px;
  color: var(--mx50-muted);
  font-size: 13px;
  line-height: 1.55;
}

body.mx-v50-commerce .mx-v50-quick-info-copy p:last-child {
  margin-bottom: 0;
}

body.mx-v50-commerce .mx-v50-after-buy + .product_meta,
body.mx-v50-commerce .product_meta {
  color: var(--mx50-muted) !important;
  font-size: 11px !important;
}

/* ---------- STICKY MOBILE BUY BAR ---------- */
.mx-v50-sticky-buy {
  display: none;
}

/* Desktop: one readable heading, then a balanced viewer and buy box. */
@media (min-width: 1180px) {
  body.mx-v50-commerce.single-product .product-entry-wrapper {
    display: grid !important;
    grid-template-columns: minmax(0, 1.05fr) minmax(500px, .95fr) !important;
    align-items: start !important;
    column-gap: clamp(30px, 3vw, 44px) !important;
    row-gap: 18px !important;
  }

  body.mx-v50-commerce .mx-v511-product-head {
    grid-column: 1 / -1;
  }

  body.mx-v50-commerce.single-product .product-entry-wrapper > .woocommerce-product-gallery,
  body.mx-v50-commerce.single-product .product-entry-wrapper > .summary.entry-summary,
  body.mx-v50-commerce.single-product .product-entry-wrapper > .summary {
    float: none !important;
    width: 100% !important;
    max-width: none !important;
  }

  body.mx-v50-commerce.single-product .woocommerce-product-gallery {
    align-self: start !important;
  }

  body.mx-v50-commerce.single-product .summary.entry-summary,
  body.mx-v50-commerce.single-product .summary {
    position: static !important;
  }
}

/* Tablet and phone: a single, predictable reading order. */
@media (max-width: 1179px) {
  body.mx-v50-commerce.single-product .product-entry-wrapper {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 0 !important;
  }

  body.mx-v50-commerce .mx-v511-product-head {
    display: block !important;
    order: -3;
    width: 100%;
    max-width: 820px;
    margin: 0 auto 15px;
    padding: 0 1px;
  }

  body.mx-v50-commerce .mx-v511-product-head h1 {
    margin: 0 !important;
    color: var(--mx50-ink) !important;
    font-size: clamp(25px, 4vw, 32px) !important;
    font-weight: 900 !important;
    letter-spacing: -.025em !important;
    line-height: 1.1 !important;
  }

  body.mx-v50-commerce.single-product .product-entry-wrapper > .woocommerce-product-gallery,
  body.mx-v50-commerce.single-product .product-entry-wrapper > .summary.entry-summary,
  body.mx-v50-commerce.single-product .product-entry-wrapper > .summary {
    float: none !important;
    width: 100% !important;
    max-width: 820px !important;
  }

  body.mx-v50-commerce.single-product .summary.entry-summary,
  body.mx-v50-commerce.single-product .summary {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  body.mx-v50-commerce.single-product .woocommerce-product-gallery {
    order: -2;
    position: static !important;
    max-width: 820px !important;
    margin: 0 auto 14px !important;
  }
}

/* ---------- MOBILE ---------- */
@media (max-width: 768px) {
  body.mx-v50-commerce.single-product .summary.entry-summary,
  body.mx-v50-commerce.single-product .summary {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  body.mx-v50-commerce .mx-v511-product-head {
    display: block !important;
    width: 100%;
    margin: 2px 0 11px;
    padding: 0 1px;
  }

  body.mx-v50-commerce .mx-v511-product-head h1 {
    margin: 0 !important;
    color: var(--mx50-ink) !important;
    font-size: clamp(21px, 5.9vw, 26px) !important;
    font-weight: 900 !important;
    letter-spacing: -.025em !important;
    line-height: 1.1 !important;
    overflow-wrap: anywhere;
    text-wrap: balance;
  }

  body.mx-v50-commerce.single-product .woocommerce-product-gallery {
    margin: 0 0 10px !important;
  }

  body.mx-v50-commerce.single-product .woocommerce-product-gallery__wrapper,
  body.mx-v50-commerce.single-product .woocommerce-product-gallery figure {
    border-radius: 13px !important;
  }

  body.mx-v50-commerce.single-product .woocommerce-product-gallery__image,
  body.mx-v50-commerce.single-product .woocommerce-product-gallery__image > a {
    height: min(70vw, 285px) !important;
    max-height: 285px !important;
  }

  body.mx-v50-commerce.single-product .woocommerce-product-gallery__image img {
    width: auto !important;
    max-width: 100% !important;
    height: 100% !important;
    max-height: 285px !important;
    object-fit: contain !important;
  }

  body.mx-v50-commerce.single-product .woocommerce-product-gallery .flex-control-thumbs {
    gap: 7px !important;
    padding-top: 8px !important;
  }

  body.mx-v50-commerce.single-product .woocommerce-product-gallery .flex-control-thumbs li {
    flex: 0 0 58px !important;
    width: 58px !important;
  }

  body.mx-v50-commerce.single-product .woocommerce-product-gallery .flex-control-thumbs img {
    width: 58px !important;
    height: 58px !important;
    border-radius: 8px !important;
  }

  body.mx-v50-commerce .mx-v50-configurator,
  body.mx-v50-commerce .mx-cotizador-temporal.mx-v50-delivery-card {
    border-radius: 13px !important;
  }

  body.mx-v50-commerce .mx-v50-configurator-head,
  body.mx-v50-commerce .mx-v50-delivery-head {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 0 !important;
    padding: 14px 14px 12px !important;
  }

  body.mx-v50-commerce .mx-v50-configurator-head h2,
  body.mx-v50-commerce .mx-v50-delivery-head .mx-cotizador-temporal-titulo {
    font-size: 18px !important;
  }

  body.mx-v50-commerce .mx-v50-configurator-head p,
  body.mx-v50-commerce .mx-v40-step-heading p {
    display: none !important;
  }

  body.mx-v50-commerce .mx-v50-configurator-head .mx-v40-eyebrow,
  body.mx-v50-commerce .mx-v41-heading small {
    display: none !important;
  }

  body.mx-v50-commerce .mx-v40-step,
  body.mx-v50-commerce .mx-v41-step {
    padding: 10px 13px !important;
  }

  body.mx-v50-commerce .mx-v40-size-options,
  body.mx-v50-commerce .mx-v41-options {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 7px !important;
  }

  body.mx-v50-commerce .mx-v40-size-option,
  body.mx-v50-commerce .mx-v40-package-option,
  body.mx-v50-commerce .mx-v41-option {
    min-height: 46px !important;
    padding: 7px 8px !important;
    font-size: 13px !important;
  }

  body.mx-v50-commerce .mx-v40-current-model,
  body.mx-v50-commerce .mx-v41-model-current {
    gap: 8px !important;
    padding: 9px !important;
  }

  body.mx-v50-commerce .mx-v40-current-model {
    grid-template-columns: 54px minmax(0, 1fr) !important;
  }

  body.mx-v50-commerce.single-product button.button.mx-v40-open-models,
  body.mx-v50-commerce.single-product button.button.mx-v41-open-models {
    grid-column: 1 / -1 !important;
    width: 100% !important;
  }

  body.mx-v50-commerce .mx-v40-current-thumb {
    width: 54px !important;
    height: 54px !important;
  }

  body.mx-v50-commerce .mx-v40-current-copy span {
    display: none !important;
  }

  body.mx-v50-commerce .mx-cotizador-temporal [data-mx-quote-parcel-controls] {
    padding: 11px 13px 13px !important;
  }

  body.mx-v50-commerce .mx-v40-selection-summary,
  body.mx-v50-commerce .mx-v41-summary,
  body.mx-v50-commerce .mx-v412-fixed-summary {
    align-items: flex-start !important;
    flex-direction: column !important;
    gap: 6px !important;
    padding: 13px 14px 14px !important;
  }

	body.mx-v50-commerce .mx-v40-summary-line {
		align-items: flex-start !important;
		flex-direction: column !important;
		gap: 10px !important;
	}

	body.mx-v50-commerce .mx-v40-summary-total {
		justify-items: start !important;
		text-align: left !important;
	}

	body.mx-v50-commerce .mx-v41-summary-total {
		justify-items: start !important;
		text-align: left !important;
	}

  body.mx-v50-commerce .mx-v40-selection-summary .price,
  body.mx-v50-commerce .mx-v40-selection-summary .price .amount,
  body.mx-v50-commerce .mx-v40-selection-summary .price bdi,
  body.mx-v50-commerce .mx-v40-selection-summary .price .woocommerce-Price-currencySymbol,
  body.mx-v50-commerce .mx-v41-summary > strong,
  body.mx-v50-commerce .mx-v41-summary-total > strong,
  body.mx-v50-commerce .mx-v412-fixed-total {
    font-size: 29px !important;
  }

  body.mx-v50-commerce .mx-cotizador-temporal-controles {
    grid-template-columns: minmax(0, 1fr) 144px !important;
    gap: 7px !important;
  }

  body.mx-v50-commerce .mx-cotizador-temporal-boton {
    padding: 8px 9px !important;
    font-size: 12px !important;
    white-space: normal !important;
  }

  body.mx-v50-commerce .mx-cotizador-temporal-resultado:not([hidden]) {
    padding: 0 13px 13px !important;
  }

  body.mx-v50-commerce .mx-cotizador-resumen-total.mx-v50-total-hero > strong,
  body.mx-v50-commerce .mx-cotizador-resumen-total.mx-v50-total-hero > strong .amount,
  body.mx-v50-commerce .mx-cotizador-resumen-total.mx-v50-total-hero > strong bdi,
  body.mx-v50-commerce .mx-cotizador-resumen-total.mx-v50-total-hero > strong .woocommerce-Price-currencySymbol {
    font-size: clamp(36px, 11vw, 46px) !important;
  }

  body.mx-v50-commerce .mx-cotizador-compra-final {
    padding: 0 13px 13px !important;
  }

  body.mx-v50-commerce .mx-cotizador-compra-final .single_add_to_cart_button {
    min-height: 54px !important;
    font-size: 16px !important;
  }

  body.mx-v50-commerce .mx-v50-after-buy {
    margin-top: 14px;
  }

  .mx-v50-sticky-buy {
    position: fixed;
    left: 50%;
    right: auto;
    bottom: max(10px, env(safe-area-inset-bottom));
    z-index: 100000;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(122px, 42%);
    align-items: center;
    gap: 9px;
    width: calc(100% - 20px);
    max-width: 680px;
    padding: 9px 10px;
    border: 1px solid #d9dde2;
    border-radius: 16px;
    background: rgba(255,255,255,.98);
    box-shadow: 0 12px 34px rgba(17,24,39,.19);
    backdrop-filter: blur(10px);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, calc(100% + 26px));
    visibility: hidden;
    transition: transform .2s ease, opacity .2s ease, visibility 0s linear .2s;
  }

  .mx-v50-sticky-buy.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0);
    visibility: visible;
    transition-delay: 0s;
  }

  .mx-v50-sticky-copy small {
    display: block;
    margin-bottom: 1px;
    color: #6b7178;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .045em;
    text-transform: uppercase;
  }

  .mx-v50-sticky-copy strong,
  .mx-v50-sticky-copy strong .amount,
  .mx-v50-sticky-copy strong bdi,
  .mx-v50-sticky-copy strong .woocommerce-Price-currencySymbol {
    display: inline !important;
    color: #111318 !important;
    font-size: 22px !important;
    font-weight: 950 !important;
    letter-spacing: -.03em !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  .mx-v50-sticky-button {
    min-height: 48px;
    padding: 8px 11px;
    border: 1px solid var(--mx50-accent);
    border-radius: 10px;
    background: var(--mx50-accent);
    color: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 950;
    cursor: pointer;
  }

  .mx-v50-sticky-button:hover:not(:disabled) {
    border-color: var(--mx50-accent-dark);
    background: var(--mx50-accent-dark);
  }

  .mx-v50-sticky-button:focus-visible,
  body.mx-v50-commerce .mx-cotizador-temporal-boton:focus-visible,
  body.mx-v50-commerce .mx-cotizador-compra-final .single_add_to_cart_button:focus-visible {
    outline: 3px solid rgba(37, 99, 235, .24) !important;
    outline-offset: 2px !important;
  }

  .mx-v50-sticky-button:disabled {
    cursor: not-allowed;
    opacity: .5;
  }

  body.mx-v50-sticky-visible {
    padding-bottom: 88px !important;
  }
}

@media (max-width: 560px) {
  body.mx-v50-commerce .ct-breadcrumbs {
    display: none !important;
  }

  body.mx-v50-commerce .mx-cotizador-temporal-controles {
    grid-template-columns: 1fr !important;
  }

  body.mx-v50-commerce .mx-cotizador-temporal-boton {
    width: 100% !important;
    min-height: 50px !important;
  }
}

@media (max-width: 390px) {
  .mx-v50-sticky-buy {
    grid-template-columns: minmax(0, 1fr) 142px;
  }

  .mx-v50-sticky-copy strong,
  .mx-v50-sticky-copy strong .amount,
  .mx-v50-sticky-copy strong bdi,
  .mx-v50-sticky-copy strong .woocommerce-Price-currencySymbol {
    font-size: 20px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mx-v50-sticky-buy {
    transition: none;
  }
}

/* ---------- V5.2.1 / CLEAR PRODUCT SUBTOTAL ---------- */
body.mx-v50-commerce .mx-v40-selection-summary,
body.mx-v50-commerce .mx-v41-summary {
	display: block !important;
	padding: 0 !important;
	overflow: hidden !important;
	border: 1px solid #d8dee7 !important;
	border-top: 3px solid var(--mx50-accent) !important;
	border-radius: 0 0 12px 12px !important;
	background: #fff !important;
	color: #202631 !important;
}

body.mx-v50-commerce .mx-v40-summary-line,
body.mx-v50-commerce .mx-v41-summary-line {
	display: flex !important;
	width: 100% !important;
	padding: 14px 16px !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 16px !important;
}

body.mx-v50-commerce .mx-v40-summary-choice small,
body.mx-v50-commerce .mx-v40-summary-total small,
body.mx-v50-commerce .mx-v41-summary-copy small,
body.mx-v50-commerce .mx-v41-summary-total small {
	color: #526173 !important;
	font-size: 12px !important;
	font-weight: 850 !important;
	letter-spacing: .045em !important;
	line-height: 1.2 !important;
	text-transform: uppercase !important;
}

body.mx-v50-commerce .mx-v40-summary-choice > strong,
body.mx-v50-commerce .mx-v41-summary-copy > span {
	color: #202631 !important;
	font-size: 14px !important;
	font-weight: 850 !important;
	line-height: 1.4 !important;
}

body.mx-v50-commerce .mx-v40-summary-total,
body.mx-v50-commerce .mx-v41-summary-total {
	display: grid !important;
	flex: 0 0 auto !important;
	justify-items: end !important;
	gap: 3px !important;
	text-align: right !important;
}

body.mx-v50-commerce .mx-v40-selection-summary .price,
body.mx-v50-commerce .mx-v41-summary-total > strong {
	display: inline-flex !important;
	align-items: baseline !important;
	flex-wrap: nowrap !important;
	white-space: nowrap !important;
	margin: 0 !important;
	color: #0f172a !important;
	font-size: 32px !important;
	font-weight: 950 !important;
	letter-spacing: -.025em !important;
	line-height: 1 !important;
}

body.mx-v50-commerce .mx-v40-selection-summary .price .amount,
body.mx-v50-commerce .mx-v40-selection-summary .price bdi,
body.mx-v50-commerce .mx-v40-selection-summary .price .woocommerce-Price-currencySymbol {
	display: inline !important;
	white-space: nowrap !important;
	margin: 0 !important;
	color: inherit !important;
	font: inherit !important;
	line-height: inherit !important;
}

body.mx-v50-commerce .mx-v40-summary-no-shipping,
body.mx-v50-commerce .mx-v41-summary-no-shipping {
	display: block !important;
	margin: 7px 0 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	color: #171717 !important;
	font-size: 15px !important;
	font-weight: 650 !important;
	line-height: 1.35 !important;
	opacity: 1 !important;
}

body.mx-v50-commerce .mx-v40-summary-next,
body.mx-v50-commerce .mx-v41-summary-next {
	display: block !important;
	padding: 13px 16px !important;
	border-top: 1px solid #cbdceb !important;
	background: #edf5fd !important;
	color: #173f70 !important;
	font-size: 15px !important;
	font-weight: 750 !important;
	line-height: 1.35 !important;
}

body.mx-v50-commerce .mx-v40-summary-next strong,
body.mx-v50-commerce .mx-v41-summary-next strong {
	color: inherit !important;
	font-size: inherit !important;
	font-weight: 900 !important;
}

@media (max-width: 700px) {
	body.mx-v50-commerce .mx-v40-summary-line,
	body.mx-v50-commerce .mx-v41-summary-line {
		align-items: flex-start !important;
		flex-direction: column !important;
		gap: 10px !important;
	}

	body.mx-v50-commerce .mx-v40-summary-total,
	body.mx-v50-commerce .mx-v41-summary-total {
		width: 100% !important;
		justify-items: start !important;
		text-align: left !important;
	}

	body.mx-v50-commerce .mx-v40-selection-summary .price,
	body.mx-v50-commerce .mx-v41-summary-total > strong {
		font-size: 30px !important;
	}
}
