.mc-page-home .mc-hero-kicker { color: #164486 !important; }
/* Ajustes de lectura y galería móvil. */
.eg-gallery-thumb { background: transparent; border: 0; padding: 0; }
.eg-gallery-thumb:focus-visible { outline: 3px solid #2060d0; outline-offset: 3px; }
@media (max-width: 575px) {
 .mc-detail-page .mc-detail-gallery .product-image-viewer,
 .mc-detail-page .mc-detail-gallery .carousel-inner,
 .mc-detail-page .mc-detail-gallery .product-image-open,
 .mc-detail-page .mc-detail-gallery .carousel-item { min-height: 0 !important; height: 210px !important; }
 .mc-detail-page .mc-detail-gallery .product-image-open img { max-height: 200px !important; height: 200px !important; object-fit: contain; }
 .mc-detail-page .mc-detail-grid { --bs-gutter-y: 12px; }
 .mc-detail-page .eg-product-title { font-size: 22px; }
 .mc-detail-page #canasta_form { scroll-margin-top: 125px; }
}
/* Componentes de tienda. La tarjeta no hereda las alturas del tema anterior. */
/* Un único árbol de categorías compartido por escritorio y móvil. */
#menuCategoriasOffcanvasBarraMovil { width: min(440px, 100vw); max-width: 100vw; color: #18233b; background: #fff; z-index: 2100 !important; }
body.mc-category-menu-open .offcanvas-backdrop { z-index: 2050; }
#menuCategoriasOffcanvasBarraMovil .offcanvas-header { padding: 18px; }
#menuCategoriasOffcanvasBarraMovil .offcanvas-title { font-size: 24px; }
#menuCategoriasOffcanvasBarraMovil .mc-mobile-category-link, #menuCategoriasOffcanvasBarraMovil .mc-mobile-category-link :is(span,i) { color: #18233b !important; }
#menuCategoriasOffcanvasBarraMovil .offcanvas-body { overflow-y: auto; }
#menuCategoriasOffcanvasBarraMovil .mc-mobile-category-list { width: 100%; }
#menuCategoriasOffcanvasBarraMovil .mc-mobile-category-link { display: flex; align-items: center; justify-content: space-between; min-height: 48px; padding: 12px 16px; color: #18233b; white-space: normal; }
#menuCategoriasOffcanvasBarraMovil .dropdown-menu { position: static !important; transform: none !important; width: 100% !important; min-width: 0 !important; max-width: 100%; margin: 0; border: 0; padding: 4px 12px 12px; box-shadow: none; }
#menuCategoriasOffcanvasBarraMovil .mc-subcategory-card-link { display: flex; min-height: 64px; padding: 8px; gap: 10px; white-space: normal; }
#menuCategoriasOffcanvasBarraMovil .mc-subcategory-image-wrap { flex: 0 0 52px; width: 52px; height: 52px; }
#menuCategoriasOffcanvasBarraMovil .mc-subcategory-thumb { width: 52px; height: 52px; object-fit: contain; }
#menuCategoriasOffcanvasBarraMovil .mc-subcategory-copy { flex: 1; min-width: 0; }
#menuCategoriasOffcanvasBarraMovil .mc-subcategory-copy strong { font-size: 13px; line-height: 1.4; overflow-wrap: anywhere; }
#menuCategoriasOffcanvasBarraMovil .mc-subcategory-copy small { display: none; }
#menuCategoriasOffcanvasBarraMovil :is(a,button):focus-visible { outline: 3px solid #2060d0; outline-offset: -3px; }
.eg-catalog-title, .eg-product-title { font-size: clamp(23px, 2vw, 30px); line-height: 1.25; color: #18233b; }
.eg-result-count { font-size: 14px; color: #52637b; margin: 6px 0; }
.mc-search-page .mc-list-heading,
.mc-search-page .mc-list-heading h1,
.mc-search-page .mc-list-heading p { font-style: normal; }
.mc-search-page .mc-list-heading .eg-result-count { font-weight: 400; }
.eg-card__cash { order: 3; margin: 5px 0; font-size: 12px; color: #34465f; }
.eg-benefit-terms { font-size: 12px; line-height: 1.5; color: #34465f; }
.eg-benefit-terms summary { cursor: pointer; min-height: 36px; padding-block: 8px; }
.eg-benefit-terms p { margin: 0 0 6px; }
.eg-benefit-terms summary:focus-visible { outline: 2px solid #2060d0; }
.eg-home-shortcuts { display: flex; gap: 8px; overflow-x: auto; padding: 10px 16px; scrollbar-width: thin; }
.eg-home-shortcuts a { flex: 0 0 auto; border: 1px solid #cbd7e6; border-radius: 22px; padding: 10px 16px; min-height: 44px; background: white; color: #174ba7; font-size: 13px; }
@media (min-width: 992px) {
  body.mc-page-home #carouselPrincipal .mc-hero-slide { min-height: 0 !important; height: 330px !important; padding: 24px 48px !important; box-sizing: border-box; }
  body.mc-page-home #carouselPrincipal .mc-hero-copy { align-self: center; height: auto !important; min-height: 0 !important; margin: 0 !important; transform: none !important; }
  body.mc-page-home #carouselPrincipal .mc-hero-copy h1 { margin: 6px 0 12px !important; }
  body.mc-page-home #carouselPrincipal .mc-hero-copy p { font-size: 17px !important; margin-bottom: 16px !important; }
  body.mc-page-home #carouselPrincipal, body.mc-page-home #carouselPrincipal .carousel-inner, body.mc-page-home #carouselPrincipal .carousel-item { height: 330px !important; min-height: 0 !important; }
  body.mc-page-home #carouselPrincipal .mc-hero-copy h1 { font-size: clamp(32px, 3.5vw, 48px) !important; }
  body.mc-page-home .mc-trust-strip { margin-block: 12px !important; }
  body.mc-page-home .mc-trust-strip > div { padding-block: 14px !important; min-height: 70px !important; }
}
@media (max-width: 575.98px) {
  body .eg-card .eg-card__name { min-height: 0; }
  body .eg-card .eg-card__body { padding: 10px 14px; gap: 5px; }
  body .eg-card .eg-card__media { padding-top: 10px; }
  body.mc-page-home .mc-promo-premium-section .card-body { padding: 14px !important; }
}
.eg-selected-plan { display: grid; gap: 4px; padding: 12px; margin: 12px 0; border: 1px solid #cbd7e6; border-radius: 10px; background: #f6f9fd; color: #18233b; }
.eg-selected-plan > span { font-size: 13px; }
.eg-selected-plan > strong { font-size: 20px; }
.eg-selected-plan .eg-detail-total { margin: 0; font-size: 13px; }
.eg-payment-form .mc-web-price-benefit small strong { display: inline; font-size: inherit; }
.eg-buy-help { margin: 18px 0; padding: 16px; background: #fff; border: 1px solid #dce4ee; border-radius: 12px; color: #243850; }
.eg-buy-help details + details { border-top: 1px solid #dce4ee; margin-top: 12px; padding-top: 12px; }
.eg-buy-help summary { min-height: 44px; padding: 8px 0; font-weight: 700; cursor: pointer; }
.eg-buy-help p, .eg-buy-help li { font-size: 13px; line-height: 1.5; }
.eg-buy-help label { display: block; margin: 8px 0 4px; font-size: 13px; font-weight: 600; }
.eg-buy-help input, .eg-buy-help select, .eg-spec-filter select { width: 100%; max-width: 100%; min-height: 44px; border: 1px solid #cbd7e6; border-radius: 8px; padding: 8px; background: white; color: #243850; font-size: 16px; }
.eg-buy-help [hidden] { display: none !important; }
.eg-buy-help :is(a, input, select, summary):focus-visible { outline: 3px solid #2060d0; outline-offset: 2px; }
.eg-buy-help .btn { white-space: normal; min-height: 44px; }
.eg-search-suggestions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin: 16px 0; }
.eg-search-suggestions a { padding: 8px 12px; }
.eg-spec-filter { flex: 1 1 180px; min-width: 0; }
/* Opciones de compra conservan los formularios y precios del servidor. */
.eg-payment-form { scroll-margin-top: calc(var(--eg-header-height, 130px) + 20px); }
.eg-payment-form [hidden] { display: none !important; }
.eg-payment-switch { display: flex; gap: 8px; margin: 18px 0 10px; }
.eg-payment-switch button { flex: 1; min-height: 48px; border: 1px solid #cbd7e6; background: #fff; color: #24456d; border-radius: 10px; font-weight: 700; }
.eg-payment-switch button[aria-pressed="true"] { background: #2060d0; border-color: #2060d0; color: white; }
.eg-payment-form fieldset { min-width: 0; margin: 0 0 12px; }
.eg-payment-form legend { font-size: 20px; font-weight: 700; color: #18233b; }
.eg-payment-switch button:focus-visible { outline: 3px solid #173f8d; outline-offset: 3px; }
.mc-promo-conditions { font-size: 12px; color: #52637b; }
.mc-promo-conditions summary { cursor: pointer; padding: 8px 0; }
.mc-promo-conditions .mc-promo-validity { margin: 4px 0 !important; }
@media (min-width: 992px) {
  #navbarMain .mc-main-nav { width: 100%; flex-wrap: nowrap; }
  #navbarMain .mc-main-nav > li:nth-child(n+6) { display: none !important; }
  #navbarMain .mc-main-nav > li { min-width: 0; flex: 1; }
  #navbarMain .mc-main-nav > li > .nav-link { white-space: normal; font-size: 12px; padding-inline: 12px; }
  /* Las últimas categorías visibles preceden a otras ocultas en el DOM. */
  #navbarMain .mc-main-nav > .mc-nav-department-item:nth-child(n+4) > .mc-nav-subcategory-menu { right: 0; left: auto; }
  #navbarMain .mc-nav-subcategory-menu { width: min(480px, calc(100vw - 32px)); max-width: calc(100vw - 32px); max-height: min(540px, 60vh); overflow-x: hidden; overscroll-behavior: contain; }
  #navbarMain .mc-nav-subcategory-menu .mc-subcategory-card-link { min-height: 84px; gap: 12px; padding: 10px; }
  #navbarMain .mc-nav-subcategory-menu .mc-subcategory-image-wrap { width: 68px; height: 64px; min-width: 68px; flex: 0 0 68px; }
  #navbarMain .mc-nav-subcategory-menu .mc-subcategory-thumb { width: 100%; height: 100%; object-fit: contain; }
  #navbarMain .mc-nav-subcategory-menu .mc-subcategory-copy { min-width: 0; flex: 1; }
  #navbarMain .mc-nav-subcategory-menu .mc-subcategory-copy strong { font-size: 14px; line-height: 1.4; white-space: normal; overflow-wrap: anywhere; }
  #navbarMain .mc-nav-subcategory-menu .mc-subcategory-copy small { font-size: 12px; white-space: normal; }
}
@media (min-width: 576px) {
  body .mc-promo-products-1 .mc-promo-products-inner,
  body .mc-promo-products-1 .mc-promo-products-carousel,
  body .mc-promo-products-1 .splide { width: 100% !important; max-width: 960px !important; margin-inline: auto !important; }
  body .mc-promo-products-1 .splide__slide { width: 100% !important; max-width: none !important; }
  body .mc-promo-products-1 .eg-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  body .mc-promo-products-1 .eg-card__media { display: grid; align-items: center; padding: 30px; }
  body .mc-promo-products-1 .eg-card__image { height: 290px; }
  body .mc-promo-products-1 .eg-card__body { padding: 24px; }
}
@media (max-width: 991.98px) {
  body .eg-header #btnCarrito2.eg-legacy-cart { display: none !important; }
  body #navbarMain.mc-promo-nav { background: #205ac5 !important; box-shadow: 0 -2px 10px rgb(24 35 59 / 8%) !important; }
  body #navbarMain .bottom-icons { position: static !important; height: 66px !important; min-height: 0 !important; padding: 0 !important; border: 0 !important; background: transparent !important; box-shadow: none !important; transform: none !important; }
  body #navbarMain .mc-mobile-bottom-nav { display: flex !important; flex-wrap: nowrap !important; height: 66px !important; padding: 0 !important; gap: 0 !important; background: transparent !important; }
  body #navbarMain .mc-mobile-bottom-nav > li { flex: 1 !important; width: 0 !important; margin: 0 !important; }
  body #navbarMain .mc-mobile-bottom-nav > li > :is(a, button) { display: flex !important; flex-direction: column !important; justify-content: center !important; align-items: center !important; width: 100% !important; height: 66px !important; min-width: 0 !important; margin: 0 !important; padding: 4px 0 !important; gap: 3px !important; color: white !important; }
  body #navbarMain .mc-mobile-bottom-nav > li > :is(a, button) i { font-size: 22px !important; }
  body #navbarMain .mc-mobile-nav-label { font-size: 10px !important; }
  body:has(.eg-header) { padding-bottom: calc(82px + env(safe-area-inset-bottom)) !important; }
  body.mc-page-home #carouselPrincipal, body.mc-page-home #carouselPrincipal .carousel-inner, body.mc-page-home #carouselPrincipal .carousel-item { height: auto !important; min-height: 0 !important; }
  body.mc-page-home .mc-trust-strip { margin-block: 10px !important; padding: 8px !important; }
  body.mc-page-home .mc-trust-strip > div { min-height: 60px !important; padding: 4px !important; gap: 4px !important; }
  body.mc-page-home .mc-trust-strip small { display: none; }
  body.mc-page-home .mc-promo-premium-head { padding: 0 !important; }
  body.mc-page-home .mc-promo-premium-head .mc-promo-premium-actions { display: flex !important; flex-direction: row !important; flex-wrap: wrap; align-items: center !important; gap: 8px !important; margin: 8px 0 !important; }
  body.mc-page-home .mc-promo-premium-actions .mc-promo-countdown { display: flex !important; flex-direction: row !important; width: auto !important; flex: 0 1 auto !important; padding: 4px !important; gap: 4px !important; box-shadow: none !important; margin: 0 !important; }
  body.mc-page-home .mc-promo-countdown-label { display: none !important; }
  body.mc-page-home .mc-promo-premium-actions .mc-promo-view-all { flex: 0 0 auto !important; width: auto !important; margin: 0 !important; }
  body.mc-page-home .mc-promo-countdown-chips { gap: 4px !important; }
  body.mc-page-home .mc-promo-countdown-chip { width: 32px !important; min-width: 30px !important; padding: 3px !important; }
  body.mc-page-home .mc-promo-countdown-chip h5 { font-size: 16px !important; }
  body.mc-page-home .mc-promo-countdown-label { font-size: 11px !important; }
  body.mc-page-home .mc-promo-view-all { width: auto !important; min-height: 44px !important; font-size: 12px !important; }
  body .eg-buy-shortcut { display: flex; gap: 10px; }
}
.eg-card {
  --eg-border: #e2e8f0;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--eg-border);
  border-radius: 18px;
  color: #18233b;
  box-shadow: 0 3px 12px rgb(24 35 59 / 4%);
  text-align: left;
  transition: border-color .18s, box-shadow .18s;
}
.eg-card:hover { border-color: #b7cae8; box-shadow: 0 8px 24px rgb(24 35 59 / 8%); }
.eg-card [hidden] { display: none !important; }
.eg-card a { text-decoration: none; }
.eg-card button, .eg-card a { -webkit-tap-highlight-color: transparent; }
.eg-card :is(a, button, select):focus-visible { outline: 3px solid #2060d0; outline-offset: -3px; }
.eg-card__media { position: relative; padding: 18px 28px 0; }
.eg-card__image { display: block; height: 180px; }
.eg-card__image img { display: block; width: 100%; height: 100%; object-fit: contain; }
.eg-card--combo .eg-card__image { position: relative; overflow: hidden; }
.eg-card--combo .eg-card__image::after {
  content: ''; position: absolute; inset: auto 0 0; height: 25%; pointer-events: none;
  background: linear-gradient(to bottom, rgb(255 255 255 / 0%), rgb(255 255 255 / 96%) 62%, #fff 100%);
}
.eg-card__current-price-note {
  position: absolute; right: 12px; bottom: 8px; z-index: 2;
  display: inline-flex; align-items: center; gap: 6px;
  max-width: calc(100% - 24px); padding: 7px 10px;
  border: 1px solid #c8daf5; border-radius: 999px;
  background: rgb(255 255 255 / 96%); color: #174b96;
  box-shadow: 0 3px 10px rgb(24 35 59 / 12%);
  font-size: 11px; font-weight: 750; line-height: 1.2;
}
.eg-card__favorite {
  position: absolute; top: 12px; right: 12px;
  display: grid; place-items: center; width: 44px; height: 44px;
  border: 1px solid var(--eg-border); border-radius: 50%;
  color: #50617b; background: #fff; font-size: 20px;
}
.eg-card__favorite.active { color: #d43e63; background: #fff1f5; }
.eg-card__discount { position: absolute; top: 18px; left: 16px; padding: 5px 8px; background: #fff0eb; color: #b83219; border-radius: 6px; font-size: 12px; font-weight: 700; }
.eg-card__body { display: flex; flex: 1; flex-direction: column; gap: 6px; padding: 14px 18px; min-width: 0; }
.eg-card__meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px; min-height: 24px; }
.eg-card__brand { color: #52637b; font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.eg-card__stock { margin-left: auto; color: #18704c; font-size: 11px; white-space: nowrap; }
.eg-card__stock.is-unavailable { color: #87502b; }
.eg-card__name { display: block; min-height: 60px; color: inherit; }
.eg-card__name:hover h3 { color: #2060d0; }
.eg-card__name h3 { margin: 0 0 5px; color: #18233b; font: 650 16px/1.35 var(--font-primary, sans-serif); letter-spacing: -.015em; }
.eg-card__name p { margin: 0; color: #66758a; font-size: 12px; line-height: 1.45; overflow-wrap: anywhere; }
.eg-card__name h3, .eg-card__name p { overflow-wrap: anywhere; }
.eg-combo-content { margin: 4px 0 10px; padding: 12px; border: 1px solid #dce5f3; border-radius: 10px; background: #f6f8fc; color: #34465f; }
.eg-combo-content .eg-combo-content__title { margin: 0 0 8px; font-size: 13px; line-height: 1.4; font-weight: 700; color: #18233b; }
.eg-combo-content ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.eg-combo-content li { display: flex; align-items: baseline; gap: 8px; margin: 0; padding: 0; font-size: 12px; line-height: 1.5; }
.eg-combo-content__check { flex: 0 0 auto; margin-top: .2em; color: #198754; font-size: 12px; }
.eg-combo-content__quantity { flex: 0 0 auto; font-weight: 700; color: #174ba7; white-space: nowrap; }
.eg-combo-content__name { min-width: 0; overflow-wrap: anywhere; }
.eg-combo-content .eg-combo-content__note { margin: 10px 0 0; padding-top: 10px; border-top: 1px solid #dce5f3; color: #215c48; font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.mc-detail-summary .eg-combo-content { margin: 14px 0; }
.mc-detail-summary .eg-combo-content li { font-size: 14px; }
.eg-card .eg-combo-content--disclosure { margin: 4px 0 0; padding: 0; overflow: hidden; background: #f7faff; }
.eg-card .eg-combo-content--disclosure > summary {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  min-height: 44px; padding: 9px 11px; color: #183c72; cursor: pointer; list-style: none;
}
.eg-card .eg-combo-content--disclosure > summary::-webkit-details-marker { display: none; }
.eg-card .eg-combo-content__summary-copy,
.eg-card .eg-combo-content__summary-action { display: inline-flex; align-items: center; gap: 6px; }
.eg-card .eg-combo-content__summary-copy { font-size: 13px; }
.eg-card .eg-combo-content__summary-copy > i { color: #2060d0; }
.eg-card .eg-combo-content__summary-action { flex: 0 0 auto; color: #526581; font-size: 11px; font-weight: 700; }
.eg-card .eg-combo-content__summary-action i { transition: transform .2s ease; }
.eg-card .eg-combo-content--disclosure[open] .eg-combo-content__summary-action i { transform: rotate(180deg); }
.eg-card .eg-combo-content__details { padding: 0 11px 11px; border-top: 1px solid #dce6f5; }
.eg-card .eg-combo-content__details ul { padding-top: 9px; }
.eg-card__pricing { display: flex; flex-direction: column; flex: 1; padding-top: 8px; border-top: 1px solid var(--eg-border); }
.eg-card__previous { order: 3; margin-top: 5px; color: #66758a; font-size: 10px; line-height: 1.35; }
/* Los spans inline permiten que el tachado de del atraviese el importe completo. */
.eg-card__previous del span,
.mc-detail-offer-before del span,
.mc-installment-picker__normal del span { display: inline; }
.eg-card__price { order: 1; }
.eg-card__total { order: 2; }
.eg-card__savings { display: block; color: #18704c; }
.eg-card__price { color: #18233b; font-size: 15px; font-variant-numeric: tabular-nums; line-height: 1.3; white-space: nowrap; }
.eg-card__price strong { font-size: clamp(21px, 1.6vw, 26px); font-weight: 750; letter-spacing: -.04em; }
.eg-card__price small { font-size: 14px; letter-spacing: 0; }
.eg-card__total { margin: 4px 0 0; font-size: 11px; color: #66758a; }
.eg-card__web { order: 4; display: grid; gap: 2px; margin-top: 8px; padding: 8px 10px; border-radius: 9px; background: #f0f9f5; color: #215c48; }
.eg-card__web > span, .eg-card__web small, .eg-card__web a { font-size: 11px; line-height: 1.4; }
.eg-card__web strong { font-size: 14px; }
.eg-card__web a { min-height: 24px; padding: 0; color: #215c48; text-decoration: underline; text-underline-offset: 3px; }
.eg-card__form { display: grid; gap: 8px; margin: 4px 0 0; }
.eg-card__plan-label { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.eg-card .mc-installment-picker { width: 100%; min-width: 0; }
.eg-card .mc-installment-picker__trigger { min-height: 44px; height: auto; padding: 10px 12px; border: 1px solid #cbd7e6; border-radius: 9px; box-shadow: none; font-size: 13px; }
.eg-card__cta { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 12px; border: 0; border-radius: 9px; background: #2060d0; color: #fff; font-size: 13px; font-weight: 650; }
.eg-card__cta:hover { color: #fff; background: #174ba7; }
.eg-card__empty { color: #66758a; font-size: 13px; margin: 0; }
.eg-card__utilities { display: flex; justify-content: space-between; gap: 4px; border-bottom: 1px solid var(--eg-border); }
.eg-card__utilities button { min-height: 44px; padding: 5px 2px; border: 0; background: transparent; color: #52637b; font-size: 11px; }
.eg-card__utilities i, .eg-card__delivery i { font-size: 14px; margin-right: 4px; }
.eg-card__utilities button[aria-checked="true"] { color: #174ba7; font-weight: 700; }
.eg-card__delivery { color: #66758a; font-size: 11px; line-height: 1.5; }
.eg-card__delivery:hover { color: #174ba7; text-decoration: underline; }
.eg-card--related .eg-card__pricing { padding-top: 8px; }

/* Adaptadores de los listados existentes; el contenido define la altura. */
.mc-search-product-item { display: flex; min-width: 0; }
.splide__list:has(.eg-card) { align-items: stretch !important; }
.splide__slide:has(.eg-card), .splide__slide > .producto-card:has(.eg-card) { display: flex !important; height: auto !important; min-width: 0 !important; }
.splide__slide > .producto-card:has(.eg-card) { width: 100% !important; max-width: none !important; margin-bottom: 0 !important; }
.splide__slide .eg-card { height: auto; flex: 1; }
body.mc-page-home .mc-trending-section #carouselProductosSimilares .splide__slide,
body.mc-page-home .mc-trending-section #carouselProductosSimilares .splide__slide > .producto-card { min-width: 0 !important; }

.eg-purchase-info { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 16px 0; padding: 16px; border: 1px solid #e2e8f0; border-radius: 12px; background: #fff; }
.eg-purchase-info a { display: grid; align-content: start; gap: 5px; color: #52637b; font-size: 12px; text-decoration: none; line-height: 1.5; }
.eg-purchase-info a strong { color: #18233b; font-size: 13px; }
.eg-purchase-info a i { color: #2060d0; font-size: 20px; }
.eg-purchase-info a:hover strong { text-decoration: underline; }
.eg-detail-total { margin: 8px 0 16px; color: #52637b; font-size: 13px; }
.eg-contact-label { display: none; }

@media (max-width: 991.98px) {
  .mc-page-detail .mc-mobile-buy-bar { bottom: calc(66px + env(safe-area-inset-bottom)); }
  .mc-page-detail { padding-bottom: 150px; }
  .eg-header .mc-topbar { display: none !important; }
  .eg-header .mc-header { padding: 4px 0 !important; min-height: 60px !important; }
  .eg-header .mc-header > .container-fluid { min-height: 52px !important; gap: 4px; }
  .eg-header .mc-logo-link img { width: auto !important; height: 46px !important; max-width: 110px; object-fit: contain; }
  .eg-header .mc-mobile-header-action { width: 44px !important; height: 44px !important; padding: 6px !important; }
  .eg-header .mc-mobile-header-action i { font-size: 23px !important; }
  .eg-header .mc-account-link { min-width: 44px; min-height: 44px; }
  /* El body ya reserva espacio para la navegación fija; no duplicarlo al final. */
  body:has(.eg-header) .footer-empresarial { margin-bottom: 0 !important; }
  /* El contacto conserva su destino y queda fuera de la zona de compra. */
  body .mc-whatsapp-seller {
    position: static !important; display: flex !important; gap: 10px;
    width: auto !important; height: auto !important; min-height: 48px;
    margin: 16px 16px 0; padding: 12px 16px;
    border: 1px solid #cde9da !important; border-radius: 12px !important;
    background: #f0f9f5 !important; color: #215c48 !important;
    box-shadow: none !important; transform: none !important; animation: none !important;
  }
  body .mc-whatsapp-seller::before, body .mc-whatsapp-seller::after { display: none !important; }
  .eg-contact-label { display: inline; font-size: 13px; font-weight: 600; }
}
@media (max-width: 575.98px) {
  .eg-card__media { padding: 16px 22px 0; }
  .eg-card__image { height: 170px; }
  .eg-card__body { padding: 14px; }
  .eg-card__name { min-height: 60px; }
  .eg-card__name h3 { font-size: 15px; }
  .eg-card__price strong { font-size: 23px; }
  .eg-purchase-info { grid-template-columns: 1fr; gap: 16px; }
}
@media (prefers-reduced-motion: reduce) { .eg-card { transition: none; } }
/* Inicio: jerarquia uniforme y secciones que crecen con su contenido. */
body.mc-page-home .mc-section-head h3,
body.mc-page-home .mc-about-section--compact .mc-about-head h3 {
  font-size: clamp(23px, 2.2vw, 32px) !important;
  line-height: 1.16 !important;
  letter-spacing: -.025em !important;
}
body.mc-page-home .mc-section-head { margin-bottom: 18px !important; gap: 12px !important; }
body.mc-page-home .mc-section-kicker { font-size: 10px !important; }
body.mc-page-home .mc-brand-band,
body.mc-page-home .mc-featured-categories,
body.mc-page-home .mc-about-section--compact .mc-about-shell {
  padding: 24px !important;
  margin-block: 24px !important;
}
body.mc-page-home .mc-brand-band:not(.mc-section-configurable-background),
body.mc-page-home .mc-featured-categories:not(.mc-section-configurable-background),
body.mc-page-home .mc-about-section--compact .mc-about-shell { background: #f8faff !important; box-shadow: none !important; }
body.mc-page-home .mc-brand-band::before,
body.mc-page-home .mc-brand-band::after,
body.mc-page-home .mc-featured-categories::before,
body.mc-page-home .mc-featured-categories::after { display: none; }
body.mc-page-home .mc-featured-image > i { font-size: 32px; color: #2060d0; }
body.mc-page-home #mcRecentlyViewed[hidden] { display: none !important; }
body.mc-page-home #mcRecentlyViewed {
  height: auto !important; min-height: 0 !important; max-height: none !important;
  padding: 20px !important; overflow: visible !important;
}
body.mc-page-home #mcRecentlyViewedList { height: auto !important; min-height: 0 !important; max-height: none !important; }
body.mc-page-home #mcRecentlyViewedList .mc-recent-card { display: block !important; height: auto !important; }
.eg-mobile-search { display: none; }
@media (max-width: 991.98px) {
  .eg-header .eg-search-toggle { display: none !important; }
  .eg-header .eg-mobile-search {
    position: relative; display: flex; align-items: center;
    margin: 0 12px 8px; min-height: 44px; border: 1px solid #d5dfed;
    border-radius: 10px; background: #f6f8fc;
  }
  .eg-mobile-search input { width: 100%; min-width: 0; padding: 10px 12px; border: 0; border-radius: 10px; background: transparent; color: #18233b; font-size: 16px; }
  .eg-mobile-search button { flex: 0 0 44px; height: 44px; border: 0; background: transparent; color: #2060d0; border-radius: 10px; }
  .eg-mobile-search :focus-visible { outline: 2px solid #2060d0; outline-offset: -2px; }
  body.mc-page-home #carouselPrincipal .mc-hero-slide:not(.mc-hero-slide--image-only):not(.mc-hero-slide--cta-only) {
    display: grid !important; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) !important; gap: 10px !important;
    height: auto !important; min-height: 0 !important; padding: 16px !important;
    background: #f1f6fc !important;
  }
  body.mc-page-home #carouselPrincipal .mc-hero-slide:not(.mc-hero-slide--image-only):not(.mc-hero-slide--cta-only) .mc-hero-copy {
    position: relative !important; inset: auto !important; transform: none !important;
    height: auto !important; min-height: 0 !important; max-width: none !important;
    width: 100% !important; padding: 0 !important; margin: 0 !important;
    text-align: left !important; align-items: flex-start !important; gap: 6px !important;
  }
  body.mc-page-home #carouselPrincipal .mc-hero-copy h1 { font-size: 24px !important; line-height: 1.15 !important; margin: 0 !important; }
  body.mc-page-home #carouselPrincipal .mc-hero-copy p { font-size: 13px !important; line-height: 1.4 !important; margin: 0 !important; }
  body.mc-page-home #carouselPrincipal .mc-hero-kicker { font-size: 10px !important; }
  body.mc-page-home #carouselPrincipal .mc-hero-copy .mc-hero-cta { min-height: 44px !important; margin-top: 4px !important; padding: 10px 18px !important; font-size: 13px !important; }
  body.mc-page-home #carouselPrincipal .mc-hero-slide:not(.mc-hero-slide--image-only):not(.mc-hero-slide--cta-only) .mc-hero-visual {
    position: relative !important; inset: auto !important; width: 100% !important;
    height: 190px !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important; align-self: center;
  }
  body.mc-page-home #carouselPrincipal .mc-hero-slide:not(.mc-hero-slide--image-only):not(.mc-hero-slide--cta-only) .mc-hero-product-image.img-movil {
    height: 190px !important; min-height: 0 !important; width: 100% !important; object-fit: contain !important;
  }
  body.mc-page-home .mc-brand-band,
  body.mc-page-home .mc-featured-categories,
  body.mc-page-home .mc-about-section--compact .mc-about-shell { padding: 18px 14px !important; margin-block: 18px !important; }
  body.mc-page-home .mc-trending-section .mc-section-head .btn { width: auto !important; min-height: 44px !important; padding: 8px 16px !important; }
  body.mc-page-home .mc-featured-grid { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px !important; }
  body.mc-page-home .mc-featured-card { width: 100% !important; min-width: 0 !important; padding: 12px 8px !important; }
  body.mc-page-home .mc-featured-image { width: 100% !important; height: 78px !important; min-height: 0 !important; }
  body.mc-page-home .mc-featured-image img { height: 100% !important; object-fit: contain; }
}
@media (max-width: 991.98px) {
  body:has(.eg-header) { padding-top: 0 !important; }
  body:has(.eg-header) #espacio-cabecera { height: var(--eg-header-height, 114px) !important; min-height: 0 !important; }
  .eg-header .mc-header { height: 60px !important; }
  body.mc-page-home #carouselPrincipal .mc-hero-slide:not(.mc-hero-slide--image-only):not(.mc-hero-slide--cta-only)::before,
  body.mc-page-home #carouselPrincipal .mc-hero-slide:not(.mc-hero-slide--image-only):not(.mc-hero-slide--cta-only)::after { display: none !important; }
  body.mc-page-home #carouselPrincipal .mc-hero-visual { z-index: 1; }
}
@media (max-width: 991.98px) {
  body #categorias .mc-featured-card { display: flex; flex-direction: column; align-items: center; gap: 6px; min-height: 0 !important; height: auto !important; padding: 10px !important; box-shadow: none !important; }
  body #categorias .mc-featured-card .mc-featured-image { height: 64px !important; min-height: 0 !important; margin: 0 !important; }
  body #categorias .mc-featured-card > strong { font-size: 12px !important; line-height: 1.3; min-height: 32px; margin: 0 !important; }
  body #categorias .mc-featured-card > small { min-height: 24px !important; margin: 0 !important; padding: 4px 8px !important; }
}
/* Neutraliza margenes tipograficos heredados dentro de la tarjeta. */
.eg-card p.eg-card__total { margin: 3px 0 !important; line-height: 1.4; }
.eg-card .eg-card__savings { display: inline; margin-left: 5px; }
.eg-card .eg-card__web > span > a { display: inline; min-height: 0; }
@media (max-width: 991.98px) {
  body #categorias .mc-featured-card .mc-featured-image { flex: 0 0 64px !important; max-height: 64px !important; }
  body #categorias .mc-featured-card > strong { max-width: 100%; overflow-wrap: anywhere; }
  body #categorias .mc-featured-card > small { max-width: 100%; white-space: normal; }
}
@media (max-width: 359.98px) {
  body.mc-page-home #categorias .mc-featured-grid { grid-template-columns: 1fr !important; }
  body #categorias .mc-featured-card { display: grid !important; grid-template-columns: 48px minmax(0, 1fr); column-gap: 10px; text-align: left; }
  body #categorias .mc-featured-card .mc-featured-image { grid-row: span 2; width: 48px !important; height: 48px !important; flex-basis: auto !important; }
  body #categorias .mc-featured-card > strong { min-height: 0; }
  body #categorias .mc-featured-card > small { justify-self: start; }
}
#carouselPrincipal .mc-hero-visual picture { display: contents; }
#carouselPrincipal .mc-hero-responsive-image { display: block !important; }

/* Móvil: contenido legible, tarjetas independientes y compra al alcance. */
@media (max-width: 991.98px) {
  body .mc-list-heading, body .eg-catalog-title, body .eg-result-count { font-style: normal; }
  body .eg-result-count { font-weight: 400; }
  body .eg-card__brand, body .eg-card__stock,
  body .eg-card__previous, body .eg-card__total,
  body .eg-card__utilities button, body .eg-card__delivery,
  body .eg-card__web > span, body .eg-card__web small, body .eg-card__web a { font-size: 12px; line-height: 1.45; }
  body .eg-card__cash { font-size: 13px; }
  body .eg-card p.eg-card__cash { margin: 3px 0 !important; }
  body .eg-card .eg-card__stock i { font-size: 16px; }
  body .eg-card .eg-card__meta { min-height: 24px; }
  body .eg-card__name p { font-size: 13px; }
  body .eg-card__pricing { flex: 0 0 auto; }
  body .eg-card__form { margin-top: 4px; }
  body .eg-card__more { border-top: 1px solid #e2e8f0; }
  body .eg-card__more > summary { display: flex; align-items: center; justify-content: space-between; min-height: 44px; color: #34465f; font-size: 13px; cursor: pointer; list-style: none; }
  body .eg-card__more > summary::-webkit-details-marker { display: none; }
  body .eg-card__more > summary::after { content: '+'; font-size: 20px; }
  body .eg-card__more[open] > summary::after { content: '−'; }
  body .eg-card__more > summary:focus-visible { outline: 3px solid #2060d0; outline-offset: -3px; }
  body .eg-card__more .eg-card__delivery { display: flex; align-items: center; min-height: 44px; }
  body .eg-card__utilities { border-bottom: 0; }
  body .eg-card { box-shadow: none; border-radius: 14px; }
  body .mc-detail-page .eg-product-title { font-size: clamp(20px, 5.2vw, 24px); line-height: 1.3; text-transform: none; margin-bottom: 4px !important; }
  .eg-product-model { margin: 0 0 10px; color: #52637b; font-size: 13px; line-height: 1.45; overflow-wrap: anywhere; }
  body .mc-detail-page > nav { margin-bottom: 12px !important; }
  body .mc-detail-gallery .product-image-viewer,
  body .mc-detail-gallery .carousel-inner { border: 1px solid #e2e8f0; border-radius: 12px !important; box-shadow: none !important; background: #fff; }
  body .mc-detail-gallery .carousel-thumb { width: 48px !important; height: 48px !important; object-fit: contain; box-shadow: none !important; border: 1px solid #d5dfed; }
  body .mc-detail-gallery .eg-gallery-thumbs { margin-top: 8px !important; flex-wrap: wrap; }
  body .mc-detail-gallery :is(.carousel-control-prev, .carousel-control-next) { width: 44px; height: 44px; top: calc(50% - 48px); border-radius: 50%; background: #fff; border: 1px solid #d5dfed; opacity: 1; color: #24456d; }
  body .mc-detail-gallery :is(.carousel-control-prev, .carousel-control-next) i { font-size: 22px; }
  body .mc-detail-summary { gap: 10px !important; }
  body .mc-detail-summary .mc-product-rating-summary { margin-block: 4px 8px; }
  body .mc-detail-summary #canasta_form { padding: 12px !important; }
  body .mc-detail-summary .eg-payment-switch { margin-top: 0; }
  body .mc-detail-summary #canasta_form > .bg-light { padding: 0 !important; margin-bottom: 0 !important; box-shadow: none !important; }
  body.mc-page-detail:has(.eg-header) { padding-bottom: calc(146px + env(safe-area-inset-bottom)) !important; }
  body.mc-page-detail .eg-buy-shortcut {
    position: fixed !important; inset: auto 0 calc(66px + env(safe-area-inset-bottom));
    z-index: 1031; width: auto; min-height: 64px; margin: 0; padding: 8px 14px;
    display: flex; align-items: center; justify-content: space-between;
    background: #fff; border-top: 1px solid #d5dfed; box-shadow: 0 -3px 12px rgb(24 35 59 / 6%);
  }
  body.mc-page-detail .eg-buy-shortcut > span { font-size: 13px; color: #34465f; }
  body.mc-page-detail .eg-buy-shortcut > a { min-height: 44px; display: flex; align-items: center; justify-content: center; font-size: 14px; white-space: normal; }
  body.mc-page-detail .eg-buy-shortcut[hidden] { display: none !important; }
  body.mc-page-detail:has(input:focus, textarea:focus, select:focus) .eg-buy-shortcut { display: none !important; }
  body .eg-selected-plan[hidden] { display: none !important; }
  body .eg-payment-form { scroll-margin-top: calc(var(--eg-header-height, 114px) + 12px); }
}
@media (min-width: 992px) {
  .eg-card__more > summary { display: none; }
  .eg-product-model { margin: 0 0 12px; color: #52637b; font-size: 15px; }
}
@media (max-width: 575.98px) {
  body .splide__list:has(.eg-card) { align-items: flex-start !important; }
  body .splide__slide .eg-card { flex: 0 0 100%; height: auto; }
  body .eg-card .eg-card__image { height: 144px; }
  body .mc-best-sellers .eg-card--ranking .eg-card__image { height: 144px; }
  body .mc-best-sellers .eg-card--ranking .eg-card__body { padding: 10px 14px; gap: 4px; }
  body .mc-best-sellers .eg-card--ranking .eg-card__form { margin-top: 4px; padding-top: 0; }
  body .eg-card .eg-card__media { padding: 10px 22px 0; }
  body .eg-card .eg-card__body { gap: 4px; padding: 10px 14px; }
  body .eg-card .eg-card__name { min-height: 0; }
  body .eg-card .eg-card__name h3 { margin-bottom: 3px; }
  body .eg-card .eg-card__name p { margin-bottom: 0; }
  body .mc-list-heading { margin-bottom: 10px !important; padding-block: 4px !important; }
  body .mc-mobile-catalog-toolbar { margin-block: 8px; }
  body .eg-catalog-pagination--superior { margin: 8px 0 12px; }
  body .eg-catalog-pagination--superior p { font-size: 12px; margin-bottom: 6px; }
  body .eg-catalog-pagination--superior .eg-catalog-pagination__links { justify-content: space-between; }
  body .eg-catalog-pagination--superior :is(a,span[aria-disabled],span[aria-current]) { padding-block: 6px; }
  body .eg-home-shortcuts { padding: 6px 12px; scrollbar-width: none; }
  .eg-home-shortcuts::-webkit-scrollbar { display: none; }
  body.mc-page-home #carouselPrincipal .mc-hero-slide:not(.mc-hero-slide--image-only):not(.mc-hero-slide--cta-only) { padding: 12px !important; }
  body.mc-page-home #carouselPrincipal .mc-hero-copy h1 { font-size: 22px !important; }
  body.mc-page-home #carouselPrincipal .mc-hero-slide:not(.mc-hero-slide--image-only):not(.mc-hero-slide--cta-only) .mc-hero-visual,
  body.mc-page-home #carouselPrincipal .mc-hero-slide:not(.mc-hero-slide--image-only):not(.mc-hero-slide--cta-only) .mc-hero-product-image.img-movil { height: 150px !important; }
  body.mc-page-home .mc-trust-strip { padding: 4px !important; margin-block: 8px !important; box-shadow: none !important; }
  body.mc-page-home #carouselPrincipal .mc-hero-slide:not(.mc-hero-slide--image-only):not(.mc-hero-slide--cta-only) {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) !important;
    grid-template-areas: 'kicker kicker' 'title title' 'copy image' 'cta image';
    gap: 6px 12px !important;
  }
  body.mc-page-home #carouselPrincipal .mc-hero-slide:not(.mc-hero-slide--image-only):not(.mc-hero-slide--cta-only) .mc-hero-copy { display: contents !important; }
  body.mc-page-home #carouselPrincipal .mc-hero-copy .mc-hero-kicker { grid-area: kicker; margin: 0 !important; }
  body.mc-page-home #carouselPrincipal .mc-hero-copy h1 { grid-area: title; }
  body.mc-page-home #carouselPrincipal .mc-hero-copy p { grid-area: copy; }
  body.mc-page-home #carouselPrincipal .mc-hero-copy .mc-hero-cta { grid-area: cta; justify-self: start; align-self: start; }
  body.mc-page-home #carouselPrincipal .mc-hero-slide:not(.mc-hero-slide--image-only):not(.mc-hero-slide--cta-only) .mc-hero-visual { grid-area: image; height: 120px !important; }
  body.mc-page-home #carouselPrincipal .mc-hero-slide:not(.mc-hero-slide--image-only):not(.mc-hero-slide--cta-only) .mc-hero-product-image.img-movil { height: 120px !important; }
  body.mc-page-home .mc-trust-strip > div { min-height: 48px !important; padding: 4px !important; gap: 4px !important; flex-direction: row !important; }
  body.mc-page-home .mc-trust-strip > div > i { flex: 0 0 20px; width: 20px !important; height: 24px !important; font-size: 18px !important; margin: 0 !important; background: transparent !important; }
  body.mc-page-home .mc-trust-strip strong { font-size: 11px !important; line-height: 1.3 !important; }
  body .mc-best-sellers__grid { align-items: start; }
  body .eg-card:has(.eg-card__web:not([hidden])) .eg-card__image { height: 120px; }
  body .eg-card__web > span { line-height: 1.45; }
  body .eg-card__web > span i { font-size: 12px; line-height: inherit; }
  body .eg-card__web .eg-benefit-terms summary { min-height: 44px; padding-block: 12px; }
  body.mc-page-home .mc-promo-premium-head { gap: 6px !important; margin-bottom: 8px !important; }
  body.mc-page-home .mc-promo-premium-head h2 { font-size: 22px !important; line-height: 1.2 !important; margin-block: 4px !important; }
  body.mc-page-home .mc-promo-premium-head .eg-result-count { font-size: 13px; margin-block: 4px; }
  body.mc-page-home .mc-promo-premium-head .mc-section-kicker { font-size: 11px !important; }
  body.mc-page-home .mc-promo-premium-copy { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 8px; }
  body.mc-page-home .mc-promo-premium-copy > :is(.mc-section-kicker, h2, .mc-promo-premium-subtitle) { grid-column: 1 / -1; }
  body.mc-page-home .mc-promo-premium-copy > .mc-promo-conditions { grid-column: 2; grid-row: 3; }
  body.mc-page-home .mc-promo-premium-copy > .mc-promo-conditions[open] { grid-column: 1 / -1; grid-row: auto; }
  body.mc-page-home .mc-promo-premium-head .mc-promo-premium-actions { margin-block: 4px !important; }
  body .mc-promo-conditions summary { min-height: 44px; display: flex; align-items: center; }
  body.mc-page-home .mc-promo-products-1 .mc-promo-products-inner,
  body.mc-page-home .mc-promo-products-1 .mc-promo-products-carousel,
  body.mc-page-home .mc-promo-products-1 .splide { width: 100% !important; max-width: none !important; margin: 0 !important; padding-inline: 0 !important; }
  body .mc-detail-page .mc-detail-gallery .product-image-viewer,
  body .mc-detail-page .mc-detail-gallery .carousel-inner,
  body .mc-detail-page .mc-detail-gallery .product-image-open,
  body .mc-detail-page .mc-detail-gallery .carousel-item { height: 176px !important; min-height: 0 !important; }
  body .mc-detail-page .mc-detail-gallery .product-image-open img { height: 166px !important; max-height: 166px !important; }
}

/* Carrito y revisión: controles cómodos con teclado móvil y textos largos. */
.mc-cart-product .eg-cart-image { flex: 0 0 72px; width: 72px; height: 72px; object-fit: contain; background: #fff; }
.mc-cart-product > div { min-width: 0; overflow-wrap: anywhere; }
body.mc-page-confirmation .card-body { overflow-wrap: anywhere; }
body.mc-page-cart .mc-choice-card:has(input:checked) { border-color: #2060d0 !important; background: #eff5ff; }
body.mc-page-cart .mc-choice-card:focus-within { outline: 3px solid #2060d0; outline-offset: 2px; }
@media (max-width: 767.98px) {
  body.mc-page-cart .mc-cart-shell { margin-block: 16px !important; }
  body.mc-page-cart .mc-cart-shell h1,
  body.mc-page-confirmation .mc-list-heading h1 { font-size: 24px !important; line-height: 1.25; margin-bottom: 16px; }
  body.mc-page-cart .mc-cart-shell h2 { font-size: 21px !important; line-height: 1.3; }
  body.mc-page-cart .eg-checkout-payment { margin-top: 24px !important; padding: 16px !important; box-shadow: none !important; }
  body.mc-page-cart .eg-checkout-payment :is(h4, h5) { font-size: 17px; }
  body.mc-page-cart .mc-cart-shell :is(input:not([type=radio]):not([type=hidden]), select, textarea) {
    min-height: 46px; font-size: 16px !important; scroll-margin-block: 132px 100px;
  }
  body.mc-page-cart .mc-cart-shell textarea { min-height: 96px !important; }
  body.mc-page-cart .mc-choice-card { min-height: 48px; padding: 12px !important; font-size: 15px; display: flex; align-items: center; gap: 10px; }
  body.mc-page-cart .mc-choice-card input { flex: 0 0 20px; width: 20px; height: 20px; }
  body.mc-page-cart .mc-cart-remove button { min-width: 44px; min-height: 44px; }
  body.mc-page-cart .mc-primary-touch { width: 100%; white-space: normal; font-size: 16px; padding: 12px !important; }
  body.mc-page-confirmation .card-body { padding: 16px; }
  body.mc-page-confirmation main.mc-search-page { width: calc(100% - 24px); max-width: none; margin: 16px 12px; padding: 0; }
  body.mc-page-confirmation main > .container { width: 100%; max-width: none; margin: 0; padding: 0 !important; box-shadow: none; background: transparent; }
  body.mc-page-confirmation main .row { --bs-gutter-x: 0; }
  body.mc-page-confirmation main .card { border: 1px solid #dce5f3 !important; border-radius: 12px; box-shadow: none !important; }
  body.mc-page-confirmation .mc-responsive-table-row { padding: 0; border: 0; }
  body.mc-page-confirmation .mc-list-heading h1 { color: #18233b; }
  body.mc-page-confirmation :is(.btn, button) { min-height: 44px; white-space: normal; }
  body.mc-page-cart:has(.mc-cart-shell input:not([type=radio]):focus, .mc-cart-shell textarea:focus, .mc-cart-shell select:focus) #navbarMain { visibility: hidden; }
}
@media (min-width: 360px) and (max-width: 575.98px) {
  body .eg-card__form { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; }
  body .eg-card__form .eg-card__cta { padding: 8px; font-size: 13px; line-height: 1.25; }
  body .eg-card__form .eg-card__cta i { display: none; }
  body .eg-card__form .mc-installment-picker__trigger { height: 100%; padding: 8px; font-size: 12px; }
  body .eg-card__form :is(.eg-card__empty, a.eg-card__cta) { grid-column: 1 / -1; }
}
@media (max-width: 991.98px) {
  /* Los controles de los banners múltiples tienen su propia fila. */
  body.mc-page-home #carouselPrincipal:has(.carousel-control-prev) { padding-bottom: 44px !important; }
  body.mc-page-home #carouselPrincipal > :is(.carousel-control-prev, .carousel-control-next) {
    top: auto !important; bottom: 0 !important; width: 44px !important; height: 44px !important;
    margin: 0 !important; transform: none !important; opacity: 1; background: #fff !important;
    border: 1px solid #d5dfed; border-radius: 50%; z-index: 3;
  }
  body.mc-page-home #carouselPrincipal > .carousel-control-prev { left: 12px !important; }
  body.mc-page-home #carouselPrincipal > .carousel-control-next { right: 12px !important; }
  body.mc-page-home #carouselPrincipal .carousel-indicators { bottom: 0 !important; height: 44px; align-items: center; margin: 0 64px !important; }
  body.mc-page-home #carouselPrincipal .carousel-control-prev-icon,
  body.mc-page-home #carouselPrincipal .carousel-control-next-icon { filter: brightness(0) saturate(100%); width: 18px; height: 18px; }
}

/* Contador de combos: conservar la etiqueta visible tambien en movil. */
body.mc-page-home .mc-promo-premium-actions .mc-combo-countdown {
  max-width: 100%;
  flex-wrap: wrap;
  padding: 10px 12px 10px 16px !important;
  gap: 12px !important;
  border: 1px solid #d8e2f2;
  border-radius: 16px;
  background: #fff;
}
body.mc-page-home .mc-combo-countdown .mc-promo-countdown-label {
  display: inline !important;
  width: auto;
  font-size: 18px !important;
  line-height: 1.2;
}
body.mc-page-home .mc-combo-countdown .mc-promo-countdown-chips { gap: 8px !important; }
body.mc-page-home .mc-combo-countdown .mc-promo-countdown-chip {
  width: 54px !important;
  min-height: 54px;
  padding: 4px !important;
  border-radius: 10px;
  box-shadow: none;
}
body.mc-page-home .mc-combo-countdown [data-combo-unit] {
  color: var(--mc-ink, #18233b);
  font-size: 24px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
body.mc-page-home .mc-combo-countdown .mc-promo-countdown-chip small {
  margin-top: 6px;
  color: #526581;
  font-size: 11px;
}
@media (max-width: 575.98px) {
  body.mc-page-home .mc-promo-premium-actions .mc-combo-countdown {
    padding: 8px !important;
    gap: 8px !important;
  }
  body.mc-page-home .mc-combo-countdown .mc-promo-countdown-label { font-size: 14px !important; }
  body.mc-page-home .mc-combo-countdown .mc-promo-countdown-chips { gap: 4px !important; }
  body.mc-page-home .mc-combo-countdown .mc-promo-countdown-chip { width: 36px !important; min-height: 46px; }
  body.mc-page-home .mc-combo-countdown [data-combo-unit] { font-size: 20px; }
  body.mc-page-home .mc-combo-countdown .mc-promo-countdown-chip small { font-size: 9px; }
}

/* Combos: sección destacada y contenido identificable antes de comprar. */
body.mc-page-home .eg-combos-section {
  overflow: hidden;
  border: 1px solid #cdddf5;
  background: linear-gradient(145deg, #f4f8ff 0, #fff 34%, #fff 100%);
  box-shadow: 0 16px 40px rgb(31 79 151 / 10%);
}
body.mc-page-home .eg-combos-section > .card-body { padding: 24px 28px 28px; }
body.mc-page-home .eg-combos-section .mc-promo-premium-head {
  padding-bottom: 20px;
  border-bottom: 1px solid #dce6f5;
}
body.mc-page-home .eg-combos-section .mc-promo-premium-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: start;
  gap: 5px;
  min-width: 0;
}
body.mc-page-home .eg-combos-section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #1758b3;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
body.mc-page-home .eg-combos-section__description { margin: 0; color: #526178; font-size: 14px; line-height: 1.45; }
body.mc-page-home .eg-combos-section__count {
  display: inline-flex;
  margin-top: 3px;
  padding: 4px 9px;
  border-radius: 999px;
  background: #e8f1ff;
  color: #164b96;
  font-size: 12px;
  font-weight: 700;
}
body.mc-page-home .eg-combos-section .eg-card__media {
  padding: 14px 48px 10px;
  background: #f8faff;
  border-bottom: 1px solid #e2e8f0;
}
body.mc-page-home .eg-combos-section .eg-card .eg-card__image { height: 220px; }
body.mc-page-home .eg-combos-section .eg-card__body { padding: 14px 16px; gap: 8px; }
body.mc-page-home .eg-combos-section .eg-card__name { min-height: max(48px, var(--eg-combo-name-height, 0px)); }
body.mc-page-home .eg-combos-section .eg-card__pricing {
  flex: 0 0 auto;
  min-height: var(--eg-combo-pricing-height, 0px);
  padding-top: 10px;
}
body.mc-page-home .eg-combos-section .eg-card__cash {
  order: 3;
  margin: 6px 0 0;
  padding: 0;
  color: #52637b;
  font-size: 12px;
}
body.mc-page-home .eg-combos-section .eg-card__form { margin: 0; }
body.mc-page-home .eg-combos-section .eg-combo-content { margin: 2px 0 0; }
body.mc-page-home .eg-combos-section .eg-combo-content--disclosure {
  padding: 0;
  border-color: #cfdcf0;
  background: #f7faff;
}
body.mc-page-home .eg-combos-section .eg-combo-content--disclosure > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 46px;
  padding: 10px 12px;
  color: #183c72;
  cursor: pointer;
  list-style: none;
}
body.mc-page-home .eg-combos-section .eg-combo-content--disclosure > summary::-webkit-details-marker { display: none; }
body.mc-page-home .eg-combos-section .eg-combo-content__summary-copy,
body.mc-page-home .eg-combos-section .eg-combo-content__summary-action { display: inline-flex; align-items: center; gap: 7px; }
body.mc-page-home .eg-combos-section .eg-combo-content__summary-copy { font-size: 13px; }
body.mc-page-home .eg-combos-section .eg-combo-content__summary-copy > i { color: #2060d0; font-size: 16px; }
body.mc-page-home .eg-combos-section .eg-combo-content__summary-action { flex: 0 0 auto; color: #526581; font-size: 11px; font-weight: 700; }
body.mc-page-home .eg-combos-section .eg-combo-content__summary-action i { transition: transform .2s ease; }
body.mc-page-home .eg-combos-section .eg-combo-content--disclosure[open] .eg-combo-content__summary-action i { transform: rotate(180deg); }
body.mc-page-home .eg-combos-section .eg-combo-content__details { padding: 0 12px 12px; border-top: 1px solid #dce6f5; }
body.mc-page-home .eg-combos-section .eg-combo-content__details ul { gap: 7px; padding-top: 10px; }
body.mc-page-home .eg-combos-section .eg-card__more { margin-top: auto; }
body.mc-page-home .eg-combos-section .splide__arrow {
  display: flex !important;
  top: 122px;
  width: 44px;
  height: 44px;
  background: #fff;
  border: 1px solid #dce5f3;
  box-shadow: 0 3px 10px rgb(24 35 59 / 8%);
}
body.mc-page-home .eg-combos-section .splide__arrow:focus-visible {
  outline: 3px solid #2060d0;
  outline-offset: 2px;
}
@media (max-width: 575.98px) {
  body.mc-page-home .eg-combos-section > .card-body { padding: 18px 12px 16px; }
  body.mc-page-home .eg-combos-section .mc-promo-premium-head { padding-bottom: 16px; }
  body.mc-page-home .eg-combos-section__description { font-size: 13px; }
  body.mc-page-home .eg-combos-section .eg-card__media { padding: 12px 48px; }
  body.mc-page-home .eg-combos-section .eg-card .eg-card__image { height: 200px; }
  body.mc-page-home .eg-combos-section .eg-card__body { padding: 12px 14px; gap: 8px; }
  body.mc-page-home .eg-combos-section .eg-card__name { min-height: 0; }
  body.mc-page-home .eg-combos-section .eg-card__pricing { min-height: 0; }
  body.mc-page-home .eg-combos-section .eg-card__price { white-space: normal; }
  body.mc-page-home .eg-combos-section .splide__arrow { top: 112px; }
}

/* Public audit: focus, compact mobile actions and keyboard-safe dialogs. */
.eg-skip-link { position: fixed; top: 8px; left: 8px; z-index: 100000; transform: translateY(-160%); padding: 12px 16px; background: #fff; color: #123e82; border: 2px solid currentColor; border-radius: 8px; }
.eg-skip-link:focus { transform: none; }
:where(a,button,input,select,textarea,summary):focus-visible { outline: 3px solid #135ab4; outline-offset: 3px; }
.mc-catalog-filter-panel input,.mc-catalog-filter-panel select { font-size: 16px; }
.mc-catalog-filter-panel__head button,.mc-gallery-thumb { min-width: 44px; min-height: 44px; }
@media (max-width: 991.98px) {
 body.eg-has-purchase-shortcut:not(.eg-purchase-in-view):not(.mc-category-menu-open) .mc-promo-nav { visibility: hidden; pointer-events: none; }
 body.eg-has-purchase-shortcut .mc-mobile-buy-bar { bottom: 0 !important; padding-bottom: max(12px,env(safe-area-inset-bottom)) !important; }
 body.eg-purchase-in-view .mc-mobile-buy-bar { visibility: hidden; pointer-events: none; }
 body.eg-keyboard-open .mc-promo-nav,body.eg-keyboard-open .mc-mobile-buy-bar,body.eg-keyboard-open .mc-whatsapp-seller { display: none !important; }
 body.eg-keyboard-open .mc-site-header { position: static !important; }
 body.mc-filters-open .mc-promo-nav { visibility: hidden; pointer-events: none; }
 .mc-catalog-filter-panel { max-height: min(85dvh,var(--eg-visible-height,85vh)) !important; overflow-y: auto; overscroll-behavior: contain; padding-bottom: max(16px,env(safe-area-inset-bottom)); }
 .mc-mobile-buy-bar a:focus-visible { outline-offset: -4px; }
}
@media (prefers-reduced-motion: reduce) {
 html { scroll-behavior: auto !important; }
 .splide__list,.carousel-item,.mc-catalog-filter-overlay,.mc-catalog-filter-panel { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* Accessible spacing between secondary product actions. */
.eg-card .eg-card__delivery { display: flex; align-items: center; min-height: 44px; padding-block: 8px; margin-top: 4px; }
.eg-card .eg-card__utilities button,.eg-card .eg-card__utilities label { min-height: 44px; display: inline-flex; align-items: center; }

/* Quicker carousel transitions; reduced-motion rules retain precedence. */
.carousel .carousel-item { transition-duration: .35s; }

/* Presentacion del catalogo: contenido completo sin estirar bloques de precio. */
body .eg-card__pricing { flex: 0 0 auto; }
body .eg-card__body { flex: 1 0 auto; }
body .mc-best-sellers .eg-card--ranking { height: auto; align-self: stretch; }
body .mc-best-sellers .eg-card__body { flex: 1 0 auto; }
body .mc-best-sellers .eg-card--ranking .eg-card__form { margin-top: auto; }
body .eg-card__previous, body .eg-card__total,
body .eg-card__delivery, body .eg-card__name p { color: #526178; font-size: 13px; line-height: 1.5; }
body .eg-card__web > span, body .eg-card__web small, body .eg-card__web a,
body .eg-card__utilities button, body .eg-card__utilities label,
body .eg-card__brand, body .eg-card__stock { font-size: 12px; line-height: 1.5; }
body .eg-card__cash { font-size: 14px; color: #34465f; }
body .eg-combo-content li, body .eg-combo-content .eg-combo-content__note { font-size: 13px; }
body .splide__list:has(.eg-card) { align-items: stretch !important; }
body .splide__slide .eg-card, body .mc-search-product-item .eg-card { height: auto; align-self: stretch; }
body.mc-page-home .eg-combos-section .eg-card__more { margin-top: 0; }
/* Alinear la compra por fila sin alturas fijas ni recortar beneficios. */
@media (min-width: 576px) {
  body .mc-best-sellers__grid { align-items: stretch; }
  body .eg-card:not(:has(.eg-combo-content)) .eg-card__form { margin-top: auto; padding-top: 8px; }
  body .eg-card--ranking .eg-card__name { min-height: 66px; }
}

/* Catálogo: acceso rápido a categorías sin abrir el panel de filtros. */
.eg-catalog-categories {
  display: flex; align-items: center; gap: 10px; min-width: 0;
  margin: 0 0 14px; padding: 10px 12px;
  border: 1px solid #dce5f3; border-radius: 12px; background: #fff;
}
.eg-catalog-categories__label { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px; color: #34465f; font-size: 13px; font-weight: 700; }
.eg-catalog-categories__track { display: flex; gap: 8px; min-width: 0; overflow-x: auto; padding: 2px 2px 5px; scrollbar-width: none; overscroll-behavior-inline: contain; }
.eg-catalog-categories__track::-webkit-scrollbar { display: none; }
.eg-catalog-categories__track a { flex: 0 0 auto; min-height: 38px; display: inline-flex; align-items: center; padding: 7px 12px; border: 1px solid #d5dfed; border-radius: 999px; color: #34465f; background: #fff; font-size: 13px; font-weight: 650; text-decoration: none; }
.eg-catalog-categories__track a:hover { border-color: #8fb4ed; color: #174ba7; background: #f4f8ff; }
.eg-catalog-categories__track a[aria-current="page"] { border-color: #2060d0; color: #fff; background: #2060d0; }

/* Footer: sucursales escaneables en móvil y completas en pantallas amplias. */
.mc-footer-address { display: block; }
.mc-footer-address > summary { display: flex; align-items: center; gap: 9px; min-height: 44px; color: #fff; cursor: pointer; list-style: none; }
.mc-footer-address > summary::-webkit-details-marker { display: none; }
.mc-footer-address > summary > strong { min-width: 0; font-size: 14px; line-height: 1.35; }
.mc-footer-address > summary > .bi-geo-alt-fill { flex: 0 0 auto; color: #8fc0ff; }
.mc-footer-address__chevron { margin-left: auto; transition: transform .2s ease; }
.mc-footer-address[open] .mc-footer-address__chevron { transform: rotate(180deg); }
.mc-footer-address > .mc-footer-address__content { padding: 8px 0 0 25px; }
@media (min-width: 768px) {
  .mc-footer-address > summary { cursor: default; pointer-events: none; }
  .mc-footer-address__chevron { display: none; }
  .mc-footer-address > .mc-footer-address__content { display: flex !important; padding-left: 25px; }
}
@media (max-width: 767.98px) {
  .eg-catalog-categories { display: block; padding: 10px 0 8px 10px; }
  .eg-catalog-categories__label { margin-bottom: 8px; }
  .eg-catalog-categories__track { padding-right: 20px; }
  details.mc-footer-address:not([open]) > .mc-footer-address__content { display: none !important; }
  .mc-footer-address > .mc-footer-address__content { gap: 6px; }
  .mc-cart-title { display: flex; align-items: center; justify-content: center; gap: 9px; }
}
@media (max-width: 991.98px) {
  body.mc-page-detail .eg-selected-plan { display: none; }
}
/* En una columna, cada producto utiliza solamente el espacio que necesita. */
@media (max-width: 575.98px) {
  body .eg-card__body, body .mc-best-sellers .eg-card__body { flex: 0 0 auto; }
  body .splide__list:has(.eg-card) { align-items: flex-start !important; }
  body .splide__slide .eg-card, body .mc-search-product-item .eg-card,
  body .mc-best-sellers .eg-card--ranking { align-self: flex-start; }
  body .mc-best-sellers .eg-card--ranking .eg-card__form { margin-top: 4px; }
}
body .mc-installment-picker__trigger { gap: 8px; }
body .eg-card .mc-installment-picker__trigger { font-size: 14px; }
body .eg-card .mc-installment-picker__trigger > span { white-space: normal; overflow-wrap: normal; }

/* Sucursales en una fila propia: aprovechar el ancho sin columnas vacias. */
@media (min-width: 768px) {
  body .mc-footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr !important;
    grid-template-areas: 'brand links social' 'locations locations locations';
    gap: 28px !important;
    align-items: start;
  }
  body .mc-footer-grid > * { padding: 0 !important; border: 0 !important; min-width: 0; }
  body .mc-footer-brand { grid-area: brand; }
  body .mc-footer-links { grid-area: links; }
  body .mc-footer-social { grid-area: social; }
  body .mc-footer-location { grid-area: locations; padding-top: 24px !important; border-top: 1px solid rgba(189,217,255,.25) !important; }
  body .mc-footer-locations-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
  body .mc-footer-address, body .mc-footer-address + .mc-footer-address { padding: 12px !important; border: 1px solid rgba(189,217,255,.22); border-radius: 12px; }
  body .mc-footer-brand > p { max-width: 360px; }
}
@media (min-width: 1400px) {
  body .mc-footer-locations-list { grid-template-columns: repeat(5,minmax(0,1fr)); }
}
body .mc-footer-address__content > span,
body .mc-footer-address__actions a { font-size: 13px; line-height: 1.5; }
body .mc-footer-address__content > a { font-size: 13px; line-height: 1.5; }
body .mc-footer-all-locations { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; }
body .mc-footer-social > p { max-width: 320px; }

@media (max-width: 767.98px) {
  body .mc-footer-grid { gap: 0 !important; }
  body .mc-footer-locations-list { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 0; padding: 0; overflow: visible; }
  body .mc-footer-address, body .mc-footer-address + .mc-footer-address { min-width: 0; width: 100%; padding: 14px !important; margin: 0; }
  body .mc-footer-social .social-icons { justify-content: flex-start; }
  body .mc-footer-grid > *, body .mc-footer-grid > :nth-child(n) { padding-block: 18px !important; }
}
@media (max-width: 575.98px) {
  body .eg-card__form { grid-template-columns: minmax(0,1fr); gap: 8px; }
  body .eg-card__form .mc-installment-picker__trigger { padding: 12px; font-size: 14px; min-height: 46px; }
  body .eg-card__form .eg-card__cta { padding: 12px; font-size: 14px; min-height: 46px; }
  body .eg-card__form .eg-card__cta i { display: inline-block; }
  body.mc-page-home .eg-combos-section .eg-card__media { padding: 12px 42px; }
  body.mc-page-home .eg-combos-section .eg-card .eg-card__image { height: 220px; }
  body.mc-page-home .eg-combos-section .splide__arrow { top: 122px; }
  body .eg-card:has(.eg-combo-content) .eg-card__image { height: 260px; }
  body .mc-detail-page .mc-detail-gallery .product-image-viewer,
  body .mc-detail-page .mc-detail-gallery .carousel-inner,
  body .mc-detail-page .mc-detail-gallery .product-image-open,
  body .mc-detail-page .mc-detail-gallery .carousel-item,
  body .mc-detail-page .mc-detail-gallery .product-image-open img { height: 300px !important; max-height: 300px !important; object-fit: contain; }
  body.mc-page-home .mc-brand-band { padding-block: 18px !important; }
  body.mc-page-home .mc-brand-band .mc-section-head { margin-bottom: 20px !important; }
}

/* Pulido visual final: menos espacio muerto, navegación más clara y controles sin solaparse. */
@media (min-width: 992px) {
  .eg-header .mc-topbar,
  .eg-header .mc-topbar-inner,
  .eg-header .mc-header,
  .eg-header .mc-header .navbar-brand-group img,
  .eg-header .mc-header .buscador-input-group,
  .eg-header .mc-header .buscador-btn {
    transition: min-height .2s ease, max-height .2s ease, padding .2s ease, opacity .16s ease, width .2s ease, height .2s ease;
  }
  .eg-header .mc-topbar { max-height: 34px; overflow: hidden; }
  .eg-header.is-compact .mc-topbar { min-height: 0 !important; max-height: 0; opacity: 0; }
  .eg-header.is-compact .mc-topbar-inner { padding-top: 0; padding-bottom: 0; }
  .eg-header.is-compact .mc-header { min-height: 64px !important; }
  .eg-header.is-compact .mc-header .navbar-brand-group img { width: 72px !important; }
  .eg-header.is-compact .mc-header .buscador-input-group { min-height: 46px; }
  .eg-header.is-compact .mc-header .buscador-input-group .form-control.buscador-input { min-height: 38px; }
  .eg-header.is-compact .mc-header :is(.buscador-btn, .btnbuscar) { width: 40px; min-width: 40px; height: 40px; }

  /* En escritorio el footer ya ofrece el mismo contacto; evitar tapar cards y flechas. */
  body .mc-whatsapp-seller { display: none !important; }

  body.mc-page-search .mc-list-heading { margin: 10px 0 12px !important; padding: 0 !important; }
  body.mc-page-search .mc-catalog-filterbar { gap: 10px; margin-bottom: 18px; padding: 12px; }
  body.mc-page-search .mc-catalog-filterbar :is(input, select),
  body.mc-page-search .mc-filter-range-fields input,
  body.mc-page-search .mc-filter-apply,
  body.mc-page-search .mc-filter-clear { height: 44px; min-height: 44px; }
}

@media (min-width: 576px) {
  body.mc-page-home .mc-product-section:not(.eg-combos-section) .splide__slide .eg-card {
    flex: 0 0 auto;
    align-self: flex-start;
    height: auto;
  }
  body.mc-page-home .mc-product-section:not(.eg-combos-section) .eg-card__body { flex: 0 0 auto; }
  body.mc-page-home .mc-product-section:not(.eg-combos-section) .eg-card__form { margin-top: 8px; padding-top: 0; }

  /* El ranking necesita una base común para alinear compra y acciones por fila. */
  body.mc-page-home .mc-best-sellers .splide__list { align-items: stretch !important; }
  body.mc-page-home .mc-best-sellers .splide__slide { align-self: stretch; height: auto !important; }
  body.mc-page-home .mc-best-sellers .eg-card--ranking {
    flex: 1 1 auto;
    align-self: stretch;
    height: 100%;
  }
  body.mc-page-home .mc-best-sellers .eg-card__body { flex: 1 1 auto; }
  body.mc-page-home .mc-best-sellers .eg-card__form { margin-top: auto; padding-top: 8px; }

  /* Tendencias y promociones: mantener compra y acciones alineadas aunque
     algunas tarjetas muestren descuentos o el beneficio de registro. */
  body.mc-page-home .mc-product-section.mc-trending-section .splide__list,
  body.mc-page-home .mc-product-section.mc-promo-premium-section:not(.eg-combos-section) .splide__list {
    align-items: stretch !important;
  }
  body.mc-page-home .mc-product-section.mc-trending-section .splide__slide,
  body.mc-page-home .mc-product-section.mc-promo-premium-section:not(.eg-combos-section) .splide__slide {
    align-self: stretch;
    height: auto !important;
  }
  body.mc-page-home .mc-product-section.mc-trending-section .splide__slide .eg-card,
  body.mc-page-home .mc-product-section.mc-promo-premium-section:not(.eg-combos-section) .splide__slide .eg-card {
    flex: 1 1 auto;
    align-self: stretch;
    height: 100%;
  }
  body.mc-page-home .mc-product-section.mc-trending-section .eg-card__body,
  body.mc-page-home .mc-product-section.mc-promo-premium-section:not(.eg-combos-section) .eg-card__body {
    flex: 1 1 auto;
  }
  body.mc-page-home .mc-product-section.mc-trending-section .eg-card__form,
  body.mc-page-home .mc-product-section.mc-promo-premium-section:not(.eg-combos-section) .eg-card__form {
    margin-top: auto;
    padding-top: 8px;
  }
}

/* Carrusel de categorías; independiente de las grillas del catálogo. */
body.mc-page-home #carouselCategoriasVisitadas { padding: 0 24px; min-width: 0; }
body.mc-page-home #carouselCategoriasVisitadas .splide__track { padding: 4px 0 12px; }
body.mc-page-home #carouselCategoriasVisitadas .splide__list { align-items: stretch; }
body.mc-page-home #carouselCategoriasVisitadas .splide__slide { display: flex; min-width: 0; }
body.mc-page-home #carouselCategoriasVisitadas .mc-featured-card { width: 100% !important; min-width: 0 !important; margin: 0 !important; height: 100%; }
body.mc-page-home #carouselCategoriasVisitadas .splide__arrow { width: 44px !important; height: 44px !important; opacity: 1; background: #fff; border: 1px solid #d4e1f5; box-shadow: 0 3px 10px rgba(23,75,167,.10) !important; }
body.mc-page-home #carouselCategoriasVisitadas .splide__arrow--prev { left: 0 !important; }
body.mc-page-home #carouselCategoriasVisitadas .splide__arrow--next { right: 0 !important; }
body.mc-page-home #carouselCategoriasVisitadas .splide__arrow svg { fill: #2060d0; }
body.mc-page-home #carouselCategoriasVisitadas .splide__arrow:focus-visible { outline: 3px solid #2060d0; outline-offset: 2px; }
body.mc-page-home #carouselCategoriasVisitadas:not(.is-initialized) { visibility: visible; }
body.mc-page-home #carouselCategoriasVisitadas:not(.is-initialized) .splide__list { display: flex; overflow-x: auto; gap: 16px; }
body.mc-page-home #carouselCategoriasVisitadas:not(.is-initialized) .splide__slide { flex: 0 0 220px; }

/* Tendencias: espacios y controles limitados a esta sección de la portada. */
body.mc-page-home .mc-trending-section > .card-body { padding: 24px !important; }
body.mc-page-home .mc-trending-section .mc-section-head {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 12px !important;
  margin: 0 0 18px !important;
  padding: 0 !important;
  border-bottom: 0;
}
body.mc-page-home .mc-trending-section .mc-section-head .titulo-pagina { max-width: none; margin: 4px 0 6px !important; font-size: 24px !important; line-height: 1.25 !important; }
body.mc-page-home .mc-trending-section .mc-section-description { margin: 0 !important; padding: 0; font-size: 14px; line-height: 1.5; }
body.mc-page-home .mc-trending-section .mc-section-head .btn { width: auto !important; min-height: 44px !important; padding: 8px 16px !important; font-size: 14px; border-radius: 10px; box-shadow: none; white-space: nowrap; }
body.mc-page-home .mc-trending-section #carouselProductosSimilares { padding: 0 0 4px !important; }
body.mc-page-home .mc-trending-section .splide__list { min-height: 0 !important; }
body.mc-page-home .mc-trending-section .producto-card { margin-bottom: 0 !important; }
body.mc-page-home .mc-trending-section .eg-card { border-radius: 16px; box-shadow: none; }
body.mc-page-home .mc-trending-section .eg-card__media { padding: 16px 44px 0; }
body.mc-page-home .mc-trending-section .eg-card .eg-card__image { height: 168px; }
body.mc-page-home .mc-trending-section .eg-card__body { padding: 12px 16px; gap: 6px; }
body.mc-page-home .mc-trending-section .eg-card__name { padding: 0; }
body.mc-page-home .mc-trending-section .eg-card__name h3 { margin: 0 0 4px; padding: 0 !important; font-size: 16px; line-height: 1.35; }
body.mc-page-home .mc-trending-section .eg-card__name p { margin: 0; font-size: 12px; line-height: 1.4; }
body.mc-page-home .mc-trending-section .eg-card__pricing { padding-top: 10px; }
body.mc-page-home .mc-trending-section .eg-card__price { white-space: normal; }
body.mc-page-home .mc-trending-section .eg-card__price strong { font-size: 26px; white-space: nowrap; }
body.mc-page-home .mc-trending-section .eg-card__previous { font-size: 12px; line-height: 1.5; }
body.mc-page-home .mc-trending-section .eg-card__web { padding: 10px 12px; gap: 3px; border: 1px solid #e0eee7; border-radius: 10px; }
body.mc-page-home .mc-trending-section .eg-card__web strong { font-size: 15px; }
body.mc-page-home .mc-trending-section #carouselProductosSimilares .splide__arrow { top: 100px !important; width: 44px !important; height: 44px !important; box-shadow: 0 3px 10px rgba(23,75,167,.10) !important; }
body.mc-page-home .mc-trending-section #carouselProductosSimilares .splide__arrow--prev { left: -16px !important; }
body.mc-page-home .mc-trending-section #carouselProductosSimilares .splide__arrow--next { right: -16px !important; }
body.mc-page-home .mc-trending-section #carouselProductosSimilares .splide__arrow:focus-visible { outline: 3px solid #2060d0; outline-offset: 2px; }
@media (min-width: 576px) {
  body.mc-page-home .mc-trending-section .eg-card__name { min-height: 60px; }
  body.mc-page-home .mc-trending-section .eg-card__previous { min-height: 36px; margin-top: 4px; }
  /* Conservar la alineación sin mostrar precios que no aplican al producto. */
  body.mc-page-home .mc-trending-section .eg-card__pricing:has(.eg-card__previous[hidden])::before { content: ''; order: 3; flex: 0 0 40px; }
  body.mc-page-home .mc-trending-section .eg-card__savings { display: block; margin-left: 0; }
  body.mc-page-home .mc-trending-section .eg-card__web { min-height: 130px; align-content: start; }
}
@media (min-width: 1600px) {
  body.mc-page-home .mc-trending-section .eg-card__form {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    align-items: stretch;
    gap: 8px;
  }
  body.mc-page-home .mc-trending-section .eg-card__form .mc-installment-picker__trigger { height: 100%; min-height: 46px; padding: 10px; font-size: 13px; }
  body.mc-page-home .mc-trending-section .eg-card__cta { padding: 10px 8px; font-size: 13px; }
  body.mc-page-home .mc-trending-section .eg-card__form :is(.eg-card__empty, a.eg-card__cta) { grid-column: 1 / -1; }
  body.mc-page-home .mc-trending-section .eg-card__more { border-top: 1px solid #e2e8f0; }
  body.mc-page-home .mc-trending-section .eg-card__more::details-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
  }
  body.mc-page-home .mc-trending-section .eg-card__utilities { gap: 12px; padding: 0; border: 0; justify-content: flex-start; }
  body.mc-page-home .mc-trending-section .eg-card__utilities :is(button, label) { font-size: 11px; }
  body.mc-page-home .mc-trending-section .eg-card__delivery { margin: 0; padding: 0; min-height: 44px; font-size: 11px; }
}
@media (max-width: 575.98px) {
  body.mc-page-home .mc-trending-section > .card-body { padding: 16px 12px !important; }
  body.mc-page-home .mc-trending-section .mc-section-head { gap: 8px !important; align-items: start !important; }
  body.mc-page-home .mc-trending-section .mc-section-head > div:last-child { width: auto; align-self: start; }
  body.mc-page-home .mc-trending-section .mc-section-head .titulo-pagina { font-size: 21px !important; }
  body.mc-page-home .mc-trending-section .mc-section-description { font-size: 13px; }
  body.mc-page-home .mc-trending-section .mc-section-head .btn { padding: 8px 10px !important; font-size: 13px; }
  body.mc-page-home .mc-trending-section .mc-section-head .btn i { display: none; }
  body.mc-page-home .mc-trending-section .eg-card__name { min-height: 0; }
  body.mc-page-home .mc-trending-section .eg-card .eg-card__image { height: 144px; }
  body.mc-page-home .mc-trending-section #carouselProductosSimilares .splide__arrow { top: 88px !important; }
  body.mc-page-home .mc-trending-section #carouselProductosSimilares .splide__arrow--prev { left: 4px !important; }
  body.mc-page-home .mc-trending-section #carouselProductosSimilares .splide__arrow--next { right: 4px !important; }
}

.eg-card__web { gap: 1px; padding: 7px 9px; }
.eg-card__web small { line-height: 1.3; }

.eg-home-shortcuts,
.eg-catalog-categories__track {
  scroll-snap-type: x proximity;
  -webkit-mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 34px), transparent 100%);
  mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 34px), transparent 100%);
}
.eg-home-shortcuts > a,
.eg-catalog-categories__track > a { scroll-snap-align: start; }
.eg-catalog-categories__track { padding-right: 44px; }

@media (max-width: 575.98px) {
  body .eg-catalog-pagination--superior .eg-pagination-range { display: none; }
  body .eg-catalog-pagination--superior p { font-size: 13px; font-weight: 700; }
  body .mc-detail-page .breadcrumb {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 5px !important;
    white-space: nowrap;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 22px), transparent 100%);
    mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 22px), transparent 100%);
  }
  body .mc-detail-page .breadcrumb::-webkit-scrollbar { display: none; }
  body .mc-detail-page .breadcrumb-item { flex: 0 0 auto; }
  body .info-producto .info-titulo { display: flex; align-items: flex-start; gap: 8px; font-size: 20px !important; line-height: 1.2; }
  body .info-producto .info-titulo > i { flex: 0 0 auto; margin-right: 0 !important; }
}
