/* Compra online: suma controles al catálogo conservando su identidad visual. */
.cart-trigger { gap: 8px; min-height: 46px; padding: 8px 13px; white-space: nowrap; }
.cart-count { display: inline-grid; min-width: 23px; height: 23px; place-items: center; padding-inline: 5px; border-radius: 50%; background: var(--yellow); color: var(--ink); font-size: .74rem; font-weight: 800; }
.cart-dialog { width: min(760px, calc(100% - 28px)); max-height: min(850px, calc(100vh - 28px)); padding: 0; overflow: auto; border: 0; border-radius: 28px; background: var(--paper); color: var(--ink); box-shadow: var(--shadow-lg); }
.cart-dialog::backdrop { background: rgba(11, 28, 22, .62); backdrop-filter: blur(5px); }
.cart-panel { position: relative; min-height: 330px; padding: clamp(24px, 5vw, 44px); }
.cart-close { position: absolute; z-index: 3; top: 15px; right: 15px; display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--ink); font-size: 1.65rem; line-height: 1; cursor: pointer; }
.cart-close:hover { border-color: var(--green); background: var(--surface-strong); }
.cart-title-row { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding-right: 46px; }
.cart-title-row h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.cart-title-row p { color: var(--ink-soft); font-size: .9rem; }
.cart-intro { margin-top: 9px; color: var(--ink-soft); }
.cart-items { margin: 22px 0; }
.cart-item { display: grid; grid-template-columns: 78px minmax(0, 1fr) auto; align-items: center; gap: 15px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-item-image { width: 78px; height: 78px; padding: 5px; border-radius: 14px; background: var(--surface); object-fit: contain; }
.cart-item h3 { font-size: .98rem; }
.cart-item p { margin-top: 4px; color: var(--ink-soft); font-size: .82rem; }
.cart-item-price { min-width: 92px; text-align: right; font-weight: 800; font-variant-numeric: tabular-nums; }
.cart-quantity { display: flex; align-items: center; gap: 7px; margin-top: 9px; }
.cart-quantity button { display: grid; width: 32px; height: 32px; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: white; color: var(--green-dark); font-weight: 800; cursor: pointer; }
.cart-quantity button:hover { border-color: var(--green); background: var(--surface-strong); }
.cart-quantity span { min-width: 20px; text-align: center; font-weight: 700; }
.cart-remove { width: auto!important; padding: 0 8px; border-color: transparent!important; background: transparent!important; color: var(--ink-soft)!important; font-size: .78rem; text-decoration: underline; }
.cart-total { display: flex; justify-content: space-between; gap: 18px; padding: 17px 0; border-top: 2px solid var(--line); font-size: 1.05rem; font-weight: 800; }
.cart-warning { margin: 14px 0 20px; padding: 13px 15px; border: 1px solid rgba(239,184,0,.34); border-radius: 14px; background: var(--yellow-soft); color: var(--ink); font-size: .86rem; }
.cart-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cart-actions .button { flex: 1 1 190px; }
.cart-empty { padding: 35px 0 8px; text-align: center; }
.cart-empty-mark { display: grid; width: 58px; height: 58px; place-items: center; margin: 0 auto 14px; border-radius: 50%; background: var(--surface-strong); color: var(--green); font-size: 1.55rem; }
.cart-empty p { margin: 8px 0 20px; color: var(--ink-soft); }
.checkout-form { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; margin: 22px 0 0; }
.checkout-form label { display: grid; gap: 5px; color: var(--ink-soft); font-size: .82rem; font-weight: 700; }
.checkout-form .field-wide { grid-column: 1 / -1; }
.checkout-form input, .checkout-form select { width: 100%; min-height: 45px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 12px; background: white; color: var(--ink); }
.checkout-form input:focus, .checkout-form select:focus { border-color: var(--green); outline: 3px solid rgba(23,123,82,.12); }
.checkout-form .field-help { color: var(--ink-soft); font-size: .78rem; font-weight: 500; }
.delivery-choice { display: grid; gap: 8px; margin: 5px 0 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.delivery-choice legend { padding: 0 5px; color: var(--ink); font-weight: 800; }
.delivery-choice label { display: flex; align-items: flex-start; gap: 9px; padding: 7px 0; color: var(--ink-soft); font-weight: 600; }
.delivery-choice input { width: 17px; min-height: 17px; margin: 2px 0 0; accent-color: var(--green); }
.checkout-notice { grid-column: 1 / -1; margin: 3px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--surface-strong); color: var(--ink-soft); font-size: .82rem; }
.payment-options-preview { margin: 18px 0; }
.payment-options-preview h3 { margin-bottom: 8px; font-size: 1.1rem; }
.payment-options-preview > p { margin-bottom: 10px; color: var(--ink-soft); font-size: .9rem; }
.payment-option-preview { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 13px 14px; border-bottom: 1px solid var(--line); background: linear-gradient(90deg, var(--surface), rgba(255,255,255,.65)); }
.payment-option-preview strong { color: var(--green-dark); font-size: .86rem; text-align: right; }
.payment-button:disabled { border-color: var(--line); background: #edf1ee; color: #6c7b72; box-shadow: none; cursor: not-allowed; }
.cart-back { margin-top: 17px; padding: 5px 0; border: 0; background: transparent; color: var(--green-dark); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.dialog-purchase-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.dialog-purchase-actions .button { width: 100%; }
.dialog-purchase:disabled,.add-to-cart-button:disabled { opacity: .55; box-shadow: none; cursor: not-allowed; transform: none; }
.catalog-content .add-to-cart-button { min-height: 42px; }

@media (max-width: 960px) {
  .header-actions { display: flex; margin-left: 0; }
  .header-actions > :not(.cart-trigger) { display: none; }
  .header-actions .cart-trigger { min-height: 42px; padding: 7px 10px; font-size: .84rem; }
}
@media (min-width: 961px) and (max-width: 1120px) {
  .header-inner { gap: 14px; }
  .main-nav { gap: 14px; }
  .header-actions { gap: 6px; }
  .header-actions .button { padding-inline: 12px; font-size: .84rem; }
  .cart-trigger { gap: 6px; }
}
@media (max-width: 680px) {
  .header-actions .cart-trigger { min-height: 40px; padding: 6px 9px; font-size: .76rem; }
  .cart-dialog { width: calc(100% - 16px); max-height: calc(100vh - 16px); border-radius: 22px; }
  .cart-panel { padding: 26px 18px 22px; }
  .cart-close { top: 10px; right: 10px; width: 38px; height: 38px; }
  .cart-title-row { display: block; }
  .cart-title-row p { margin-top: 5px; }
  .cart-item { grid-template-columns: 62px minmax(0,1fr); gap: 10px; }
  .cart-item-image { width: 62px; height: 62px; }
  .cart-item-price { grid-column: 2; min-width: 0; text-align: left; }
  .checkout-form { grid-template-columns: 1fr; gap: 10px; }
  .checkout-form .field-wide { grid-column: auto; }
  .cart-actions { flex-direction: column; }
  /* En columna, la base de 190px se aplicaba al alto y los botones quedaban gigantes. */
  .cart-actions .button { width: 100%; flex: 0 0 auto; }
  .dialog-purchase-actions { grid-template-columns: 1fr; gap: 8px; }
}

/* Cuotas, precio sin impuestos nacionales y ventana «Medios de pago» (payments.js) */
.price-extras:empty { display: none; }
.price-extras { display: grid; gap: 2px; margin: 4px 0 10px; }
.price-extras p { margin: 0; }
.price-installments { color: var(--green-dark); font-size: .86rem; }
.price-net { color: var(--ink-soft); font-size: .76rem; }
.payment-plans-link { justify-self: start; margin-top: 6px; padding: 8px 0; border: 0; background: none; color: var(--green-dark); font: inherit; font-size: .92rem; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.payment-plans-dialog { width: min(560px, calc(100% - 24px)); max-height: min(760px, calc(100vh - 24px)); padding: 0; border: 0; border-radius: 24px; background: var(--paper); color: var(--ink); box-shadow: var(--shadow-lg); }
.payment-plans-dialog::backdrop { background: rgba(11, 28, 22, .55); }
.plans-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 22px 12px; border-bottom: 1px solid var(--line); }
.plans-header h2 { margin: 0; font-family: "Manrope", sans-serif; font-size: 1.3rem; }
.plans-close { display: grid; width: 42px; height: 42px; place-items: center; border: 0; border-radius: 50%; background: var(--surface); color: var(--ink); font-size: 1.6rem; cursor: pointer; }
.plans-price { margin: 14px 22px 0; color: var(--ink-soft); }
.plans-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin: 14px 22px; padding: 4px; border-radius: 14px; background: var(--surface-strong); }
.plans-tabs button { min-height: 44px; border: 0; border-radius: 11px; background: transparent; color: var(--ink-soft); font: inherit; font-weight: 700; cursor: pointer; }
.plans-tabs button[aria-selected="true"] { background: var(--green); color: #fff; }
.plans-body { padding: 0 22px; }
.plans-group { padding: 10px 0; border-bottom: 1px solid var(--line); }
.plans-group h3 { margin: 0 0 6px; font-size: 1rem; }
.plans-row { display: flex; justify-content: space-between; gap: 14px; padding: 8px 0; }
.plans-row small { display: block; color: var(--ink-soft); font-size: .8rem; }
.plans-amount { display: grid; text-align: right; white-space: nowrap; }
.plans-amount span { color: var(--green-dark); font-weight: 700; }
.plans-amount b { color: var(--ink-soft); font-size: .84rem; font-weight: 600; }
.plans-empty { color: var(--ink-soft); }
.plans-legal { margin: 14px 22px 20px; color: var(--ink-soft); font-size: .78rem; }
@media (max-width: 640px) {
  .plans-row { flex-direction: column; gap: 2px; }
  .plans-amount { text-align: left; }
}

/* Banner de campaña (marketing.js) */
.campaign-banner { background: #111a16; color: #fff; }
.campaign-inner { display: flex; align-items: center; gap: 14px 22px; flex-wrap: wrap; justify-content: space-between; padding-top: 10px; padding-bottom: 10px; }
.campaign-copy { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.campaign-copy strong { font-family: "Manrope", sans-serif; font-size: 1.05rem; letter-spacing: .01em; color: var(--yellow); }
.campaign-copy span { font-size: .88rem; color: rgba(255,255,255,.86); }
.campaign-countdown { display: flex; gap: 6px; }
.campaign-countdown span { display: flex; flex-direction: column; align-items: center; min-width: 46px; padding: 4px 6px; border-radius: 10px; background: rgba(255,255,255,.1); font-size: .66rem; text-transform: uppercase; letter-spacing: .04em; color: rgba(255,255,255,.75); }
.campaign-countdown b { font-family: "Manrope", sans-serif; font-size: 1.05rem; color: #fff; font-variant-numeric: tabular-nums; letter-spacing: 0; }
.campaign-button { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 8px 16px; border-radius: 999px; background: var(--yellow); color: #111a16; font-weight: 800; text-decoration: none; white-space: nowrap; }
.campaign-button:hover, .campaign-button:focus-visible { background: #ffd54f; }
@media (max-width: 720px) {
  .campaign-inner { gap: 8px 12px; }
  .campaign-copy { flex: 1 1 100%; }
  .campaign-countdown span { min-width: 40px; }
  .campaign-button { margin-left: auto; padding: 6px 14px; }
}

/* Últimas unidades */
.low-stock { display: inline-block; margin: -6px 0 12px; padding: 3px 9px; border-radius: 999px; background: var(--coral-soft); color: #b13a22; font-size: .74rem; font-weight: 800; }
.low-stock-detail { margin: -8px 0 14px; font-size: .82rem; }

/* Compartir producto */
.share-product { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 40px; margin-top: 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--ink); font: inherit; font-size: .88rem; font-weight: 700; cursor: pointer; }
.share-product:hover, .share-product:focus-visible { border-color: var(--green); color: var(--green-dark); }
.share-product svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

/* Header: carrito como icono destacado y sin desborde horizontal (16/11) */
.site-header .container { width: min(calc(100% - 40px), 1440px); }
.header-inner { min-width: 0; gap: 18px; }
.main-nav { min-width: 0; gap: 20px; }
.cart-trigger { position: relative; width: 52px; min-height: 48px; padding: 0; border: 0; background: var(--yellow); color: var(--ink); box-shadow: 0 7px 20px rgba(214, 154, 0, .28); }
.cart-trigger:hover { background: #ffb800; box-shadow: 0 10px 24px rgba(214, 154, 0, .36); }
.cart-trigger .cart-icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cart-trigger .cart-count { position: absolute; top: -6px; right: -6px; min-width: 22px; height: 22px; padding-inline: 5px; border: 2px solid #fff; border-radius: 999px; background: var(--green-dark); color: #fff; font-size: .7rem; line-height: 1; }
@media (min-width: 961px) and (max-width: 1440px) {
  .header-inner { gap: 16px; }
  .main-nav { gap: 16px; }
  .main-nav a { font-size: .93rem; }
  .header-actions { gap: 8px; }
}
@media (min-width: 961px) and (max-width: 1340px) {
  .header-location { width: 48px; padding: 0; }
  .header-location-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (min-width: 961px) and (max-width: 1120px) {
  .main-nav { gap: 12px; }
  .main-nav a { font-size: .86rem; }
  .header-actions .header-cta { padding-inline: 12px; }
}
@media (max-width: 960px) {
  .header-actions .cart-trigger { width: 46px; min-height: 42px; padding: 0; font-size: inherit; }
}
@media (max-width: 680px) {
  .header-actions .cart-trigger { width: 44px; min-height: 40px; padding: 0; }
  .cart-trigger .cart-icon { width: 21px; height: 21px; }
}

/* Tarjetas de producto más compactas en escritorio y tablet; la foto conserva su tamaño (16/11) */
@media (min-width: 681px) {
  .product-card-body, .catalog-content .product-card-body { padding: 13px 15px 15px; }
  .product-card-body h3, .catalog-content .product-card-body h3 { min-height: 2.5em; font-size: .96rem; }
  .product-description, .catalog-content .product-description { height: 2.8em; min-height: 2.8em; margin-top: 5px; font-size: .82rem; line-height: 1.4; -webkit-line-clamp: 2; }
  .product-price { margin: 8px auto 2px; gap: 6px; }
  .product-price strong { font-size: 1.22rem; }
  .product-card .price-extras { gap: 0; margin: 0 0 2px; text-align: center; }
  .product-card .price-installments { font-size: .8rem; }
  .product-card .price-net { font-size: .7rem; }
  .product-actions, .catalog-content .product-actions { grid-template-columns: auto 1fr; gap: 7px; padding-top: 10px; }
  .product-actions .button, .catalog-content .product-actions .button, .catalog-content .add-to-cart-button { min-height: 40px; padding: 8px 13px; font-size: .84rem; }
}

/* Tarjetas alineadas entre sí: precio en una línea, extras con alto fijo y «Últimas unidades» siempre sobre los botones (16/11) */
.product-card .low-stock { align-self: center; margin: auto 0 0; }
.product-card .low-stock + .product-actions { margin-top: 0; }
@media (min-width: 681px) {
  .product-card .product-price { min-height: 2rem; flex-wrap: nowrap; align-items: baseline; margin: 8px auto 4px; white-space: nowrap; }
  .product-card .product-price span { display: none; }
  .product-card .price-extras { margin: 0; }
  .product-card .price-installments { min-height: 2.6em; line-height: 1.3; }
  .product-card .price-net { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}
/* ---- Franja de beneficios (shop-extras.js) ---- */
/* Queda fija arriba junto con el encabezado y corre hacia la derecha sin cortes. */
:root { --benefits-h: 36px; }
.benefits-bar { position: sticky; top: 0; z-index: 51; height: var(--benefits-h); overflow: hidden; background: var(--green-dark); color: #fff; font-size: .8rem; font-weight: 700; }
.benefits-bar + .site-header { top: var(--benefits-h); }
html:has(.benefits-bar) { scroll-padding-top: calc(108px + var(--benefits-h)); }
.benefits-track { display: flex; width: max-content; height: 100%; align-items: center; animation: benefits-run 45s linear infinite; }
.benefits-bar:hover .benefits-track { animation-play-state: paused; }
.benefits-half, .benefits-group { display: flex; flex: none; align-items: center; }
.benefits-group { gap: 48px; padding-right: 48px; }
.benefits-track.is-static { width: auto; justify-content: center; animation: none; }
.benefits-track.is-static .benefits-group { flex-wrap: nowrap; gap: 28px; padding: 0 16px; overflow: hidden; }
@keyframes benefits-run { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.benefit { display: flex; align-items: center; gap: 7px; margin: 0; white-space: nowrap; }
.benefit svg, .ship-line svg, .ship-calc svg, .trust-seals svg { width: 17px; height: 17px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 680px) {
  html:has(.benefits-bar) { scroll-padding-top: calc(82px + var(--benefits-h)); }
  .benefits-track { animation-duration: 30s; }
}

/* ---- Etiquetas sobre la foto ---- */
.badge-stack { position: absolute; z-index: 2; left: 14px; top: 14px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; max-width: calc(100% - 110px); }
.badge-stack .badge { position: static; }
.badge-tag { background: #fff; color: var(--ink); box-shadow: 0 4px 12px rgba(17, 40, 30, .12); }
.badge-nuevo { background: var(--blue); color: #fff; }
.badge-mas-vendido { background: var(--yellow); color: var(--ink); }
.badge-envio-san-rafael { background: #fff; color: var(--green-dark); border: 1px solid rgba(23, 123, 82, .25); }
.badge-campaign { display: none; background: #111a16; color: var(--yellow); }
body.has-campaign .badge-campaign { display: inline-block; }
@media (max-width: 680px) { .badge-stack { left: 8px; top: 8px; gap: 4px; max-width: calc(100% - 72px); } }

/* ---- Calculá tu envío (detalle) ---- */
.shipping-estimate:empty { display: none; }
.shipping-estimate { min-width: 0; display: grid; gap: 8px; margin: 14px 0 4px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); font-size: .86rem; }
.ship-line { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--ink-soft); }
.ship-line strong { color: var(--ink); }
.ship-calc { min-width: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 8px 10px; }
.ship-calc label { display: flex; align-items: center; gap: 8px; color: var(--ink); }
.ship-calc select { width: 100%; min-width: 0; min-height: 40px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); font: inherit; }
.ship-result { grid-column: 1 / -1; margin: 0; color: var(--ink-soft); }
.ship-result:empty { display: none; }
.ship-result strong { color: var(--green-dark); }
@media (max-width: 680px) { .ship-calc { grid-template-columns: 1fr; } .ship-calc select { font-size: 16px; } }

/* ---- Medios de pago ---- */
.pay-logos-title { margin: 0 0 8px; font-size: .78rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.pay-logos ul { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.pay-chip { padding: 5px 10px; border-radius: 8px; background: #fff; color: #1d2a24; font-size: .74rem; font-weight: 800; line-height: 1.2; border: 1px solid var(--line); }
.brand-visa { color: #1a1f71; }
.brand-master { color: #c2410c; }
.brand-amex { color: #016fd0; }
.brand-naranja { color: #e85d04; }
.brand-cabal { color: #00548b; }
.brand-maestro { color: #0f62a6; }
.brand-mp { color: #0a7ec2; }
.brand-cash, .brand-transfer { color: var(--green-dark); }
/* Isologotipos en tarjetitas blancas de igual alto */
.pay-chip { display: inline-flex; height: 34px; min-width: 52px; align-items: center; justify-content: center; gap: 6px; padding: 0 10px; }
.pay-svg { display: block; height: 20px; width: auto; }
.pay-svg-wide { height: 13px; }
.pay-svg-square { height: 24px; }
.brand-mp .pay-svg { height: 18px; }
.pay-chip-name { font-size: .72rem; font-weight: 700; white-space: nowrap; }
.brand-mp .pay-chip-name { color: #2d3277; }
.pay-word { font-size: .9rem; font-weight: 900; letter-spacing: -.02em; }
.pay-word b { margin-left: 2px; font-weight: 900; }
.brand-naranja { color: #fe5000; }
.brand-naranja b { color: #1d1d1b; }
.brand-cabal { color: #0057a4; font-style: italic; }
.pay-more { background: transparent; color: inherit; font-weight: 600; border-style: dashed; }
.pay-logos-detail { margin-top: 14px; }
.pay-logos-detail .pay-logos-title { color: var(--ink-soft); }
.footer-pay { padding: 18px 0 4px; border-top: 1px solid rgba(255,255,255,.1); }
.footer-pay .pay-logos-title { color: rgba(255,255,255,.75); }
.footer-pay .pay-more { color: rgba(255,255,255,.8); border-color: rgba(255,255,255,.35); }

/* ---- También te puede interesar ---- */
.related-products { padding: 4px 28px 28px; }
.related-products h3 { margin: 0 0 12px; font-size: 1.05rem; }
.related-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.related-card { display: grid; gap: 6px; align-content: start; padding: 10px; border: 1px solid var(--line); border-radius: 16px; background: #fff; color: var(--ink); text-align: left; cursor: pointer; font: inherit; transition: border-color .2s ease, transform .2s ease; }
.related-card:hover { border-color: var(--green); transform: translateY(-2px); }
.related-card:focus-visible { outline: 3px solid rgba(23,123,82,.35); outline-offset: 2px; }
.related-image { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: 10px; background: #fff; }
.related-image img { width: 100%; height: 100%; object-fit: contain; }
.related-off { position: absolute; right: 6px; top: 6px; padding: 2px 7px; border-radius: 7px; background: #db4437; color: #fff; font-size: .66rem; font-weight: 800; }
.related-name { display: -webkit-box; overflow: hidden; font-size: .78rem; font-weight: 700; line-height: 1.3; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.related-card strong { font-size: .9rem; }
@media (max-width: 680px) {
  .related-products { padding: 4px 16px 20px; }
  .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* «Agregar al carrito» fijo abajo mientras se lee el detalle. */
  .dialog-purchase-actions { position: sticky; bottom: 0; z-index: 3; margin-inline: -16px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); box-shadow: 0 -8px 20px rgba(17,40,30,.08); backdrop-filter: blur(8px); }
}

/* ---- Sellos de confianza (checkout) ---- */
.trust-seals { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 16px 0 6px; padding: 0; list-style: none; }
.trust-seals li { display: flex; gap: 9px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; background: var(--surface); color: var(--ink-soft); font-size: .76rem; line-height: 1.35; }
.trust-seals svg { margin-top: 1px; color: var(--green); }
.trust-seals strong { display: block; color: var(--ink); font-size: .8rem; }
@media (max-width: 420px) { .trust-seals { grid-template-columns: 1fr; } }

/* ---- Sugerencias en el carrito ---- */
.cart-suggestions { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.cart-suggestions h3 { margin: 0 0 10px; font-size: .95rem; }
.cart-suggestion { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 8px 0; }
.cart-suggestion img, .cart-suggestion .cart-item-image { width: 52px; height: 52px; border-radius: 10px; object-fit: contain; background: #fff; border: 1px solid var(--line); }
.cart-suggestion p { margin: 0; font-size: .8rem; font-weight: 700; line-height: 1.3; }
.cart-suggestion strong { font-size: .85rem; }
.cart-suggestion .button { min-height: 38px; padding: 6px 14px; font-size: .8rem; }

/* ---- Portada: cómo comprar en 4 pasos ---- */
.steps-four { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.steps-four li { padding: 28px 24px; }
.steps-four li:not(:last-child)::after { right: -21px; width: 21px; }
.step-icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.step-icon-coral { background: var(--coral-soft); color: var(--coral); }
@media (max-width: 1100px) { .steps-four { grid-template-columns: repeat(2, minmax(0, 1fr)); } .steps-four li:not(:last-child)::after { display: none; } }
@media (max-width: 560px) { .steps-four { grid-template-columns: 1fr; } }

/* ---- Portada: nuestro local ---- */
.local-section { padding: 80px 0; }
.local-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, .8fr); gap: 22px; align-items: center; }
.local-copy h2 { margin-top: 8px; }
.local-copy > p:not(.eyebrow) { margin-top: 14px; color: var(--ink-soft); }
.local-points { display: grid; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.local-points li { position: relative; padding-left: 26px; font-weight: 700; }
.local-points li::before { content: ""; position: absolute; left: 0; top: .2em; width: 16px; height: 16px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 11px no-repeat; }
.local-photo { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); background: var(--surface); }
.local-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.local-photo-main { aspect-ratio: 4 / 3; }
.local-photo-team { aspect-ratio: 1 / 1; }
.local-photo figcaption { position: absolute; left: 12px; bottom: 12px; padding: 5px 11px; border-radius: 999px; background: rgba(255,255,255,.92); font-size: .78rem; font-weight: 800; }
@media (max-width: 1000px) { .local-grid { grid-template-columns: 1fr 1fr; } .local-copy { grid-column: 1 / -1; } }
@media (max-width: 560px) { .local-section { padding: 56px 0; } .local-grid { grid-template-columns: 1fr; } .local-photo-team { aspect-ratio: 4 / 3; } }

/* ---- Portada: opiniones reales ---- */
.reviews-section { padding: 70px 0; background: var(--surface); }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 28px; }
.review-card { display: grid; gap: 10px; align-content: start; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; }
.review-stars { color: #f4b400; letter-spacing: 2px; }
.review-card blockquote { margin: 0; color: var(--ink); }
.review-card figcaption { color: var(--ink-soft); font-size: .84rem; font-weight: 700; }
.reviews-cta { margin-top: 20px; text-align: center; }
.reviews-cta a { color: var(--green-dark); font-weight: 800; }
/* En el detalle, las etiquetas van abajo a la izquierda (arriba está el % OFF). */
.dialog-main-visual .badge-stack { top: auto; bottom: 14px; flex-direction: row; flex-wrap: wrap; max-width: calc(100% - 150px); }
@media (max-width: 680px) { .dialog-main-visual .badge-stack { bottom: 10px; left: 10px; max-width: calc(100% - 130px); } }
