/* =====================================================================
   VOUCHER PODARUNKOWY – komponent .voucher
   Plik: templates/default/css/voucher.css (ładować PO page.css i contact-form.css)
   ===================================================================== */

/* ===== Kontener ===== */
#page .content:not(.short) > .voucher,
.voucher {
  max-width: 1300px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #555555;
  font-size: 15px;
  line-height: 1.8;
}
.voucher *,
.voucher *::before,
.voucher *::after { box-sizing: border-box; }

.voucher section { margin: 0 0 90px; }
.voucher section:last-child { margin-bottom: 40px; }

/* ===== Nagłówek sekcji (wzorzec motywu) ===== */
.voucher .voucher-eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #8a6d2f;
  margin: 0 0 14px;
}
.voucher .voucher-title,
#page .voucher .voucher-title {
  font-family: 'Montserrat', Arial, sans-serif !important;
  font-size: clamp(28px, 3.6vw, 44px) !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  color: #1a1a1a !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  border: 0 !important;
  background: none !important;
}
.voucher .voucher-title span,
#page .voucher .voucher-title span { color: #8a6d2f !important; font-weight: 600 !important; }
.voucher .voucher-line {
  width: 60px;
  height: 3px;
  border-radius: 3px;
  background: #dfc585;
  font-size: 0;
  line-height: 0;
  margin: 20px 0 22px;
}
.voucher .voucher-lead {
  font-size: 15px;
  line-height: 1.85;
  color: #555555;
  max-width: 620px;
}

/* ===== Przyciski ===== */
.voucher a.voucher-btn,
#page .voucher a.voucher-btn {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  padding: 15px 30px !important;
  border-radius: 40px !important;
  border: 1px solid #8a6d2f !important;
  background: #8a6d2f !important;
  color: #ffffff !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  line-height: 1.2 !important;
  transition: all .4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.voucher a.voucher-btn:hover,
#page .voucher a.voucher-btn:hover { background: #6f5724 !important; border-color: #6f5724 !important; transform: translateY(-2px); }
.voucher a.voucher-btn--outline,
#page .voucher a.voucher-btn--outline { background: transparent !important; color: #8a6d2f !important; border-color: #dfc585 !important; }
.voucher a.voucher-btn--outline::before {
  content: '\f095';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 13px;
}
.voucher a.voucher-btn--outline:hover,
#page .voucher a.voucher-btn--outline:hover { background: #8a6d2f !important; color: #ffffff !important; border-color: #8a6d2f !important; }

/* ===== Wstęp + grafika vouchera ===== */
.voucher .voucher-intro {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
.voucher .voucher-intro__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.voucher .voucher-card {
  position: relative;
  background: linear-gradient(135deg, #1a1a1a 0%, #2b2620 60%, #3a3123 100%);
  border-radius: 20px;
  padding: 18px;
  box-shadow: 0 30px 60px rgba(26, 26, 26, .18);
  transform: rotate(-3deg);
  transition: transform .6s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.voucher .voucher-card:hover { transform: rotate(0deg) translateY(-4px); }
/* wycięcia jak w bilecie */
.voucher .voucher-card::before,
.voucher .voucher-card::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 34px;
  height: 34px;
  margin-top: -17px;
  border-radius: 50%;
  background: #faf9f7;
}
.voucher .voucher-card::before { left: -17px; }
.voucher .voucher-card::after { right: -17px; }
.voucher .voucher-card__inner {
  border: 1px solid rgba(223, 197, 133, .55);
  border-radius: 14px;
  padding: 44px 40px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  position: relative;
}
.voucher .voucher-card__inner::before {
  content: '\f06b';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 26px;
  color: #dfc585;
  display: block;
  margin-bottom: 16px;
}
.voucher .voucher-card__label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #dfc585;
}
.voucher .voucher-card__value {
  display: block;
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.15;
  margin: 14px 0 18px;
}
.voucher .voucher-card__place {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, .85);
  padding-top: 18px;
  border-top: 1px dashed rgba(223, 197, 133, .45);
}
.voucher .voucher-card__valid {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, .6);
  margin-top: 6px;
}

/* ===== Najważniejsze informacje (karty) ===== */
.voucher .voucher-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.voucher .voucher-fact {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, .06);
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .03);
  transition: all .4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.voucher .voucher-fact::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: #dfc585;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.voucher .voucher-fact:hover {
  transform: translateY(-5px);
  border-color: rgba(223, 197, 133, .45);
  box-shadow: 0 18px 40px rgba(223, 197, 133, .18);
}
.voucher .voucher-fact:hover::after { transform: scaleX(1); }
.voucher .voucher-fact__ico {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: #f4efe9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
  margin-bottom: 20px;
  transition: background .4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.voucher .voucher-fact__ico::before {
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 22px;
  color: #8a6d2f;
  transition: color .4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.voucher .voucher-fact--value .voucher-fact__ico::before { content: '\f06b'; }
.voucher .voucher-fact--time .voucher-fact__ico::before { content: '\f274'; }
.voucher .voucher-fact--bed .voucher-fact__ico::before { content: '\f236'; }
.voucher .voucher-fact:hover .voucher-fact__ico { background: #8a6d2f; }
.voucher .voucher-fact:hover .voucher-fact__ico::before { color: #ffffff; }
.voucher .voucher-fact__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #888888;
  margin-bottom: 6px;
}
.voucher .voucher-fact__value {
  font-size: 19px;
  font-weight: 600;
  line-height: 1.4;
  color: #1a1a1a;
}

/* ===== Kroki + zasady ===== */
.voucher .voucher-rules {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 50px;
  align-items: start;
}
.voucher ol.voucher-steps__list,
#page .voucher ol.voucher-steps__list {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.voucher li.voucher-step,
#page .voucher li.voucher-step {
  display: flex !important;
  gap: 20px;
  align-items: flex-start;
  margin: 0 !important;
  padding: 18px 0 !important;
  list-style: none !important;
  border-bottom: 1px dashed rgba(223, 197, 133, .45);
  background: none !important;
}
.voucher li.voucher-step:last-child { border-bottom: 0; }
.voucher li.voucher-step::before,
#page .voucher li.voucher-step::before { content: none !important; display: none !important; }
.voucher .voucher-step__num {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #f4efe9;
  color: #8a6d2f;
  font-size: 16px;
  font-weight: 700;
  line-height: 44px;
  text-align: center;
}
.voucher .voucher-step__title {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.4;
  margin: 2px 0 4px;
}
.voucher .voucher-step__text {
  font-size: 15px;
  color: #666666;
  line-height: 1.7;
}

/* Ważne informacje – ciepła czerwień (wzorzec motywu) */
.voucher .voucher-notice {
  background: #fbf3f1;
  border: 1px solid #f0d8d2;
  border-left: 4px solid #b5533c;
  border-radius: 16px;
  padding: 34px 32px;
}
.voucher .voucher-notice__title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 19px;
  font-weight: 700;
  color: #6b1c1c;
  margin-bottom: 14px;
}
.voucher .voucher-notice__title::before {
  content: '\f071';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 18px;
  color: #b5533c;
}
.voucher ul.voucher-notice__list,
#page .voucher ul.voucher-notice__list {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.voucher li.voucher-notice__item,
#page .voucher li.voucher-notice__item {
  position: relative !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 14px 0 14px 38px !important;
  border-bottom: 1px dashed #f0d8d2;
  font-size: 15px !important;
  line-height: 1.7 !important;
  color: #6b1c1c !important;
  background: none !important;
}
.voucher li.voucher-notice__item:last-child { border-bottom: 0; }
.voucher li.voucher-notice__item::before,
#page .voucher li.voucher-notice__item::before {
  position: absolute !important;
  left: 0 !important;
  top: 14px !important;
  width: 26px !important;
  height: 26px !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  color: #b5533c !important;
  font-family: 'Font Awesome 6 Free' !important;
  font-weight: 900 !important;
  font-size: 12px !important;
  line-height: 26px !important;
  text-align: center !important;
  display: block !important;
  margin: 0 !important;
}
.voucher .voucher-notice__item--calendar::before { content: '\f273' !important; }
.voucher .voucher-notice__item--cash::before { content: '\f0d6' !important; }
.voucher .voucher-notice__item--phone::before { content: '\f095' !important; }

/* ===== Formularz ===== */
.voucher .voucher-order {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 50px;
  align-items: start;
  background: #faf9f7;
  border: 1px solid rgba(0, 0, 0, .05);
  border-radius: 16px;
  padding: 60px 56px;
  scroll-margin-top: 140px;
}
.voucher ul.voucher-contact,
#page .voucher ul.voucher-contact {
  list-style: none !important;
  margin: 26px 0 0 !important;
  padding: 0 !important;
}
.voucher li.voucher-contact__item,
#page .voucher li.voucher-contact__item {
  display: flex !important;
  align-items: center;
  gap: 14px;
  list-style: none !important;
  margin: 0 0 12px !important;
  padding: 0 !important;
  background: none !important;
}
.voucher li.voucher-contact__item::before,
#page .voucher li.voucher-contact__item::before {
  position: static !important;
  flex: 0 0 44px;
  width: 44px !important;
  height: 44px !important;
  border-radius: 12px !important;
  background: #f4efe9 !important;
  color: #8a6d2f !important;
  font-family: 'Font Awesome 6 Free' !important;
  font-weight: 900 !important;
  font-size: 16px !important;
  line-height: 44px !important;
  text-align: center !important;
  display: block !important;
  margin: 0 !important;
}
.voucher .voucher-contact__item--phone::before { content: '\f095' !important; }
.voucher .voucher-contact__item--mobile::before { content: '\f3cd' !important; }
.voucher .voucher-contact__item--mail::before { content: '\f0e0' !important; }
.voucher li.voucher-contact__item a,
#page .voucher li.voucher-contact__item a {
  color: #1a1a1a !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}
.voucher li.voucher-contact__item a:hover,
#page .voucher li.voucher-contact__item a:hover { color: #8a6d2f !important; }

/* Formularz korzysta ze stylów contact-form.css (.cf-field); tu tylko dopasowanie do kolumny */
.voucher .voucher-order__form.contact-form-wrapper {
  margin: 0 !important;
  max-width: none !important;
  width: 100%;
}
.voucher .voucher-order__form .contact-panel { margin: 0; }

/* Szybki wybór kwoty */
.voucher dd.voucher-quick {
  grid-column: 1 / -1;
  width: 100%;
  flex-basis: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: -4px 0 10px;
  padding: 0;
}
.voucher .voucher-quick__label {
  font-size: 12px;
  font-weight: 600;
  color: #777777;
  margin-right: 4px;
}
.voucher button.voucher-chip {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #1a1a1a;
  background: #ffffff;
  border: 1px solid #dfc585;
  border-radius: 30px;
  padding: 7px 16px;
  line-height: 1.2;
  cursor: pointer;
  transition: all .3s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.voucher button.voucher-chip:hover { border-color: #8a6d2f; color: #8a6d2f; }
.voucher button.voucher-chip.is-active { background: #8a6d2f; border-color: #8a6d2f; color: #ffffff; }
.voucher button.voucher-chip:focus-visible { outline: 2px solid #8a6d2f; outline-offset: 2px; }

/* ===== Responsywność ===== */
@media (max-width: 1024px) {
  .voucher .voucher-intro,
  .voucher .voucher-rules { gap: 40px; }
  .voucher .voucher-order { grid-template-columns: 1fr; padding: 48px 40px; gap: 30px; }
}
@media (max-width: 768px) {
  .voucher section { margin-bottom: 60px; }
  .voucher .voucher-intro,
  .voucher .voucher-rules,
  .voucher .voucher-facts { grid-template-columns: 1fr; }
  .voucher .voucher-intro__card { order: -1; padding: 0 12px; }
  .voucher .voucher-card { transform: none; }
  .voucher .voucher-card__inner { min-height: 0; padding: 36px 24px; }
  .voucher .voucher-facts { gap: 16px; }
  .voucher .voucher-order { padding: 36px 22px; }
  .voucher .voucher-notice { padding: 28px 22px; }
}
@media (max-width: 576px) {
  .voucher a.voucher-btn,
  #page .voucher a.voucher-btn { width: 100%; justify-content: center; }
  .voucher .voucher-fact { padding: 26px 22px; }
}

/* ===== Ograniczenie animacji ===== */
@media (prefers-reduced-motion: reduce) {
  .voucher .voucher-card,
  .voucher .voucher-fact,
  .voucher a.voucher-btn,
  .voucher .voucher-fact::after { transition: none !important; }
  .voucher .voucher-card:hover,
  .voucher .voucher-fact:hover,
  .voucher a.voucher-btn:hover { transform: none !important; }
}
