/* Panel Top 04 */
.panel .sections .menu li a {
  color: #202020;
  opacity: 1 !important;
}

.panel .sections .menu li a:hover {
  opacity: 0.8 !important;
}

.wallpapers-button {
  padding: 9px 16px !important;
  min-width: 92px;
  font-size: 18px;
}

.wallpapers-search-button {
  padding: 12px 10px 3px !important;
  min-width: 42px;
  min-height: 42px;
}

.wallpapers-top-panel-line {
  border-bottom: 1px solid #999999;
}

/* First Screen (#1) */
.wallpapers-price {
  min-width: 108px;
  padding: 3px 15px !important;
}

@media (max-width: 435px) {
  .wallpapers-price {
    min-width: unset;
    padding: 6px 15px;
  }

  .wallpapers-price p {
    font-size: 18px;
  }
}
/* Section 4 (#5) */
.wallpapers-prices-2 {
  min-height: 100vh;
  overflow: hidden;
  border-radius: 40px !important;
}

@media (min-width: 768px) {
  .wallpapers-prices-2 {
    min-height: 580px;
  }
}
.wallpapers-border-right {
  border-right: 1px solid #999999;
}

@media (max-width: 435px) {
  .wallpapers-border-right {
    border-right: none !important;
  }
}
.wallpapers-border-right-2 {
  border-right: 1px solid #999999;
}

@media (max-width: 1023px) {
  .wallpapers-border-right-2 {
    border-right: none !important;
  }
}
.wallpapers-border-top {
  border-top: 1px solid #999999;
}

@media (min-width: 436px) {
  .wallpapers-border-top {
    border-top: none !important;
  }
}
.wallpapers-border-top-2 {
  border-top: 1px solid #999999;
}

@media (min-width: 1024px) {
  .wallpapers-border-top-2 {
    border-top: none !important;
  }
}
/* Section 5 (#6) */
[data-slider-id=slider-wallpapers-offers] .dot {
  width: 6px !important;
  height: 6px !important;
}

@media (max-width: 768px) {
  .wallpapers-slider-controls {
    position: absolute;
    bottom: -60px;
  }
}
/* Subscribe (#7) */
.wallpapers-input-panel {
  min-height: 62px;
  min-width: 236px;
  font-size: 20px;
}

.wallpapers-padding-button {
  padding: 21px 21px 14px;
}

/* Panel Bottom 12 */
.panel .sections .menu li a {
  color: #202020;
  opacity: 1 !important;
}

.panel .sections .menu li a:hover {
  opacity: 0.8 !important;
}

.wallpapers-button {
  padding: 9px 16px !important;
  min-width: 92px;
  font-size: 18px;
}

.wallpapers-bottom-panel-line {
  border-top: 1px solid #999999;
}

.wallpapers-deyv {
  border-top: 1px solid #999999;
  border-bottom: 1px solid #999999;
  border-right: 1px solid #999999;
  border-left: 1px solid #999999;
  border-color: #dddddd;
}

.wapp {
  background-color: #ffffff;
  padding-bottom: 10px;
  padding-top: 10px;
  padding-right: 20px;
  padding-left: 20px;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
}
.wappd {
  background-color: #f5f5f5;
  padding-bottom: 50px;
  padding-top: 50px;
  padding-right: 50px;
  padding-left: 50px;
  border-radius: 15px;
}
.brdl {
 border-left: 1px solid #f5f5f5;
 padding: 2px 25px !important;
}

/* === TRN STEPPER: wyśrodkowanie + łączniki nie dotykają kropek === */

.trn-steps{
  /* reset dla <ul> */
  list-style: none;
  padding: 0;
  margin: 22px auto 0 auto;

  /* center */
  display: flex;
  align-items: center;
  justify-content: center;   /* <- to centruje całość */
  width: 100%;

  /* odstępy między elementami */
  gap: 28px;                 /* <- robi "oddech" między kółkiem a kreską */
  flex-wrap: wrap;
}

.trn-step{
  display: flex;
  align-items: center;
  gap: 10px;
}

.trn-dot{
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.08);
  color: rgba(0,0,0,.55);
  flex: 0 0 auto;
}

.trn-dot .trn-ico{
  font-size: 22px;
  line-height: 1;
}

.trn-label{
  font-size: 16px;           /* trochę mniejsze, żeby ładnie siadło */
  font-weight: 700;
  color: rgba(0,0,0,.55);
  white-space: nowrap;
}

/* łącznik: krótszy + nie dotyka kropek */
.trn-connector{
  height: 3px;
  width: 44px;               /* <- krótszy łącznik */
  background: rgba(0,0,0,.14);
  border-radius: 99px;
  flex: 0 0 auto;
}

.trn-step .trn-dot{
  background: #e6e6e6;
  color: #ffffff;   /* biała ikona */
}


/* === KROK ZROBIONY === */

.trn-step.done .trn-dot{
  background: #e6e6e6;
  color: #5f5f5f;   /* ciemnoszara ikona */
}


/* === KROK AKTYWNY === */

.trn-step.active .trn-dot{
  background: rgba(55, 139, 202,.18);
  color: #378bca;
}

.trn-connector.done{ background: rgba(55, 139, 202,.22); }
.trn-connector.active{ background: rgba(55, 139, 202,.30); }

/* mobile */
@media (max-width: 720px){
  .trn-steps{ gap: 12px; }
  .trn-connector{ width: 22px; }
  .trn-label{ font-size: 13px; }
  .trn-dot{ width: 40px; height: 40px; }
}

/* To restrict styles to the current slide, panel, or example use .slide[data-cid="slide-159-682e0fe3"] */
.slide[data-cid=slide-159-682e0fe3] .box-159 {
  border-left: 5px solid #2196F3;
}

.trn-error-box {
  border: 2px solid #ff9f43;
  border-radius: 16px;
  padding: 14px 18px;
  background: rgba(255, 159, 67, 0.08);
  transition: 0.25s ease;
}
/* TRN checkbox – wykorzystuje Twój kolor błędu */
input[type="checkbox"] {
  accent-color: #ff9f43;
  cursor: pointer;
  width: 18px;
  height: 18px;
}

/* =========================
   KREATOR – elementy dodane w wersji 2
========================= */

/* Tekst widoczny tylko dla czytników ekranu (dostępność) */
.trn-sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* Karta sekcji (Pro / Premium) */
.trn-section-card {
  display: block; height: 100%; padding: 16px 18px; text-align: left; cursor: pointer;
  border: 2px solid rgba(55, 139, 202, .12); border-radius: 16px; transition: border-color .2s ease, background .2s ease;
}
.trn-section-card:hover { border-color: rgba(55, 139, 202, .35); }
.trn-section-card:has(input:checked) { border-color: #378bca; background: rgba(55, 139, 202, .05); }
.trn-section-desc { display: block; margin-top: 6px; }

/* Lista przesłanych plików */
.trn-file-list { list-style: none; padding: 0; text-align: left; }
.trn-file-list li {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  padding: 10px 14px; margin-bottom: 8px; border-radius: 12px; background: rgba(55, 139, 202, .05);
}
.trn-file-name { flex: 1 1 200px; overflow-wrap: anywhere; }
.trn-file-delete, .trn-link-button {
  background: none; border: 0; padding: 4px 6px; color: #378bca; text-decoration: underline; cursor: pointer; font: inherit;
}
.trn-file-delete:focus-visible, .trn-link-button:focus-visible { outline: 2px solid #378bca; outline-offset: 2px; }

/* Zgody */
.trn-consents .trn-consent { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; cursor: pointer; }
.trn-consents .trn-consent input { flex: 0 0 auto; margin-top: 3px; }

.trn-msg-error { color: #c0392b; }

/* Puste wymagane pole po próbie wysyłki (ten sam pomarańcz co .trn-error-box) */
.trn-kreator .slides-form input.trn-field-error,
.trn-kreator .slides-form textarea.trn-field-error {
  border: 2px solid #ff9f43; background: rgba(255, 159, 67, 0.08);
}
.trn-field-msg { margin: 6px 0 0; color: #b35900; font-size: 14px; text-align: left; }
.trn-field-msg::before { content: "↑ "; }
#submitErrors ul { margin: 6px 0 0; padding-left: 20px; text-align: left; display: inline-block; }

/* Plakietka statusu zapisu (prawy dolny róg) */
.trn-save-status {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 9999;
  max-width: min(420px, calc(100vw - 32px)); padding: 10px 16px; border-radius: 12px;
  background: #fff; color: #242424; box-shadow: 0 6px 24px rgba(0, 0, 0, .12); font-size: 14px; line-height: 1.4;
}
.trn-save-status.is-ok { border-left: 4px solid #2ecc71; }
.trn-save-status.is-pending { border-left: 4px solid #378bca; }
.trn-save-status.is-error { border-left: 4px solid #c0392b; color: #c0392b; }

/* =========================
   WYBÓR JĘZYKA (belka menu)
========================= */
.trn-lang { position: relative; }
.trn-lang summary { list-style: none; cursor: pointer; user-select: none; }
.trn-lang summary::-webkit-details-marker { display: none; }
.trn-lang summary:focus-visible { outline: 2px solid #378bca; outline-offset: 2px; }
.trn-lang-list {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 1000; min-width: 170px;
  margin: 0; padding: 8px 0; list-style: none; text-align: left;
  background: #fff; border-radius: 12px; box-shadow: 0 8px 28px rgba(0, 0, 0, .14);
}
.trn-lang-list li { display: block; margin: 0; }
.trn-lang-list a, .trn-lang-list .trn-lang-soon { display: block; padding: 8px 18px; font-size: 15px; white-space: nowrap; }
.trn-lang-list a:hover, .trn-lang-list a:focus-visible { background: rgba(55, 139, 202, .06); }
.trn-lang-list a[aria-current="page"] { font-weight: 600; color: #378bca; }
.trn-lang-soon { opacity: .45; cursor: default; }
.trn-lang-mobile { margin-top: 24px; font-size: 15px; }

/* =========================
   STRONA THX (po płatności)
========================= */
.slides .trn-thx .wrap { padding: 110px 16px 40px; }
.slides .trn-thx-card { max-width: 680px; margin: 0 auto; padding: 0; text-align: center; }
.slides .trn-thx-badge {
  display: inline-block; margin: 0 0 16px; padding: 6px 14px; border-radius: 999px;
  background: #e7f7ee; color: #1e9e5a; font-size: 15px; font-weight: 600; line-height: 1.4;
}
.slides .trn-thx-title { margin: 0 0 14px; font-size: 36px; line-height: 1.25; color: #378bca; }
.slides .trn-thx-lead { margin: 0 auto 28px; max-width: 540px; font-size: 19px; line-height: 1.55; opacity: .75; }
.slides .trn-thx-info { margin: 0 0 8px; font-size: 17px; line-height: 1.55; }
.slides .trn-thx-note { margin: 18px auto 0; max-width: 540px; font-size: 15px; line-height: 1.55; opacity: .65; }
.slides .trn-thx-note a { text-decoration: underline; }

/* Podsumowanie zamówienia */
.slides .trn-thx-summary {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px;
  margin: 0 0 28px; padding: 16px; border-radius: 14px; background: rgba(55, 139, 202, .04); text-align: left;
}
.slides .trn-thx-summary dt { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; opacity: .55; }
.slides .trn-thx-summary dd { margin: 2px 0 0; font-size: 17px; font-weight: 600; overflow-wrap: anywhere; }

/* Kroki: płatność → kreator → realizacja */
.slides .trn-thx-steps { display: flex; justify-content: center; gap: 8px; margin: 0 0 28px; padding: 0; list-style: none; }
.slides .trn-thx-steps li { flex: 1 1 0; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 16px; line-height: 1.3; opacity: .5; }
.slides .trn-thx-steps li.is-done, .slides .trn-thx-steps li.is-current { opacity: 1; }
.slides .trn-thx-steps small { display: block; font-size: 13px; opacity: .65; }
.slides .trn-thx-step-dot {
  display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%;
  border: 2px solid rgba(55, 139, 202, .25); font-weight: 600; color: #378bca;
}
.slides .trn-thx-steps li.is-done .trn-thx-step-dot { background: #1e9e5a; border-color: #1e9e5a; color: #fff; }
.slides .trn-thx-steps li.is-current .trn-thx-step-dot { background: #378bca; border-color: #378bca; color: #fff; }

.slides .trn-thx-cta { margin: 0; }
.slides .trn-thx-visual { max-width: 520px; margin: 32px auto 0; }
.slides .trn-thx-visual img { width: 100%; height: auto; }

/* Kółko ładowania przy "Potwierdzamy płatność" */
.slides .trn-thx-spinner {
  width: 40px; height: 40px; margin: 0 auto 20px; border-radius: 50%;
  border: 3px solid rgba(55, 139, 202, .15); border-top-color: #378bca; animation: trn-spin 1s linear infinite;
}
@keyframes trn-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .slides .trn-thx-spinner { animation: none; } }

@media (max-width: 600px) {
  .slides .trn-thx .wrap { padding-top: 90px; }
  .slides .trn-thx-title { font-size: 28px; }
  .slides .trn-thx-lead { font-size: 17px; }
}

/* Karta sekcji: miniatura + numer kolejności */
.trn-section-thumb { position: relative; display: block; margin-bottom: 12px; border-radius: 12px; overflow: hidden; background: rgba(55, 139, 202, .05); }
.trn-section-thumb img { display: block; width: 100%; height: auto; }
.trn-section-order {
  position: absolute; top: 10px; left: 10px; display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%; background: #378bca; color: #fff; font-weight: 600; font-size: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .2);
}
.trn-section-order[hidden] { display: none; }
