/* ============== PANEL OFERTY (slide-in z prawej) ============== */
.oferta-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 460px;
  height: 100vh;
  background: #12335b;
  color: var(--c-white);
  z-index: 1000;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.4);
  overflow-y: auto;
  padding: clamp(24px, 3vw, 56px) clamp(20px, 2.5vw, 44px);
  visibility: hidden;
}

.oferta-panel[aria-hidden="false"] {
  transform: translateX(0);
  visibility: visible;
}

.oferta-panel__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s ease;
  visibility: hidden;
  pointer-events: none;
}

.oferta-panel__backdrop[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.oferta-panel__close {
  align-self: flex-end;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--c-white);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  padding: 0;
  margin-bottom: clamp(20px, 2vw, 32px);
}

.oferta-panel__close:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.06);
}

.oferta-panel__close svg {
  width: 18px;
  height: 18px;
}

.oferta-panel__heading {
  font-size: clamp(22px, 1.83vw, 36px);
  line-height: 1.18;
  font-weight: 400;
  margin: 0 0 clamp(8px, 0.83vw, 16px);
}

.oferta-panel__intro {
  font-size: clamp(13px, 0.94vw, 17px);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 clamp(24px, 2.5vw, 44px);
}

.oferta-panel__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 0.83vw, 14px);
}

.oferta-panel__item a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: clamp(16px, 1.5vw, 24px) clamp(16px, 1.5vw, 22px);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: clamp(12px, 1vw, 18px);
  color: var(--c-white);
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.oferta-panel__item a:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(167, 183, 202, 0.5);
  transform: translateX(-3px);
}

.oferta-panel__item-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.oferta-panel__item-title {
  font-size: clamp(15px, 1.04vw, 19px);
  font-weight: 400;
  line-height: 1.25;
}

.oferta-panel__item-desc {
  font-size: clamp(12px, 0.78vw, 14px);
  line-height: 1.4;
  color: rgba(167, 183, 202, 0.85);
}

.oferta-panel__item-arrow {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--c-white);
  color: #12335b;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.oferta-panel__item a:hover .oferta-panel__item-arrow {
  transform: translateX(3px);
}

.oferta-panel__item-arrow svg {
  width: 11px;
  height: 9px;
}

@media (max-width: 540px) {
  .oferta-panel {
    max-width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .oferta-panel,
  .oferta-panel__backdrop {
    transition: none;
  }
}

/* Body lock when panel open */
body.oferta-panel-open {
  overflow: hidden;
}
