:root { --pgn-green: #53742D; --pgn-orange: #FF4C25; --pgn-cream: #f4efed; --pgn-header-height: 0px; }
.pgn-christmas-cta { position: relative; overflow: hidden; background: var(--pgn-cream); color: #222; isolation: isolate; }
.pgn-christmas-cta__inner { width: 80%; max-width: 1200px; min-height: 470px; margin: 0 auto; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 40px; }
.pgn-christmas-cta__copy { padding: 58px 0; }
.pgn-christmas-cta__eyebrow { margin: 0 0 18px; color: var(--pgn-orange); font-size: 14px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.pgn-christmas-cta h2, .pgn-modal h2 { margin: 0 0 22px; color: var(--pgn-green); font-family: 'Playfair Display', Georgia, "Times New Roman", serif; font-size: clamp(38px, 5vw, 66px); line-height: .98; font-weight: 500; }
.pgn-christmas-cta h2 em { color: var(--pgn-orange); font-style: normal; }
.pgn-christmas-cta__lead { max-width: 600px; margin: 0 0 28px; font-size: 18px; line-height: 1.65; }
.pgn-christmas-cta__lead strong { color: var(--pgn-green); }
.pgn-cta-button { display: inline-flex; align-items: center; gap: 18px; border: 1px solid var(--pgn-green); padding: 14px 19px; background: var(--pgn-green); color: #fff; font: inherit; font-size: 16px; cursor: pointer; transition: background .25s, color .25s, transform .25s; }
.pgn-cta-button:hover, .pgn-cta-button:focus-visible { background: transparent; color: var(--pgn-green); }
.pgn-cta-button span { transition: transform .25s ease; }
.pgn-cta-button:hover span, .pgn-cta-button:focus-visible span { transform: translateX(4px); }
.pgn-cta-button:focus-visible, .pgn-modal__close:focus-visible, .pgn-sticky-cta__close:focus-visible { outline: 3px solid rgba(255,76,37,.45); outline-offset: 3px; }
.pgn-christmas-cta__book { position: relative; align-self: stretch; display: flex; align-items: center; justify-content: center; padding: 40px 0; }
.pgn-christmas-cta__book img { width: min(330px, 75%); height: auto; box-shadow: 18px 18px 0 var(--pgn-orange); transform: rotate(3deg); }
.pgn-christmas-cta__book-label { position: absolute; top: 19%; right: 3%; z-index: 1; padding: 9px 12px; background: var(--pgn-orange); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; transform: rotate(7deg); }
.pgn-christmas-cta__eyebrow { animation: pgn-cta-rise .55s cubic-bezier(.2,.7,.2,1) both; }
.pgn-christmas-cta h2 { animation: pgn-cta-rise .65s .08s cubic-bezier(.2,.7,.2,1) both; }
.pgn-christmas-cta__lead { animation: pgn-cta-rise .65s .16s cubic-bezier(.2,.7,.2,1) both; }
.pgn-christmas-cta__copy > .pgn-cta-button { animation: pgn-cta-rise .65s .24s cubic-bezier(.2,.7,.2,1) both; }
.pgn-christmas-cta__book img { animation: pgn-cta-book-in .8s .12s cubic-bezier(.2,.7,.2,1) both; }
.pgn-christmas-cta__book-label { animation: pgn-cta-label-in .6s .45s cubic-bezier(.2,.7,.2,1) both; }
@keyframes pgn-cta-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pgn-cta-book-in { from { opacity: 0; transform: translateY(18px) rotate(1deg) scale(.98); } to { opacity: 1; transform: translateY(0) rotate(3deg) scale(1); } }
@keyframes pgn-cta-label-in { from { opacity: 0; transform: translateY(10px) rotate(4deg); } to { opacity: 1; transform: translateY(0) rotate(7deg); } }
.pgn-sticky-cta { position: fixed; z-index: 100001; top: var(--pgn-header-height); left: 0; right: 0; background: var(--pgn-orange); color: #fff; box-shadow: 0 5px 20px rgba(0,0,0,.18); transform: translateY(-120%); transition: transform .25s ease; }
.pgn-sticky-cta.is-visible { transform: translateY(0); animation: pgn-sticky-in .4s cubic-bezier(.2,.7,.2,1) both; }
@keyframes pgn-sticky-in { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: translateY(0); } }
.pgn-sticky-cta__inner { position: static; width: 80%; max-width: 1080px; margin: 0 auto; display: flex; align-items: center; justify-content: center; gap: 22px; min-height: 57px; padding: 8px 48px 8px 0; }
.pgn-sticky-cta p { flex: 1 1 auto; margin: 0; color: #fff; font-size: 15px; }
.pgn-sticky-cta .pgn-cta-button--small { flex: 0 0 auto; width: auto; border-color: #fff; padding: 8px 13px; background: #fff; color: #222; font-size: 14px; }
.pgn-sticky-cta .pgn-cta-button--small:hover, .pgn-sticky-cta .pgn-cta-button--small:focus-visible { border-color: #222; background: #222; color: #fff; }
.pgn-sticky-cta__close, .pgn-modal__close { border: 0; background: transparent; color: inherit; font-size: 27px; line-height: 1; cursor: pointer; }
.pgn-sticky-cta__close { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); opacity: 1; }
.pgn-sticky-cta .pgn-cta-button--small:focus-visible, .pgn-sticky-cta__close:focus-visible { outline-color: #222; }
.pgn-modal[hidden], .pgn-sticky-cta[hidden] { display: none; }
.pgn-modal { position: fixed; inset: 0; z-index: 100002; display: grid; place-items: center; padding: 20px; }
.pgn-modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.62); }
.pgn-modal__panel { position: relative; width: min(700px, 100%); max-height: min(90vh, 850px); overflow: auto; overscroll-behavior: contain; padding: 42px clamp(22px, 5vw, 56px) 50px; background: var(--pgn-cream); box-shadow: 0 20px 70px rgba(0,0,0,.3); }
.pgn-modal__close { position: absolute; right: 19px; top: 16px; color: var(--pgn-green); }
.pgn-modal h2 { font-size: clamp(34px, 5vw, 52px); }
.pgn-modal__panel > p:not(.pgn-christmas-cta__eyebrow) { max-width: 590px; margin: 0 0 25px; line-height: 1.6; }
.pgn-modal__form .wpcf7 form { margin: 0; }
@media (min-width: 768px) {
  .pgn-modal__form .cf7-grid-form .cf7-row > p:first-child { text-align: right !important; }
}
.pgn-modal__form .cf7-grid-form label[for="pocet-poldennych"] br,
.pgn-modal__form .cf7-grid-form label[for="pocet-celodennych"] br { display: none; }
body.pgn-modal-open { overflow: hidden; }
html.pgn-reduced-motion * { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
@media (max-width: 767px) { .pgn-christmas-cta { width: calc(100% - 32px); margin: 16px auto; } .pgn-christmas-cta__inner { width: 100%; min-height: 0; display: flex; flex-direction: column-reverse; align-items: stretch; gap: 4px; } .pgn-christmas-cta__copy { padding: 20px 18px 30px; } .pgn-christmas-cta__book { min-height: 205px; padding: 22px 0 12px; } .pgn-christmas-cta__book img { width: 150px; box-shadow: 10px 10px 0 var(--pgn-orange); } .pgn-christmas-cta__book-label { top: 13%; left: calc(50% + 48px); right: auto; font-size: 10px; transform: rotate(7deg); } .pgn-christmas-cta h2 { font-size: clamp(34px, 10vw, 46px); margin-bottom: 16px; } .pgn-christmas-cta__lead { font-size: 15px; line-height: 1.5; } .pgn-christmas-cta .pgn-cta-button { width: auto; max-width: 100%; justify-content: space-between; } .pgn-sticky-cta__inner { width: calc(100% - 32px); min-height: 0; justify-content: flex-start; align-items: center; gap: 10px; padding: 9px 36px 9px 0; } .pgn-sticky-cta p { min-width: 0; font-size: 13px; line-height: 1.3; } .pgn-sticky-cta .pgn-cta-button--small { width: auto; padding: 8px 11px; font-size: 12px; white-space: nowrap; } .pgn-sticky-cta__close { right: 8px; font-size: 25px; opacity: 1; } .pgn-modal { padding: 8px; } .pgn-modal__panel { max-height: 94vh; padding: 36px 18px 30px; } }
@media (max-width: 767px) {
  .pgn-modal__panel {
    width: 100%;
    height: min(90vh, 700px);
    max-height: min(90vh, 700px);
    overflow-y: auto;
    padding: 16px 18px max(36px, env(safe-area-inset-bottom));
  }
  .pgn-modal__close {
    position: sticky;
    top: 0;
    right: auto;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: 0 -2px 0 auto;
    border-radius: 50%;
    background: var(--pgn-cream);
  }
  .pgn-modal__form .wpcf7-submit {
    box-sizing: border-box;
    max-width: 100%;
    height: auto;
    min-height: 48px;
    white-space: normal;
  }
}
@supports (height: 100dvh) {
  @media (max-width: 767px) {
    .pgn-modal__panel {
      height: min(90dvh, 700px);
      max-height: min(90dvh, 700px);
    }
  }
}
@media (prefers-reduced-motion: reduce) { .pgn-sticky-cta { transition: none; } .pgn-sticky-cta.is-visible, .pgn-christmas-cta__eyebrow, .pgn-christmas-cta h2, .pgn-christmas-cta__lead, .pgn-christmas-cta__copy > .pgn-cta-button, .pgn-christmas-cta__book img, .pgn-christmas-cta__book-label { animation: none; } .pgn-christmas-cta__book img { transform: none; } .pgn-cta-button span { transition: none; } }

