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

html,
body.melo-body {
  overflow-x: clip;
  max-width: 100%;
}

.gh-viewport {
  overflow-x: clip;
  width: 100%;
  max-width: 100%;
}

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

  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  container-type: inline-size;
  background: #fff;
  color: var(--melo-text);
  box-sizing: border-box;
}

body.melo-body:has(.melo-home-shipping),
body.melo-body:has(.melo-home-shipping) .gh-viewport {
  background-color: #fff;
  overflow-x: clip;
  max-width: 100%;
}

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(40px, 5.5vw, 64px);
  margin-bottom: clamp(56px, 7.5vw, 92px);
}

.melo-home-shipping-hero.melo-etp-hero {
  gap: 0;
}

.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(
    180deg,
    rgba(240, 241, 244, 0) 0%,
    rgb(0 219 91 / 17%) 100%
  );
  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 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid rgb(255 255 255 / 0.16);
  font-family: var(--melo-font-body);
  font-size: 1.35rem;
  font-weight: 600;
  color: #fff;
  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%);
  text-decoration: none;
  white-space: nowrap;
  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.1),
    0 4px 12px rgb(0 0 0 / 0.14);
  transition:
    background 0.2s ease,
    box-shadow 0.2s ease;
  cursor: pointer;
}

.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.1),
    0 6px 18px rgb(0 0 0 / 0.18);
}

.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);
}

.melo-home-shipping
  .melo-btn-primary.melo-home-shipping-cta
  .melo-hero-shopify-icon,
.melo-home-shipping
  .melo-btn-primary.melo-home-shipping-cta
  .melo-btn-shopify-icon {
  width: 22px !important;
  height: 22px !important;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
  transform: none !important;
}

.melo-home-shipping .melo-btn-primary.melo-home-shipping-cta svg {
  width: 20px !important;
  height: 20px !important;
  flex-shrink: 0;
  display: block;
  fill: currentColor;
  transform: none !important;
}

/* 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: clamp(36px, 4.5vw, 64px);
  width: auto;
  margin: 0;
  margin-left: calc(50% - 50vw + 20px);
  margin-right: calc(50% - 50vw + 20px);
  padding: 0;
}

.melo-home-shipping-logos-marquee {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 8%,
    #000 92%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 8%,
    #000 92%,
    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: 124px;
  height: 26px;
  object-fit: contain;
  filter: grayscale(1) brightness(0.28);
  opacity: 0.68;
  mix-blend-mode: multiply;
  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: 27px;
  height: 27px;
  border-radius: 50%;
  /* background: var(--hs-shopify); */
  color: #000000;
}

.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: 100%;
  max-width: 100%;
  margin: 0;
  padding: clamp(25px, 6vw, 29px) clamp(20px, 4vw, 40px) clamp(28px, 4vh, 40px);
  border-radius: 0;
  background: #161616;
  color: #fff;
  box-sizing: border-box;
  overflow-x: clip;
}

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

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

.melo-home-shipping + .melo-home-footer .melo-site-footer-landing,
.melo-home-shipping + .melo-home-footer .melo-site-footer-landing-bottom {
  max-width: 1180px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.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(32px, 4vw, 48px) 0 0;
  margin-top: 0;
  border-top: none;
  text-align: center;
}

.melo-home-shipping + .melo-home-footer .melo-site-footer-copyright {
  color: rgba(255, 255, 255, 0.55);
  font-size: 1.25rem;
  text-align: center;
}

.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(32px, 6vw, 44px) clamp(16px, 4vw, 24px)
      clamp(44px, 8vw, 56px);
    border-radius: 28px;
  }

  .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;
  }

  .melo-home-shipping-logos {
    margin-left: calc(50% - 50vw + 16px);
    margin-right: calc(50% - 50vw + 16px);
  }
}

@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: 36px;
    margin-bottom: 48px;
  }

  .melo-home-shipping-logos {
    margin-left: calc(50% - 50vw + 12px);
    margin-right: calc(50% - 50vw + 12px);
  }

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

  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;
  }
}

/* ============================================================
   Home EN — Direct Sales Landing Page (V2)
   Layout & information architecture inspired by etradepartner.io
   adapted to Melo's light palette, typography & green accents
   ============================================================ */

.melo-home-shipping-inner--en code {
  padding: 1px 6px;
  border-radius: 6px;
  border: 1px solid rgb(0 0 0 / 0.08);
  background: rgb(0 0 0 / 0.04);
  font-family: var(--melo-font-mono);
  font-size: 0.9em;
  color: var(--melo-text);
}

/* 1. HERO PANEL + 64x64 MASKED GRID + FLOATING TILES */
.melo-etp-hero {
  margin-bottom: 0;
}

.melo-etp-hero-panel {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  border: 1px solid rgb(0 0 0 / 0.07);
  background:
    radial-gradient(60% 50% at 50% 0%, rgb(0 219 91 / 0.08), transparent 70%),
    linear-gradient(180deg, #ffffff 0%, #f3f3f6 100%);
  padding: clamp(36px, 5vw, 64px) clamp(20px, 4vw, 48px) clamp(28px, 4vw, 48px);
  margin-left: calc(50% - 50vw + 20px);
  margin-right: calc(50% - 50vw + 20px);
}

.melo-etp-panel-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgb(0 0 0 / 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgb(0 0 0 / 0.045) 1px, transparent 1px);
  background-position: top center;
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(
    75% 65% at 50% 25%,
    #000 30%,
    transparent 80%
  );
  mask-image: radial-gradient(75% 65% at 50% 25%, #000 30%, transparent 80%);
}

.melo-etp-float-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: none;
}

@media (min-width: 1120px) {
  .melo-etp-float-layer {
    display: block;
  }
}

@keyframes melo-etp-float-tile {
  0%,
  100% {
    transform: translateY(0) rotate(var(--tilt, 0deg));
  }
  50% {
    transform: translateY(-9px) rotate(var(--tilt, 0deg));
  }
}

.melo-etp-float-tile {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-width: 96px;
  padding: 10px 12px;
  border-radius: 20px;
  border: 1px solid rgb(0 0 0 / 0.08);
  background: rgb(255 255 255 / 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow:
    0 1px 2px rgb(0 0 0 / 0.03),
    0 12px 28px rgb(0 0 0 / 0.06);
  animation: 7s ease-in-out infinite melo-etp-float-tile;
}

.melo-etp-float-tile--l1 {
  left: 4%;
  top: 14%;
}
.melo-etp-float-tile--l2 {
  left: 8%;
  top: 38%;
}
.melo-etp-float-tile--l3 {
  left: 3%;
  top: 60%;
}
.melo-etp-float-tile--r1 {
  right: 4%;
  top: 13%;
}
.melo-etp-float-tile--r2 {
  right: 8%;
  top: 37%;
}
.melo-etp-float-tile--r3 {
  right: 3%;
  top: 59%;
}

.melo-etp-float-pill {
  padding: 2px 7px;
  border-radius: 999px;
  background: #f0f0f4;
  font-family: var(--melo-font-mono);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--melo-text-muted);
}

.melo-etp-float-pill.is-green {
  background: rgb(0 219 91 / 0.15);
  color: #007a33;
}

.melo-etp-float-tile strong {
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--melo-text);
}

.melo-etp-float-tile small {
  font-size: 1.1rem;
  color: var(--melo-text-muted);
}

.melo-etp-hero-center {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.melo-etp-top-pill {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 auto 22px;
  padding: 5px 14px 5px 6px;
  border-radius: 999px;
  border: 1px solid rgb(0 0 0 / 0.09);
  background: rgb(255 255 255 / 0.85);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.03);
  font-size: 1.28rem;
  color: var(--melo-text-muted);
}

.melo-etp-top-pill-badge {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--hs-shopify);
  color: #fff;
  font-size: 1.18rem;
  font-weight: 600;
}

.melo-etp-top-pill-divider {
  width: 1px;
  height: 14px;
  background: rgb(0 0 0 / 0.12);
}

@media (max-width: 639px) {
  .melo-etp-top-pill-divider {
    display: none;
  }
}

.melo-etp-eyebrow {
  margin: 0 0 12px;
  font-family: var(--melo-font-mono);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--melo-text-muted);
}

body.melo-body .melo-etp-hero-title {
  max-width: 14.5em;
  margin: 0 auto 20px;
}

.melo-etp-hero-lead {
  max-width: 38em;
  margin: 0 auto 30px;
}

.melo-etp-hero-actions {
  gap: 12px;
}

/* ETP Discover Pill Button (adapted to Melo dark + Shopify green fill) */
.melo-etp-discover-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 48px;
  border-radius: 999px;
  background: #161616;
  color: #fff;
  font-size: 1.4rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-decoration: none;
  box-shadow:
    0 1px 2px rgb(0 0 0 / 0.1),
    0 8px 20px rgb(0 0 0 / 0.14);
}

.melo-etp-discover-btn:hover {
  opacity: 1;
}

.melo-etp-discover-btn__fill {
  position: absolute;
  inset: 4px auto 4px 4px;
  width: 40px;
  border-radius: inherit;
  background: var(--hs-shopify);
  transition: width 0.48s cubic-bezier(0.65, 0, 0.076, 1);
}

.melo-etp-discover-btn__icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  color: #fff;
  transition: transform 0.48s cubic-bezier(0.65, 0, 0.076, 1);
}

.melo-etp-discover-btn__text {
  position: relative;
  z-index: 1;
  padding: 0 22px 0 6px;
  color: #fff;
  transition: color 0.32s;
}

.melo-etp-discover-btn:hover .melo-etp-discover-btn__fill,
.melo-etp-discover-btn:focus-visible .melo-etp-discover-btn__fill {
  width: calc(100% - 8px);
}

.melo-etp-discover-btn:hover .melo-etp-discover-btn__icon,
.melo-etp-discover-btn:focus-visible .melo-etp-discover-btn__icon {
  transform: translateX(4px);
}

.melo-etp-ghost-btn {
  border: 1px solid rgb(0 0 0 / 0.12);
  background: rgb(255 255 255 / 0.9);
  color: var(--melo-text);
  box-shadow: 0 2px 8px rgb(0 0 0 / 0.04);
}

.melo-etp-ghost-btn:hover {
  border-color: rgb(0 0 0 / 0.22);
  background: #fff;
  opacity: 1;
}

/* Quick Proof Inline Checkmarks (etradepartner style) */
.melo-etp-trust-checks {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 22px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  font-size: 1.32rem;
  font-weight: 500;
  color: var(--melo-text-muted);
}

.melo-etp-trust-checks li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.melo-etp-trust-checks svg {
  width: 15px;
  height: 15px;
  color: #00963c;
  flex-shrink: 0;
}

.melo-etp-trust-stars {
  color: var(--hs-shopify);
  font-size: 1.3rem;
  letter-spacing: 1px;
}

/* Hero Bottom Stage Card */
.melo-etp-hero-stage {
  position: relative;
  z-index: 2;
  max-width: 780px;
  margin: clamp(32px, 4.5vw, 48px) auto 0;
}

.melo-etp-hero-stage-card {
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgb(0 0 0 / 0.08);
  background: #fff;
  box-shadow:
    0 1px 2px rgb(0 0 0 / 0.03),
    0 20px 48px rgb(0 0 0 / 0.08);
}

.melo-etp-hero-stage-chrome {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-bottom: 1px solid rgb(0 0 0 / 0.07);
  background: #f8f7f4;
}

.melo-etp-hero-stage-url {
  font-family: var(--melo-font-mono);
  font-size: 1.15rem;
  color: var(--melo-text-subtle);
}

.melo-etp-hero-stage-tag {
  margin-left: auto;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgb(0 219 91 / 0.14);
  color: #007a33;
  font-family: var(--melo-font-mono);
  font-size: 1.1rem;
  font-weight: 600;
}

.melo-etp-hero-stage-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 768px) {
  .melo-etp-hero-stage-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.melo-etp-hero-stage-col {
  padding: 20px;
  text-align: left;
}

.melo-etp-hero-stage-col--rules {
  border-top: 1px solid rgb(0 0 0 / 0.07);
  background: #fafafa;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .melo-etp-hero-stage-col--rules {
    border-top: 0;
    border-left: 1px solid rgb(0 0 0 / 0.07);
  }
}

.melo-etp-stage-label {
  margin: 0 0 10px;
  font-family: var(--melo-font-mono);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--melo-text-subtle);
}

.melo-etp-stage-address {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgb(0 0 0 / 0.07);
  background: #f8f7f4;
}

.melo-etp-stage-address strong {
  display: block;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--melo-text);
}

.melo-etp-stage-address span {
  font-size: 1.2rem;
  color: var(--melo-text-muted);
}

.melo-etp-stage-match {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgb(0 219 91 / 0.14);
  color: #007a33 !important;
  font-family: var(--melo-font-mono);
  font-size: 1.1rem !important;
  font-weight: 600;
  white-space: nowrap;
}

.melo-etp-stage-methods {
  display: grid;
  gap: 8px;
}

.melo-etp-stage-method {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgb(0 0 0 / 0.09);
  background: #fff;
}

.melo-etp-stage-method.is-selected {
  border-color: rgb(0 219 91 / 0.55);
  background: rgb(0 219 91 / 0.04);
}

.melo-etp-stage-method.is-hidden {
  border-style: dashed;
  border-color: rgb(0 0 0 / 0.12);
  background: #fafafa;
  color: var(--melo-text-subtle);
}

.melo-etp-stage-radio {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid rgb(0 0 0 / 0.25);
  background: #fff;
}

.melo-etp-stage-radio.is-on {
  border: 4.5px solid var(--hs-shopify);
}

.melo-etp-stage-method-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.melo-etp-stage-method-copy strong {
  font-size: 1.3rem;
  font-weight: 600;
}

.melo-etp-stage-method.is-hidden .melo-etp-stage-method-copy strong {
  text-decoration: line-through;
  color: var(--melo-text-subtle);
}

.melo-etp-stage-method-copy span {
  font-size: 1.15rem;
  color: var(--melo-text-muted);
}

.melo-etp-stage-method b {
  font-family: var(--melo-font-mono);
  font-size: 1.3rem;
  font-weight: 600;
}

.melo-etp-stage-method.is-hidden b {
  font-size: 1.1rem;
  color: var(--melo-text-subtle);
}

.melo-etp-stage-rule-list {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  display: grid;
  gap: 8px;
}

.melo-etp-stage-rule-list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgb(0 0 0 / 0.07);
  background: #fff;
  font-size: 1.25rem;
}

.melo-etp-stage-rule-list li span {
  color: var(--melo-text-muted);
}

.melo-etp-stage-rule-list li strong {
  font-family: var(--melo-font-mono);
  font-weight: 600;
  color: var(--melo-text);
}

/* 2. STATS / AT A GLANCE STRIP (etradepartner #company) */
.melo-etp-stats {
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(28px, 4vw, 48px) 0;
}

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

.melo-etp-stat-cell {
  padding: 12px 16px;
  text-align: center;
}

.melo-etp-stat-cell + .melo-etp-stat-cell {
  border-left: 1px solid rgb(0 0 0 / 0.09);
}

.melo-etp-stat-value {
  margin: 0;
  font-size: clamp(2.6rem, 2rem + 2vw, 4.4rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--melo-text);
}

.melo-etp-stat-label {
  margin: 8px 0 0;
  font-size: clamp(1.2rem, 1.1rem + 0.2vw, 1.4rem);
  color: var(--melo-text-muted);
}

@media (max-width: 560px) {
  .melo-etp-stat-cell {
    padding: 8px 6px;
  }
  .melo-etp-stat-value {
    font-size: 2.2rem;
  }
  .melo-etp-stat-label {
    font-size: 1.12rem;
  }
}

/* 3. DOT-GRID PLATFORM SECTION & SPOTLIGHT CARDS (etradepartner #platform) */
.melo-hs-en-sections {
  gap: clamp(64px, 8vw, 104px);
}

.melo-etp-platform {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: clamp(56px, 7vw, 88px) clamp(20px, 4vw, 40px);
  border-top: 1px solid rgb(0 0 0 / 0.07);
  border-bottom: 1px solid rgb(0 0 0 / 0.07);
  background-color: #fafafa;
  background-image: radial-gradient(rgb(0 0 0 / 0.08) 1px, transparent 1px);
  background-size: 18px 18px;
}

.melo-etp-platform-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.melo-etp-section-head {
  max-width: 44em;
  margin: 0 auto clamp(32px, 4vw, 48px);
  text-align: center;
}

.melo-etp-mono-kicker {
  margin: 0 0 10px;
  font-family: var(--melo-font-mono);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--melo-text-muted);
}

body.melo-body .melo-etp-section-title {
  margin: 0;
  font-family: var(--melo-font-body);
  font-size: clamp(2.6rem, 1.8rem + 1.5vw, 3.8rem);
  font-weight: 600;
  letter-spacing: -0.038em;
  line-height: 1.12;
  color: var(--melo-text);
}

.melo-etp-spotlight-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}

@media (min-width: 860px) {
  .melo-etp-spotlight-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }
}

.melo-etp-spotlight-card {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid rgb(0 0 0 / 0.08);
  background: #fff;
  box-shadow:
    0 1px 2px rgb(0 0 0 / 0.02),
    0 10px 28px rgb(0 0 0 / 0.04);
}

.melo-etp-spotlight-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(
    300px circle at var(--mx, 50%) var(--my, 0%),
    rgb(0 219 91 / 0.1),
    transparent 70%
  );
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.melo-etp-spotlight-card:hover::before {
  opacity: 1;
}

.melo-etp-spotlight-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 236px;
  padding: 24px;
  border-bottom: 1px solid rgb(0 0 0 / 0.07);
  background: linear-gradient(180deg, #f3f3f6 0%, #ffffff 100%);
}

.melo-etp-mini-ui {
  width: 100%;
  max-width: 400px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgb(0 0 0 / 0.08);
  background: #fff;
  box-shadow: 0 10px 26px rgb(0 0 0 / 0.06);
}

.melo-etp-mini-ui-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
  padding: 0 2px;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--melo-text);
}

.melo-etp-mini-badge {
  padding: 2px 8px;
  border-radius: 999px;
  background: #f0f0f4;
  font-family: var(--melo-font-mono);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--melo-text-muted);
}

.melo-etp-mini-badge.is-green {
  background: rgb(0 219 91 / 0.15);
  color: #007a33;
}

.melo-etp-mini-rows {
  display: grid;
  gap: 6px;
}

.melo-etp-mini-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 11px;
  border-radius: 12px;
  border: 1px solid rgb(0 0 0 / 0.08);
  background: #fff;
  font-size: 1.2rem;
  color: var(--melo-text);
}

.melo-etp-mini-row.is-active {
  border-color: rgb(0 219 91 / 0.5);
  background: rgb(0 219 91 / 0.04);
}

.melo-etp-mini-row.is-hidden {
  border-style: dashed;
  border-color: rgb(0 0 0 / 0.14);
  background: #fafafa;
  color: var(--melo-text-subtle);
}

.melo-etp-mini-row-left {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.melo-etp-mini-row-left em {
  font-style: normal;
  color: #007a33;
  font-weight: 500;
}

.melo-etp-mini-row-left .is-strike {
  text-decoration: line-through;
}

.melo-etp-mini-radio {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1.5px solid rgb(0 0 0 / 0.25);
  flex-shrink: 0;
}

.melo-etp-mini-radio.is-on {
  border: 4px solid var(--hs-shopify);
}

.melo-etp-mini-row-note {
  font-family: var(--melo-font-mono);
  font-size: 1.08rem;
  color: var(--melo-text-muted);
  white-space: nowrap;
}

.melo-etp-mini-plans {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.melo-etp-mini-plan {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 6px;
  border-radius: 12px;
  border: 1px solid rgb(0 0 0 / 0.07);
  background: #fafafa;
  text-align: center;
}

.melo-etp-mini-plan.is-highlight {
  border-color: rgb(0 219 91 / 0.5);
  background: rgb(0 219 91 / 0.06);
}

.melo-etp-mini-plan strong {
  font-size: 1.2rem;
  font-weight: 600;
}

.melo-etp-mini-check {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--hs-shopify);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
}

.melo-etp-mini-plan small {
  font-size: 1rem;
  color: var(--melo-text-muted);
}

.melo-etp-mono-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 7px 10px;
  border-radius: 10px;
  border: 1px solid rgb(0 0 0 / 0.08);
  background: #f5f5f7;
  font-family: var(--melo-font-mono);
  font-size: 1.1rem;
  color: var(--melo-text);
}

.melo-etp-mono-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--hs-shopify);
  flex-shrink: 0;
}

.melo-etp-spotlight-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(22px, 3vw, 28px);
}

body.melo-body .melo-etp-card-title {
  margin: 0;
  font-family: var(--melo-font-body);
  font-size: clamp(1.85rem, 1.5rem + 0.5vw, 2.2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.22;
  color: var(--melo-text);
}

.melo-etp-card-subtitle {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.4;
  color: #007a33;
}

.melo-etp-card-text {
  margin: 0;
  font-size: 1.4rem;
  line-height: 1.58;
  color: var(--melo-text-muted);
}

.melo-hs-en-points {
  margin: 4px 0 0;
  gap: 10px;
}

.melo-hs-en-points li::before {
  background: var(--hs-shopify);
  width: 6px;
  height: 6px;
}

/* 4. NATIVE ARCHITECTURE HUB (3x3 Hub & Spoke with Scroll Reveal & Mint Highlights) */
.melo-arch-head {
  text-align: center;
}

.melo-arch-head .melo-etp-section-title {
  margin: 0 auto;
}

.melo-arch-head .melo-etp-section-sub {
  margin: 12px auto 0;
  max-width: 620px;
  text-align: center;
  color: #64748b;
  font-size: 1.45rem;
  line-height: 1.5;
}

.melo-arch-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
  max-width: 1040px;
  margin: clamp(36px, 5vw, 56px) auto 0;
}

.melo-arch-card:nth-child(1) {
  grid-column: span 7;
}

.melo-arch-card:nth-child(2) {
  grid-column: span 5;
}

.melo-arch-card:nth-child(3) {
  grid-column: span 5;
}

.melo-arch-card:nth-child(4) {
  grid-column: span 7;
}

.melo-arch-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 3.4vw, 38px);
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #ffffff;
  box-shadow:
    0 1px 2px 0 rgba(0, 0, 0, 0.02),
    0 6px 18px -4px rgba(0, 0, 0, 0.03);
  cursor: default;
}

.melo-arch-card:hover {
  transform: none !important;
  box-shadow:
    0 1px 2px 0 rgba(0, 0, 0, 0.02),
    0 6px 18px -4px rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.08);
}

.melo-arch-card-icon {
  display: flex;
  align-items: center;
  color: var(--hs-shopify, #00db5b);
  margin-bottom: clamp(18px, 2.2vw, 24px);
  flex-shrink: 0;
}

.melo-arch-card-icon svg {
  width: 26px;
  height: 26px;
  display: block;
}

.melo-arch-card-title {
  margin: 0 0 10px;
  font-family: var(--melo-font-body);
  font-size: clamp(1.75rem, 1.55rem + 0.35vw, 1.95rem);
  font-weight: 600;
  color: #09090b;
  letter-spacing: -0.028em;
  line-height: 1.25;
}

.melo-arch-card--wide .melo-arch-card-title {
  font-size: clamp(1.85rem, 1.62rem + 0.4vw, 2.1rem);
  letter-spacing: -0.03em;
}

.melo-arch-card-desc {
  margin: 0;
  font-size: 1.42rem;
  color: #52525b;
  line-height: 1.62;
  font-weight: 400;
}

.melo-arch-card-desc code {
  padding: 2px 6px;
  border-radius: 5px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: #f4f4f5;
  color: #18181b;
  font-family: var(--melo-font-mono);
  font-size: 0.9em;
  font-weight: 500;
}

/* Staggered scroll-reveal entrance (smooth, subtle) */
.melo-hs-en-reveal .melo-arch-card {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.5s ease,
    transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.melo-hs-en-reveal.is-revealed .melo-arch-card {
  opacity: 1;
  transform: translateY(0);
}

.melo-hs-en-reveal.is-revealed .melo-arch-card:nth-child(1) {
  transition-delay: 0.05s;
}
.melo-hs-en-reveal.is-revealed .melo-arch-card:nth-child(2) {
  transition-delay: 0.12s;
}
.melo-hs-en-reveal.is-revealed .melo-arch-card:nth-child(3) {
  transition-delay: 0.19s;
}
.melo-hs-en-reveal.is-revealed .melo-arch-card:nth-child(4) {
  transition-delay: 0.26s;
}

@media (min-width: 641px) and (max-width: 900px) {
  .melo-arch-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    max-width: 760px;
  }

  .melo-arch-card:nth-child(1),
  .melo-arch-card:nth-child(2),
  .melo-arch-card:nth-child(3),
  .melo-arch-card:nth-child(4) {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .melo-arch-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .melo-arch-card:nth-child(1),
  .melo-arch-card:nth-child(2),
  .melo-arch-card:nth-child(3),
  .melo-arch-card:nth-child(4) {
    grid-column: auto;
  }

  .melo-arch-card {
    padding: 22px 20px;
  }
}

/* 5. MERCHANT PROOF CARDS */
.melo-hs-en-reviews {
  margin-top: 0;
}

.melo-hs-en-reviews-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  max-width: 920px;
  margin: 0 auto;
  width: 100%;
}

@media (min-width: 768px) {
  .melo-hs-en-reviews-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.melo-etp-review-card {
  display: flex;
  padding: 26px;
  border-radius: 26px;
  border: 1px solid rgb(0 0 0 / 0.08);
  background: #fff;
  box-shadow:
    0 1px 2px rgb(0 0 0 / 0.02),
    0 10px 28px rgb(0 0 0 / 0.04);
}

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

.melo-etp-review-card .melo-hs-review-star {
  width: 18px;
  height: 18px;
}

.melo-etp-review-text {
  margin: 6px 0 12px;
  font-size: 1.5rem;
  line-height: 1.55;
  color: var(--melo-text);
}

.melo-etp-review-footer {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgb(0 0 0 / 0.06);
}

/* 6. FAQ (EN) */
.melo-etp-faq .melo-etp-section-head {
  margin-bottom: 12px;
}

/* 7. BOTTOM CALL TO ACTION PANEL (Inset white island inside dark footer) */
.melo-etp-bottom-cta {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto clamp(48px, 6vw, 72px);
}

.melo-etp-bottom-cta-panel {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgb(0 0 0 / 0.08);
  background:
    radial-gradient(60% 50% at 50% 0%, rgb(0 219 91 / 0.08), transparent 70%),
    linear-gradient(180deg, #ffffff 0%, #f7f7fa 100%);
  padding: clamp(52px, 7vw, 84px) clamp(24px, 4vw, 48px);
  box-shadow: 0 4px 28px rgba(0, 0, 0, 0.22);
}

.melo-etp-bottom-cta-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  max-width: 680px;
  margin: 0 auto;
}

body.melo-body .melo-etp-bottom-cta-title {
  margin: 0;
  font-family: var(--melo-font-body);
  font-size: clamp(2.6rem, 2rem + 1.2vw, 3.8rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.15;
  color: #111111;
}

.melo-etp-bottom-cta-lead {
  margin: 0 0 8px;
  max-width: 36em;
  font-size: clamp(1.4rem, 1.25rem + 0.2vw, 1.55rem);
  line-height: 1.55;
  color: #666666;
}

.melo-etp-bottom-cta .melo-home-shipping-actions {
  display: flex;
  justify-content: center;
  margin: 6px 0;
}

.melo-etp-bottom-cta .melo-etp-discover-btn,
.melo-etp-bottom-cta-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  height: 38px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgb(255 255 255 / 0.16);
  font-family: var(--melo-font-body);
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  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%);
  text-decoration: none;
  white-space: nowrap;
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.48),
    inset 0 -1px 0 rgb(0 0 0 / 0.6),
    0 2px 4px rgb(0 0 0 / 0.14),
    0 6px 16px rgb(0 0 0 / 0.22);
  transition:
    background 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
  -webkit-font-smoothing: antialiased;
}

.melo-etp-bottom-cta .melo-etp-discover-btn:hover,
.melo-etp-bottom-cta-btn: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: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.55),
    inset 0 -1px 0 rgb(0 0 0 / 0.55),
    0 4px 8px rgb(0 0 0 / 0.18),
    0 10px 22px rgb(0 0 0 / 0.26);
}

.melo-etp-bottom-cta .melo-etp-discover-btn:active,
.melo-etp-bottom-cta-btn: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);
}

.melo-etp-bottom-cta .melo-etp-discover-btn__fill {
  display: none !important;
}

.melo-etp-bottom-cta .melo-etp-discover-btn__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: #fff;
  transform: none !important;
}

.melo-etp-bottom-cta .melo-etp-discover-btn__icon img,
.melo-etp-bottom-cta .melo-etp-discover-btn__icon svg {
  width: 16px;
  height: 16px;
  display: block;
}

.melo-etp-bottom-cta .melo-etp-discover-btn__text {
  padding: 0;
  color: #fff;
  line-height: 1;
}

.melo-etp-bottom-cta-note {
  margin: 8px 0 0;
  font-family: var(--melo-font-body);
  font-size: 1.22rem;
  color: #888888;
}

@media (prefers-reduced-motion: reduce) {
  .melo-etp-float-tile {
    animation: none;
  }
  .melo-etp-discover-btn__fill,
  .melo-etp-discover-btn__icon,
  .melo-etp-discover-btn__text,
  .melo-etp-feat-btn::before,
  .melo-etp-feat-btn-arrow svg {
    transition: none;
  }
}

/* ============================================================
   Interactive 3D Planet Stage (etradepartner hero bottom globe)
   ============================================================ */

.melo-etp-hero-panel {
  border-radius: 32px 32px 0 0;
  border-bottom: 1px solid rgb(0 0 0 / 0.1);
  padding-bottom: 0;
}

.melo-etp-globe-stage {
  position: relative;
  z-index: 2;
  width: 100%;
  margin-top: clamp(20px, 3vw, 36px);
  overflow: visible;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.melo-etp-globe-container {
  position: relative;
  width: clamp(340px, 86vw, 920px);
  aspect-ratio: 1 / 1;
  margin-bottom: -24%;
  pointer-events: none;
  isolation: isolate;
  overflow: visible;
}

.melo-etp-globe-halo {
  position: absolute;
  inset: 5%;
  border-radius: 50%;
  background: radial-gradient(
    circle at 50% 42%,
    #ffffff 0%,
    #f9fafb 56%,
    #eef0f5 84%,
    #e2e5ee 100%
  );
  box-shadow:
    0 0 0 1px rgb(0 0 0 / 0.07),
    0 0 48px 6px rgb(0 0 0 / 0.06),
    0 0 88px 16px rgb(0 219 91 / 0.08),
    inset 0 0 36px rgb(0 0 0 / 0.04);
  z-index: 0;
  pointer-events: none;
}

.melo-etp-globe-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  background: transparent;
  z-index: 1;
  pointer-events: none;
  touch-action: pan-y;
}

.melo-etp-globe-canvas.is-draggable {
  pointer-events: auto;
  cursor: grab;
}

.melo-etp-globe-canvas.is-draggable:active {
  cursor: grabbing;
}

.melo-etp-globe-badge {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 136px;
  padding: 9px 14px;
  margin-left: -148px;
  margin-top: -26px;
  border-radius: 12px;
  border: 1px solid rgb(255 255 255 / 0.14);
  background: rgb(22 22 26 / 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow:
    0 8px 24px rgb(0 0 0 / 0.18),
    0 1px 2px rgb(0 0 0 / 0.12);
  color: #fff;
  text-align: left;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.28s ease;
  will-change: transform, opacity;
}

.melo-etp-globe-badge.is-visible {
  opacity: 1;
}

.melo-etp-globe-badge-city {
  font-size: 1.32rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #ffffff;
}

.melo-etp-globe-badge-sub {
  font-size: 1.14rem;
  line-height: 1.25;
  color: rgb(255 255 255 / 0.68);
}

@media (max-width: 639px) {
  .melo-etp-globe-container {
    width: min(92vw, 420px);
    margin-bottom: -22%;
  }

  .melo-etp-globe-badge {
    min-width: 116px;
    padding: 7px 11px;
    margin-left: -110px;
    margin-top: -22px;
  }

  .melo-etp-globe-badge-city {
    font-size: 1.18rem;
  }

  .melo-etp-globe-badge-sub {
    font-size: 1.04rem;
  }
}

/* Light / white sphere overrides */
.melo-etp-globe-halo {
  background: radial-gradient(
    circle at 46% 38%,
    #ffffff 0%,
    #ffffff 68%,
    #fafafc 90%,
    #f4f5f8 100%
  );
  box-shadow:
    0 10px 28px rgb(20 20 28 / 0.08),
    0 3px 10px rgb(20 20 28 / 0.05);
}

.melo-etp-globe-container.is-globe-ready .melo-etp-globe-halo {
  background: transparent;
  box-shadow: none;
}

.melo-etp-globe-canvas {
  filter: drop-shadow(0 10px 28px rgb(20 20 28 / 0.1))
    drop-shadow(0 3px 10px rgb(20 20 28 / 0.06));
}

.melo-etp-globe-badge {
  border: 1px solid rgb(0 0 0 / 0.08);
  background: rgb(255 255 255 / 0.94);
  box-shadow:
    0 8px 24px rgb(20 20 28 / 0.08),
    0 1px 2px rgb(20 20 28 / 0.05);
  color: var(--melo-text);
}

.melo-etp-globe-badge-city {
  color: var(--melo-text);
}

.melo-etp-globe-badge-sub {
  color: var(--melo-text-muted);
}

/* ============================================================
   Hero cover layout exact match (flush top, white grid, compact spacing)
   ============================================================ */

.melo-home-shipping-inner--en {
  padding-top: 0;
}

.melo-etp-hero-panel {
  border: 0;
  border-bottom: 1px solid rgb(0 0 0 / 0.08);
  border-radius: 0;
  background: #ffffff;
  padding: clamp(96px, 11.5vh, 114px) clamp(20px, 4vw, 48px) 0;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.melo-etp-panel-grid {
  background-image:
    linear-gradient(rgb(0 0 0 / 0.038) 1px, transparent 1px),
    linear-gradient(90deg, rgb(0 0 0 / 0.038) 1px, transparent 1px);
  background-position: top center;
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(
    85% 78% at 50% 38%,
    #000 35%,
    transparent 88%
  );
  mask-image: radial-gradient(85% 78% at 50% 38%, #000 35%, transparent 88%);
}

.melo-etp-top-pill {
  gap: 10px;
  margin: 0 auto 24px;
  padding: 4px 14px 4px 5px;
  border: 1px solid rgb(0 0 0 / 0.09);
  background: #ffffff;
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.03);
}

.melo-etp-top-pill-badge {
  padding: 4px 11px;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.2;
}

.melo-etp-top-pill-text {
  font-size: 1.28rem;
  font-weight: 500;
  color: #666666;
}

body.melo-body .melo-etp-hero-title {
  max-width: 12.2em;
  margin: 0 auto 20px;
}

.melo-etp-hero-lead {
  max-width: 39em;
  margin: 0 auto 28px;
}

.melo-etp-float-tile--l1 {
  left: 4.5%;
  top: 18%;
}
.melo-etp-float-tile--l2 {
  left: 8.5%;
  top: 43%;
}
.melo-etp-float-tile--l3 {
  left: 4%;
  top: 64%;
}
.melo-etp-float-tile--r1 {
  right: 4.5%;
  top: 17%;
}
.melo-etp-float-tile--r2 {
  right: 8.5%;
  top: 42%;
}
.melo-etp-float-tile--r3 {
  right: 4%;
  top: 63%;
}

.melo-etp-globe-stage {
  margin-top: clamp(18px, 2.2vw, 28px);
}

.melo-etp-globe-container {
  width: clamp(320px, 56vw, 680px);
  margin-bottom: -28%;
}

/* ============================================================
   Full-screen 100dvh Hero + Full Planet Body + Non-interactive + No Mobile Globe
   ============================================================ */

.melo-etp-globe-canvas,
.melo-etp-globe-canvas.is-draggable,
.melo-etp-globe-canvas.is-draggable:active {
  pointer-events: none !important;
  cursor: default !important;
}

.melo-etp-globe-badge {
  min-width: 112px;
  padding: 7px 12px;
  margin-left: -56px;
  margin-top: -42px;
}

@media (min-width: 768px) {
  .melo-etp-hero-panel {
    height: 100vh;
    height: 100dvh;
    min-height: 620px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: clamp(72px, 8.8vh, 96px) clamp(20px, 4vw, 48px) 0;
  }

  .melo-etp-hero-center {
    flex-shrink: 0;
  }

  .melo-etp-top-pill {
    margin: 0 auto clamp(10px, 1.5vh, 18px);
  }

  .melo-etp-eyebrow {
    margin: 0 0 clamp(6px, 0.9vh, 10px);
    font-size: clamp(1rem, 1.25vh, 1.15rem);
  }

  body.melo-body .melo-etp-hero-title {
    font-size: clamp(3rem, 5vh, 5.2rem);
    margin: 0 auto clamp(10px, 1.4vh, 16px);
    max-width: 12.2em;
  }

  .melo-etp-hero-lead {
    font-size: clamp(1.32rem, 1.6vh, 1.56rem);
    line-height: 1.48;
    margin: 0 auto clamp(14px, 2vh, 22px);
    max-width: 39em;
  }

  .melo-etp-discover-btn,
  .melo-etp-ghost-btn {
    height: clamp(42px, 4.8vh, 48px);
    min-height: clamp(42px, 4.8vh, 48px);
  }

  .melo-etp-discover-btn__icon {
    width: clamp(42px, 4.8vh, 48px);
    height: clamp(42px, 4.8vh, 48px);
  }

  .melo-etp-globe-stage {
    flex: 1 1 auto;
    min-height: 0;
    margin-top: clamp(8px, 1.2vh, 16px);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: visible;
  }

  .melo-etp-globe-container {
    --globe-size: min(60vw, 57vh);
    width: var(--globe-size);
    height: var(--globe-size);
    aspect-ratio: 1 / 1;
    margin-bottom: calc(var(--globe-size) * -0.155);
  }
}

/* ============================================================
   Mobile Hero (English & Universal Viewport Refinements)
   Optimized spacing, balanced typography, and symmetrical CTA buttons
   ============================================================ */

@media (max-width: 768px) {
  .melo-etp-hero-panel {
    height: auto;
    min-height: 0;
    padding: clamp(118px, 15vh, 136px) 18px 42px;
  }

  .melo-etp-globe-stage {
    display: none !important;
  }

  /* ------------------------------------------------------------
     Disable all section scroll & entrance animations on Mobile.
     All sections & cards render immediately without effects.
     ------------------------------------------------------------ */
  .melo-home-shipping--scroll-reveal .melo-home-shipping-reveal,
  .melo-home-shipping--scroll-reveal
    .melo-home-shipping-reveal:not(.is-revealed),
  .melo-home-shipping--scroll-reveal .melo-home-shipping-reveal.is-revealed,
  .melo-hs-en-reveal,
  .melo-hs-en-reveal .melo-arch-card,
  .melo-hs-en-reveal.is-revealed .melo-arch-card,
  .melo-home-shipping-hero-layout,
  .melo-home-shipping-title,
  .melo-home-shipping-title-line,
  .melo-home-shipping-lead,
  .melo-home-shipping-actions,
  .melo-home-shipping-badge,
  .melo-home-shipping-checkout,
  .melo-home-shipping-peek,
  .melo-home-shipping-chip,
  .melo-etp-feat-row,
  .melo-etp-feat-row.melo-fx,
  .melo-etp-feat-row.melo-fx:not(.is-in) .melo-etp-feat-tag,
  .melo-etp-feat-row.melo-fx:not(.is-in) .melo-etp-feat-title,
  .melo-etp-feat-row.melo-fx:not(.is-in) .melo-etp-feat-desc,
  .melo-etp-feat-row.melo-fx:not(.is-in) .melo-etp-feat-subitem,
  .melo-etp-feat-row.melo-fx:not(.is-in) .melo-etp-feat-action,
  .melo-etp-feat-row.melo-fx:not(.is-in) .melo-etp-feat-visual-wrap,
  .melo-etp-feat-row.melo-fx:not(.is-in) .melo-etp-feat-ui-card,
  .melo-etp-feat-row.melo-fx:not(.is-in) .melo-etp-feat-backdrop-card,
  .melo-etp-feat-row.melo-fx.is-in .melo-etp-feat-tag,
  .melo-etp-feat-row.melo-fx.is-in .melo-etp-feat-title,
  .melo-etp-feat-row.melo-fx.is-in .melo-etp-feat-desc,
  .melo-etp-feat-row.melo-fx.is-in .melo-etp-feat-subitem,
  .melo-etp-feat-row.melo-fx.is-in .melo-etp-feat-action,
  .melo-etp-feat-row.melo-fx.is-in .melo-etp-feat-visual-wrap,
  .melo-etp-feat-row.melo-fx.is-in .melo-etp-feat-ui-card,
  .melo-etp-feat-row.melo-fx.is-in .melo-etp-feat-backdrop-card {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
    pointer-events: auto !important;
  }
}

@media (max-width: 639px) {
  .melo-etp-hero-panel {
    padding: clamp(114px, 14.5vh, 128px) 16px 36px;
  }

  .melo-etp-hero-center {
    width: 100%;
    max-width: 100%;
    padding: 0;
  }

  /* 1. Top status pill: compact and balanced */
  .melo-etp-top-pill {
    gap: 8px;
    margin: 0 auto 16px;
    padding: 4px 12px 4px 5px;
    font-size: 1.15rem;
  }

  .melo-etp-top-pill-badge {
    padding: 2.5px 8px;
    font-size: 1.05rem;
    line-height: 1.2;
  }

  .melo-etp-top-pill-text {
    font-size: 1.12rem;
  }

  /* 2. Eyebrow: balanced line length and readable spacing */
  .melo-etp-eyebrow {
    margin: 0 auto 14px;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    line-height: 1.35;
    max-width: 290px;
    text-wrap: balance;
  }

  /* 3. Hero title: comfortable font size, line-height, and breathing room */
  body.melo-body .melo-home-shipping-title,
  body.melo-body .melo-etp-hero-title {
    max-width: 100%;
    margin: 0 auto 16px;
    font-size: clamp(2.3rem, 6.4vw, 2.8rem);
    line-height: 1.22;
    letter-spacing: -0.025em;
    text-wrap: balance;
  }

  .melo-home-shipping-title-mark {
    margin: 0 0.04em;
    padding: 0.04em 0.22em 0.08em;
    border-radius: 6px;
    line-height: 1.12;
  }

  /* 4. Hero description / lead: lighter and comfortable to read */
  .melo-home-shipping-lead,
  .melo-etp-hero-lead {
    font-size: clamp(1.3rem, 3.4vw, 1.38rem);
    line-height: 1.55;
    letter-spacing: -0.01em;
    max-width: 32em;
    margin: 0 auto 24px;
    color: var(--melo-text-muted);
    text-wrap: pretty;
  }

  /* 5. Centered primary action button */
  .melo-home-shipping-actions.melo-etp-hero-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }

  .melo-home-shipping-actions.melo-etp-hero-actions
    .melo-btn-primary.melo-home-shipping-cta {
    width: auto;
    max-width: calc(100vw - 32px);
    height: 48px;
    padding: 0 20px;
    font-size: 1.3rem;
  }

  .melo-etp-hero-actions .melo-etp-discover-btn,
  .melo-etp-hero-actions .melo-etp-ghost-btn {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    box-sizing: border-box !important;
    border-radius: 999px !important;
    font-size: 1.34rem !important;
    margin: 0 !important;
  }

  .melo-etp-hero-actions .melo-etp-discover-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0;
  }

  .melo-etp-hero-actions .melo-etp-discover-btn__icon {
    position: absolute;
    left: 4px;
    top: 4px;
    width: 40px;
    height: 40px;
    margin: 0;
    flex-shrink: 0;
    pointer-events: none;
  }

  .melo-etp-hero-actions .melo-etp-discover-btn__fill {
    inset: 4px auto 4px 4px;
    width: 40px;
    height: 40px;
    border-radius: 999px;
  }

  .melo-etp-hero-actions
    .melo-etp-discover-btn:hover
    .melo-etp-discover-btn__fill,
  .melo-etp-hero-actions
    .melo-etp-discover-btn:focus-visible
    .melo-etp-discover-btn__fill {
    width: calc(100% - 8px);
  }

  .melo-etp-hero-actions .melo-etp-discover-btn__text {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0 16px 0 44px;
    font-size: 1.32rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .melo-etp-hero-actions .melo-etp-ghost-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    gap: 8px;
    padding: 0 20px;
  }
}

@media (max-width: 380px) {
  body.melo-body .melo-home-shipping-title,
  body.melo-body .melo-etp-hero-title {
    font-size: 2.2rem;
    line-height: 1.24;
  }

  .melo-etp-hero-panel {
    padding: clamp(108px, 14vh, 122px) 12px 32px;
  }

  .melo-home-shipping-actions.melo-etp-hero-actions {
    max-width: 100%;
  }

  .melo-etp-hero-actions .melo-etp-discover-btn__text {
    font-size: 1.25rem;
    padding: 0 12px 0 42px;
  }
}

/* ============================================================
   Fixed Upper-Half Dome Planet (larger diameter, 50% top dome only)
   ============================================================ */

@media (min-width: 768px) {
  .melo-etp-hero-panel {
    height: 100vh;
    height: 100dvh;
    min-height: 680px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: clamp(76px, 9.2vh, 102px) clamp(20px, 4vw, 48px) 0;
  }

  .melo-etp-globe-stage {
    position: relative;
    flex: 0 0 auto;
    width: min(92vw, 92vh, 1160px);
    aspect-ratio: 2.15 / 1;
    margin: clamp(40px, 5.5vh, 68px) auto 0;
    overflow: visible;
    pointer-events: none;
    display: block;
  }

  .melo-etp-globe-container {
    position: absolute;
    top: -35.5%;
    left: 50%;
    transform: translateX(-50%);
    width: 137%;
    height: auto;
    aspect-ratio: 1 / 1;
    margin: 0;
    overflow: visible;
    pointer-events: none;
  }
}

/* ============================================================
   Lower hero header copy block closer to the planet dome (exact ~19vh top offset)
   ============================================================ */

@media (min-width: 768px) {
  .melo-etp-hero-panel {
    justify-content: flex-end;
    padding-top: clamp(116px, 16vh, 168px);
  }

  .melo-etp-hero-center {
    margin-top: auto;
    margin-bottom: clamp(24px, 3.6vh, 42px);
    z-index: 99999;
  }

  .melo-etp-globe-stage {
    margin: 0 auto;
  }
}

/* ============================================================
   Lower hero header copy block closer to the planet dome (exact ~19vh top offset)
   ============================================================ */

@media (min-width: 768px) {
  .melo-etp-hero-panel {
    justify-content: flex-end;
    padding-top: clamp(116px, 16vh, 168px);
  }

  .melo-etp-hero-center {
    margin-top: auto;
    margin-bottom: clamp(24px, 3.6vh, 42px);
    z-index: 99999;
  }

  .melo-etp-globe-stage {
    margin: 0 auto;
  }
}

/* ============================================================
   Reference-Inspired Value Proposition Rows (Clean SaaS Showcase)
   ============================================================ */

.melo-etp-platform {
  background-color: #ffffff;
  background-image: none;
  padding: clamp(64px, 8vw, 108px) clamp(20px, 4vw, 40px);
}

.melo-etp-platform-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.melo-etp-feat-rows {
  display: flex;
  flex-direction: column;
}

.melo-etp-feat-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 5vw, 68px);
  align-items: center;
  padding: clamp(56px, 7vw, 92px) 0;
  border-bottom: 1px dotted rgb(0 0 0 / 0.16);
}

.melo-etp-feat-row:last-child {
  border-bottom: none;
  padding-bottom: clamp(32px, 4vw, 56px);
}

@media (min-width: 992px) {
  .melo-etp-feat-row {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  }

  .melo-etp-feat-row.is-reversed {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  }

  .melo-etp-feat-row.is-reversed .melo-etp-feat-copy {
    order: 2;
  }

  .melo-etp-feat-row.is-reversed .melo-etp-feat-visual-wrap {
    order: 1;
  }
}

.melo-etp-feat-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.melo-etp-feat-tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border-radius: 999px;
  background: #161616;
  color: #ffffff;
  font-family: var(--melo-font-body);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}

body.melo-body .melo-etp-feat-title {
  margin: 0 0 16px;
  font-family: var(--melo-font-body);
  font-size: clamp(2.6rem, 2rem + 1.5vw, 3.8rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.15;
  color: #1a1a1a;
}

.melo-etp-feat-desc {
  margin: 0 0 28px;
  font-size: clamp(1.48rem, 1.38rem + 0.18vw, 1.62rem);
  line-height: 1.62;
  color: #5c5c66;
  max-width: 520px;
}

.melo-etp-feat-subgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 28px);
  margin-bottom: 32px;
  width: 100%;
}

@media (max-width: 768px) {
  .melo-etp-feat-subgrid {
    display: none !important;
  }
}

.melo-etp-feat-subitem {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.melo-etp-feat-subhead {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 1.42rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #1a1a1a;
}

.melo-etp-feat-subhead svg {
  width: 18px;
  height: 18px;
  color: #1a1a1a;
  flex-shrink: 0;
}

.melo-etp-feat-subtext {
  margin: 0;
  font-size: 1.32rem;
  line-height: 1.52;
  color: #71717a;
}

.melo-etp-feat-subtext code {
  font-size: 0.9em;
  padding: 1px 5px;
  border-radius: 5px;
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.melo-etp-feat-action {
  margin-top: 4px;
}

.melo-etp-feat-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 4px 4px 4px 15px;
  border-radius: 999px;
  background: var(--hs-shopify);
  color: #072610;
  font-family: var(--melo-font-body);
  font-size: 1.35rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 2px 10px rgb(0 219 91 / 0.25);
}

.melo-etp-feat-btn > * {
  position: relative;
  z-index: 2;
}

.melo-etp-feat-btn::before {
  content: "";
  position: absolute;
  inset: 4px 4px 4px auto;
  width: 28px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 1px 3px rgb(0 0 0 / 0.12);
  z-index: 1;
  transition: width 0.48s cubic-bezier(0.65, 0, 0.076, 1);
  pointer-events: none;
}

.melo-etp-feat-btn:hover,
.melo-etp-feat-btn:focus-visible {
  opacity: 1;
}

.melo-etp-feat-btn:hover::before,
.melo-etp-feat-btn:focus-visible::before {
  width: calc(100% - 8px);
}

.melo-etp-feat-btn-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: transparent;
  color: #072610;
}

.melo-etp-feat-btn-arrow svg {
  width: 13px;
  height: 13px;
  stroke: #072610;
  stroke-width: 2.2;
  transition: transform 0.48s cubic-bezier(0.65, 0, 0.076, 1);
}

.melo-etp-feat-btn:hover .melo-etp-feat-btn-arrow svg,
.melo-etp-feat-btn:focus-visible .melo-etp-feat-btn-arrow svg {
  transform: translateX(3px);
}

/* Visual Card Showcase */
.melo-etp-feat-visual-wrap {
  position: relative;
  border-radius: 32px;
  background: #f0f1f4;
  padding: clamp(28px, 4vw, 44px);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  overflow: visible;
  isolation: isolate;
}

.melo-etp-feat-backdrop-card {
  position: absolute;
  border-radius: 24px;
  background: #ffffff;
  opacity: 0.6;
  pointer-events: none;
  z-index: 1;
}

.melo-etp-feat-backdrop-card--1 {
  width: 140px;
  height: 160px;
  left: 8%;
  bottom: 12%;
  border-radius: 28px;
  transform: rotate(-6deg);
}

.melo-etp-feat-backdrop-card--2 {
  width: 160px;
  height: 130px;
  right: 6%;
  top: 10%;
  border-radius: 28px;
  transform: rotate(5deg);
}

.melo-etp-feat-backdrop-card--3 {
  width: 150px;
  height: 150px;
  left: 6%;
  top: 12%;
  border-radius: 28px;
  transform: rotate(-4deg);
}

.melo-etp-feat-backdrop-card--4 {
  width: 140px;
  height: 140px;
  right: 8%;
  bottom: 10%;
  border-radius: 28px;
  transform: rotate(6deg);
}

.melo-etp-feat-ui-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 400px;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid rgb(0 0 0 / 0.06);
  box-shadow:
    0 20px 48px -12px rgb(0 0 0 / 0.08),
    0 1px 3px rgb(0 0 0 / 0.04);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}

.melo-etp-feat-ui-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgb(0 0 0 / 0.06);
}

.melo-etp-feat-ui-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1a1a1a;
}

.melo-etp-feat-ui-chip {
  padding: 3px 9px;
  border-radius: 999px;
  font-family: var(--melo-font-mono);
  font-size: 1.05rem;
  font-weight: 600;
}

.melo-etp-feat-ui-chip.is-green {
  background: rgb(0 219 91 / 0.15);
  color: #007a33;
}

.melo-etp-feat-ui-stat {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.melo-etp-feat-ui-stat small {
  font-size: 1.15rem;
  color: #71717a;
}

.melo-etp-feat-ui-stat strong {
  font-size: 1.85rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: #1a1a1a;
}

.melo-etp-feat-ui-bar {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: #ececf0;
  overflow: hidden;
}

.melo-etp-feat-ui-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: var(--hs-shopify);
}

.melo-etp-feat-ui-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.melo-etp-feat-ui-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 12px;
  border: 1px solid rgb(0 0 0 / 0.08);
  background: #ffffff;
  font-size: 1.25rem;
}

.melo-etp-feat-ui-row.is-active {
  border-color: rgb(0 219 91 / 0.5);
  background: rgb(0 219 91 / 0.04);
}

.melo-etp-feat-ui-row.is-muted {
  border-style: dashed;
  border-color: rgb(0 0 0 / 0.12);
  background: #fafafa;
  color: #8a8a93;
}

.melo-etp-feat-ui-row-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.melo-etp-feat-ui-radio {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 3.5px solid var(--hs-shopify);
  background: #fff;
}

.melo-etp-feat-ui-radio.is-off {
  border: 1.5px solid #ccc;
}

.melo-etp-feat-ui-plans {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.melo-etp-feat-ui-plan {
  padding: 10px;
  border-radius: 12px;
  border: 1px solid rgb(0 0 0 / 0.08);
  background: #fafafa;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.melo-etp-feat-ui-plan.is-highlighted {
  border-color: rgb(0 219 91 / 0.5);
  background: rgb(0 219 91 / 0.04);
}

.melo-etp-feat-ui-plan-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.melo-etp-feat-ui-plan-top b {
  font-size: 1.3rem;
  color: #1a1a1a;
}

.melo-etp-feat-ui-check {
  color: #007a33;
  font-weight: 700;
  font-size: 1.2rem;
}

.melo-etp-feat-ui-plan small {
  font-size: 1.08rem;
  color: #71717a;
}

.melo-etp-feat-ui-matrix {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.melo-etp-feat-ui-matrix-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  background: #f7f7fa;
  font-size: 1.2rem;
}

.melo-etp-feat-ui-matrix-row b {
  font-family: var(--melo-font-mono);
  color: #1a1a1a;
}

.melo-etp-feat-ui-methods {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.melo-etp-feat-ui-method {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 12px;
  border: 1px solid rgb(0 0 0 / 0.08);
  background: #fff;
  font-size: 1.22rem;
}

.melo-etp-feat-ui-method.is-selected {
  border-color: rgb(0 219 91 / 0.5);
  background: rgb(0 219 91 / 0.04);
}

.melo-etp-feat-ui-method.is-suppressed {
  border-style: dashed;
  border-color: rgb(0 0 0 / 0.12);
  background: #fafafa;
  color: #8a8a93;
}

.melo-etp-feat-ui-method-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.melo-etp-feat-ui-method-info b {
  font-size: 1.25rem;
  color: #1a1a1a;
}

.melo-etp-feat-ui-method-info span {
  font-size: 1.1rem;
  color: #71717a;
}

.melo-etp-feat-ui-floating-pill {
  position: absolute;
  right: 18px;
  bottom: -15px;
  padding: 7px 16px;
  border-radius: 999px;
  background: #161616;
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 600;
  box-shadow: 0 8px 20px -4px rgb(0 0 0 / 0.24);
  white-space: nowrap;
  pointer-events: none;
}

/* ============================================================
   Value Proposition Feature Visuals — Mobile Refinements
   Prevents text clipping, unifies spacing, and prevents multi-line chip breaks
   ============================================================ */

@media (max-width: 639px) {
  /* 1. Visual Card Wrapper: reduce excess padding and height on mobile */
  .melo-etp-feat-visual-wrap {
    padding: 24px 12px 30px;
    min-height: auto;
    border-radius: 22px;
    width: 100%;
    box-sizing: border-box;
  }

  /* 2. UI Card: maximize usable interior width */
  .melo-etp-feat-ui-card {
    max-width: 100%;
    width: 100%;
    padding: 18px 14px;
    border-radius: 18px;
    gap: 12px;
    box-sizing: border-box;
  }

  /* 3. Header & chips: never break chip onto two lines */
  .melo-etp-feat-ui-header {
    gap: 8px;
    padding-bottom: 10px;
  }

  .melo-etp-feat-ui-title {
    font-size: 1.2rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
  }

  .melo-etp-feat-ui-chip {
    padding: 2.5px 8px;
    font-size: 1.02rem;
    white-space: nowrap !important;
    flex-shrink: 0;
    line-height: 1.2;
  }

  /* 4. Stat & Address: comfortable readable typography */
  .melo-etp-feat-ui-stat {
    gap: 2px;
  }

  .melo-etp-feat-ui-stat small {
    font-size: 1.08rem;
  }

  .melo-etp-feat-ui-stat strong {
    font-size: 1.6rem;
    line-height: 1.22;
    letter-spacing: -0.02em;
    white-space: normal;
  }

  /* 5. Progress Bar */
  .melo-etp-feat-ui-bar {
    height: 5px;
    margin: 2px 0;
  }

  /* 6. Rows inside Card */
  .melo-etp-feat-ui-rows {
    gap: 6px;
  }

  .melo-etp-feat-ui-row {
    padding: 8px 10px;
    font-size: 1.16rem;
    border-radius: 10px;
    gap: 8px;
  }

  .melo-etp-feat-ui-row-left {
    gap: 6px;
    min-width: 0;
    flex: 1;
  }

  .melo-etp-feat-ui-row-left span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .melo-etp-feat-ui-row code {
    padding: 1px 4px;
    font-size: 0.88em;
  }

  .melo-etp-feat-ui-row b,
  .melo-etp-feat-ui-row small {
    flex-shrink: 0;
  }

  /* 7. Plans (Row 2) */
  .melo-etp-feat-ui-plans {
    gap: 6px;
  }

  .melo-etp-feat-ui-plan {
    padding: 8px;
    border-radius: 10px;
  }

  .melo-etp-feat-ui-plan-top b {
    font-size: 1.18rem;
  }

  .melo-etp-feat-ui-plan small {
    font-size: 1rem;
  }

  /* 8. Matrix (Row 3) */
  .melo-etp-feat-ui-matrix-row {
    padding: 6px 8px;
    font-size: 1.12rem;
  }

  .melo-etp-feat-ui-matrix-row span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .melo-etp-feat-ui-matrix-row b {
    flex-shrink: 0;
  }

  /* 9. Methods (Row 4) */
  .melo-etp-feat-ui-method {
    padding: 8px 10px;
    font-size: 1.16rem;
  }

  .melo-etp-feat-ui-method-info b {
    font-size: 1.18rem;
  }

  .melo-etp-feat-ui-method-info span {
    font-size: 1.05rem;
  }

  /* 10. Bottom Floating Pill */
  .melo-etp-feat-ui-floating-pill {
    right: 12px;
    bottom: -11px;
    padding: 5px 12px;
    font-size: 1.1rem;
  }

  /* 11. Subtle background decorative cards: scale down gracefully */
  .melo-etp-feat-backdrop-card--1 {
    width: 100px;
    height: 120px;
    left: 4%;
    bottom: 6%;
    opacity: 0.4;
    border-radius: 20px;
  }

  .melo-etp-feat-backdrop-card--2 {
    width: 110px;
    height: 90px;
    right: 4%;
    top: 6%;
    opacity: 0.4;
    border-radius: 20px;
  }

  .melo-etp-feat-backdrop-card--3 {
    width: 100px;
    height: 100px;
    left: 4%;
    top: 6%;
    opacity: 0.4;
    border-radius: 20px;
  }

  .melo-etp-feat-backdrop-card--4 {
    width: 100px;
    height: 100px;
    right: 4%;
    bottom: 6%;
    opacity: 0.4;
    border-radius: 20px;
  }
}

@media (max-width: 380px) {
  .melo-etp-feat-visual-wrap {
    padding: 20px 8px 26px;
  }

  .melo-etp-feat-ui-card {
    padding: 14px 10px;
  }

  .melo-etp-feat-ui-stat strong {
    font-size: 1.45rem;
  }

  .melo-etp-feat-ui-title {
    font-size: 1.12rem;
  }

  .melo-etp-feat-ui-floating-pill {
    right: 8px;
    font-size: 1.05rem;
    padding: 4px 10px;
  }
}

/* ==========================================================================
   Value Proposition — dynamic scroll-reveal (clean, direct rise, zero bounce)
   Only active when JS adds .melo-fx to a row (never under reduced motion).
   ========================================================================== */
.melo-etp-feat-row.melo-fx:not(.is-in) .melo-etp-feat-tag,
.melo-etp-feat-row.melo-fx:not(.is-in) .melo-etp-feat-title,
.melo-etp-feat-row.melo-fx:not(.is-in) .melo-etp-feat-desc,
.melo-etp-feat-row.melo-fx:not(.is-in) .melo-etp-feat-subitem,
.melo-etp-feat-row.melo-fx:not(.is-in) .melo-etp-feat-action,
.melo-etp-feat-row.melo-fx:not(.is-in) .melo-etp-feat-visual-wrap,
.melo-etp-feat-row.melo-fx:not(.is-in) .melo-etp-feat-ui-card,
.melo-etp-feat-row.melo-fx:not(.is-in) .melo-etp-feat-backdrop-card {
  opacity: 0;
}

.melo-etp-feat-row.melo-fx.is-in .melo-etp-feat-tag {
  animation: melo-fx-slide-up 0.55s cubic-bezier(0.2, 0.8, 0.2, 1) 0.05s
    backwards;
}

.melo-etp-feat-row.melo-fx.is-in .melo-etp-feat-title {
  animation: melo-fx-slide-up 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) 0.12s
    backwards;
}

.melo-etp-feat-row.melo-fx.is-in .melo-etp-feat-desc {
  animation: melo-fx-slide-up 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s backwards;
}

.melo-etp-feat-row.melo-fx.is-in .melo-etp-feat-subitem {
  animation: melo-fx-slide-up 0.55s cubic-bezier(0.2, 0.8, 0.2, 1) backwards;
}

.melo-etp-feat-row.melo-fx.is-in .melo-etp-feat-subitem:nth-child(1) {
  animation-delay: 0.28s;
}

.melo-etp-feat-row.melo-fx.is-in .melo-etp-feat-subitem:nth-child(2) {
  animation-delay: 0.36s;
}

.melo-etp-feat-row.melo-fx.is-in .melo-etp-feat-subitem:nth-child(n + 3) {
  animation-delay: 0.44s;
}

.melo-etp-feat-row.melo-fx.is-in .melo-etp-feat-action {
  animation: melo-fx-slide-up 0.55s cubic-bezier(0.2, 0.8, 0.2, 1) 0.52s
    backwards;
}

.melo-etp-feat-row.melo-fx.is-in .melo-etp-feat-visual-wrap {
  animation: melo-fx-visual-slide 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) 0.14s
    backwards;
}

.melo-etp-feat-row.melo-fx.is-reversed.is-in .melo-etp-feat-visual-wrap {
  animation-name: melo-fx-visual-slide-rev;
}

.melo-etp-feat-row.melo-fx.is-in .melo-etp-feat-backdrop-card {
  animation: melo-fx-card-slide 0.65s cubic-bezier(0.2, 0.8, 0.2, 1) 0.28s
    backwards;
}

.melo-etp-feat-row.melo-fx.is-in .melo-etp-feat-ui-card {
  animation: melo-fx-card-slide 0.65s cubic-bezier(0.2, 0.8, 0.2, 1) 0.22s
    backwards;
}

@keyframes melo-fx-slide-up {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes melo-fx-visual-slide {
  from {
    opacity: 0;
    transform: translate3d(36px, 16px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes melo-fx-visual-slide-rev {
  from {
    opacity: 0;
    transform: translate3d(-36px, 16px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes melo-fx-card-slide {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Hero side gradients (replace floating tiles) */
.melo-etp-side-gradient {
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(120px, 20vw, 320px);
  pointer-events: none;
  display: none;
}

.melo-etp-side-gradient--left {
  left: 0;
  background:
    radial-gradient(90% 70% at 0% 35%, rgb(0 219 91 / 0.2), transparent 70%),
    linear-gradient(90deg, rgb(0 219 91 / 0.1), transparent);
}

.melo-etp-side-gradient--right {
  right: 0;
  background:
    radial-gradient(90% 70% at 100% 55%, rgb(0 219 91 / 0.2), transparent 70%),
    linear-gradient(270deg, rgb(0 219 91 / 0.1), transparent);
}

@media (min-width: 1120px) {
  .melo-etp-side-gradient {
    display: block;
  }
}

/* Hero install button: perfectly round green dot when collapsed */
.melo-etp-discover-btn__fill {
  box-sizing: border-box;
  width: 40px;
  height: 40px;
  inset: 4px auto auto 4px;
  border-radius: 20px;
}

.melo-etp-discover-btn:hover .melo-etp-discover-btn__fill,
.melo-etp-discover-btn:focus-visible .melo-etp-discover-btn__fill {
  width: calc(100% - 8px);
}
/* Hero install button: size driven by one variable so fill/icon always stay concentric */
.melo-etp-discover-btn {
  --melo-btn-h: 48px;
  height: var(--melo-btn-h);
  min-height: var(--melo-btn-h);
}

.melo-etp-discover-btn__icon {
  width: var(--melo-btn-h);
  height: var(--melo-btn-h);
}

.melo-etp-discover-btn__fill {
  inset: 4px auto 4px 4px;
  width: calc(var(--melo-btn-h) - 8px);
  height: auto;
  border-radius: 999px;
}

.melo-etp-discover-btn:hover .melo-etp-discover-btn__fill,
.melo-etp-discover-btn:focus-visible .melo-etp-discover-btn__fill {
  width: calc(100% - 8px);
}

@media (min-width: 768px) {
  .melo-etp-discover-btn {
    --melo-btn-h: clamp(42px, 4.8vh, 48px);
  }
}
/* Prevent full-bleed sections from overflowing when vertical scrollbar is present */
@supports (width: 1cqw) {
  .melo-etp-hero-panel {
    margin-left: calc(50% - 50cqw) !important;
    margin-right: calc(50% - 50cqw) !important;
  }

  .melo-etp-platform {
    margin-left: calc(50% - 50cqw) !important;
    margin-right: calc(50% - 50cqw) !important;
  }
}

/* Language dropdown submenu visibility safeguards */
.melo-nav-lang-menu[hidden],
.melo-nav-lang-wrap:not(.is-open) .melo-nav-lang-menu {
  display: none !important;
}

.melo-nav-lang-wrap.is-open .melo-nav-lang-menu:not([hidden]) {
  display: flex !important;
}
