/*
Theme Name: Extendable Child
Template: extendable
Version: 1.0
*/
@font-face {
    font-family: 'Exo2';
    src: url('fonts/Exo2.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Orbitron';
    src: url('fonts/Orbitron-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'BebasNeue';
    src: url('fonts/BebasNeue.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

/* Przypisanie czcionki do elementów strony */
body, h1, h2, h3 {
    font-family: 'BebasNeue', sans-serif !important;
}
p {
	font-family: 'Arial', sans-serif !important;
}

#modal-3-content > ul {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    list-style: none;
    margin: 0;
    padding: 0;
}

#modal-3-content > ul > li {
    flex-shrink: 0;
    box-sizing: border-box;
    /* usuń padding z li – przenosimy go na a */
    padding: 0;
}

#modal-3-content > ul > li > a {
    display: block;
    padding: 10px 14px;          /* tu daj padding, który wcześniej był na li */
    box-sizing: border-box;
    white-space: nowrap;
    text-decoration: none;
    width: 100%;                 /* rozciągnie się na całe li */
    height: 100%;                /* opcjonalnie, aby wypełnić wysokość */
}

header,
.wp-block-navigation,
.wp-block-navigation-item {
    position: relative;
    z-index: 9999;
}
/* Efekt hover – teraz możesz go dać na li lub a – wolisz na li dla większego obszaru */
#modal-3-content > ul > a:hover {
    background-color: rgba(128, 0, 255, 0.5);
}
#modal-3-content > ul > li.current-menu-item,
#modal-3-content > ul > li.current_page_item,
#modal-3-content > ul > li.active {
    background-color: rgba(128, 0, 255, 0.7);  /* ten sam kolor co na hover */
}

/* Kontener główny karuzeli */
.mySwiper {
    width: 100%;
    padding: 20px 0;
}

/* Pojedynczy slajd */
.swiper-slide {
    height: auto; /* Wysokość dostosuje się do treści */
}

/* Karta samochodu */
.car-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    height: 100%; /* Wypełnia cały slajd */
    display: flex;
    flex-direction: column;
}

/* Zdjęcie samochodu */
.car-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover; /* Zdjęcie wypełni obszar, zachowując proporcje */
    display: block;
}

/* Opis i dane */
.car-details {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.car-title {
    font-size: 1.2rem;
    margin: 0 0 10px 0;
    font-weight: bold;
}

.car-specs {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
}

.car-specs li {
    margin-bottom: 5px;
}

/* Przyciski nawigacyjne - dostosowanie dla małych ekranów */
@media (max-width: 768px) {
    .swiper-button-next,
    .swiper-button-prev {
        display: none; /* Ukryj przyciski na telefonach, karuzela i tak działa na palec */
    }
}

.wp-block-group.has-tertiary-background-color::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 6vw;
  min-height: 60px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z' fill='%230a0a0a'/%3E%3C/svg%3E") no-repeat bottom;
  background-size: cover;
  pointer-events: none;
}
/* Wszystkie grupy z tertiary */
.wp-block-group.has-tertiary-background-color {
    background-color: #0b0b0b !important;
    color: #ffffff !important;
}

.wp-block-group.has-tertiary-background-color * {
    color: #ffffff !important;
}

.wp-block-group.has-tertiary-background-color::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 6vw;
    min-height: 60px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='...' fill='%230a0a0a'/%3E%3C/svg%3E") no-repeat bottom;
    background-size: cover;
    pointer-events: none;
    z-index: 1;
}

.wp-block-group.has-tertiary-background-color > * {
    position: relative;
    z-index: 2;
}
/* ----------------------------------------------
   1. GLOBALNE STYLE – CIEMNY FIOLETOWY MOTYW
------------------------------------------------- */
body {
    background-color: #05020a !important;  /* bardzo ciemne tło – czarny z nutą fioletu */
    color: #e0ddf5 !important;
}

/* Tła sekcji – delikatne gradienty i przejścia */
.wp-block-group,
.wp-block-cover,
.wp-block-columns,
footer,
header {
    transition: background-color 0.4s ease, box-shadow 0.3s ease;
}

/* Nagłówki i teksty */
h1, h2, h3, h4, h5, h6,
.wp-block-heading {
    color: #f0eefb !important;
    letter-spacing: -0.01em;
}

a:not(.wp-element-button) {
    color: #c9b3ff;
    transition: color 0.2s ease;
}

a:not(.wp-element-button):hover {
    color: #ffd966; /* złoty akcent – prestiż */
    text-decoration: none;
}

/* Przyciski */
.wp-element-button,
.wp-block-button__link {
    background: linear-gradient(135deg, #5e2a9e, #341c5c);
    border: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.wp-element-button:hover,
.wp-block-button__link:hover {
    background: linear-gradient(135deg, #7b3fcc, #4a1d8c);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(94, 42, 158, 0.5);
}

/* Płynne przewijanie strony */
html {
    scroll-behavior: smooth;
}

/* ----------------------------------------------
   2. MENU GŁÓWNE – EFEKT PREMIUM I AKTYWNY STAN
------------------------------------------------- */

/* Podstawowe style linków w menu */
.wp-block-navigation-item {
    transition: all 0.25s ease-in-out;
}

/* Efekt hover: ciemny fiolet + subtelne uniesienie + cień */
.wp-block-navigation-item:hover {
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

/* Zmiana koloru tekstu na złoty przy hover */
.wp-block-navigation-item:hover .wp-block-navigation-item__content {
    color: #ffd966 !important;
}

/* Aktywna strona (current menu item) – zawsze ciemny fiolet */
.wp-block-pages-list__item.current-menu-item,
.wp-block-navigation-item.current-menu-item {
    color: #ffd966 !important;
}

/* Dla responsywnego menu mobilnego (modal) – zachowanie spójności */
.has-modal-open .wp-block-navigation-item:hover,
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item:hover {
    background-color: #3b1b6e !important;
}

/* ----------------------------------------------
   3. KARUZELA SWIPER – PEŁNA SZEROKOŚĆ, BRAK MARGINESÓW
------------------------------------------------- */

/* Kontener swipera – pełna szerokość okna */
.swiper.mySwiper {
    width: 100vw !important;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    padding: 2rem 0 !important;
    overflow: hidden;
}

/* Przywracamy padding dla slajdów, aby nie przylegały do krawędzi */
.mySwiper .swiper-wrapper {
    padding: 0 15px;
    box-sizing: border-box;
}

/* Karty samochodów – elegancki design premium */
.car-card {
    background: linear-gradient(145deg, #110c1f, #0a0712);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.6);
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    border: 1px solid rgba(94, 42, 158, 0.4);
}

.car-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 40px -12px rgba(94, 42, 158, 0.5);
    border-color: #7b3fcc;
}

.car-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.car-card:hover .car-thumbnail img {
    transform: scale(1.03);
}

.car-details {
    padding: 1.25rem;
}

.car-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #f0eefb;
    margin-bottom: 0.75rem;
    letter-spacing: -0.3px;
}

.car-specs li {
    color: #b9afdf;
    font-size: 0.9rem;
    margin-bottom: 6px;
}

/* Nawigacja swipera (strzałki) – styl premium */
.swiper-button-next,
.swiper-button-prev {
    color: #ffd966 !important;
    background: rgba(0, 0, 0, 0.5);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    backdrop-filter: blur(4px);
    transition: all 0.2s;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: #5e2a9e;
    transform: scale(1.1);
}

/* ----------------------------------------------
   4. PŁYNNE PRZEJŚCIA MIĘDZY DIVAMI (SEKCJAMI)
------------------------------------------------- */
/* Każda główna sekcja zyskuje delikatną animację przy pojawianiu się */
.wp-block-group,
.wp-block-cover,
.wp-block-columns,
.swiper.mySwiper {
    opacity: 0;
    transform: translateY(15px);
    animation: fadeSlideUp 0.6s ease forwards;
}

/* Kolejne opóźnienia dla efektu kaskadowego (naturalne wejście) */
.wp-block-group:nth-child(1) { animation-delay: 0.05s; }
.wp-block-group:nth-child(2) { animation-delay: 0.1s; }
.wp-block-group:nth-child(3) { animation-delay: 0.15s; }

@keyframes fadeSlideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Zapobiega rozjeżdżaniu się animacji na małych urządzeniach */
@media (prefers-reduced-motion: reduce) {
    .wp-block-group,
    .wp-block-cover,
    .wp-block-columns {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

/* Dodatkowo – płynne przejścia przy najechaniu na dowolny blok */
.wp-block-group,
.wp-block-column,
.car-card,
.wp-block-button__link {
    transition: all 0.3s ease-in-out;
}

/* ----------------------------------------------
   5. POPRAWA KONTRASTU I SZCZEGÓŁÓW PREMIUM
------------------------------------------------- */
/* Stopka – ciemniejsza z fioletowym akcentem */
footer.wp-block-template-part {
    background-color: #030008 !important;
    border-top: 1px solid #2a1b44;
}

/* linki w stopce */
footer a {
    color: #c9b3ff;
    transition: 0.2s;
}
footer a:hover {
    color: #ffd966;
    text-shadow: 0 0 4px #7b3fcc;
}

/* ikony social media – srebrne, po najechaniu złote */
.wp-block-social-link svg {
    fill: #cfc5f0;
    transition: all 0.2s;
}
.wp-block-social-link:hover svg {
    fill: #ffd966;
    transform: scale(1.1);
}

/* Wyróżnienie CTA (przycisk "Zarezerwuj teraz") */
.wp-block-button.is-style-ext-preset--button--natural-1--button-1 .wp-block-button__link {
    background: linear-gradient(95deg, #ffb347, #ff8c00);
    color: #0a0712;
    font-weight: bold;
    box-shadow: 0 8px 20px rgba(255, 140, 0, 0.3);
}

/* Poprawa czytelności na ciemnym tle dla formularzy, inputów */
input, textarea, select {
    background-color: #1c142f;
    border: 1px solid #4a2c7a;
    color: #f0eefb;
    border-radius: 12px;
    padding: 10px 14px;
}
input:focus, textarea:focus {
    border-color: #ffd966;
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 217, 102, 0.3);
}
/* Karuzela Swiper – pełna szerokość, wyśrodkowana, bez uciekania */
.swiper.mySwiper {
    width: 100% !important;
    padding: 2rem 42px !important;
    margin: 0 auto !important;
    overflow: hidden;
    position: relative;
    left: auto;
    right: auto;
}

/* Aby karuzela faktycznie sięgała krawędzi ekranu (opcjonalnie) */
@media (min-width: 768px) {
    .swiper.mySwiper {
        width: 100vw;
        position: relative;
        transform: translateX(-50%);
        margin: 0;
    }
    /* Przywracamy padding, aby slajdy nie przylegały do krawędzi */
   .mySwiper .swiper-wrapper {
    padding: 0 15px;
    box-sizing: border-box;
}
}
/* Przyciski nawigacji Swiper – większe i z fioletową obwódką po najechaniu */
.swiper-button-next,
.swiper-button-prev {
    width: 56px !important;          /* zwiększ szerokość */
    height: 56px !important;         /* zwiększ wysokość */
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    transition: all 0.25s ease;
    backdrop-filter: blur(4px);
}

/* Strzałki wewnątrz – powiększenie */
.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 28px !important;      /* grubsze strzałki */
    font-weight: bold;
    color: #ffd966;
    transition: color 0.2s;
}

/* Efekt hover: fioletowa obwódka + delikatne powiększenie */
.swiper-button-next:hover,
.swiper-button-prev:hover {
    border: 2px solid #8b5cf6 !important;   /* fioletowa obwódka (możesz zmienić odcień) */
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.05);
}

/* Opcjonalnie: zmiana koloru strzałki na hover */
.swiper-button-next:hover:after,
.swiper-button-prev:hover:after {
    color: #ffffff;
}

/* ---------- ANIMACJE POJAWIANIA SIĘ (SCROLL REVEAL) ---------- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.9, 0.4, 1.1), transform 0.8s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Opóźnienie dla elementów wewnątrz slajdów – efekt kaskadowy */
.car-card.reveal {
    transition-delay: 0.05s;
}

.swiper-slide .car-thumbnail img {
    transition: transform 0.4s ease, opacity 0.6s ease;
}

/* Dodatkowo – delikatne powiększenie zdjęcia po pojawieniu */
.revealed .car-thumbnail img {
    transform: scale(1.02);
}

/* ==============================================
   SZABLON POJEDYNCZEGO SAMOCHODU (tag: samochód)
   ============================================== */

.car-single-main {
    background-color: #05020a;
    color: #e0ddf5;
    overflow-x: hidden;
}

/* ---------- HERO ---------- */
.car-single-hero {
    position: relative;
    width: 100%;
    min-height: 75vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.car-single-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to top, #05020a 0%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

.car-single-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(5,2,10,0.1) 0%, rgba(5,2,10,0.4) 60%, rgba(5,2,10,0.9) 100%);
    z-index: 1;
}

.car-single-hero-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 3rem 2rem;
    max-width: 800px;
}

.car-single-brand-logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 1.5rem;
    filter: brightness(1.1);
}

.car-single-title {
    font-family: 'BebasNeue', sans-serif;
    font-size: clamp(2.5rem, 6vw, 5rem);
    color: #ffffff;
    margin: 0 0 0.25rem 0;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.car-single-generation {
    font-family: 'BebasNeue', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    color: #c9b3ff;
    margin: 0;
    letter-spacing: 1px;
}

.car-single-hero-mobile {
    display: none;
}

@media (max-width: 768px) {
    .car-single-hero {
        min-height: 40vh;
    }
    .car-single-hero-mobile {
        display: block;
        width: 100%;
    }
    .car-single-hero-mobile img {
        width: 100%;
        height: auto;
        display: block;
    }
}

/* ---------- SPECYFIKACJA ---------- */
.car-single-specs {
    background-color: #05020a;
    padding: 2rem 1rem;
    margin-top: -1px;
}

.car-single-specs-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    max-width: 1200px;
    margin: 0 auto;
}

.car-single-spec-card {
    background: linear-gradient(145deg, #110c1f, #0a0712);
    border: 1px solid rgba(94, 42, 158, 0.3);
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    text-align: center;
    min-width: 130px;
    flex: 1 1 150px;
    max-width: 200px;
    transition: all 0.3s ease;
}

.car-single-spec-card:hover {
    border-color: #7b3fcc;
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(94, 42, 158, 0.3);
}

.car-single-spec-card i {
    font-size: 1.5rem;
    color: #ffd966;
    margin-bottom: 0.5rem;
    display: block;
}

.car-single-spec-card h3 {
    font-family: 'BebasNeue', sans-serif;
    font-size: 0.75rem;
    color: #b9afdf;
    margin: 0 0 0.25rem 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 400;
}

.car-single-spec-card p {
    font-family: 'BebasNeue', sans-serif;
    font-size: 1.25rem;
    color: #f0eefb;
    margin: 0;
    font-weight: 600;
}

@media (max-width: 768px) {
    .car-single-specs-row {
        gap: 0.5rem;
    }
    .car-single-spec-card {
        min-width: 100px;
        flex: 1 1 100px;
        padding: 0.75rem 0.5rem;
    }
    .car-single-spec-card p {
        font-size: 1rem;
    }
}

/* ---------- OPIS ---------- */
.car-single-description {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.car-single-description h2 {
    font-family: 'BebasNeue', sans-serif;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    color: #f0eefb;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.car-single-description-text {
    color: #b9afdf;
    line-height: 1.7;
    font-size: 1rem;
}

.car-single-description-text p {
    margin-bottom: 1rem;
}

/* ---------- CENNIK ---------- */
.car-single-pricing {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.car-single-pricing-subtitle {
    font-family: 'BebasNeue', sans-serif;
    font-size: 0.9rem;
    color: #c9b3ff;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.25rem;
    font-weight: 400;
}

.car-single-pricing-title {
    font-family: 'BebasNeue', sans-serif;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    color: #f0eefb;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.car-single-deposit {
    display: inline-block;
    background: linear-gradient(135deg, #5e2a9e, #341c5c);
    color: #f0eefb;
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.car-single-pricing-table {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(94, 42, 158, 0.3);
}

/*
 * Nagłówek i wiersze mają ten sam podział:
 * lewa kolumna = liczba dni,
 * prawa kolumna = dwa warianty ceny.
 */
.car-single-pricing-header,
.car-single-pricing-row {
    display: grid;
    grid-template-columns: minmax(105px, 0.78fr) minmax(0, 2fr);
    align-items: center;
    column-gap: 1rem;
}

.car-single-pricing-header {
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #341c5c, #1c0a3a);
    font-family: 'BebasNeue', sans-serif;
    font-size: 1rem;
    color: #f0eefb;
    letter-spacing: 1px;
}

.car-single-pricing-header > span:last-child {
    text-align: center;
}

.car-single-pricing-header-limit {
    display: block;
    margin-top: 1px;
    color: #c9b3ff;
    font-family: 'BebasNeue', sans-serif;
    font-size: 0.68rem;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.8px;
}

.car-single-pricing-row {
    padding: 1rem 1.5rem;
    background: #110c1f;
    font-size: 1rem;
    color: #e0ddf5;
    transition: background 0.2s ease;
}

.car-single-pricing-row.dark {
    background: #0a0712;
}

.car-single-pricing-row:hover {
    background: #1a1233;
}

/* Tylko bezpośrednia lewa kolumna wiersza. */
.car-single-pricing-row > span:first-child {
    font-family: 'BebasNeue', sans-serif;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    color: #e0ddf5;
}

/*
 * Prawa część wiersza.
 * Każdy wariant ceny ma własną kolumnę.
 */
.car-single-pricing-options {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    min-width: 0;
}

.car-single-pricing-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 0;
    font-family: 'BebasNeue', sans-serif;
    text-align: center;
}

/* Cena + /doba pozostają w jednej linii. */
.car-single-pricing-option-price {
    display: block;
    color: #ffd966;
    font-family: 'BebasNeue', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}

.car-single-pricing-option-price em {
    margin-left: 0.18rem;
    color: #b9afdf;
    font-style: normal;
    font-size: 0.68rem;
    font-weight: 400;
}

/* LIMIT KM ZAWSZE POD CENĄ */
.car-single-pricing-option-limit {
    display: block;
    margin-top: 0.28rem;
    color: #c9b3ff;
    font-family: 'BebasNeue', sans-serif;
    font-size: 0.72rem;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.35px;
    text-align: center;
    white-space: nowrap;
}

/*
 * POPULARNE pozostaje przy drugim wariancie,
 * ale nie rozpycha linii z ceną i limitem.
 */
.car-single-pricing-option--popular {
    position: static;
    padding-right: 0;
}

.popular-badge {
    position: absolute;
    top: 50%;
    left: -4.65rem;
    transform: translateY(-50%);
    display: inline-block;
    margin: 0;
    padding: 0.2rem 0.5rem;
    background: #ffb347;
    color: #0a0712 !important;
    border-radius: 4px;
    font-family: 'BebasNeue', sans-serif;
    font-size: 0.65rem !important;
    font-style: normal;
    font-weight: 700 !important;
    line-height: 1.2;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    white-space: nowrap;
    z-index: 2;
}

/*
 * Weekend nadal korzysta ze starego, pojedynczego układu ceny.
 */
.car-single-pricing-row > span:last-child:not(.car-single-pricing-options) {
    justify-self: end;
    color: #ffd966;
    font-family: 'BebasNeue', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    white-space: nowrap;
}

.car-single-pricing-row > span:last-child:not(.car-single-pricing-options) em {
    color: #b9afdf;
    font-style: normal;
    font-size: 0.75rem;
    font-weight: 400;
}

/* Węższe ekrany / wąska kolumna z cennikiem. */
@media (max-width: 560px) {
    .car-single-pricing {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .car-single-pricing-header,
    .car-single-pricing-row {
        grid-template-columns: minmax(82px, 0.65fr) minmax(0, 2fr);
        column-gap: 0.6rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .car-single-pricing-options {
        gap: 0.45rem;
    }

    .car-single-pricing-option-price {
        font-size: 1.05rem;
    }

    .car-single-pricing-option-price em {
        font-size: 0.58rem;
    }

    .car-single-pricing-option-limit {
        font-size: 0.64rem;
    }

    .car-single-pricing-option--popular {
        padding-right: 0;
    }

    .popular-badge {
        left: -3.9rem;
        padding: 0.18rem 0.36rem;
        font-size: 0.56rem !important;
    }
}

/* ---------- GALERIA ---------- */
.car-single-gallery {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.car-single-gallery h2 {
    font-family: 'BebasNeue', sans-serif;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    color: #f0eefb;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.car-single-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.car-single-gallery-item {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(94, 42, 158, 0.2);
    transition: all 0.3s ease;
}

.car-single-gallery-item:hover {
    border-color: #7b3fcc;
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(94, 42, 158, 0.3);
}

.car-single-gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

/* ---------- KONTAKT / CTA ---------- */
.car-single-contact {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(180deg, #05020a 0%, #0a0616 100%);
}

.car-single-contact h2 {
    font-family: 'BebasNeue', sans-serif;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    color: #f0eefb;
    margin-bottom: 2rem;
    letter-spacing: 1px;
}

.car-single-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #ffb347, #ff8c00);
    color: #0a0712;
    padding: 1rem 2.5rem;
    border-radius: 12px;
    font-family: 'BebasNeue', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(255, 140, 0, 0.3);
}

.car-single-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(255, 140, 0, 0.5);
    color: #0a0712;
}

.car-single-cta-button i {
    font-size: 1.1rem;
}

/* ==============================================
   MODAL KARTY SAMOCHODU
   ============================================== */

.car-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 2, 10, 0.92);
    backdrop-filter: blur(6px);
    z-index: 99990;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.car-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.car-modal-close {
    position: fixed;
    top: 16px;
    right: 24px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #f0eefb;
    background: rgba(94, 42, 158, 0.5);
    border-radius: 50%;
    cursor: pointer;
    z-index: 10001;
    transition: all 0.25s ease;
    line-height: 1;
}

.car-modal-close:hover {
    background: #5e2a9e;
    color: #ffd966;
    transform: scale(1.1);
}

.car-modal-inner {
    position: fixed;
    inset: 0;
    z-index: 10000;
    overflow: hidden;
}

.car-modal-card {
    border-radius: 20px !important;
    overflow: auto !important;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7) !important;
    border: 2px solid rgba(94, 42, 158, 0.5) !important;
    background: linear-gradient(145deg, #110c1f, #0a0712) !important;
}

.car-modal-card .car-thumbnail img {
    height: 280px !important;
    object-fit: cover !important;
}

.car-modal-card .car-details {
    padding: 1.5rem !important;
}

.car-modal-card .car-title {
    font-size: 1.6rem !important;
}

.car-modal-card .car-specs {
    font-size: 1rem !important;
}

.car-modal-details {
    position: fixed;
    right: 50%;
    bottom: 30px;
    transform: translateX(50%);
    width: 90%;
    max-width: 780px;
    background: linear-gradient(145deg, #110c1f, #0a0712);
    border: 1px solid rgba(94, 42, 158, 0.4);
    border-radius: 16px;
    padding: 1.5rem;
    z-index: 10002;
    overflow-y: auto;
    max-height: 35vh;
    opacity: 0;
    animation: fadeInUp 0.4s 0.3s ease forwards;
}

.car-modal-details h3 {
    font-family: 'BebasNeue', sans-serif;
    font-size: 1.4rem;
    color: #ffd966;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.car-modal-details p {
    color: #e0ddf5;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.car-modal-details p i {
    color: #ffd966;
    width: 20px;
    text-align: center;
}

.car-modal-details p strong {
    color: #f0eefb;
}

.car-modal-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.6rem 1.5rem;
    background: linear-gradient(135deg, #ffb347, #ff8c00);
    color: #0a0712 !important;
    border-radius: 8px;
    font-family: 'BebasNeue', sans-serif;
    font-size: 1rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.car-modal-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 140, 0, 0.4);
    color: #0a0712 !important;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateX(50%) translateY(20px); }
    to { opacity: 1; transform: translateX(50%) translateY(0); }
}

@media (max-width: 768px) {
    .car-modal-details {
        max-height: 30vh;
        padding: 1rem;
        bottom: 15px;
    }
    .car-modal-details p {
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .car-modal-card {
        width: 92vw !important;
        height: 70vh !important;
    }
    .car-modal-card .car-thumbnail img {
        height: 180px !important;
    }
}

/* GŁÓWNY BANER STRONY */
.pos-home-hero {
    position: relative;
    min-height: 800px !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    overflow: hidden;
}


/* Kontener tekstu i przycisku */
.pos-home-hero .wp-block-cover__inner-container {
    position: relative;
    z-index: 2;

    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;

    padding:
        clamp(75px, 9vh, 120px)
        clamp(30px, 6vw, 110px)
        150px !important;
}

/* Tekst hero */
.pos-home-hero .pos-hero__content {
    width: 100%;
    max-width: 720px;
    margin: 0 !important;
    padding: 0 !important;
}

/* Główny nagłówek */
.pos-home-hero .pos-hero__title {
    margin: 0 0 28px !important;

    font-family: Orbitron, "Times New Roman", serif !important;
    font-weight: 400 !important;
    font-style: normal !important;

    line-height: 0.96 !important;
    letter-spacing: -0.045em !important;
    text-align: left !important;
    text-transform: none !important;
}

.pos-home-hero .pos-hero__title-white,
.pos-home-hero .pos-hero__title-purple {
    display: block;
    font-family: Orbitron, "Times New Roman", serif !important;
    font-weight: 400 !important;
    font-style: normal !important;
    text-transform: none !important;
}

/* Wypożyczalnia */
.pos-home-hero .pos-hero__title-white {
    color: #ffffff !important;
    font-size: clamp(48px, 4.8vw, 84px) !important;
}

/* samochodów 24/7 */
.pos-home-hero .pos-hero__title-purple {
    margin-top: 8px;

    font-size: clamp(46px, 4.6vw, 80px) !important;
    color: #c464ef !important;

    background: linear-gradient(
        180deg,
        #e6adff 0%,
        #bd62e9 48%,
        #8730b5 100%
    );

    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;

    text-shadow:
        0 0 14px rgba(196, 100, 239, 0.2),
        0 0 32px rgba(146, 47, 193, 0.16);
}

/* Biały opis */
.pos-home-hero .pos-hero__description {
    margin: 0 0 14px !important;

    color: rgba(255, 255, 255, 0.9) !important;
    font-family: Exo2, Helvetica, sans-serif !important;
    font-size: clamp(17px, 1.3vw, 23px) !important;
    font-weight: 300 !important;

    line-height: 1.5 !important;
    letter-spacing: 0 !important;
    text-align: left !important;
    text-transform: none !important;
}

/* Fioletowy opis */
.pos-home-hero .pos-hero__highlight {
    margin: 0 0 18px !important;
    max-width: 560px;

    color: #d47af3 !important;
    font-family: Exo2, "Times New Roman", serif !important;
    font-size: clamp(18px, 1.3vw, 23px) !important;
    font-weight: 400 !important;

    line-height: 1.45 !important;
    letter-spacing: 0 !important;
    text-align: left !important;
    text-transform: none !important;

    text-shadow: 0 0 18px rgba(190, 91, 230, 0.22);
}

/* Przycisk umieszczony w kontenerze tekstu */
.pos-home-hero .pos-hero__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin: 0 !important;
    padding: 15px 30px;

    color: #ffffff !important;
    background: linear-gradient(
        135deg,
        #c75cff 0%,
        #812fc0 100%
    );

    border: 1px solid rgba(225, 156, 255, 0.65);
    border-radius: 999px;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.04em;

    text-decoration: none !important;
    text-transform: uppercase;

    box-shadow:
        0 0 18px rgba(180, 71, 230, 0.3),
        0 8px 24px rgba(0, 0, 0, 0.3);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.pos-home-hero .pos-hero__button:hover {
    color: #ffffff !important;
    transform: translateY(-3px);

    box-shadow:
        0 0 28px rgba(190, 80, 240, 0.5),
        0 12px 28px rgba(0, 0, 0, 0.4);
}

/* TABLETY */
@media (max-width: 1000px) {
    .pos-home-hero {
        min-height: 760px !important;
    }

    .pos-home-hero .wp-block-cover__inner-container {
        padding-left: 40px !important;
        padding-right: 40px !important;
    }

    .pos-home-hero .pos-hero__content {
        max-width: 590px;
    }
}
@media (min-width: 783px) {
    .pos-home-hero .pos-hero__content {
        transform: translateY(-50px);
    }
}

/* TELEFONY */
@media (max-width: 782px) {
    .pos-home-hero {
        min-height: 720px !important;
        align-items: flex-end !important;
    }


    .pos-home-hero .wp-block-cover__image-background {
        object-position: 67% center !important;
    }

    .pos-home-hero .wp-block-cover__inner-container {
        padding:
            300px
            22px
            45px !important;
    }

    .pos-home-hero .pos-hero__title {
        margin-bottom: 22px !important;
    }

    .pos-home-hero .pos-hero__title-white {
        font-size: clamp(42px, 13vw, 60px) !important;
    }

    .pos-home-hero .pos-hero__title-purple {
        font-size: clamp(40px, 12vw, 56px) !important;
    }

    .pos-home-hero .pos-hero__description,
    .pos-home-hero .pos-hero__highlight {
        font-size: 17px !important;
    }

    .pos-home-hero .pos-hero__description br,
    .pos-home-hero .pos-hero__highlight br {
        display: none;
    }
}
.pos-home-hero .pos-hero__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin: 24px 0;
    padding: 15px 30px;

    color: #fff !important;
    background: linear-gradient(135deg, #c75cff 0%, #812fc0 100%);

    border: 1px solid rgba(225, 156, 255, 0.65);
    border-radius: 999px;

    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none !important;
    text-transform: uppercase;

    box-shadow:
        0 0 18px rgba(180, 71, 230, 0.35),
        0 8px 24px rgba(0, 0, 0, 0.35);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.pos-home-hero .pos-hero__button:hover {
    color: #fff !important;
    transform: translateY(-3px);

    box-shadow:
        0 0 28px rgba(190, 80, 240, 0.55),
        0 12px 28px rgba(0, 0, 0, 0.4);
}

.pos-slider-section {
width: 100%;
    max-width: none !important;
    position: relative;
    padding: 70px 0;

    background-image: url("https://panowieodsamochodow.pl/wp-content/uploads/2026/07/tlo-slider.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    overflow: hidden;
}

.car-card,
.car-card:hover,
.car-card:focus {
    color: inherit;
    text-decoration: none;
}

.car-card {
    cursor: pointer;
}

.car-card:focus-visible {
    outline: 3px solid #d47af3;
    outline-offset: 4px;
}
/* =====================================================
   FORMULARZ PANOWIE OD SAMOCHODÓW – WPFORMS
   Klasa formularza: pos-car-form
===================================================== */

.pos-car-form {
    --pos-purple: #d47af3;
    --pos-purple-light: #e6a7fa;
    --pos-purple-dark: #a743cc;
    --pos-bg: rgba(17, 17, 21, 0.94);
    --pos-field-bg: rgba(255, 255, 255, 0.055);
    --pos-border: rgba(212, 122, 243, 0.28);
    --pos-text: #ffffff;
    --pos-muted: #b9b9c2;

    position: relative;
    max-width: 850px;
    margin: 0 auto;
    padding: clamp(24px, 4vw, 46px);
    overflow: hidden;

    background:
        radial-gradient(
            circle at top right,
            rgba(212, 122, 243, 0.16),
            transparent 38%
        ),
        linear-gradient(
            145deg,
            rgba(28, 28, 34, 0.97),
            rgba(11, 11, 14, 0.98)
        );

    border: 1px solid var(--pos-border);
    border-radius: 24px;

    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.45),
        0 0 35px rgba(212, 122, 243, 0.08);
}

/* Fioletowy detal u góry formularza */
.pos-car-form::before {
    content: "";
    position: absolute;
    top: 0;
    left: 8%;
    width: 84%;
    height: 3px;

    background: linear-gradient(
        90deg,
        transparent,
        var(--pos-purple),
        transparent
    );

    box-shadow: 0 0 18px rgba(212, 122, 243, 0.7);
}

/* Etykiety pól */
.pos-car-form .wpforms-field-label {
    margin-bottom: 9px !important;

    color: var(--pos-text) !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    letter-spacing: 0.03em;
}

/* Opisy pól */
.pos-car-form .wpforms-field-description,
.pos-car-form .wpforms-field-sublabel {
    color: var(--pos-muted) !important;
    font-size: 12px !important;
}

/* Gwiazdka pola wymaganego */
.pos-car-form .wpforms-required-label {
    color: var(--pos-purple) !important;
}

/* Pola tekstowe */
.pos-car-form input[type="text"],
.pos-car-form input[type="email"],
.pos-car-form input[type="tel"],
.pos-car-form input[type="number"],
.pos-car-form input[type="url"],
.pos-car-form input[type="date"],
.pos-car-form select,
.pos-car-form textarea {
    width: 100% !important;
    min-height: 54px !important;
    padding: 14px 17px !important;

    color: var(--pos-text) !important;
    background: var(--pos-field-bg) !important;

    border: 1px solid rgba(255, 255, 255, 0.13) !important;
    border-radius: 12px !important;
    outline: none !important;

    font-size: 15px !important;

    box-shadow:
        inset 0 1px 2px rgba(0, 0, 0, 0.25);

    transition:
        border-color 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

/* Wiadomość */
.pos-car-form textarea {
    min-height: 150px !important;
    resize: vertical;
}

/* Placeholder */
.pos-car-form input::placeholder,
.pos-car-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.42) !important;
}

/* Aktywne pole */
.pos-car-form input:focus,
.pos-car-form select:focus,
.pos-car-form textarea:focus {
    background: rgba(212, 122, 243, 0.075) !important;
    border-color: var(--pos-purple) !important;

    box-shadow:
        0 0 0 4px rgba(212, 122, 243, 0.13),
        0 0 18px rgba(212, 122, 243, 0.08) !important;

    transform: translateY(-1px);
}

/* Rozwijana lista */
.pos-car-form select {
    cursor: pointer;
}

.pos-car-form select option {
    color: #ffffff;
    background: #17171c;
}

/* Checkbox i radio */
.pos-car-form input[type="checkbox"],
.pos-car-form input[type="radio"] {
    accent-color: var(--pos-purple);
}

.pos-car-form .wpforms-field-checkbox label,
.pos-car-form .wpforms-field-radio label,
.pos-car-form .wpforms-field-gdpr-checkbox label {
    color: #d5d5dc !important;
    font-size: 13px !important;
    line-height: 1.6 !important;
}

/* Odstępy pomiędzy polami */
.pos-car-form .wpforms-field {
    padding-top: 0 !important;
    padding-bottom: 20px !important;
}

/* Przycisk wysłania */
.pos-car-form button[type="submit"],
.pos-car-form input[type="submit"] {
    position: relative;

    width: 100% !important;
    min-height: 56px !important;
    padding: 15px 28px !important;

    color: #160d1a !important;

    background: linear-gradient(
        135deg,
        var(--pos-purple-light),
        var(--pos-purple)
    ) !important;

    border: 1px solid rgba(255, 255, 255, 0.24) !important;
    border-radius: 12px !important;

    font-size: 15px !important;
    font-weight: 800 !important;
    letter-spacing: 0.08em;
    text-transform: uppercase;

    cursor: pointer;

    box-shadow:
        0 12px 30px rgba(212, 122, 243, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        filter 0.25s ease;
}

/* Przycisk po najechaniu */
.pos-car-form button[type="submit"]:hover,
.pos-car-form input[type="submit"]:hover {
    color: #ffffff !important;
    background: linear-gradient(
        135deg,
        var(--pos-purple),
        var(--pos-purple-dark)
    ) !important;

    transform: translateY(-2px);

    box-shadow:
        0 16px 38px rgba(212, 122, 243, 0.38),
        0 0 22px rgba(212, 122, 243, 0.18);
}
body:has(#wynajem-dlugoterminowy) .wp-block-post-title,
body:has(#wynajem-dlugoterminowy) h1.entry-title {
    display: none !important;
}
body:has(#wynajem-dlugoterminowy) main {
    margin-top: 0 !important;
    padding-top: 0 !important;
}
/* Kliknięcie przycisku */
.pos-car-form button[type="submit"]:active,
.pos-car-form input[type="submit"]:active {
    transform: translateY(0);
}

/* Komunikaty walidacji */
.pos-car-form label.wpforms-error,
.pos-car-form em.wpforms-error {
    margin-top: 7px !important;
    color: #ff9696 !important;
    font-size: 12px !important;
}

/* Pole z niepoprawną wartością */
.pos-car-form input.wpforms-error,
.pos-car-form textarea.wpforms-error,
.pos-car-form select.wpforms-error {
    border-color: #ff7474 !important;

    box-shadow:
        0 0 0 3px rgba(255, 116, 116, 0.12) !important;
}

/* Komunikat po wysłaniu */
.pos-car-form .wpforms-confirmation-container-full {
    color: #ffffff !important;
    background: rgba(212, 122, 243, 0.12) !important;

    border: 1px solid rgba(212, 122, 243, 0.45) !important;
    border-radius: 14px !important;
}

/* Urządzenia mobilne */
@media (max-width: 600px) {
    .pos-car-form {
        padding: 22px 16px;
        border-radius: 17px;
    }

    .pos-car-form input[type="text"],
    .pos-car-form input[type="email"],
    .pos-car-form input[type="tel"],
    .pos-car-form input[type="number"],
    .pos-car-form input[type="url"],
    .pos-car-form input[type="date"],
    .pos-car-form select,
    .pos-car-form textarea {
        font-size: 16px !important;
    }

    .pos-car-form button[type="submit"],
    .pos-car-form input[type="submit"] {
        min-height: 54px !important;
    }
}

/* Menu główne – jeden wiersz i przesunięcie w lewo */
@media (min-width: 1000px) {

    /* Cała nawigacja */
    header .wp-block-navigation {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        max-width: none !important;

        /* Wykorzystanie pustego miejsca przy logo */
        margin-left: -45px !important;
    }

    /* Lista pozycji menu */
    header .wp-block-navigation__container {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: flex-start !important;

        width: 100% !important;
        max-width: none !important;

        column-gap: clamp(8px, 0.65vw, 14px) !important;
        row-gap: 0 !important;
    }

    /* Pozycje nie mogą się zwężać ani przechodzić do kolejnego wiersza */
    header .wp-block-navigation-item {
        flex: 0 0 auto !important;
    }

    header .wp-block-navigation-item__content {
        font-size: clamp(17px, 0.9vw, 20px) !important;
        line-height: 1.1 !important;
        letter-spacing: 0 !important;
        white-space: nowrap !important;
    }
}
/* /* Powiększenie czcionki w menu głównym */ */
/* @media (min-width: 1000px) { */
    /* header .wp-block-navigation-item__content { */
        /* font-size: clamp(18px, 1.05vw, 22px) !important; */
        /* line-height: 1.1 !important; */
        /* letter-spacing: 0.01em; */
    /* } */

    /* /* Odstępy pomiędzy pozycjami menu */ */
    /* header .wp-block-navigation__container { */
        /* column-gap: clamp(14px, 1.4vw, 28px) !important; */
    /* } */
/* } */
/* @media (max-width: 999px) { */
    /* .wp-block-navigation__responsive-container.is-menu-open */
    /* .wp-block-navigation-item__content { */
        /* font-size: 24px !important; */
        /* line-height: 1.25 !important; */
    /* } */
/* } */
/* ==================================================
   USUNIĘCIE TYTUŁÓW I PASKA NA PODSTRONACH
   ================================================== */

/* Ukrycie wyłącznie paska z tytułem podstrony */
body.page:not(.home)
.wp-block-group.alignfull.has-tertiary-background-color.has-background:has(.wp-block-post-title) {
    display: none !important;
}

body.page:not(.home) .wp-block-post-title,
body.page:not(.home) h1.entry-title {
    display: none !important;
}
/* ==================================================
   PODSTRONA SAMOCHODU – DWIE KOLUMNY
   ================================================== */

.car-single-content-layout {
    display: grid;
    grid-template-columns:
        minmax(340px, 430px)
        minmax(0, 1fr);

    gap: clamp(28px, 4vw, 60px);
    align-items: start;

    width: min(1500px, calc(100% - 48px));
    margin: 0 auto;
    padding: 48px 0;

    box-sizing: border-box;
}

.car-single-content-sidebar,
.car-single-content-main {
    min-width: 0;
}

/* Nadpisuje limit 800 px wyłącznie w nowym układzie */
.car-single-content-layout .car-single-pricing,
.car-single-content-layout .car-single-description {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

.car-single-content-sidebar .car-single-pricing {
    position: sticky;
    top: 110px;
}
/* ==================================================
   BIK + KRD przy pozycji „Wynajem z wykupem”
   ================================================== */

/* Działa po adresie linku oraz jako trzecia pozycja menu */
.wp-block-navigation a[href*="wynajem-z-wykupem"],
.wp-block-navigation__container
> .wp-block-navigation-item:nth-child(3)
> .wp-block-navigation-item__content {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 2px !important;
    white-space: nowrap !important;
}

/* BIK po lewej */
.wp-block-navigation a[href*="wynajem-z-wykupem"]::before,
.wp-block-navigation__container
> .wp-block-navigation-item:nth-child(3)
> .wp-block-navigation-item__content::before {
    content: "" !important;
    display: inline-block !important;

    width: 23px !important;
    height: 23px !important;
    flex: 0 0 23px !important;
    margin-right: 1px !important;

    background-image: url("https://panowieodsamochodow.pl/wp-content/uploads/2026/08/bik.png") !important;
    background-position: center !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;

    transform: rotate(-10deg) translateY(-1px) scale(1);
    transform-origin: center;
    transition: transform 0.25s ease;
}

/* KRD po prawej */
.wp-block-navigation a[href*="wynajem-z-wykupem"]::after,
.wp-block-navigation__container
> .wp-block-navigation-item:nth-child(3)
> .wp-block-navigation-item__content::after {
    content: "" !important;
    display: inline-block !important;

    width: 23px !important;
    height: 23px !important;
    flex: 0 0 23px !important;
    margin-left: 1px !important;

    background-image: url("https://panowieodsamochodow.pl/wp-content/uploads/2026/08/krd.png") !important;
    background-position: center !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;

    transform: rotate(10deg) translateY(-1px) scale(1);
    transform-origin: center;
    transition: transform 0.25s ease;
}

/* Powiększenie po najechaniu */
.wp-block-navigation a[href*="wynajem-z-wykupem"]:hover::before,
.wp-block-navigation__container
> .wp-block-navigation-item:nth-child(3):hover
> .wp-block-navigation-item__content::before {
    transform: rotate(-14deg) translateY(-1px) scale(1.5);
}

.wp-block-navigation a[href*="wynajem-z-wykupem"]:hover::after,
.wp-block-navigation__container
> .wp-block-navigation-item:nth-child(3):hover
> .wp-block-navigation-item__content::after {
    transform: rotate(14deg) translateY(-1px) scale(1.5);
}
}

/* ==================================================
   GALERIA SAMOCHODU – OSOBNY SWIPER
   ================================================== */

.car-single-content-main .pos-car-gallery-swiper {
    position: relative;

    width: 100%;
    max-width: 100%;

    margin: 0 0 36px;
    padding: 0;

    overflow: hidden;
    box-sizing: border-box;
}

/* Osobny wrapper utworzony w car-gallery.js */
.pos-car-gallery-swiper .pos-car-gallery-track {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;

    margin: 0;
    padding: 0;
}

/* Pojedyncze zdjęcie */
.pos-car-gallery-swiper
.pos-car-gallery-track
> .swiper-slide {
    position: relative;

    flex-shrink: 0;
    margin: 0 !important;

    overflow: hidden;
    border: 1px solid rgba(212, 122, 243, 0.22);
    border-radius: 18px;

    background: #110c1f;

    box-shadow:
        0 14px 30px rgba(0, 0, 0, 0.3),
        0 0 18px rgba(212, 122, 243, 0.05);

    box-sizing: border-box;
}

/* Obraz bezpośrednio w figure */
.pos-car-gallery-swiper
.pos-car-gallery-track
> .swiper-slide
> img,

/* Obraz umieszczony w linku */
.pos-car-gallery-swiper
.pos-car-gallery-track
> .swiper-slide
> a
> img {
    display: block !important;

    width: 100% !important;
    max-width: 100% !important;
    height: 220px !important;

    margin: 0 !important;
    object-fit: cover !important;

    border-radius: 17px;
}

/* Usunięcie domyślnych odstępów figure */
.pos-car-gallery-swiper figure.swiper-slide {
    margin: 0 !important;
}

/* Tekst pod galerią */
.car-single-content-main
.car-single-description-text {
    width: 100%;
    max-width: none;
}

.car-single-content-main
.car-single-description-text p {
    margin: 0 0 1rem;
    line-height: 1.7;
}

/* Tablet i telefon */
@media (max-width: 850px) {
    .car-single-content-layout {
        grid-template-columns: 1fr;
        gap: 40px;

        width: min(100% - 32px, 760px);
        padding: 36px 0;
    }

    .car-single-content-sidebar .car-single-pricing {
        position: static;
        top: auto;
    }
}

@media (max-width: 649px) {
    .car-single-content-layout {
        width: calc(100% - 24px);
        padding: 28px 0;
    }

    .pos-car-gallery-swiper
    .pos-car-gallery-track
    > .swiper-slide
    > img,
    .pos-car-gallery-swiper
    .pos-car-gallery-track
    > .swiper-slide
    > a
    > img {
        height: 230px !important;
    }
}
/* ==================================================
   HERO SAMOCHODU – DANE NAŁOŻONE NA ZDJĘCIE
   ================================================== */

.car-single-hero.car-single-hero--showcase {
    position: relative;
    display: block;

    width: 100%;
    min-height: clamp(620px, 76vh, 860px);

    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;

    overflow: hidden;
}

/* Przyciemnienie całego zdjęcia */
.car-single-hero--showcase .car-single-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;

    background:
        linear-gradient(
            90deg,
            rgba(2, 2, 5, 0.7) 0%,
            rgba(2, 2, 5, 0.25) 48%,
            rgba(2, 2, 5, 0.48) 100%
        ),
        linear-gradient(
            0deg,
            rgba(2, 2, 5, 0.95) 0%,
            rgba(2, 2, 5, 0.12) 58%,
            rgba(2, 2, 5, 0.2) 100%
        );
}

/* Usunięcie starego gradientu hero */
.car-single-hero.car-single-hero--showcase::after {
    display: none;
}

/* Główny układ na zdjęciu */
.car-single-showcase {
    position: absolute;
    inset: 0;
    z-index: 2;

    display: grid;
    grid-template-columns:
        minmax(0, 1.45fr)
        minmax(320px, 0.75fr);

    align-items: end;
    gap: clamp(30px, 5vw, 90px);

    padding:
        clamp(32px, 5vw, 82px)
        clamp(24px, 6vw, 110px);
}

/* Lewa część: tytuł i parametry */
.car-single-showcase__left {
    min-width: 0;
}

.car-single-showcase__heading {
    margin-bottom: 24px;
}

.car-single-showcase__brand-logo {
    display: block;

    width: auto;
    max-width: 150px;
    max-height: 34px;

    margin: 0 0 14px;

    object-fit: contain;
    object-position: left center;

    filter: brightness(1.3);
}

.car-single-showcase__title-row {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 12px;
}

.car-single-showcase__title {
    margin: 0 !important;

    color: #ffffff !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: clamp(34px, 3.5vw, 60px) !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    letter-spacing: -0.035em !important;
    text-transform: none !important;

    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.65);
}

.car-single-showcase__generation {
    color: rgba(255, 255, 255, 0.62);

    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(17px, 1.25vw, 24px);
    font-weight: 400;
}

/* Czarny panel z parametrami */
.car-single-showcase__specs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));

    width: 100%;

    background: rgba(8, 8, 11, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 28px 28px 0 0;

    box-shadow:
        0 22px 55px rgba(0, 0, 0, 0.48),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);

    backdrop-filter: blur(12px);
    overflow: hidden;
}

.car-single-showcase__spec {
    position: relative;

    min-width: 0;
    padding: 22px clamp(12px, 1.5vw, 26px);
}

.car-single-showcase__spec:not(:last-child)::after {
    content: "";

    position: absolute;
    top: 20%;
    right: 0;

    width: 1px;
    height: 60%;

    background: rgba(255, 255, 255, 0.13);
}

.car-single-showcase__spec span,
.car-single-showcase__spec strong {
    display: block;
    font-family: Arial, Helvetica, sans-serif;
}

.car-single-showcase__spec span {
    margin-bottom: 5px;

    color: rgba(255, 255, 255, 0.58);
    font-size: clamp(12px, 0.9vw, 16px);
    font-weight: 400;
    line-height: 1.2;
}

.car-single-showcase__spec strong {
    color: #ffffff;
    font-size: clamp(17px, 1.15vw, 22px);
    font-weight: 700;
    line-height: 1.1;
    white-space: nowrap;
}

/* Opis po prawej stronie */
.car-single-showcase__summary {
    align-self: end;
    justify-self: end;

    width: 100%;
    max-width: 620px;
    padding-bottom: 8px;

    text-align: right;
}

.car-single-showcase__summary p {
    margin: 0 !important;

    color: rgba(255, 255, 255, 0.72) !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: clamp(16px, 1.15vw, 22px) !important;
    font-weight: 300;
    line-height: 1.5 !important;

    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.85);
}

/* Mniejsze laptopy i tablety */
@media (max-width: 1150px) {

    .car-single-showcase {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .car-single-showcase__summary {
        justify-self: start;
        max-width: 760px;
        text-align: left;
    }

    .car-single-showcase__specs {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        border-radius: 22px;
    }
}

/* Telefony */
@media (max-width: 782px) {

    .car-single-hero.car-single-hero--showcase {
        min-height: 800px;
        background-position: 62% center;
    }

    .car-single-showcase {
        grid-template-columns: 1fr;
        align-content: end;

        padding:
            250px
            16px
            24px;
    }

    .car-single-showcase__title {
        font-size: clamp(34px, 12vw, 52px) !important;
    }

    .car-single-showcase__specs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .car-single-showcase__spec {
        padding: 16px 14px;
    }

    .car-single-showcase__spec::after {
        display: none;
    }

    .car-single-showcase__spec:nth-child(odd) {
        border-right: 1px solid rgba(255, 255, 255, 0.1);
    }

    .car-single-showcase__spec:nth-child(n + 3) {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .car-single-showcase__summary {
        text-align: left;
    }
}

/* =====================================================
   CENNIK MIESIĘCZNY
   ===================================================== */

/* Wyraźny odstęp pomiędzy cennikiem dziennym i miesięcznym */
.car-single-pricing-table--monthly {
    margin-top: 2rem;
}

/*
 * W tabeli miesięcznej cena ma być dokładnie pod nagłówkiem
 * "KWOTA BRUTTO", a nie przy prawej krawędzi wiersza.
 */
.car-single-pricing-table--monthly .car-single-pricing-row > .car-single-pricing-monthly-option {
    justify-self: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    white-space: normal;
}

/* Cena miesięczna wyśrodkowana w tej samej kolumnie co nagłówek */
.car-single-pricing-table--monthly .car-single-pricing-option-price {
    text-align: center;
}

/* Limit KM dokładnie pod ceną */
.car-single-pricing-table--monthly .car-single-pricing-option-limit {
    text-align: center;
}

/* Na telefonie zachowujemy ten sam układ i nie dociskamy ceny do prawej */
@media (max-width: 560px) {
    .car-single-pricing-table--monthly {
        margin-top: 1.5rem;
    }

    .car-single-pricing-table--monthly .car-single-pricing-row > .car-single-pricing-monthly-option {
        justify-self: center;
    }
}

/* ==================================================
   GALERIA SAMOCHODU – PEŁNOEKRANOWY LIGHTBOX
   ================================================== */

/* Zdjęcie w sliderze sygnalizuje możliwość powiększenia. */
.pos-car-gallery-swiper .swiper-slide {
    cursor: zoom-in;
}

.pos-car-gallery-swiper .swiper-slide > img,
.pos-car-gallery-swiper .swiper-slide > a > img {
    transition:
        transform 0.3s ease,
        filter 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
    .pos-car-gallery-swiper .swiper-slide:hover > img,
    .pos-car-gallery-swiper .swiper-slide:hover > a > img {
        transform: scale(1.025);
        filter: brightness(1.06);
    }
}

/* Blokada przewijania strony podczas otwartego podglądu. */
html.pos-car-lightbox-open,
body.pos-car-lightbox-open {
    overscroll-behavior: none;
}

/* Pełnoekranowa warstwa podglądu. */
.pos-car-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000000;

    display: grid;
    place-items: center;

    width: 100vw;
    height: 100vh;
    height: 100dvh;

    padding: 24px;

    background:
        radial-gradient(
            circle at 50% 45%,
            rgba(115, 47, 150, 0.12),
            transparent 48%
        ),
        rgba(5, 2, 10, 0.96);

    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity 0.22s ease,
        visibility 0.22s ease;

    box-sizing: border-box;
}

.pos-car-lightbox[hidden] {
    display: none !important;
}

.pos-car-lightbox.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Cały obszar roboczy podglądu. */
.pos-car-lightbox__stage {
    position: relative;

    display: grid;
    place-items: center;

    width: 100%;
    height: 100%;

    touch-action: none;
}

/* Kontener obrazu. */
.pos-car-lightbox__media {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;

    padding:
        max(58px, env(safe-area-inset-top))
        78px
        max(58px, env(safe-area-inset-bottom));

    box-sizing: border-box;
}

/* Duże zdjęcie – bez kadrowania, zawsze w poprawnych proporcjach. */
.pos-car-lightbox__image {
    display: block;

    width: auto;
    height: auto;

    max-width: min(1600px, calc(100vw - 180px));
    max-height: calc(100vh - 116px);
    max-height: calc(100dvh - 116px);

    object-fit: contain;

    border: 1px solid rgba(212, 122, 243, 0.28);
    border-radius: 16px;

    background: #07040c;

    box-shadow:
        0 32px 90px rgba(0, 0, 0, 0.7),
        0 0 40px rgba(212, 122, 243, 0.12);

    opacity: 1;
    transform: scale(1);

    transition:
        opacity 0.16s ease,
        transform 0.16s ease;

    user-select: none;
    -webkit-user-drag: none;
}

.pos-car-lightbox__image.is-changing {
    opacity: 0.45;
    transform: scale(0.992);
}

/* Wspólna baza przycisków. */
.pos-car-lightbox__button {
    position: fixed;
    z-index: 2;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin: 0;
    padding: 0;

    color: #ffffff;
    background:
        linear-gradient(
            145deg,
            rgba(63, 26, 82, 0.96),
            rgba(24, 10, 34, 0.96)
        );

    border: 1px solid rgba(212, 122, 243, 0.42);
    border-radius: 50%;

    outline: none;
    cursor: pointer;

    box-shadow:
        0 12px 32px rgba(0, 0, 0, 0.4),
        0 0 18px rgba(212, 122, 243, 0.09);

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.pos-car-lightbox__button:focus-visible {
    border-color: #e8a7ff;
    box-shadow:
        0 0 0 3px rgba(212, 122, 243, 0.24),
        0 12px 32px rgba(0, 0, 0, 0.45);
}

@media (hover: hover) and (pointer: fine) {
    .pos-car-lightbox__button:hover {
        transform: scale(1.08);
        border-color: rgba(232, 167, 255, 0.78);
        background:
            linear-gradient(
                145deg,
                rgba(103, 43, 132, 0.98),
                rgba(46, 18, 63, 0.98)
            );
        box-shadow:
            0 14px 34px rgba(0, 0, 0, 0.46),
            0 0 24px rgba(212, 122, 243, 0.18);
    }
}

/* Zamknięcie. */
.pos-car-lightbox__close {
    top: max(18px, env(safe-area-inset-top));
    right: max(18px, env(safe-area-inset-right));

    width: 48px;
    height: 48px;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 34px;
    font-weight: 300;
    line-height: 1;
}

.pos-car-lightbox__close span {
    transform: translateY(-1px);
}

/* Strzałki poprzednie / następne. */
.pos-car-lightbox__nav {
    top: 50%;

    width: 54px;
    height: 54px;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 46px;
    font-weight: 200;
    line-height: 1;

    transform: translateY(-50%);
}

.pos-car-lightbox__prev {
    left: max(20px, env(safe-area-inset-left));
}

.pos-car-lightbox__next {
    right: max(20px, env(safe-area-inset-right));
}

@media (hover: hover) and (pointer: fine) {
    .pos-car-lightbox__nav:hover {
        transform: translateY(-50%) scale(1.08);
    }
}

/* Licznik zdjęć. */
.pos-car-lightbox__counter {
    position: fixed;
    left: 50%;
    bottom: max(20px, env(safe-area-inset-bottom));
    z-index: 2;

    transform: translateX(-50%);

    min-width: 68px;
    padding: 8px 14px;

    color: rgba(255, 255, 255, 0.9);
    background: rgba(18, 8, 26, 0.78);

    border: 1px solid rgba(212, 122, 243, 0.24);
    border-radius: 999px;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.08em;
    text-align: center;

    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);

    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

/* Dla pojedynczego zdjęcia nie pokazujemy strzałek. */
.pos-car-lightbox--single .pos-car-lightbox__nav {
    display: none;
}

/* Tablety. */
@media (max-width: 900px) {
    .pos-car-lightbox {
        padding: 16px;
    }

    .pos-car-lightbox__media {
        padding:
            max(58px, env(safe-area-inset-top))
            58px
            max(58px, env(safe-area-inset-bottom));
    }

    .pos-car-lightbox__image {
        max-width: calc(100vw - 132px);
        max-height: calc(100vh - 110px);
        max-height: calc(100dvh - 110px);
        border-radius: 14px;
    }

    .pos-car-lightbox__nav {
        width: 48px;
        height: 48px;
        font-size: 40px;
    }

    .pos-car-lightbox__prev {
        left: max(10px, env(safe-area-inset-left));
    }

    .pos-car-lightbox__next {
        right: max(10px, env(safe-area-inset-right));
    }
}

/* Telefony. */
@media (max-width: 600px) {
    .pos-car-lightbox {
        padding: 10px;
    }

    .pos-car-lightbox__media {
        padding:
            max(58px, env(safe-area-inset-top))
            8px
            max(62px, env(safe-area-inset-bottom));
    }

    .pos-car-lightbox__image {
        max-width: calc(100vw - 20px);
        max-height: calc(100vh - 120px);
        max-height: calc(100dvh - 120px);

        border-radius: 10px;

        box-shadow:
            0 22px 60px rgba(0, 0, 0, 0.72),
            0 0 28px rgba(212, 122, 243, 0.1);
    }

    .pos-car-lightbox__close {
        top: max(10px, env(safe-area-inset-top));
        right: max(10px, env(safe-area-inset-right));

        width: 44px;
        height: 44px;

        font-size: 31px;
    }

    .pos-car-lightbox__nav {
        top: 50%;

        width: 42px;
        height: 42px;

        font-size: 36px;

        background: rgba(27, 11, 38, 0.8);
    }

    .pos-car-lightbox__prev {
        left: max(8px, env(safe-area-inset-left));
    }

    .pos-car-lightbox__next {
        right: max(8px, env(safe-area-inset-right));
    }

    .pos-car-lightbox__counter {
        bottom: max(12px, env(safe-area-inset-bottom));

        min-width: 58px;
        padding: 7px 12px;

        font-size: 12px;
    }
}

/* Bardzo małe ekrany – strzałki bliżej krawędzi. */
@media (max-width: 380px) {
    .pos-car-lightbox__nav {
        width: 38px;
        height: 38px;
        font-size: 32px;
    }

    .pos-car-lightbox__image {
        max-width: calc(100vw - 12px);
    }
}

/* Orientacja pozioma na telefonie. */
@media (max-height: 520px) and (orientation: landscape) {
    .pos-car-lightbox__image {
        max-height: calc(100vh - 26px);
        max-height: calc(100dvh - 26px);
    }

    .pos-car-lightbox__counter {
        bottom: max(8px, env(safe-area-inset-bottom));
    }

    .pos-car-lightbox__close {
        top: max(8px, env(safe-area-inset-top));
    }
}

/* Ograniczenie animacji dla osób, które tego wymagają. */
@media (prefers-reduced-motion: reduce) {
    .pos-car-lightbox,
    .pos-car-lightbox__image,
    .pos-car-lightbox__button,
    .pos-car-gallery-swiper .swiper-slide > img,
    .pos-car-gallery-swiper .swiper-slide > a > img {
        transition: none !important;
    }
}

/* ==================================================
   KALKULATOR DOSTAWY SAMOCHODU
   ================================================== */

.pos-delivery-calculator {
    position: relative;
    isolation: isolate;

    width: 100%;
    margin-top: 38px;
    padding: clamp(24px, 3vw, 38px);

    overflow: hidden;

    color: #f0eefb;
    background:
        radial-gradient(
            circle at 92% 8%,
            rgba(212, 122, 243, 0.13),
            transparent 34%
        ),
        linear-gradient(
            145deg,
            rgba(18, 12, 31, 0.98),
            rgba(7, 4, 13, 0.99)
        );

    border: 1px solid rgba(127, 63, 204, 0.36);
    border-radius: 22px;

    box-shadow:
        0 24px 55px rgba(0, 0, 0, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.035);

    box-sizing: border-box;
}

.pos-delivery-calculator::before {
    content: "";

    position: absolute;
    top: 0;
    left: 8%;
    right: 8%;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(212, 122, 243, 0.48),
            transparent
        );

    pointer-events: none;
}

.pos-delivery-calculator__heading {
    position: relative;
    z-index: 2;

    max-width: 760px;
    margin-bottom: 24px;
}

.pos-delivery-calculator__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-bottom: 8px;

    color: #c9b3ff;

    font-family: 'BebasNeue', sans-serif;
    font-size: 0.82rem;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 1.7px;
    text-transform: uppercase;
}

.pos-delivery-calculator__eyebrow i {
    color: #d47af3;
    font-size: 0.85rem;
}

.pos-delivery-calculator__heading h2 {
    margin: 0 0 12px !important;

    color: #ffffff !important;

    font-family: 'BebasNeue', sans-serif !important;
    font-size: clamp(1.7rem, 2.6vw, 2.35rem) !important;
    font-weight: 600 !important;
    line-height: 1.05 !important;
    letter-spacing: 0.5px !important;
}

.pos-delivery-calculator__heading p {
    max-width: 720px;
    margin: 0 !important;

    color: #b9afdf !important;

    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 0.96rem !important;
    line-height: 1.65 !important;
}

.pos-delivery-calculator__heading p strong {
    color: #ffd966;
    font-weight: 700;
}

.pos-delivery-calculator__form {
    position: relative;
    z-index: 2;
}

.pos-delivery-calculator__label {
    display: block;

    margin-bottom: 7px;

    color: #e8e2f7;

    font-family: 'BebasNeue', sans-serif;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.pos-delivery-calculator__controls {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(190px, auto);
    gap: 12px;

    align-items: stretch;
}

.pos-delivery-calculator__input-wrap {
    position: relative;
    min-width: 0;
}

.pos-delivery-calculator__input-wrap > i {
    position: absolute;
    top: 50%;
    left: 16px;

    z-index: 2;

    transform: translateY(-50%);

    color: rgba(212, 122, 243, 0.72);
    font-size: 0.95rem;

    pointer-events: none;
}

.pos-delivery-calculator
.pos-delivery-calculator__input {
    width: 100%;
    min-height: 52px;

    padding:
        12px
        16px
        12px
        44px !important;

    color: #f5f1fb !important;
    background: rgba(8, 5, 14, 0.78) !important;

    border: 1px solid rgba(127, 63, 204, 0.46) !important;
    border-radius: 13px !important;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.95rem;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.025);

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;

    box-sizing: border-box;
}

.pos-delivery-calculator
.pos-delivery-calculator__input::placeholder {
    color: rgba(201, 179, 255, 0.46);
}

.pos-delivery-calculator
.pos-delivery-calculator__input:focus {
    background: rgba(13, 7, 22, 0.92) !important;
    border-color: rgba(212, 122, 243, 0.9) !important;

    box-shadow:
        0 0 0 3px rgba(212, 122, 243, 0.12),
        0 0 24px rgba(127, 63, 204, 0.09) !important;
}

.pos-delivery-calculator__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    min-height: 52px;
    padding: 12px 21px;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #7b3fcc,
            #4b1f79
        );

    border: 1px solid rgba(212, 122, 243, 0.34);
    border-radius: 13px;

    font-family: 'BebasNeue', sans-serif;
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.75px;
    text-transform: uppercase;

    box-shadow:
        0 10px 24px rgba(57, 21, 88, 0.34);

    cursor: pointer;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease,
        opacity 0.2s ease;
}

.pos-delivery-calculator__button i {
    font-size: 0.9rem;
}

@media (hover: hover) and (pointer: fine) {
    .pos-delivery-calculator__button:hover:not(:disabled) {
        transform: translateY(-2px);

        background:
            linear-gradient(
                135deg,
                #9250df,
                #5b288d
            );

        box-shadow:
            0 14px 30px rgba(91, 40, 141, 0.38);
    }
}

.pos-delivery-calculator__button:focus-visible {
    outline: 3px solid rgba(212, 122, 243, 0.24);
    outline-offset: 3px;
}

.pos-delivery-calculator__button:disabled {
    opacity: 0.82;
    cursor: wait;
}

.pos-delivery-calculator__message {
    margin-top: 11px;
    padding: 9px 12px;

    border-radius: 9px;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.84rem;
    line-height: 1.45;
}

.pos-delivery-calculator__message.is-error {
    color: #ffd7de;
    background: rgba(139, 36, 61, 0.18);
    border: 1px solid rgba(230, 91, 122, 0.24);
}

.pos-delivery-calculator__message.is-info {
    color: #d9ccf7;
    background: rgba(94, 42, 158, 0.13);
    border: 1px solid rgba(127, 63, 204, 0.2);
}


/* ---------- ANIMOWANA TRASA ---------- */

.pos-delivery-route {
    position: relative;
    z-index: 1;

    display: grid;
    grid-template-columns: 42px minmax(100px, 1fr) 42px;
    align-items: center;
    gap: 12px;

    margin-top: 28px;
    padding: 0 4px;
}

.pos-delivery-route__city {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    color: #d8cbf6;
    background: rgba(23, 13, 37, 0.88);

    border: 1px solid rgba(127, 63, 204, 0.32);
    border-radius: 50%;

    box-shadow:
        0 7px 18px rgba(0, 0, 0, 0.26);
}

.pos-delivery-route__city--end {
    color: #ffd966;
}

.pos-delivery-route__road {
    position: relative;

    height: 42px;

    overflow: hidden;
}

.pos-delivery-route__line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;

    height: 6px;

    transform: translateY(-50%);

    background:
        repeating-linear-gradient(
            90deg,
            rgba(103, 78, 126, 0.24) 0 20px,
            transparent 20px 31px
        );

    border-top: 1px solid rgba(127, 63, 204, 0.2);
    border-bottom: 1px solid rgba(127, 63, 204, 0.2);
}

.pos-delivery-route__line::after {
    content: "";

    position: absolute;
    top: 50%;
    left: 0;

    width: 0;
    height: 2px;

    transform: translateY(-50%);

    background:
        linear-gradient(
            90deg,
            rgba(212, 122, 243, 0.15),
            #d47af3,
            #ffd966
        );

    box-shadow:
        0 0 12px rgba(212, 122, 243, 0.38);

    transition: width 0.3s ease;
}

.pos-delivery-route__car {
    position: absolute;
    top: 50%;
    left: 0;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 34px;
    height: 28px;

    transform:
        translate(0, -58%);

    color: #ffffff;

    font-size: 19px;

    filter:
        drop-shadow(
            0 5px 8px
            rgba(0, 0, 0, 0.48)
        );

    opacity: 0.54;
}

.pos-delivery-route__status {
    margin-top: 8px;

    color: rgba(201, 179, 255, 0.6);

    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.77rem;
    line-height: 1.35;
    text-align: center;

    opacity: 0;
    transform: translateY(3px);

    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}

.pos-delivery-calculator.is-calculating
.pos-delivery-route__status {
    opacity: 1;
    transform: translateY(0);
}

.pos-delivery-calculator.is-calculating
.pos-delivery-route__line::after {
    animation:
        posDeliveryRouteGrow
        1.65s
        cubic-bezier(0.22, 0.75, 0.2, 1)
        forwards;
}

.pos-delivery-calculator.is-calculating
.pos-delivery-route__car {
    color: #ffd966;
    opacity: 1;

    animation:
        posDeliveryCarDrive
        1.65s
        cubic-bezier(0.22, 0.75, 0.2, 1)
        forwards;
}

.pos-delivery-calculator.is-finished
.pos-delivery-route__line::after {
    width: 100%;
}

.pos-delivery-calculator.is-finished
.pos-delivery-route__car {
    left: calc(100% - 34px);
    color: #ffd966;
    opacity: 1;
}

@keyframes posDeliveryCarDrive {
    0% {
        left: 0;
        transform:
            translate(0, -58%)
            rotate(0deg);
    }

    46% {
        transform:
            translate(0, -64%)
            rotate(-1.5deg);
    }

    52% {
        transform:
            translate(0, -52%)
            rotate(1.5deg);
    }

    100% {
        left: calc(100% - 34px);
        transform:
            translate(0, -58%)
            rotate(0deg);
    }
}

@keyframes posDeliveryRouteGrow {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}


/* ---------- WYNIK – gotowy pod kolejny etap API ---------- */

.pos-delivery-result {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 10px;

    margin-top: 22px;
}

.pos-delivery-result[hidden] {
    display: none;
}

.pos-delivery-result__item {
    padding: 14px 15px;

    background: rgba(8, 5, 14, 0.56);

    border: 1px solid rgba(127, 63, 204, 0.2);
    border-radius: 12px;
}

.pos-delivery-result__item span,
.pos-delivery-result__item strong {
    display: block;
}

.pos-delivery-result__item span {
    margin-bottom: 5px;

    color: #a99fc3;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.72rem;
    line-height: 1.25;
}

.pos-delivery-result__item strong {
    color: #ffffff;

    font-family: 'BebasNeue', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1;
}

.pos-delivery-result__item--price {
    background:
        linear-gradient(
            145deg,
            rgba(77, 43, 17, 0.35),
            rgba(24, 14, 8, 0.5)
        );

    border-color: rgba(255, 217, 102, 0.2);
}

.pos-delivery-result__item--price strong {
    color: #ffd966;
    font-size: 1.55rem;
}

.pos-delivery-calculator__note {
    margin: 18px 0 0 !important;

    color: rgba(185, 175, 223, 0.56) !important;

    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 0.73rem !important;
    line-height: 1.5 !important;
}


/* ---------- RESPONSYWNOŚĆ ---------- */

@media (max-width: 1100px) {
    .pos-delivery-calculator__controls {
        grid-template-columns: 1fr;
    }

    .pos-delivery-calculator__button {
        width: 100%;
    }
}

@media (max-width: 850px) {
    .pos-delivery-calculator {
        margin-top: 0;
    }
}

@media (max-width: 649px) {
    .pos-delivery-calculator {
        padding: 22px 17px;
        border-radius: 18px;
    }

    .pos-delivery-calculator__heading {
        margin-bottom: 20px;
    }

    .pos-delivery-calculator__heading p {
        font-size: 0.9rem !important;
    }

    .pos-delivery-calculator__input,
    .pos-delivery-calculator__button {
        min-height: 50px;
    }

    .pos-delivery-route {
        grid-template-columns: 36px minmax(80px, 1fr) 36px;
        gap: 8px;
        margin-top: 24px;
    }

    .pos-delivery-route__city {
        width: 36px;
        height: 36px;
        font-size: 0.84rem;
    }

    .pos-delivery-route__road {
        height: 38px;
    }

    .pos-delivery-route__car {
        width: 29px;
        height: 25px;
        font-size: 17px;
    }

    .pos-delivery-calculator.is-finished
    .pos-delivery-route__car {
        left: calc(100% - 29px);
    }

    @keyframes posDeliveryCarDrive {
        0% {
            left: 0;
            transform:
                translate(0, -58%)
                rotate(0deg);
        }

        46% {
            transform:
                translate(0, -64%)
                rotate(-1.5deg);
        }

        52% {
            transform:
                translate(0, -52%)
                rotate(1.5deg);
        }

        100% {
            left: calc(100% - 29px);
            transform:
                translate(0, -58%)
                rotate(0deg);
        }
    }

    .pos-delivery-result {
        grid-template-columns: 1fr;
    }
}


/*
 * Użytkownicy preferujący ograniczone animacje
 * nadal mogą korzystać z kalkulatora bez efektu jazdy.
 */
@media (prefers-reduced-motion: reduce) {
    .pos-delivery-calculator.is-calculating
    .pos-delivery-route__car,
    .pos-delivery-calculator.is-calculating
    .pos-delivery-route__line::after {
        animation: none !important;
    }

    .pos-delivery-calculator.is-calculating
    .pos-delivery-route__line::after {
        width: 100%;
    }

    .pos-delivery-calculator.is-calculating
    .pos-delivery-route__car {
        left: calc(100% - 34px);
    }
}

/* ==================================================
   KALKULATOR DOSTAWY – ETAP 2 / WYNIK API
   ================================================== */

.pos-delivery-calculator__trap {
    position: absolute !important;
    left: -10000px !important;
    top: auto !important;

    width: 1px !important;
    height: 1px !important;

    overflow: hidden !important;
}

.pos-delivery-calculator__message.is-success {
    color: #dff7e8;
    background: rgba(35, 118, 73, 0.16);
    border: 1px solid rgba(86, 198, 132, 0.22);
}

.pos-delivery-result {
    opacity: 0;
    transform: translateY(8px);

    transition:
        opacity 0.28s ease,
        transform 0.28s ease;
}

.pos-delivery-result.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .pos-delivery-result {
        transition: none !important;
        transform: none !important;
    }
}

/* ============================
   WYNAJEM Z WYKUPem - KAFELKI
   ============================ */

.pos-finance-grid {
    gap: 18px !important;
}

/* pojedynczy kafelek */
.pos-finance-card {
    position: relative;
    min-height: 165px;
	text-align:center;
    padding: 28px 24px;

    background:
        linear-gradient(
            145deg,
            rgba(25, 21, 30, 0.96),
            rgba(10, 9, 14, 0.98)
        );

    border: 1px solid rgba(212, 122, 243, 0.25);
    border-radius: 16px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

/* delikatny fioletowy detal */
.pos-finance-card::before {
    content: "";
    position: absolute;

    top: 0;
    left: 24px;

    width: 45px;
    height: 2px;

    background: #d47af3;

    box-shadow:
        0 0 12px rgba(212, 122, 243, 0.8);
}

/* nagłówek kafelka */
.pos-finance-card h3 {
    margin: 0 0 12px 0;
	text-align: center !important;
    color: #d47af3;

    font-size: clamp(22px, 2vw, 30px);
    line-height: 1.1;

    font-weight: 800;
    text-transform: uppercase;
}

/* opis */
.pos-finance-card p {
    margin: 0;
	text-align: center !important;
    color: rgba(255, 255, 255, 0.72);

    font-size: 15px;
    line-height: 1.5;
}

/* efekt po najechaniu */
.pos-finance-card:hover {
    transform: translateY(-4px);

    border-color: rgba(212, 122, 243, 0.7);

    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.35),
        0 0 25px rgba(212, 122, 243, 0.08);
}


/* TELEFON */
@media (max-width: 781px) {

    .pos-finance-grid {
        grid-template-columns: 1fr !important;
    }

    .pos-finance-card {
        min-height: 135px;
        padding: 24px 20px;
    }
}


/* ==========================================================
   WYNAJEM Z WYKUPEM - HERO
   FINAL
   ========================================================== */

body.page-id-147 {
    overflow-x: clip;
}


/* ==========================================================
   DESKTOP
   ========================================================== */

body.page-id-147 .wp-block-post-content > .pos-buyout-hero {
    position: relative;

    width: 100% !important;
    max-width: none !important;

    margin: 0 !important;

    /*
     * 41.67vw odpowiada proporcji ok. 1920x800.
     * calc(100svh - 100px) pilnuje, żeby HERO
     * razem z menu zmieściło się na ekranie.
     */
    height: clamp(
        620px,
        min(41.67vw, calc(100svh - 100px)),
        800px
    ) !important;

    min-height: 0 !important;

    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-color: #030207 !important;

    box-sizing: border-box;
    overflow: hidden;

    /*
     * Wyłączamy globalną animację .wp-block-group
     * tylko dla głównego kontenera HERO.
     */
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
}


/* ----------------------------------------------------------
   H1
   ---------------------------------------------------------- */

body.page-id-147 .pos-buyout-hero-title {
    width: min(720px, 52vw);
    max-width: 720px;

    /*
     * Faktycznie przesuwamy tekst w lewo.
     * Przy 1900px będzie to ok. 266px zamiast 304px.
     */
    margin-left: clamp(220px, 14vw, 280px) !important;
    margin-right: auto !important;
    margin-bottom: 0 !important;

    color: #ffffff !important;

    font-size: clamp(42px, 3.25vw, 62px);
    line-height: 1.03;
    letter-spacing: -1px;

    text-align: left !important;
    text-transform: uppercase;

    text-shadow:
        0 3px 20px rgba(0, 0, 0, 0.9);
}


body.page-id-147 .pos-buyout-hero-title span {
    display: inline-block;

    margin-top: 6px;

    color: #d47af3 !important;

    text-shadow:
        0 0 20px rgba(212, 122, 243, 0.35),
        0 3px 20px rgba(0, 0, 0, 0.9);
}


/* ----------------------------------------------------------
   OPIS
   ---------------------------------------------------------- */

body.page-id-147 .pos-buyout-hero-text {
    width: min(570px, 43vw);
    max-width: 570px;

    margin-top: 26px !important;
    margin-left: clamp(220px, 14vw, 280px) !important;
    margin-right: auto !important;

    color: rgba(255, 255, 255, 0.92) !important;

    font-family: Exo2, Helvetica, sans-serif !important;
    font-size: 17px;
    line-height: 1.55;

    text-align: left !important;

    text-shadow:
        0 2px 12px rgba(0, 0, 0, 0.95);
}


/* ----------------------------------------------------------
   PRZYCISKI
   ---------------------------------------------------------- */

body.page-id-147 .pos-buyout-hero-actions {
    width: min(650px, 48vw);

    margin-top: 26px !important;
    margin-left: clamp(220px, 14vw, 280px) !important;
    margin-right: auto !important;

    justify-content: flex-start !important;

    gap: 14px !important;
}


body.page-id-147 .pos-buyout-btn .wp-block-button__link {
    min-height: 54px;

    padding: 0 27px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.3px;

    text-transform: uppercase;

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}


/* GŁÓWNY CTA */

body.page-id-147
.pos-buyout-btn-primary
.wp-block-button__link {
    color: #ffffff !important;

    background:
        linear-gradient(
            135deg,
            #d47af3 0%,
            #a640ce 100%
        ) !important;

    border:
        1px solid rgba(255, 255, 255, 0.18) !important;

    box-shadow:
        0 8px 28px rgba(212, 122, 243, 0.28);
}


body.page-id-147
.pos-buyout-btn-primary
.wp-block-button__link:hover {
    color: #ffffff !important;

    transform: translateY(-3px);

    box-shadow:
        0 12px 38px rgba(212, 122, 243, 0.45);
}


/* DRUGI CTA */

body.page-id-147
.pos-buyout-btn-secondary
.wp-block-button__link {
    color: #ffffff !important;

    background:
        rgba(5, 5, 8, 0.72) !important;

    border:
        1px solid rgba(212, 122, 243, 0.75) !important;

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}


body.page-id-147
.pos-buyout-btn-secondary
.wp-block-button__link:hover {
    color: #ffffff !important;

    transform: translateY(-3px);

    background:
        rgba(212, 122, 243, 0.12) !important;

    border-color:
        #d47af3 !important;

    box-shadow:
        0 10px 30px rgba(212, 122, 243, 0.18);
}


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 1100px) {

    body.page-id-147
    .wp-block-post-content > .pos-buyout-hero {
        height: 620px !important;
        min-height: 620px !important;

        background-size: cover !important;
        background-position: 62% center !important;
    }


    body.page-id-147 .pos-buyout-hero-title,
    body.page-id-147 .pos-buyout-hero-text,
    body.page-id-147 .pos-buyout-hero-actions {
        margin-left: 7vw !important;
    }


    body.page-id-147 .pos-buyout-hero-title {
        width: min(600px, 70vw);

        font-size:
            clamp(36px, 5vw, 52px);
    }


    body.page-id-147 .pos-buyout-hero-text {
        width: min(510px, 64vw);

        font-size: 16px;
    }


    body.page-id-147 .pos-buyout-hero-actions {
        width: min(590px, 70vw);
    }
}


/* ==========================================================
   TELEFON
   ========================================================== */

@media (max-width: 781px) {

    body.page-id-147
    .wp-block-post-content > .pos-buyout-hero {
        height: auto !important;
        min-height: 650px !important;

        padding-left: 20px !important;
        padding-right: 20px !important;

        background-size: cover !important;
        background-position: 72% center !important;
    }


    body.page-id-147 .pos-buyout-hero-title {
        width: 100%;
        max-width: 100%;

        margin-left: 0 !important;
        margin-right: 0 !important;

        text-align: left !important;

        font-size:
            clamp(30px, 8.3vw, 40px);

        line-height: 1.02;
        letter-spacing: -0.5px;
    }


    body.page-id-147 .pos-buyout-hero-title span {
        margin-top: 7px;
    }


    body.page-id-147 .pos-buyout-hero-text {
        width: 100%;
        max-width: 100%;

        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-top: 20px !important;

        font-size: 15px;
        line-height: 1.5;

        text-align: left !important;
    }


    body.page-id-147 .pos-buyout-hero-actions {
        width: 100%;

        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-top: 22px !important;

        flex-direction: column;
        align-items: flex-start;

        gap: 10px !important;
    }


    body.page-id-147 .pos-buyout-btn {
        width: 100%;
        max-width: 330px;
    }


    body.page-id-147
    .pos-buyout-btn
    .wp-block-button__link {
        width: 100%;

        min-height: 50px;

        padding: 0 18px;

        font-size: 13px;
    }
}


/* ==========================================================
   MAŁE TELEFONY
   ========================================================== */

@media (max-width: 420px) {

    body.page-id-147
    .wp-block-post-content > .pos-buyout-hero {
        min-height: 620px !important;

        padding-left: 17px !important;
        padding-right: 17px !important;

        background-position: 74% center !important;
    }


    body.page-id-147 .pos-buyout-hero-title {
        font-size:
            clamp(27px, 8vw, 34px);
    }


    body.page-id-147 .pos-buyout-hero-text {
        font-size: 14px;
    }
}
/* ==========================================================
   FIX HERO - pełna szerokość + usunięcie paska nad HERO
   ========================================================== */

/* Usuń odstęp pomiędzy nagłówkiem strony a treścią */
body.page-id-147 main > .wp-block-post-content {
    margin-block-start: 0 !important;
    margin-top: 0 !important;
}


/* HERO naprawdę od krawędzi do krawędzi viewportu */
body.page-id-147 .wp-block-post-content > .pos-buyout-hero {
    width: 100vw !important;
    max-width: 100vw !important;

    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;

    margin-top: 0 !important;
    margin-bottom: 0 !important;
}


/* Na tej stronie wyłączamy boczny padding WordPressa dla contentu */
body.page-id-147 .wp-block-post-content {
    padding-left: 0 !important;
    padding-right: 0 !important;
}
/* ==========================================================
   WYKUP - USUNIĘCIE PUSTEGO PASKA NAD HERO
   ========================================================== */

body.page-id-147 main >
.wp-block-group.alignfull.has-tertiary-background-color.has-background:first-child {
    display: none !important;
}
/* ==========================================================
   WYKUP - POZYCJA TREŚCI NA DESKTOPIE
   ========================================================== */

/* ==========================================================
   WYKUP - FINALNA POZYCJA TREŚCI DESKTOP
   ========================================================== */

@media (min-width: 1101px) {

    body.page-id-147 .pos-buyout-hero-title,
    body.page-id-147 .pos-buyout-hero-text,
    body.page-id-147 .pos-buyout-hero-actions {
        margin-left: clamp(240px, 14vw, 290px) !important;
        margin-right: auto !important;
    }
}
/* ==========================================================
   WYKUP - OBNIŻENIE TREŚCI POD BIK / KRD
   ========================================================== */

@media (min-width: 1101px) {

    body.page-id-147 .pos-buyout-hero-title {
        margin-top: 70px !important;
    }

    body.page-id-147 .pos-buyout-hero-text {
        margin-top: 24px !important;
    }

    body.page-id-147 .pos-buyout-hero-actions {
        margin-top: 24px !important;
    }
}
body.page-id-147 .pos-buyout-hero-title {
    font-family: 'Orbitron', sans-serif !important;
    font-weight: 400 !important;

    font-size: clamp(34px, 2.8vw, 52px) !important;
    line-height: 1.02 !important;
    letter-spacing: -0.03em !important;
}

body.page-id-147 .pos-buyout-hero-title span {
    font-family: 'Orbitron', sans-serif !important;
    font-weight: 400 !important;
}
.pos-hero__description,
.pos-hero__highlight {
    font-family: 'Exo2', sans-serif !important;
    font-weight: 400;
}
/* ==========================================================
   WYNAJEM Z WYKUpem - TŁO SEKCJI Z KAFELKAMI
   ========================================================== */

.pos-finance-intro {
    position: relative;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 78% 45%,
            rgba(168, 64, 206, 0.12) 0%,
            rgba(104, 35, 135, 0.06) 28%,
            transparent 52%
        ),
        linear-gradient(
            135deg,
            #08080a 0%,
            #0b0910 50%,
            #07070a 100%
        ) !important;
}


/* Delikatna poświata za kafelkami */
.pos-finance-grid {
    position: relative;
    z-index: 2;
}

.pos-finance-grid::before {
    content: "";
    position: absolute;

    width: 420px;
    height: 420px;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    background: radial-gradient(
        circle,
        rgba(212, 122, 243, 0.10) 0%,
        rgba(212, 122, 243, 0.04) 40%,
        transparent 70%
    );

    filter: blur(20px);
    pointer-events: none;
    z-index: -1;
}
/* ==========================================================
   SEKCJA FINANSOWANIA - EXO2
   ========================================================== */

/* Nagłówek po lewej */
.pos-finance-heading {
    font-family: 'Exo2', sans-serif !important;
    font-weight: 400 !important;
}

/* Akapity po lewej */
.pos-finance-copy p {
    font-family: 'Exo2', sans-serif !important;
    font-weight: 400 !important;
    line-height: 1.65;
}


/* Kafelki */
.pos-finance-card {
    text-align: center;
}

.pos-finance-card h3 {
    font-family: 'Exo2', sans-serif !important;
    font-weight: 400 !important;

    text-align: center !important;
    line-height: 1.1;
    letter-spacing: 0.02em;

    margin-bottom: 14px;
}

.pos-finance-card p {
    font-family: 'Exo2', sans-serif !important;
    font-weight: 400 !important;

    text-align: center !important;
    line-height: 1.4;
}
/* ==========================================================
   WYNAJEM Z WYKUPEM - OFERTA / SLIDER
   FINALNA WERSJA
   Klasa grupy Gutenberg: pos-buyout-offer
   ========================================================== */


/* ==========================================================
   1. CAŁA SEKCJA - PEŁNA SZEROKOŚĆ
   ========================================================== */

.pos-buyout-offer {
    position: relative;

    width: 100vw !important;
    max-width: 100vw !important;

    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;

    padding-top: clamp(65px, 6vw, 100px) !important;
    padding-bottom: clamp(70px, 7vw, 110px) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;

    box-sizing: border-box;
    overflow: hidden;

  background:
    radial-gradient(
        ellipse at 50% 65%,
        rgba(152, 63, 190, 0.13) 0%,
        rgba(95, 35, 125, 0.06) 32%,
        rgba(7, 6, 9, 0) 65%
    ),
    linear-gradient(
        180deg,
        #070609 0%,
        #09070d 48%,
        #060507 100%
    ) !important;
    border-top: 1px solid rgba(212, 122, 243, 0.08);
    border-bottom: 1px solid rgba(212, 122, 243, 0.10);
}
}


/* ==========================================================
   2. H2
   ========================================================== */

.pos-buyout-offer > h2,
.pos-buyout-offer > .wp-block-heading {
    width: min(900px, calc(100% - 40px)) !important;
    max-width: 900px !important;

    margin-left: auto !important;
    margin-right: auto !important;
    margin-top: 0 !important;
    margin-bottom: 20px !important;

    font-family: 'Exo2', sans-serif !important;
    font-weight: 400 !important;

    font-size: clamp(34px, 3vw, 50px) !important;
    line-height: 1.12 !important;
    letter-spacing: -0.02em;

    text-align: center !important;

    color: #ffffff !important;
}


/* ==========================================================
   3. OPIS POD H2
   ========================================================== */

.pos-buyout-offer > p {
    width: min(760px, calc(100% - 40px)) !important;
    max-width: 760px !important;

    margin-left: auto !important;
    margin-right: auto !important;
    margin-top: 0 !important;
    margin-bottom: 42px !important;

    font-family: 'Exo2', sans-serif !important;
    font-weight: 400 !important;

    font-size: 17px;
    line-height: 1.65;

    text-align: center !important;

    color: rgba(255, 255, 255, 0.78) !important;
}


/* ==========================================================
   4. SLIDER
   ========================================================== */

.pos-buyout-offer .swiper.mySwiper {
    position: relative !important;

    width: min(1320px, calc(100vw - 60px)) !important;
    max-width: 1320px !important;

    left: auto !important;
    right: auto !important;

    transform: none !important;

    margin-left: auto !important;
    margin-right: auto !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;

    /*
     * Zostawiamy miejsce na strzałki.
     */
   padding: 18px 0 32px !important;

    box-sizing: border-box;

    overflow: hidden !important;
	clip-path: inset(0);
    opacity: 1 !important;
}


/* ==========================================================
   5. WRAPPER I SLAJDY
   ========================================================== */

.pos-buyout-offer .swiper-wrapper {
    padding: 0 !important;

    align-items: flex-start !important;

    box-sizing: border-box;
}


.pos-buyout-offer .swiper-slide {
    height: auto !important;

    display: block !important;

    box-sizing: border-box;
}


/* ==========================================================
   6. KARTA AUTA
   ========================================================== */

.pos-buyout-offer .car-card {
    width: 100% !important;

    height: auto !important;
    min-height: 0 !important;

    display: flex !important;
    flex-direction: column !important;

    overflow: hidden;

    border-radius: 20px;

    background:
        linear-gradient(
            145deg,
            rgba(20, 15, 28, 0.98) 0%,
            rgba(9, 7, 13, 0.98) 100%
        ) !important;

    border:
        1px solid rgba(212, 122, 243, 0.28) !important;

    box-shadow:
        0 16px 38px rgba(0, 0, 0, 0.38);

    color: #ffffff !important;
    text-decoration: none !important;

    transform: translateY(0);

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}


.pos-buyout-offer .car-card:hover {
    transform: translateY(-6px);

    border-color:
        rgba(212, 122, 243, 0.7) !important;

    box-shadow:
        0 22px 48px rgba(0, 0, 0, 0.5),
        0 0 28px rgba(212, 122, 243, 0.11);
}


/* ==========================================================
   7. ZDJĘCIE
   ========================================================== */

.pos-buyout-offer .car-thumbnail {
    position: relative;

    width: 100% !important;

    overflow: hidden;

    background: #08070a;
}


.pos-buyout-offer .car-thumbnail img {
    display: block !important;

    width: 100% !important;
    height: auto !important;

    aspect-ratio: 16 / 10;

    object-fit: cover !important;

    transform: scale(1);

    transition:
        transform 0.45s ease;
}


.pos-buyout-offer .car-card:hover .car-thumbnail img {
    transform: scale(1.04);
}


/* ==========================================================
   8. TREŚĆ KARTY
   ========================================================== */

.pos-buyout-offer .car-details {
    padding: 22px 22px 24px !important;

    display: block !important;

    flex-grow: 0 !important;

    box-sizing: border-box;
}


/* ==========================================================
   9. NAZWA AUTA
   ========================================================== */

.pos-buyout-offer .car-title {
    margin: 0 0 16px 0 !important;

    font-family: 'Exo2', sans-serif !important;
    font-weight: 600 !important;

    font-size: clamp(20px, 1.4vw, 25px) !important;
    line-height: 1.2 !important;

    letter-spacing: -0.02em;

    color: #ffffff !important;
}


/* ==========================================================
   10. PARAMETRY AUTA
   ========================================================== */

.pos-buyout-offer .car-specs {
    list-style: none !important;

    padding: 0 !important;
    margin: 0 !important;

    font-family: 'Exo2', sans-serif !important;
}


.pos-buyout-offer .car-specs li {
    margin: 0 0 8px 0 !important;

    font-size: 14px !important;
    line-height: 1.4;

    color: rgba(255, 255, 255, 0.72) !important;
}


.pos-buyout-offer .car-specs li:last-child {
    margin-bottom: 0 !important;
}


.pos-buyout-offer .car-specs i {
    width: 20px;

    margin-right: 5px;

    color: #d47af3 !important;
}


.pos-buyout-offer .car-specs strong {
    color: rgba(255, 255, 255, 0.95) !important;
}


/* ==========================================================
   11. STRZAŁKI
   ========================================================== */

.pos-buyout-offer .swiper-button-next,
.pos-buyout-offer .swiper-button-prev {
    width: 48px !important;
    height: 48px !important;

    top: 50% !important;

    margin-top: 0 !important;

    transform: translateY(-50%) !important;

    border-radius: 50%;

    background:
        rgba(5, 5, 8, 0.92) !important;

    border:
        1px solid rgba(212, 122, 243, 0.55) !important;

    color: #d47af3 !important;

    box-shadow:
        0 8px 22px rgba(0, 0, 0, 0.4);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}


/* Lewa strzałka */
.pos-buyout-offer .swiper-button-prev {
    left: 4px !important;
}


/* Prawa strzałka */
.pos-buyout-offer .swiper-button-next {
    right: 4px !important;
}


.pos-buyout-offer .swiper-button-next::after,
.pos-buyout-offer .swiper-button-prev::after {
    font-size: 18px !important;
    font-weight: 700 !important;
}


.pos-buyout-offer .swiper-button-next:hover,
.pos-buyout-offer .swiper-button-prev:hover {
    background:
        rgba(212, 122, 243, 0.16) !important;

    border-color:
        #d47af3 !important;

    transform:
        translateY(-50%) scale(1.06) !important;
}


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 1100px) {

    .pos-buyout-offer {
        padding-top: 60px !important;
        padding-bottom: 75px !important;
    }


    .pos-buyout-offer > h2,
    .pos-buyout-offer > .wp-block-heading {
        width: min(720px, calc(100% - 40px)) !important;

        font-size:
            clamp(31px, 4.5vw, 43px) !important;
    }


    .pos-buyout-offer > p {
        width: min(650px, calc(100% - 40px)) !important;

        margin-bottom: 35px !important;

        font-size: 16px;
    }


    .pos-buyout-offer .swiper.mySwiper {
        width: calc(100vw - 30px) !important;

        padding: 16px 0 28px !important;
    }


    .pos-buyout-offer .car-details {
        padding: 20px !important;
    }


    .pos-buyout-offer .car-title {
        font-size: 21px !important;
    }
}


/* ==========================================================
   TELEFON
   ========================================================== */

@media (max-width: 781px) {

    .pos-buyout-offer {
        padding-top: 48px !important;
        padding-bottom: 55px !important;
    }


    .pos-buyout-offer > h2,
    .pos-buyout-offer > .wp-block-heading {
        width: calc(100% - 36px) !important;

        margin-bottom: 16px !important;

        font-size:
            clamp(27px, 8vw, 35px) !important;

        line-height: 1.14 !important;
    }


    .pos-buyout-offer > p {
        width: calc(100% - 36px) !important;

        margin-bottom: 28px !important;

        font-size: 15px;
        line-height: 1.55;
    }


    /*
     * Swiper JS pokazuje tutaj jeden samochód.
     */
    .pos-buyout-offer .swiper.mySwiper {
        width: calc(100vw - 24px) !important;

        padding: 10px 0 22px !important;
    }


    .pos-buyout-offer .car-card {
        border-radius: 18px;
    }


    .pos-buyout-offer .car-thumbnail img {
        aspect-ratio: 16 / 10;
    }


    .pos-buyout-offer .car-details {
        padding: 19px 18px 21px !important;
    }


    .pos-buyout-offer .car-title {
        font-size: 21px !important;
    }


    .pos-buyout-offer .car-specs li {
        font-size: 14px !important;
    }


    /*
     * Na telefonie nawigacja gestem/swipe.
     */
    .pos-buyout-offer .swiper-button-next,
    .pos-buyout-offer .swiper-button-prev {
        display: none !important;
    }
}


/* ==========================================================
   MAŁE TELEFONY
   ========================================================== */

@media (max-width: 420px) {

    .pos-buyout-offer {
        padding-top: 42px !important;
        padding-bottom: 50px !important;
    }


    .pos-buyout-offer > h2,
    .pos-buyout-offer > .wp-block-heading {
        font-size:
            clamp(25px, 7.5vw, 31px) !important;
    }


    .pos-buyout-offer > p {
        font-size: 14px;
    }


    .pos-buyout-offer .swiper.mySwiper {
        width: calc(100vw - 16px) !important;
    }


    .pos-buyout-offer .car-title {
        font-size: 20px !important;
    }
}
/* ==========================================================
   WYNAJEM Z WYKUPEM - JEDNA TABELA FINANSOWANIA
   Zastępuje poprzedni CSS kart finansowania.
   ========================================================== */


/* ==========================================================
   1. UKŁAD /WYKU P/ - NADAL 2 KOLUMNY,
      ALE LEWA JEST TROCHĘ SZERSZA
   ========================================================== */

.car-single-content-layout--buyout-table {
    grid-template-columns:
        minmax(520px, 610px)
        minmax(0, 1fr);
}


/* ==========================================================
   2. SEKCJA FINANSOWANIA
   ========================================================== */

.car-single-financing {
    width: 100%;
}

.car-single-financing .car-single-pricing-subtitle {
    margin-bottom: 8px;
}

.car-single-financing .car-single-pricing-title {
    margin-top: 0;
    margin-bottom: 22px;
}


/* ==========================================================
   3. KONTENER TABELI
   ========================================================== */

.car-single-financing-table-wrap {
    width: 100%;
    overflow: hidden;

    border:
        1px solid rgba(212, 122, 243, 0.28);

    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            rgba(20, 15, 28, 0.98),
            rgba(8, 7, 12, 0.98)
        );

    box-shadow:
        0 18px 42px rgba(0, 0, 0, 0.32);
}


/* ==========================================================
   4. TABELA
   ========================================================== */

.car-single-financing-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;

    font-family: 'Exo2', sans-serif;
}


/* Pierwsza kolumna trochę węższa */
.car-single-financing-table th:first-child {
    width: 24%;
}


/* ==========================================================
   5. NAGŁÓWEK
   ========================================================== */

.car-single-financing-table thead th {
    padding: 15px 9px;

    background:
        rgba(212, 122, 243, 0.07);

    border-bottom:
        1px solid rgba(212, 122, 243, 0.24);

    color: rgba(255, 255, 255, 0.72);

    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;

    text-align: center;
    vertical-align: middle;
}


.car-single-financing-table thead th:first-child {
    text-align: left;
    padding-left: 15px;
}


.car-single-financing-percent {
    color: #ffffff;

    font-size: 19px;
    font-weight: 700;
}


/* "Polecane" obok 10%, a nie nad nagłówkiem */
.car-single-financing-badge {
    display: inline-flex;

    margin-left: 4px;
    padding: 3px 5px;

    vertical-align: 2px;

    border:
        1px solid rgba(212, 122, 243, 0.48);

    border-radius: 999px;

    background:
        rgba(212, 122, 243, 0.13);

    color: #e7b2fa;

    font-size: 7px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.03em;

    text-transform: uppercase;
}


/* ==========================================================
   6. WIERSZE
   ========================================================== */

.car-single-financing-table tbody th,
.car-single-financing-table tbody td {
    padding: 14px 9px;

    border-bottom:
        1px solid rgba(255, 255, 255, 0.065);

    vertical-align: middle;
}


.car-single-financing-table tbody tr:last-child th,
.car-single-financing-table tbody tr:last-child td {
    border-bottom: 0;
}


.car-single-financing-table tbody th {
    padding-left: 15px;

    color: rgba(255, 255, 255, 0.70);

    font-size: 13px;
    font-weight: 500;

    text-align: left;
}


.car-single-financing-table tbody td {
    color: #ffffff;

    text-align: center;
}


.car-single-financing-table tbody td strong {
    display: block;

    color: #ffffff;

    font-size: 15px;
    font-weight: 700;

    line-height: 1.1;

    white-space: nowrap;
}


.car-single-financing-table tbody td small {
    display: block;

    margin-top: 3px;

    color:
        rgba(212, 122, 243, 0.88);

    font-size: 9px;
    font-weight: 500;

    white-space: nowrap;
}


/* ==========================================================
   7. OPŁATA WSTĘPNA
   ========================================================== */

.car-single-financing-deposit-row {
    background:
        rgba(255, 255, 255, 0.025);
}


.car-single-financing-deposit-row th {
    color: #ffffff !important;
    font-weight: 700 !important;
}


.car-single-financing-deposit-row td strong {
    color: #d47af3;
}


/* ==========================================================
   8. WYRÓŻNIENIE KOLUMNY 10%
   ========================================================== */

.car-single-financing-table .is-featured {
    background:
        rgba(212, 122, 243, 0.075);
}


.car-single-financing-table thead .is-featured {
    box-shadow:
        inset 0 2px 0 #d47af3;
}


/* ==========================================================
   9. MOCNE "OSTATNIA RATA = WYKUP"
   ========================================================== */

.car-single-financing-buyout {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 14px;

    margin-top: 16px;
    padding: 17px 18px;

    overflow: hidden;

    border:
        1px solid rgba(212, 122, 243, 0.65);

    border-radius: 15px;

    background:
        linear-gradient(
            135deg,
            rgba(212, 122, 243, 0.16),
            rgba(90, 30, 116, 0.08)
        );

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.28),
        0 0 24px rgba(212, 122, 243, 0.08);
}


.car-single-financing-buyout::before {
    content: "";

    position: absolute;

    top: 0;
    left: 10%;

    width: 80%;
    height: 2px;

    background:
        linear-gradient(
            90deg,
            transparent,
            #d47af3,
            transparent
        );
}


.car-single-financing-buyout > i {
    flex: 0 0 auto;

    color: #d47af3;

    font-size: 25px;
}


.car-single-financing-buyout > div {
    display: flex;
    flex-direction: column;

    gap: 2px;
}


.car-single-financing-buyout span {
    color:
        rgba(255, 255, 255, 0.62);

    font-family: 'Exo2', sans-serif;
    font-size: 11px;
    font-weight: 500;

    text-transform: uppercase;
    letter-spacing: 0.06em;
}


.car-single-financing-buyout strong {
    color: #ffffff;

    font-family: 'Exo2', sans-serif;
    font-size: 20px;
    font-weight: 700;

    line-height: 1.15;
    letter-spacing: 0.01em;
}


/* ==========================================================
   10. RESPONSYWNOŚĆ
   ========================================================== */

/*
 * Przy mniejszym desktopie szybciej przechodzimy
 * na jeden słupek, żeby tabela nie była ściśnięta.
 */
@media (max-width: 1180px) {

    .car-single-content-layout--buyout-table {
        grid-template-columns: 1fr;

        width: min(100% - 32px, 900px);
    }
}


/* Telefon - tabela nadal jest jedną tabelą,
   ale może być przesuwana poziomo na bardzo małym ekranie. */
@media (max-width: 649px) {

    .car-single-financing-table-wrap {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }


    .car-single-financing-table {
        min-width: 570px;
    }


    .car-single-financing-buyout {
        justify-content: flex-start;
    }


    .car-single-financing-buyout strong {
        font-size: 18px;
    }
}


@media (max-width: 420px) {

    .car-single-financing-buyout {
        padding: 15px;
    }


    .car-single-financing-buyout > i {
        font-size: 22px;
    }


    .car-single-financing-buyout strong {
        font-size: 16px;
    }
}
.pos-buyout-offer h2.wp-block-heading {
    width: 100% !important;
    max-width: 1000px !important;

    margin-left: auto !important;
    margin-right: auto !important;

    text-align: center !important;
}
/* ==========================================================
   WYNAJEM Z WYKUPEM - CTA "NIE ZNALAZŁEŚ AUTA?"
   ========================================================== */

.pos-buyout-custom-car {
    position: relative;

    width: 100%;
    max-width: none !important;

    padding-top: clamp(55px, 5vw, 80px) !important;
    padding-bottom: clamp(55px, 5vw, 80px) !important;

    border-top: 1px solid rgba(212, 122, 243, 0.13);
    border-bottom: 1px solid rgba(212, 122, 243, 0.13);

    background:
        radial-gradient(
            ellipse at 50% 50%,
            rgba(212, 122, 243, 0.055) 0%,
            transparent 62%
        ),
        #070609;
}


/* Wewnętrzne kolumny */
.pos-buyout-custom-car > .wp-block-columns {
    width: min(1100px, calc(100% - 40px));
    max-width: 1100px;

    margin-left: auto !important;
    margin-right: auto !important;

    align-items: center !important;

    gap: clamp(40px, 7vw, 100px) !important;
}


/* ==========================================================
   LEWA STRONA
   ========================================================== */

.pos-buyout-custom-car__content {
    flex-basis: 65% !important;
}


.pos-buyout-custom-car__content h2 {
    margin-top: 0 !important;
    margin-bottom: 24px !important;

    max-width: 620px;

    font-family: 'Exo2', sans-serif !important;
    font-size: clamp(34px, 3vw, 48px) !important;
    font-weight: 600 !important;
    line-height: 1.12 !important;

    color: #ffffff !important;
}


.pos-buyout-custom-car__content p {
    max-width: 650px;

    margin-bottom: 0 !important;

    font-family: 'Exo2', sans-serif !important;
    font-size: 17px;
    line-height: 1.65;

    color: rgba(255, 255, 255, 0.72) !important;
}


/* ==========================================================
   PRAWA STRONA
   ========================================================== */

.pos-buyout-custom-car__action {
    flex-basis: 35% !important;

    display: flex;
    align-items: center;
    justify-content: flex-end;
}


.pos-buyout-custom-car__action .wp-block-buttons {
    justify-content: flex-end !important;
}


/* ==========================================================
   PRZYCISK
   ========================================================== */

.pos-buyout-custom-car__button .wp-block-button__link {
    min-height: 58px;

    padding: 0 30px !important;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 14px !important;

    background:
        linear-gradient(
            135deg,
            #d47af3 0%,
            #923db8 100%
        ) !important;

    border: 1px solid rgba(255,255,255,0.15);

    color: #ffffff !important;

    font-family: 'Exo2', sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.2;

    text-align: center;
    text-transform: uppercase;

    box-shadow:
        0 10px 30px rgba(212, 122, 243, 0.20);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


.pos-buyout-custom-car__button .wp-block-button__link:hover {
    transform: translateY(-3px);

    box-shadow:
        0 14px 38px rgba(212, 122, 243, 0.34);
}


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 900px) {

    .pos-buyout-custom-car > .wp-block-columns {
        gap: 35px !important;
    }

    .pos-buyout-custom-car__content {
        flex-basis: 62% !important;
    }

    .pos-buyout-custom-car__action {
        flex-basis: 38% !important;
    }

    .pos-buyout-custom-car__content h2 {
        font-size: clamp(30px, 4.5vw, 40px) !important;
    }

    .pos-buyout-custom-car__content p {
        font-size: 16px;
    }
}


/* ==========================================================
   TELEFON
   ========================================================== */

@media (max-width: 781px) {

    .pos-buyout-custom-car {
        padding-top: 48px !important;
        padding-bottom: 48px !important;
    }

    .pos-buyout-custom-car > .wp-block-columns {
        width: calc(100% - 36px);

        flex-direction: column !important;

        gap: 28px !important;
    }

    .pos-buyout-custom-car__content,
    .pos-buyout-custom-car__action {
        width: 100% !important;
        flex-basis: 100% !important;
    }

    .pos-buyout-custom-car__content h2 {
        max-width: 100%;

        font-size: clamp(28px, 8vw, 36px) !important;
    }

    .pos-buyout-custom-car__content p {
        max-width: 100%;

        font-size: 15px;
    }

    .pos-buyout-custom-car__action {
        justify-content: flex-start;
    }

    .pos-buyout-custom-car__action .wp-block-buttons {
        width: 100%;
        justify-content: flex-start !important;
    }

    .pos-buyout-custom-car__button,
    .pos-buyout-custom-car__button .wp-block-button__link {
        width: 100%;
    }
}
/* ==========================================================
   WYNAJEM Z WYKUPEM - JAK TO DZIAŁA?
   Klasy:
   .pos-buyout-how
   .pos-buyout-how__grid
   .pos-buyout-how__step
   .pos-buyout-how__number
   ========================================================== */


/* ==========================================================
   1. CAŁA SEKCJA
   ========================================================== */

.pos-buyout-how {
    position: relative;

    width: 100%;
    max-width: none !important;

    padding-top: clamp(70px, 7vw, 110px) !important;
    padding-bottom: clamp(75px, 7vw, 115px) !important;

    overflow: hidden;

    background:
        radial-gradient(
            ellipse at 50% 45%,
            rgba(212, 122, 243, 0.08) 0%,
            rgba(95, 35, 125, 0.035) 35%,
            transparent 68%
        ),
        linear-gradient(
            180deg,
            #070609 0%,
            #09070d 50%,
            #060507 100%
        ) !important;

    border-top:
        1px solid rgba(212, 122, 243, 0.08);

    border-bottom:
        1px solid rgba(212, 122, 243, 0.08);

    font-family: 'Exo2', sans-serif !important;
}


/* ==========================================================
   2. NAGŁÓWEK SEKCJI
   ========================================================== */

.pos-buyout-how > h2,
.pos-buyout-how > .wp-block-heading {
    width: min(950px, calc(100% - 40px)) !important;
    max-width: 950px !important;

    margin-top: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 18px !important;

    color: #ffffff !important;

    font-family: 'Exo2', sans-serif !important;
    font-size: clamp(34px, 3vw, 50px) !important;
    font-weight: 500 !important;

    line-height: 1.12 !important;
    letter-spacing: -0.02em;

    text-align: center !important;
}


/* ==========================================================
   3. OPIS POD NAGŁÓWKIEM
   ========================================================== */

.pos-buyout-how > p {
    width: min(720px, calc(100% - 40px)) !important;
    max-width: 720px !important;

    margin-top: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 48px !important;

    color: rgba(255, 255, 255, 0.68) !important;

    font-family: 'Exo2', sans-serif !important;
    font-size: 16px;
    line-height: 1.6;

    text-align: center !important;
}


/* ==========================================================
   4. SIATKA
   ========================================================== */

.pos-buyout-how__grid {
    width: min(1320px, calc(100% - 48px)) !important;
    max-width: 1320px !important;

    margin-left: auto !important;
    margin-right: auto !important;

    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;

    gap: 18px !important;
}


/* ==========================================================
   5. POJEDYNCZY KROK
   ========================================================== */

.pos-buyout-how__step {
    position: relative;

    min-width: 0;

    padding:
        30px 24px 28px !important;

    overflow: hidden;

    border:
        1px solid rgba(212, 122, 243, 0.20);

    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            rgba(20, 15, 28, 0.98),
            rgba(9, 7, 13, 0.98)
        );

    box-shadow:
        0 16px 36px rgba(0, 0, 0, 0.28);

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}


/* delikatna linia u góry */
.pos-buyout-how__step::before {
    content: "";

    position: absolute;

    top: 0;
    left: 24px;

    width: 52px;
    height: 2px;

    background:
        linear-gradient(
            90deg,
            #d47af3,
            rgba(212, 122, 243, 0)
        );
}


/* hover */
.pos-buyout-how__step:hover {
    transform: translateY(-6px);

    border-color:
        rgba(212, 122, 243, 0.55);

    box-shadow:
        0 22px 48px rgba(0, 0, 0, 0.38),
        0 0 26px rgba(212, 122, 243, 0.08);
}


/* ==========================================================
   6. NUMERY 01-04
   ========================================================== */

.pos-buyout-how__number {
    margin-top: 0 !important;
    margin-bottom: 18px !important;

    color: #d47af3 !important;

    font-family: 'Exo2', sans-serif !important;
    font-size: clamp(44px, 4vw, 62px) !important;
    font-weight: 700 !important;

    line-height: 1 !important;
    letter-spacing: -0.05em;

    text-shadow:
        0 0 22px rgba(212, 122, 243, 0.18);
}


/* ==========================================================
   7. H3 W KAFELKU
   ========================================================== */

.pos-buyout-how__step h3 {
    margin-top: 0 !important;
    margin-bottom: 14px !important;

    color: #ffffff !important;

    font-family: 'Exo2', sans-serif !important;
    font-size: 21px !important;
    font-weight: 600 !important;

    line-height: 1.25 !important;
}


/* ==========================================================
   8. OPIS W KAFELKU
   ========================================================== */

.pos-buyout-how__step p:not(.pos-buyout-how__number) {
    margin-top: 0 !important;
    margin-bottom: 0 !important;

    color: rgba(255, 255, 255, 0.66) !important;

    font-family: 'Exo2', sans-serif !important;
    font-size: 14px;
    line-height: 1.65;
}


/* ==========================================================
   9. OPCJONALNE ŁĄCZNIKI MIĘDZY KROKAMI
   tylko desktop
   ========================================================== */

@media (min-width: 1101px) {

    .pos-buyout-how__step:not(:last-child)::after {
        content: "→";

        position: absolute;

        top: 52px;
        right: -14px;

        z-index: 5;

        color: rgba(212, 122, 243, 0.52);

        font-family: 'Exo2', sans-serif;
        font-size: 22px;
        font-weight: 400;
    }
}


/* ==========================================================
   TABLET
   4 -> 2 x 2
   ========================================================== */

@media (max-width: 1100px) {

    .pos-buyout-how {
        padding-top: 65px !important;
        padding-bottom: 75px !important;
    }

    .pos-buyout-how__grid {
        width: min(900px, calc(100% - 40px)) !important;

        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;

        gap: 18px !important;
    }

    .pos-buyout-how__step {
        padding:
            27px 22px 25px !important;
    }

    .pos-buyout-how__number {
        font-size:
            clamp(42px, 7vw, 56px) !important;
    }
}


/* ==========================================================
   TELEFON
   2 -> 1
   ========================================================== */

@media (max-width: 781px) {

    .pos-buyout-how {
        padding-top: 52px !important;
        padding-bottom: 60px !important;
    }

    .pos-buyout-how > h2,
    .pos-buyout-how > .wp-block-heading {
        width: calc(100% - 36px) !important;

        font-size:
            clamp(28px, 8vw, 36px) !important;
    }

    .pos-buyout-how > p {
        width: calc(100% - 36px) !important;

        margin-bottom: 34px !important;

        font-size: 15px;
    }

    .pos-buyout-how__grid {
        width: calc(100% - 36px) !important;

        grid-template-columns: 1fr !important;

        gap: 14px !important;
    }

    .pos-buyout-how__step {
        padding:
            24px 20px 22px !important;
    }

    .pos-buyout-how__number {
        margin-bottom: 14px !important;

        font-size: 44px !important;
    }

    .pos-buyout-how__step h3 {
        font-size: 20px !important;
    }
}


/* ==========================================================
   MAŁY TELEFON
   ========================================================== */

@media (max-width: 420px) {

    .pos-buyout-how > h2,
    .pos-buyout-how > .wp-block-heading {
        font-size:
            clamp(26px, 7.5vw, 32px) !important;
    }

    .pos-buyout-how__step {
        border-radius: 16px;
    }

    .pos-buyout-how__number {
        font-size: 40px !important;
    }

    .pos-buyout-how__step p:not(.pos-buyout-how__number) {
        font-size: 13px;
    }
}
.pos-buyout-how__step,
.pos-buyout-how__step p,
.pos-buyout-how__step h3 {
    font-family: 'Exo2', sans-serif !important;
}
.pos-buyout-how {
    padding-top: 75px !important;
    padding-bottom: 85px !important;

    border-top: 1px solid rgba(212, 122, 243, 0.10);
    border-bottom: 1px solid rgba(212, 122, 243, 0.10);
}
/* ==========================================================
   STRONA GŁÓWNA - SLIDER AUT
   Układ zgodny ze sliderem "Wynajem z wykupem"
   ========================================================== */


/* ----------------------------------------------------------
   CAŁA SEKCJA + TŁO
   ---------------------------------------------------------- */

.pos-slider-section {
    position: relative !important;

    width: 100vw !important;
    max-width: none !important;

    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;

    padding-top: 70px !important;
    padding-bottom: 80px !important;

    background-image:
        url("https://panowieodsamochodow.pl/wp-content/uploads/2026/07/tlo-slider.webp") !important;

    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;

    overflow: hidden !important;

    box-sizing: border-box;
}


/* ----------------------------------------------------------
   SLIDER
   ---------------------------------------------------------- */

.pos-slider-section .swiper.mySwiper {
    position: relative !important;

    width: min(1320px, calc(100vw - 60px)) !important;
    max-width: 1320px !important;

    left: auto !important;
    right: auto !important;

    transform: none !important;

    margin-left: auto !important;
    margin-right: auto !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;

    /* Bez paddingu po bokach */
    padding: 18px 0 32px !important;

    box-sizing: border-box;

    overflow: hidden !important;

    /* To samo zabezpieczenie co w sliderze wykupu */
    clip-path: inset(0);

    opacity: 1 !important;
}


/* ----------------------------------------------------------
   WRAPPER
   ---------------------------------------------------------- */

.pos-slider-section .swiper-wrapper {
    padding: 0 !important;

    align-items: flex-start !important;

    box-sizing: border-box;
}


/* ----------------------------------------------------------
   SLAJD
   ---------------------------------------------------------- */

.pos-slider-section .swiper-slide {
    height: auto !important;

    display: block !important;

    box-sizing: border-box;
}


/* ----------------------------------------------------------
   KARTA
   ---------------------------------------------------------- */

.pos-slider-section .car-card {
    width: 100% !important;

    height: auto !important;
    min-height: 0 !important;

    box-sizing: border-box;
}


/* ----------------------------------------------------------
   STRZAŁKI
   ---------------------------------------------------------- */

.pos-slider-section .swiper-button-prev {
    left: 4px !important;
}

.pos-slider-section .swiper-button-next {
    right: 4px !important;
}


/* ==========================================================
   TABLET / MNIEJSZY LAPTOP
   ========================================================== */

@media (max-width: 1100px) {

    .pos-slider-section {
        padding-top: 60px !important;
        padding-bottom: 70px !important;
    }

    .pos-slider-section .swiper.mySwiper {
        width: calc(100vw - 30px) !important;

        padding: 16px 0 28px !important;
    }
}


/* ==========================================================
   TELEFON
   ========================================================== */

@media (max-width: 781px) {

    .pos-slider-section {
        padding-top: 48px !important;
        padding-bottom: 55px !important;
    }

    .pos-slider-section .swiper.mySwiper {
        width: calc(100vw - 24px) !important;

        padding: 10px 0 22px !important;
    }

    .pos-slider-section .swiper-button-next,
    .pos-slider-section .swiper-button-prev {
        display: none !important;
    }
}


/* ==========================================================
   MAŁY TELEFON
   ========================================================== */

@media (max-width: 420px) {

    .pos-slider-section .swiper.mySwiper {
        width: calc(100vw - 16px) !important;
    }
}
.pos-slider-section > p {
    width: min(760px, calc(100% - 40px)) !important;
    max-width: 760px !important;

    margin: 0 auto 22px !important;

    font-family: 'Exo2', sans-serif !important;
    font-size: 17px;
    line-height: 1.6;

    text-align: center !important;

    color: rgba(255, 255, 255, 0.78) !important;
}
/* ==========================================================
   STRONA GŁÓWNA - OPINIE GOOGLE
   ========================================================== */

.opinie-google {
    position: relative;

    width: 100% !important;
    max-width: none !important;

    padding-top: 65px !important;
    padding-bottom: 70px !important;

    background:
        radial-gradient(
            ellipse at 50% 0%,
            rgba(212, 122, 243, 0.06) 0%,
            transparent 55%
        ),
        #070609 !important;

    border-top: 1px solid rgba(212, 122, 243, 0.10);
    border-bottom: 1px solid rgba(212, 122, 243, 0.10);

    box-sizing: border-box;
}


/* Nagłówek */
.opinie-google > h2,
.opinie-google > .wp-block-heading {
    width: min(900px, calc(100% - 40px)) !important;
    max-width: 900px !important;

    margin-top: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 30px !important;

    font-family: 'Exo2', sans-serif !important;
    font-weight: 500 !important;

    font-size: clamp(32px, 2.7vw, 44px) !important;
    line-height: 1.12 !important;
    letter-spacing: -0.02em;

    text-align: center !important;

    color: #ffffff !important;
}


/* TELEFON */
@media (max-width: 781px) {

    .opinie-google {
        padding-top: 48px !important;
        padding-bottom: 55px !important;
    }

    .opinie-google > h2,
    .opinie-google > .wp-block-heading {
        width: calc(100% - 36px) !important;

        margin-bottom: 28px !important;

        font-size: clamp(28px, 8vw, 36px) !important;
    }
}
/* ==========================================================
   WYNAJEM DŁUGOTERMINOWY - HERO FULL WIDTH
   ========================================================== */

.pos-longterm-hero {
    position: relative !important;

    width: 100vw !important;
    max-width: none !important;

    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;

    min-height: 720px;

    padding-left: 0 !important;
    padding-right: 0 !important;

    box-sizing: border-box;

    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;

    overflow: hidden;
}
/* ==========================================================
   WYNAJEM DŁUGOTERMINOWY - HERO
   ========================================================== */

.pos-longterm-hero {
    position: relative !important;

    width: 100vw !important;
    max-width: none !important;

    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;

    height: calc(100svh - 106px) !important;
min-height: 680px !important;

    padding: 0 !important;

    overflow: hidden !important;
    box-sizing: border-box;

    background-color: #050208;
}


/* ----------------------------------------------------------
   OBRAZ HERO
   ---------------------------------------------------------- */

.pos-longterm-hero .wp-block-cover__image-background {
    object-fit: cover !important;
    object-position: 52% 40% !important;
}


/* ----------------------------------------------------------
   OVERLAY
   Zamiast ciężkiego 50% robimy własne przyciemnienie,
   mocniejsze po lewej stronie pod tekst.
   ---------------------------------------------------------- */

.pos-longterm-hero .wp-block-cover__background {
    opacity: 1 !important;

    background:
        linear-gradient(
            90deg,
            rgba(3, 2, 7, 0.86) 0%,
            rgba(3, 2, 7, 0.70) 30%,
            rgba(3, 2, 7, 0.34) 52%,
            rgba(3, 2, 7, 0.10) 72%,
            rgba(3, 2, 7, 0.02) 100%
        ) !important;
}


/* ----------------------------------------------------------
   WEWNĘTRZNY KONTENER COVER
   ---------------------------------------------------------- */

.pos-longterm-hero .wp-block-cover__inner-container {
    position: relative;
    z-index: 2;

    width: 100% !important;
    max-width: none !important;

    min-height: inherit;

    display: flex;
    align-items: center;

    margin: 0 !important;

    padding:
        clamp(70px, 8vh, 110px)
        clamp(26px, 6vw, 110px)
        clamp(60px, 7vh, 90px) !important;

    box-sizing: border-box;
}


/* ----------------------------------------------------------
   BLOK TREŚCI
   ---------------------------------------------------------- */

.pos-longterm-hero__content {
    width: 100%;
    max-width: 760px !important;

    margin: 0 !important;
    padding: 0 !important;

    text-align: left !important;
}


/* ----------------------------------------------------------
   H1
   ---------------------------------------------------------- */

.pos-longterm-hero__title {
    margin: 0 0 24px 0 !important;

    max-width: 760px;

    font-family: 'Orbitron', sans-serif !important;
    font-weight: 400 !important;

    font-size: clamp(38px, 4.1vw, 68px) !important;
    line-height: 1.04 !important;
    letter-spacing: -0.035em !important;

    text-align: left !important;
    text-transform: uppercase;

    text-shadow:
        0 4px 24px rgba(0, 0, 0, 0.85);
}


/* Każda część H1 w osobnym wierszu */
.pos-longterm-hero__title span {
    display: block;
}


/* Pierwsza linia */
.pos-longterm-hero__title-white {
    color: #ffffff !important;
}


/* Druga linia */
.pos-longterm-hero__title-purple {
    margin-top: 8px;

    color: #d47af3 !important;

    background:
        linear-gradient(
            180deg,
            #efc2ff 0%,
            #d47af3 48%,
            #9a42c0 100%
        );

    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;

    text-shadow:
        0 0 20px rgba(212, 122, 243, 0.18);
}


/* ----------------------------------------------------------
   EYEBROW
   ---------------------------------------------------------- */

.pos-longterm-hero__eyebrow {
    margin: 0 0 18px 0 !important;

    font-family: 'Exo2', sans-serif !important;
    font-weight: 600 !important;

    font-size: clamp(15px, 1.15vw, 19px) !important;
    line-height: 1.4 !important;

    letter-spacing: 0.08em;
    text-transform: uppercase;

    text-align: left !important;

    color: #d47af3 !important;

    text-shadow:
        0 0 16px rgba(212, 122, 243, 0.20);
}


/* ----------------------------------------------------------
   OPIS
   ---------------------------------------------------------- */

.pos-longterm-hero__description {
    width: 100%;
    max-width: 650px;

    margin: 0 !important;

    font-family: 'Exo2', sans-serif !important;
    font-weight: 400 !important;

    font-size: clamp(16px, 1.2vw, 19px) !important;
    line-height: 1.65 !important;

    text-align: left !important;

    color: rgba(255, 255, 255, 0.84) !important;

    text-shadow:
        0 2px 14px rgba(0, 0, 0, 0.82);
}


/* ==========================================================
   LAPTOP / MNIEJSZY DESKTOP
   ========================================================== */

@media (max-width: 1200px) {

    .pos-longterm-hero {
        min-height: 720px !important;
    }

    .pos-longterm-hero .wp-block-cover__inner-container {
        padding-left: 55px !important;
        padding-right: 55px !important;
    }

    .pos-longterm-hero__content {
        max-width: 650px !important;
    }

    .pos-longterm-hero__title {
        font-size: clamp(36px, 4.6vw, 58px) !important;
    }
}


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 900px) {

    .pos-longterm-hero {
        min-height: 720px !important;
    }

    .pos-longterm-hero .wp-block-cover__image-background {
        object-position: 62% center !important;
    }

    .pos-longterm-hero .wp-block-cover__background {
        background:
            linear-gradient(
                90deg,
                rgba(3, 2, 7, 0.88) 0%,
                rgba(3, 2, 7, 0.72) 42%,
                rgba(3, 2, 7, 0.26) 76%,
                rgba(3, 2, 7, 0.08) 100%
            ) !important;
    }

    .pos-longterm-hero .wp-block-cover__inner-container {
        padding:
            70px
            38px
            60px !important;
    }

    .pos-longterm-hero__content {
        max-width: 570px !important;
    }

    .pos-longterm-hero__title {
        font-size: clamp(34px, 6vw, 52px) !important;
    }
}


/* ==========================================================
   TELEFON
   ========================================================== */

@media (max-width: 782px) {

    .pos-longterm-hero {
        min-height: 760px !important;
    }

    /*
     * Przesuwamy kadr w prawo,
     * żeby zachować SUV + neonowe logo.
     */
    .pos-longterm-hero .wp-block-cover__image-background {
        object-position: 68% center !important;
    }

    /*
     * Na telefonie gradient jest od dołu,
     * dzięki temu tekst jest czytelny,
     * a górna część grafiki zostaje widoczna.
     */
    .pos-longterm-hero .wp-block-cover__background {
        background:
            linear-gradient(
                180deg,
                rgba(3, 2, 7, 0.12) 0%,
                rgba(3, 2, 7, 0.24) 30%,
                rgba(3, 2, 7, 0.76) 58%,
                rgba(3, 2, 7, 0.96) 100%
            ) !important;
    }

    .pos-longterm-hero .wp-block-cover__inner-container {
        align-items: flex-end;

        padding:
            300px
            22px
            46px !important;
    }

    .pos-longterm-hero__content {
        width: 100%;
        max-width: 100% !important;
    }

    .pos-longterm-hero__title {
        margin-bottom: 20px !important;

        font-size: clamp(29px, 8.5vw, 40px) !important;
        line-height: 1.05 !important;
        letter-spacing: -0.025em !important;
    }

    .pos-longterm-hero__title-purple {
        margin-top: 6px;
    }

    .pos-longterm-hero__eyebrow {
        margin-bottom: 15px !important;

        font-size: 14px !important;
        letter-spacing: 0.055em;
    }

    .pos-longterm-hero__description {
        max-width: 100%;

        font-size: 15px !important;
        line-height: 1.6 !important;
    }
}


/* ==========================================================
   MAŁE TELEFONY
   ========================================================== */

@media (max-width: 420px) {

    .pos-longterm-hero {
        min-height: 720px !important;
    }

    .pos-longterm-hero .wp-block-cover__inner-container {
        padding:
            270px
            18px
            38px !important;
    }

    .pos-longterm-hero__title {
        font-size: clamp(27px, 8.2vw, 35px) !important;
    }

    .pos-longterm-hero__description {
        font-size: 14px !important;
    }
}
/* ==========================================================
   WYNAJEM DŁUGOTERMINOWY - USUNIĘCIE PASKA POD MENU
   ========================================================== */

main:has(.pos-longterm-hero)
> .wp-block-group.alignfull.has-tertiary-background-color.has-background {
    display: none !important;
}
/* Tylko strony zawierające HERO wynajmu długoterminowego */
body:has(.pos-longterm-hero) {
    overflow-x: clip !important;
}
/* ==========================================================
   PIONOWY SCROLLBAR - CIEMNY + DELIKATNY FIOLETOWY GLOW
   ========================================================== */

/* Chrome / Edge / Safari */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #070609;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(
        180deg,
        #8f3db5 0%,
        #d47af3 50%,
        #7a329e 100%
    );

    border-radius: 999px;

    border: 2px solid #070609;

    box-shadow:
        0 0 6px rgba(212, 122, 243, 0.35),
        0 0 12px rgba(212, 122, 243, 0.14);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(
        180deg,
        #aa4ed0 0%,
        #e29bfa 50%,
        #913db8 100%
    );

    box-shadow:
        0 0 8px rgba(212, 122, 243, 0.48),
        0 0 16px rgba(212, 122, 243, 0.20);
}


/* Firefox */
html {
    scrollbar-width: thin;
    scrollbar-color: #b85fd8 #070609;
}
/* ==========================================================
   WYNAJEM DŁUGOTERMINOWY - HERO CTA PREMIUM
   ========================================================== */

.pos-longterm-hero__buttons {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 16px !important;

    margin-top: 30px !important;
}


/* ==========================================================
   WSPÓLNE USTAWIENIA
   ========================================================== */

.pos-longterm-hero__buttons .wp-block-button {
    margin: 0 !important;
}

.pos-longterm-hero__buttons .wp-block-button__link {
    position: relative;
    isolation: isolate;

    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    min-height: 54px;
    padding: 16px 30px !important;

    overflow: hidden;

    border-radius: 999px !important;

    font-family: 'Exo2', sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    letter-spacing: 0.055em !important;

    text-transform: uppercase;
    text-decoration: none !important;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease,
        background 0.3s ease !important;
}


/* ==========================================================
   1. GŁÓWNE CTA - NEON
   ========================================================== */

.pos-longterm-hero__btn-primary .wp-block-button__link {
    color: #ffffff !important;

    background:
        linear-gradient(
            135deg,
            #e487ff 0%,
            #b34bd8 42%,
            #74249f 100%
        ) !important;

    border: 1px solid rgba(238, 182, 255, 0.85) !important;

    box-shadow:
        0 0 10px rgba(212, 122, 243, 0.35),
        0 0 26px rgba(180, 65, 225, 0.22),
        0 12px 30px rgba(0, 0, 0, 0.40),
        inset 0 1px 0 rgba(255, 255, 255, 0.28);

    animation: posLongtermPulse 3.2s ease-in-out infinite;
}


/* Refleks przesuwający się przez przycisk */
.pos-longterm-hero__btn-primary .wp-block-button__link::before {
    content: "";

    position: absolute;
    top: -80%;
    left: -45%;

    width: 28%;
    height: 260%;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,0.58),
            transparent
        );

    transform: rotate(22deg);

    z-index: -1;

    animation: posLongtermShine 4.2s ease-in-out infinite;
}


/* subtelna poświata wewnętrzna */
.pos-longterm-hero__btn-primary .wp-block-button__link::after {
    content: "";

    position: absolute;
    inset: 2px;

    border-radius: inherit;

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,0.12),
            transparent 42%
        );

    pointer-events: none;
}


/* Hover głównego CTA */
.pos-longterm-hero__btn-primary .wp-block-button__link:hover {
    color: #ffffff !important;

    transform:
        translateY(-4px)
        scale(1.025);

    background:
        linear-gradient(
            135deg,
            #ee9fff 0%,
            #ca5bea 42%,
            #8e2cb9 100%
        ) !important;

    box-shadow:
        0 0 14px rgba(220, 130, 255, 0.55),
        0 0 38px rgba(190, 70, 235, 0.38),
        0 18px 38px rgba(0, 0, 0, 0.48),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);
}


/* ==========================================================
   2. DRUGIE CTA - GLASS / NEON BORDER
   ========================================================== */

.pos-longterm-hero__btn-secondary .wp-block-button__link {
    color: #ffffff !important;

    background:
        linear-gradient(
            135deg,
            rgba(15, 10, 20, 0.72),
            rgba(37, 17, 48, 0.56)
        ) !important;

    border: 1px solid rgba(212, 122, 243, 0.60) !important;

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    box-shadow:
        inset 0 0 22px rgba(212, 122, 243, 0.045),
        0 8px 26px rgba(0, 0, 0, 0.32);
}


/* Delikatny fioletowy refleks */
.pos-longterm-hero__btn-secondary .wp-block-button__link::before {
    content: "";

    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at 50% 120%,
            rgba(212, 122, 243, 0.25),
            transparent 58%
        );

    opacity: 0;

    transition: opacity 0.3s ease;
    pointer-events: none;
}


.pos-longterm-hero__btn-secondary .wp-block-button__link:hover {
    color: #ffffff !important;

    transform:
        translateY(-4px)
        scale(1.015);

    border-color: #d47af3 !important;

    background:
        linear-gradient(
            135deg,
            rgba(32, 14, 42, 0.90),
            rgba(69, 25, 84, 0.72)
        ) !important;

    box-shadow:
        0 0 18px rgba(212, 122, 243, 0.18),
        0 14px 32px rgba(0, 0, 0, 0.40);
}

.pos-longterm-hero__btn-secondary .wp-block-button__link:hover::before {
    opacity: 1;
}


/* ==========================================================
   ANIMACJE
   ========================================================== */

@keyframes posLongtermPulse {
    0%,
    100% {
        box-shadow:
            0 0 10px rgba(212, 122, 243, 0.30),
            0 0 24px rgba(180, 65, 225, 0.18),
            0 12px 30px rgba(0, 0, 0, 0.40),
            inset 0 1px 0 rgba(255, 255, 255, 0.28);
    }

    50% {
        box-shadow:
            0 0 15px rgba(212, 122, 243, 0.48),
            0 0 34px rgba(180, 65, 225, 0.28),
            0 12px 30px rgba(0, 0, 0, 0.40),
            inset 0 1px 0 rgba(255, 255, 255, 0.28);
    }
}


@keyframes posLongtermShine {
    0%,
    55% {
        left: -45%;
        opacity: 0;
    }

    60% {
        opacity: 1;
    }

    82% {
        left: 125%;
        opacity: 0.8;
    }

    100% {
        left: 125%;
        opacity: 0;
    }
}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 600px) {

    .pos-longterm-hero__buttons {
        width: 100%;
        gap: 11px !important;

        margin-top: 24px !important;
    }

    .pos-longterm-hero__buttons .wp-block-button {
        width: 100% !important;
    }

    .pos-longterm-hero__buttons .wp-block-button__link {
        width: 100% !important;
        min-height: 50px;

        padding: 14px 18px !important;

        font-size: 12px !important;
    }
}


/* ==========================================================
   ACCESSIBILITY - wyłącz animację gdy użytkownik tego chce
   ========================================================== */

@media (prefers-reduced-motion: reduce) {

    .pos-longterm-hero__btn-primary .wp-block-button__link,
    .pos-longterm-hero__btn-primary .wp-block-button__link::before {
        animation: none !important;
    }
}
/* ==========================================================
   HOME HERO - CTA Z EFEKTEM NEON + SHINE
   ========================================================== */

.pos-home-hero .pos-hero__button {
    position: relative !important;
    isolation: isolate;
    overflow: hidden !important;

    background:
        linear-gradient(
            135deg,
            #e487ff 0%,
            #b34bd8 42%,
            #74249f 100%
        ) !important;

    border: 1px solid rgba(238, 182, 255, 0.85) !important;

    box-shadow:
        0 0 10px rgba(212, 122, 243, 0.35),
        0 0 26px rgba(180, 65, 225, 0.22),
        0 12px 30px rgba(0, 0, 0, 0.40),
        inset 0 1px 0 rgba(255, 255, 255, 0.28) !important;

    animation: posLongtermPulse 3.2s ease-in-out infinite;
}


/* przesuwający się refleks */
.pos-home-hero .pos-hero__button::before {
    content: "";

    position: absolute;
    top: -80%;
    left: -45%;

    width: 28%;
    height: 260%;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.58),
            transparent
        );

    transform: rotate(22deg);

    z-index: -1;

    animation: posLongtermShine 4.2s ease-in-out infinite;
}


/* delikatny refleks od góry */
.pos-home-hero .pos-hero__button::after {
    content: "";

    position: absolute;
    inset: 2px;

    border-radius: inherit;

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,0.12),
            transparent 42%
        );

    pointer-events: none;
}


/* hover */
.pos-home-hero .pos-hero__button:hover {
    color: #ffffff !important;

    transform:
        translateY(-4px)
        scale(1.025) !important;

    background:
        linear-gradient(
            135deg,
            #ee9fff 0%,
            #ca5bea 42%,
            #8e2cb9 100%
        ) !important;

    box-shadow:
        0 0 14px rgba(220, 130, 255, 0.55),
        0 0 38px rgba(190, 70, 235, 0.38),
        0 18px 38px rgba(0, 0, 0, 0.48),
        inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
}


/* dostępność */
@media (prefers-reduced-motion: reduce) {

    .pos-home-hero .pos-hero__button,
    .pos-home-hero .pos-hero__button::before {
        animation: none !important;
    }
}
/* ==========================================================
   WYNAJEM Z WYKUPEM - GŁÓWNE CTA NEON
   ========================================================== */

.pos-buyout-btn.pos-buyout-btn-primary .wp-block-button__link {
    position: relative !important;
    isolation: isolate;
    overflow: hidden !important;

    color: #ffffff !important;

    background: linear-gradient(
        135deg,
        #e487ff 0%,
        #b34bd8 42%,
        #74249f 100%
    ) !important;

    border: 1px solid rgba(238, 182, 255, 0.85) !important;
    border-radius: 999px !important;

    box-shadow:
        0 0 10px rgba(212, 122, 243, 0.35),
        0 0 26px rgba(180, 65, 225, 0.22),
        0 12px 30px rgba(0, 0, 0, 0.40),
        inset 0 1px 0 rgba(255, 255, 255, 0.28) !important;

    animation: posLongtermPulse 3.2s ease-in-out infinite;
}


/* przesuwający się refleks */
.pos-buyout-btn.pos-buyout-btn-primary .wp-block-button__link::before {
    content: "";

    position: absolute;
    top: -80%;
    left: -45%;

    width: 28%;
    height: 260%;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,0.58),
        transparent
    );

    transform: rotate(22deg);

    z-index: -1;

    animation: posLongtermShine 4.2s ease-in-out infinite;
}


/* delikatny połysk */
.pos-buyout-btn.pos-buyout-btn-primary .wp-block-button__link::after {
    content: "";

    position: absolute;
    inset: 2px;

    border-radius: inherit;

    background: linear-gradient(
        180deg,
        rgba(255,255,255,0.12),
        transparent 42%
    );

    pointer-events: none;
}


/* hover */
.pos-buyout-btn.pos-buyout-btn-primary .wp-block-button__link:hover {
    color: #ffffff !important;

    transform:
        translateY(-4px)
        scale(1.025) !important;

    background: linear-gradient(
        135deg,
        #ee9fff 0%,
        #ca5bea 42%,
        #8e2cb9 100%
    ) !important;

    box-shadow:
        0 0 14px rgba(220, 130, 255, 0.55),
        0 0 38px rgba(190, 70, 235, 0.38),
        0 18px 38px rgba(0, 0, 0, 0.48),
        inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
}
/* ==========================================================
   WYNAJEM DŁUGOTERMINOWY - SEKCJA SEO
   ========================================================== */

.pos-longterm-seo {
    position: relative;
    isolation: isolate;

    /* FULL WIDTH */
    width: 100vw !important;
    max-width: none !important;

    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;

    padding:
        clamp(70px, 7vw, 110px)
        0
        clamp(75px, 7vw, 115px) !important;

    overflow: hidden;

    background:
        radial-gradient(
            ellipse at 15% 15%,
            rgba(212, 122, 243, 0.075) 0%,
            rgba(92, 31, 120, 0.03) 32%,
            transparent 62%
        ),
        radial-gradient(
            ellipse at 85% 80%,
            rgba(112, 43, 148, 0.055) 0%,
            transparent 55%
        ),
        linear-gradient(
            180deg,
            #08060b 0%,
            #0b080f 48%,
            #070609 100%
        ) !important;

    border-top: 1px solid rgba(212, 122, 243, 0.10);
    border-bottom: 1px solid rgba(212, 122, 243, 0.08);

    box-sizing: border-box;
}


/* ==========================================================
   DEKORACYJNA POŚWIATA TŁA
   ========================================================== */

.pos-longterm-seo::before {
    content: "";

    position: absolute;
    z-index: -1;

    top: -180px;
    left: 50%;

    width: min(900px, 85vw);
    height: 360px;

    transform: translateX(-50%);

    background:
        radial-gradient(
            ellipse,
            rgba(212, 122, 243, 0.075) 0%,
            rgba(212, 122, 243, 0.025) 38%,
            transparent 72%
        );

    filter: blur(12px);

    pointer-events: none;
}


/* ==========================================================
   WEWNĘTRZNY KONTENER TREŚCI
   ========================================================== */

.pos-longterm-seo__inner {
    position: relative;

    width: min(1180px, calc(100% - 48px)) !important;
    max-width: 1180px !important;

    margin-left: auto !important;
    margin-right: auto !important;

    padding: 0 !important;

    box-sizing: border-box;
}


/* neonowy detal nad nagłówkiem */
.pos-longterm-seo__inner::before {
    content: "";

    display: block;

    width: 62px;
    height: 2px;

    margin:
        0 auto
        26px;

    background:
        linear-gradient(
            90deg,
            transparent,
            #d47af3,
            transparent
        );

    box-shadow:
        0 0 15px rgba(212, 122, 243, 0.45);
}


/* ==========================================================
   H2
   ========================================================== */

.pos-longterm-seo__title {
    width: min(900px, 100%) !important;
    max-width: 900px !important;

    margin:
        0 auto
        24px !important;

    font-family: 'Exo2', sans-serif !important;
    font-size: clamp(34px, 3.2vw, 50px) !important;
    font-weight: 500 !important;

    line-height: 1.13 !important;
    letter-spacing: -0.025em;

    text-align: center !important;

    color: #ffffff !important;

    text-shadow:
        0 4px 22px rgba(0, 0, 0, 0.50);
}


/* ==========================================================
   TEKST SEO
   ========================================================== */

.pos-longterm-seo__text {
    width: min(880px, 100%) !important;
    max-width: 880px !important;

    margin:
        0 auto
        18px !important;

    font-family: 'Exo2', sans-serif !important;
    font-size: 16px !important;
    font-weight: 400 !important;

    line-height: 1.75 !important;

    text-align: center !important;

    color: rgba(255, 255, 255, 0.70) !important;
}


/* odstęp po drugim akapicie */
.pos-longterm-seo__text + .pos-longterm-seo__text {
    margin-bottom: 46px !important;
}


/* ==========================================================
   KONTENER 3 KAFELKÓW
   ========================================================== */

.pos-longterm-seo__features {
    position: relative;

    width: 100% !important;
    max-width: none !important;

    display: grid !important;

    /* 3 DOKŁADNIE RÓWNE KOLUMNY */
    grid-template-columns:
        repeat(3, minmax(0, 1fr)) !important;

    gap: 18px !important;

    align-items: stretch !important;

    margin:
        24px 0
        0 !important;

    padding: 0 !important;

    box-sizing: border-box;
}


/* ==========================================================
   RESET STYLÓW GUTENBERGA DLA DZIECI GRIDU
   ========================================================== */

.pos-longterm-seo__features > * {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;

    margin: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;

    box-sizing: border-box !important;
}


/* ==========================================================
   POJEDYNCZY KAFELEK
   ========================================================== */

.pos-longterm-seo__feature {
    position: relative;

    /* wszystkie 3 identyczne */
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;

    height: 96px !important;
    min-height: 96px !important;

    margin: 0 !important;

    padding:
        20px 24px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    overflow: hidden;

    border:
        1px solid rgba(212, 122, 243, 0.18);

    border-radius: 16px;

    background:
        linear-gradient(
            145deg,
            rgba(25, 18, 32, 0.82) 0%,
            rgba(11, 8, 15, 0.92) 100%
        );

    box-shadow:
        0 14px 36px rgba(0, 0, 0, 0.26),
        inset 0 1px 0 rgba(255, 255, 255, 0.025);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    box-sizing: border-box !important;

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;
}


/* ==========================================================
   FIOLETOWY DETAL NA GÓRZE KAFELKA
   ========================================================== */

.pos-longterm-seo__feature::before {
    content: "";

    position: absolute;

    top: 0;
    left: 50%;

    width: 54%;
    height: 1px;

    transform: translateX(-50%);

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(212, 122, 243, 0.90),
            transparent
        );

    box-shadow:
        0 0 12px rgba(212, 122, 243, 0.30);

    transition:
        width 0.3s ease,
        box-shadow 0.3s ease;
}


/* ==========================================================
   SUBTELNA POŚWIATA WEWNĄTRZ KAFELKA
   ========================================================== */

.pos-longterm-seo__feature::after {
    content: "";

    position: absolute;

    width: 150px;
    height: 90px;

    top: -55px;
    left: 50%;

    transform: translateX(-50%);

    border-radius: 50%;

    background:
        rgba(212, 122, 243, 0.10);

    filter: blur(35px);

    opacity: 0.45;

    pointer-events: none;
}


/* ==========================================================
   TEKST KAFELKA
   ========================================================== */

.pos-longterm-seo__feature p {
    position: relative;
    z-index: 2;

    width: 100% !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 0 !important;

    font-family: 'Exo2', sans-serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;

    line-height: 1.35 !important;
    letter-spacing: 0.015em;

    text-align: center !important;

    color: rgba(255, 255, 255, 0.90) !important;
}


/* ==========================================================
   HOVER - DESKTOP
   ========================================================== */

@media (hover: hover) and (pointer: fine) {

    .pos-longterm-seo__feature:hover {
        transform: translateY(-5px);

        border-color:
            rgba(212, 122, 243, 0.52);

        background:
            linear-gradient(
                145deg,
                rgba(34, 21, 44, 0.92) 0%,
                rgba(13, 9, 18, 0.98) 100%
            );

        box-shadow:
            0 20px 46px rgba(0, 0, 0, 0.36),
            0 0 24px rgba(212, 122, 243, 0.07),
            inset 0 1px 0 rgba(255, 255, 255, 0.04);
    }


    .pos-longterm-seo__feature:hover::before {
        width: 72%;

        box-shadow:
            0 0 16px rgba(212, 122, 243, 0.46);
    }
}


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 900px) {

    .pos-longterm-seo {
        padding-top: 65px !important;
        padding-bottom: 75px !important;
    }


    .pos-longterm-seo__inner {
        width:
            min(760px, calc(100% - 40px)) !important;
    }


    .pos-longterm-seo__title {
        font-size:
            clamp(31px, 5vw, 42px) !important;
    }


    .pos-longterm-seo__text {
        font-size: 15px !important;
    }


    .pos-longterm-seo__features {
        grid-template-columns:
            repeat(3, minmax(0, 1fr)) !important;

        gap: 12px !important;
    }


    .pos-longterm-seo__feature {
        height: 90px !important;
        min-height: 90px !important;

        padding:
            18px 14px !important;
    }


    .pos-longterm-seo__feature p {
        font-size: 14px !important;
    }
}


/* ==========================================================
   TELEFON
   ========================================================== */

@media (max-width: 650px) {

    .pos-longterm-seo {
        padding-top: 52px !important;
        padding-bottom: 60px !important;
    }


    .pos-longterm-seo__inner {
        width:
            calc(100% - 36px) !important;
    }


    .pos-longterm-seo__inner::before {
        width: 50px;

        margin-bottom: 22px;
    }


    .pos-longterm-seo__title {
        margin-bottom: 20px !important;

        font-size:
            clamp(28px, 8vw, 35px) !important;
    }


    .pos-longterm-seo__text {
        font-size: 15px !important;
        line-height: 1.65 !important;

        text-align: left !important;
    }


    .pos-longterm-seo__text
    + .pos-longterm-seo__text {

        margin-bottom: 34px !important;
    }


    .pos-longterm-seo__features {
        grid-template-columns:
            minmax(0, 1fr) !important;

        gap: 11px !important;

        margin-top: 20px !important;
    }


    .pos-longterm-seo__feature {
        width: 100% !important;

        /* MOBILE - wysokość dostosowuje się do treści */
        height: auto !important;
        min-height: 66px !important;

        padding:
            18px 20px !important;

        border-radius: 14px;
    }


    .pos-longterm-seo__feature p {
        font-size: 14px !important;

    }
}
	/*======================================================
   DESKTOP - SZERSZY RZĄD KAFELKÓW
   ========================================================== */

@media (min-width: 901px) {

    .pos-longterm-seo__features {
        width: 100% !important;
        max-width: 1180px !important;

        position: relative !important;

        left: auto !important;
        transform: none !important;

        margin:
            24px auto
            0 !important;

        grid-template-columns:
            repeat(3, minmax(0, 1fr)) !important;

        /*
         * Wyłączamy globalną animację tylko dla tego kontenera,
         * żeby nie nadpisywała jego pozycjonowania.
         */
        animation: none !important;
        opacity: 1 !important;
    }

}
   /*WYNAJEM DŁUGOTERMINOWY - OFERTA / SLIDER
   FINAL
   Klasa grupy Gutenberg: pos-longterm-cars
   ========================================================== */


/* ==========================================================
   1. CAŁA SEKCJA - CIEMNE PREMIUM TŁO
   ========================================================== */

.pos-longterm-cars {
    position: relative;
    isolation: isolate;

    width: 100vw !important;
    max-width: 100vw !important;

    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;

    padding-top: clamp(70px, 6vw, 100px) !important;
    padding-bottom: clamp(80px, 7vw, 115px) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;

    box-sizing: border-box;
    overflow: hidden;

    background:
        radial-gradient(
            ellipse at 50% 48%,
            rgba(212, 122, 243, 0.105) 0%,
            rgba(133, 48, 169, 0.055) 28%,
            rgba(72, 24, 94, 0.025) 45%,
            transparent 67%
        ),
        radial-gradient(
            ellipse at 10% 80%,
            rgba(126, 43, 158, 0.035) 0%,
            transparent 50%
        ),
        radial-gradient(
            ellipse at 90% 75%,
            rgba(126, 43, 158, 0.035) 0%,
            transparent 50%
        ),
        linear-gradient(
            180deg,
            #070609 0%,
            #0a0710 48%,
            #060507 100%
        ) !important;

    border-top:
        1px solid rgba(212, 122, 243, 0.08);

    border-bottom:
        1px solid rgba(212, 122, 243, 0.10);

    scroll-margin-top: 100px;
}


/* subtelna poświata nad środkiem sekcji */

.pos-longterm-cars::before {
    content: "";

    position: absolute;
    z-index: -1;

    top: -220px;
    left: 50%;

    width: min(1050px, 90vw);
    height: 450px;

    transform: translateX(-50%);

    background:
        radial-gradient(
            ellipse,
            rgba(212, 122, 243, 0.085) 0%,
            rgba(212, 122, 243, 0.025) 38%,
            transparent 70%
        );

    filter: blur(20px);

    pointer-events: none;
}


/* ==========================================================
   2. NAGŁÓWEK H2
   ========================================================== */

.pos-longterm-cars > h2,
.pos-longterm-cars > .wp-block-heading {
    width:
        min(900px, calc(100% - 40px)) !important;

    max-width: 900px !important;

    margin-left: auto !important;
    margin-right: auto !important;
    margin-top: 0 !important;
    margin-bottom: 20px !important;

    font-family: 'Exo2', sans-serif !important;
    font-weight: 500 !important;

    font-size:
        clamp(34px, 3vw, 50px) !important;

    line-height: 1.12 !important;
    letter-spacing: -0.02em;

    text-align: center !important;

    color: #ffffff !important;

    text-shadow:
        0 4px 22px rgba(0, 0, 0, 0.48);
}


/* mały fioletowy detal nad H2 */

.pos-longterm-cars > h2::before,
.pos-longterm-cars > .wp-block-heading::before {
    content: "";

    display: block;

    width: 58px;
    height: 2px;

    margin:
        0 auto
        24px;

    background:
        linear-gradient(
            90deg,
            transparent,
            #d47af3,
            transparent
        );

    box-shadow:
        0 0 15px rgba(212, 122, 243, 0.45);
}


/* ==========================================================
   3. OPIS
   ========================================================== */

.pos-longterm-cars > p {
    width:
        min(760px, calc(100% - 40px)) !important;

    max-width: 760px !important;

    margin-left: auto !important;
    margin-right: auto !important;
    margin-top: 0 !important;
    margin-bottom: 45px !important;

    font-family: 'Exo2', sans-serif !important;
    font-weight: 400 !important;

    font-size: 17px !important;
    line-height: 1.65 !important;

    text-align: center !important;

    color:
        rgba(255, 255, 255, 0.72) !important;
}


/* ==========================================================
   4. SLIDER
   Taki sam układ jak na WYKUPIE
   ========================================================== */

.pos-longterm-cars .swiper.mySwiper {
    position: relative !important;

    width:
        min(1320px, calc(100vw - 60px)) !important;

    max-width: 1320px !important;

    left: auto !important;
    right: auto !important;

    transform: none !important;

    margin-left: auto !important;
    margin-right: auto !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;

    padding:
        18px
        0
        32px !important;

    box-sizing: border-box;

    overflow: hidden !important;

    clip-path: inset(0);

    opacity: 1 !important;
}


/* ==========================================================
   5. WRAPPER + SLAJDY
   ========================================================== */

.pos-longterm-cars .swiper-wrapper {
    padding: 0 !important;

    align-items: flex-start !important;

    box-sizing: border-box;
}


.pos-longterm-cars .swiper-slide {
    height: auto !important;

    display: block !important;

    box-sizing: border-box;
}


/* ==========================================================
   6. KARTA AUTA
   IDENTYCZNY STYL JAK "WYNAJEM Z WYKUPEM"
   ========================================================== */

.pos-longterm-cars .car-card {
    width: 100% !important;

    height: auto !important;
    min-height: 0 !important;

    display: flex !important;
    flex-direction: column !important;

    overflow: hidden;

    border-radius: 20px;

    background:
        linear-gradient(
            145deg,
            rgba(20, 15, 28, 0.98) 0%,
            rgba(9, 7, 13, 0.98) 100%
        ) !important;

    border:
        1px solid rgba(212, 122, 243, 0.28) !important;

    box-shadow:
        0 16px 38px rgba(0, 0, 0, 0.38);

    color: #ffffff !important;
    text-decoration: none !important;

    transform: translateY(0);

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}


.pos-longterm-cars .car-card:hover {
    transform: translateY(-6px);

    border-color:
        rgba(212, 122, 243, 0.70) !important;

    box-shadow:
        0 22px 48px rgba(0, 0, 0, 0.50),
        0 0 28px rgba(212, 122, 243, 0.11);
}


/* dostępność z klawiatury */

.pos-longterm-cars .car-card:focus-visible {
    outline:
        3px solid #d47af3;

    outline-offset: 4px;
}


/* ==========================================================
   7. ZDJĘCIE AUTA
   ========================================================== */

.pos-longterm-cars .car-thumbnail {
    position: relative;

    width: 100% !important;

    overflow: hidden;

    background: #08070a;
}


.pos-longterm-cars .car-thumbnail img {
    display: block !important;

    width: 100% !important;
    height: auto !important;

    aspect-ratio: 16 / 10;

    object-fit: cover !important;

    transform: scale(1);

    transition:
        transform 0.45s ease;
}


.pos-longterm-cars
.car-card:hover
.car-thumbnail img {

    transform: scale(1.04);
}


/* ==========================================================
   8. TREŚĆ KARTY
   ========================================================== */

.pos-longterm-cars .car-details {
    padding:
        22px
        22px
        24px !important;

    display: block !important;

    flex-grow: 0 !important;

    box-sizing: border-box;
}


/* ==========================================================
   9. NAZWA AUTA
   ========================================================== */

.pos-longterm-cars .car-title {
    margin:
        0
        0
        16px
        0 !important;

    font-family: 'Exo2', sans-serif !important;
    font-weight: 600 !important;

    font-size:
        clamp(20px, 1.4vw, 25px) !important;

    line-height: 1.2 !important;
    letter-spacing: -0.02em;

    color: #ffffff !important;
}


/* ==========================================================
   10. PARAMETRY AUTA
   ========================================================== */

.pos-longterm-cars .car-specs {
    list-style: none !important;

    padding: 0 !important;
    margin: 0 !important;

    font-family:
        'Exo2',
        sans-serif !important;
}


.pos-longterm-cars .car-specs li {
    margin:
        0
        0
        8px
        0 !important;

    font-size: 14px !important;
    line-height: 1.4;

    color:
        rgba(255, 255, 255, 0.72) !important;
}


.pos-longterm-cars .car-specs li:last-child {
    margin-bottom: 0 !important;
}


.pos-longterm-cars .car-specs i {
    width: 20px;

    margin-right: 5px;

    color: #d47af3 !important;
}


.pos-longterm-cars .car-specs strong {
    color:
        rgba(255, 255, 255, 0.95) !important;
}


/* ==========================================================
   11. STRZAŁKI
   ========================================================== */

.pos-longterm-cars .swiper-button-next,
.pos-longterm-cars .swiper-button-prev {
    width: 48px !important;
    height: 48px !important;

    top: 50% !important;

    margin-top: 0 !important;

    transform:
        translateY(-50%) !important;

    border-radius: 50%;

    background:
        rgba(5, 5, 8, 0.92) !important;

    border:
        1px solid rgba(212, 122, 243, 0.55) !important;

    color: #d47af3 !important;

    box-shadow:
        0 8px 22px rgba(0, 0, 0, 0.40);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}


.pos-longterm-cars .swiper-button-prev {
    left: 4px !important;
}


.pos-longterm-cars .swiper-button-next {
    right: 4px !important;
}


.pos-longterm-cars .swiper-button-next::after,
.pos-longterm-cars .swiper-button-prev::after {
    font-size: 18px !important;
    font-weight: 700 !important;
}


.pos-longterm-cars .swiper-button-next:hover,
.pos-longterm-cars .swiper-button-prev:hover {
    background:
        rgba(212, 122, 243, 0.16) !important;

    border-color:
        #d47af3 !important;

    transform:
        translateY(-50%)
        scale(1.06) !important;
}


/* ==========================================================
   12. TABLET / MNIEJSZY LAPTOP
   ========================================================== */

@media (max-width: 1100px) {

    .pos-longterm-cars {
        padding-top: 60px !important;
        padding-bottom: 75px !important;
    }


    .pos-longterm-cars > h2,
    .pos-longterm-cars > .wp-block-heading {
        width:
            min(720px, calc(100% - 40px)) !important;

        font-size:
            clamp(31px, 4.5vw, 43px) !important;
    }


    .pos-longterm-cars > p {
        width:
            min(650px, calc(100% - 40px)) !important;

        margin-bottom:
            35px !important;

        font-size:
            16px !important;
    }


    .pos-longterm-cars .swiper.mySwiper {
        width:
            calc(100vw - 30px) !important;

        padding:
            16px
            0
            28px !important;
    }


    .pos-longterm-cars .car-details {
        padding:
            20px !important;
    }


    .pos-longterm-cars .car-title {
        font-size:
            21px !important;
    }
}


/* ==========================================================
   13. TELEFON
   ========================================================== */

@media (max-width: 781px) {

    .pos-longterm-cars {
        padding-top:
            48px !important;

        padding-bottom:
            55px !important;
    }


    .pos-longterm-cars > h2,
    .pos-longterm-cars > .wp-block-heading {
        width:
            calc(100% - 36px) !important;

        margin-bottom:
            16px !important;

        font-size:
            clamp(27px, 8vw, 35px) !important;

        line-height:
            1.14 !important;
    }


    .pos-longterm-cars > h2::before,
    .pos-longterm-cars > .wp-block-heading::before {
        width: 48px;

        margin-bottom:
            20px;
    }


    .pos-longterm-cars > p {
        width:
            calc(100% - 36px) !important;

        margin-bottom:
            28px !important;

        font-size:
            15px !important;

        line-height:
            1.55 !important;
    }


    .pos-longterm-cars .swiper.mySwiper {
        width:
            calc(100vw - 24px) !important;

        padding:
            10px
            0
            22px !important;
    }


    .pos-longterm-cars .car-card {
        border-radius: 18px;
    }


    .pos-longterm-cars .car-thumbnail img {
        aspect-ratio: 16 / 10;
    }


    .pos-longterm-cars .car-details {
        padding:
            19px
            18px
            21px !important;
    }


    .pos-longterm-cars .car-title {
        font-size:
            21px !important;
    }


    .pos-longterm-cars .car-specs li {
        font-size:
            14px !important;
    }


    /*
     * Na telefonie użytkownik
     * przesuwa slider palcem.
     */
    .pos-longterm-cars .swiper-button-next,
    .pos-longterm-cars .swiper-button-prev {
        display: none !important;
    }
}


/* ==========================================================
   14. MAŁE TELEFONY
   ========================================================== */

@media (max-width: 420px) {

    .pos-longterm-cars {
        padding-top:
            42px !important;

        padding-bottom:
            50px !important;
    }


    .pos-longterm-cars > h2,
    .pos-longterm-cars > .wp-block-heading {
        font-size:
            clamp(25px, 7.5vw, 31px) !important;
    }


    .pos-longterm-cars > p {
        font-size:
            14px !important;
    }


    .pos-longterm-cars .swiper.mySwiper {
        width:
            calc(100vw - 16px) !important;
    }


    .pos-longterm-cars .car-title {
        font-size:
            20px !important;
    }
}
/* ==========================================================
   WYNAJEM DŁUGOTERMINOWY - OPINIE GOOGLE
   ========================================================== */

.pos-longterm-reviews {
    position: relative;
    isolation: isolate;

    width: 100vw !important;
    max-width: 100vw !important;

    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;

   padding:
    clamp(55px, 5vw, 80px)
    0
    clamp(75px, 6vw, 100px) !important;

    overflow: hidden;

    background:
        radial-gradient(
            ellipse at 50% 25%,
            rgba(212, 122, 243, 0.08) 0%,
            rgba(111, 40, 143, 0.035) 35%,
            transparent 65%
        ),
        linear-gradient(
            180deg,
            #060507 0%,
            #09070d 50%,
            #060507 100%
        ) !important;

    border-top:
        1px solid rgba(212, 122, 243, 0.08);

    border-bottom:
        1px solid rgba(212, 122, 243, 0.08);

    box-sizing: border-box;
}


/* delikatna poświata */

.pos-longterm-reviews::before {
    content: "";

    position: absolute;
    z-index: 0;

    top: -180px;
    left: 50%;

    width: min(950px, 90vw);
    height: 360px;

    transform: translateX(-50%);

    background:
        radial-gradient(
            ellipse,
            rgba(212, 122, 243, 0.09),
            transparent 68%
        );

    filter: blur(22px);

    pointer-events: none;
}


.pos-longterm-reviews > * {
    position: relative;
    z-index: 1;
}


/* ==========================================================
   H2
   ========================================================== */

.pos-longterm-reviews > h2,
.pos-longterm-reviews > .wp-block-heading {
    width: min(900px, calc(100% - 40px)) !important;
    max-width: 900px !important;

    margin:
        0 auto
        18px !important;

    font-family: 'Exo2', sans-serif !important;
    font-size: clamp(34px, 3vw, 50px) !important;
    font-weight: 500 !important;

    line-height: 1.12 !important;
    letter-spacing: -0.02em !important;

    text-align: center !important;
    text-transform: none !important;

    color: #ffffff !important;
}


/* fioletowa kreska */

.pos-longterm-reviews > h2::before,
.pos-longterm-reviews > .wp-block-heading::before {
    content: "";

    display: block;

    width: 58px;
    height: 2px;

    margin:
        0 auto
        24px;

    background:
        linear-gradient(
            90deg,
            transparent,
            #d47af3,
            transparent
        );

    box-shadow:
        0 0 15px rgba(212, 122, 243, 0.45);
}


/* ==========================================================
   OPIS
   ========================================================== */

.pos-longterm-reviews__text {
    width: min(760px, calc(100% - 40px)) !important;
    max-width: 760px !important;

    margin:
        0 auto
        32px !important;

    font-family: 'Exo2', sans-serif !important;
    font-size: 16px !important;
    font-weight: 400 !important;

    line-height: 1.65 !important;

    text-align: center !important;

    color:
        rgba(255, 255, 255, 0.70) !important;
}


/* ==========================================================
   WIDGET OPINII
   ========================================================== */

.pos-longterm-reviews .wp-block-shortcode {
    width:
        min(1780px, calc(100vw - 50px)) !important;

    max-width: 1780px !important;

    margin-left: auto !important;
    margin-right: auto !important;
}


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 900px) {

    .pos-longterm-reviews {
        padding-top: 60px !important;
        padding-bottom: 70px !important;
    }

}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 650px) {

    .pos-longterm-reviews {
        padding-top: 50px !important;
        padding-bottom: 55px !important;
    }


    .pos-longterm-reviews > h2,
    .pos-longterm-reviews > .wp-block-heading {
        width: calc(100% - 36px) !important;

        font-size:
            clamp(28px, 8vw, 35px) !important;
    }


    .pos-longterm-reviews__text {
        width: calc(100% - 36px) !important;

        margin-bottom: 30px !important;

        font-size: 15px !important;
        line-height: 1.6 !important;

        text-align: left !important;
    }


    .pos-longterm-reviews .wp-block-shortcode {
        width: calc(100vw - 20px) !important;
    }
}
/* ==========================================================
   WYNAJEM DŁUGOTERMINOWY - JAK TO DZIAŁA
   ========================================================== */

.pos-longterm-how {
    position: relative;
    isolation: isolate;

    width: 100vw !important;
    max-width: 100vw !important;

    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;

    padding:
        clamp(70px, 6vw, 100px)
        0
        clamp(80px, 7vw, 110px) !important;

    overflow: hidden;

    background:
        radial-gradient(
            ellipse at 50% 20%,
            rgba(212, 122, 243, 0.09) 0%,
            rgba(110, 39, 143, 0.035) 35%,
            transparent 65%
        ),
        linear-gradient(
            180deg,
            #060507 0%,
            #09070d 50%,
            #060507 100%
        ) !important;

    border-top:
        1px solid rgba(212, 122, 243, 0.08);

    border-bottom:
        1px solid rgba(212, 122, 243, 0.08);

    box-sizing: border-box;
}


/* ==========================================================
   DELIKATNA POŚWIATA
   ========================================================== */

.pos-longterm-how::before {
    content: "";

    position: absolute;
    z-index: -1;

    top: -180px;
    left: 50%;

    width: min(1000px, 90vw);
    height: 400px;

    transform: translateX(-50%);

    background:
        radial-gradient(
            ellipse,
            rgba(212, 122, 243, 0.08),
            transparent 68%
        );

    filter: blur(20px);

    pointer-events: none;
}


/* ==========================================================
   H2
   ========================================================== */

.pos-longterm-how > h2,
.pos-longterm-how > .wp-block-heading {
    width:
        min(900px, calc(100% - 40px)) !important;

    max-width: 900px !important;

    margin:
        0 auto
        20px !important;

    font-family:
        'Exo2',
        sans-serif !important;

    font-size:
        clamp(34px, 3vw, 50px) !important;

    font-weight: 500 !important;

    line-height: 1.12 !important;
    letter-spacing: -0.02em !important;

    text-align: center !important;
    text-transform: none !important;

    color: #ffffff !important;
}


/* neonowa kreska */

.pos-longterm-how > h2::before,
.pos-longterm-how > .wp-block-heading::before {
    content: "";

    display: block;

    width: 58px;
    height: 2px;

    margin:
        0 auto
        24px;

    background:
        linear-gradient(
            90deg,
            transparent,
            #d47af3,
            transparent
        );

    box-shadow:
        0 0 15px rgba(212, 122, 243, 0.45);
}


/* ==========================================================
   OPIS POD H2
   ========================================================== */

.pos-longterm-how__intro {
    width:
        min(760px, calc(100% - 40px)) !important;

    max-width: 760px !important;

    margin:
        0 auto
        58px !important;

    font-family:
        'Exo2',
        sans-serif !important;

    font-size: 16px !important;
    font-weight: 400 !important;

    line-height: 1.65 !important;

    text-align: center !important;

    color:
        rgba(255, 255, 255, 0.70) !important;
}


/* ==========================================================
   SIATKA 4 KROKÓW
   ========================================================== */

.pos-longterm-how__grid {
    position: relative;

    width:
        min(1240px, calc(100vw - 80px)) !important;

    max-width: 1240px !important;

    margin:
        0 auto !important;

    padding:
        26px 0
        0 !important;

    display: grid !important;

    grid-template-columns:
        repeat(4, minmax(0, 1fr)) !important;

    gap: 18px !important;

    box-sizing: border-box;
}


/* ==========================================================
   LINIA ŁĄCZĄCA KROKI
   ========================================================== */

.pos-longterm-how__grid::before {
    content: "";

    position: absolute;

    top: 62px;
    left: 10%;
    right: 10%;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(212, 122, 243, 0.22),
            rgba(212, 122, 243, 0.55),
            rgba(212, 122, 243, 0.22),
            transparent
        );

    box-shadow:
        0 0 12px rgba(212, 122, 243, 0.15);

    pointer-events: none;
}


/* ==========================================================
   POJEDYNCZY KROK
   ========================================================== */

.pos-longterm-how__step {
    position: relative;
    z-index: 2;

    min-width: 0;

    padding:
        72px
        24px
        28px !important;

    overflow: hidden;

    border:
        1px solid rgba(212, 122, 243, 0.18);

    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            rgba(24, 17, 31, 0.92) 0%,
            rgba(10, 7, 14, 0.98) 100%
        );

    box-shadow:
        0 16px 38px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.025);

    box-sizing: border-box;

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;
}


/* ==========================================================
   GÓRNY FIOLETOWY DETAL KARTY
   ========================================================== */

.pos-longterm-how__step::before {
    content: "";

    position: absolute;

    top: 0;
    left: 50%;

    width: 60%;
    height: 1px;

    transform:
        translateX(-50%);

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(212, 122, 243, 0.80),
            transparent
        );

    box-shadow:
        0 0 12px rgba(212, 122, 243, 0.26);
}


/* subtelne światło za numerem */

.pos-longterm-how__step::after {
    content: "";

    position: absolute;

    top: -55px;
    left: 50%;

    width: 150px;
    height: 120px;

    transform:
        translateX(-50%);

    border-radius: 50%;

    background:
        rgba(212, 122, 243, 0.11);

    filter: blur(40px);

    pointer-events: none;
}


/* ==========================================================
   NUMER 01 / 02 / 03 / 04
   ========================================================== */

.pos-longterm-how__number {
    position: absolute !important;
    z-index: 3;

    top: 20px;
    left: 24px;

    margin: 0 !important;

    font-family:
        'Orbitron',
        sans-serif !important;

    font-size:
        clamp(30px, 2.4vw, 42px) !important;

    font-weight: 400 !important;

    line-height: 1 !important;

    color:
        rgba(212, 122, 243, 0.72) !important;

    text-shadow:
        0 0 18px rgba(212, 122, 243, 0.18);
}


/* ==========================================================
   H3 W KARCIE
   ========================================================== */

.pos-longterm-how__step h3 {
    position: relative;
    z-index: 3;

    margin:
        0
        0
        14px !important;

    font-family:
        'Exo2',
        sans-serif !important;

    font-size:
        clamp(19px, 1.45vw, 23px) !important;

    font-weight: 600 !important;

    line-height: 1.25 !important;

    letter-spacing:
        -0.015em !important;

    text-align: left !important;

    color:
        #ffffff !important;
}


/* ==========================================================
   OPIS KROKU
   ========================================================== */

.pos-longterm-how__step p:not(.pos-longterm-how__number) {
    position: relative;
    z-index: 3;

    margin: 0 !important;

    font-family:
        'Exo2',
        sans-serif !important;

    font-size: 14px !important;
    font-weight: 400 !important;

    line-height: 1.65 !important;

    text-align: left !important;

    color:
        rgba(255, 255, 255, 0.66) !important;
}


/* ==========================================================
   HOVER DESKTOP
   ========================================================== */

@media (hover: hover) and (pointer: fine) {

    .pos-longterm-how__step:hover {
        transform:
            translateY(-7px);

        border-color:
            rgba(212, 122, 243, 0.55);

        background:
            linear-gradient(
                145deg,
                rgba(32, 20, 41, 0.96) 0%,
                rgba(12, 8, 17, 0.99) 100%
            );

        box-shadow:
            0 23px 48px rgba(0, 0, 0, 0.38),
            0 0 28px rgba(212, 122, 243, 0.08);
    }


    .pos-longterm-how__step:hover
    .pos-longterm-how__number {

        color:
            #d47af3 !important;

        text-shadow:
            0 0 22px rgba(212, 122, 243, 0.35);
    }
}


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 1000px) {

    .pos-longterm-how {
        padding-top:
            62px !important;

        padding-bottom:
            75px !important;
    }


    .pos-longterm-how__grid {
        width:
            min(760px, calc(100% - 40px)) !important;

        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;

        gap:
            16px !important;

        padding-top:
            10px !important;
    }


    /*
     * Przy układzie 2x2 linia pozioma
     * już nie wygląda dobrze.
     */
    .pos-longterm-how__grid::before {
        display: none;
    }


    .pos-longterm-how__step {
        min-height: 230px;
    }

}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 650px) {

    .pos-longterm-how {
        padding-top:
            50px !important;

        padding-bottom:
            58px !important;
    }


    .pos-longterm-how > h2,
    .pos-longterm-how > .wp-block-heading {
        width:
            calc(100% - 36px) !important;

        font-size:
            clamp(28px, 8vw, 35px) !important;
    }


    .pos-longterm-how__intro {
        width:
            calc(100% - 36px) !important;

        margin-bottom:
            34px !important;

        font-size:
            15px !important;

        line-height:
            1.6 !important;

        text-align:
            left !important;
    }


    .pos-longterm-how__grid {
        width:
            calc(100% - 36px) !important;

        grid-template-columns:
            1fr !important;

        gap:
            12px !important;
    }


    .pos-longterm-how__step {
        min-height:
            0;

        padding:
            65px
            20px
            24px !important;

        border-radius:
            15px;
    }


    .pos-longterm-how__number {
        top: 18px;
        left: 20px;

        font-size:
            30px !important;
    }


    .pos-longterm-how__step h3 {
        font-size:
            19px !important;
    }


    .pos-longterm-how__step p:not(.pos-longterm-how__number) {
        font-size:
            14px !important;
    }

}
/* RESET MARGINESÓW GUTENBERGA W KROKACH */

.pos-longterm-how__grid > .pos-longterm-how__step {
    width: 100% !important;
    max-width: none !important;

    margin: 0 !important;
    margin-block-start: 0 !important;
    margin-block-end: 0 !important;

    align-self: stretch !important;

    box-sizing: border-box !important;
}

.pos-longterm-how__grid {
    align-items: stretch !important;
    grid-auto-rows: 1fr;
}
/* ==========================================================
   WYNAJEM DŁUGOTERMINOWY - KORZYŚCI
   ========================================================== */

.pos-longterm-benefits {
    position: relative;
    isolation: isolate;

    width: 100vw !important;
    max-width: 100vw !important;

    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;

    padding:
        clamp(72px, 6vw, 100px)
        0
        clamp(85px, 7vw, 120px) !important;

    overflow: hidden;

    background-position: center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;

    border-top: 1px solid rgba(212, 122, 243, 0.08);
    border-bottom: 1px solid rgba(212, 122, 243, 0.10);

    box-sizing: border-box;
}


/* ==========================================================
   PRZYCIEMNIENIE TŁA
   ========================================================== */

.pos-longterm-benefits::before {
    content: "";

    position: absolute;
    inset: 0;

    z-index: 0;

    background:
        linear-gradient(
            180deg,
            rgba(5, 4, 8, 0.82) 0%,
            rgba(9, 6, 13, 0.70) 42%,
            rgba(8, 5, 11, 0.76) 100%
        ),
        radial-gradient(
            ellipse at 50% 25%,
            rgba(212, 122, 243, 0.10) 0%,
            rgba(105, 37, 139, 0.04) 35%,
            transparent 65%
        );

    pointer-events: none;
}


/* dodatkowe przyciemnienie dołu */
.pos-longterm-benefits::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 38%;

    z-index: 0;

    background:
        linear-gradient(
            180deg,
            transparent,
            rgba(4, 3, 6, 0.46)
        );

    pointer-events: none;
}


.pos-longterm-benefits > * {
    position: relative;
    z-index: 2;
}


/* ==========================================================
   H2
   ========================================================== */

.pos-longterm-benefits__title {
    width:
        min(920px, calc(100% - 40px)) !important;

    max-width: 920px !important;

    margin:
        0 auto
        20px !important;

    font-family:
        'Exo2',
        sans-serif !important;

    font-size:
        clamp(34px, 3vw, 50px) !important;

    font-weight: 500 !important;

    line-height: 1.12 !important;
    letter-spacing: -0.02em !important;

    text-align: center !important;
    text-transform: none !important;

    color: #ffffff !important;

    text-shadow:
        0 4px 22px rgba(0, 0, 0, 0.55);
}


/* neonowa kreska nad H2 */

.pos-longterm-benefits__title::before {
    content: "";

    display: block;

    width: 58px;
    height: 2px;

    margin:
        0 auto
        24px;

    background:
        linear-gradient(
            90deg,
            transparent,
            #d47af3,
            transparent
        );

    box-shadow:
        0 0 15px rgba(212, 122, 243, 0.45);
}


/* ==========================================================
   OPIS
   ========================================================== */

.pos-longterm-benefits__intro {
    width:
        min(780px, calc(100% - 40px)) !important;

    max-width: 780px !important;

    margin:
        0 auto
        60px !important;

    font-family:
        'Exo2',
        sans-serif !important;

    font-size: 16px !important;
    font-weight: 400 !important;

    line-height: 1.7 !important;

    text-align: center !important;

    color:
        rgba(255, 255, 255, 0.74) !important;

    text-shadow:
        0 2px 12px rgba(0, 0, 0, 0.45);
}


/* ==========================================================
   3 KOLUMNY
   ========================================================== */

.pos-longterm-benefits__grid {
    width:
        min(1240px, calc(100vw - 80px)) !important;

    max-width: 1240px !important;

    margin:
        0 auto !important;

    display: grid !important;

    grid-template-columns:
        repeat(3, minmax(0, 1fr)) !important;

    gap:
        clamp(30px, 4vw, 70px) !important;

    align-items: start;

    box-sizing: border-box;
}


/* ==========================================================
   POJEDYNCZY ELEMENT
   ========================================================== */

.pos-longterm-benefits__item {
    position: relative;

    min-width: 0;

    margin: 0 !important;

    padding:
        12px
        18px
        0 !important;

    text-align: center;

    box-sizing: border-box;
}


/* cienka linia między kolumnami */

.pos-longterm-benefits__item:not(:last-child)::after {
    content: "";

    position: absolute;

    top: 15%;
    right: calc((clamp(30px, 4vw, 70px) / -2));

    width: 1px;
    height: 70%;

    background:
        linear-gradient(
            180deg,
            transparent,
            rgba(212, 122, 243, 0.20),
            transparent
        );
}


/* ==========================================================
   IKONY
   ========================================================== */

.pos-longterm-benefits__item svg,
.pos-longterm-benefits__item i {
    color: #ffffff !important;
    fill: currentColor;

    filter:
        drop-shadow(
            0 0 10px rgba(212, 122, 243, 0.16)
        );

    transition:
        transform 0.3s ease,
        color 0.3s ease,
        filter 0.3s ease;
}


/* jeśli ikona jest w bloku obrazka */
.pos-longterm-benefits__item
.wp-block-image {
    margin:
        0 auto
        20px !important;
}


/* ==========================================================
   H3
   ========================================================== */

.pos-longterm-benefits__item h3 {
    margin:
        0
        0
        16px !important;

    font-family:
        'Exo2',
        sans-serif !important;

    font-size:
        clamp(19px, 1.5vw, 23px) !important;

    font-weight: 600 !important;

    line-height: 1.25 !important;

    text-align: center !important;
    text-transform: none !important;

    color:
        #ffffff !important;

    text-shadow:
        0 3px 16px rgba(0, 0, 0, 0.42);
}


/* ==========================================================
   OPIS KOLUMNY
   ========================================================== */

.pos-longterm-benefits__item p {
    width:
        min(350px, 100%);

    margin:
        0 auto !important;

    font-family:
        'Exo2',
        sans-serif !important;

    font-size:
        15px !important;

    font-weight: 400 !important;

    line-height:
        1.7 !important;

    text-align:
        center !important;

    color:
        rgba(255, 255, 255, 0.70) !important;

    text-shadow:
        0 2px 10px rgba(0, 0, 0, 0.40);
}


/* ==========================================================
   HOVER - DESKTOP
   ========================================================== */

@media (hover: hover) and (pointer: fine) {

    .pos-longterm-benefits__item:hover svg,
    .pos-longterm-benefits__item:hover i {

        color:
            #d47af3 !important;

        transform:
            translateY(-5px)
            scale(1.06);

        filter:
            drop-shadow(
                0 0 15px rgba(212, 122, 243, 0.38)
            );
    }


    .pos-longterm-benefits__item:hover h3 {
        color:
            #d47af3 !important;
    }

}


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 900px) {

    .pos-longterm-benefits {
        padding-top:
            62px !important;

        padding-bottom:
            75px !important;
    }


    .pos-longterm-benefits__intro {
        margin-bottom:
            45px !important;
    }


    .pos-longterm-benefits__grid {
        width:
            min(760px, calc(100% - 40px)) !important;

        gap:
            28px !important;
    }


    .pos-longterm-benefits__item {
        padding-left:
            10px !important;

        padding-right:
            10px !important;
    }


    .pos-longterm-benefits__item p {
        font-size:
            14px !important;
    }

}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 650px) {

    .pos-longterm-benefits {
        padding-top:
            50px !important;

        padding-bottom:
            58px !important;

        /*
         * Na telefonie pokażemy środkową
         * część grafiki.
         */
        background-position:
            center center !important;
    }


    .pos-longterm-benefits::before {
        background:
            linear-gradient(
                180deg,
                rgba(5, 4, 8, 0.88) 0%,
                rgba(8, 5, 12, 0.80) 50%,
                rgba(5, 4, 8, 0.88) 100%
            ) !important;
    }


    .pos-longterm-benefits__title {
        width:
            calc(100% - 36px) !important;

        font-size:
            clamp(28px, 8vw, 35px) !important;
    }


    .pos-longterm-benefits__intro {
        width:
            calc(100% - 36px) !important;

        margin-bottom:
            38px !important;

        font-size:
            15px !important;

        line-height:
            1.6 !important;

        text-align:
            left !important;
    }


    .pos-longterm-benefits__grid {
        width:
            calc(100% - 36px) !important;

        grid-template-columns:
            1fr !important;

        gap:
            0 !important;
    }


    .pos-longterm-benefits__item {
        padding:
            30px
            0 !important;
    }


    .pos-longterm-benefits__item:first-child {
        padding-top:
            10px !important;
    }


    .pos-longterm-benefits__item:not(:last-child)::after {
        top: auto;
        right: auto;
        bottom: 0;
        left: 50%;

        width: 70%;
        height: 1px;

        transform:
            translateX(-50%);

        background:
            linear-gradient(
                90deg,
                transparent,
                rgba(212, 122, 243, 0.22),
                transparent
            );
    }


    .pos-longterm-benefits__item h3 {
        font-size:
            19px !important;
    }


    .pos-longterm-benefits__item p {
        max-width:
            420px;

        font-size:
            14px !important;

        line-height:
            1.65 !important;
    }

}
/* ==========================================================
   KORZYŚCI - RESET ODSTĘPÓW WEWNĄTRZ KOLUMN
   ========================================================== */

.pos-longterm-benefits__item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
}

.pos-longterm-benefits__item h3 {
    margin-bottom: 16px !important;
}

.pos-longterm-benefits__item p {
    margin-top: 0 !important;
}

/* Jeżeli ze starego układu został Gutenberg Spacer */
.pos-longterm-benefits__item .wp-block-spacer {
    display: none !important;
}
/* ==========================================================
   LEASING - PARTNERZY / INSTYTUCJE FINANSUJĄCE
   ========================================================== */

.pos-leasing-partners {
    position: relative;

    width: 100% !important;
    max-width: none !important;

    padding-top: clamp(70px, 7vw, 110px) !important;
    padding-bottom: clamp(75px, 7vw, 115px) !important;

    overflow: hidden;

    background:
        radial-gradient(
            ellipse at 50% 0%,
            rgba(212, 122, 243, 0.10) 0%,
            rgba(212, 122, 243, 0.025) 38%,
            transparent 66%
        ),
        linear-gradient(
            180deg,
            #070609 0%,
            #0b0810 52%,
            #060507 100%
        ) !important;

    border-top: 1px solid rgba(212, 122, 243, 0.10);
    border-bottom: 1px solid rgba(212, 122, 243, 0.10);

    box-sizing: border-box;
}


/* ==========================================================
   WEWNĘTRZNY KONTENER
   ========================================================== */

.pos-leasing-partners__inner {
    width: min(1320px, calc(100% - 48px)) !important;
    max-width: 1320px !important;

    margin-left: auto !important;
    margin-right: auto !important;

    padding: 0 !important;

    box-sizing: border-box;
}


/* ==========================================================
   H2
   ========================================================== */

.pos-leasing-partners__title {
    width: min(950px, 100%) !important;

    margin:
        0 auto
        20px !important;

    font-family: 'Exo2', sans-serif !important;
    font-weight: 500 !important;

    font-size: clamp(34px, 3.1vw, 50px) !important;
    line-height: 1.12 !important;
    letter-spacing: -0.025em;

    text-align: center !important;

    color: #ffffff !important;
}


/* ==========================================================
   OPIS
   ========================================================== */

.pos-leasing-partners__description {
    width: min(820px, 100%) !important;

    margin:
        0 auto
        20px !important;

    font-family: 'Exo2', sans-serif !important;
    font-size: 17px !important;
    font-weight: 400 !important;
    line-height: 1.65 !important;

    text-align: center !important;

    color: rgba(255, 255, 255, 0.74) !important;
}


/* ==========================================================
   MOCNE HASŁO
   ========================================================== */

.pos-leasing-partners__highlight {
    width: min(850px, 100%) !important;

    margin:
        0 auto
        42px !important;

    font-family: 'Orbitron', sans-serif !important;
    font-size: clamp(15px, 1.3vw, 19px) !important;
    font-weight: 400 !important;

    line-height: 1.5 !important;
    letter-spacing: 0.025em;

    text-align: center !important;

    color: #d47af3 !important;

    text-shadow:
        0 0 16px rgba(212, 122, 243, 0.18);
}


/* ==========================================================
   SIATKA LOGOTYPÓW
   ========================================================== */

.pos-leasing-partners__logos {
    width: 100% !important;

    display: grid !important;

    grid-template-columns:
        repeat(5, minmax(0, 1fr)) !important;

    gap: 14px !important;

    margin:
        0 auto
        40px !important;

    padding: 0 !important;
}


/* ==========================================================
   POJEDYNCZY LOGOTYP / KAFEL
   ========================================================== */

.pos-leasing-partners__logo {
    position: relative;

    min-height: 105px;

    display: flex !important;
    align-items: center;
    justify-content: center;

    padding: 20px !important;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.055),
            rgba(255, 255, 255, 0.018)
        ) !important;

    border:
        1px solid rgba(255, 255, 255, 0.09);

    border-radius: 16px;

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.22);

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        background 0.3s ease,
        box-shadow 0.3s ease;
}


/* subtelny fioletowy detal */
.pos-leasing-partners__logo::before {
    content: "";

    position: absolute;

    left: 18%;
    right: 18%;
    bottom: 0;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(212, 122, 243, 0.55),
            transparent
        );

    opacity: 0;

    transition: opacity 0.3s ease;
}


/* ==========================================================
   SAM OBRAZ LOGO
   ========================================================== */

.pos-leasing-partners__logo img {
    display: block;

    width: auto !important;
    max-width: 150px !important;

    height: auto !important;
    max-height: 48px !important;

    object-fit: contain;

    /* spokojniejsze logo w stanie podstawowym */
    filter:
        grayscale(1)
        brightness(1.75)
        opacity(0.72);

    transition:
        filter 0.3s ease,
        transform 0.3s ease;
}


/* ==========================================================
   HOVER LOGOTYPÓW
   ========================================================== */

.pos-leasing-partners__logo:hover {
    transform: translateY(-5px);

    background:
        linear-gradient(
            145deg,
            rgba(212, 122, 243, 0.09),
            rgba(255, 255, 255, 0.025)
        ) !important;

    border-color:
        rgba(212, 122, 243, 0.42);

    box-shadow:
        0 18px 38px rgba(0, 0, 0, 0.32),
        0 0 24px rgba(212, 122, 243, 0.06);
}

.pos-leasing-partners__logo:hover::before {
    opacity: 1;
}

.pos-leasing-partners__logo:hover img {
    filter:
        grayscale(0)
        brightness(1)
        opacity(1);

    transform: scale(1.045);
}


/* ==========================================================
   TEKST O OBSŁUDZE / BROKERZE
   ========================================================== */

.pos-leasing-partners__broker {
    width: min(800px, 100%) !important;

    margin:
        0 auto
        30px !important;

    font-family: 'Exo2', sans-serif !important;
    font-size: 16px !important;
    line-height: 1.65 !important;

    text-align: center !important;

    color: rgba(255, 255, 255, 0.72) !important;
}


/* ==========================================================
   CTA
   ========================================================== */

.pos-leasing-partners__cta {
    display: flex !important;
    justify-content: center;

    margin: 0 !important;
}


/* jeśli klasa jest na bloku Przycisk */
.pos-leasing-partners__cta .wp-block-button__link,
.wp-block-button.pos-leasing-partners__cta .wp-block-button__link {
    position: relative;
    isolation: isolate;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 54px;

    padding: 16px 30px !important;

    overflow: hidden;

    border-radius: 999px !important;

    color: #ffffff !important;

    background:
        linear-gradient(
            135deg,
            #e487ff 0%,
            #b34bd8 42%,
            #74249f 100%
        ) !important;

    border:
        1px solid rgba(238, 182, 255, 0.85) !important;

    font-family: 'Exo2', sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;

    line-height: 1 !important;
    letter-spacing: 0.05em;

    text-transform: uppercase;
    text-decoration: none !important;

    box-shadow:
        0 0 10px rgba(212, 122, 243, 0.35),
        0 0 26px rgba(180, 65, 225, 0.20),
        0 12px 30px rgba(0, 0, 0, 0.40),
        inset 0 1px 0 rgba(255, 255, 255, 0.28);

    animation:
        posLongtermPulse 3.2s ease-in-out infinite;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease !important;
}


/* refleks przejeżdżający przez CTA */
.pos-leasing-partners__cta .wp-block-button__link::before,
.wp-block-button.pos-leasing-partners__cta .wp-block-button__link::before {
    content: "";

    position: absolute;

    top: -80%;
    left: -45%;

    width: 28%;
    height: 260%;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,0.58),
            transparent
        );

    transform: rotate(22deg);

    z-index: -1;

    animation:
        posLongtermShine 4.2s ease-in-out infinite;
}


/* hover CTA */
.pos-leasing-partners__cta .wp-block-button__link:hover,
.wp-block-button.pos-leasing-partners__cta .wp-block-button__link:hover {
    color: #ffffff !important;

    transform:
        translateY(-4px)
        scale(1.025);

    box-shadow:
        0 0 14px rgba(220, 130, 255, 0.55),
        0 0 38px rgba(190, 70, 235, 0.36),
        0 18px 38px rgba(0, 0, 0, 0.46) !important;
}


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 1050px) {

    .pos-leasing-partners__logos {
        grid-template-columns:
            repeat(3, minmax(0, 1fr)) !important;
    }
}


/* ==========================================================
   TELEFON
   ========================================================== */

@media (max-width: 700px) {

    .pos-leasing-partners {
        padding-top: 55px !important;
        padding-bottom: 65px !important;
    }

    .pos-leasing-partners__inner {
        width: calc(100% - 34px) !important;
    }

    .pos-leasing-partners__title {
        font-size:
            clamp(29px, 8vw, 37px) !important;
    }

    .pos-leasing-partners__description {
        font-size: 15px !important;
    }

    .pos-leasing-partners__highlight {
        margin-bottom: 32px !important;

        font-size: 14px !important;
    }

    .pos-leasing-partners__logos {
        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;

        gap: 10px !important;
    }

    .pos-leasing-partners__logo {
        min-height: 88px;

        padding: 15px !important;
    }

    .pos-leasing-partners__logo img {
        max-width: 125px !important;
        max-height: 40px !important;
    }

    .pos-leasing-partners__broker {
        font-size: 15px !important;
    }

    .pos-leasing-partners__cta,
    .wp-block-button.pos-leasing-partners__cta {
        width: 100%;
    }

    .pos-leasing-partners__cta .wp-block-button__link,
    .wp-block-button.pos-leasing-partners__cta .wp-block-button__link {
        width: 100%;

        padding:
            15px 18px !important;

        font-size: 12px !important;
    }
}


/* ==========================================================
   MAŁY TELEFON
   ========================================================== */

@media (max-width: 420px) {

    .pos-leasing-partners__logos {
        grid-template-columns: 1fr 1fr !important;
    }

    .pos-leasing-partners__logo {
        min-height: 82px;
    }

    .pos-leasing-partners__logo img {
        max-width: 110px !important;
    }
}


/* ==========================================================
   REDUCED MOTION
   ========================================================== */

@media (prefers-reduced-motion: reduce) {

    .pos-leasing-partners__cta .wp-block-button__link,
    .pos-leasing-partners__cta .wp-block-button__link::before,
    .wp-block-button.pos-leasing-partners__cta .wp-block-button__link,
    .wp-block-button.pos-leasing-partners__cta .wp-block-button__link::before {
        animation: none !important;
    }
}
/* ==========================================================
   LEASING - DLA KOGO JEST LEASING
   ========================================================== */

.pos-leasing-clients {
    position: relative;

    width: 100% !important;
    max-width: none !important;

    padding:
        clamp(75px, 7vw, 115px)
        0
        clamp(80px, 7vw, 120px) !important;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 50% 10%,
            rgba(212, 122, 243, 0.08),
            transparent 38%
        ),
        linear-gradient(
            180deg,
            #060507 0%,
            #09070d 50%,
            #050406 100%
        ) !important;

    border-bottom:
        1px solid rgba(212, 122, 243, 0.10);

    box-sizing: border-box;
}


/* ==========================================================
   WEWNĘTRZNY KONTENER
   ========================================================== */

.pos-leasing-clients__inner {
    width: min(1360px, calc(100% - 48px)) !important;
    max-width: 1360px !important;

    margin-left: auto !important;
    margin-right: auto !important;

    padding: 0 !important;
}


/* ==========================================================
   H2
   ========================================================== */

.pos-leasing-clients__title {
    width: min(950px, 100%) !important;

    margin:
        0 auto
        22px !important;

    font-family: 'Exo2', sans-serif !important;
    font-weight: 500 !important;

    font-size: clamp(34px, 3.2vw, 52px) !important;
    line-height: 1.12 !important;
    letter-spacing: -0.025em;

    text-align: center !important;

    color: #ffffff !important;
}


/* ==========================================================
   OPIS POD H2
   ========================================================== */

.pos-leasing-clients__description {
    width: min(850px, 100%) !important;

    margin:
        0 auto
        48px !important;

    font-family: 'Exo2', sans-serif !important;
    font-size: 17px !important;
    font-weight: 400 !important;

    line-height: 1.65 !important;

    text-align: center !important;

    color: rgba(255,255,255,0.72) !important;
}


/* ==========================================================
   GRID 4 KART
   ========================================================== */

.pos-leasing-clients__grid {
    display: grid !important;

    grid-template-columns:
        repeat(4, minmax(0, 1fr)) !important;

    gap: 18px !important;

    width: 100% !important;

    margin:
        0 auto
        44px !important;

    padding: 0 !important;
}


/* ==========================================================
   KARTA
   ========================================================== */

.pos-leasing-clients__card {
    position: relative;

    min-height: 300px;

    display: flex !important;
    flex-direction: column;
    justify-content: flex-start;

    padding:
        30px
        26px
        28px !important;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            rgba(25, 19, 31, 0.94),
            rgba(10, 8, 13, 0.98)
        ) !important;

    border:
        1px solid rgba(212, 122, 243, 0.20);

    border-radius: 22px;

    box-shadow:
        0 18px 45px rgba(0,0,0,0.30);

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;
}


/* fioletowy detal u góry */
.pos-leasing-clients__card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 24px;

    width: 64px;
    height: 2px;

    background:
        linear-gradient(
            90deg,
            #d47af3,
            transparent
        );

    box-shadow:
        0 0 14px rgba(212, 122, 243, 0.55);
}


/* numer karty */
.pos-leasing-clients__card::after {
    position: absolute;

    top: 18px;
    right: 22px;

    font-family: 'Orbitron', sans-serif;
    font-size: 40px;
    font-weight: 400;

    color: rgba(212, 122, 243, 0.08);

    line-height: 1;
}


/* numery 01-04 */
.pos-leasing-clients__grid > *:nth-child(1)::after {
    content: "01";
}

.pos-leasing-clients__grid > *:nth-child(2)::after {
    content: "02";
}

.pos-leasing-clients__grid > *:nth-child(3)::after {
    content: "03";
}

.pos-leasing-clients__grid > *:nth-child(4)::after {
    content: "04";
}


/* ==========================================================
   EYEBROW
   ========================================================== */

.pos-leasing-clients__eyebrow {
    margin:
        0
        0
        16px !important;

    font-family: 'Exo2', sans-serif !important;
    font-size: 12px !important;
    font-weight: 700 !important;

    line-height: 1.4 !important;
    letter-spacing: 0.08em;

    text-transform: uppercase;

    color: #d47af3 !important;
}


/* ==========================================================
   H3
   ========================================================== */

.pos-leasing-clients__card-title {
    margin:
        0
        0
        16px !important;

    padding-right: 30px;

    font-family: 'Exo2', sans-serif !important;
    font-size: clamp(21px, 1.55vw, 27px) !important;
    font-weight: 600 !important;

    line-height: 1.18 !important;
    letter-spacing: -0.02em;

    color: #ffffff !important;
}


/* ==========================================================
   TREŚĆ KARTY
   ========================================================== */

.pos-leasing-clients__card-text {
    margin: 0 !important;

    font-family: 'Exo2', sans-serif !important;
    font-size: 15px !important;
    font-weight: 400 !important;

    line-height: 1.65 !important;

    color: rgba(255,255,255,0.68) !important;
}


/* ==========================================================
   HOVER
   ========================================================== */

.pos-leasing-clients__card:hover {
    transform: translateY(-7px);

    border-color:
        rgba(212, 122, 243, 0.50);

    background:
        linear-gradient(
            145deg,
            rgba(38, 24, 47, 0.96),
            rgba(12, 9, 16, 0.99)
        ) !important;

    box-shadow:
        0 24px 52px rgba(0,0,0,0.40),
        0 0 28px rgba(212,122,243,0.075);
}


/* numer mocniejszy po hover */
.pos-leasing-clients__card:hover::after {
    color:
        rgba(212,122,243,0.18);
}


/* ==========================================================
   KOŃCOWE WYRÓŻNIENIE
   ========================================================== */

.pos-leasing-clients__highlight {
    position: relative;

    width: min(880px, 100%) !important;

    margin: 0 auto !important;

    padding:
        20px
        28px !important;

    font-family: 'Exo2', sans-serif !important;
    font-size: clamp(15px, 1.25vw, 18px) !important;
    font-weight: 500 !important;

    line-height: 1.55 !important;

    text-align: center !important;

    color: rgba(255,255,255,0.88) !important;

    background:
        rgba(212,122,243,0.045);

    border:
        1px solid rgba(212,122,243,0.18);

    border-radius: 16px;

    box-shadow:
        inset 0 0 25px rgba(212,122,243,0.025);
}


/* fioletowy fragment jeśli użyjesz <strong> */
.pos-leasing-clients__highlight strong {
    color: #d47af3 !important;
    font-weight: 600 !important;
}


/* ==========================================================
   LAPTOP
   ========================================================== */

@media (max-width: 1150px) {

    .pos-leasing-clients__grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;
    }

    .pos-leasing-clients__card {
        min-height: 260px;
    }
}


/* ==========================================================
   TELEFON
   ========================================================== */

@media (max-width: 700px) {

    .pos-leasing-clients {
        padding-top: 58px !important;
        padding-bottom: 65px !important;
    }

    .pos-leasing-clients__inner {
        width:
            calc(100% - 34px) !important;
    }

    .pos-leasing-clients__title {
        font-size:
            clamp(29px, 8vw, 38px) !important;
    }

    .pos-leasing-clients__description {
        margin-bottom: 34px !important;

        font-size: 15px !important;
    }

    .pos-leasing-clients__grid {
        grid-template-columns:
            1fr !important;

        gap: 14px !important;

        margin-bottom: 30px !important;
    }

    .pos-leasing-clients__card {
        min-height: 0;

        padding:
            26px
            22px
            24px !important;
    }

    .pos-leasing-clients__card-title {
        font-size: 23px !important;
    }

    .pos-leasing-clients__card-text {
        font-size: 14px !important;
    }

    .pos-leasing-clients__highlight {
        padding:
            18px
            20px !important;

        font-size: 15px !important;
    }
}
/* ==========================================================
   LEASING - DLA KOGO
   FIX SZEROKOŚCI GRIDU I KART
   ========================================================== */

/* Gutenberg nie może ograniczać siatki do content-size */
.pos-leasing-clients__inner > .pos-leasing-clients__grid {
    width: 100% !important;
    max-width: none !important;

    margin-left: 0 !important;
    margin-right: 0 !important;
}


/* 4 równe szerokie kolumny */
.pos-leasing-clients__grid {
    display: grid !important;

    grid-template-columns:
        repeat(4, minmax(0, 1fr)) !important;

    gap: 22px !important;

    width: 100% !important;
    max-width: none !important;
}


/* pojedyncza karta ma wykorzystać całą komórkę */
.pos-leasing-clients__grid > .pos-leasing-clients__card {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;

    margin: 0 !important;

    box-sizing: border-box;
}


/* usuń gutenbergowe ograniczenia elementów wewnątrz karty */
.pos-leasing-clients__card > * {
    width: 100% !important;
    max-width: none !important;

    margin-left: 0 !important;
    margin-right: 0 !important;
}


/* nagłówki nie mogą być łamane w środku słów */
.pos-leasing-clients__card-title {
    width: 100% !important;
    max-width: none !important;

    padding-right: 42px !important;

    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
}


/* również zwykły tekst */
.pos-leasing-clients__card-text,
.pos-leasing-clients__eyebrow {
    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
}


/* laptop */
@media (max-width: 1150px) {

    .pos-leasing-clients__grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;
    }
}


/* telefon */
@media (max-width: 700px) {

    .pos-leasing-clients__grid {
        grid-template-columns: 1fr !important;
    }
}
/* LEASING - DLA KOGO - korekta odstępów */

.pos-leasing-clients__description {
    margin-bottom: 42px !important;
}

.pos-leasing-clients__grid {
    margin-top: 0 !important;
}

.pos-leasing-clients__inner {
    gap: 0 !important;
}
.pos-leasing-clients__title,
.pos-leasing-clients__description,
.pos-leasing-clients__grid {
    position: relative;
    top: auto !important;
    transform: none !important;
}
.pos-leasing-clients {
    padding: 25px 0 35px !important;
}
/* ==========================================================
   LEASING - JEDEN BROKER, WIELE MOŻLIWOŚCI
   ========================================================== */

.pos-leasing-broker {
    position: relative;

    width: 100% !important;
    max-width: none !important;

    padding: 80px 0 90px !important;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(212, 122, 243, 0.08),
            transparent 38%
        ),
        linear-gradient(
            180deg,
            #08060a 0%,
            #0c0910 52%,
            #060507 100%
        ) !important;

    border-top: 1px solid rgba(212, 122, 243, 0.08);
    border-bottom: 1px solid rgba(212, 122, 243, 0.10);

    box-sizing: border-box;
}


/* ==========================================================
   INNER
   ========================================================== */

.pos-leasing-broker__inner {
    width: min(1360px, calc(100% - 48px)) !important;
    max-width: 1360px !important;

    margin-left: auto !important;
    margin-right: auto !important;

    padding: 0 !important;
}


/* ==========================================================
   H2
   ========================================================== */

.pos-leasing-broker__title {
    width: min(950px, 100%) !important;

    margin: 0 auto 22px !important;

    font-family: 'Exo2', sans-serif !important;
    font-weight: 500 !important;

    font-size: clamp(34px, 3.2vw, 52px) !important;
    line-height: 1.12 !important;
    letter-spacing: -0.025em;

    text-align: center !important;

    color: #ffffff !important;
}


/* ==========================================================
   OPIS
   ========================================================== */

.pos-leasing-broker__description {
    width: min(850px, 100%) !important;

    margin: 0 auto 48px !important;

    font-family: 'Exo2', sans-serif !important;
    font-size: 17px !important;
    font-weight: 400 !important;

    line-height: 1.65 !important;

    text-align: center !important;

    color: rgba(255, 255, 255, 0.72) !important;
}


/* ==========================================================
   GRID
   ========================================================== */

.pos-leasing-broker__grid {
    display: grid !important;

    grid-template-columns:
        repeat(4, minmax(0, 1fr)) !important;

    gap: 18px !important;

    width: 100% !important;
    max-width: none !important;

    margin: 0 auto 42px !important;

    padding: 0 !important;
}


/* ==========================================================
   KARTA
   ========================================================== */

.pos-leasing-broker__card {
    position: relative;

    min-height: 290px;

    padding: 30px 26px 28px !important;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            rgba(28, 20, 35, 0.96),
            rgba(10, 8, 13, 0.99)
        ) !important;

    border:
        1px solid rgba(212, 122, 243, 0.18);

    border-radius: 22px;

    box-shadow:
        0 18px 44px rgba(0, 0, 0, 0.30);

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;

    box-sizing: border-box;
}


/* neonowy detal u góry */
.pos-leasing-broker__card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 24px;

    width: 68px;
    height: 2px;

    background:
        linear-gradient(
            90deg,
            #d47af3,
            transparent
        );

    box-shadow:
        0 0 14px rgba(212, 122, 243, 0.55);
}


/* numer karty */
.pos-leasing-broker__card::after {
    position: absolute;

    top: 18px;
    right: 22px;

    font-family: 'Orbitron', sans-serif !important;
    font-size: 40px;
    font-weight: 400;

    line-height: 1;

    color: rgba(212, 122, 243, 0.09);

    transition: color 0.3s ease;
}


/* numery */
.pos-leasing-broker__grid > *:nth-child(1)::after {
    content: "01";
}

.pos-leasing-broker__grid > *:nth-child(2)::after {
    content: "02";
}

.pos-leasing-broker__grid > *:nth-child(3)::after {
    content: "03";
}

.pos-leasing-broker__grid > *:nth-child(4)::after {
    content: "04";
}


/* ==========================================================
   MAŁY NAGŁÓWEK
   ========================================================== */

.pos-leasing-broker__eyebrow {
    margin: 0 0 16px !important;

    padding-right: 45px;

    font-family: 'Exo2', sans-serif !important;
    font-size: 12px !important;
    font-weight: 700 !important;

    line-height: 1.4 !important;
    letter-spacing: 0.08em;

    text-transform: uppercase;

    color: #d47af3 !important;
}


/* ==========================================================
   H3
   ========================================================== */

.pos-leasing-broker__card-title {
    margin: 0 0 16px !important;

    padding-right: 35px;

    font-family: 'Exo2', sans-serif !important;
    font-size: clamp(21px, 1.55vw, 27px) !important;
    font-weight: 600 !important;

    line-height: 1.18 !important;
    letter-spacing: -0.02em;

    color: #ffffff !important;

    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
}


/* ==========================================================
   TREŚĆ KARTY
   ========================================================== */

.pos-leasing-broker__card-text {
    margin: 0 !important;

    font-family: 'Exo2', sans-serif !important;
    font-size: 15px !important;
    font-weight: 400 !important;

    line-height: 1.65 !important;

    color: rgba(255, 255, 255, 0.68) !important;

    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
}


/* Gutenberg - nie ograniczaj szerokości elementów */
.pos-leasing-broker__card > * {
    width: 100% !important;
    max-width: none !important;

    margin-left: 0 !important;
    margin-right: 0 !important;
}


/* ==========================================================
   HOVER
   ========================================================== */

.pos-leasing-broker__card:hover {
    transform: translateY(-7px);

    border-color:
        rgba(212, 122, 243, 0.48);

    background:
        linear-gradient(
            145deg,
            rgba(40, 25, 49, 0.98),
            rgba(12, 9, 16, 1)
        ) !important;

    box-shadow:
        0 24px 52px rgba(0, 0, 0, 0.40),
        0 0 30px rgba(212, 122, 243, 0.07);
}


.pos-leasing-broker__card:hover::after {
    color:
        rgba(212, 122, 243, 0.20);
}


/* ==========================================================
   HIGHLIGHT / INFO O BROKERZE
   ========================================================== */

.pos-leasing-broker__highlight {
    width: min(900px, 100%) !important;

    margin: 0 auto !important;

    padding: 22px 30px !important;

    font-family: 'Exo2', sans-serif !important;
    font-size: clamp(15px, 1.2vw, 18px) !important;
    font-weight: 500 !important;

    line-height: 1.6 !important;

    text-align: center !important;

    color: rgba(255, 255, 255, 0.88) !important;

    background:
        linear-gradient(
            135deg,
            rgba(212, 122, 243, 0.07),
            rgba(212, 122, 243, 0.025)
        );

    border:
        1px solid rgba(212, 122, 243, 0.22);

    border-radius: 18px;

    box-shadow:
        inset 0 0 28px rgba(212, 122, 243, 0.025);
}


/* jeśli pierwsze zdanie zrobisz boldem */
.pos-leasing-broker__highlight strong {
    color: #d47af3 !important;
    font-weight: 600 !important;
}


/* ==========================================================
   LAPTOP
   ========================================================== */

@media (max-width: 1150px) {

    .pos-leasing-broker__grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;
    }

    .pos-leasing-broker__card {
        min-height: 250px;
    }
}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 700px) {

    .pos-leasing-broker {
        padding:
            58px
            0
            65px !important;
    }

    .pos-leasing-broker__inner {
        width:
            calc(100% - 34px) !important;
    }

    .pos-leasing-broker__title {
        font-size:
            clamp(29px, 8vw, 38px) !important;
    }

    .pos-leasing-broker__description {
        margin-bottom: 34px !important;

        font-size: 15px !important;
    }

    .pos-leasing-broker__grid {
        grid-template-columns:
            1fr !important;

        gap: 14px !important;

        margin-bottom: 30px !important;
    }

    .pos-leasing-broker__card {
        min-height: 0;

        padding:
            26px
            22px
            24px !important;
    }

    .pos-leasing-broker__card-title {
        font-size: 23px !important;
    }

    .pos-leasing-broker__card-text {
        font-size: 14px !important;
    }

    .pos-leasing-broker__highlight {
        padding:
            18px
            20px !important;

        font-size: 15px !important;
    }
}
/* ==========================================================
   LEASING BROKER - FIX 4 KAFLE W JEDNYM WIERSZU
   ========================================================== */

.pos-leasing-broker__inner > .pos-leasing-broker__grid {
    display: grid !important;

    grid-template-columns:
        repeat(4, minmax(0, 1fr)) !important;

    width: 100% !important;
    max-width: none !important;

    gap: 22px !important;

    margin-left: 0 !important;
    margin-right: 0 !important;
}


/* Każdy kafel zajmuje pełną szerokość swojej kolumny */
.pos-leasing-broker__grid > .pos-leasing-broker__card {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;

    margin: 0 !important;

    box-sizing: border-box;
}


/* Gutenberg nie ogranicza treści wewnątrz kafla */
.pos-leasing-broker__card > * {
    width: 100% !important;
    max-width: none !important;

    margin-left: 0 !important;
    margin-right: 0 !important;
}


/* Desktop / laptop */
@media (min-width: 1151px) {

    .pos-leasing-broker__inner > .pos-leasing-broker__grid {
        grid-template-columns:
            repeat(4, minmax(0, 1fr)) !important;
    }
}


/* Tablet */
@media (max-width: 1150px) {

    .pos-leasing-broker__inner > .pos-leasing-broker__grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;
    }
}


/* Telefon */
@media (max-width: 700px) {

    .pos-leasing-broker__inner > .pos-leasing-broker__grid {
        grid-template-columns: 1fr !important;
    }
}