/* Home ES — landing de tarifas. Composición tipo producto: panel + fichas. */

.melo-home-shipping {
  --hs-shopify: #00db5b;
  --hs-shopify-hover: #00c251;
  --hs-panel: #ececef;
  --hs-panel-muted: #e2e2e8;
  --hs-surface-alt: #f7f7fa;

  overflow-x: clip;
  background: #fff;
  color: var(--melo-text);
}

body.melo-body:has(.melo-home-shipping),
body.melo-body:has(.melo-home-shipping) .gh-viewport {
  background-color: #fff;
}

body.melo-body:has(.melo-home-shipping) .gh-viewport {
  padding-bottom: 0;
}

.melo-home-shipping-inner {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(112px, 14vh, 148px) clamp(20px, 4vw, 40px)
    clamp(56px, 8vw, 88px);
}

.melo-home-shipping-hero {
  display: flex;
  flex-direction: column;
  gap: clamp(36px, 5vw, 52px);
  margin-bottom: clamp(72px, 10vw, 120px);
}

.melo-home-shipping-hero-layout {
  position: relative;
  z-index: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  border-radius: 28px;
  background: linear-gradient(
    182deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(235, 235, 235, 0.91) 74%
  );
  margin-left: calc(50% - 50vw + 16px);
  margin-right: calc(50% - 50vw + 16px);
}

.melo-home-shipping-hero-copy {
  position: relative;
  z-index: 2;
  width: min(100%, 640px);
  text-align: center;
}

.melo-home-shipping-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 22px;
  padding: 2px 12px 2px 2px;
  border: 1px solid #dfdfdf;
  border-radius: 999px;
  background: #fbfbfb;
  font-size: 1.3rem;
  font-weight: 500;
  color: #6d6d6d;
}

.melo-home-shipping-badge-new {
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--hs-shopify);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 600;
}

body.melo-body .melo-home-shipping-title {
  margin: 0 auto 18px;
  max-width: 11em;
  font-size: clamp(3.4rem, 2rem + 3.2vw, 5.6rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.08;
  text-align: center;
  color: var(--melo-text);
}

.melo-home-shipping-title-line {
  display: block;
}

.melo-home-shipping-title-mark {
  display: inline-block;
  margin: 0 0.04em;
  padding: 0.02em 0.16em 0.08em;
  border-radius: 0.14em;
  background: var(--hs-shopify);
  color: #fff;
  line-height: 1.05;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.melo-home-shipping-lead {
  margin: 0 auto 28px;
  max-width: 28em;
  font-size: clamp(1.45rem, 1.25rem + 0.3vw, 1.6rem);
  line-height: 1.5;
  text-align: center;
  color: var(--melo-text-muted);
}

.melo-home-shipping-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 0;
}

.melo-home-shipping-actions--center {
  justify-content: center;
  margin-bottom: 0;
}

.melo-home-shipping-cta {
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 1.4rem;
  box-shadow: none;
}

.melo-home-shipping-cta-icon {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
}

.melo-home-shipping-cta-icon svg {
  display: block;
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.melo-home-shipping .melo-btn-primary.melo-home-shipping-cta {
  border: 1px solid rgb(255 255 255 / 0.16);
  background:
    linear-gradient(
      180deg,
      rgb(255 255 255 / 0.22) 0%,
      rgb(255 255 255 / 0) 46%
    ),
    linear-gradient(180deg, #4c4c50 0%, #2c2c30 42%, #121214 100%);
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.48),
    inset 0 -1px 0 rgb(0 0 0 / 0.6),
    0 1px 1px rgb(0 0 0 / 0.12),
    0 8px 16px rgb(0 0 0 / 0.16);
}

.melo-home-shipping .melo-btn-primary.melo-home-shipping-cta:hover {
  background:
    linear-gradient(
      180deg,
      rgb(255 255 255 / 0.28) 0%,
      rgb(255 255 255 / 0) 46%
    ),
    linear-gradient(180deg, #57575b 0%, #343438 42%, #18181a 100%);
  transform: none;
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.55),
    inset 0 -1px 0 rgb(0 0 0 / 0.55),
    0 1px 1px rgb(0 0 0 / 0.12),
    0 8px 16px rgb(0 0 0 / 0.16);
}

.melo-home-shipping .melo-btn-primary.melo-home-shipping-cta:active {
  transform: none;
  background:
    linear-gradient(
      180deg,
      rgb(255 255 255 / 0.06) 0%,
      rgb(255 255 255 / 0) 36%
    ),
    linear-gradient(180deg, #161618 0%, #2a2a2e 100%);
  box-shadow:
    inset 0 2px 5px rgb(0 0 0 / 0.55),
    inset 0 1px 0 rgb(255 255 255 / 0.1);
}

/* Brillo de desenvaine: un filo de luz cruza el CTA de abajo-izquierda a arriba-derecha. */
.melo-home-shipping-hero .melo-btn-primary.melo-home-shipping-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.melo-home-shipping-hero-copy .melo-btn-secondary {
  border: 1px solid rgb(255 255 255 / 0.8);
  background:
    linear-gradient(
      180deg,
      rgb(255 255 255 / 0.65) 0%,
      rgb(255 255 255 / 0) 52%
    ),
    linear-gradient(180deg, #ffffff 0%, #f2f2f4 100%);
  color: var(--melo-text);
  box-shadow:
    inset 0 1px 0 #fff,
    inset 0 -1px 0 rgb(0 0 0 / 0.05),
    0 1px 1px rgb(0 0 0 / 0.04),
    0 6px 14px rgb(0 0 0 / 0.08);
}

.melo-home-shipping-hero-copy .melo-btn-secondary:hover {
  transform: none;
  border-color: #fff;
  background:
    linear-gradient(
      180deg,
      rgb(255 255 255 / 0.8) 0%,
      rgb(255 255 255 / 0) 52%
    ),
    linear-gradient(180deg, #ffffff 0%, #f6f6f7 100%);
  box-shadow:
    inset 0 1px 0 #fff,
    inset 0 -1px 0 rgb(0 0 0 / 0.05),
    0 1px 2px rgb(0 0 0 / 0.05),
    0 8px 16px rgb(0 0 0 / 0.1);
}

.melo-home-shipping-hero-copy .melo-btn-secondary:active {
  transform: none;
  background:
    linear-gradient(
      180deg,
      rgb(255 255 255 / 0.25) 0%,
      rgb(255 255 255 / 0) 42%
    ),
    linear-gradient(180deg, #ececee 0%, #f7f7f8 100%);
  box-shadow:
    inset 0 2px 4px rgb(0 0 0 / 0.08),
    inset 0 1px 0 rgb(255 255 255 / 0.7);
}

.melo-home-shipping-logos {
  --melo-hs-logos-gap: 28px;
  width: 100%;
  margin: 0;
  padding: 0;
}

.melo-home-shipping-logos-marquee {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 6%,
    #000 94%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 6%,
    #000 94%,
    transparent 100%
  );
}

.melo-home-shipping-logos-track {
  display: flex;
  width: max-content;
  animation: melo-home-shipping-logos-marquee 38s linear infinite;
}

.melo-home-shipping-logos-marquee:hover .melo-home-shipping-logos-track {
  animation-play-state: paused;
}

.melo-home-shipping-logos-set {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: var(--melo-hs-logos-gap);
  margin: 0;
  padding: 0;
  padding-right: var(--melo-hs-logos-gap);
  list-style: none;
}

.melo-home-shipping-logos-set li {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  width: auto;
  flex-shrink: 0;
}

.melo-home-shipping-logos-set img {
  display: block;
  width: auto;
  max-width: 108px;
  height: 22px;
  object-fit: contain;
  filter: grayscale(1) brightness(0.35);
  opacity: 0.72;
  user-select: none;
  pointer-events: none;
}

@keyframes melo-home-shipping-logos-marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* Portada: texto al centro, checkout a la izquierda, tarifas a la derecha. */

.melo-home-shipping-stage {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 16px;
  align-items: start;
  width: min(100%, 720px);
  min-width: 0;
  height: auto;
}

.melo-home-shipping-checkout,
.melo-home-shipping-peek,
.melo-home-shipping-chip {
  position: relative;
  top: auto;
  right: auto;
  bottom: auto;
  left: auto;
  background: #fff;
  border: 1px solid rgb(0 0 0 / 0.06);
  box-shadow:
    0 1px 1px rgb(0 0 0 / 0.03),
    0 12px 32px rgb(0 0 0 / 0.06);
}

.melo-home-shipping-checkout {
  z-index: 2;
  grid-column: 1 / -1;
  justify-self: center;
  width: min(100%, 340px);
  border-radius: 22px;
  overflow: hidden;
}

.melo-home-shipping-peek {
  z-index: 1;
  grid-column: 1 / -1;
  justify-self: center;
  width: min(100%, 340px);
  padding: 16px 16px 6px;
  border-radius: 22px;
}

.melo-home-shipping-chip--a,
.melo-home-shipping-chip--b {
  z-index: 3;
  justify-self: center;
}

.melo-home-shipping-checkout-chrome {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--melo-border);
  background: var(--melo-bg);
}

.melo-home-shipping-checkout-dots {
  display: inline-flex;
  gap: 5px;
}

.melo-home-shipping-checkout-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgb(0 0 0 / 0.16);
}

.melo-home-shipping-checkout-url {
  font-size: 1.15rem;
  color: var(--melo-text-subtle);
}

.melo-home-shipping-checkout-body {
  padding: 18px 18px 16px;
}

.melo-home-shipping-checkout-label {
  margin: 0;
  font-size: 1.15rem;
  color: var(--melo-text-subtle);
}

.melo-home-shipping-checkout-city {
  margin: 2px 0 16px;
  font-size: 2.2rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.melo-home-shipping-checkout-method {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid var(--melo-border-strong);
}

.melo-home-shipping-checkout-radio {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 5px solid var(--hs-shopify);
  background: var(--melo-surface);
}

.melo-home-shipping-checkout-method-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.melo-home-shipping-checkout-method-copy strong {
  font-size: 1.35rem;
  font-weight: 600;
}

.melo-home-shipping-checkout-method-copy em {
  font-style: normal;
  font-size: 1.15rem;
  color: var(--melo-text-muted);
}

.melo-home-shipping-checkout-method b {
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.melo-home-shipping-peek-kicker {
  margin: 0 0 8px;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--melo-text-subtle);
}

.melo-home-shipping-peek-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.melo-home-shipping-peek-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--melo-border);
  font-size: 1.3rem;
}

.melo-home-shipping-peek-list strong {
  font-weight: 600;
}

.melo-home-shipping-chip {
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
  padding: 12px 14px;
  border-radius: 16px;
  box-shadow: var(--melo-shadow-lg);
}

.melo-home-shipping-chip span {
  font-size: 1.2rem;
  color: var(--melo-text-muted);
}

.melo-home-shipping-chip strong {
  font-size: 1.7rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.melo-home-shipping-sections {
  --hs-plan-curve: clamp(40px, 5vw, 72px);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: clamp(8px, 2vw, 24px);
  overflow: visible;
}

.melo-home-shipping-features {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: clamp(1px, 8vw, 17px);
  margin-inline: calc(50% - 50vw);
  padding: clamp(36px, 5vw, 52px) max(24px, calc(50vw - 550px));
  border: 0;
  /* border-radius: 0 0 var(--hs-plan-curve) var(--hs-plan-curve); */
  background: #fff;
}

/* Atlas: copy oficial + video de tarifas por comuna */
.melo-home-shipping-atlas {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  align-items: center;
  padding: clamp(24px, 4vw, 36px) clamp(20px, 3vw, 32px) clamp(24px, 4vw, 36px)
    clamp(28px, 5vw, 48px);
  border-radius: 28px;
  background: var(--hs-panel);
}

.melo-home-shipping-atlas-copy {
  min-width: 0;
}

body.melo-body .melo-home-shipping-atlas-title {
  margin: 0 0 12px;
  font-family: var(--melo-font-body);
  font-size: clamp(2.2rem, 1.65rem + 1.1vw, 3.2rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.12;
  text-wrap: pretty;
  color: var(--melo-text);
}

.melo-home-shipping-atlas-text {
  margin: 0;
  max-width: 34em;
  font-size: clamp(1.4rem, 1.25rem + 0.25vw, 1.55rem);
  line-height: 1.55;
  color: var(--melo-text-muted);
}

.melo-home-shipping-atlas-board {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 0;
  padding: 0;
  background: transparent;
}

.melo-hs-comuna-mount {
  display: block;
  box-sizing: border-box;
  width: 100%;
  max-width: 400px;
  min-width: 0;
}

.melo-home-shipping-atlas-board .comuna-home-demo__dots i:first-child {
  background: var(--hs-shopify);
}

.melo-home-shipping-atlas-board .comuna-home-demo__field.is-focus {
  border-color: var(--hs-shopify);
}

.melo-home-shipping-atlas-board .comuna-home-demo__radio.is-on {
  border: 5px solid var(--hs-shopify);
}

.melo-home-shipping-atlas-board .comuna-home-demo__rate.is-selected {
  border-color: rgb(0 219 91 / 0.5);
}

/* Features CSV — solo acentos mínimos en verde */
.melo-home-shipping-split--csv .csv-demo__dots i:first-child {
  background: var(--hs-shopify);
}

.melo-home-shipping-split--csv .csv-demo__check {
  background: var(--hs-shopify);
  color: #fff;
}

.melo-home-shipping-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 4vw, 40px);
  align-items: center;
  min-width: 0;
}

.melo-home-shipping-split-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: clamp(260px, 36vw, 340px);
  padding: clamp(20px, 3vw, 32px);
  border-radius: 28px;
  background: var(--hs-panel);
}

.melo-hs-csv-mount,
.melo-hs-fecha-mount,
.melo-hs-dto-mount,
.melo-hs-reglas-mount,
.melo-hs-comuna-mount {
  display: block;
  box-sizing: border-box;
  width: 100%;
  max-width: 400px;
  min-width: 0;
}

.melo-home-shipping-split-title {
  margin: 0 0 12px;
  font-family: var(--melo-font-body);
  font-size: clamp(2.2rem, 1.65rem + 1.1vw, 3.2rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.12;
  color: var(--melo-text);
}

.melo-home-shipping-split-text {
  margin: 0;
  max-width: 34em;
  font-size: clamp(1.4rem, 1.25rem + 0.25vw, 1.55rem);
  line-height: 1.55;
  color: var(--melo-text-muted);
}

.melo-home-shipping-points {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 16px 0 18px;
  padding: 0;
  list-style: none;
}

.melo-home-shipping-points li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 1.4rem;
  line-height: 1.45;
  color: var(--melo-text);
}

.melo-home-shipping-points li::before {
  content: "";
  flex: none;
  width: 5px;
  height: 5px;
  margin-top: 0.55em;
  border-radius: 50%;
  background: #c4c4c4;
}

.melo-home-shipping-split-cta {
  align-self: flex-start;
  margin-top: clamp(4px, 1vw, 12px);
  text-decoration: none;
}

.melo-home-shipping-split--bento .melo-home-shipping-points,
.melo-home-shipping-split--bento .melo-home-shipping-split-cta {
  display: none;
}

.melo-home-shipping-bento {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 3vw, 28px);
  margin-inline: calc(50% - 50vw);
  padding: clamp(40px, 5vw, 56px) max(24px, calc((100vw - 1180px) / 2 + 40px));
  border: 0;
  /* border-radius: var(--hs-plan-curve) var(--hs-plan-curve) 0 0; */
  background: #fff;
  padding-top: 98px;
}

.melo-home-shipping-bento-head {
  margin-inline: auto;
  text-align: center;
}

body.melo-body .melo-home-shipping-bento-title {
  margin: 0;
  font-family: var(--melo-font-body);
  font-size: clamp(2.2rem, 1.65rem + 1.1vw, 3.2rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.12;
  color: var(--melo-text);
  white-space: nowrap;
}

.melo-home-shipping-bento-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.melo-home-shipping-split--bento {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 4px 4px 18px;
  border-radius: 28px;
  border: 1px solid rgb(0 0 0 / 0.05);
  background: #f3f3f6;
}

.melo-home-shipping-split-copy-section {
  padding: 2px 16px;
}

.melo-home-shipping-split--bento .melo-home-shipping-split-visual {
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  width: 100%;
  min-width: 0;
  min-height: 0;
  padding: 0;
  background: transparent;
}

.melo-home-shipping-split--bento .melo-hs-fecha-mount,
.melo-home-shipping-split--bento .melo-hs-dto-mount,
.melo-home-shipping-split--bento .melo-hs-reglas-mount {
  flex: 1 1 auto;
  align-self: stretch;
  width: 100%;
  max-width: none;
}

.melo-home-shipping-split--bento .fecha-demo,
.melo-home-shipping-split--bento .dto-demo,
.melo-home-shipping-split--bento .reglas-demo {
  width: 100%;
  max-width: none;
  margin-inline: 0;
}

/* Misma altura de mockup en las 3 celdas del bento (248px = reglas con aire entre filas) */
.melo-home-shipping-split--bento .fecha-demo__card,
.melo-home-shipping-split--bento .dto-demo__card,
.melo-home-shipping-split--bento .reglas-demo__card {
  box-sizing: border-box;
  height: 248px;
  overflow: hidden;
}

.melo-home-shipping-split--bento .fecha-demo__slot {
  margin-bottom: 37px;
}

.melo-home-shipping-split--bento .dto-demo__stage {
  height: 169px;
}

.melo-home-shipping-split--bento .melo-home-shipping-split-title {
  font-size: clamp(1.55rem, 1.3rem + 0.5vw, 1.85rem);
  margin-bottom: 6px;
}

.melo-home-shipping-split--bento .melo-home-shipping-split-text {
  font-size: 1.35rem;
  line-height: 1.5;
}

/* Bento — mockups: tarjeta más clara y detalles verde Shopify */
.melo-home-shipping-split--bento .fecha-demo__card,
.melo-home-shipping-split--bento .dto-demo__card,
.melo-home-shipping-split--bento .reglas-demo__card {
  border-color: rgb(0 0 0 / 0.07);
  box-shadow:
    0 1px 1px rgb(0 0 0 / 0.02),
    0 8px 24px rgb(0 0 0 / 0.05);
}

.melo-home-shipping-split--bento .fecha-demo__field.is-focus {
  border-color: var(--hs-shopify);
}

.melo-home-shipping-split--bento .fecha-demo__radio.is-on {
  border: 5px solid var(--hs-shopify);
}

.melo-home-shipping-split--bento .fecha-demo__rate.is-selected {
  border-color: rgb(0 219 91 / 0.5);
}

.melo-home-shipping-split--bento .dto-demo__pill {
  background: var(--hs-shopify);
}

.melo-home-shipping-split--bento .dto-demo__line em:not(.is-no) {
  background: var(--hs-shopify);
  color: #fff;
}

.melo-home-shipping-split--bento .reglas-demo__tag {
  background: var(--hs-shopify);
  color: #fff;
}

.melo-home-shipping-split--bento .reglas-demo__row.is-hot {
  border-color: rgb(0 219 91 / 0.28);
  background: rgb(0 219 91 / 0.08);
}

.melo-home-shipping-split--band {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 4vw, 40px);
  align-items: center;
  margin-inline: calc(50% - 50vw + 20px);
  padding: clamp(36px, 5vw, 52px) clamp(24px, 4vw, 48px);
  border-radius: 32px;
  background: #161616;
  color: #fff;
}

.melo-home-shipping-split--band .melo-home-shipping-split-title,
.melo-home-shipping-split--band .melo-home-shipping-points li {
  color: #fff;
}

.melo-home-shipping-split--band .melo-home-shipping-split-text {
  color: rgb(255 255 255 / 0.72);
}

.melo-home-shipping-split--band .melo-home-shipping-points li::before {
  background: rgb(255 255 255 / 0.45);
}

.melo-home-shipping-split--band .melo-home-shipping-split-visual {
  background: rgb(255 255 255 / 0.06);
  border: 1px solid rgb(255 255 255 / 0.08);
}

.melo-home-shipping-split--band .melo-hs-card {
  color: #1a1a1a;
  background: #fff;
  border-color: rgb(255 255 255 / 0.14);
}

.melo-home-shipping-split--band .melo-hs-plan-lead {
  color: #9a9a9a;
}

.melo-home-shipping-split--band .melo-hs-plan-label {
  color: #1a1a1a;
}

.melo-home-shipping-split--band .melo-hs-plan-note {
  color: #6b6b6b;
}

.melo-home-shipping-split--band .melo-hs-check {
  background: var(--hs-shopify);
}

.melo-home-shipping-split--band .melo-hs-check::after {
  border-color: #fff;
}

.melo-home-shipping-split--band .melo-hs-plan-note-dot {
  background: var(--hs-shopify);
}

/* Plan band — full-bleed negro; las curvas blancas las dan features (abajo) y bento (arriba). */
.melo-home-shipping-split--plan.melo-home-shipping-split--band {
  position: relative;
  z-index: 1;
  overflow: visible;
  align-items: center;
  gap: 0;
  width: 100vw;
  max-width: 100vw;
  margin-top: calc(var(--hs-plan-curve) * -1);
  margin-bottom: calc(var(--hs-plan-curve) * -1);
  margin-inline: calc(50% - 50vw);
  padding: calc(var(--hs-plan-curve) + clamp(36px, 5vw, 64px))
    max(24px, calc((100vw - 1180px) / 2 + 40px));
  border-radius: 0;
  background: #000;
}

body.melo-body .melo-home-shipping-split-title--plan {
  font-family: var(--melo-font-body);
  font-size: clamp(2.2rem, 1.7rem + 1vw, 3.2rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.15;
  text-wrap: pretty;
}

.melo-home-shipping-split-title-icon {
  display: inline-flex;
  align-items: center;
  vertical-align: -0.12em;
  /* margin-right: 0.32em; */
  line-height: 0;
}

.melo-home-shipping-split-title-icon img,
.melo-home-shipping-split-title-icon svg {
  display: block;
  width: 40px;
  height: 40px;
}

.melo-home-shipping-split--plan.melo-home-shipping-split--band
  .melo-home-shipping-split-copy-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  padding: 0;
}

.melo-home-shipping-split--plan.melo-home-shipping-split--band
  .melo-home-shipping-split-title--plan {
  margin: 0 0 14px;
}

.melo-home-shipping-split--plan.melo-home-shipping-split--band
  .melo-home-shipping-split-text {
  margin: 0 0 18px;
  max-width: 22em;
  font-size: clamp(1.4rem, 1.25rem + 0.2vw, 1.55rem);
  line-height: 1.5;
  color: rgb(255 255 255 / 0.7);
}

.melo-home-shipping-split--plan.melo-home-shipping-split--band
  .melo-home-shipping-points {
  gap: 10px;
  margin: 0 0 22px;
}

.melo-home-shipping-split--plan.melo-home-shipping-split--band
  .melo-home-shipping-points
  li {
  font-size: 1.4rem;
  line-height: 1.45;
  color: rgb(255 255 255 / 0.88);
}

.melo-home-shipping-split--plan.melo-home-shipping-split--band
  .melo-home-shipping-split-visual {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 0;
  padding: 0;
  background: transparent;
  border: none;
  overflow: visible;
}

.melo-hs-demo--plan {
  display: block;
  width: 100%;
  margin: 0;
}

.melo-hs-plan-image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0;
  object-fit: contain;
  object-position: center;
  border-radius: 0;
  box-shadow: none;
  pointer-events: none;
  user-select: none;
}

@media (max-width: 899px) {
  .melo-home-shipping-split--plan.melo-home-shipping-split--band
    .melo-home-shipping-split-visual,
  .melo-home-shipping-split--plan.melo-home-shipping-split--band
    .melo-hs-demo--plan {
    display: none;
  }

  .melo-home-shipping-split--plan.melo-home-shipping-split--band
    .melo-home-shipping-split-copy-section {
    order: -1;
    max-width: 28em;
  }
}

@media (min-width: 900px) {
  .melo-home-shipping-split--plan.melo-home-shipping-split--band {
    display: grid;
    align-items: center;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 34%);
    gap: clamp(24px, 3vw, 48px);
    min-height: clamp(420px, 42vw, 560px);
    padding-bottom: var(--hs-plan-curve);
  }

  .melo-home-shipping-split--plan.melo-home-shipping-split--band
    .melo-home-shipping-split-copy-section {
    position: relative;
    z-index: 2;
    align-self: center;
    justify-self: start;
    width: 100%;
    max-width: 26em;
  }

  body.melo-body
    .melo-home-shipping-split--plan.melo-home-shipping-split--band
    .melo-home-shipping-split-title--plan {
    font-size: clamp(2.4rem, 1.7rem + 1.1vw, 3.4rem);
  }

  .melo-home-shipping-split--plan.melo-home-shipping-split--band
    .melo-home-shipping-split-visual {
    align-self: end;
    justify-self: stretch;
    justify-content: flex-start;
    align-items: flex-end;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin-bottom: calc(var(--hs-plan-curve) * -1 - 36px);
  }

  .melo-home-shipping-split--plan.melo-home-shipping-split--band
    .melo-hs-demo--plan {
    flex: none;
    width: 100%;
    max-width: 100%;
    margin: 0;
  }

  .melo-home-shipping-split--plan.melo-home-shipping-split--band
    .melo-hs-plan-image {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    object-position: left top;
  }
}

@media (min-width: 900px) and (max-width: 1100px) {
  .melo-home-shipping-split--plan.melo-home-shipping-split--band
    .melo-home-shipping-split-title--plan {
    font-size: clamp(2rem, 1.5rem + 0.8vw, 2.5rem);
  }
}

.melo-home-shipping-reviews {
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 4vw, 44px);
  margin-top: clamp(72px, 9vw, 112px);
  padding: 0;
  background: #fff;
}

.melo-home-shipping-reviews-head {
  max-width: 100%;
  margin-inline: auto;
  text-align: center;
}

.melo-home-shipping-reviews-title {
  margin: 0 auto 12px;
  max-width: 100%;
  font-family: var(--melo-font-body);
  font-size: clamp(2.4rem, 1.7rem + 1.4vw, 3.4rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.12;
  text-wrap: pretty;
  color: var(--melo-text);
}

.melo-home-shipping-reviews-lead {
  margin: 0 auto;
  max-width: 42em;
  font-size: clamp(1.35rem, 1.2rem + 0.25vw, 1.5rem);
  line-height: 1.55;
  color: var(--melo-text-muted);
}

.melo-home-shipping-reviews-score {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 18px 0 0;
  padding: 4px 16px 4px 4px;
  border: 1px solid #e4e4e4;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.04);
}

.melo-home-shipping-reviews-score-value {
  display: inline-flex;
  align-self: stretch;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
  border: 1px solid rgb(255 255 255 / 0.16);
  border-radius: 999px;
  background:
    linear-gradient(
      180deg,
      rgb(255 255 255 / 0.22) 0%,
      rgb(255 255 255 / 0) 46%
    ),
    linear-gradient(180deg, #3ae878 0%, var(--hs-shopify) 42%, #00963c 100%);
  color: #fff;
  font-family: var(--melo-font-body);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
}

.melo-home-shipping-reviews-score .melo-hs-review-stars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: var(--hs-shopify);
  margin-right: 4px;
}

.melo-home-shipping-reviews-score .melo-hs-review-star {
  display: block;
  width: 16px;
  height: 16px;
}

.melo-home-shipping-reviews-score-label {
  color: #6a6a6a;
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.2;
}

.melo-home-shipping-reviews-rows {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.melo-home-shipping-reviews-marquee {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 16px,
    #000 calc(100% - 16px),
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 16px,
    #000 calc(100% - 16px),
    transparent 100%
  );
}

@media (min-width: 900px) {
  .melo-home-shipping-reviews-rows {
    position: relative;
  }

  .melo-home-shipping-reviews-rows::before,
  .melo-home-shipping-reviews-rows::after {
    content: "";
    position: absolute;
    z-index: 2;
    top: 0;
    bottom: 0;
    width: 18%;
    pointer-events: none;
  }

  .melo-home-shipping-reviews-rows::before {
    left: 0;
    background:
      linear-gradient(to right, #fff 0%, #fff 34%, rgb(255 255 255 / 0) 100%),
      linear-gradient(112deg, #fff 0%, rgb(255 255 255 / 0) 70%);
  }

  .melo-home-shipping-reviews-rows::after {
    right: 0;
    background:
      linear-gradient(to left, #fff 0%, #fff 34%, rgb(255 255 255 / 0) 100%),
      linear-gradient(-112deg, #fff 0%, rgb(255 255 255 / 0) 70%);
  }

  .melo-home-shipping-reviews-marquee {
    mask-image: none;
    -webkit-mask-image: none;
  }
}

.melo-home-shipping-reviews-track {
  display: flex;
  width: max-content;
  animation: melo-home-shipping-reviews-marquee 70s linear infinite;
}

.melo-home-shipping-reviews-track--reverse {
  animation-name: melo-home-shipping-reviews-marquee-reverse;
  animation-duration: 82s;
}

.melo-home-shipping-reviews-marquee:hover .melo-home-shipping-reviews-track,
.melo-home-shipping-reviews-marquee:focus-within
  .melo-home-shipping-reviews-track {
  animation-play-state: paused;
}

.melo-home-shipping-reviews-set {
  display: flex;
  flex-shrink: 0;
  align-items: stretch;
  gap: 12px;
  margin: 0;
  padding: 0 12px 0 0;
  list-style: none;
}

.melo-home-shipping-reviews-set > li {
  display: flex;
}

@keyframes melo-home-shipping-reviews-marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes melo-home-shipping-reviews-marquee-reverse {
  from {
    transform: translateX(-50%);
  }

  to {
    transform: translateX(0);
  }
}

.melo-hs-review {
  display: flex;
  box-sizing: border-box;
  width: min(300px, calc(100vw - 96px));
  height: 168px;
  padding: 16px 16px 14px;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid #e6e6e6;
  background: #fff;
}

.melo-hs-review-quote {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  min-width: 0;
  margin: 0;
}

.melo-hs-review-header {
  display: flex;
  flex: none;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.melo-hs-review .melo-hs-review-stars {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 3px;
  color: var(--hs-shopify);
}

.melo-hs-review .melo-hs-review-star {
  display: block;
  width: 18px;
  height: 18px;
}

.melo-hs-review-text {
  --hs-review-text-lines: 3;

  display: -webkit-box;
  flex: none;
  margin: 0;
  overflow: hidden;
  max-height: calc(1.32rem * 1.45 * var(--hs-review-text-lines));
  font-size: 1.32rem;
  line-height: 1.45;
  color: var(--melo-text);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}

.melo-hs-review-avatar {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #f3f3f4;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #3f3f46;
}

.melo-hs-review-meta {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.melo-hs-review-name {
  overflow: hidden;
  font-style: normal;
  font-size: 1.22rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--melo-text);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.melo-hs-review-role {
  overflow: hidden;
  font-size: 1.05rem;
  line-height: 1.2;
  color: var(--melo-text-muted);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.melo-home-shipping-faq {
  --melo-faq-duration: 0.42s;
  display: grid;
  gap: 28px;
  margin-top: clamp(64px, 8vw, 96px);
}

.melo-home-shipping-faq-title {
  margin: 0;
  width: fit-content;
  max-width: 100%;
  font-family: var(--melo-font-body);
  font-size: clamp(2.4rem, 1.8rem + 1.4vw, 3.4rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.1;
  white-space: nowrap;
}

.melo-home-shipping-faq-list-wrap {
  display: grid;
  gap: 20px;
  min-width: 0;
}

.melo-home-shipping-faq-list-panel {
  position: relative;
  min-width: 0;
}

.melo-home-shipping-faq-list {
  min-width: 0;
  border-top: 1px solid rgb(0 0 0 / 0.08);
}

.melo-home-shipping-faq-item {
  border-bottom: 1px solid rgb(0 0 0 / 0.08);
}

.melo-home-shipping-faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}

.melo-home-shipping-faq-item summary::-webkit-details-marker {
  display: none;
}

.melo-home-shipping-faq-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--hs-shopify);
  color: #fff;
}

.melo-home-shipping-faq-icon-plus,
.melo-home-shipping-faq-icon-minus {
  grid-area: 1 / 1;
  display: grid;
  place-items: center;
  opacity: 1;
  transform: none;
  transition:
    opacity 0.28s ease,
    transform 0.28s ease;
}

.melo-home-shipping-faq-icon svg {
  display: block;
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.melo-home-shipping-faq-icon-minus,
.melo-home-shipping-faq-item[open] .melo-home-shipping-faq-icon-plus {
  opacity: 0;
  transform: scale(0.72);
}

.melo-home-shipping-faq-item[open] .melo-home-shipping-faq-icon-minus {
  opacity: 1;
  transform: none;
}

.melo-home-shipping-faq-panel {
  display: grid;
  grid-template-rows: 1fr;
}

.melo-home-shipping-faq.is-animated .melo-home-shipping-faq-panel {
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--melo-faq-duration)
    cubic-bezier(0.22, 1, 0.36, 1);
}

.melo-home-shipping-faq.is-animated .melo-home-shipping-faq-panel.is-open {
  grid-template-rows: 1fr;
}

.melo-home-shipping-faq-item p {
  margin: 0;
  padding: 0 calc(32px + 16px) 18px 0;
  max-width: 42em;
  font-size: 1.45rem;
  line-height: 1.55;
  color: var(--melo-text-muted);
}

.melo-home-shipping-faq-panel-inner {
  min-height: 0;
  overflow: hidden;
}

.melo-home-shipping-faq.is-animated .melo-home-shipping-faq-panel p {
  opacity: 0;
  transform: translateY(-6px);
  transition:
    opacity var(--melo-faq-duration) cubic-bezier(0.22, 1, 0.36, 1),
    transform var(--melo-faq-duration) cubic-bezier(0.22, 1, 0.36, 1);
}

.melo-home-shipping-faq.is-animated .melo-home-shipping-faq-panel.is-open p {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .melo-home-shipping-faq-icon-plus,
  .melo-home-shipping-faq-icon-minus,
  .melo-home-shipping-faq.is-animated .melo-home-shipping-faq-panel,
  .melo-home-shipping-faq.is-animated .melo-home-shipping-faq-panel p {
    transition: none;
  }
}

.melo-hs-demo {
  width: min(100%, 380px);
  font-variant-numeric: tabular-nums;
}

.melo-hs-card {
  overflow: hidden;
  padding: 18px 18px 14px;
  border-radius: 22px;
  border: 1px solid rgb(0 0 0 / 0.06);
  background: var(--melo-surface);
  box-shadow:
    0 1px 1px rgb(0 0 0 / 0.03),
    0 16px 40px rgb(0 0 0 / 0.06);
}

.melo-hs-kicker {
  margin: 0 0 6px;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--melo-text-subtle);
}

.melo-hs-rows,
.melo-hs-methods,
.melo-hs-plans {
  margin: 0;
  padding: 0;
  list-style: none;
}

.melo-hs-rows li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  margin: 0 -8px;
  padding: 11px 8px;
  border-radius: 12px;
  font-size: 1.4rem;
  animation: melo-hs-row 7.5s ease-in-out infinite;
}

.melo-hs-rows li strong {
  font-weight: 600;
  letter-spacing: -0.03em;
}

.melo-hs-rows li:nth-child(2) {
  animation-delay: 2.5s;
}

.melo-hs-rows li:nth-child(3) {
  animation-delay: 5s;
}

@keyframes melo-hs-row {
  0%,
  16%,
  100% {
    background: transparent;
  }
  4%,
  12% {
    background: #eee;
  }
}

.melo-hs-drop {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 76px;
  margin: 4px 0 8px;
  border: 1px dashed rgb(0 0 0 / 0.14);
  border-radius: 16px;
  background: #f7f6f2;
}

.melo-hs-file {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid var(--melo-border);
  background: var(--melo-surface);
  box-shadow: var(--melo-shadow-xs);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--melo-text);
}

.melo-hs-chrome {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: -18px -18px 16px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--melo-border);
  border-radius: 22px 22px 0 0;
  background: #f7f6f2;
  font-size: 1.15rem;
  color: var(--melo-text-subtle);
}

.melo-hs-dots {
  display: inline-flex;
  gap: 5px;
}

.melo-hs-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgb(0 0 0 / 0.16);
}

.melo-hs-method,
.melo-hs-methods li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.melo-hs-method {
  padding: 12px;
  border-radius: 14px;
  border: 1px solid var(--melo-border-strong);
}

.melo-hs-radio {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 5px solid var(--melo-text);
  background: var(--melo-surface);
}

.melo-hs-radio.is-off {
  border-width: 1.5px;
  border-color: rgb(0 0 0 / 0.22);
}

.melo-hs-method-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.melo-hs-method-copy strong,
.melo-hs-methods li span:nth-child(2) {
  font-size: 1.35rem;
  font-weight: 600;
}

.melo-hs-date {
  font-style: normal;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--melo-text-muted);
}

.melo-hs-method b {
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.melo-hs-amount {
  margin: 2px 0 14px;
  font-size: 3.2rem;
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1;
}

.melo-hs-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}

.melo-hs-chips li {
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--melo-border);
  background: transparent;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--melo-text-muted);
}

.melo-hs-chips li.is-on {
  border-color: var(--melo-text);
  background: var(--melo-text);
  color: #fff;
}

.melo-hs-rule {
  margin: 0 0 12px;
  font-size: 1.25rem;
  color: var(--melo-text-muted);
}

.melo-hs-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 -18px -14px;
  padding: 12px 18px;
  border-top: 1px solid var(--melo-border);
}

.melo-hs-result s {
  color: var(--melo-text-subtle);
  font-size: 1.3rem;
}

.melo-hs-result strong {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--melo-text);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 600;
}

.melo-hs-methods li {
  padding: 11px 2px;
}

.melo-hs-methods li.is-on {
  margin: 0 -8px 4px;
  padding: 12px;
  border: 1px solid var(--melo-border-strong);
  border-radius: 14px;
}

.melo-hs-methods li.is-hidden span:nth-child(2) {
  color: var(--melo-text-subtle);
  font-weight: 500;
  text-decoration: line-through;
}

.melo-hs-methods em {
  padding: 3px 8px;
  border-radius: 999px;
  background: #f3f2ec;
  font-style: normal;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--melo-text-muted);
}

.melo-hs-demo--plan .melo-hs-card {
  padding: 16px 16px 0;
}

.melo-hs-plan-lead {
  margin: 0 0 12px;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-align: center;
  text-transform: uppercase;
  color: var(--melo-text-subtle);
}

.melo-hs-plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.melo-hs-plans li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 8px 6px 14px;
  border-right: 1px solid var(--melo-border);
  text-align: center;
}

.melo-hs-plans li:last-child {
  border-right: 0;
}

.melo-hs-plan-label {
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--melo-text);
}

.melo-hs-check {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--melo-text);
  flex: none;
}

.melo-hs-check::after {
  content: "";
  width: 7px;
  height: 4px;
  margin-top: -1px;
  border-left: 1.5px solid #fff;
  border-bottom: 1.5px solid #fff;
  transform: rotate(-45deg);
}

.melo-hs-plan-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 4px -18px -14px;
  padding: 12px 18px;
  border-top: 1px solid var(--melo-border);
  font-size: 1.2rem;
  color: var(--melo-text-muted);
}

.melo-hs-plan-note-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--melo-text);
  flex: none;
}

@media (prefers-reduced-motion: reduce) {
  .melo-hs-rows li {
    animation: none;
  }
}

/* Footer home tarifas — full-bleed, pegado al borde inferior */
.melo-home-shipping + .melo-home-footer {
  --melo-app-gray-bg: #161616;
  --melo-app-gray-surface: #161616;
  --melo-app-gray-border: rgb(255 255 255 / 0.1);
  --melo-app-gray-text: #fff;
  --melo-app-gray-muted: rgb(255 255 255 / 0.72);
  --melo-app-gray-subtle: rgb(255 255 255 / 0.55);

  width: 100vw;
  max-width: 100vw;
  margin: clamp(48px, 6vw, 72px) calc(50% - 50vw) 0;
  padding: clamp(36px, 5vw, 52px) max(24px, calc((100vw - 1180px) / 2 + 40px));
  border-radius: 0;
  background: #161616;
  color: #fff;
}

.melo-home-shipping + .melo-home-footer .melo-site-footer--landing {
  border-top: none;
  background: transparent;
}

.melo-home-shipping + .melo-home-footer .melo-app-section-band--footer {
  background: transparent;
  border: none;
}

.melo-home-shipping + .melo-home-footer .melo-site-footer-landing,
.melo-home-shipping + .melo-home-footer .melo-site-footer-landing-bottom {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.melo-home-shipping + .melo-home-footer .melo-site-footer-landing {
  padding: 0;
}

.melo-home-shipping + .melo-home-footer .melo-site-footer-landing-bottom {
  padding: clamp(24px, 3vw, 32px) 0 0;
  margin-top: clamp(24px, 3vw, 36px);
  border-top: 1px solid rgb(255 255 255 / 0.1);
}

.melo-home-shipping + .melo-home-footer .melo-site-footer-brand {
  gap: 8px;
  margin-bottom: 14px;
  padding: 3px 12px 3px 4px;
  border-radius: 6px;
  background: #fff;
}

.melo-home-shipping + .melo-home-footer .melo-site-footer-logo-icon {
  width: 20px;
  height: 20px;
  border-radius: 7px;
}

.melo-home-shipping + .melo-home-footer .melo-site-footer-logo-text {
  height: 22px;
  filter: brightness(0);
}

.melo-home-shipping + .melo-home-footer .melo-site-footer-tagline,
.melo-home-shipping + .melo-home-footer .melo-site-footer-landing-col a,
.melo-home-shipping + .melo-home-footer .melo-site-footer-copyright {
  color: rgb(255 255 255 / 0.72);
}

.melo-home-shipping + .melo-home-footer .melo-site-footer-landing-heading {
  color: rgb(255 255 255 / 0.55);
}

.melo-home-shipping + .melo-home-footer .melo-site-footer-landing-col a:hover,
.melo-home-shipping + .melo-home-footer .melo-site-footer-social a:hover {
  color: #fff;
}

.melo-home-shipping + .melo-home-footer .melo-site-footer-social a {
  color: rgb(255 255 255 / 0.55);
}

@media (max-width: 899px) {
  .melo-home-shipping-atlas {
    padding: clamp(24px, 4vw, 36px);
  }

  .melo-home-shipping-split--csv .melo-home-shipping-split-visual {
    padding: clamp(20px, 3vw, 32px);
  }

  .melo-home-shipping-atlas-board {
    margin-top: 20px;
  }

  .melo-home-shipping-stage {
    display: none;
  }

  .melo-home-shipping-hero-layout {
    gap: 0;
    padding: clamp(28px, 6vw, 40px) clamp(16px, 4vw, 24px)
      clamp(32px, 7vw, 48px);
  }

  .melo-home-shipping-hero-copy .melo-home-shipping-lead {
    margin-bottom: 36px;
  }

  .melo-home-shipping-hero-copy .melo-home-shipping-actions {
    width: 100%;
    padding-top: 4px;
  }
}

@media (max-width: 639px) {
  .melo-home-shipping-stage {
    grid-template-columns: 1fr 1fr;
  }

  .melo-home-shipping-checkout,
  .melo-home-shipping-peek {
    grid-column: 1 / -1;
  }

  .melo-home-shipping-checkout {
    order: 1;
  }

  .melo-home-shipping-chip--a {
    order: 2;
    justify-self: stretch;
  }

  .melo-home-shipping-chip--b {
    order: 3;
    justify-self: stretch;
  }

  .melo-home-shipping-peek {
    order: 4;
  }

  .melo-home-shipping-title-line {
    display: inline;
  }

  .melo-home-shipping-title-line:not(:last-child)::after {
    content: " ";
  }

  .melo-home-shipping-cta {
    width: 100%;
    justify-content: center;
  }
}

@media (min-width: 640px) and (max-width: 1079px) {
  .melo-home-shipping-checkout {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
  }

  .melo-home-shipping-peek {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
  }

  .melo-home-shipping-chip--a {
    grid-column: 1;
    grid-row: 2;
    justify-self: start;
  }

  .melo-home-shipping-chip--b {
    grid-column: 2;
    grid-row: 2;
    justify-self: start;
  }
}

@media (min-width: 1080px) {
  .melo-home-shipping-hero-layout {
    display: block;
    min-height: 0;
    padding: 24px 8px 28px;
    border-radius: 32px;
    margin-left: calc(50% - 50vw + 20px);
    margin-right: calc(50% - 50vw + 20px);
  }

  .melo-home-shipping-hero-copy {
    margin: 0 auto;
    padding: 8px 0 128px;
  }

  .melo-home-shipping-stage {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    pointer-events: none;
  }

  .melo-home-shipping-checkout,
  .melo-home-shipping-peek,
  .melo-home-shipping-chip {
    position: absolute;
  }

  .melo-home-shipping-checkout {
    top: 164px;
    left: 8px;
    width: 280px;
  }

  .melo-home-shipping-peek {
    top: 176px;
    right: 8px;
    left: auto;
    width: 248px;
  }

  .melo-home-shipping-chip--a {
    left: 20px;
    top: auto;
    bottom: 22px;
  }

  .melo-home-shipping-chip--b {
    left: 372px;
    top: auto;
    bottom: 78px;
  }
}

@media (min-width: 1080px) and (max-width: 1240px) {
  body.melo-body .melo-home-shipping-title {
    font-size: 4.6rem;
  }

  .melo-home-shipping-checkout {
    width: 248px;
    min-width: 280px;
  }

  .melo-home-shipping-peek {
    width: 220px;
  }

  .melo-home-shipping-chip--b {
    left: 292px;
    bottom: 70px;
  }
}

@media (min-width: 900px) {
  .melo-home-shipping-atlas {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0;
  }

  .melo-home-shipping-split:not(.melo-home-shipping-split--bento):not(
      .melo-home-shipping-split--plan
    ) {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(40px, 5vw, 72px);
  }

  .melo-home-shipping-split--csv:not(.melo-home-shipping-split--bento) {
    gap: clamp(20px, 2.2vw, 36px);
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  }

  .melo-home-shipping-split--csv .melo-home-shipping-split-copy-section {
    padding-inline-start: clamp(0px, 0.5vw, 8px);
  }

  .melo-home-shipping-split--reverse:not(.melo-home-shipping-split--bento)
    .melo-home-shipping-split-copy-section {
    order: -1;
  }

  .melo-home-shipping-bento-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .melo-home-shipping-split--band:not(.melo-home-shipping-split--plan) {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .melo-home-shipping-split--band.melo-home-shipping-split--reverse
    .melo-home-shipping-split-copy-section {
    order: -1;
  }

  .melo-hs-review {
    width: 340px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .melo-home-shipping-reviews-rows::before,
  .melo-home-shipping-reviews-rows::after {
    content: none;
  }

  .melo-home-shipping-reviews-marquee {
    width: auto;
    max-width: none;
    margin-left: 0;
    overflow: visible;
    mask-image: none;
    -webkit-mask-image: none;
  }

  .melo-home-shipping-reviews-track,
  .melo-home-shipping-reviews-track--reverse {
    display: block;
    width: auto;
    animation: none;
  }

  .melo-home-shipping-reviews-set[aria-hidden="true"] {
    display: none;
  }

  .melo-home-shipping-reviews-set {
    display: grid;
    gap: 12px;
    padding: 0;
  }

  .melo-hs-review {
    width: auto;
  }
}

/* Reveal al scroll: transiciones suaves, sin snap (evita “rebote” del scroll) */

@media (prefers-reduced-motion: no-preference) {
  .melo-home-shipping--scroll-reveal .melo-home-shipping-reveal {
    opacity: 0;
    transform: translate3d(0, 28px, 0);
    transition:
      opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .melo-home-shipping--scroll-reveal
    .melo-home-shipping-reveal:not(.is-revealed) {
    pointer-events: none;
  }

  .melo-home-shipping--scroll-reveal .melo-home-shipping-reveal.is-revealed {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
}

/* Entrada de la portada: una sola vez, al cargar. */

@media (prefers-reduced-motion: no-preference) {
  .melo-home-shipping-hero-layout {
    animation: melo-hs-hero-panel 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .melo-home-shipping-badge,
  .melo-home-shipping-title-line,
  .melo-home-shipping-lead,
  .melo-home-shipping-actions,
  .melo-home-shipping-logos {
    animation: melo-hs-hero-rise 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .melo-home-shipping-badge {
    animation-delay: 0.08s;
  }

  .melo-home-shipping-title-line:nth-child(1) {
    animation-delay: 0.16s;
  }

  .melo-home-shipping-title-line:nth-child(2) {
    animation-delay: 0.28s;
  }

  .melo-home-shipping-title-line:nth-child(3) {
    animation-delay: 0.4s;
  }

  .melo-home-shipping-lead {
    animation-delay: 0.52s;
  }

  .melo-home-shipping-actions {
    animation-delay: 0.64s;
  }

  .melo-home-shipping-checkout {
    animation: melo-hs-hero-from-left 0.85s 0.32s cubic-bezier(0.22, 1, 0.36, 1)
      both;
  }

  .melo-home-shipping-peek {
    animation: melo-hs-hero-from-right 0.85s 0.42s
      cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .melo-home-shipping-chip {
    animation: melo-hs-hero-rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .melo-home-shipping-chip--a {
    animation-delay: 0.7s;
  }

  .melo-home-shipping-chip--b {
    animation-delay: 0.82s;
  }

  .melo-home-shipping-logos {
    animation-delay: 0.9s;
  }

  .melo-home-shipping-hero .melo-btn-primary.melo-home-shipping-cta::after {
    content: "";
    position: absolute;
    z-index: 1;
    top: -90%;
    left: 0;
    width: 92%;
    height: 280%;
    pointer-events: none;
    background: linear-gradient(
      90deg,
      transparent 0%,
      rgb(255 255 255 / 0) 12%,
      rgb(255 255 255 / 0.05) 30%,
      rgb(255 255 255 / 0.14) 46%,
      rgb(255 255 255 / 0.22) 50%,
      rgb(255 255 255 / 0.12) 58%,
      rgb(255 255 255 / 0.04) 76%,
      transparent 94%
    );
    filter: blur(7px);
    mix-blend-mode: screen;
    transform-origin: center center;
    opacity: 0;
    animation: melo-hs-cta-sword 1.15s cubic-bezier(0.4, 0, 0.2, 1) 1.12s 1 both;
  }
}

@keyframes melo-hs-cta-sword {
  0% {
    opacity: 0;
    transform: translate3d(-62%, 38%, 0) rotate(22deg);
  }

  18% {
    opacity: 1;
  }

  78% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translate3d(118%, -46%, 0) rotate(22deg);
  }
}

@keyframes melo-hs-hero-panel {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes melo-hs-hero-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes melo-hs-hero-from-left {
  from {
    opacity: 0;
    transform: translateX(-32px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes melo-hs-hero-from-right {
  from {
    opacity: 0;
    transform: translateX(32px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 639px) and (prefers-reduced-motion: no-preference) {
  .melo-home-shipping-title-line {
    animation: none;
  }

  .melo-home-shipping-title {
    animation: melo-hs-hero-rise 0.8s 0.16s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
}

@media (prefers-reduced-motion: reduce) {
  .melo-home-shipping-hero .melo-btn-primary.melo-home-shipping-cta::after {
    content: none;
    animation: none;
  }

  .melo-home-shipping-hero-layout,
  .melo-home-shipping-badge,
  .melo-home-shipping-title,
  .melo-home-shipping-title-line,
  .melo-home-shipping-lead,
  .melo-home-shipping-actions,
  .melo-home-shipping-checkout,
  .melo-home-shipping-peek,
  .melo-home-shipping-chip,
  .melo-home-shipping-logos {
    animation: none;
  }

  .melo-home-shipping-logos-track {
    animation: none;
  }
}

/* Teléfono (~386px): más ancho útil, demos legibles y bloques más cortos. */

@media (max-width: 480px) {
  .melo-home-shipping-inner {
    padding: 84px 16px 40px;
  }

  .melo-home-shipping-hero {
    gap: 24px;
    margin-bottom: 40px;
  }

  .melo-home-shipping-hero-layout {
    margin-left: calc(50% - 50vw + 12px);
    margin-right: calc(50% - 50vw + 12px);
    padding: 24px 16px 28px;
    border-radius: 22px;
  }

  body.melo-body .melo-home-shipping-title {
    max-width: 14em;
    font-size: 3.2rem;
  }

  .melo-home-shipping-lead {
    margin-bottom: 20px;
    font-size: 1.45rem;
  }

  .melo-home-shipping-features,
  .melo-home-shipping-bento {
    padding-right: 16px;
    padding-left: 16px;
  }

  .melo-home-shipping-features {
    padding-top: 28px;
    padding-bottom: 28px;
    gap: 28px;
  }

  .melo-home-shipping-bento {
    padding-top: 40px;
    padding-bottom: 28px;
  }

  .melo-home-shipping-split--band {
    margin-inline: calc(50% - 50vw + 12px);
    padding: 28px 16px;
    border-radius: 22px;
  }

  .melo-home-shipping-atlas {
    padding: 18px 14px;
    border-radius: 20px;
  }

  .melo-home-shipping-atlas-board {
    margin-top: 14px;
  }

  body.melo-body .melo-home-shipping-atlas-title,
  .melo-home-shipping-split-title,
  .melo-home-shipping-reviews-title,
  .melo-home-shipping-faq-title,
  body.melo-body .melo-home-shipping-bento-title,
  body.melo-body .melo-home-shipping-split-title--plan {
    font-size: 2.4rem;
  }

  body.melo-body .melo-home-shipping-bento-title {
    white-space: normal;
  }

  .melo-home-shipping-split {
    gap: 16px;
  }

  .melo-home-shipping-split-visual,
  .melo-home-shipping-split--csv .melo-home-shipping-split-visual {
    min-height: 0;
    padding: 12px;
    border-radius: 20px;
  }

  .melo-hs-csv-mount,
  .melo-hs-fecha-mount,
  .melo-hs-dto-mount,
  .melo-hs-reglas-mount,
  .melo-hs-comuna-mount {
    max-width: none;
  }

  .melo-home-shipping-split--csv .csv-demo__finder {
    grid-template-columns: minmax(0, 1fr);
  }

  .melo-home-shipping-split--csv .csv-demo__finder-side {
    display: none;
  }

  .melo-home-shipping-split--csv .csv-demo__chrome,
  .melo-home-shipping-atlas-board .comuna-home-demo__chrome {
    padding: 10px 12px;
  }

  .melo-home-shipping-reviews {
    gap: 20px;
    margin-top: 48px;
  }

  .melo-home-shipping-reviews-title {
    margin-bottom: 8px;
  }

  .melo-home-shipping-reviews-score {
    display: inline-flex;
    flex-wrap: nowrap;
    width: max-content;
    max-width: 100%;
    margin-top: 14px;
    padding-right: 12px;
    gap: 6px;
  }

  .melo-home-shipping-reviews-score-value,
  .melo-home-shipping-reviews-score .melo-hs-review-stars,
  .melo-home-shipping-reviews-score-label {
    flex-shrink: 0;
  }

  .melo-home-shipping-reviews-score .melo-hs-review-star {
    width: 14px;
    height: 14px;
  }

  .melo-home-shipping-reviews-score-label {
    font-size: 1.15rem;
    white-space: nowrap;
  }

  .melo-home-shipping-reviews-marquee--offset {
    display: none;
  }

  .melo-home-shipping-reviews-marquee {
    overflow: hidden;
    scroll-snap-type: none;
  }

  .melo-home-shipping-reviews-track {
    display: flex;
    width: max-content;
    animation: melo-home-shipping-reviews-marquee 70s linear infinite;
  }

  .melo-home-shipping-reviews-set {
    display: flex;
    width: max-content;
  }

  .melo-home-shipping-reviews-set > li {
    flex: none;
    width: auto;
  }

  .melo-hs-review {
    width: min(300px, calc(100vw - 56px));
    height: auto;
  }

  .melo-hs-review-text {
    display: block;
    max-height: none;
    overflow: visible;
    -webkit-line-clamp: unset;
    line-clamp: unset;
  }

  .melo-home-shipping-faq {
    gap: 16px;
    margin-top: 72px;
  }

  .melo-home-shipping-faq-item summary {
    gap: 12px;
    padding: 12px 0;
    font-size: 1.35rem;
  }

  .melo-home-shipping-faq-icon {
    width: 28px;
    height: 28px;
  }

  .melo-home-shipping-faq-icon svg {
    width: 16px;
    height: 16px;
  }

  .melo-home-shipping-faq-item p {
    padding-bottom: 12px;
    font-size: 1.35rem;
  }
}

@media (max-width: 480px) and (prefers-reduced-motion: reduce) {
  .melo-home-shipping-reviews-track {
    animation: none;
  }
}
