/* Artwork uses live offer text, so the banner and checkout stay in sync. */
.hero-voucher-panel {
  min-width: 0;
}

.market-hero-inner:has(.hero-voucher-panel) {
  grid-template-columns: .83fr 1.17fr;
  gap: 32px;
}

.voucher-banner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 280px;
  padding: 32px;
  background: radial-gradient(ellipse at 100% 0, #336046, #153b2e 67%);
  color: #fff;
}

.voucher-banner-hero {
  min-height: 324px;
  border-radius: 22px;
  box-shadow: 0 16px 36px #153b2e20;
  border: 1px solid #ffffff38;
  padding: 28px 32px;
}

.voucher-banner-hero .voucher-banner-bottom {
  align-items: stretch;
}

.voucher-banner-hero .voucher-code-ticket {
  height: 72px;
  min-height: 72px;
  padding: 10px 18px;
  justify-content: center;
}

.voucher-banner-hero .voucher-code-ticket span {
  line-height: 12px;
}

.voucher-banner-hero .voucher-code-ticket strong {
  line-height: 26px;
}

.voucher-banner-hero .voucher-more-link {
  height: 72px;
  min-height: 72px;
  align-self: stretch;
  padding: 12px 20px;
}

.voucher-banner-copy {
  position: relative;
  z-index: 3;
  min-width: 0;
  max-width: 100%;
}

.voucher-banner .voucher-kicker {
  margin: 0 0 16px;
  color: #f6d783;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
}

.voucher-banner .voucher-discount {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 0;
  color: #f5d67e;
  font-size: clamp(58px, 5vw, 88px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.04em;
}

.voucher-discount span {
  font-size: 26px;
  letter-spacing: 0;
}

.voucher-banner .voucher-banner-scope {
  color: #dceee4;
  font-size: 17px;
  margin: 14px 0 22px;
  max-width: 360px;
}

.voucher-banner-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.voucher-code-ticket {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  min-width: 170px;
  max-width: 100%;
  padding: 12px 18px;
  border: 1px dashed #f5d67e;
  border-radius: 10px;
  background: #ffffff06;
}

.voucher-code-ticket span {
  color: #cce7d7;
  font-size: 10px;
  letter-spacing: .12em;
}

.voucher-code-ticket strong {
  font-size: 21px;
  letter-spacing: .08em;
  color: #f5d67e;
  overflow-wrap: anywhere;
}

.voucher-more-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: max-content;
  margin: 0;
  background: #f5d67e;
}

.voucher-banner-orbit {
  position: absolute;
  width: 440px;
  height: 440px;
  border: 1px solid #f5d67e26;
  border-radius: 50%;
  right: -80px;
  top: -60px;
}

.voucher-banner-orbit::after {
  content: '';
  position: absolute;
  inset: 36px;
  border: 1px solid #f5d67e26;
  border-radius: 50%;
}

.voucher-banner-spark {
  position: absolute;
  right: 250px;
  top: 34px;
  color: #f5d67e;
  font-size: 30px;
}

.voucher-banner-decoration {
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%) rotate(-9deg);
  width: 180px;
  height: 190px;
  border-radius: 18px;
  background: linear-gradient(125deg, #ffeac0, #efcb75);
  color: #153b2e;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 18px 20px 0 #ffffff08;
}

.voucher-banner-decoration::before,
.voucher-banner-decoration::after {
  content: '';
  position: absolute;
  top: calc(50% - 10px);
  left: -10px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #204b32;
}

.voucher-banner-decoration::after {
  left: auto;
  right: -10px;
}

.voucher-decoration-percent {
  font-size: 90px;
  font-weight: 800;
  line-height: 1;
}

.voucher-decoration-label {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .12em;
  text-align: center;
  margin: 16px 12px 0;
}

.voucher-banner-brand {
  position: absolute;
  bottom: 16px;
  right: 24px;
  color: #ffffffa8;
  font-size: 11px;
  letter-spacing: 1px;
}

.voucher-banner-hero .voucher-banner-decoration {
  width: 180px;
  height: 180px;
  right: 36px;
}

.voucher-banner-hero .voucher-banner-spark {
  right: 256px;
}

.voucher-deals-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 28px;
}

.voucher-deal-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.voucher-deal-details {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.voucher-deal-details h2 {
  font-size: 22px;
  margin: 0 0 12px;
}

.voucher-deal-details p {
  font-size: 14px;
}

.voucher-deal-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 12px;
}

.voucher-deal-actions form {
  margin: 0;
}

.voucher-deal-actions button {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-width: 160px;
}

.voucher-deal-code {
  font-size: 17px;
  font-weight: 750;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.voucher-deal-details .voucher-selected {
  margin: 12px 0 0;
  color: #356438;
  font-weight: 600;
}

.voucher-deals-grid>.empty-state {
  grid-column: 1 / -1;
}

@media (max-width: 1200px) {

  .voucher-banner-decoration {
    width: 130px;
    right: 18px;
    height: 160px;
  }

  .voucher-banner-hero .voucher-banner-decoration {
    width: 150px;
    height: 180px;
    right: 22px;
  }

  .voucher-banner-spark {
    right: 170px;
  }

  .voucher-banner {
    padding: 24px;
  }

  .voucher-banner .voucher-banner-scope {
    max-width: 290px;
  }
}

@media (max-width: 1000px) {

  .voucher-banner-decoration {
    opacity: .12;
  }

  .voucher-banner-spark {
    display: none;
  }

  .voucher-banner-hero .voucher-banner-decoration {
    opacity: .12;
  }
}

@media (max-width: 760px) {

  .market-hero-inner:has(.hero-voucher-panel) {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
}

@media (max-width: 700px) {

  .voucher-deals-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .voucher-banner .voucher-discount {
    font-size: 58px;
  }

  .voucher-deal-details {
    padding: 20px;
  }

  .voucher-deal-actions {
    flex-wrap: wrap;
  }

  .voucher-banner-hero {
    min-height: 306px;
  }
}

.voucher-more-link .nav-icon {
  width: 24.2px;
  height: 24.2px;
  flex: 0 0 24.2px;
}

/* The homepage keeps the storefront introduction beside one fixed-ratio image. */
.hero-banner-frame {
  width: 100%;
  aspect-ratio: 16/7;
  overflow: hidden;
  border-radius: 22px;
  background: #193726;
  box-shadow: 0 16px 36px #153b2e20
}

.hero-banner-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center
}

.market-hero-inner:not(:has(.hero-voucher-panel)) {
  grid-template-columns: minmax(0, 1fr)
}
