/* ============================================================
   18. SEKCJA REALIZACJE
   ============================================================ */
.rev-real2-section {
    padding: 0;
    overflow: hidden;
}
.rev-real2-inner {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    max-width: 1500px;
    margin: 0 auto;
    padding: 80px 60px;
    gap: 80px;
    align-items: start;
}
.rev-real2-header {
    margin-bottom: 40px;
}
.rev-real2-title {
    font-family: "Bahnschrift", sans-serif;
    font-size: 36px !important;
    font-weight: 300;
    text-transform: uppercase;
    color: #fff !important;
    line-height: 1.05;
    margin-bottom: 16px !important;
}
.rev-real2-title strong {
    font-weight: 900;
    color: #e30613;
    display: block;
}
.rev-real2-title-line {
    width: 48px;
    height: 3px;
    background: #e30613;
}
.rev-real2-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
.rev-real2-item {
    border-top: none;
    cursor: pointer;
    transition: background 0.2s;
    position: relative;
}
.rev-real2-item:last-child {
    border-bottom: 1px solid #2a2a29;
}
.rev-real2-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background: #e30613;
    transition: width 0.3s ease;
    z-index: 0;
}
.rev-real2-item.active::before,
.rev-real2-item:hover::before {
    width: 3px;
}
.rev-real2-item-inner {
    padding: 20px 0 20px 16px;
    position: relative;
    z-index: 1;
}
.rev-real2-item-cat {
    font-family: "Bahnschrift", sans-serif;
    font-size: 16px;
    font-weight: 400;
    text-transform: uppercase;
    color: #cacaca;
    display: block;
    margin-bottom: 6px;
    transition: color 0.2s;
}
.rev-real2-item.active .rev-real2-item-cat,
.rev-real2-item:hover .rev-real2-item-cat {
    color: #e30613;
}
.rev-real2-item-num {
    color: #e30613;
    font-weight: 700;
}
.rev-real2-item-name {
    font-family: "Bahnschrift", sans-serif;
    font-size: 24px !important;
    font-weight: 700;
    text-transform: uppercase;
    color: #cacaca !important;
    margin: 0 0 6px !important;
    line-height: 1.2;
    transition: color 0.2s;
}
.rev-real2-item.active .rev-real2-item-name,
.rev-real2-item:hover .rev-real2-item-name {
    color: #fff !important;
}
.rev-real2-item-loc {
    font-family: "Noto Sans", sans-serif;
    font-size: 16px;
    text-transform: uppercase;
    color: #cacaca;
    display: block;
    transition: color 0.2s;
}
.rev-real2-item.active .rev-real2-item-loc,
.rev-real2-item:hover .rev-real2-item-loc {
    color: #fff;
}
.rev-real2-right {
    position: relative;
}
.rev-real2-panel {
    display: none;
    flex-direction: column;
    animation: real2FadeIn 0.35s ease;
}
.rev-real2-panel.active {
    display: flex;
}
@keyframes real2FadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.rev-real2-panel-img {
    position: relative;
    aspect-ratio: 16/9;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}
.rev-real2-panel-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.4) 100%);
}
.rev-real2-panel-tags {
    position: absolute;
    top: 16px;
    left: 16px;
    display: flex;
    gap: 4px;
    z-index: 2;
}
.rev-real2-tag {
    font-family: "Bahnschrift", sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 4px 10px;
    background: rgba(28, 28, 27, 0.8);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.15);
}
.rev-real2-tag--red {
    background: #e30613;
    border-color: #e30613;
}
.rev-real2-fig {
    display: none;
}
.rev-real2-panel-content {
    background: #222221;
    padding: 28px 32px;
}
.rev-real2-panel-highlight {
    font-family: "Bahnschrift", sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #e30613;
    display: block;
    margin-bottom: 10px;
}
.rev-real2-panel-title {
    font-family: "Bahnschrift", sans-serif;
    font-size: clamp(18px, 2vw, 26px);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #fff !important;
    line-height: 1.1;
    margin-bottom: 12px !important;
}
.rev-real2-panel-desc {
    font-family: "Noto Sans", sans-serif;
    font-size: 13px !important;
    line-height: 1.7 !important;
    color: #f2f2f2 !important;
    margin-bottom: 20px !important;
}
.rev-real2-panel-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid #2a2a29;
}
.rev-real2-stat {
    padding: 14px 16px;
    border-right: 1px solid #2a2a29;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.rev-real2-stat:last-child {
    border-right: none;
}
.rev-real2-stat-label {
    font-family: "Noto Sans", sans-serif;
    font-size: 9px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #555;
    display: block;
}
.rev-real2-stat-value {
    font-family: "Bahnschrift", sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    display: block;
    line-height: 1.2;
}


/* ============================================================
   REALIZACJE — mobile polish, append-only
   Scope: .rev-real2-section--mobile-slider only.
   ============================================================ */

.rev-real2-panel-tags--mobile,
.rev-real2-desc-toggle {
  display: none;
}

@media (max-width: 1024px) {
  .rev-real2-section--mobile-slider .rev-real2-right {
    width: calc(100% - 80px) !important;
    max-width: 640px !important;
    overflow: visible !important;
  }

  .rev-real2-section--mobile-slider .rev-real2-panel {
    min-height: 0 !important;
  }

  .rev-real2-section--mobile-slider .rev-real2-panel-content {
    display: flex !important;
    flex-direction: column !important;
    padding: 0 !important;
    background: #222221;
  }

  .rev-real2-section--mobile-slider .rev-real2-panel-mobile-head {
    order: 1;
    padding: 22px 20px 18px;
    background: #222221;
  }

  .rev-real2-section--mobile-slider .rev-real2-panel-title {
    margin-bottom: 12px !important;
    font-size: 18px !important;
    line-height: 1.16 !important;
  }

  .rev-real2-section--mobile-slider .rev-real2-panel-tags {
    display: none !important;
  }

  .rev-real2-section--mobile-slider .rev-real2-panel-tags--mobile {
    display: flex !important;
    position: static !important;
    inset: auto !important;
    gap: 6px;
    flex-wrap: wrap;
  }

  .rev-real2-section--mobile-slider .rev-real2-panel-img {
    order: 2;
    min-height: 260px !important;
    aspect-ratio: 16 / 9;
  }

  .rev-real2-section--mobile-slider .rev-real2-panel-desc-wrap {
    order: 3;
    padding: 18px 20px 24px;
    background: #222221;
  }

  .rev-real2-section--mobile-slider .rev-real2-panel-desc {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 12px !important;
  }

  .rev-real2-section--mobile-slider .rev-real2-panel-desc-wrap.is-expanded .rev-real2-panel-desc {
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
  }

  .rev-real2-section--mobile-slider .rev-real2-desc-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 13px;
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 999px;
    background: transparent;
    color: #fff;
    font-family: "Bahnschrift", sans-serif;
    font-size: 11px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    cursor: pointer;
  }

  .rev-real2-section--mobile-slider .rev-real2-desc-toggle__less {
    display: none;
  }

  .rev-real2-section--mobile-slider .rev-real2-panel-desc-wrap.is-expanded .rev-real2-desc-toggle__more {
    display: none;
  }

  .rev-real2-section--mobile-slider .rev-real2-panel-desc-wrap.is-expanded .rev-real2-desc-toggle__less {
    display: inline;
  }

  .rev-real2-section--mobile-slider .rev-real2-mobile-arrow {
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 80 !important;
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  .rev-real2-section--mobile-slider .rev-real2-mobile-arrow--prev {
    left: -34px !important;
    right: auto !important;
  }

  .rev-real2-section--mobile-slider .rev-real2-mobile-arrow--next {
    right: -34px !important;
    left: auto !important;
  }
}

@media (max-width: 480px) {
  .rev-real2-section--mobile-slider .rev-real2-right {
    width: calc(100% - 64px) !important;
  }

  .rev-real2-section--mobile-slider .rev-real2-mobile-arrow {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
  }

  .rev-real2-section--mobile-slider .rev-real2-mobile-arrow--prev {
    left: -30px !important;
  }

  .rev-real2-section--mobile-slider .rev-real2-mobile-arrow--next {
    right: -30px !important;
  }

  .rev-real2-section--mobile-slider .rev-real2-panel-img {
    min-height: 220px !important;
  }

  .rev-real2-section--mobile-slider .rev-real2-panel-title {
    font-size: 16px !important;
  }
}


/* ============================================================
   REALIZACJE — mobile polish v2
   - tytuł + tagi -> zdjęcie -> opis
   - ukrycie dodatkowej starej strzałki po prawej w produkcie
   ============================================================ */

@media (max-width: 1024px) {
  .rev-real2-section--mobile-slider .rev-real2-panel {
    display: none !important;
    flex-direction: column !important;
  }

  .rev-real2-section--mobile-slider .rev-real2-panel.active {
    display: flex !important;
  }

  .rev-real2-section--mobile-slider .rev-real2-panel-content {
    display: contents !important;
    background: transparent !important;
    padding: 0 !important;
  }

  .rev-real2-section--mobile-slider .rev-real2-panel-mobile-head {
    order: 1 !important;
    display: block !important;
    padding: 22px 20px 18px !important;
    background: #222221 !important;
  }

  .rev-real2-section--mobile-slider .rev-real2-panel-img {
    order: 2 !important;
    width: 100% !important;
    min-height: 260px !important;
    aspect-ratio: 16 / 9 !important;
  }

  .rev-real2-section--mobile-slider .rev-real2-panel-desc-wrap {
    order: 3 !important;
    display: block !important;
    padding: 18px 20px 24px !important;
    background: #222221 !important;
  }

  .rev-real2-section--mobile-slider .swiper-button-prev,
  .rev-real2-section--mobile-slider .swiper-button-next,
  .rev-real2-section--mobile-slider .rev-slider-arrow,
  .rev-real2-section--mobile-slider .rev-carousel-arrow,
  .rev-real2-section--mobile-slider .splide__arrow {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  .rev-real2-section--mobile-slider .rev-real2-mobile-arrow,
  .rev-real2-section--mobile-slider .rev-real2-mobile-arrow--prev,
  .rev-real2-section--mobile-slider .rev-real2-mobile-arrow--next {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }
}

@media (max-width: 480px) {
  .rev-real2-section--mobile-slider .rev-real2-panel-img {
    min-height: 220px !important;
  }
}


/* ============================================================
   REALIZACJE — mobile polish v3
   - mobile-head fizycznie nad zdjęciem
   - opis pod zdjęciem
   - ukrycie pseudo/dodatkowej strzałki
   ============================================================ */

.rev-real2-panel-mobile-head {
  display: none;
}

@media (max-width: 1024px) {
  .rev-real2-section--mobile-slider .rev-real2-panel {
    display: none !important;
    flex-direction: column !important;
    min-height: 0 !important;
  }

  .rev-real2-section--mobile-slider .rev-real2-panel.active {
    display: flex !important;
  }

  .rev-real2-section--mobile-slider .rev-real2-panel-mobile-head {
    order: 1 !important;
    display: block !important;
    padding: 22px 20px 18px !important;
    background: #222221 !important;
  }

  .rev-real2-section--mobile-slider .rev-real2-panel-img {
    order: 2 !important;
    width: 100% !important;
    min-height: 260px !important;
    aspect-ratio: 16 / 9 !important;
  }

  .rev-real2-section--mobile-slider .rev-real2-panel-content {
    order: 3 !important;
    display: block !important;
    padding: 0 !important;
    background: #222221 !important;
  }

  .rev-real2-section--mobile-slider .rev-real2-panel-desc-wrap {
    display: block !important;
    padding: 18px 20px 24px !important;
    background: #222221 !important;
  }

  .rev-real2-section--mobile-slider .rev-real2-panel-tags {
    display: none !important;
  }

  .rev-real2-section--mobile-slider .rev-real2-panel-tags--mobile {
    display: flex !important;
    position: static !important;
    inset: auto !important;
    gap: 6px !important;
    flex-wrap: wrap !important;
  }

  .rev-real2-section--mobile-slider .rev-real2-panel-title {
    margin-bottom: 12px !important;
    font-size: 18px !important;
    line-height: 1.16 !important;
  }

  .rev-real2-section--mobile-slider .rev-real2-panel-desc {
    display: -webkit-box !important;
    -webkit-line-clamp: 4 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    margin-bottom: 12px !important;
  }

  .rev-real2-section--mobile-slider .rev-real2-panel-desc-wrap.is-expanded .rev-real2-panel-desc {
    display: block !important;
    -webkit-line-clamp: unset !important;
    overflow: visible !important;
  }

  .rev-real2-section--mobile-slider .rev-real2-desc-toggle {
    display: inline-flex !important;
  }

  /* Zabezpieczenie przed trzecią/zdublowaną strzałką z pseudo-elementów */
  .rev-real2-section--mobile-slider .rev-real2-mobile-arrow::before,
  .rev-real2-section--mobile-slider .rev-real2-mobile-arrow::after,
  .rev-real2-section--mobile-slider .rev-real2-mobile-arrow span::before,
  .rev-real2-section--mobile-slider .rev-real2-mobile-arrow span::after {
    display: none !important;
    content: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
  }

  .rev-real2-section--mobile-slider .rev-real2-mobile-arrow:not(.rev-real2-mobile-arrow--prev):not(.rev-real2-mobile-arrow--next) {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  .rev-real2-section--mobile-slider .swiper-button-prev,
  .rev-real2-section--mobile-slider .swiper-button-next,
  .rev-real2-section--mobile-slider .rev-slider-arrow,
  .rev-real2-section--mobile-slider .rev-carousel-arrow,
  .rev-real2-section--mobile-slider .splide__arrow {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  .rev-real2-section--mobile-slider .rev-real2-mobile-arrow--prev,
  .rev-real2-section--mobile-slider .rev-real2-mobile-arrow--next {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }
}

@media (max-width: 480px) {
  .rev-real2-section--mobile-slider .rev-real2-panel-img {
    min-height: 220px !important;
  }

  .rev-real2-section--mobile-slider .rev-real2-panel-title {
    font-size: 16px !important;
  }
}


/* ============================================================
   REALIZACJE — mobile polish v4
   Produkt: centrowanie slajdu na mobile.
   ============================================================ */

@media (max-width: 1024px) {
  body.single-produkty .rev-real2-section--mobile-slider .rev-real2-right,
  body.single-produkt .rev-real2-section--mobile-slider .rev-real2-right,
  body.single-product .rev-real2-section--mobile-slider .rev-real2-right {
    width: calc(100% - 72px) !important;
    max-width: 640px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    transform: none !important;
    left: auto !important;
    right: auto !important;
  }

  body.single-produkty .rev-real2-section--mobile-slider .rev-real2-panel,
  body.single-produkt .rev-real2-section--mobile-slider .rev-real2-panel,
  body.single-product .rev-real2-section--mobile-slider .rev-real2-panel {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    transform: none !important;
  }
}

@media (max-width: 480px) {
  body.single-produkty .rev-real2-section--mobile-slider .rev-real2-right,
  body.single-produkt .rev-real2-section--mobile-slider .rev-real2-right,
  body.single-product .rev-real2-section--mobile-slider .rev-real2-right {
    width: calc(100% - 56px) !important;
  }
}


/* ============================================================
   REALIZACJE — mobile polish v5
   Produkt: delikatna korekta po v4 — slajd lekko w lewo.
   ============================================================ */

@media (max-width: 1024px) {
  body.single-produkty .rev-real2-section--mobile-slider .rev-real2-right,
  body.single-produkt .rev-real2-section--mobile-slider .rev-real2-right,
  body.single-product .rev-real2-section--mobile-slider .rev-real2-right {
    transform: translateX(-10px) !important;
  }
}

@media (max-width: 480px) {
  body.single-produkty .rev-real2-section--mobile-slider .rev-real2-right,
  body.single-produkt .rev-real2-section--mobile-slider .rev-real2-right,
  body.single-product .rev-real2-section--mobile-slider .rev-real2-right {
    transform: translateX(-8px) !important;
  }
}
