/* BAV popups — overlay, karty, promo (wspólne komponenty) */
:root {
  --px-black: #0a0a0a;
  --px-deep: #111111;
  --px-card: #161616;
  --px-border: #222222;
  --px-red: #c8102e;
  --px-red-dark: #a00d24;
  --px-white: #f0ede8;
  --px-muted: #888888;
  --px-text: #c8c4bc;
  --px-z: 8000;
}

.px-overlay,
.px-popup,
.px-sticky,
.px-sheet,
.px-slidein {
  box-sizing: border-box;
  font-family: 'Inter', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.px-overlay {
  position: fixed;
  inset: 0;
  z-index: var(--px-z);
  background: rgba(0,0,0,0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.px-overlay.px-open {
  opacity: 1;
  visibility: visible;
}

.px-card {
  position: relative;
  background: linear-gradient(165deg, #161212 0%, #0c0c0c 50%, #080808 100%);
  border: 1px solid rgba(200,16,46,0.4);
  border-radius: 8px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.03),
    0 40px 100px rgba(0,0,0,0.75),
    0 0 80px rgba(200,16,46,0.08);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1);
  max-width: 520px;
  width: 100%;
}
.px-overlay.px-open .px-card {
  transform: translateY(0) scale(1);
}

.px-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--px-border);
  border-radius: 6px;
  background: rgba(0,0,0,0.4);
  color: var(--px-muted);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  z-index: 2;
}
.px-close:hover {
  color: var(--px-white);
  border-color: rgba(200,16,46,0.5);
  background: rgba(200,16,46,0.1);
}

.px-body {
  padding: 40px 36px 36px;
}
.px-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--px-red);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.px-tag::before {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--px-red);
  flex-shrink: 0;
}
.px-headline {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(32px, 6vw, 48px);
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--px-white);
  margin: 0 0 16px;
}
.px-headline i {
  color: var(--px-red);
  font-style: normal;
}
.px-sub {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.68;
  color: var(--px-text);
  margin: 0 0 24px;
}
.px-rule {
  width: 40px;
  height: 2px;
  background: var(--px-red);
  margin: 0 0 22px;
  opacity: 0.6;
}

.px-countdown-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(200,16,46,0.08);
  border: 1px solid rgba(200,16,46,0.25);
  border-radius: 4px;
  margin-bottom: 22px;
}
.px-countdown-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--px-muted);
  flex: 1;
  line-height: 1.4;
}
.px-countdown-label span {
  display: block;
  color: var(--px-white);
  font-size: 10px;
  margin-top: 2px;
}
.px-timer {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  color: var(--px-red);
  letter-spacing: 0.06em;
  white-space: nowrap;
  text-shadow: 0 0 20px rgba(200,16,46,0.4);
}

.px-price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 22px;
}
.px-price-was {
  font-size: 18px;
  color: var(--px-muted);
  text-decoration: line-through;
  text-decoration-color: rgba(200,16,46,0.5);
}
.px-price-now {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 56px;
  color: var(--px-white);
  line-height: 0.9;
  letter-spacing: 0.02em;
}
.px-price-now b {
  color: var(--px-red);
  font-size: 0.65em;
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
}
.px-price-per {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--px-muted);
  align-self: flex-end;
  margin-bottom: 8px;
}

.px-btn-primary {
  display: block;
  width: 100%;
  text-align: center;
  text-decoration: none;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--px-white);
  background: linear-gradient(180deg, #e01838 0%, var(--px-red) 40%, var(--px-red-dark) 100%);
  padding: 16px 24px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 10px 32px rgba(200,16,46,0.4), inset 0 1px 0 rgba(255,255,255,0.1);
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  margin-bottom: 12px;
}
.px-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(200,16,46,0.5), inset 0 1px 0 rgba(255,255,255,0.12);
}
.px-btn-ghost {
  display: block;
  width: 100%;
  text-align: center;
  background: none;
  border: none;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--px-muted);
  cursor: pointer;
  padding: 6px;
  transition: color 0.2s;
  text-decoration: none;
}
.px-btn-ghost:hover {
  color: var(--px-text);
}

.px-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 22px;
}
.px-chip {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--px-text);
  border: 1px solid var(--px-border);
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.02);
}
.px-chip b {
  color: var(--px-red);
  font-weight: 700;
}

.px-photo-accent {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--px-border);
  border-radius: 4px;
}
.px-photo-img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 2px solid rgba(200,16,46,0.4);
  flex-shrink: 0;
}
.px-photo-name {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--px-white);
  margin-bottom: 3px;
}
.px-photo-role {
  font-size: 11px;
  color: var(--px-muted);
  line-height: 1.4;
}

.px-quote {
  border-left: 2px solid var(--px-red);
  padding: 14px 16px;
  background: rgba(200,16,46,0.06);
  margin-bottom: 22px;
}
.px-quote p {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--px-white);
  font-style: italic;
  margin: 0;
}
.px-quote cite {
  display: block;
  margin-top: 8px;
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--px-muted);
}

.px-promo-card {
  max-width: 460px;
  text-align: center;
  padding: 52px 40px 44px;
}
.px-promo-big-timer {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 6px;
  margin: 24px 0 8px;
}
.px-timer-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.px-timer-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(56px, 14vw, 80px);
  color: var(--px-white);
  line-height: 0.88;
  letter-spacing: 0.02em;
  text-shadow: 0 0 40px rgba(200,16,46,0.3);
  min-width: 80px;
  text-align: center;
}
.px-timer-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--px-muted);
  margin-top: 6px;
}
.px-timer-sep {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(40px, 10vw, 60px);
  color: rgba(200,16,46,0.4);
  line-height: 0.88;
  padding-top: 0;
  align-self: flex-start;
}
.px-promo-note {
  font-size: 12px;
  color: var(--px-muted);
  margin: 0 0 24px;
  letter-spacing: 0.04em;
}
