.catalog-section:has(> .temuyin-promo) {
  padding-bottom: clamp(22px, 2.5vw, 34px);
}

.temuyin-promo {
  margin-top: clamp(16px, 2vw, 24px);
}

.temuyin-promo-defs {
  position: absolute;
  pointer-events: none;
}

.temuyin-promo-link {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.75fr) minmax(0, 1.2fr) auto;
  grid-template-areas: "logo copy visual cta";
  align-items: center;
  gap: clamp(12px, 1.7vw, 23px);
  padding: 6px clamp(14px, 2vw, 25px);
  color: #fff;
  border: 1px solid #6ec7ff73;
  border-radius: 15px;
  background:
    radial-gradient(ellipse at 74% 115%, #42dfffce 0%, #0ba9f18c 28%, transparent 63%),
    linear-gradient(110deg, #14498d 0%, #1258b2 40%, #066bc4 75%, #1153a2 100%);
  text-decoration: none;
}

.temuyin-promo-logo {
  grid-area: logo;
  display: block;
  width: 100%;
  max-width: 196px;
  height: auto;
  filter: url(#temuyin-promo-logo-key) drop-shadow(0 1px 2px #001a3a99);
}

.temuyin-promo-copy {
  grid-area: copy;
  min-width: 0;
  padding-inline-start: clamp(12px, 1.7vw, 23px);
  border-inline-start: 1px solid #b2ddff63;
}

.temuyin-promo-copy h2 {
  margin: 0;
  color: inherit;
  font: 800 clamp(17px, 1.9vw, 26px)/1.12 Manrope, system-ui, sans-serif;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.temuyin-promo-copy p {
  margin: 5px 0 0;
  color: #e2f2ff;
  font: 600 clamp(11px, 1.05vw, 14px)/1.3 Manrope, system-ui, sans-serif;
}

.temuyin-promo-visual {
  grid-area: visual;
  min-width: 0;
  display: grid;
  place-items: center;
}

.temuyin-promo-products {
  display: block;
  width: 100%;
  height: clamp(96px, 9vw, 112px);
  object-fit: contain;
  filter: drop-shadow(0 5px 7px #00274e80);
}

.temuyin-promo-cta {
  grid-area: cta;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 clamp(10px, 1.3vw, 17px);
  border-radius: 999px;
  background: linear-gradient(180deg, #57e5ff, #19b9ed);
  box-shadow: 0 3px 12px #00163070;
  color: #05253c;
  font: 800 clamp(11px, 1.15vw, 15px)/1.2 Manrope, system-ui, sans-serif;
  white-space: nowrap;
}

.temuyin-promo-cta svg { flex: none; }

.temuyin-promo-link:hover .temuyin-promo-cta,
.temuyin-promo-link:focus-visible .temuyin-promo-cta {
  background: #7aeaff;
}

.temuyin-promo-link:focus-visible {
  outline: 3px solid #1463ae;
  outline-offset: 4px;
}

@media (max-width: 800px) {
  .temuyin-promo-link {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.35fr) auto;
    grid-template-areas: "logo visual cta" "copy visual cta";
    grid-template-rows: auto 1fr;
    row-gap: 5px;
    padding-block: 8px;
  }
  .temuyin-promo-logo { max-width: 138px; }
  .temuyin-promo-copy { padding-inline-start: 0; border: 0; }
}

@media (max-width: 540px) {
  .temuyin-promo-link {
    grid-template-columns: minmax(max-content, 1fr) minmax(0, 1.08fr);
    grid-template-areas: "logo visual" "copy visual" "cta visual";
    grid-template-rows: auto 1fr auto;
    gap: 4px 7px;
    padding: 8px 10px;
    border-radius: 12px;
    background:
      radial-gradient(ellipse at 90% 105%, #3bd9ffb3, #0ea7ee6b 35%, transparent 64%),
      linear-gradient(110deg, #14498d 0%, #1258b2 48%, #0873cb 100%);
  }
  .temuyin-promo-logo { max-width: 113px; }
  .temuyin-promo-copy h2 {
    max-width: 12em;
    font-size: clamp(13px, 3.6vw, 17px);
    text-wrap: wrap;
  }
  .temuyin-promo-copy p {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .temuyin-promo-products { height: clamp(83px, 25vw, 110px); }
  .temuyin-promo-cta {
    min-height: 25px;
    padding-inline: 8px;
    font-size: clamp(10px, 2.65vw, 12px);
    gap: 4px;
  }
  .temuyin-promo-cta svg { width: 12px; height: 12px; }
}

/* Keep the four elements aligned like the horizontal reference on desktop. */
@media (min-width: 801px) {
  .temuyin-promo {
    container-type: inline-size;
  }

  .temuyin-promo-link {
    aspect-ratio: 7 / 1;
    grid-template-columns: minmax(0, 15%) minmax(0, 33%) minmax(0, 1fr) auto;
    gap: 2.1cqw;
    padding: 5px 2.9cqw;
    border-radius: clamp(13px, 1.35cqw, 19px);
  }

  .temuyin-promo-copy {
    position: relative;
    padding-inline-start: 2.1cqw;
    border: 0;
  }

  .temuyin-promo-copy::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 50%;
    width: 1px;
    height: clamp(36px, 4.35cqw, 58px);
    background: #b2ddff63;
    transform: translateY(-50%);
  }

  .temuyin-promo-copy h2 {
    max-width: 11em;
    font-size: clamp(19px, 2.45cqw, 33px);
    line-height: 1.04;
  }

  .temuyin-promo-copy p {
    max-width: 34ch;
    font-size: clamp(11px, 1.24cqw, 16px);
  }

  .temuyin-promo-products {
    height: 12.8cqw;
  }

  .temuyin-promo-cta {
    justify-self: end;
    min-height: clamp(34px, 3.22cqw, 44px);
    padding-inline: clamp(10px, 1.55cqw, 21px);
    font-size: clamp(11px, 1.25cqw, 17px);
  }
}
