/* Reference-inspired offer hero and purchase-form component. */
.yun-home .yun-hero {
  width: 100%;
  overflow: hidden;
  color: var(--yun-home-ink);
  background: var(--yun-home-paper);
}

.yun-home .yun-hero__inner {
  display: grid;
  width: 100%;
  min-height: calc(100svh - var(--yun-header-height));
  margin-inline: auto;
  align-items: stretch;
  gap: 0;
  padding: 0;
  background: var(--yun-home-paper);
}

.yun-home .yun-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  order: 2;
  padding: 34px 24px 40px;
  background: var(--yun-home-paper);
}

.yun-home .yun-hero__eyebrow {
  margin-bottom: 18px;
  color: rgba(17, 17, 17, .45);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .22em;
  line-height: 1.4;
  text-transform: uppercase;
}

.yun-home .yun-hero h1 {
  margin: 0;
  color: var(--yun-home-bronze);
  font-family: var(--yun-font-serif);
  font-size: clamp(30px, 8.2vw, 40px);
  font-weight: 500;
  letter-spacing: .08em;
  line-height: .96;
  text-transform: uppercase;
}

.yun-home .yun-hero__lead {
  max-width: 44ch;
  margin-top: 22px;
  color: rgba(17, 17, 17, .62);
  font-size: 15px;
  line-height: 1.7;
}

.yun-home .yun-hero__price-card {
  margin-top: 34px;
  padding: 24px;
  border: 1px solid rgba(17, 17, 17, .06);
  border-radius: 4px;
  background: var(--yun-home-white);
  box-shadow: 0 18px 40px -28px rgba(0, 0, 0, .18);
}

.yun-home .yun-hero__save-row,
.yun-home .yun-hero__price-row,
.yun-home .yun-hero__availability {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.yun-home .yun-hero__compare {
  color: rgba(17, 17, 17, .32);
  font-size: 14px;
  letter-spacing: .02em;
  text-decoration: line-through;
  text-decoration-color: rgba(17, 17, 17, .22);
}

.yun-home .yun-hero__save {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--yun-home-white);
  background: var(--yun-home-green);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.yun-home .yun-hero__price-row {
  margin-top: 10px;
}

.yun-home .yun-hero__price-row strong {
  color: var(--yun-home-ink);
  font-family: var(--yun-font-sans);
  font-size: clamp(42px, 12vw, 56px);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: .9;
}

.yun-home .yun-hero__price-row span {
  color: rgba(17, 17, 17, .52);
  font-size: 12px;
  line-height: 1.4;
}

.yun-home .yun-hero__availability {
  justify-content: space-between;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(17, 17, 17, .07);
}

/* An unavailable offer has no price rows above the availability line. */
.yun-home .yun-hero__availability:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.yun-home .yun-hero__availability span,
.yun-home .yun-hero__availability strong {
  font-size: 10px;
  letter-spacing: .12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.yun-home .yun-hero__availability span {
  color: rgba(17, 17, 17, .44);
}

.yun-home .yun-hero__availability strong {
  color: var(--yun-home-green);
  font-weight: 600;
}

.yun-home .yun-hero__points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 24px;
}

.yun-home .yun-hero__point {
  display: flex;
  min-height: 104px;
  flex-direction: column;
  gap: 12px;
  justify-content: space-between;
  padding: 14px 12px;
  border: 1px solid rgba(17, 17, 17, .05);
  border-radius: 4px;
  background: var(--yun-home-soft);
}

.yun-home .yun-hero__point-icon {
  display: inline-flex;
  width: 22px;
  height: 22px;
  color: var(--yun-home-green);
  opacity: .86;
}

.yun-home .yun-hero__point-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.35;
}

.yun-home .yun-hero__point > span:last-child {
  color: rgba(17, 17, 17, .72);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .02em;
  line-height: 1.35;
}

.yun-home .yun-hero__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 30px;
}

.yun-home .yun-hero__actions .yun-purchase-form {
  flex: none;
  width: 100%;
}

.yun-home .yun-hero__actions .yun-purchase-form__submit {
  flex: none;
  width: 100%;
  min-width: 0;
  padding-right: 22px;
  padding-left: 22px;
  color: var(--yun-home-white);
  background: var(--yun-home-green);
}

.yun-home .yun-hero__actions .yun-purchase-form__submit:hover {
  background: var(--yun-home-green-hover);
}

.yun-home .yun-hero__details-link {
  display: inline-flex;
  flex: none;
  width: auto;
  height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid rgba(17, 17, 17, .1);
  border-radius: 2px;
  color: rgba(17, 17, 17, .62);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .04em;
  text-decoration: underline;
  text-decoration-color: rgba(17, 17, 17, .2);
  text-underline-offset: 4px;
}

.yun-home .yun-hero__details-link:hover {
  color: var(--yun-home-ink);
  text-decoration-color: rgba(17, 17, 17, .42);
}

.yun-home .yun-hero__single-line {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

.yun-home .yun-hero__single-line i {
  display: block;
  width: 20px;
  height: 1px;
  background: rgba(213, 150, 88, .65);
}

.yun-home .yun-hero__single-line span {
  color: rgba(17, 17, 17, .42);
  font-size: 10px;
  letter-spacing: .14em;
  line-height: 1.45;
  text-transform: uppercase;
}

.yun-home .yun-hero__cover {
  display: flex;
  order: 1;
  min-width: 0;
  flex-direction: column;
  align-items: stretch;
  justify-content: stretch;
  background: var(--yun-home-soft);
}

.yun-home .yun-hero__cover-art {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 0;
  aspect-ratio: 7 / 4;
  align-items: stretch;
  justify-content: stretch;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.yun-home .yun-hero__cover-art::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(255, 255, 255, .18), rgba(255, 255, 255, 0) 45%, rgba(0, 0, 0, .04));
  content: "";
  pointer-events: none;
}

.yun-home .yun-hero__cover-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: none;
}

.yun-home .yun-hero__cover-label {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  gap: 8px;
  padding: 0 13px;
  border: 1px solid rgba(17, 17, 17, .06);
  border-radius: 999px;
  color: var(--yun-home-ink);
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .1);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  line-height: 1;
  text-transform: uppercase;
}

.yun-home .yun-hero__cover-label::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--yun-home-green);
  content: "";
}

.yun-home .yun-hero__cover-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border-top: 1px solid rgba(17, 17, 17, .06);
  background: rgba(255, 255, 255, .88);
  color: rgba(17, 17, 17, .46);
  font-size: 10px;
  letter-spacing: .14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.yun-home .yun-purchase-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.yun-home .yun-purchase-form__quantity {
  display: flex;
  height: 42px;
  align-items: center;
  gap: 0;
  padding: 0 4px;
  border: 1px solid var(--yun-home-line);
  border-radius: 2px;
  background: var(--yun-home-white);
}

.yun-home .yun-purchase-form__quantity-button {
  display: flex;
  width: 36px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 2px;
  color: var(--yun-home-ink);
  background: transparent;
  cursor: pointer;
  font-size: 14px;
}

.yun-home .yun-purchase-form__quantity-button:hover {
  background: var(--yun-home-soft);
}

.yun-home .yun-purchase-form__quantity-output {
  width: 24px;
  color: var(--yun-home-ink);
  font-size: 13px;
  font-weight: 500;
  text-align: center;
}

.yun-home .yun-purchase-form__submit {
  display: inline-flex;
  height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 2px;
  color: var(--yun-home-green);
  background: var(--yun-home-paper);
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.yun-home .yun-purchase-form__submit:hover {
  background: var(--yun-home-white);
}

.yun-home .yun-purchase-form__submit:disabled {
  cursor: not-allowed;
  opacity: .48;
}

.yun-home .yun-purchase-form__icon {
  display: none;
}

/* WooCommerce's reason for refusing the product, on its own line under the
   button, in the form's own text color. It outranks the muted notes beside
   some forms (".yun-facts__purchase p"). */
.yun-home .yun-purchase-form .yun-purchase-form__message {
  flex: 0 0 100%;
  margin: 0;
  color: inherit;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.5;
  text-align: left;
  text-transform: none;
}

.yun-home .yun-facts__purchase .yun-purchase-form {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

.yun-home .yun-facts__purchase .yun-purchase-form__quantity {
  flex: none;
}

.yun-home .yun-facts__purchase .yun-purchase-form__submit {
  flex: 1;
  height: 42px;
  color: var(--yun-home-white);
  background: var(--yun-home-green);
}

.yun-home .yun-purchase-form--offer-bar .yun-purchase-form__submit {
  flex: 1;
  color: var(--yun-home-white);
  background: var(--yun-home-green);
}

.yun-home .yun-facts__purchase .yun-purchase-form__submit:hover,
.yun-home .yun-purchase-form--offer-bar .yun-purchase-form__submit:hover {
  background: var(--yun-home-green-hover);
}

.yun-home .yun-site-footer__purchase-action .yun-purchase-form {
  width: 100%;
}

.yun-home .yun-site-footer__purchase-action .yun-purchase-form__submit {
  width: 100%;
  color: var(--yun-home-ink);
  background: var(--yun-home-paper);
  font-size: 11px;
}

.yun-home .yun-site-footer__purchase-card--single .yun-purchase-form {
  display: flex;
  gap: 12px;
}

.yun-home .yun-site-footer__purchase-card--single .yun-purchase-form__quantity {
  height: 44px;
  flex: none;
  border-color: #3a3a3a;
  background: #1a1a1a;
}

.yun-home .yun-site-footer__purchase-card--single .yun-purchase-form__quantity-button,
.yun-home .yun-site-footer__purchase-card--single .yun-purchase-form__quantity-output {
  color: var(--yun-home-paper);
}

.yun-home .yun-site-footer__purchase-card--single .yun-purchase-form__quantity-button:hover {
  background: #252525;
}

.yun-home .yun-site-footer__purchase-card--single .yun-purchase-form__submit {
  flex: 1;
  color: var(--yun-home-white);
  background: var(--yun-home-green);
  border-color: var(--yun-home-green);
}

.yun-home .yun-offer-bar .yun-purchase-form__quantity {
  height: 40px;
}

.yun-home .yun-offer-bar .yun-purchase-form__quantity-button {
  width: 32px;
  height: 32px;
}

.yun-home .yun-offer-bar .yun-purchase-form__quantity-output {
  width: 20px;
}

.yun-home .yun-offer-bar .yun-purchase-form__submit {
  height: 40px;
  padding: 0 14px;
  font-size: 11px;
}

/* The offer bar has no room under its button, so the reason sits on a strip above the bar. */
.yun-home .yun-offer-bar .yun-purchase-form .yun-purchase-form__message {
  position: absolute;
  right: 0;
  bottom: 100%;
  left: 0;
  padding: 10px 16px;
  border-top: 1px solid var(--yun-home-line);
  color: var(--yun-home-ink);
  background: var(--yun-home-paper);
}

@media (max-width: 759px) {
  .yun-home .yun-hero {
    padding: 28px 24px 24px;
    background: var(--yun-home-paper);
  }

  .yun-home .yun-hero__inner {
    width: 100%;
    min-height: auto;
  }

  .yun-home .yun-hero__cover-art {
    width: 100%;
    margin: 0;
    aspect-ratio: 4 / 3;
  }

  .yun-home .yun-hero__cover-caption {
    display: none;
  }

  .yun-home .yun-hero__copy {
    padding: 30px 0 24px;
  }

  .yun-home .yun-hero__eyebrow,
  .yun-home .yun-hero__single-line {
    display: none;
  }

  .yun-home .yun-hero__lead {
    margin-top: 18px;
    font-size: 14px;
    line-height: 1.65;
  }

  .yun-home .yun-hero__price-card {
    margin-top: 26px;
    padding: 20px;
  }

  .yun-home .yun-hero__availability {
    display: grid;
    gap: 8px;
  }

  .yun-home .yun-hero__points {
    gap: 6px;
    margin-top: 18px;
  }

  .yun-home .yun-hero__point {
    min-height: 100px;
    padding: 12px 10px;
  }

  .yun-home .yun-hero__point > span:last-child {
    font-size: 10.5px;
  }

  .yun-home .yun-hero__actions {
    flex-direction: column;
    gap: 12px;
    margin-top: 26px;
  }

  .yun-home .yun-hero__actions .yun-purchase-form {
    width: 100%;
  }

  .yun-home .yun-hero__actions .yun-purchase-form__submit,
  .yun-home .yun-hero__details-link {
    width: 100%;
    height: 48px;
    border-radius: 3px;
    font-size: 11px;
    letter-spacing: .12em;
  }

  .yun-home .yun-hero__actions .yun-purchase-form__submit {
    font-weight: 700;
  }

  .yun-home .yun-hero__details-link {
    font-weight: 400;
    text-decoration-thickness: 1px;
    text-decoration-color: currentColor;
    text-underline-offset: 5px;
    text-transform: none;
  }
}

@media (min-width: 760px) {
  .yun-home .yun-hero {
    padding: 56px 0 40px;
  }

  .yun-home .yun-hero__inner {
    width: min(1120px, calc(100vw - 48px));
    min-height: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .yun-home .yun-hero__copy {
    order: 2;
    padding: 48px 40px;
  }

  .yun-home .yun-hero__cover {
    order: 1;
  }

  .yun-home .yun-hero h1 {
    font-size: 40px;
  }

  .yun-home .yun-hero__price-row strong {
    font-size: 56px;
  }

  .yun-home .yun-hero__actions {
    margin-top: 34px;
  }

  .yun-home .yun-hero__single-line {
    margin-top: 32px;
  }

  .yun-home .yun-hero__cover-art {
    min-height: 0;
    flex: 1;
    aspect-ratio: 1.05 / 1;
  }
}

@media (max-width: 639px) {
  .yun-home .yun-hero__actions .yun-purchase-form,
  .yun-home .yun-hero__details-link {
    width: 100%;
  }

  .yun-home .yun-hero__actions .yun-purchase-form__submit {
    width: 100%;
  }
}

@media (max-width: 559px) {
  .yun-home .yun-facts__purchase .yun-purchase-form__submit {
    min-width: 0;
  }
}
