.home-christmas {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  overflow: hidden;
  margin-top: 20px;
  border-radius: 12px;
  background: #26382c;
  color: #fff7e8;
}

.home-christmas[hidden] { display: none; }

.home-christmas-copy {
  display: grid;
  align-content: center;
  gap: 7px;
  padding: clamp(18px, 3vw, 36px);
}

.home main .home-christmas-offer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  color: #ffda9d;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.home-christmas-offer [data-promo-discount] {
  display: inline-block;
  padding: .08em .23em .12em;
  border-radius: .13em;
  background: #ffda9d;
  color: #26382c;
  font: 800 clamp(40px, 5vw, 68px)/1 Arial, sans-serif;
  letter-spacing: -.045em;
  white-space: nowrap;
}

.home main #home-christmas-title {
  color: #fff7e8;
  font: 400 clamp(30px, 4vw, 48px)/1.08 Georgia, serif;
  letter-spacing: -.025em;
}

.home main .home-christmas-terms {
  color: #f1e5d2;
  font-size: 13px;
  line-height: 1.45;
}

.home-christmas-date { white-space: nowrap; }

.home-christmas-condition:not(:empty) + .home-christmas-date:not(:empty)::before { content: '· '; }

.home-christmas-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-top: 5px;
}

.home main .home-christmas-link,
.home-christmas-code button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 13px;
  border: 0;
  border-radius: 6px;
  font: 700 13px/1.3 Arial, sans-serif;
  cursor: pointer;
}

.home main .home-christmas-link {
  background: #ffda9d;
  color: #26382c;
}

.home main .home-christmas-link:hover { background: #ffe8c2; }

.home-christmas-code {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  max-width: 100%;
  padding-left: 10px;
  border: 1px solid #87958a;
  border-radius: 7px;
}

.home-christmas-code code {
  color: #fff7e8;
  font: 700 13px/1.3 ui-monospace, monospace;
  letter-spacing: .02em;
}

.home-christmas-code button {
  min-width: 101px;
  background: transparent;
  color: #ffda9d;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.home main .home-christmas :is(a, button):focus-visible {
  outline: 2px solid #fff7e8;
  outline-offset: 2px;
}

.home-christmas-art {
  background: #624734 url('../../images/vanocni-akce-2026-540.webp') center 41% / max(100%, 380px) auto no-repeat;
  background-image: image-set(url('../../images/vanocni-akce-2026-540.webp') 1x, url('../../images/vanocni-akce-2026-960.webp') 2x);
}

@media (max-width: 760px) {
  .home-christmas { grid-template-columns: minmax(0, 1fr); margin-top: 12px; }
  .home-christmas-art {
    order: -1;
    height: clamp(106px, 30vw, 165px);
    background-position: center 38.5%;
    background-size: cover;
  }
  .home main .home-christmas-link { gap: 7px; padding-inline: 10px; font-size: 12px; }
  .home-christmas-code { padding-left: 8px; }
  .home-christmas-code code { font-size: 12px; }
  .home-christmas-code button { min-width: 85px; padding-inline: 6px; font-size: 12px; }
}

@media (max-width: 460px) {
  .home-christmas-date:not(:empty) { display: block; }
  .home-christmas-condition:not(:empty) + .home-christmas-date:not(:empty)::before { content: none; }
}
