/* ===== EASTER PROMO — css/promo.css ===== */
/* Remove after April 20, 2026 by unlinking this file from index.html */

/* ----- TOP BANNER ----- */
.promo-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  width: 100%;
  height: 56px;
  display: flex;
  align-items: center;
  background: linear-gradient(90deg, #1f7a3f 0%, #2f9e44 50%, #1f7a3f 100%);
  color: white;
  padding: 0 16px;
  cursor: pointer;
  max-height: 56px;
  overflow: hidden;
  opacity: 1;
  transition: max-height 0.45s ease, opacity 0.35s ease,
              padding-top 0.45s ease, padding-bottom 0.45s ease;
  margin: 0 !important;
  border: 0;
}

.promo-banner.hiding {
  max-height: 0 !important;
  opacity: 0;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.promo-banner.hidden { display: none; }

/* Reset global span styles that break banner alignment */
.promo-banner span,
.promo-banner-inner span,
.promo-banner-copy,
.promo-banner-emoji,
.promo-banner-text,
.promo-banner-text-full,
.promo-banner-text-mobile,
.promo-banner-countdown,
.promo-cd-block,
.promo-cd-num,
.promo-cd-label,
.promo-cd-sep {
  margin-bottom: 0 !important;
  line-height: 1 !important;
}

.promo-banner-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: nowrap;
  padding: 0 52px;
  width: 100%;
  box-sizing: border-box;
  height: 56px;
}

.promo-banner-copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 100%;
  transform: none;
}

.promo-banner-emoji {
  font-size: 18px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  line-height: 1;
  transform: none;
}

.promo-banner-text {
  font-size: 14px;
  font-family: var(--font-body);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  line-height: 1;
  margin: 0;
  transform: none;
  align-self: center !important;
}

.promo-banner-text-full,
.promo-banner-text-mobile,
.promo-banner-text strong {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.promo-banner-text-mobile { display: none; }

.promo-banner-countdown {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 4px;
  flex-shrink: 0;
  transform: none;
}

.promo-cd-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(0,0,0,0.25);
  border-radius: 6px;
  padding: 3px 0;
  width: 36px;
  flex-shrink: 0;
}

.promo-cd-num {
  font-family: 'e-UkraineHead', var(--font-title), sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  text-align: center;
  display: block;
  width: 100%;
}

.promo-cd-label {
  font-size: 9px;
  opacity: 0.8;
  line-height: 1;
  margin-top: 2px;
}

.promo-cd-sep {
  font-size: 16px;
  font-weight: 700;
  opacity: 0.6;
  margin-bottom: 0;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.promo-banner-cta {
  background: white;
  color: var(--red);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s;
  flex-shrink: 0;
  margin-left: 0;
  transform: none;
  align-self: center;
}

.promo-banner-cta:hover { opacity: 0.88; }

.promo-banner-close {
  all: unset;
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  color: white;
  cursor: pointer;
  padding: 6px;
  opacity: 0.7;
  -webkit-tap-highlight-color: transparent;
  display: flex;
  align-items: center;
  border-radius: 0 !important;
  transition: opacity 0.2s;
}

.promo-banner-close:hover,
.promo-banner-close:focus,
.promo-banner-close:active {
  background: none !important;
  box-shadow: none !important;
  border: none !important;
  outline: none !important;
  transform: translateY(-50%) !important;
  opacity: 1;
}

@media (max-width: 600px) {
  .promo-banner {
    height: 46px;
    max-height: 46px;
    padding: 0 34px;
  }

  .promo-banner-inner {
    flex-wrap: nowrap;
    gap: 6px;
    justify-content: center !important;
    overflow: hidden;
    padding: 0 8px;
    min-height: 46px;
    height: 46px;
  }

  .promo-banner-copy {
    gap: 6px;
    height: 100%;
    transform: none;
  }

  .promo-banner-emoji {
    font-size: 14px;
    height: 100%;
    line-height: 1;
    transform: none;
  }

  .promo-banner-text {
    font-size: 11px;
    white-space: nowrap;
    flex: 0 0 auto;
    height: 100%;
    min-width: auto;
    transform: none;
  }

  .promo-banner-text-full { display: none; }
  .promo-banner-text-mobile {
    display: inline;
    white-space: nowrap;
  }

  .promo-cd-block {
    width: 28px;
    padding: 2px 0;
  }

  .promo-cd-num { font-size: 11px; }
  .promo-cd-label { font-size: 7px; }
  .promo-cd-sep { font-size: 12px; margin-bottom: 0; line-height: 1; display: inline-flex; align-items: center; }

  .promo-banner-cta {
    display: none;
  }

  .promo-banner-close {
    right: 8px;
  }
}

/* ----- PROMO SIGNUP SECTION ----- */
.promo-signup-section {
  background: linear-gradient(135deg, #fff8f0 0%, #fff3e8 100%);
  padding: 80px 0;
  border-top: 3px solid var(--red);
}

.promo-signup-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.promo-signup-badge {
  display: inline-block;
  background: var(--red);
  color: white;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.promo-signup-title {
  font-family: var(--font-title);
  font-size: clamp(28px, 4vw, 44px);
  color: var(--red);
  margin-bottom: 8px;
  line-height: 1.15;
}

.promo-signup-sub {
  font-size: 15px;
  color: #666;
  margin-bottom: 24px;
}

/* Big countdown */
.promo-big-countdown {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 32px;
}

.promo-big-cd-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #1a1a1a;
  color: white;
  border-radius: 10px;
  padding: 10px 0;
  width: 64px;
  flex-shrink: 0;
}

.promo-big-cd-num {
  font-family: 'e-UkraineHead', var(--font-title), sans-serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  text-align: center;
  display: block;
  width: 100%;
}

.promo-big-cd-label {
  font-size: 9px;
  letter-spacing: 0.08em;
  margin-top: 4px;
  opacity: 0.7;
}

.promo-big-cd-sep {
  font-size: 24px;
  font-weight: 700;
  color: #333;
  margin-bottom: 16px;
}

/* Price list */
.promo-price-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.promo-price-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: white;
  border-radius: 10px;
  padding: 10px 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.promo-price-label { flex: 1; font-weight: 600; font-size: 14px; }
.promo-price-old { font-size: 14px; color: #999; text-decoration: line-through; }
.promo-price-new { font-size: 16px; font-weight: 700; color: var(--red); }

/* Strikethrough old price on cards */
.pricing-old-price {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: #999;
  text-decoration: line-through;
  margin-top: 2px;
}

.pricing-big-card--red .pricing-old-price {
  color: white;
  text-decoration: line-through;
}

.pricing-big-card--red .pricing-big-label,
.pricing-big-card--red .pricing-big-price,
.pricing-big-card--red .pricing-big-price span,
.pricing-big-card--red .pricing-big-features,
.pricing-big-card--red .pricing-big-features li,
.pricing-big-card--red .pricing-promo-badge {
  color: white;
}

.pricing-promo-badge {
  display: inline-block;
  background: #fff3cd;
  color: #7a5000;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.pricing-big-card--red .pricing-promo-badge {
  background: var(--red);
  color: #fff !important;
  font-family: var(--font-body) !important;
  font-weight: 400 !important;
  border: none;
  border-radius: var(--radius-btn);
  box-shadow: 0 6px 20px rgba(232, 50, 58, 0.45);
  padding: 5px 12px;
  line-height: 1;
}

.pricing-big-card--red .pricing-big-badge {
  background: var(--red);
  color: #fff !important;
  font-family: var(--font-body) !important;
  font-weight: 400 !important;
  border: none;
  border-radius: var(--radius-btn);
  box-shadow: 0 6px 20px rgba(232, 50, 58, 0.45);
  padding: 5px 12px;
  line-height: 1;
}

.pricing-big-card--red .btn-red {
  background: transparent !important;
  color: white !important;
  border: 1.5px solid rgba(255,255,255,0.95) !important;
  box-shadow: none !important;
}

.pricing-big-card--red .btn-red:hover,
.pricing-big-card--red .btn-red:focus,
.pricing-big-card--red .btn-red:active {
  background: rgba(255,255,255,0.14) !important;
  color: white !important;
  border-color: white !important;
  box-shadow: none !important;
}

/* Mobile */
@media (max-width: 768px) {
  .promo-signup-wrap { grid-template-columns: 1fr; gap: 32px; }
  .promo-big-cd-num { font-size: 22px; }
  .promo-big-cd-block { width: 56px; padding: 8px 0; }
  .promo-banner-text { font-size: 12px; }
  .promo-cd-num { font-size: 14px; }
  .promo-banner-cta { font-size: 12px; padding: 6px 12px; }
}

/* ===== PROMO MODAL ===== */
.pm-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}

.pm-overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* Outer wrap: positions the bonus pill */
.pm-wrap {
  position: relative;
  width: 100%;
  max-width: 700px;
  padding-top: 24px;
}

/* Bonus pill — half outside the card */
.pm-bonus-pill {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #ffe066, #ffb347);
  color: #5a3a00;
  font-family: var(--font-body), sans-serif;
  font-size: 14px;
  font-weight: 700;
  padding: 8px 20px;
  border-radius: 999px;
  white-space: nowrap;
  z-index: 2;
  box-shadow: 0 4px 16px rgba(255,160,0,0.35);
}

/* The white card */
.pm-inner {
  position: relative;
  display: flex;
  background: white;
  border-radius: 20px;
  overflow: hidden;
  max-height: 85vh;
  overflow-y: auto;
}

/* LEFT */
.pm-left {
  background:
    linear-gradient(160deg, rgba(150,5,20,0.72) 0%, rgba(200,16,46,0.65) 100%),
    url('../media/photos/widgets/Easter side banner.jpg') center center / cover no-repeat;
  color: white;
  padding: 40px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-width: 210px;
  flex-shrink: 0;
}

.pm-badge {
  background: rgba(255,255,255,0.18);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

.pm-discount {
  font-family: 'Unbounded', var(--font-title), sans-serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
}

.pm-desc {
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
  opacity: 0.9;
}

.pm-desc span { opacity: 0.7; font-size: 12px; }

/* Countdown */
.pm-countdown {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
}

.pm-cd-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(0,0,0,0.22);
  border-radius: 8px;
  padding: 8px 0;
  width: 52px;
  flex-shrink: 0;
}

.pm-cd-num {
  font-family: 'e-UkraineHead', var(--font-title), sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  text-align: center;
  display: block;
  width: 100%;
}

.pm-cd-lbl {
  font-size: 7px;
  letter-spacing: 0.06em;
  margin-top: 3px;
  opacity: 0.7;
}

.pm-cd-sep {
  font-size: 18px;
  font-weight: 700;
  opacity: 0.45;
  margin-bottom: 14px;
}

/* RIGHT */
.pm-right {
  padding: 40px 32px 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pm-close {
  all: unset;
  position: absolute;
  top: 14px;
  right: 14px;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  cursor: pointer;
  padding: 4px;
  opacity: 0.5;
  border-radius: 0 !important;
  -webkit-tap-highlight-color: transparent;
  transition: opacity 0.2s;
  z-index: 10;
}

.pm-close:hover,
.pm-close:focus,
.pm-close:active {
  background: none !important;
  box-shadow: none !important;
  border: none !important;
  outline: none !important;
  transform: none !important;
  opacity: 1;
}

.pm-form-title {
  font-family: var(--font-title), sans-serif;
  font-size: 17px;
  font-weight: 700;
  margin: 0;
}

.pm-form-sub {
  font-size: 13px;
  color: #777;
  margin: 0;
}

@media (max-width: 600px) {
  .pm-overlay {
    padding: 16px;
    align-items: center;
    justify-content: center;
  }

  .pm-wrap {
    padding-top: 20px;
    width: 100%;
    max-width: 420px;
  }

  .pm-bonus-pill {
    font-size: 12px;
    padding: 6px 16px;
  }

  .pm-inner {
    position: relative;
    flex-direction: column;
    border-radius: 18px;
    max-height: calc(100svh - 60px);
    overflow-y: auto;
  }

  .pm-left {
    padding: 14px 20px;
    min-width: unset;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    background-position: center 30%;
  }

  .pm-badge { display: none; }

  .pm-discount {
    font-size: 28px;
    line-height: 1;
    flex-shrink: 0;
  }

  .pm-desc {
    font-size: 12px;
    line-height: 1.3;
    flex: 1;
    margin: 0;
  }

  .pm-desc span { font-size: 10px; }

  .pm-countdown {
    flex-shrink: 0;
    gap: 3px;
    margin-top: 0;
  }

  .pm-cd-unit {
    width: 36px;
    padding: 5px 0;
  }

  .pm-cd-num { font-size: 14px; }
  .pm-cd-lbl { font-size: 6px; }
  .pm-cd-sep { font-size: 13px; margin-bottom: 10px; }

  .pm-right {
    padding: 24px 24px 24px;
    gap: 12px;
  }

  .pm-form-title {
    font-size: 16px;
  }

  .pm-form-sub {
    font-size: 13px;
  }

  .pm-close {
    top: 10px;
    right: 12px;
    color: white;
    opacity: 0.8;
  }

  .pm-close svg path {
    stroke: white;
  }
}

/* ----- MINI PROMO HEADER above signup form ----- */
.promo-form-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
  width: 100%;
  background: #E8F8EC;
  border-radius: 28px;
  padding: 24px 28px;
}

.promo-form-title {
  font-size: 18px;
  font-weight: 700;
  color: #1f3a2a;
  letter-spacing: 0.01em;
}

.promo-form-header-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.promo-form-badge {
  background: #2f9e44;
  color: white;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

.promo-form-countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 5px;
}

.promo-form-cd-unit {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #1f3a2a;
  color: white;
  border-radius: 6px;
  padding: 0;
  width: 28px !important;
  height: 28px;
  min-height: 28px !important;
  flex-shrink: 0;
}

.promo-form-cd-num {
  font-family: 'e-UkraineHead', var(--font-title), sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  text-align: center;
  display: block;
  width: 100%;
}

/* Promo bar countdown (legacy selector, kept for consistency) */
.promo-bar-cd-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #1a1a1a;
  color: white;
  border-radius: 8px;
  padding: 6px 0;
  width: 44px;
  flex-shrink: 0;
}

.promo-bar-cd-num {
  font-family: 'e-UkraineHead', var(--font-title), sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  text-align: center;
  display: block;
  width: 100%;
}

/* Center features in individual pricing cards during promo */
.pricing-slide:nth-child(3) .pricing-big-features {
  text-align: center;
  list-style: none;
  padding: 0;
}

.promo-form-cd-lbl {
  display: none;
}

.promo-form-cd-sep {
  font-size: 11px;
  font-weight: 700;
  color: #2e4b39;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .promo-form-header {
    background: #E8F8EC;
    border-radius: 28px;
    box-shadow: none;
    padding: 20px 22px;
    margin-bottom: 20px;
    border: none;
    align-items: center;
    text-align: center;
    gap: 10px;
  }

  .promo-form-title {
    font-size: 16px;
    color: #1f3a2a;
    text-align: center;
    width: 100%;
  }

  .promo-form-header-row {
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
  }

  .promo-form-countdown {
    justify-content: center;
  }

  .promo-form-badge {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .promo-form-header-row { justify-content: center; }
  .promo-form-countdown { gap: 3px; }
  .promo-form-cd-unit { width: 24px !important; height: 24px; min-height: 24px !important; }
  .promo-form-cd-num { font-size: 10px; }
  .promo-form-cd-sep { font-size: 9px; margin-bottom: 0; }
}
