/**
 * TEST promotion v7.6: shared burgundy, warm paper and fine gold.
 * Replaces the oval decorator, retaining v7.5 bounds and keyboard lifecycle.
 */
body.kcv20-chrome #modal-12.md-modal {
  box-sizing: border-box;
  width: calc(100% - 32px);
  min-width: 0;
  max-width: 780px;
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--kcv-heading-gold, #b88b50);
  border-radius: 3px;
  background: #fff9ef;
  box-shadow: 0 24px 90px rgba(36, 7, 17, .35);
  z-index: 6101;
}
body.kcv20-chrome #modal-12[decorate]::before {
  display: none;
}
body.kcv20-chrome #modal-12 .md-content {
  display: flex;
  flex-direction: column;
  min-height: 0;
  max-height: calc(80vh - 2px);
  max-height: calc(80dvh - 2px);
  margin: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .2s ease, transform .2s ease;
}
body.kcv20-chrome #modal-12.md-show .md-content {
  opacity: 1;
  transform: translateY(0);
}
body.kcv20-chrome #modal-12 .md-content > h2 {
  box-sizing: border-box;
  flex: 0 0 auto;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 18px 78px 18px 26px;
  border-bottom: 1px solid var(--kcv-heading-gold, #b88b50);
  background: #420c1b;
  color: #f2d6a7;
  font-family: var(--kcv-type-family-editorial, Georgia, serif);
  font-size: 30px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: .04em;
  text-align: left;
  text-transform: uppercase;
}
/* Remove the retired heading flourishes along with the oval frame. */
body.kcv20-chrome #modal-12 .md-content > h2::before,
body.kcv20-chrome #modal-12 .md-content > h2::after,
body.kcv20-chrome #modal-12 .kupetz-promotion-item__title::before,
body.kcv20-chrome #modal-12 .kupetz-promotion-item__title::after {
  display: none;
}
body.kcv20-chrome #modal-12 .clos {
  box-sizing: border-box;
  position: absolute;
  right: 16px;
  top: 14px;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(242, 214, 167, .5);
  border-radius: 2px;
  background: transparent;
  color: #f2d6a7;
  transition: background-color .18s ease, color .18s ease;
  z-index: 2;
}
body.kcv20-chrome #modal-12 .clos::before,
body.kcv20-chrome #modal-12 .clos::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  transform: translate(-50%, -50%) rotate(45deg);
}
body.kcv20-chrome #modal-12 .clos::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}
body.kcv20-chrome #modal-12 .clos:hover {
  background: #f2d6a7;
  color: #420c1b;
}
body.kcv20-chrome #modal-12 .clos:focus-visible {
  outline: 2px solid #f2d6a7;
  outline-offset: 3px;
}
body.kcv20-chrome #modal-12 .kupetz-promotion-list {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  scrollbar-gutter: stable;
  padding: 26px;
  color: #49352e;
  scrollbar-color: #b88b50 #f3e9d9;
}
body.kcv20-chrome #modal-12 .kupetz-promotion-list:focus-visible {
  outline: 2px solid #681826;
  outline-offset: -4px;
}
body.kcv20-chrome #modal-12 .kupetz-promotion-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  align-items: start;
  gap: 16px 26px;
  margin: 0;
  text-align: left;
}
body.kcv20-chrome #modal-12 .kupetz-promotion-item__title {
  grid-column: 2;
  margin: 0;
  padding: 0;
  color: var(--kcv-heading-color, #681826);
  font-family: var(--kcv-type-family-editorial, Georgia, serif);
  font-size: 26px;
  font-weight: 400;
  line-height: 1.25;
  text-align: left;
  text-wrap: balance;
}
body.kcv20-chrome #modal-12 .kupetz-promotion-item__content {
  display: contents;
  margin: 0;
}
body.kcv20-chrome #modal-12 .kupetz-promotion-item__content .gal {
  box-sizing: border-box;
  grid-column: 1;
  grid-row: 1 / span 2;
  display: block;
  min-width: 0;
  max-width: 100%;
  width: 100%;
  margin: 0;
  padding: 8px;
  border: 1px solid rgba(184, 139, 80, .35);
  background: #f1e6d3;
}
body.kcv20-chrome #modal-12 .gal img {
  display: block;
  max-width: 100%;
  max-height: 320px;
  width: 100%;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}
body.kcv20-chrome #modal-12 .kupetz-promotion-item__preview {
  grid-column: 2;
  min-width: 0;
  max-width: 100%;
  width: 100%;
  margin: 0;
  font-family: var(--kcv-type-family-utility, Arial, sans-serif);
  overflow-wrap: anywhere;
}
body.kcv20-chrome #modal-12 .kupetz-promotion-item__preview p {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.6;
}
body.kcv20-chrome #modal-12 .kupetz-promotion-item__preview .small {
  margin-bottom: 0;
  color: #75604c;
  font-size: 12px;
  line-height: 1.5;
}
body.kcv20-chrome #modal-12 .action-item-actions {
  grid-column: 1 / -1;
  display: flow-root;
  width: 100%;
  padding-top: 12px;
  border-top: 1px solid rgba(184, 139, 80, .3);
}
/* Keep the promotion above TEST controls and header actions until it closes. */
body.kcv20-chrome:has(#modal-12.md-show) .kcv56-review {
  visibility: hidden;
}
body.kcv20-chrome:has(#modal-12.md-show) .bfon {
  z-index: 6100;
}
@media (max-width: 1024px) {
  body.kcv20-chrome #modal-12 .md-content {
    max-height: calc(65vh - 2px);
    max-height: calc(65dvh - 2px);
  }
}
@media (max-width: 600px) {
  body.kcv20-chrome #modal-12 .md-content > h2 {
    padding: 17px 70px 17px 18px;
    font-size: 25px;
  }
  body.kcv20-chrome #modal-12 .clos {
    right: 12px;
    top: 10px;
  }
  body.kcv20-chrome #modal-12 .kupetz-promotion-list {
    padding: 18px 16px;
  }
  body.kcv20-chrome #modal-12 .kupetz-promotion-item {
    display: block;
  }
  body.kcv20-chrome #modal-12 .kupetz-promotion-item__title {
    margin-bottom: 16px;
    font-size: 21px;
  }
  body.kcv20-chrome #modal-12 .kupetz-promotion-item__content {
    display: flow-root;
  }
  body.kcv20-chrome #modal-12 .kupetz-promotion-item__content .gal {
    float: left;
    width: 104px;
    max-width: 40%;
    margin: 4px 14px 8px 0;
    padding: 4px;
  }
  body.kcv20-chrome #modal-12 .kupetz-promotion-item__preview {
    display: block;
    width: auto;
    max-width: none;
  }
  body.kcv20-chrome #modal-12 .kupetz-promotion-item__preview p {
    font-size: 14px;
  }
  body.kcv20-chrome #modal-12 .kupetz-promotion-item__preview .small {
    font-size: 12px;
  }
  body.kcv20-chrome #modal-12 .action-item-actions {
    box-sizing: border-box;
    margin-top: 16px;
  }
}
/* Narrow phones: keep the photo as a small editorial illustration, but
 * give all offer text the full line width instead of wrapping around a float.
 * The modal's scroll region and fixed close button remain unchanged. */
@media (max-width: 420px) {
  body.kcv20-chrome #modal-12 .kupetz-promotion-list {
    padding: 14px 16px;
  }
  body.kcv20-chrome #modal-12 .kupetz-promotion-item__title {
    margin-bottom: 12px;
    font-size: clamp(19px, 5.2vw, 21px);
  }
  body.kcv20-chrome #modal-12 .kupetz-promotion-item__content .gal {
    float: none;
    width: clamp(120px, 36vw, 140px);
    max-width: 100%;
    margin: 0 auto 12px;
  }
  body.kcv20-chrome #modal-12 .kupetz-promotion-item__preview {
    clear: both;
    width: 100%;
    max-width: 100%;
  }
  body.kcv20-chrome #modal-12 .kupetz-promotion-item__preview p {
    margin-bottom: 12px;
    line-height: 1.55;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.kcv20-chrome #modal-12 .md-content,
  body.kcv20-chrome #modal-12 .clos {
    transition: none;
    transform: none;
  }
}
