/*
 * VINITO Q — UX/UI 2.0
 * Sistema mobile-first de densidad, jerarquía y componentes.
 * Se carga después de los estilos históricos para mantener esta iteración aislada.
 */

/* COMPONENTES COMPARTIDOS DE LAS PÁGINAS DE BOX */
.box-page .mp-detail-heading {
  margin-bottom: 26px;
}

.box-page .mp-detail-heading > span {
  display: block;
  margin-bottom: 8px;
  color: var(--coral);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.box-page .mp-detail-heading h3 {
  margin: 0 0 6px;
  font-size: clamp(34px, 4vw, 46px);
  line-height: .95;
}

.box-page .mp-detail-heading p {
  max-width: 52ch;
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.5;
}

.box-page .mp-detail-curiosities-block {
  overflow: hidden;
}

.box-page .mp-detail-curiosities-block summary {
  color: var(--coral);
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  list-style: none;
  text-transform: uppercase;
}

.box-page .mp-detail-curiosities-block summary::-webkit-details-marker {
  display: none;
}

.box-page .mp-detail-curiosities-block summary::after {
  content: '+';
  float: right;
  color: var(--text);
  font-size: 17px;
  font-weight: 500;
  line-height: .8;
}

.box-page .mp-detail-curiosities-block[open] summary::after {
  content: '−';
}

.box-page .mp-detail-curiosities-block ul {
  margin-top: 14px;
}

.box-page .mp-detail-bottom p span {
  display: block;
  margin-top: 3px;
  color: var(--text-soft);
  font-size: 12px;
}

.box-page .mp-detail-buy {
  min-width: 230px;
  min-height: var(--primary-cta-height, 48px);
  padding: 0 var(--primary-cta-padding, 24px);
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-radius: var(--primary-cta-radius, 999px);
  background: var(--text);
  color: var(--cream);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .2s ease, transform .2s ease;
}

.box-page .mp-detail-buy strong {
  color: inherit;
  font-size: 13px;
  white-space: nowrap;
}

.box-page .mp-detail-buy:hover,
.box-page .mp-detail-buy:focus-visible {
  background: var(--coral);
  outline: none;
  transform: translateY(-2px);
}

/* Reseñas progresivas: dos completas y el comienzo de la tercera. */
.js-motion .box-page .product-reviews__viewport {
  max-height: none;
  overflow: visible;
}

.js-motion .box-page .product-reviews__viewport::after {
  display: none;
}

.js-motion .box-page .product-reviews__viewport:not(.is-expanded) {
  position: relative;
  max-height: 680px;
  overflow: hidden;
}

.js-motion .box-page .product-reviews__viewport:not(.is-expanded)::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  height: 110px;
  display: block;
  background: linear-gradient(
    180deg,
    rgba(252, 245, 229, 0),
    rgba(252, 245, 229, .86) 62%,
    var(--cream) 100%
  );
  pointer-events: none;
}

.js-motion .box-page .product-reviews__viewport:not(.is-expanded)
  .product-review:nth-child(n + 4) {
  display: none;
}

.box-page .product-reviews__toggle {
  display: none;
}

.js-motion .box-page .product-reviews__toggle {
  display: block;
  min-width: 0;
  width: auto;
  min-height: 44px;
  margin-top: 16px;
  padding: 12px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--coral);
  font-size: 11px;
  letter-spacing: .08em;
  line-height: 1.4;
  text-align: left;
  box-shadow: none;
}

.box-page .product-reviews__toggle:hover,
.box-page .product-reviews__toggle:focus-visible {
  border: 0;
  background: transparent;
  color: var(--text);
  box-shadow: none;
}

/* Las reseñas crecen con su contenido: nunca dependen de filas de altura fija. */
.box-page .product-reviews__grid {
  grid-auto-rows: auto;
  align-items: stretch;
}

.box-page .product-review,
.box-page .product-review--wide,
.box-page .product-review--tall {
  grid-row: auto;
  min-width: 0;
  min-height: 0;
  height: auto;
}

.box-page .product-review:nth-child(3) {
  grid-column: span 12;
}

.box-page .product-review__author {
  flex-wrap: wrap;
}

.box-page .product-review__author strong,
.box-page .product-review__author span,
.box-page .product-review > p {
  min-width: 0;
  overflow-wrap: anywhere;
}

.box-page .product-review > p {
  margin: 0;
  word-break: normal;
  hyphens: auto;
}

@media (min-width: 769px) and (max-width: 980px) {
  .box-page .product-review:nth-child(3) {
    grid-column: span 6;
  }
}

@keyframes journey-mobile-indicator {
  0%,
  100% {
    transform: translateY(-2px);
  }
  50% {
    transform: translateY(2px);
  }
}

/* En layouts apilados, el conector conserva una presencia clara y contenida. */
@media (max-width: 980px) {
  .home-page .includes-flow {
    row-gap: 26px;
  }

  .home-page .journey-connector {
    --journey-accent: var(--coral);
    position: relative;
    z-index: 2;
    width: 100%;
    height: 52px;
    min-height: 52px;
    padding: 0;
    display: grid;
    place-items: center;
    overflow: hidden;
    pointer-events: none;
    animation: journey-mobile-indicator 2.2s ease-in-out infinite;
  }

  .home-page .journey-connector svg {
    display: none;
  }

  .home-page .journey-connector::before {
    content: '';
    position: absolute;
    inset: 6px auto auto 50%;
    width: 38px;
    height: 38px;
    border: 1px solid var(--journey-accent);
    border-radius: 50%;
    background: rgba(252, 245, 229, .9);
    box-shadow: 0 5px 14px rgba(31, 31, 31, .06);
    transform: translateX(-50%);
  }

  .home-page .journey-connector::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    width: 7px;
    height: 7px;
    border-right: 1.75px solid var(--journey-accent);
    border-bottom: 1.75px solid var(--journey-accent);
    transform: translateX(-50%) rotate(45deg);
  }

  .home-page .journey-connector:nth-child(2) {
    --journey-accent: var(--color-green-fresh);
  }
}

@media (max-width: 768px) {
  :root {
    --mobile-gutter: 20px;
    --mobile-section-space: 52px;
    --mobile-radius: 18px;
    --mobile-control-height: 48px;
  }

  /* BASE Y NAVEGACIÓN */
  .home-page,
  .box-page {
    -webkit-text-size-adjust: 100%;
  }

  .home-page nav,
  .box-page .mp-header {
    min-height: 64px;
    padding: 8px var(--mobile-gutter);
  }

  .home-page .nav-logo .logo-img,
  .box-page .mp-logo .logo-img {
    width: auto;
    height: 46px;
  }

  .home-page .nav-cta {
    min-height: var(--primary-cta-height, 48px);
    padding: 0 18px;
    border-radius: var(--primary-cta-radius, 12px);
  }

  .box-page .mp-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .box-page .mp-nav {
    flex-wrap: nowrap;
    gap: 0;
  }

  .box-page .mp-nav a:not(.mp-nav-cta) {
    display: none;
  }

  .box-page .mp-nav-cta {
    min-height: var(--primary-cta-height, 48px);
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    font-size: 10px !important;
  }

  /* HOME — HERO */
  .home-page .hero {
    min-height: min(700px, 82svh);
    padding: 64px var(--mobile-gutter) 26px;
    justify-content: center;
  }

  .home-page .hero-inner {
    gap: 24px;
  }

  .home-page .hero-eyebrow {
    margin-bottom: 12px;
    font-size: 9px;
    letter-spacing: .18em;
  }

  .home-page .hero-eyebrow::before {
    width: 22px;
  }

  .home-page .hero-h1 {
    max-width: 330px;
    margin-bottom: 16px;
    font-size: clamp(43px, 12.5vw, 51px);
    line-height: .92;
  }

  .home-page .hero-body {
    max-width: 34ch;
    margin-bottom: 26px;
    font-size: 14px;
    line-height: 1.48;
  }

  .home-page .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .home-page .hero-actions .btn-primary,
  .home-page .hero-actions .btn-ghost {
    min-height: var(--mobile-control-height);
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    text-align: center;
  }

  .home-page .hero-actions .btn-ghost {
    border-color: rgba(239, 105, 70, .82);
    background: rgba(252, 245, 229, .78);
    color: var(--text);
    box-shadow: 0 5px 16px rgba(31, 31, 31, .06);
  }

  .home-page .hero-actions .btn-ghost:hover,
  .home-page .hero-actions .btn-ghost:focus-visible {
    border-color: var(--coral);
    background: rgba(239, 105, 70, .16);
    color: var(--text);
  }

  .home-page .ticker-wrap {
    padding: 10px 0;
  }

  .home-page .ticker-item {
    padding: 0 20px;
    font-size: 10px;
    letter-spacing: .12em;
  }

  /* HOME — PROMESA */
  .home-page .manifesto {
    padding: var(--mobile-section-space) var(--mobile-gutter) 28px;
  }

  .home-page .manifesto-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .home-page .manifesto-content {
    order: 1;
  }

  .home-page .manifesto-photo {
    order: 2;
    width: 100%;
    height: 270px;
    min-height: 270px;
    border-radius: var(--mobile-radius);
  }

  .home-page .manifesto-photo img {
    height: 270px;
    min-height: 270px;
  }

  .home-page .manifesto-content .overline {
    margin-bottom: 10px;
    font-size: 9px;
  }

  .home-page .manifesto-content h2 {
    margin-bottom: 16px;
    font-size: clamp(42px, 12vw, 52px);
    line-height: .88;
  }

  .home-page .manifesto-intro {
    font-size: 16px;
    line-height: 1.4;
  }

  .home-page .manifesto-benefits {
    display: none;
  }

  /* HOME — QUÉ HAY EN TU BOX */
  .home-page .box-contents {
    padding: 36px var(--mobile-gutter) 56px;
  }

  .home-page .box-contents-header {
    margin-bottom: 28px;
  }

  .home-page .box-contents-overline {
    margin-bottom: 10px;
    font-size: 9px;
  }

  .home-page .box-contents-header h2 {
    margin-bottom: 12px;
    font-size: clamp(43px, 12.5vw, 52px);
  }

  .home-page .box-contents-header p {
    max-width: 30ch;
    font-size: 14px;
    line-height: 1.45;
  }

  .home-page .box-contents-layout {
    row-gap: 26px;
  }

  .home-page .box-contents-main img {
    height: 260px;
    min-height: 260px;
    border-radius: var(--mobile-radius);
    object-position: center 60%;
  }

  .home-page .box-contents-side {
    grid-template-areas:
      'bottle'
      'descriptions'
      'guides';
    row-gap: 24px;
  }

  .home-page .box-contents-side .box-contents-item {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(118px, 40%) 1fr;
    gap: 15px;
    align-items: center;
  }

  .home-page .box-contents-side .box-contents-item img {
    width: 100%;
    height: 148px;
    margin: 0;
    border-radius: 14px;
  }

  .home-page .box-contents-copy h3 {
    margin-bottom: 6px;
    font-size: 24px;
    line-height: .98;
  }

  .home-page .box-contents-copy p {
    font-size: 12px;
    line-height: 1.45;
  }

  /* HOME — PLANES */
  .home-page .planes {
    padding: var(--mobile-section-space) 16px 58px;
  }

  .home-page .section-label {
    margin-bottom: 9px;
    font-size: 9px;
  }

  .home-page .section-h2 {
    font-size: 48px;
    line-height: .88;
  }

  .home-page .section-sub {
    max-width: 30ch;
    margin-bottom: 28px;
    font-size: 13px;
    line-height: 1.45;
  }

  .home-page .planes-grid {
    gap: 16px;
  }

  .home-page .plan-card {
    padding: 18px;
    border-radius: 20px;
  }

  .home-page .plan-card.featured::before {
    top: 15px;
    right: -34px;
    font-size: 8px;
  }

  .home-page .plan-visual {
    margin: 10px 0 16px;
    border-radius: 14px;
  }

  .home-page .plan-visual img {
    height: 158px;
  }

  .home-page .plan-name {
    font-size: 43px;
  }

  .home-page .plan-desc {
    margin-bottom: 16px;
    font-size: 12px;
    line-height: 1.4;
  }

  .home-page .plan-includes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 12px;
  }

  .home-page .plan-includes-title {
    grid-column: 1 / -1;
    margin-bottom: 3px;
  }

  .home-page .plan-item {
    min-width: 0;
    padding: 8px 0;
    gap: 6px;
    font-size: 11px;
    line-height: 1.35;
  }

  .home-page .pi-icon {
    flex: 0 0 auto;
  }

  .home-page .plan-card button {
    min-height: var(--mobile-control-height);
    margin-top: 16px;
    padding: 0 18px;
    font-size: 10px;
  }

  /* HOME — EXPERIENCIA, SECUENCIA RÁPIDA */
  .home-page .includes {
    padding: var(--mobile-section-space) 0 56px;
  }

  .home-page .journey-transition {
    width: calc(100% - 36px);
  }

  .home-page .journey-transition span {
    max-width: none;
    font-size: 8px;
    white-space: nowrap;
  }

  .home-page .includes-flow {
    width: calc(100% - 36px);
    margin-top: 34px;
    row-gap: 19px;
  }

  .home-page .journey-step__eyebrow {
    min-height: 0;
    margin-bottom: 9px;
    flex-direction: row;
    align-items: baseline;
    gap: 8px;
  }

  .home-page .journey-step__phase {
    font-size: 21px;
  }

  .home-page .journey-step__media {
    height: 210px;
    aspect-ratio: auto;
    border-radius: var(--mobile-radius);
  }

  .home-page .journey-step__copy {
    padding-top: 9px;
  }

  .home-page .journey-step__copy p {
    max-width: none;
    font-size: 13px;
    line-height: 1.42;
  }

  /* HOME — QUIÉNES, NEWSLETTER Y FOOTER */
  .home-page .quienes,
  .home-page .lanzamiento {
    padding: var(--mobile-section-space) var(--mobile-gutter);
  }

  .home-page .quienes-layout {
    gap: 24px;
  }

  .home-page .quienes-content,
  .home-page .quienes-content .section-label,
  .home-page .quienes-content .section-h2,
  .home-page .quienes-text {
    text-align: left;
  }

  .home-page .quienes-content .section-h2 {
    margin-bottom: 18px;
    font-size: 50px;
  }

  .home-page .quienes-text {
    font-size: 14px;
    line-height: 1.48;
  }

  .home-page .quienes-photo {
    max-width: none;
  }

  .home-page .quienes-photo img {
    height: 300px;
    aspect-ratio: auto;
    border-radius: var(--mobile-radius);
  }

  .home-page .quienes-photo figcaption {
    margin-top: 8px;
    font-size: 9px;
  }

  .home-page .launch-grid {
    margin-top: 28px;
  }

  .home-page .launch-card-newsletter {
    gap: 18px;
    padding: 20px;
    border-radius: 18px;
  }

  .home-page .launch-title-newsletter {
    font-size: 25px;
  }

  .home-page .launch-desc-newsletter {
    font-size: 13px;
    line-height: 1.45;
  }

  .home-page .launch-email-full,
  .home-page .launch-submit-full {
    min-height: 50px;
    font-size: 14px;
  }

  .home-page footer {
    padding: 32px var(--mobile-gutter) 24px;
  }

  .home-page .footer-top {
    gap: 26px;
  }

  .home-page .footer-lead {
    font-size: 13px;
    line-height: 1.5;
  }

  .home-page .footer-nav-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .home-page .footer-nav-col {
    gap: 8px;
  }

  .home-page .footer-social-link {
    width: 44px;
    height: 44px;
  }

  /* PÁGINAS DE BOX — HERO */
  .box-page .mp-hero {
    min-height: min(650px, 76svh);
    padding: 88px var(--mobile-gutter) 42px;
    justify-content: flex-end;
  }

  .box-page .mp-overline {
    margin-bottom: 12px;
    font-size: 9px;
    letter-spacing: .18em;
  }

  .box-page .mp-overline::before {
    width: 22px;
  }

  .box-page .mp-hero h1 {
    max-width: 370px;
    margin-bottom: 16px;
    font-size: clamp(52px, 15vw, 64px);
    line-height: .86;
  }

  .box-page .mp-hero p {
    max-width: 36ch;
    margin-bottom: 26px;
    font-size: 15px;
    line-height: 1.45;
  }

  .box-page .mp-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .box-page .mp-hero-actions .mp-btn {
    width: 100%;
    min-height: var(--mobile-control-height);
    padding: 0 10px;
    font-size: 9px;
    text-align: center;
  }

  .box-page .mp-hero-actions .mp-btn-ghost {
    border: 1.5px solid var(--coral);
    background: rgba(239, 105, 70, .14);
    color: var(--text);
    box-shadow: 0 5px 16px rgba(31, 31, 31, .08);
  }

  .box-page .mp-hero-actions .mp-btn-ghost:hover,
  .box-page .mp-hero-actions .mp-btn-ghost:focus-visible {
    border-color: var(--coral);
    background: rgba(239, 105, 70, .24);
    color: var(--text);
    box-shadow: 0 7px 18px rgba(31, 31, 31, .1);
  }

  /* PÁGINAS DE BOX — SELECTOR HORIZONTAL */
  .box-page .mp-wines {
    padding: 42px var(--mobile-gutter) 10px;
  }

  .box-page .mp-section-head {
    margin-bottom: 10px;
  }

  .box-page .mp-section-head .mp-overline {
    margin-bottom: 7px;
  }

  .box-page .mp-section-head h2 {
    font-size: 34px;
  }

  .box-page .mp-wine-grid {
    width: calc(100% + (var(--mobile-gutter) * 2));
    max-width: none;
    margin: 4px calc(var(--mobile-gutter) * -1) 0;
    padding: 4px var(--mobile-gutter) 10px;
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-padding-inline: var(--mobile-gutter);
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .box-page .mp-wine-grid::-webkit-scrollbar {
    display: none;
  }

  .box-page .mp-wine-card {
    flex: 0 0 auto;
    max-width: 78vw;
    min-height: 40px;
    padding: 0 14px;
    scroll-snap-align: start;
    white-space: nowrap;
  }

  .box-page .mp-wine-card strong {
    overflow: hidden;
    color: var(--text);
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  /* PÁGINAS DE BOX — FICHA DEL VINO */
  .box-page .mp-detail-section {
    margin-top: 0;
    padding: 8px 14px 38px;
  }

  .box-page .mp-detail-card {
    margin-top: 0;
    border-radius: 20px;
    box-shadow: 0 10px 28px rgba(31, 31, 31, .06);
  }

  .box-page .mp-detail-left {
    min-height: 0;
    padding: 8px;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(
      145deg,
      #F8F0E5 0%,
      #F5EBDD 52%,
      #F3E8DA 100%
    );
  }

  .box-page .mp-detail-photo {
    height: 285px;
    min-height: 285px;
    margin: 0;
    background: var(--wine-section-surface, #F5EBDD);
  }

  .box-page .mp-detail-photo img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    clip-path: none;
    margin: auto;
    background: transparent;
  }

  .box-page .mp-detail-right {
    padding: 22px 18px 18px;
    background: var(--wine-section-surface, #F5EBDD);
  }

  .box-page .mp-detail-heading {
    margin-bottom: 18px;
  }

  .box-page .mp-detail-heading > span {
    margin-bottom: 6px;
    font-size: 8px;
  }

  .box-page .mp-detail-heading h3 {
    margin-bottom: 5px;
    font-size: 34px;
  }

  .box-page .mp-detail-heading p {
    font-size: 12px;
    line-height: 1.4;
  }

  .box-page .mp-detail-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0 14px;
  }

  .box-page .mp-detail-fact {
    min-width: 0;
    padding: 12px 0;
    border-top: 1px solid var(--border);
  }

  .box-page .mp-detail-fact--aromas,
  .box-page .mp-detail-fact--pairings {
    grid-column: 1 / -1;
  }

  .box-page .mp-detail-grid span,
  .box-page .mp-detail-description-block > span {
    margin-bottom: 5px;
    font-size: 8px;
    letter-spacing: .08em;
  }

  .box-page .mp-detail-grid p {
    font-size: 12px;
    line-height: 1.4;
  }

  .box-page .mp-detail-description-block {
    margin-top: 0;
    padding-top: 14px;
    border-top: 1px solid var(--border);
  }

  .box-page .mp-detail-description-block p {
    font-size: 13px;
    line-height: 1.48;
  }

  .box-page .mp-detail-curiosities-block {
    margin-top: 16px;
    padding: 14px 15px;
    border-radius: 14px;
  }

  .box-page .mp-detail-curiosities-block summary {
    font-size: 9px;
  }

  .box-page .mp-detail-curiosities-block li {
    font-size: 12px;
    line-height: 1.45;
  }

  .box-page .mp-detail-bottom {
    padding: 12px;
    display: block;
    background: var(--wine-section-surface, #F5EBDD);
  }

  .box-page .mp-detail-bottom > p {
    display: none;
  }

  .box-page .mp-detail-buy {
    width: 100%;
    min-height: var(--primary-cta-height, 48px);
    border-radius: var(--primary-cta-radius, 999px);
  }

  /* PÁGINAS DE BOX — DESCRIPCIÓN Y CARRUSEL */
  .box-page .product-experience {
    padding: 38px 0 20px;
  }

  .box-page .product-description {
    width: calc(100% - 36px);
    margin-bottom: 24px;
  }

  .box-page .product-label {
    margin-bottom: 9px;
    font-size: 9px;
  }

  .box-page .product-description > p {
    font-size: 15px;
    line-height: 1.45;
  }

  .box-page .product-carousel__viewport {
    padding-right: var(--mobile-gutter);
    padding-left: var(--mobile-gutter);
  }

  .box-page .product-carousel__track {
    gap: 12px;
  }

  .box-page .product-carousel__card {
    flex-basis: 205px;
  }

  .box-page .product-carousel__card img {
    width: 205px;
    height: 185px;
    margin-bottom: 11px;
    border-radius: 14px;
  }

  .box-page .product-carousel__card h3 {
    margin-bottom: 4px;
    font-size: 21px;
  }

  .box-page .product-carousel__card p {
    font-size: 11px;
    line-height: 1.4;
  }

  .box-page .product-carousel__arrow {
    top: 76px;
    width: 44px;
    height: 44px;
    font-size: 17px;
  }

  .box-page .product-carousel__dots {
    margin-top: 8px;
  }

  /* PÁGINAS DE BOX — CARD DE COMPRA */
  .box-page .mp-box-card-wrap {
    margin-top: 0;
    padding: 24px 14px 34px;
  }

  .box-page .mp-box-card {
    border-radius: 18px;
  }

  .box-page .mp-box-card-top {
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .box-page .mp-box-card h2 {
    margin-bottom: 4px;
    font-size: 34px;
  }

  .box-page .mp-box-card-top p {
    font-size: 12px;
  }

  .box-page .mp-price-block {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 3px 12px;
  }

  .box-page .mp-price-block strong {
    font-size: 35px;
  }

  .box-page .mp-price-block span {
    margin: 0;
    font-size: 11px;
    text-align: right;
  }

  .box-page .mp-box-buy {
    grid-column: 1 / -1;
    width: 100%;
    min-height: var(--primary-cta-height, 48px);
    margin-top: 10px;
    align-items: center;
    border-radius: var(--primary-cta-radius, 999px);
  }

  .box-page .mp-box-card-bottom {
    padding: 14px 20px 17px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 12px;
  }

  .box-page .mp-box-card-bottom span {
    font-size: 10px;
    line-height: 1.35;
  }

  /* PÁGINAS DE BOX — RESEÑAS PROGRESIVAS */
  .box-page .product-reviews {
    padding: 44px var(--mobile-gutter) 52px;
  }

  .box-page .product-reviews__header {
    margin-bottom: 24px;
  }

  .box-page .product-reviews__summary {
    margin-bottom: 12px;
  }

  .box-page .product-reviews__summary strong {
    font-size: 12px;
  }

  .box-page .product-reviews__summary strong b {
    font-size: 16px;
  }

  .box-page .product-reviews__header h2 {
    font-size: 39px;
    line-height: .92;
  }

  .box-page .product-reviews__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .box-page .product-review,
  .box-page .product-review--wide,
  .box-page .product-review--tall {
    grid-column: auto;
    min-height: 0;
    padding: 18px;
    border-radius: 14px;
  }

  .box-page .product-review:nth-child(3) {
    grid-column: 1 / -1;
  }

  .box-page .product-review__stars {
    margin-bottom: 10px;
  }

  .box-page .product-review__author {
    margin-bottom: 13px;
    font-size: 9px;
  }

  .box-page .product-review > p {
    font-size: 21px;
    line-height: 1.12;
  }

  .js-motion .box-page .product-reviews__viewport:not(.is-expanded) {
    position: relative;
    max-height: 700px;
    overflow: hidden;
  }

  .js-motion .box-page .product-reviews__viewport:not(.is-expanded)::after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    z-index: 2;
    height: 94px;
    display: block;
    background: linear-gradient(
      180deg,
      rgba(252, 245, 229, 0),
      rgba(252, 245, 229, .86) 62%,
      var(--cream) 100%
    );
    pointer-events: none;
  }

  .js-motion .box-page .product-reviews__viewport:not(.is-expanded)
    .product-review:nth-child(3) {
    display: flex;
    max-height: none;
    overflow: visible;
  }

  .box-page .product-reviews__toggle {
    min-width: 0;
    width: auto;
    min-height: 44px;
    margin-top: 16px;
    padding: 12px 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--coral);
    font-size: 11px;
    letter-spacing: .08em;
    text-align: left;
    box-shadow: none;
    line-height: 1.4;
  }

  .box-page .product-reviews__toggle:hover,
  .box-page .product-reviews__toggle:focus-visible {
    border: 0;
    background: transparent;
    color: var(--text);
    box-shadow: none;
  }

  /* PÁGINAS DE BOX — FOOTER */
  .box-page .mp-footer {
    padding: 32px var(--mobile-gutter) 24px;
  }

  .box-page .mp-footer-top {
    gap: 24px;
    margin-bottom: 24px;
  }

  .box-page .mp-footer-lead {
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.5;
  }

  .box-page .mp-footer-nav-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .box-page .mp-footer-nav-col {
    gap: 7px;
    min-width: 0;
    width: auto;
  }

  .box-page .mp-footer-social-link {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
  }
}

@media (max-width: 370px) {
  .home-page .hero-actions,
  .box-page .mp-hero-actions {
    grid-template-columns: 1fr;
  }

  .home-page .plan-includes {
    grid-template-columns: 1fr;
  }

  .home-page .plan-includes-title {
    grid-column: auto;
  }
}

/* ETAPA 2 — jerarquía editorial específica para pantallas táctiles */
@media (max-width: 768px) {
  .home-page .hero-actions,
  .box-page .mp-hero-actions {
    grid-template-columns: 1fr;
    gap: 8px;
    align-items: stretch;
  }

  .home-page .hero-actions .btn-ghost,
  .box-page .mp-hero-actions .mp-btn-ghost {
    width: auto;
    min-width: 0;
    min-height: 40px;
    padding: 0 6px;
    display: inline-flex;
    align-self: center;
    justify-self: center;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    line-height: 1.2;
    text-decoration-line: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
  }

  .home-page .hero-actions .btn-ghost,
  .box-page--picante .mp-hero-actions .mp-btn-ghost {
    color: var(--color-burgundy);
  }

  .box-page--tranqui .mp-hero-actions .mp-btn-ghost {
    color: var(--color-green-dark);
  }

  .home-page .hero-actions .btn-ghost:hover,
  .home-page .hero-actions .btn-ghost:focus-visible,
  .box-page .mp-hero-actions .mp-btn-ghost:hover,
  .box-page .mp-hero-actions .mp-btn-ghost:focus-visible {
    border-color: currentColor;
    background: transparent;
    box-shadow: none;
  }

  .home-page .planes-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .home-page .plan-card {
    padding: 22px;
  }

  .home-page .plan-visual img {
    height: 180px;
  }

  .home-page .plan-name {
    margin-bottom: 20px;
    line-height: .74;
  }

  .home-page .plan-name span {
    font-size: clamp(3.7rem, 19vw, 4.8rem);
  }

  .home-page .plan-name small {
    font-size: clamp(2rem, 10vw, 2.7rem);
  }

  .home-page .plan-desc {
    margin-bottom: 24px;
    font-size: 13px;
    line-height: 1.55;
  }

  .home-page .plan-includes {
    grid-template-columns: 1fr;
  }

  .home-page .plan-includes-title {
    grid-column: 1;
    margin-bottom: 8px;
    font-size: 26px;
  }

  .home-page .plan-item {
    padding: 11px 0;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 8px;
    font-size: 12px;
  }
}

@media (max-width: 370px) {
  .home-page .hero-actions .btn-ghost,
  .box-page .mp-hero-actions .mp-btn-ghost {
    justify-self: center;
  }
}

/* Auditoría mobile: ajustes exclusivos para teléfonos, sin alterar tablet. */
@media (max-width: 480px) {
  .box-page .mp-hero-actions {
    justify-items: center;
  }

  .box-page .mp-hero-actions .mp-btn-primary {
    width: 62vw;
    min-width: 210px;
    max-width: 270px;
  }

  .box-page .mp-hero-actions .mp-btn-ghost {
    width: max-content;
    margin-top: 4px;
  }

  .box-page .mp-detail-photo {
    overflow: hidden;
    line-height: 0;
  }

  .box-page .mp-detail-photo img,
  .box-page .product-carousel__card img {
    display: block;
    margin: 0;
    vertical-align: bottom;
  }

  .box-page .product-carousel__card h3 {
    margin-top: 11px;
  }

  .home-page .journey-connector {
    height: 62px;
    min-height: 62px;
  }

  .home-page .journey-connector::before {
    inset: 8px auto auto 50%;
    width: 46px;
    height: 46px;
    border-width: 1.5px;
    background: rgba(255, 249, 238, .96);
    box-shadow:
      0 8px 22px rgba(31, 31, 31, .08),
      inset 0 0 0 3px rgba(255, 255, 255, .42);
  }

  .home-page .journey-connector::after {
    top: 20px;
    width: 22px;
    height: 22px;
    border: 0;
    background: var(--journey-accent);
    transform: translateX(-50%);
    -webkit-mask:
      url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 4 C6 10 16 9 16 16 M12 13 L16 17 L20 13' fill='none' stroke='%23000' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
      center / contain no-repeat;
    mask:
      url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 4 C6 10 16 9 16 16 M12 13 L16 17 L20 13' fill='none' stroke='%23000' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
      center / contain no-repeat;
  }
}

/* CTA contenidos: grandes para tocar, sin ocupar el ancho completo. */
@media (max-width: 768px) {
  .home-page .hero-actions,
  .box-page .mp-hero-actions {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 12px;
  }

  .home-page .hero-actions .btn-primary,
  .home-page .hero-actions .btn-ghost,
  .box-page .mp-hero-actions .mp-btn {
    width: auto;
    min-width: min(220px, 70vw);
    max-width: 80%;
    min-height: 54px;
    padding: 16px 28px;
    align-self: flex-start;
    justify-self: auto;
  }

  .home-page .hero-actions .btn-ghost,
  .box-page .mp-hero-actions .mp-btn-ghost {
    min-width: 0;
    border: 1px solid var(--coral);
    border-radius: 999px;
    background: rgba(252, 245, 229, .9);
    color: var(--text);
    text-decoration: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-page .journey-connector {
    animation: none;
  }
}
