/**
 * UI comercio nuevo — producto, checkout, opiniones
 * Sustituye acentos azules legacy por paleta Maule Conecta
 */

/* —— Cards marketplace: meta chips —— */
.mc-legacy-page .product-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  margin-bottom: 0;
}

.mc-legacy-page .product-card__meta .product-type-badge {
  background: var(--mc-navy, #0A2540);
  color: #fff;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.3;
}

.mc-legacy-page .product-card__meta .product-badge {
  background: #ef4444;
  color: #fff;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 0.58rem;
  font-weight: 700;
  line-height: 1.3;
  box-shadow: none;
}

.mc-legacy-page .product-footer .product-price {
  margin-top: 2px;
}

/* Sin botón flotante legacy */
.floating-checkout-btn,
#floatingCheckoutBtn {
  display: none !important;
}

/* Detalle producto — botones (Bootstrap 5 usa --bs-btn-* en hover) */
.mc-legacy-page #product-detail #add-to-cart-btn.mc-btn-cart.btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: #689D0F;
  --bs-btn-border-color: #5a8a0c;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #5a8a0c;
  --bs-btn-hover-border-color: #4a7609;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #4a7609;
  --bs-btn-active-border-color: #3d6508;
  --bs-btn-focus-shadow-rgb: 104, 157, 15;
  color: #fff !important;
  background-color: #689D0F !important;
  background-image: none !important;
  border-color: #5a8a0c !important;
}
.mc-legacy-page #product-detail #add-to-cart-btn.mc-btn-cart.btn-primary:hover,
.mc-legacy-page #product-detail #add-to-cart-btn.mc-btn-cart.btn-primary:focus,
.mc-legacy-page #product-detail #add-to-cart-btn.mc-btn-cart.btn-primary:active,
.mc-legacy-page #product-detail #add-to-cart-btn.mc-btn-cart.btn-primary:focus-visible {
  color: #fff !important;
  background-color: #5a8a0c !important;
  background-image: none !important;
  border-color: #4a7609 !important;
  box-shadow: 0 6px 16px rgba(104, 157, 15, 0.35) !important;
}
.mc-legacy-page #product-detail #add-to-cart-btn.mc-btn-cart.btn-primary i,
.mc-legacy-page #product-detail #add-to-cart-btn.mc-btn-cart.btn-primary:hover i {
  color: #fff !important;
}
.mc-legacy-page #product-detail .mc-btn-checkout.btn-outline-primary {
  color: var(--mc-accent, #689D0F) !important;
  background: #fff !important;
  border: 2px solid var(--mc-accent, #689D0F) !important;
  font-weight: 600;
}
.mc-legacy-page #product-detail .mc-btn-checkout.btn-outline-primary:hover,
.mc-legacy-page #product-detail .mc-btn-checkout.btn-outline-primary:focus {
  color: var(--mc-accent-dark, #5a8a0c) !important;
  background: #f0fdf4 !important;
  border-color: var(--mc-accent-dark, #5a8a0c) !important;
  box-shadow: 0 4px 12px rgba(104, 157, 15, 0.2);
}

/* —— Detalle producto —— */
.mc-legacy-page #product-detail.mc-product-detail {
  padding: 24px 0 40px;
  background: linear-gradient(180deg, #f8faf6 0%, #fff 120px);
}

.mc-legacy-page .mc-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: #64748b;
  margin-bottom: 20px;
}

.mc-legacy-page .mc-breadcrumb a {
  color: var(--mc-accent, #689D0F);
  text-decoration: none;
  font-weight: 500;
}

.mc-legacy-page .mc-breadcrumb a:hover {
  text-decoration: underline;
}

.mc-legacy-page .mc-breadcrumb span[aria-hidden] {
  color: #cbd5e1;
}

.mc-legacy-page .mc-product-panel {
  background: #fff;
  border: 1px solid #e8ecef;
  border-radius: 20px;
  padding: 1.25rem;
  box-shadow: 0 4px 24px rgba(10, 37, 64, 0.06);
}

@media (min-width: 992px) {
  .mc-legacy-page .mc-product-panel {
    padding: 1.5rem;
  }
}

.mc-legacy-page .mc-product-info h1,
.mc-legacy-page .product-info-sticky h1 {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 800;
  color: var(--mc-navy, #0A2540);
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.mc-legacy-page .product-info-sticky .price-new {
  color: var(--mc-navy, #0A2540) !important;
}

.mc-legacy-page .mc-product-info .mc-product-category {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--mc-accent, #689D0F);
  margin-bottom: 1rem;
}

.mc-legacy-page #product-detail .section-title {
  display: none;
}

.mc-legacy-page .carousel-thumbnails img.active,
.mc-legacy-page .carousel-thumbnails img:hover {
  border-color: var(--mc-accent, #689D0F) !important;
  opacity: 1 !important;
}

.mc-legacy-page .option-badge.selected,
.mc-legacy-page .option-badge:hover:not(.out-of-stock) {
  border-color: var(--mc-accent, #689D0F) !important;
  background: #f0fdf4 !important;
  color: var(--mc-navy, #0A2540) !important;
}

.mc-legacy-page .store-card-premium {
  background: #f8faf9 !important;
  border: 1px solid #e2e8e6 !important;
  border-radius: 16px !important;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.mc-legacy-page .store-card-premium:hover {
  border-color: var(--mc-accent, #689D0F) !important;
  box-shadow: 0 8px 24px rgba(104, 157, 15, 0.12) !important;
}

.mc-legacy-page .store-icon-premium {
  background: linear-gradient(135deg, var(--mc-accent, #689D0F), var(--mc-accent-dark, #5a8a0c)) !important;
  color: #fff !important;
  border-radius: 14px !important;
  width: 56px !important;
  height: 56px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 4px 12px rgba(104, 157, 15, 0.25);
}

.mc-legacy-page .store-card-premium .text-primary {
  color: var(--mc-accent, #689D0F) !important;
}

.mc-legacy-page .share-section-container .stat-icon,
.mc-legacy-page #product-detail [style*="eff6ff"],
.mc-legacy-page #product-detail [style*="2563eb"] {
  background: #f0fdf4 !important;
  color: var(--mc-accent, #689D0F) !important;
}

.mc-legacy-page .btn-share-custom-v2 {
  background: #fff !important;
  color: var(--mc-navy, #0A2540) !important;
  border: 1px solid #e5e7eb !important;
}

.mc-legacy-page .btn-share-custom-v2:hover {
  background: var(--mc-accent, #689D0F) !important;
  color: #fff !important;
  border-color: var(--mc-accent, #689D0F) !important;
}

/* Opiniones */
.mc-legacy-page .mc-reviews-section {
  padding: 48px 0 56px;
  background: #f4f6f3;
  border-top: 1px solid #e8ecef;
}

.mc-legacy-page .mc-reviews-section .section-title {
  display: block;
  text-align: left;
  margin-bottom: 28px;
}

.mc-legacy-page .mc-reviews-section .section-title h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--mc-navy, #0A2540);
}

.mc-legacy-page .mc-reviews-section .section-title p {
  color: #64748b;
  margin: 0;
}

.mc-legacy-page .mc-reviews-section .reviews-summary {
  background: #fff;
  border-radius: 20px;
  padding: 1.75rem;
  border: 1px solid #e8ecef;
  box-shadow: 0 4px 20px rgba(10, 37, 64, 0.05);
}

.mc-legacy-page .mc-reviews-section .display-4.text-primary {
  color: var(--mc-accent, #689D0F) !important;
}

.mc-legacy-page .mc-reviews-section .rating-bar {
  background: #e8ecef;
  border-radius: 999px;
}

.mc-legacy-page .mc-reviews-section .bar-fill {
  border-radius: 999px;
}

.mc-legacy-page .mc-reviews-section .review-card,
.mc-legacy-page .mc-reviews-section .reviews-list > div {
  background: #fff;
  border: 1px solid #e8ecef;
  border-radius: 16px;
  padding: 1.25rem;
  margin-bottom: 1rem;
}

/* Relacionados */
.mc-legacy-page .mc-related-section {
  padding: 48px 0 32px;
  background: #fff;
}

.mc-legacy-page .mc-related-section .section-title h2 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--mc-navy, #0A2540);
}

.mc-legacy-page .related-products .btn-add-cart--related,
.mc-legacy-page .related-products .product-image--related .quick-view-btn {
  background: var(--mc-accent, #689D0F) !important;
  color: #fff !important;
}

.mc-legacy-page .related-products .product-image--related .quick-view-btn {
  color: var(--mc-accent, #689D0F) !important;
  background: #fff !important;
}

.mc-legacy-page .related-products .product-card--related:hover .product-image--related .quick-view-btn {
  background: var(--mc-accent, #689D0F) !important;
  color: #fff !important;
}

.mc-legacy-page .related-products .product-category {
  color: var(--mc-accent, #689D0F) !important;
}

/* —— Checkout —— */
.mc-legacy-page #checkout {
  padding: 24px 0 40px;
  background: linear-gradient(180deg, #f8faf6 0%, #fff 100px);
}

.mc-legacy-page #checkout .section-title h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.mc-legacy-page #checkout .checkout-cart,
.mc-legacy-page #checkout .checkout-summary,
.mc-legacy-page #checkout .checkout-form-card {
  background: #fff;
  border: 1px solid #e8ecef;
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(10, 37, 64, 0.06);
  overflow: hidden;
}

.mc-legacy-page #checkout .cart-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.mc-legacy-page #checkout .store-header {
  background: linear-gradient(135deg, var(--mc-navy, #0A2540), #0f2d4e) !important;
  padding: 0.75rem 1.25rem !important;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

.mc-legacy-page #checkout .delivery-option,
.mc-legacy-page #checkout label.delivery-option {
  border-radius: 14px !important;
  border: 2px solid #e5e7eb !important;
  background: #fff !important;
}

.mc-legacy-page #checkout .delivery-option.active,
.mc-legacy-page #checkout label.delivery-option.active,
.mc-legacy-page #checkout #label-delivery.active,
.mc-legacy-page #checkout #label-pickup.active {
  border-color: var(--mc-accent, #689D0F) !important;
  background: #f0fdf4 !important;
}

.mc-legacy-page #checkout .delivery-option i,
.mc-legacy-page #checkout .delivery-option span,
.mc-legacy-page #checkout #label-delivery i,
.mc-legacy-page #checkout #label-delivery span,
.mc-legacy-page #checkout #text-delivery,
.mc-legacy-page #checkout [style*="2563eb"],
.mc-legacy-page #checkout [style*="eff6ff"] {
  color: var(--mc-accent, #689D0F) !important;
}

.mc-legacy-page #checkout label.delivery-option.active,
.mc-legacy-page #checkout #label-delivery[style*="eff6ff"],
.mc-legacy-page #checkout #label-pickup[style*="eff6ff"] {
  background-color: #f0fdf4 !important;
  border-color: var(--mc-accent, #689D0F) !important;
}

.mc-legacy-page #checkout .coupon-section .input-group .btn-primary,
.mc-legacy-page #checkout .summary-coupon-inline__btn {
  background: var(--mc-accent, #689D0F) !important;
  border-color: var(--mc-accent-dark, #5a8a0c) !important;
}

.mc-legacy-page #checkout .coupon-text-blue,
.mc-legacy-page #checkout [style*="color: #2563eb"] {
  color: var(--mc-accent, #689D0F) !important;
}

.mc-legacy-page #checkout .payment-method-card.selected,
.mc-legacy-page #checkout .payment-option.active {
  border-color: var(--mc-accent, #689D0F) !important;
  box-shadow: 0 0 0 3px rgba(104, 157, 15, 0.15) !important;
}

.mc-legacy-page #checkout .trust-features,
.mc-legacy-page #checkout .checkout-trust-bar {
  background: #f8faf9;
  border-radius: 16px;
  border: 1px solid #e8ecef;
  margin-top: 2rem;
  padding: 1.5rem;
}

.mc-legacy-page #checkout {
  --accent-color: #689D0F;
  --heading-color: #0A2540;
  --surface-color: #ffffff;
  --default-color: #334155;
}

.mc-legacy-page #checkout .checkout-cart,
.mc-legacy-page #checkout .checkout-form,
.mc-legacy-page #checkout .order-summary {
  background: #fff !important;
  border: 1px solid #dde3e8 !important;
  border-radius: 20px !important;
  box-shadow: 0 8px 32px rgba(10, 37, 64, 0.08) !important;
  padding: 0 !important;
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.mc-legacy-page #checkout .checkout-form {
  padding: 1.5rem !important;
}

.mc-legacy-page #checkout .order-summary {
  padding: 1.35rem !important;
}

.mc-legacy-page #checkout .checkout-form .form-section-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--mc-navy, #0A2540);
  padding-bottom: 0.85rem;
  margin-bottom: 1.25rem;
  border-bottom: 2px solid #e8ecef;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mc-legacy-page #checkout .checkout-form .form-section-title i {
  color: var(--mc-accent, #689D0F);
  font-size: 1.25rem;
}

.mc-legacy-page #checkout .modern-form .form-label {
  font-weight: 600;
  font-size: 0.875rem;
  color: #334155;
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.mc-legacy-page #checkout .modern-form .form-control,
.mc-legacy-page #checkout .modern-form .form-select,
.mc-legacy-page #checkout .modern-form textarea.form-control {
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 12px !important;
  padding: 0.7rem 1rem !important;
  font-size: 0.95rem !important;
  background: #fff !important;
  color: #0f172a !important;
  min-height: 46px;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.mc-legacy-page #checkout .modern-form .form-control:focus,
.mc-legacy-page #checkout .modern-form .form-select:focus,
.mc-legacy-page #checkout .modern-form textarea.form-control:focus {
  border-color: var(--mc-accent, #689D0F) !important;
  box-shadow: 0 0 0 4px rgba(104, 157, 15, 0.15) !important;
  outline: none !important;
}

.mc-legacy-page #checkout .modern-form .form-control::placeholder {
  color: #94a3b8;
}

.mc-legacy-page #checkout .cart-header h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--mc-navy, #0A2540);
  margin: 0;
}

.mc-legacy-page #checkout .cart-header {
  background: #f8faf9;
}

.mc-legacy-page #checkout .store-card {
  border: 1px solid #e8ecef;
  border-radius: 14px;
  overflow: hidden;
  margin: 1rem 1.25rem;
}

.mc-legacy-page #checkout .cart-item {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #f1f5f9;
}

.mc-legacy-page #checkout .order-summary .summary-total {
  background: #f0fdf4;
  border-radius: 14px;
  padding: 1rem 1.15rem;
  margin-top: 0.5rem;
}

.mc-legacy-page #checkout .order-summary .summary-item {
  padding: 0.35rem 0;
  font-size: 0.9rem;
  color: #475569;
}

.mc-legacy-page #checkout .order-summary .summary-item i {
  color: var(--mc-accent, #689D0F);
  margin-right: 4px;
}

.mc-legacy-page #checkout .coupon-section {
  background: #f8faf9 !important;
  border: 1px dashed #cbd5e1 !important;
  border-radius: 14px !important;
  padding: 1rem !important;
}

.mc-legacy-page #checkout .summary-coupon-inline__input,
.mc-legacy-page #checkout .coupon-section .form-control {
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 10px !important;
}

.mc-legacy-page #checkout .payment-methods .payment-option,
.mc-legacy-page #checkout .payment-method-card {
  border: 2px solid #e2e8f0 !important;
  border-radius: 14px !important;
  padding: 1rem !important;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.mc-legacy-page #checkout #map,
.mc-legacy-page #checkout #checkout-map {
  border: 1px solid #dde3e8;
  border-radius: 14px;
  overflow: hidden;
  min-height: 280px;
}

.mc-legacy-page #checkout .checkout-trust-bar,
.mc-legacy-page #checkout .trust-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
}

.mc-legacy-page #checkout .checkout-trust-bar > div,
.mc-legacy-page #checkout .trust-features > div {
  text-align: center;
  padding: 0.75rem;
}

.mc-legacy-page #checkout .checkout-trust-bar i,
.mc-legacy-page #checkout .trust-features i {
  font-size: 1.5rem;
  color: var(--mc-accent, #689D0F);
  display: block;
  margin-bottom: 0.35rem;
}

/* Sidebar checkout — garantías, entrega, soporte */
.mc-legacy-page #checkout .mc-checkout-aside {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mc-legacy-page #checkout .mc-trust-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #f8faf9;
  border: 1px solid #e2e8e6;
  border-radius: 16px;
  padding: 14px;
}

.mc-legacy-page #checkout .mc-trust-list__item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mc-legacy-page #checkout .mc-trust-list__icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e2ebe8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--mc-accent, #689D0F);
  font-size: 1.15rem;
}

.mc-legacy-page #checkout .mc-trust-list__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.25;
}

.mc-legacy-page #checkout .mc-trust-list__text strong {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--mc-navy, #0A2540);
}

.mc-legacy-page #checkout .mc-trust-list__text small {
  font-size: 0.75rem;
  color: #64748b;
}

.mc-legacy-page #checkout .mc-delivery-card {
  border: 1px solid #d4e8d0;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(160deg, #f0fdf4 0%, #fff 55%);
  box-shadow: 0 4px 20px rgba(104, 157, 15, 0.08);
}

.mc-legacy-page #checkout .mc-delivery-card__header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: rgba(104, 157, 15, 0.1);
  border-bottom: 1px solid #d4e8d0;
}

.mc-legacy-page #checkout .mc-delivery-card__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--mc-accent, #689D0F);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.mc-legacy-page #checkout .mc-delivery-card__title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--mc-navy, #0A2540);
  letter-spacing: -0.02em;
}

.mc-legacy-page #checkout .mc-delivery-card__body {
  padding: 16px;
}

.mc-legacy-page #checkout .mc-delivery-card__label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
  margin-bottom: 6px;
}

.mc-legacy-page #checkout .mc-delivery-card__date {
  margin: 0 0 12px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--mc-navy, #0A2540);
  line-height: 1.35;
  text-transform: capitalize;
}

.mc-legacy-page #checkout .mc-delivery-card__note {
  margin: 0;
  padding: 10px 12px;
  font-size: 0.8rem;
  color: #475569;
  background: #fff;
  border-radius: 10px;
  border: 1px solid #e8ecef;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.45;
}

.mc-legacy-page #checkout .mc-delivery-card__note i {
  color: var(--mc-accent, #689D0F);
  margin-top: 2px;
  flex-shrink: 0;
}

.mc-legacy-page #checkout .mc-support-card {
  background: #fff;
  border: 1px solid #e2e8e6;
  border-radius: 16px;
  padding: 16px;
}

.mc-legacy-page #checkout .mc-support-card__title {
  margin: 0 0 12px;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--mc-navy, #0A2540);
  display: flex;
  align-items: center;
}

.mc-legacy-page #checkout .mc-support-card__title i {
  color: var(--mc-accent, #689D0F);
}

.mc-legacy-page #checkout .mc-support-card__link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  margin-bottom: 8px;
  border-radius: 12px;
  text-decoration: none;
  color: #334155;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid #e8ecef;
  background: #f8faf9;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.mc-legacy-page #checkout .mc-support-card__link:last-child {
  margin-bottom: 0;
}

.mc-legacy-page #checkout .mc-support-card__link:hover {
  border-color: var(--mc-accent, #689D0F);
  background: #f0fdf4;
  color: var(--mc-accent-dark, #5a8a0c);
}

.mc-legacy-page #checkout .mc-support-card__link-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #e2ebe8;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mc-accent, #689D0F);
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* Aviso retiro en múltiples tiendas */
.mc-legacy-page #checkout .mc-pickup-notice {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-top: 14px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid #d4e8d0;
  background: linear-gradient(135deg, #f8faf9 0%, #f0fdf4 100%);
  box-shadow: 0 4px 16px rgba(10, 37, 64, 0.05);
}

.mc-legacy-page #checkout .mc-pickup-notice[hidden] {
  display: none !important;
}

.mc-legacy-page #checkout .mc-pickup-notice__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--mc-accent, #689D0F);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(104, 157, 15, 0.25);
}

.mc-legacy-page #checkout .mc-pickup-notice__content {
  flex: 1;
  min-width: 0;
}

.mc-legacy-page #checkout .mc-pickup-notice__title {
  margin: 0 0 6px;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--mc-navy, #0A2540);
  letter-spacing: -0.02em;
}

.mc-legacy-page #checkout .mc-pickup-notice__text {
  margin: 0 0 10px;
  font-size: 0.875rem;
  color: #475569;
  line-height: 1.45;
}

.mc-legacy-page #checkout .mc-pickup-notice__text strong {
  color: var(--mc-navy, #0A2540);
  font-weight: 700;
}

.mc-legacy-page #checkout .mc-pickup-notice__stores {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mc-legacy-page #checkout .mc-pickup-notice__stores li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: #fff;
  border: 1px solid #e2e8e6;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
}

.mc-legacy-page #checkout .mc-pickup-notice__stores li i {
  color: var(--mc-accent, #689D0F);
  font-size: 0.9rem;
  flex-shrink: 0;
}

@media (max-width: 575px) {
  .mc-legacy-page #checkout .mc-pickup-notice {
    flex-direction: column;
    align-items: stretch;
  }

  .mc-legacy-page #checkout .mc-pickup-notice__icon {
    width: 40px;
    height: 40px;
  }
}

.mc-legacy-page .mc-site-footer {
  margin-top: 48px;
}

/* Mapa: línea de ruta menos “azul legacy” */
.mc-legacy-page #checkout .leaflet-interactive[stroke="#2563eb"],
.mc-legacy-page #checkout path[stroke="#2563eb"] {
  stroke: var(--mc-accent, #689D0F) !important;
}

@media (max-width: 991px) {
  .mc-legacy-page #checkout .order-summary.sticky-summary {
    position: static !important;
    margin-top: 0;
  }
}

@media (max-width: 767px) {
  .mc-legacy-page .mc-product-panel {
    padding: 1rem;
  }

  .mc-legacy-page #checkout .cart-header h3 {
    font-size: 1.1rem;
  }

  .mc-legacy-page #checkout .checkout-form,
  .mc-legacy-page #checkout .checkout-cart,
  .mc-legacy-page #checkout .order-summary {
    border-radius: 16px !important;
  }

  .mc-legacy-page #product-detail .d-flex.flex-wrap.gap-2 {
    flex-direction: column;
  }

  .mc-legacy-page #product-detail .mc-btn-cart,
  .mc-legacy-page #product-detail .mc-btn-checkout {
    width: 100%;
  }
}
