.kds-socials-desktop {
    display: flex;
    gap: 14px;
    align-items: center;
}

.kds-social-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #222;
    font-size: 18px;
    text-decoration: none;

    /* subtelny cień */
    box-shadow: 
        0 4px 10px rgba(0, 0, 0, 0.08),
        0 1px 2px rgba(0, 0, 0, 0.04);

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

/* hover = lekko premium */
.kds-social-circle:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 10px 25px rgba(0, 0, 0, 0.12),
        0 3px 6px rgba(0, 0, 0, 0.06);
    background: #443395; /* Twój brand */
    color: #fff;
}

/* opcjonalnie: koszyk delikatnie wyróżniony */
.kds-social-circle.cart {
    background: #f7f7f9;
}

.kds-social-circle.cart:hover {
    background: #2ecc71;
    color: #fff;
}
/* =========================================
   SEKCJA USŁUGI ZAGRANICZNE - NOWY WYGLĄD
========================================= */

/* 1. Główny kontener sekcji (reset tła na biały) */
.kds-foreign-services-section {
    background-color: #ffffff;
    padding: 80px 0; /* Większy odstęp góra/dół */
}

/* Usunięcie domyślnych stylów widgetu, żeby nie przeszkadzały */
.kds-foreign-services-section .widget {
    background: transparent;
    padding: 0;
    box-shadow: none;
    border: none;
    margin-bottom: 0;
}
.kds-foreign-services-section .widget-title { display: none; } /* Ukrywamy domyślny tytuł widgetu */


/* 2. Flexbox Wrapper - Układ dwukolumnowy */
.kds-foreign-flex-wrapper {
    display: flex;
    align-items: center; /* Wyśrodkowanie pionowe */
    justify-content: space-between;
    gap: 60px; /* Odstęp między tekstem a obrazkiem */
}

/* Kolumny */
.kds-foreign-content {
    flex: 1; /* Zajmuje dostępną przestrzeń */
    max-width: 550px; /* Ograniczenie szerokości tekstu dla czytelności */
}

.kds-foreign-image {
    flex: 1;
    text-align: center;
}

/* Stylizacja obrazka */
.kds-foreign-image img {
    max-width: 100%;
    height: auto;
    display: block;
}


/* 3. Typografia i Elementy Tekstowe */

/* Tytuł H2 */
.kds-foreign-title {
    font-size: 2.5rem; /* Duży rozmiar fontu */
    font-weight: 600;
    color: #000; /* Ciemny kolor tekstu */
    margin-bottom: 30px;
    line-height: 1.2;
}

/* Fioletowe podkreślenie w tytule */
.kds-highlight {
    color: #483695; /* Kolor fioletowy z obrazka */
}

/* Paragrafy */
.kds-foreign-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: #4a4a4a;
    margin-bottom: 25px;
}


/* 4. Lista z "ptaszkami" (Checklist) */
ul.kds-checklist {
    list-style: none; /* Usuwamy domyślne kropki */
    padding: 0;
    margin: 30px 0;
}

ul.kds-checklist li {
    position: relative;
    padding-left: 35px; /* Miejsce na ikonę */
    margin-bottom: 12px;
    font-weight: 500;
    color: #333;
}

/* Tworzenie fioletowego "ptaszka" za pomocą CSS */
ul.kds-checklist li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    width: 18px;
    height: 14px;
    /* Możesz tu użyć obrazka SVG icony, lub prostego kształtu CSS jak poniżej: */
    border-bottom: 3px solid #483695;
    border-right: 3px solid #483695;
    transform: rotate(45deg); /* Obrót, żeby powstał "ptaszek" */
    width: 8px;
    height: 14px;
}


/* 5. Fioletowy Przycisk */
.kds-btn-purple {
    display: inline-flex;
    align-items: center;
    background-color: #483695;
    color: #ffffff;
    padding: 14px 28px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease;
    margin-top: 20px;
}

.kds-btn-purple:hover {
    background-color: #362875; /* Ciemniejszy fiolet po najechaniu */
    color: #fff;
}

/* Strzałka w przycisku */
.btn-arrow {
    margin-left: 10px;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.kds-btn-purple:hover .btn-arrow {
    transform: translateX(5px); /* Lekki ruch strzałki w prawo przy hoverze */
}


/* 6. Responsywność (RWD) - Dla telefonów */
@media (max-width: 992px) {
    .kds-foreign-flex-wrapper {
        flex-direction: column; /* Układamy jedno pod drugim */
        gap: 40px;
    }

    .kds-foreign-content {
        max-width: 100%;
        order: 2; /* Tekst pod obrazkiem na mobilu (opcjonalnie) */
    }
    
    .kds-foreign-image {
        order: 1;
    }

    .kds-foreign-title {
        font-size: 2rem; /* Mniejszy tytuł na telefonie */
    }
}








































.kds-plan-btn {
    display: inline-block;
    padding: 12px 28px;
    /* Zmiana: Background-size jest kluczowy dla płynności */
    background: linear-gradient(135deg, #0073aa, #443395);
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1; /* Ważne, aby tekst był nad efektem */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Tworzymy pasek świetlny */
.kds-plan-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%; /* Startujemy poza przyciskiem z lewej */
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg, 
        transparent, 
        rgba(255, 255, 255, 0.4), 
        transparent
    );
    transition: all 0.5s;
    z-index: -1; /* Pasek pod tekstem */
}

/* Hover: przesuwamy pasek i lekko unosimy przycisk */
.kds-plan-btn:hover {
    transform: translateY(-2px); /* Lekkie uniesienie */
    box-shadow: 0 6px 20px rgba(68, 51, 149, 0.4); /* Kolorowy cień */
}

.kds-plan-btn:hover::before {
    left: 100%; /* Przesuwamy na prawą stronę */
}












/* ============================================================
   KONTROLA ROZMIARU LOGO (ABY NIE ZEPSUŁO UKŁADU)
   ============================================================ */
.kds-logo img {
    /* Ustaw maksymalną wysokość, aby logo nie rosło w nieskończoność */
    max-height: 70px; 
    width: auto; /* Zachowanie proporcji */
    display: block;
    transition: max-height 0.3s ease;
}

/* Możesz dostosować maksymalną wysokość dla sticky header (jeśli header ma klasę .sticky) */
/* .kds-header.sticky .kds-logo img {
    max-height: 35px;
} */

/* ============================================================
   KONTROLA ELEMENTÓW W HEADER ACTIONS
   ============================================================ */

/* Upewnienie się, że wszystkie elementy akcji mają jednakową wysokość */
.kds-icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px; /* Dopasowane do wysokości logo */
    width: 40px;
    font-size: 20px;
    position: relative;
    color: #333;
    text-decoration: none;
    transition: color 0.2s;
}

/* Wyrównanie całego kontenera nagłówka */
.kds-header-inner {
    display: flex;
    /* Zmień: justify-content: space-between; */
    justify-content: space-evenly; /* Proponowana alternatywa */
    /* LUB: justify-content: center; */
    /* LUB: justify-content: flex-start; */
    align-items: center;
    min-height: 80px; 
}

/* KOSZYK - Zabezpieczenie countera */
.kds-cart-count {
    position: absolute;
    top: 5px;
    right: 5px;
    min-width: 18px;
    height: 18px;
    line-height: 18px;
    background-color: #48359a; /* Akcent */
    color: #fff;
    border-radius: 50%;
    font-size: 10px;
    text-align: center;
    padding: 0 4px;
    font-weight: 700;
}

/* --- KDS HERO SPLIT LAYOUT --- */

.kds-hero-slider {
    width: 100%;
    /* Wysokość sekcji - dopasuj wg potrzeb */
    height: 600px; 
    min-height: 500px;
    background: #fff;
    overflow: hidden;
}

.kds-slide-item {
    width: 100%;
    height: 100%;
}

.kds-hero-split {
    display: flex;
    width: 100%;
    height: 100%;
    flex-wrap: wrap;
}

/* --- LEWA KOLUMNA (Treść) --- */
.kds-hero-content {
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center; /* Wyśrodkowanie poziome bloku tekstu */
    padding: 40px;
    position: relative;
    
    /* Subtelne tło kropkowane (CSS Pattern) */
    background-color: #fcfcfc;
    background-image: radial-gradient(#d1d1d1 1px, transparent 1px);
    background-size: 20px 20px; /* Rozstaw kropek */
}

.kds-hero-text-wrapper {
    /* ZMIANA: Zwiększono z 480px na 650px (możesz dać nawet więcej, np. 700px) */
    max-width: 50%; 
    position: relative;
    z-index: 2;
}

/* Nagłówek */
.kds-hero-title {
    font-size: 3.5rem; /* Duży rozmiar jak na projekcie */
    font-weight: 800;
    line-height: 1.1;
    color: #2b2b4e; /* Ciemny fiolet */
    margin-bottom: 25px;
    position: relative;
    display: inline-block; /* Żeby strzałka pozycjonowała się względem tekstu */
}

/* Strzałka dekoracyjna */
.kds-hero-arrow {
    position: absolute;
    top: -30px;
    right: -60px; /* Przesunięcie w prawo od tekstu */
    width: 80px;  /* Dostosuj wielkość wg wgranego obrazka */
    height: auto;
    pointer-events: none;
    transform: rotate(10deg); /* Lekki obrót jak na screenie */
}

/* Opis */
.kds-hero-desc {
    font-family: "DM Sans", sans-serif;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 35px;
    
    /* ZMIANA: Zmieniono z 400px na 100%, aby tekst wykorzystał całą szerokość powyższego wrappera */
    max-width: 100%; 
}

/* Przycisk */
.kds-hero-btn {
    display: inline-block;
    background-color: #48359a; /* Fiolet z przycisku */
    color: #ffffff;
    padding: 14px 34px;
    border-radius: 8px; /* Zaokrąglone rogi */
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s ease;
    font-family: "DM Sans", sans-serif;
    font-size: 1rem;
}

.kds-hero-btn:hover {
    background-color: #352575;
}

/* --- PRAWA KOLUMNA (Zdjęcie) --- */
.kds-hero-image {
    width: 50%;
    height: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
}

/* --- RESPONSYWNOŚĆ (Mobile) --- */
@media (max-width: 991px) {
    .kds-hero-split {
        flex-direction: column-reverse; /* Na telefonie zdjęcie na górze lub pod spodem */
    }
    
    .kds-hero-content {
        width: 100%;
        height: auto;
        padding: 60px 20px;
        text-align: center; /* Centrowanie na mobilu */
    }

    .kds-hero-image {
        width: 100%;
        height: 300px; /* Stała wysokość zdjęcia na mobilu */
    }

    .kds-hero-title {
        font-size: 2.5rem;
    }
    
    .kds-hero-arrow {
        right: -20px;
        top: -40px;
        width: 50px;
    }
    
    .kds-hero-text-wrapper {
        margin: 0 auto;
    }
}
/* =========================================
   STYLOWANIE STRZAŁEK (NAV)
   ========================================= */
.kds-hero-slider .swiper-button-prev,
.kds-hero-slider .swiper-button-next {
    color: #48359a; /* Fioletowy kolor strzałki */
    background: rgba(255, 255, 255, 0.9); /* Białe tło */
    width: 50px;
    height: 50px;
    border-radius: 50%; /* Okrągłe przyciski */
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

/* Ikony w środku strzałek */
.kds-hero-slider .swiper-button-prev::after,
.kds-hero-slider .swiper-button-next::after {
    font-size: 20px;
    font-weight: bold;
}

/* Hover na strzałki */
.kds-hero-slider .swiper-button-prev:hover,
.kds-hero-slider .swiper-button-next:hover {
    background: #48359a;
    color: #ffffff;
    transform: scale(1.1);
}

/* Paginacja (kropki) - poprawa koloru */
.kds-hero-slider .swiper-pagination-bullet-active {
    background: #48359a;
}

/* =========================================
   ANIMACJE ELEMENTÓW (EFEKTY WOW)
   ========================================= */

/* 1. Definicja animacji: Wjazd z dołu i pojawienie się */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

/* 2. Definicja animacji: Subtelny zoom zdjęcia */
@keyframes zoomInImage {
    from { transform: scale(1.1); }
    to { transform: scale(1); }
}

/* Ukrywamy elementy domyślnie, żeby nie mignęły przed animacją */
.kds-hero-title, 
.kds-hero-desc, 
.kds-hero-btn,
.kds-hero-arrow {
    opacity: 0; 
}

/* Uruchomienie animacji TYLKO na aktywnym slajdzie (.swiper-slide-active) */
.swiper-slide-active .kds-hero-title {
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.3s; /* Czeka na zdjęcie */
}

/* Strzałka dekoracyjna wjeżdża razem z tytułem */
.swiper-slide-active .kds-hero-arrow {
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.4s;
}

.swiper-slide-active .kds-hero-desc {
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.5s; /* Opóźnienie względem tytułu */
}

.swiper-slide-active .kds-hero-btn {
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.7s; /* Przycisk wjeżdża ostatni */
}

/* Animacja zdjęcia tła */
.kds-hero-image {
    transition: transform 1s ease; /* Płynne skalowanie */
}
.swiper-slide-active .kds-hero-image {
    /* Zdjęcie powoli się oddala (efekt Ken Burns) */
    animation: zoomInImage 6s ease forwards; 
}
/* =========================================
   SEKCJA USŁUG (3 KAFELKI)
   ========================================= */

.kds-services-section {
    padding: 80px 0 100px 0; /* Większy padding na dole na przyciski */
    background-color: #fcfcfc; /* Bardzo jasne tło sekcji */
}

/* Nagłówek sekcji */
.kds-sec-header {
    text-align: center;
    margin-bottom: 60px;
}

.kds-sub-title {
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #999;
    font-weight: 700;
    display: block;
    margin-bottom: 10px;
}

.kds-sec-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #000;
    line-height: 1.2;
}

.kds-sec-title span {
    color: #48359a; /* Fioletowy akcent */
}

/* Siatka (Grid) dla widgetów */
.kds-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 kolumny */
    gap: 30px;
}

/* Pojedynczy kafelek */
.kds-service-box {
    background: #fff;
    padding: 40px 30px 60px 30px; /* Większy padding na dole */
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); /* Delikatny cień */
    position: relative;
    height: 100%;
    transition: transform 0.3s ease;
}

.kds-service-box:hover {
    transform: translateY(-10px); /* Uniesienie po najechaniu */
}

/* Ikona (Line Awesome) */
.kds-serv-icon {
    font-size: 4rem;
    color: #333; /* Możesz zmienić na kolorowe jeśli chcesz */
    margin-bottom: 25px;
    display: inline-block;
}

/* Tytuł usługi */
.kds-service-box h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #111;
    line-height: 1.4;
}

/* Opis usługi */
.kds-service-box p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Zielony przycisk ze strzałką */
.kds-serv-btn {
    position: absolute;
    bottom: -25px; /* Wystaje poza kafelek */
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background-color: #8ce65e; /* Jasna zieleń z obrazka */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(140, 230, 94, 0.4);
    transition: background 0.3s ease;
}

.kds-serv-btn:hover {
    background-color: #7bd14e;
}

/* Responsywność */
@media (max-width: 991px) {
    .kds-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .kds-services-grid {
        grid-template-columns: 1fr;
        gap: 50px; /* Większy odstęp bo przyciski wystają */
    }
    
    .kds-sec-title {
        font-size: 1.8rem;
    }
}
/* =========================================
   SEKCJA O NAS (Tekst + Zdjęcie)
   ========================================= */

.kds-about-section {
    padding: 100px 0;
    background-color: #fff; /* Białe tło */
    overflow: hidden;
}

/* Główny kontener wewnątrz widgetu */
.kds-about-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px; /* Odstęp między tekstem a obrazkiem */
}

/* --- LEWA STRONA (Tekst) --- */
.kds-about-text {
    flex: 1; /* Zajmuje dostępną przestrzeń */
    max-width: 600px;
}

/* Mały nagłówek "NASZE POCZĄTKI" */
.kds-about-sub {
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #999;
    font-weight: 700;
    margin-bottom: 15px;
    display: block;
}

/* Główny nagłówek */
.kds-about-title {
    font-family: "DM Sans", sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #000;
    line-height: 1.2;
    margin-bottom: 30px;
}

/* Kolor wyróżniony (21 lat) */
.kds-about-title span {
    color: #48359a;
}

/* Paragrafy tekstu */
.kds-about-desc p {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 20px;
}

/* Przycisk */
.kds-btn-primary {
    display: inline-block;
    background-color: #48359a;
    color: #fff;
    padding: 15px 35px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 20px;
    transition: background 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
}

.kds-btn-primary:hover {
    background-color: #352575;
    transform: translateY(-2px);
}

/* --- PRAWA STRONA (Obrazek) --- */
.kds-about-img {
    flex: 1;
    text-align: right; /* Wyrównanie obrazka do prawej */
    position: relative;
}

.kds-about-img img {
    max-width: 100%;
    height: auto;
    /* Opcjonalnie: cień lub efekt */
}

/* --- RESPANSYWNOŚĆ --- */
@media (max-width: 991px) {
    .kds-about-wrapper {
        flex-direction: column; /* Jeden pod drugim na tablecie/telefonie */
        text-align: center;
        gap: 40px;
    }

    .kds-about-text {
        max-width: 100%;
        order: 2; /* Tekst pod zdjęciem (opcjonalnie zmień na 1) */
    }
    
    .kds-about-img {
        order: 1;
        width: 100%;
        text-align: center;
    }

    .kds-about-title {
        font-size: 2rem;
    }
}
/* =========================================
   SEKCJA PORTFOLIO (Monitory)
   ========================================= */

.kds-portfolio-section {
    padding: 80px 0;
    background-color: #f9f9f9; /* Delikatne tło */
}

/* Grid layout */
.kds-portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 kolumny */
    gap: 40px;
    margin-bottom: 50px;
}

/* --- MONITOR CSS (Wygląd komputera) --- */
.kds-portfolio-item {
    text-align: center;
}

.kds-monitor-frame {
    position: relative;
    background: #333; /* Ciemna ramka */
    padding: 10px 10px 30px 10px; /* Padding dół większy na "brodę" monitora */
    border-radius: 12px 12px 4px 4px; /* Zaokrąglone góry */
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
    width: 100%;
    max-width: 400px; /* Maksymalna szerokość monitora */
    margin: 0 auto;
}

.kds-monitor-frame:hover {
    transform: translateY(-5px); /* Lekkie uniesienie */
}

/* Ekran wewnątrz */
.kds-monitor-screen {
    position: relative;
    width: 100%;
    padding-top: 62.5%; /* Aspect ratio 16:10 (standard laptopa/monitora) */
    background: #000;
    overflow: hidden;
}

.kds-monitor-screen img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Wypełnienie ekranu */
    object-position: top center; /* Zawsze pokazuj górę strony */
}

/* Nóżka monitora */
.kds-monitor-stand {
    position: absolute;
    bottom: -15px; /* Pod ramką */
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 15px;
    background: #ccc; /* Srebrna nóżka */
    z-index: 0;
}

.kds-monitor-base {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 5px;
    background: #bbb; /* Podstawa */
    border-radius: 4px;
}

/* Overlay (efekt po najechaniu) */
.kds-monitor-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(72, 53, 154, 0.8); /* Fioletowa przesłona */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
    text-decoration: none;
}

.kds-monitor-overlay i {
    font-size: 3rem;
    color: #fff;
}

.kds-monitor-frame:hover .kds-monitor-overlay {
    opacity: 1;
}

/* Footer sekcji (Przycisk) */
.kds-portfolio-footer {
    text-align: center;
}

/* Responsywność */
@media (max-width: 991px) {
    .kds-portfolio-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 kolumny na tablecie */
    }
}

@media (max-width: 600px) {
    .kds-portfolio-grid {
        grid-template-columns: 1fr; /* 1 kolumna na telefonie */
    }
}
/* =========================================
   SEKCJA OFERTA (PŁATNOŚCI)
   ========================================= */

.kds-offer-section {
    padding: 100px 0;
    background-color: #fff;
    overflow: hidden;
}

/* Kontener Flex */
.kds-offer-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

/* --- LEWA STRONA (Tekst) --- */
.kds-offer-text {
    flex: 1;
    max-width: 600px;
}

/* Mały nagłówek (SPECJALNA OFERTA...) */
.kds-offer-sub {
    display: block;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #999; /* Szary kolor z projektu */
    font-weight: 700;
    margin-bottom: 15px;
}

.kds-offer-sub span {
    color: #48359a; /* Fioletowy akcent DLA FIRM */
}

/* Główny nagłówek */
.kds-offer-title {
    font-family: "DM Sans", sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #000;
    line-height: 1.2;
    margin-bottom: 30px;
}

/* Paragrafy */
.kds-offer-desc p {
    font-size: 1rem;
    line-height: 1.7;
    color: #444;
    margin-bottom: 20px;
}

/* Link na dole (Porównaj...) */
.kds-offer-link {
    display: inline-block;
    margin-top: 20px;
    color: #48359a;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(72, 53, 154, 0.3);
    transition: all 0.3s ease;
}

.kds-offer-link:hover {
    color: #352575;
    border-bottom-color: #352575;
}

/* --- PRAWA STRONA (Grafika) --- */
.kds-offer-img {
    flex: 1;
    text-align: right;
    display: flex;
    justify-content: flex-end;
}

.kds-offer-img img {
    max-width: 100%;
    height: auto;
    /* Ewentualnie max-width np. 500px jeśli grafika jest za duża */
}

/* --- RESPONSYWNOŚĆ --- */
@media (max-width: 991px) {
    .kds-offer-wrapper {
        flex-direction: column;
        text-align: left; /* Na tablecie tekst do lewej lub center wg uznania */
    }
    
    .kds-offer-img {
        width: 100%;
        justify-content: center; /* Centrowanie obrazka na mobilu */
        margin-top: 40px;
    }
    
    .kds-offer-title {
        font-size: 2rem;
    }
}
/* =========================================
   SEKCJA PŁATNOŚCI (Współpraca)
   ========================================= */

.kds-payments-section {
    padding: 100px 0;
    background-color: #fcfcfd; /* Bardzo jasne tło, subtelnie inne od białego */
    overflow: hidden;
}

/* Kontener Flex (układ 2 kolumn) */
.kds-pay-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px; /* Spory odstęp między tekstem a grafiką */
}

/* --- LEWA KOLUMNA (Tekst) --- */
.kds-pay-text {
    flex: 1;
    max-width: 650px; /* Ograniczenie szerokości tekstu dla czytelności */
}

/* Mały nagłówek "SPECJALNA OFERTA..." */
.kds-pay-sub {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #9ca3af; /* Szary */
    font-weight: 700;
    margin-bottom: 20px;
}

.kds-pay-sub span {
    color: #48359a; /* Fioletowy akcent (DLA FIRM) */
}

/* Główny tytuł */
.kds-pay-title {
    font-family: "DM Sans", sans-serif;
    font-size: 2.8rem;
    font-weight: 800;
    color: #111;
    line-height: 1.15;
    margin-bottom: 35px;
}

/* Treść (paragrafy) */
.kds-pay-desc p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #4b5563; /* Ciemny szary */
    margin-bottom: 20px;
}

.kds-pay-desc strong {
    color: #000;
    font-weight: 700;
}

/* Link CTA na dole */
.kds-pay-link {
    display: inline-block;
    margin-top: 30px;
    color: #48359a;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid rgba(72, 53, 154, 0.3); /* Delikatne podkreślenie */
    padding-bottom: 2px;
    transition: all 0.3s ease;
}

.kds-pay-link:hover {
    color: #352575;
    border-bottom-color: #352575;
}

/* --- PRAWA KOLUMNA (Ilustracja) --- */
.kds-pay-img {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

/* Tło pod obrazkiem (opcjonalne, na screenie jest delikatna poświata) */
.kds-pay-img::before {
    content: '';
    position: absolute;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(72,53,154,0.03) 0%, rgba(255,255,255,0) 70%);
    z-index: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.kds-pay-img img {
    max-width: 100%;
    height: auto;
    position: relative;
    z-index: 1;
}

/* --- RESPANSYWNOŚĆ --- */
@media (max-width: 991px) {
    .kds-pay-wrapper {
        flex-direction: column;
        text-align: left;
        gap: 50px;
    }

    .kds-pay-img {
        width: 100%;
        order: -1; /* Jeśli chcesz obrazek nad tekstem na mobilu, usuń tę linię jeśli ma być pod */
    }

    .kds-pay-title {
        font-size: 2.2rem;
    }
}
/* =========================================
   SEKCJA PŁATNOŚCI (Współpraca)
   ========================================= */

.kds-payments-section {
    padding: 100px 0;
    background-color: #fcfcfd; /* Bardzo jasne tło, subtelnie inne od białego */
    overflow: hidden;
}

/* Kontener Flex (układ 2 kolumn) */
.kds-pay-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px; /* Spory odstęp między tekstem a grafiką */
}

/* --- LEWA KOLUMNA (Tekst) --- */
.kds-pay-text {
    flex: 1;
    max-width: 650px; /* Ograniczenie szerokości tekstu dla czytelności */
}

/* Mały nagłówek "SPECJALNA OFERTA..." */
.kds-pay-sub {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #9ca3af; /* Szary */
    font-weight: 700;
    margin-bottom: 20px;
}

.kds-pay-sub span {
    color: #48359a; /* Fioletowy akcent (DLA FIRM) */
}

/* Główny tytuł */
.kds-pay-title {
    font-family: "DM Sans", sans-serif;
    font-size: 2.8rem;
    font-weight: 800;
    color: #111;
    line-height: 1.15;
    margin-bottom: 35px;
}

/* Treść (paragrafy) */
.kds-pay-desc p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #4b5563; /* Ciemny szary */
    margin-bottom: 20px;
}

.kds-pay-desc strong {
    color: #000;
    font-weight: 700;
}

/* Link CTA na dole */
.kds-pay-link {
    display: inline-block;
    margin-top: 30px;
    color: #48359a;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid rgba(72, 53, 154, 0.3); /* Delikatne podkreślenie */
    padding-bottom: 2px;
    transition: all 0.3s ease;
}

.kds-pay-link:hover {
    color: #352575;
    border-bottom-color: #352575;
}

/* --- PRAWA KOLUMNA (Ilustracja) --- */
.kds-pay-img {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

/* Tło pod obrazkiem (opcjonalne, na screenie jest delikatna poświata) */
.kds-pay-img::before {
    content: '';
    position: absolute;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(72,53,154,0.03) 0%, rgba(255,255,255,0) 70%);
    z-index: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.kds-pay-img img {
    max-width: 100%;
    height: auto;
    position: relative;
    z-index: 1;
}

/* --- RESPONSYWNOŚĆ --- */
@media (max-width: 991px) {
    .kds-pay-wrapper {
        flex-direction: column;
        text-align: left;
        gap: 50px;
    }

    .kds-pay-img {
        width: 100%;
        order: -1; /* Jeśli chcesz obrazek nad tekstem na mobilu, usuń tę linię jeśli ma być pod */
    }

    .kds-pay-title {
        font-size: 2.2rem;
    }
}
/* =========================================
   SEKCJA LICZNIK / STATYSTYKI
   ========================================= */

.kds-stats-section {
    padding: 80px 0;
    background-color: #f7f8f9; /* Bardzo jasne szare tło */
    margin: 50px 0; /* Dodatkowy margines od innych sekcji */
}

/* Kontener dla 4 kolumn */
.kds-stats-grid {
    display: flex;
    gap: 20px;
    flex-wrap: wrap; /* Zezwala na zawijanie na mniejszych ekranach */
    justify-content: space-between;
}

/* Pojedynczy kafelek statystyki */
.kds-stats-item {
    flex: 1; /* Równa szerokość */
    min-width: 200px; /* Minimalna szerokość przed zawinięciem */
    text-align: left; /* Wyrównanie kolumn jest do lewej */
    padding: 20px 0;
}

/* Styl głównej liczby */
.kds-stats-number {
    font-size: 3.2rem;
    font-weight: 800;
    color: #111;
    line-height: 1;
    margin-bottom: 5px;
    display: block;
}

/* Styl tekstu opisowego */
.kds-stats-text {
    font-size: 0.85rem;
    font-weight: 500;
    color: #4b5563; /* Ciemny szary */
    line-height: 1.4;
    text-transform: uppercase;
    max-width: 150px; /* Ograniczenie szerokości tekstu jak na obrazku */
}

/* Styl boxu z ikoną w prawym górnym rogu */
.kds-stats-icon-box {
    width: 60px;
    height: 60px;
    background-color: #ffffff; /* Białe tło boxu */
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05); /* Delikatny cień */
    position: absolute; /* Umożliwia pozycjonowanie w rogu */
    top: 0;
    right: 0;
}

/* Kontener Flex wewnątrz kafelka (aby umieścić ikonę z boku) */
.kds-stats-content-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    width: 100%;
}

/* --- RESPONSIVE / TABLET & MOBILE --- */

@media (max-width: 1024px) {
    .kds-stats-section {
        padding: 50px 0;
    }
    .kds-stats-item {
        flex-basis: 45%; /* Dwie kolumny na tabletach */
        min-width: unset;
    }
}

@media (max-width: 600px) {
    .kds-stats-grid {
        flex-direction: column; /* Jedna kolumna na telefonach */
    }
    .kds-stats-item {
        flex-basis: 100%;
        border-bottom: 1px solid #eee; /* Separator na mobilu */
        padding: 20px 0;
    }
    .kds-stats-item:last-child {
        border-bottom: none;
    }
}
/* =========================================
   SEKCJA OPINIE KLIENTÓW
   ========================================= */

.kds-reviews-section {
    padding: 100px 0;
    background-color: #fcfcfd; /* Bardzo jasne tło */
}

/* Karta Opinii */
.kds-review-card {
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    min-height: 350px; /* Stała wysokość dla wyrównania */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    border: 1px solid transparent; /* Przygotowanie pod hover */
    transition: all 0.3s ease;
    cursor: pointer;
}

/* Efekt podświetlenia na niebiesko */
.kds-review-card:hover {
    border-color: #5c62df; /* Subtelny niebiesko-fioletowy kolor */
    box-shadow: 0 10px 35px rgba(92, 98, 223, 0.15); /* Nieco mocniejszy cień z poświatą */
    transform: translateY(-5px);
}

.kds-stars {
    margin-bottom: 20px;
}

.kds-review-quote {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #4b5563;
    font-style: italic;
    margin-bottom: 20px;
}

.kds-review-author {
    font-size: 1rem;
    font-weight: 700;
    color: #111;
}

/* Stylizacja Swiper Pagination (bullety) */
.kds-review-pagination {
    position: static !important; /* Wymuś, by nie nakładało się na karty */
    margin-top: 30px;
    padding-top: 10px;
}

.kds-review-pagination .swiper-pagination-bullet {
    background: #ccc;
    opacity: 0.6;
}

.kds-review-pagination .swiper-pagination-bullet-active {
    background: #48359a;
    opacity: 1;
}
/* =========================================
   23. SEKJA CTA PRZED STOPKĄ (MODUŁY)
   ========================================= */

.kds-footer-cta-section {
    padding: 100px 0;
    background-color: #fff; /* Białe tło */
    overflow: hidden;
}

/* Kontener Flex (układ 2 kolumn) */
.kds-final-cta-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

/* --- LEWA KOLUMNA (Grafika) --- */
.kds-final-cta-img {
    flex: 1;
    max-width: 500px;
    position: relative;
    text-align: center;
}

.kds-final-cta-img img {
    max-width: 100%;
    height: auto;
}

/* --- PRAWA KOLUMNA (Tekst) --- */
.kds-final-cta-text {
    flex: 1;
    max-width: 550px;
}

/* Mały nagłówek */
.kds-final-cta-sub {
    display: block;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #999;
    font-weight: 700;
    margin-bottom: 15px;
}

.kds-final-cta-sub span {
    color: #48359a; /* Fioletowy akcent DLA ECOMMERCE */
}

/* Główny tytuł */
.kds-final-cta-title {
    font-size: 3rem;
    font-weight: 800;
    color: #111;
    line-height: 1.1;
    margin-bottom: 30px;
}

/* Treść (paragrafy) */
.kds-final-cta-desc p {
    font-size: 1rem;
    line-height: 1.7;
    color: #4b5563;
    margin-bottom: 20px;
}

/* Link CTA */
.kds-final-cta-link {
    display: inline-block;
    margin-top: 20px;
    color: #48359a;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    border-bottom: 2px solid rgba(72, 53, 154, 0.3);
    padding-bottom: 2px;
    transition: all 0.3s ease;
}

.kds-final-cta-link:hover {
    color: #352575;
    border-bottom-color: #352575;
}

/* --- RESPANSYWNOŚĆ --- */
@media (max-width: 991px) {
    .kds-final-cta-wrapper {
        flex-direction: column;
        gap: 40px;
    }

    .kds-final-cta-img {
        max-width: 350px;
        order: -1; /* Obrazek nad tekstem na mobilu */
    }

    .kds-final-cta-text {
        text-align: center; /* Centrowanie tekstu na mobilu */
    }
    
    .kds-final-cta-title {
        font-size: 2.5rem;
    }
    
    .kds-final-cta-sub {
        text-align: center;
    }
}
/* =========================================
   SEKCJA LOGA KLIENTÓW (TRUST BAR)
   ========================================= */

.kds-clients-section {
    padding: 60px 0;
    background-color: #fff; /* Czyste białe tło */
}

/* Kontener dla wszystkich logo wewnątrz widgetu */
.kds-clients-bar-widget .kds-clients-wrap {
    display: flex;
    justify-content: space-around; /* Równomierny rozkład */
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

/* Pojedyncze logo */
.kds-clients-wrap a {
    display: block;
    max-width: 150px; /* Maksymalna szerokość dla pojedynczego logo */
    opacity: 0.7; /* Lekka przezroczystość */
    transition: opacity 0.3s ease;
    filter: grayscale(100%); /* Efekt czarno-biały */
}

.kds-clients-wrap a:hover {
    opacity: 1;
    filter: grayscale(0%); /* Kolor po najechaniu */
}

.kds-clients-wrap img {
    max-height: 40px; /* Stała wysokość */
    width: auto;
}

/* Dodatkowy margines na telefonach */
@media (max-width: 600px) {
    .kds-clients-section {
        padding: 40px 0;
    }
    .kds-clients-wrap a {
        flex-basis: 30%; /* 3 loga w rzędzie na telefonie */
    }
}
/* =========================================
   SEKCJA KONTAKTOWA - UŁAD ZE ZDJĘCIA
   ========================================= */

.kds-contact-form-section {
    padding: 60px 0;
    background-color: #fcfcfd;
}

.kds-contact-form-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    max-width: 1000px; /* Nieco szerzej dla obu kolumn */
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.05);
}

/* LEWA KOLUMNA (Quick Contact) */
.kds-contact-details {
    flex: 1;
    padding-right: 20px;
    border-right: 1px solid #eee; /* Linia oddzielająca */
    text-align: center;
}

.kds-rating-score {
    font-size: 4rem;
    font-weight: 800;
    margin: 0;
    line-height: 1;
    color: #111;
}

.kds-rating-text {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 40px;
}

.kds-quick-contact-item {
    margin-bottom: 25px;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.kds-contact-icon {
    font-size: 2.2rem;
    color: #443395;
    margin-bottom: 10px;
}

.kds-contact-sub {
    font-size: 10px;
    font-weight: 600;
    color: #777;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.kds-contact-link {
    font-size: 28px;
    font-weight: 700;
    color: #111;
    text-decoration: none;
    line-height: 1.2;
}

/* PRAWA KOLUMNA (Formularz) */
.kds-contact-form {
    flex: 1.5; /* Daj mu więcej miejsca */
    padding-left: 20px;
}

.kds-form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.kds-form-input {
    padding: 12px;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    background: #f9f9f9;
    font-size: 14px;
}

.kds-form-row input {
    flex: 1;
}

.kds-full-row {
    width: 100%;
    margin-bottom: 15px;
}

/* Ochrona danych / RODO */
.kds-form-privacy {
    font-size: 11px;
    color: #888;
    line-height: 1.4;
    margin-top: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .kds-contact-form-wrapper {
        flex-direction: column;
        padding: 30px 20px;
    }
    .kds-contact-details {
        border-right: none;
        padding-right: 0;
        border-bottom: 1px solid #eee;
        padding-bottom: 30px;
    }
    .kds-contact-form {
        padding-left: 0;
        padding-top: 20px;
    }
    .kds-form-row {
        flex-direction: column;
        gap: 0;
    }
    .kds-form-row input {
        width: 100%;
        margin-bottom: 15px;
    }
}














































.wc-block-components-product-details.wc-block-components-product-details:last-of-type{
    padding: 22px;
background-color: #f9f7f4 !important;
border-radius:.625rem!important;
width: max-content;
border:double;
}

































/* Kontener karty */
.kds-product-card {
    list-style: none;
    box-sizing: border-box;
}

.kds-card-inner {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.kds-card-inner:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transform: translateY(-5px);
}

/* 1. Zdjęcie */
.kds-product-thumb {
    position: relative;
    display: block;
    overflow: hidden;
    padding-top: 20px; /* Odstęp od góry jak na zdjęciu */
    text-align: center;
    background: #f9f9f9; /* Delikatne tło pod zdjęciem */
}

.kds-product-thumb img {
    width: auto;
    max-height: 250px; /* Ograniczenie wysokości zdjęcia */
    margin: 0 auto;
    transition: transform 0.5s ease;
}

.kds-card-inner:hover .kds-product-thumb img {
    transform: scale(1.05);
}

/* 2. Body */
.kds-card-body {
    padding: 20px;
    flex-grow: 1; /* Wypycha footer na dół */
    text-align: left;
}

.kds-product-category {
    font-size: 11px;
    text-transform: uppercase;
    color: #999;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.kds-product-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.kds-product-title a {
    color: #2c3e50;
    text-decoration: none;
}

.kds-product-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 15px;
}

/* Tech Badges (uproszczone stylowanie) */
.kds-tech-badges-wrap {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.kds-tech-badge {
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 4px;
    background: #f0f0f0;
    color: #555;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* 3. Divider */
.kds-card-divider {
    height: 1px;
    background: #eee;
    margin: 0 20px;
}

/* 4. Footer */
.kds-card-footer {
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.kds-price-wrap {
    font-weight: 800;
    font-size: 18px;
    color: #000; /* Złoty kolor ceny ze zdjęcia: #d4af37 lub czarny */
}

.kds-price-wrap del {
    font-size: 12px;
    color: #999;
    font-weight: normal;
    display: block; /* Przekreślona cena nad aktualną */
}

.kds-price-wrap ins {
    text-decoration: none;
    color: #d97706; /* Kolor ceny promocyjnej */
}

.kds-tax-label {
    font-size: 12px;
    font-weight: 600;
    color: #000;
    margin-left: 2px;
}

.kds-btn-see {
    font-size: 14px;
    font-weight: 600;
    color: #000;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.2s ease;
}

.kds-btn-see:hover {
    gap: 8px; /* Efekt przesunięcia strzałki */
    color: #333;
}
























/* ============================================================
   PRZYKLEJONE MENU (STICKY NAVBAR)
   ============================================================ */

/* Zmieniono selektor z .kds-nav-bar na .kds-header, aby pasował do pliku header.php */
.kds-header {
    background-color: #ffffff;    /* Tło jest konieczne, aby treść nie prześwitywała */
    /* Usunięto górny i dolny border, ponieważ górny może kolidować z top-bar */
    border-bottom: 1px solid #f0f0f0; 
    
    /* Kluczowe właściwości sticky */
    position: sticky;             /* Standard + -webkit-sticky jest opcjonalny */
    top: 0;                       /* Przyklej do samej góry ekranu */
    z-index: 999;                 /* Musi być wyżej niż slider i treść strony */
    
    /* Opcjonalnie: Cień, aby menu ładnie odcinało się od tła */
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    
    /* Płynność */
    transition: all 0.3s ease;
    width: 100%;
}














































/* ============================================================
   SLIDER (Twój oryginalny kod)
   ============================================================ */

/* --- NAWIGACJA --- */
.kds-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: 0.3s;
}
.kds-nav-btn:hover { background: #fff; color: #000; }
.kds-nav-btn.prev { left: 15px; }
.kds-nav-btn.next { right: 15px; }

/* --- KROPKI --- */
.kds-dots-container {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 8px;
}
.kds-dot {
    width: 10px; height: 10px;
    background: rgba(255,255,255,0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}
.kds-dot.active { background: #fff; transform: scale(1.2); }

/* --- RESPANSYWNOŚĆ SLIDER --- */
@media (max-width: 768px) {
    .kds-hero-slider-wrapper { height: 450px; border-radius: 12px; }
    .kds-hero-content { padding: 0 20px; justify-content: center; text-align: center; }
    .kds-glass-card { padding: 1.5rem; width: 100%; background: rgba(0,0,0,0.4); border: none; }
    .kds-hero-info { justify-content: center; }
    .kds-hero-title a { font-size: 1.5rem; }
    /* Ukrywamy strzałki na mobile, zostawiamy kropki */
    .kds-nav-btn { display: none; }
}
/* =====================================================
   1. ZMIENNE I KONFIGURACJA (PREMIUM)
===================================================== */
:root {
    /* Kolory */
    --kds-primary: #111111;       /* Główny czarny */
    --kds-accent: #48359a;        /* Akcent (Czerwony/Różowy) */
    --kds-accent-hover: #e04050;  
    --kds-gray-100: #f9f9f9;
    --kds-gray-200: #eeeeee;
    --kds-gray-500: #666666;
    --kds-light: #ffffff;

    /* Wymiary i Dekoracje */
    --kds-container: 1500px;
    --kds-radius: 12px;
    --kds-radius-pill: 50px;
    --kds-shadow: 0 10px 40px rgba(0,0,0,0.08);
    --kds-transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Reset podstawowy */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "DM Sans", sans-serif;
    color: var(--kds-primary);
    background: var(--kds-light);
    line-height: 1.6;
    overflow-x: hidden; /* Zapobiega poziomemu przewijaniu */
}

ul { list-style: none; }
a { text-decoration: none; color: inherit; transition: var(--kds-transition); }
img { max-width: 100%; height: auto; display: block; }

/* Kontener */
.kds-container {
    max-width: var(--kds-container);
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

/* =====================================================
   2. HEADER (GŁÓWNY PASEK)
===================================================== */
.kds-header {
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}
.kds-nav-bar {
    background: #fff;
    border-top: 1px solid #f0f0f0;
    
}
.kds-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    gap: 40px;
}

/* --- LOGO --- */
.kds-logo a {
    display: flex;
    align-items: center;
    font-family: "DM Sans", sans-serif;
    font-weight: 800;
    font-size: 26px;
    letter-spacing: -0.5px;
    color: var(--kds-primary);
}
.kds-logo-text span { color: var(--kds-accent); }


/* --- WYSZUKIWARKA (Pill Shape) --- */
.kds-search-bar {
    flex: 1;
    max-width: 550px;
}

.kds-search-bar form {
    display: flex;
    align-items: center;
    background: #f4f5f7;
    border: 2px solid transparent;
    border-radius: var(--kds-radius-pill);
    padding: 4px 6px 4px 20px;
    transition: var(--kds-transition);
}

.kds-search-bar form:focus-within {
    background: #fff;
    border-color: var(--kds-accent);
    box-shadow: 0 0 0 4px rgba(255, 71, 87, 0.1);
}

.kds-search-bar input[type="search"] {
    border: none;
    background: transparent;
    flex: 1;
    font-size: 15px;
    color: #333;
    padding: 8px 0;
    outline: none;
    font-family: "DM Sans", sans-serif;
}

.kds-search-bar button {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--kds-primary);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--kds-transition);
}

.kds-search-bar button:hover {
    background: var(--kds-accent);
}


/* --- IKONY (Konto, Koszyk) --- */
.kds-header-actions {
    display: flex;
    align-items: center;
    gap: 25px;
}

.kds-icon-link {
    font-size: 22px;
    color: #333;
    position: relative;
    display: flex;
    align-items: center;
}

.kds-icon-link:hover {
    color: var(--kds-accent);
    transform: translateY(-2px);
}

.kds-cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--kds-accent);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    height: 18px;
    min-width: 18px;
    padding: 0 4px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
}




































































/* =========================================
   KDS THEME HEADER STYLES
   ========================================= */

/* --- RESET & FONTS --- */
body {
    font-family: "DM Sans", sans-serif;
    margin: 0;
}
.kds-container {
    margin: 0 auto;
    padding: 0 20px;
}

/* --- 1. TOP BAR --- */
.kds-top-bar {
    background: #111;
    color: #fff;
    padding: 10px 0;
    font-size: 13px;
}
.kds-top-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.kds-top-link {
    color: #fff;
    text-decoration: none;
    margin-left: 20px;
    font-weight: 500;
    transition: 0.3s;
}
.kds-top-link:hover { color: #ff4757; }
.kds-top-link i { font-size: 16px; margin-right: 5px; vertical-align: middle; }

/* --- 2. HEADER MAIN --- */
.kds-header {
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}
.kds-header-inner {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.kds-logo a {
    text-decoration: none;
    font-family: "DM Sans", sans-serif;
    font-weight: 800;
    font-size: 26px;
    color: #1a1a1a;
}
.kds-logo .dot { color: #ff4757; }

/* --- ACTIONS (Icons & Buttons) --- */
.kds-header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}
.kds-icon-link {
    color: #1a1a1a;
    font-size: 22px;
    text-decoration: none;
    transition: 0.3s;
    position: relative;
}
.kds-icon-link:hover { color: #ff4757; transform: translateY(-2px); }

/* Cart count badge */
.kds-cart-icon-wrap { position: relative; }
.kds-cart-count {
    position: absolute;
    top: -5px; right: -8px;
    background: #ff4757;
    color: #fff;
    font-size: 10px;
    width: 16px; height: 16px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700;
}

/* Button */
.kds-btn {
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: 0.3s;
    display: inline-block;
}
.kds-btn-outline {
    border: 2px solid #1a1a1a;
    color: #1a1a1a;
}
.kds-btn-outline:hover {
    background: #1a1a1a;
    color: #fff;
}
.kds-btn-full {
    background: #ff4757;
    color: #fff;
    text-align: center;
    display: block;
    margin-top: 20px;
}

/* Mobile Toggles */
.kds-mobile-toggle { font-size: 28px; cursor: pointer; display: none; }
.desktop-only, .kds-socials-desktop { display: block; }

@media (max-width: 991px) {
    .kds-mobile-toggle { display: block; }
    .desktop-only, .kds-socials-desktop { display: none; }
    .mobile-hide { display: none; }
}

/* --- 4. MINI CART SIDEBAR --- */
#kds-mini-cart-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5); z-index: 3000;
    opacity: 0; visibility: hidden; transition: 0.3s;
}
#kds-mini-cart-overlay.active { opacity: 1; visibility: visible; }

#kds-mini-cart {
    position: fixed; top: 0; right: 0;
    width: 350px; max-width: 100%; height: 100%;
    background: #fff; z-index: 3001;
    transform: translateX(100%);
    transition: 0.4s ease;
    box-shadow: -5px 0 30px rgba(0,0,0,0.1);
    display: flex; flex-direction: column;
}
#kds-mini-cart.open { transform: translateX(0); }

.kds-mini-cart-header {
    padding: 20px; border-bottom: 1px solid #eee;
    display: flex; justify-content: space-between; align-items: center;
}
.kds-mini-cart-close { cursor: pointer; font-size: 24px; }
.kds-mini-cart-content { padding: 20px; overflow-y: auto; flex: 1; }


















































/* =====================================================
   HERO SLIDER – CSS (Kompatybilny z Twoim JS)
===================================================== */

/* 1. Główny kontener */
.kds-blog-hero-slider {
    width: 100%;
    max-width: 1300px;  /* Maksymalna szerokość */
    margin: 40px auto 60px; /* Odstępy góra/dół */
    padding: 0 20px;    /* Marginesy na telefonie */
    position: relative;
    overflow: hidden;   /* Ukrywa slajdy wychodzące poza obszar */
}

/* 2. Pasek przesuwny (Track) */
.kds-blog-slider-inner {
    display: flex;      /* Ustawia slajdy w rzędzie */
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1); /* Płynna animacja */
    will-change: transform; /* Optymalizacja wydajności */
}

/* 3. Pojedynczy slajd */
.kds-blog-slide {
    min-width: 100%;    /* Kluczowe dla skryptu: każdy slajd zajmuje 100% */
    flex: 0 0 100%;     /* Zabezpieczenie dla flexboxa */
    box-sizing: border-box;
    
    /* Układ wewnątrz slajdu (Lewo/Prawo) */
    display: grid;
    grid-template-columns: 1.2fr 1fr; /* Obrazek szerszy */
    gap: 40px;
    align-items: center;
    
    /* Wygląd slajdu */
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06); /* Subtelny cień */
    border: 1px solid #f0f0f0;
    overflow: hidden;
    padding: 0; /* Obrazek dotyka krawędzi */
}

/* 4. Lewa strona (Obrazek) */
.kds-blog-slide-left {
    height: 450px;
    position: relative;
    overflow: hidden;
}

.kds-blog-slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Wypełnia obszar bez deformacji */
    transition: transform 0.6s ease;
}

/* Efekt zoom na hover */
.kds-blog-slide:hover .kds-blog-slide-img {
    transform: scale(1.05);
}

/* 5. Prawa strona (Treść) */
.kds-blog-slide-right {
    padding: 40px 40px 40px 0; /* Padding z prawej */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.kds-blog-box {
    max-width: 500px;
}

/* Kategoria */
.kds-blog-cat {
    color: var(--kds-accent, #ff4757);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
    margin-bottom: 15px;
    display: block;
}

/* Tytuł */
.kds-blog-title {
    font-family: "DM Sans", sans-serif;
    font-size: 36px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 15px;
}

.kds-blog-title a {
    color: #111;
    text-decoration: none;
    transition: color 0.3s;
}

.kds-blog-title a:hover {
    color: var(--kds-accent, #ff4757);
}

/* Meta dane (Autor, Data) */
.kds-blog-meta {
    display: flex;
    gap: 20px;
    color: #888;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
}

.kds-blog-meta i {
    margin-right: 6px;
    color: var(--kds-accent, #ff4757);
}

/* Opis (Excerpt) */
.kds-blog-excerpt {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 0;
}

/* 6. Nawigacja (Kropki) */
.kds-blog-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 25px;
}

.kds-blog-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e0e0e0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.kds-blog-dots span:hover {
    background: #ccc;
}

.kds-blog-dots span.active {
    background: var(--kds-accent, #ff4757);
    transform: scale(1.2);
}


/* =====================================================
   RESPONSYWNOŚĆ (RWD)
===================================================== */

/* Tablet */
@media (max-width: 992px) {
    .kds-blog-slide {
        grid-template-columns: 1fr; /* Jedna kolumna */
        height: auto;
        gap: 0;
    }

    .kds-blog-slide-left {
        height: 280px;
    }

    .kds-blog-slide-right {
        padding: 30px; /* Wyrównany padding */
        text-align: center;
    }

    .kds-blog-box {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .kds-blog-meta {
        justify-content: center;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .kds-blog-slide-left {
        height: 200px;
    }
    
    .kds-blog-title {
        font-size: 26px;
    }
    
    .kds-blog-meta {
        font-size: 12px;
        gap: 15px;
    }
}
/* =====================================================
   SLIDER CONTROLS (STRZAŁKI I KROPKI)
===================================================== */

/* --- KROPKI (PAGINACJA) --- */
.kds-blog-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 30px;
    position: relative;
    z-index: 10;
}

.kds-blog-dots span {
    display: block;
    width: 12px;
    height: 12px;
    background: #e0e0e0; /* Szary nieaktywny */
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 2px solid transparent; /* Przygotowanie pod border */
}

.kds-blog-dots span:hover {
    background: #ccc;
    transform: scale(1.1);
}

/* Aktywna kropka - zmienia się w "pastylkę" */
.kds-blog-dots span.active {
    width: 30px;
    background: var(--kds-accent, #ff4757);
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(255, 71, 87, 0.3);
}

/* --- STRZAŁKI (NAWIGACJA) --- */
.kds-nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    color: #111;
    font-size: 18px;
    opacity: 0; /* Domyślnie ukryte, pokażą się po najechaniu na slider */
    visibility: hidden;
}

/* Pozycje strzałek */
.kds-nav-arrow.prev { left: 20px; }
.kds-nav-arrow.next { right: 20px; }

/* Hover na strzałkę */
.kds-nav-arrow:hover {
    background: var(--kds-accent, #ff4757);
    color: #fff;
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 15px 40px rgba(255, 71, 87, 0.4);
}

/* Pokaż strzałki gdy myszka jest na sliderze */
.kds-blog-hero-slider:hover .kds-nav-arrow {
    opacity: 1;
    visibility: visible;
}

/* RWD - Na telefonach strzałki mniejsze i zawsze widoczne (lub ukryte, wg uznania) */
@media (max-width: 768px) {
    .kds-nav-arrow {
        width: 40px;
        height: 40px;
        font-size: 16px;
        opacity: 1; /* Zawsze widoczne na mobile */
        visibility: visible;
        background: rgba(255,255,255,0.9);
    }
    .kds-nav-arrow.prev { left: 10px; }
    .kds-nav-arrow.next { right: 10px; }
    
    .kds-blog-dots { margin-top: 20px; }
}

























/* ============================================================
   KATEGORIE - MODERN OVERLAY STYLE
   ============================================================ */

/* Siatka */
.kds-category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 kolumny */
    gap: 30px;
}

/* Główna karta */
.kds-cat-card {
    position: relative;
    display: block;
    height: 380px; /* Wysokie kafelki wyglądają lepiej */
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    background: #000; /* Kolor tła pod zdjęciem */
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Hover na kartę: uniesienie */
.kds-cat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* Kontener obrazka */
.kds-cat-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 1;
}

/* Obrazek */
.kds-cat-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9; /* Lekkie przyciemnienie */
    transition: transform 0.6s ease, opacity 0.6s ease;
}

/* Zoom obrazka na hover */
.kds-cat-card:hover .kds-cat-bg img {
    transform: scale(1.1);
    opacity: 0.7; /* Mocniejsze przyciemnienie na hover */
}

/* Overlay (Tekst i Gradient) */
.kds-cat-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 2;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Tekst na dole */
    /* Profesjonalny gradient od dołu */
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 50%, transparent 100%);
}

/* Tytuł kategorii */
.kds-cat-info h3 {
    font-family: "DM Sans", sans-serif;
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 8px 0;
    line-height: 1.2;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

/* Pastylka z licznikiem */
.kds-cat-pill {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(5px);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.3);
    transition: 0.3s;
}

.kds-cat-card:hover .kds-cat-pill {
    background: var(--kds-accent, #ff4757);
    border-color: var(--kds-accent, #ff4757);
}

/* Strzałka (Pojawia się na hover) */
.kds-cat-arrow {
    position: absolute;
    bottom: 30px;
    right: 30px;
    width: 40px; height: 40px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111;
    font-size: 18px;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Animacja strzałki na hover */
.kds-cat-card:hover .kds-cat-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* RESPONSYWNOŚĆ */
@media (max-width: 1200px) {
    .kds-category-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .kds-category-grid { grid-template-columns: 1fr; }
    .kds-cat-card { height: 280px; }
    .kds-cat-info h3 { font-size: 20px; }
    /* Na mobile strzałka zawsze widoczna */
    .kds-cat-arrow { opacity: 1; transform: none; width: 35px; height: 35px; font-size: 16px; }
}
/* ============================================================
   FOOTER – PREMIUM STYLE
   ============================================================ */

/* Główny kontener stopki */
.kds-footer {
    background: #f9f9f9; /* Bardzo jasne tło */
    border-top: 1px solid #eee;
    padding-top: 80px;
    margin-top: 60px;
    font-family: "DM Sans", sans-serif;
}

/* --- SEKCJA WIDGETÓW (GÓRA) --- */
.kds-footer-widgets {
    padding-bottom: 60px;
}

.kds-footer-widgets-inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 równe kolumny */
    gap: 50px;
}

/* Pojedynczy widget w stopce */
.kds-footer-widget h2, 
.kds-footer-widget h3, 
.kds-footer-widget .widget-title {
    font-family: "DM Sans", sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #111;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Listy linków w stopce */
.kds-footer-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.kds-footer-widget ul li {
    margin-bottom: 12px;
}

.kds-footer-widget ul li a {
    color: #555;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s ease, padding-left 0.3s ease;
    display: inline-block;
}

.kds-footer-widget ul li a:hover {
    color: var(--kds-accent, #ff4757);
    padding-left: 5px; /* Efekt przesunięcia */
}

/* Tekst w widgetach */
.kds-footer-widget p {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
}


/* --- DOLNY PAS STOPKI (COPYRIGHT + MENU) --- */
.kds-footer-bottom {
    background: #fff; /* Białe odcięcie na dole */
    border-top: 1px solid #eee;
    padding: 30px 0;
}

.kds-flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.kds-footer-copy {
    font-size: 14px;
    color: #888;
}

/* Menu w stopce (poziome) */
.kds-footer-nav {
    display: flex;
    gap: 25px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.kds-footer-nav li a {
    font-size: 14px;
    font-weight: 500;
    color: #444;
    text-decoration: none;
    transition: color 0.2s;
}

.kds-footer-nav li a:hover {
    color: var(--kds-accent, #ff4757);
    text-decoration: underline;
}


/* ============================================================
   RESPONSYWNOŚĆ (RWD)
   ============================================================ */
@media (max-width: 992px) {
    .kds-footer-widgets-inner {
        grid-template-columns: repeat(2, 1fr); /* 2 kolumny na tablecie */
    }
}

@media (max-width: 768px) {
    .kds-footer {
        padding-top: 50px;
    }
    
    .kds-footer-widgets-inner {
        grid-template-columns: 1fr; /* 1 kolumna na telefonie */
        gap: 40px;
    }
    
    .kds-footer-bottom .kds-flex-between {
        flex-direction: column;
        text-align: center;
    }
    
    .kds-footer-nav {
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }
}



























/* ============================================================
   GALERIA PREMIUM (LIGHT & AIRY) - NAPRAWIONA
   ============================================================ */

/* 1. Wrapper (Kontener) */
.premium-gallery-wrapper {
    position: relative;
    background-color: transparent; /* Lekkie tło */
    padding: 0; 
    min-height: auto;
    display: block; /* Reset flexa */
}

/* 2. Główny obrazek (Wygląd karty) */
.woocommerce-product-gallery__image {
    border-radius: 24px;       /* Duże zaokrąglenie */
    overflow: hidden;
    background: #fff;          /* Białe tło pod zdjęciem */
    border: 1px solid #f0f0f0; /* Delikatna ramka */
    
    /* Cień Premium */
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.05);
    margin-bottom: 20px;       /* Odstęp od miniatur */
    position: relative;
    transition: transform 0.3s ease;
}

.woocommerce-product-gallery__image:hover {
    transform: translateY(-3px);
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.1);
}

.woocommerce-product-gallery__image img {
    width: 100% !important;
    height: auto !important;
    display: block;
    object-fit: contain;
}

/* 3. Miniatury (Flex control thumbs) */
.flex-control-thumbs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.flex-control-thumbs li {
    width: 80px !important;     /* Większe miniatury */
    height: 80px !important;
    border-radius: 14px;        /* Zaokrąglenie */
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    float: none !important; /* Reset floatów Woo */
}

.flex-control-thumbs li img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    transition: opacity 0.3s;
}

/* Aktywna miniatura */
.flex-control-thumbs li:hover,
.flex-control-thumbs li img.flex-active {
    border-color: var(--kds-accent, #ff4757); /* Kolor akcentu */
    transform: translateY(-2px);
}

.flex-control-thumbs li:hover img,
.flex-control-thumbs li img.flex-active {
    opacity: 1;
}

/* 4. LUPA (Powiększanie) */
.woocommerce-product-gallery__trigger {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    z-index: 99;
    text-indent: -9999px; /* Ukryj tekst */
    overflow: hidden;
    transition: 0.3s;
}

.woocommerce-product-gallery__trigger::before {
    content: '\f00e'; /* FontAwesome Search Plus */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 18px;
    color: #333;
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    text-indent: 0;
}

.woocommerce-product-gallery__trigger:hover {
    background: var(--kds-primary, #111);
    transform: scale(1.1);
}

.woocommerce-product-gallery__trigger:hover::before {
    color: #fff;
}

/* RWD */
@media (max-width: 768px) {
    .woocommerce-product-gallery__trigger {
        top: 10px; right: 10px;
    }
    .flex-control-thumbs li {
        width: 60px !important;
        height: 60px !important;
    }
}
/* Badge "Najlepszy wybór" - Wersja Premium */
.bz-lic-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    
    /* Złoty gradient i cień */
    background: linear-gradient(135deg, #d4af37 0%, #edc967 100%);
    box-shadow: 0 6px 15px rgba(212, 175, 55, 0.3);
    
    color: #fff;
    padding: 6px 18px;
    border-radius: 30px; /* Bardziej zaokrąglony */
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    
    /* Flex dla ikonki */
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Dodanie ikonki gwiazdki z Line Awesome przed tekstem */
.bz-lic-badge::before {
    content: '\f005'; /* Kod ikony la-star */
    font-family: "Line Awesome Free";
    font-weight: 900;
    font-size: 14px;
}

/* Karta wyróżniona */
.bz-lic-card.best {
    border: 2px solid #d4af37;
    transform: scale(1.05);
    box-shadow: 0 20px 50px rgba(212, 175, 55, 0.15);
    z-index: 2;
}
/* 5. LUPA (Powiększanie) – PREMIUM Z LINE AWESOME */
.woocommerce-product-gallery__trigger {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #fff;
    
    /* Premium border i cień */
    border: 2px solid #f8f8f8;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    
    z-index: 99;
    
    /* Centrowanie */
    display: flex !important;
    align-items: center;
    justify-content: center;
    
    text-indent: 0 !important; /* Pokazujemy ikonę */
    
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Nadpisanie ikony WooCommerce na Line Awesome */
.woocommerce-product-gallery__trigger::before {
    content: '\f00e' !important; /* Kod ikony la-search-plus z Line Awesome */
    font-family: "Line Awesome Free" !important;
    font-weight: 900 !important;
    font-size: 20px !important;
    color: #333; /* Kolor ikony */
    
    /* Reset standardowych pozycji Woo */
    position: static !important;
    transform: none !important;
    background: none !important;
    
    transition: color 0.3s ease;
}

/* Efekt hover na lupę */
.woocommerce-product-gallery__trigger:hover {
    border-color: #d4af37; /* Złota ramka */
    background: linear-gradient(135deg, #d4af37 0%, #edc967 100%); /* Złote tło */
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3); /* Złoty cień */
}

.woocommerce-product-gallery__trigger:hover::before {
    color: #fff; /* Biała ikona na złotym tle */
}
/* --- NAGŁÓWEK I LICZNIK --- */
.kds-section-header {
    text-align: center;
    margin-bottom: 40px;
}
.kds-section-title {
    font-size: 2.2rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 15px;
}
.kds-count-badge {
    background: #48359a; /* Kolor akcentu */
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-2px); /* Lekkie uniesienie */
    box-shadow: 0 4px 10px rgba(231, 76, 60, 0.3);
}
.kds-section-desc {
    color: #777;
    margin-top: 10px;
}

/* --- GRID PRODUKTÓW --- */
.bz-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 kolumny */
    gap: 30px;
}

/* --- KARTA PRODUKTU --- */
.bz-product-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.bz-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    border-color: transparent;
}

/* Zdjęcie */
.bz-product-img-wrap {
    position: relative;
    padding-top: 100%; /* Kwadrat 1:1 */
    overflow: hidden;
    background: #f9f9f9;
}
.bz-product-img-wrap img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.bz-product-card:hover .bz-product-img-wrap img {
    transform: scale(1.05);
}

/* Quick Actions (Koszyk na zdjęciu) */
.bz-quick-actions {
    position: absolute;
    bottom: 15px;
    right: 15px;
    transform: translateY(20px);
    opacity: 0;
    transition: 0.3s;
}
.bz-product-card:hover .bz-quick-actions {
    transform: translateY(0);
    opacity: 1;
}
.bz-quick-btn {
    width: 40px; height: 40px;
    background: #fff;
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    font-size: 1.2rem;
    transition: 0.2s;
}
.bz-quick-btn:hover {
    background: #000;
    color: #fff;
}

/* Treść */
.bz-card-body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.bz-card-cat {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #999;
    font-weight: 600;
    margin-bottom: 5px;
}
.bz-card-title {
    font-size: 1.1rem;
    margin: 0 0 10px;
    line-height: 1.4;
}
.bz-card-title a {
    color: #2c3e50;
    text-decoration: none;
    transition: 0.2s;
}
.bz-card-title a:hover { color: #48359a; }

/* Dane techniczne */
.bz-tech-info-mini {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}
.bz-tech-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.75rem;
    background: #f4f6f8;
    padding: 4px 8px;
    border-radius: 4px;
    color: #555;
}

/* Bateria */
.bz-mini-battery {
    width: 20px; height: 8px;
    background: #ddd;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}
.bz-mini-fill { height: 100%; border-radius: 2px; }
.bz-fill-low { background: #48359a; }
.bz-fill-mid { background: #f1c40f; }
.bz-fill-high { background: #2ecc71; }

.bz-card-separator {
    height: 1px;
    background: #eee;
    margin-top: auto; /* Dopycha footer do dołu */
    margin-bottom: 15px;
}

/* Footer */
.bz-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.bz-price {
    font-weight: 700;
    color: #000;
    font-size: 1.1rem;
}
.bz-details-btn {
    font-size: 0.85rem;
    font-weight: 600;
    color: #000;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
}
.bz-details-btn:hover { color: #48359a; }

/* RWD */
@media (max-width: 1024px) {
    .bz-products-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .bz-products-grid { grid-template-columns: 1fr; }
}
/* =====================================================
   1. SEKCJA KATEGORII NA STRONIE GŁÓWNEJ
===================================================== */


/* --- SEKCJA --- */
.kds-categories-section {
    padding: 60px 0;
    background: #fff; /* Lub #f8f9fa jeśli chcesz odróżnić od tła */
}

/* --- GRID --- */
.kds-cat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 kolumny */
    gap: 30px;
}

/* --- BOX KATEGORII --- */
.kds-cat-box {
    position: relative;
    display: block;
    height: 350px; /* Stała wysokość kafelka */
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    background: #000; /* Kolor bazowy pod zdjęciem */
}

/* Tło (Zdjęcie) */
.kds-cat-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0.9;
}

/* Efekt zoomu zdjęcia po najechaniu na cały box */
.kds-cat-box:hover .kds-cat-bg {
    transform: scale(1.1);
    opacity: 0.7; /* Lekko przyciemniamy zdjęcie, by tekst był czytelniejszy */
}

/* Gradient (żeby tekst był czytelny) */
.kds-cat-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 60%);
    z-index: 1;
}

/* Treść */
.kds-cat-content {
    position: absolute;
    bottom: 0; left: 0;
    width: 100%;
    padding: 25px;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

/* Teksty */
.kds-cat-info {
    display: flex;
    flex-direction: column;
}

.kds-cat-count {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
    font-weight: 500;
}

.kds-cat-name {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* Ikona Strzałki (Button) */
.kds-cat-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px); /* Efekt szkła */
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    transition: all 0.3s ease;
}

/* Animacja ikony */
.kds-cat-box:hover .kds-cat-icon {
    background: #fff;
    color: #000;
    transform: translateX(5px); /* Przesunięcie strzałki w prawo */
}

/* --- RESPANSYWNOŚĆ --- */
@media (max-width: 1024px) {
    .kds-cat-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 kolumny na tabletach */
    }
    .kds-cat-box {
        height: 300px;
    }
}

@media (max-width: 600px) {
    .kds-cat-grid {
        grid-template-columns: 1fr; /* 1 kolumna na telefonach */
    }
}





























/* ============================================================
   SEKCJA NEWSLETTER NA STRONIE GŁÓWNEJ
   ============================================================ */
/* --- GŁÓWNA SEKCJA --- */
.kds-newsletter-section {
    position: relative;
    padding: 80px 0;
    background: #111; /* Bardzo ciemne tło */
    overflow: hidden;
    color: #fff;
    text-align: center;
}

/* Dekoracyjne tło (delikatny gradient) */
.kds-newsletter-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 50% -20%, #2c3e50 0%, #111 70%);
    opacity: 0.6;
    z-index: 0;
}

/* Kontener treści */
.kds-newsletter-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

/* Ikona */
.kds-news-icon {
    font-size: 3rem;
    color: #48359a;
    margin-bottom: 20px;
    display: inline-block;
    background: rgba(231, 76, 60, 0.1);
    width: 80px; height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Typografia */
.kds-news-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
}

.kds-news-desc {
    font-size: 1.1rem;
    color: #bbb; /* Szary tekst dla lepszego kontrastu */
    line-height: 1.6;
    margin-bottom: 35px;
}
.kds-news-desc strong { color: #fff; }

/* --- FORMULARZ --- */
.kds-input-wrapper {
    position: relative;
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px; /* Pill shape */
    padding: 5px;
    transition: 0.3s;
}

.kds-input-wrapper:focus-within {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

/* Input text */
.kds-input-wrapper input {
    flex-grow: 1;
    background: transparent;
    border: none;
    color: #fff;
    padding: 15px 25px;
    font-size: 1rem;
    outline: none;
}
.kds-input-wrapper input::placeholder { color: #aaa; }

/* Przycisk */
.kds-news-btn {
    background: #48359a;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
    min-width: 140px;
    justify-content: center;
}
.kds-news-btn:hover {
    background: #c0392b;
    transform: translateX(2px);
}

/* Loader w przycisku (ukryty) */
.btn-loader { display: none; animation: spin 1s linear infinite; }
@keyframes spin { 100% { transform: rotate(360deg); } }

/* Disclaimer */
.kds-news-disclaimer {
    margin-top: 15px;
    font-size: 0.8rem;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

/* Wiadomość sukcesu */
.kds-news-success {
    display: none;
    background: #27ae60;
    color: #fff;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    animation: fadeIn 0.5s;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
}
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* RWD */
@media (max-width: 600px) {
    .kds-news-title { font-size: 1.8rem; }
    .kds-input-wrapper { flex-direction: column; border-radius: 12px; padding: 15px; background: transparent; border: none; }
    .kds-input-wrapper input { background: rgba(255,255,255,0.1); border-radius: 8px; margin-bottom: 15px; text-align: center; border: 1px solid rgba(255,255,255,0.2); }
    .kds-news-btn { width: 100%; border-radius: 8px; }
}
/* ============================================================
   SEKCJA BLOGA NA STRONIE GŁÓWNEJ
============================================================ */
   
/* --- SEKCJA --- */
.kds-blog-section {
    padding: 80px 0;
    background: #f8f9fa; /* Jasnoszare tło dla oddzielenia sekcji */
}

/* Header Flex (Tytuł po lewej, przycisk po prawej) */
.kds-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}
.kds-view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #555;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid #ddd;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.9rem;
    transition: 0.3s;
    background: #fff;
}
.kds-view-all-btn:hover {
    background: #000;
    color: #fff;
    border-color: #000;
}

/* --- GRID --- */
.kds-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* --- KARTA BLOGA --- */
.kds-blog-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.kds-blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

/* Zdjęcie */
.kds-blog-thumb {
    position: relative;
    height: 220px;
    overflow: hidden;
}
.kds-blog-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.kds-blog-card:hover .kds-blog-thumb img {
    transform: scale(1.08);
}

/* Data Badge (Kwadrat) */
.kds-date-badge {
    position: absolute;
    top: 15px; left: 15px;
    background: #fff;
    padding: 8px 12px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    line-height: 1;
    z-index: 2;
}
.kds-date-badge .day {
    display: block;
    font-size: 1.2rem;
    font-weight: 800;
    color: #000;
}
.kds-date-badge .month {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    color: #48359a; /* Kolor akcentu */
    font-weight: 700;
    margin-top: 2px;
}

/* Treść */
.kds-blog-body {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* Meta (Kategoria, Czas) */
.kds-blog-meta-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #888;
    margin-bottom: 12px;
    text-transform: uppercase;
    font-weight: 600;
}
.kds-blog-cat i, .kds-read-time i {
    color: #48359a;
    margin-right: 3px;
}

/* Tytuł */
.kds-blog-title {
    font-size: 1.2rem;
    margin: 0 0 12px;
    line-height: 1.4;
    font-weight: 700;
}
.kds-blog-title a {
    color: #2c3e50;
    text-decoration: none;
    transition: 0.2s;
}
.kds-blog-title a:hover { color: #48359a; }

/* Excerpt */
.kds-blog-excerpt {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1; /* Wypycha przycisk na dół */
}

/* Link */
.kds-read-more {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #000;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: 0.3s;
}
.kds-read-more:hover {
    color: #48359a;
    gap: 10px; /* Efekt odsunięcia strzałki */
}

/* --- RWD --- */
@media (max-width: 900px) {
    .kds-blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .kds-header-flex { flex-direction: column; align-items: flex-start; gap: 15px; }
    .kds-blog-grid { grid-template-columns: 1fr; }
    .kds-view-all-btn { width: 100%; justify-content: center; }
}  
/* ============================================================
   SEKCJA LOGA PLATFORM
============================================================ */   
/* --- SEKCJA LOGOTYPÓW --- */
.kds-tech-logos-section {
    padding: 60px 0;
    background: #fff;
    border-top: 1px solid #f0f0f0; /* Subtelna linia oddzielająca */
    text-align: center;
}

/* Nagłówek sekcji */
.kds-logos-heading {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #999;
    margin-bottom: 40px;
    font-weight: 600;
}

/* Flexbox Kontener */
.kds-logos-flex {
    display: flex;
    justify-content: center; /* Wyśrodkowanie */
    align-items: center;
    flex-wrap: wrap; /* Zwijanie na mniejszych ekranach */
    gap: 40px 60px; /* Odstępy: góra-dół 40px, lewo-prawo 60px */
}

/* Pojedynczy element logo */
.kds-logo-item {
    position: relative;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Obrazek logo */
.kds-logo-item img {
    display: block;
    max-height: 40px; /* Ujednolicona wysokość */
    width: auto;      /* Szerokość dostosuje się sama */
    max-width: 150px;
    
    /* Stan spoczynku: Szary i półprzezroczysty */
    filter: grayscale(100%);
    opacity: 0.4;
    transition: all 0.4s ease;
}

/* --- EFEKT HOVER --- */
.kds-logo-item:hover {
    transform: scale(1.1); /* Lekkie powiększenie */
}

.kds-logo-item:hover img,
.kds-logo-item:hover span {
    filter: grayscale(0%); /* Przywróć kolor */
    opacity: 1; /* Pełna widoczność */
}

/* --- TOOLTIP (Dymek z nazwą) --- */
.kds-logo-item::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #000;
    color: #fff;
    font-size: 0.75rem;
    padding: 5px 10px;
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    white-space: nowrap;
    z-index: 10;
}

/* Trójkącik tooltipa */
.kds-logo-item::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    border: 5px solid transparent;
    border-bottom-color: #000; /* Strzałka w górę wskazuje na logo, więc border-bottom */
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

/* Pokazywanie tooltipa */
.kds-logo-item:hover::before,
.kds-logo-item:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* --- RESPANSYWNOŚĆ --- */
@media (max-width: 768px) {
    .kds-logos-flex {
        gap: 30px;
    }
    .kds-logo-item img {
        max-height: 30px; /* Mniejsze logo na mobile */
        max-width: 100px;
    }
}
/* ============================================================
 SEKCJA INFORMACYJNA
============================================================ */ 
.kds-info-section {
    padding: 50px 0;
    background: #fff;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

/* Grid dla widgetów */
.kds-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 równe kolumny */
    gap: 30px;
    text-align: center;
}

/* Styl pojedynczego widgetu (boxa) */
.kds-info-box {
    padding: 10px;
}

/* Ikona (jeśli użyjesz w HTML) */
.kds-info-icon {
    font-size: 2rem;
    color: #48359a;
    margin-bottom: 15px;
    display: inline-block;
}

/* Tytuł widgetu */
.kds-info-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #000;
    text-transform: none; /* Reset stylów WP */
}

/* Tekst widgetu */
.kds-info-box p, 
.kds-info-box .textwidget {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* --- RESPANSYWNOŚĆ --- */
@media (max-width: 900px) {
    .kds-info-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 kolumny na tabletach */
        gap: 40px 20px;
    }
}

@media (max-width: 600px) {
    .kds-info-grid {
        grid-template-columns: 1fr; /* 1 kolumna na telefonach */
    }
}






/* ============================================================
 SEKCJA BEZPIECZNYCH PŁATNOŚCI
============================================================ */ 
.kds-payment-section {
    background-color: #f8f9fa; /* Bardzo jasne tło, odróżnia się od widgetów */
    border-top: 1px solid #eee;
    padding: 15px 0;
}

.kds-payment-flex {
    display: flex;
    justify-content: center; /* Wyśrodkowanie */
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.kds-pay-label {
    font-size: 0.85rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.kds-pay-icons {
    display: flex;
    align-items: center;
    gap: 25px; /* Odstępy między logami */
    flex-wrap: wrap;
    justify-content: center;
}

.kds-pay-icons img {
    height: 24px; /* Stała wysokość ikon - kluczowe dla ładnego wyglądu */
    width: auto;
    display: block;
    
    /* Efekt szarości (Trust Bar style) */
    filter: grayscale(100%);
    opacity: 0.5;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: help; /* Kursor znaku zapytania po najechaniu */
}

/* Efekt po najechaniu myszką */
.kds-pay-icons img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1); /* Lekkie powiększenie */
}

/* Dostosowania dla mobile */
@media (max-width: 600px) {
    .kds-payment-flex {
        flex-direction: column;
        gap: 10px;
    }
    .kds-pay-icons {
        gap: 20px;
    }
}
/* ============================================================
 STYL POJEDYNCZY WPIS NA BLOGU
============================================================ */ 
/* --- ELEMENT SPECIAL: CZYTAJ RÓWNIEŻ (Beżowy Box) --- */
.kds-read-also-box {
    background: #fff9f0; /* Jasny beż */
    border: 1px solid #fcedd8;
    border-radius: 16px;
    padding: 20px;
    margin: 40px 0;
    display: flex;
    gap: 20px;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
    clear: both; /* Ważne, żeby nie nachodziło na obrazki */
}

.kds-ra-thumb {
    flex-shrink: 0;
    width: 140px;
    height: 100px;
    border-radius: 12px;
    overflow: hidden;
}
.kds-ra-thumb img { width: 100%; height: 100%; object-fit: cover; }
.kds-ra-placeholder {
    width: 100%; height: 100%; background: #eee;
    display: flex; align-items: center; justify-content: center; font-size: 30px; color: #ccc;
}

.kds-ra-content { flex-grow: 1; }

.kds-ra-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: #e67e22;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.kds-ra-title {
    margin: 0 0 10px;
    font-size: 1.1rem;
    line-height: 1.4;
    font-weight: 700;
}
.kds-ra-title a { color: #000; text-decoration: none; }
.kds-ra-title a:hover { text-decoration: underline; }

.kds-ra-meta { font-size: 0.85rem; color: #888; }
.kds-ra-meta span { margin-right: 15px; }
.kds-ra-meta i { color: #aaa; margin-right: 3px; }

@media (max-width: 600px) {
    .kds-read-also-box { flex-direction: column; text-align: center; }
    .kds-ra-thumb { width: 100%; height: 160px; }
}
/* --- META DANE (Czas czytania) --- */
.kds-meta-details {
    font-size: 0.85rem;
    color: #888;
    margin-top: 2px;
}
.meta-separator { margin: 0 5px; color: #ccc; }
.read-time i { color: #d4af37; /* Złoty zegarek */ }


/* --- CYTAT EKSPERCKI (Shortcode) --- */
.kds-quote-box {
    background-color: #fff9f0; /* Kremowe tło jak na zdjęciu */
    border-left: 5px solid #d4af37; /* Złoty pasek po lewej */
    border-radius: 8px; /* Lekkie zaokrąglenie rogów po prawej */
    padding: 30px;
    margin: 40px 0;
    position: relative;
    box-shadow: 0 5px 20px rgba(0,0,0,0.02);
}

/* Ikona cudzysłowu nad tekstem (blada) */
.kds-quote-icon {
    font-size: 2rem;
    color: #ffead0; /* Bardzo jasny pomarańcz */
    position: absolute;
    top: -15px;
    left: 20px;
    background: #fff; /* Żeby uciąć linię tła jeśli trzeba */
    padding: 0 10px;
    display: none; /* Opcjonalnie: usuń tę linię jeśli chcesz widzieć cudzysłów nad boxem */
}

/* Tekst cytatu */
.kds-quote-content {
    font-family: 'Georgia', serif; /* Czcionka szeryfowa dla elegancji */
    font-size: 1.1rem;
    color: #2c3e50;
    line-height: 1.6;
    margin: 0;
}

/* Drop Cap (Wielka pierwsza litera) */
.kds-dropcap {
    float: left;
    font-family: 'Playfair Display', 'Times New Roman', serif; /* Ozdobna czcionka */
    font-size: 4rem;
    line-height: 0.8;
    color: #000;
    font-weight: 700;
    margin-right: 12px;
    margin-top: 5px;
}

/* Czyszczenie opływania po cytacie */
.kds-quote-box::after {
    content: "";
    display: table;
    clear: both;
}











































/* --- GŁÓWNY WRAPPER --- */
.kds-article-wrapper {
    background: #fff;
    padding: 60px 0;
    color: #333;
}

/* --- UKŁAD GRID (Lewo / Prawo) --- */
.kds-article-grid {
    display: grid;
    /* Lewa kolumna: 60px, Prawa: Reszta (max 900px dla czytelności) */
    grid-template-columns: 60px minmax(0, 900px); 
    gap: 60px;
    justify-content: center; /* Wyśrodkowanie całości */
}

/* --- LEWA KOLUMNA (Sticky Socials) --- */
.kds-sticky-share {
    position: sticky;
    top: 100px; /* Odstęp od góry ekranu przy scrollowaniu */
    height: fit-content;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.share-label {
    writing-mode: vertical-rl; /* Pionowy tekst */
    transform: rotate(180deg); /* Obrót, żeby czytało się od dołu do góry (jak na screenie) */
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 2px;
    color: #999;
    margin-bottom: 20px;
    font-weight: 600;
}

.share-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px; 
    height: 40px;
    border-radius: 50%; /* Opcjonalnie kółeczka */
    color: #555;
    font-size: 1.4rem;
    margin-bottom: 15px;
    transition: 0.3s;
    text-decoration: none;
}

.share-icon:hover {
    color: #000;
    background: #f5f5f5;
}

/* --- PRAWA KOLUMNA (Treść) --- */

/* Header */
.kds-clean-header {
    margin-bottom: 40px;
}

.kds-top-cat {
    display: inline-block;
    font-size: 0.85rem;
    text-transform: uppercase;
    color: #d4af37; /* Złoty kolor ze zdjęcia */
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 15px;
    text-decoration: none;
}

.kds-main-title {
    font-size: 2.8rem; /* Duży tytuł */
    font-weight: 700;
    line-height: 1.2;
    color: #000;
    margin-bottom: 25px;
}

/* Meta (Autor + Data) */
.kds-meta-row {
    display: flex;
    align-items: center;
    gap: 15px;
}

.kds-meta-avatar img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    background: #eee;
}

.kds-meta-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.author-name {
    font-weight: 700;
    color: #000;
    font-size: 0.95rem;
}

.post-date {
    font-size: 0.85rem;
    color: #888;
    margin-top: 2px;
}

/* Zdjęcie wyróżniające */
.kds-featured-image-wrapper {
    margin-bottom: 50px;
    border-radius: 20px; /* Mocne zaokrąglenie */
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08); /* Delikatny cień pod obrazkiem */
}

.kds-rounded-hero {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s;
}
.kds-featured-image-wrapper:hover .kds-rounded-hero {
    transform: scale(1.02); /* Mikro zoom */
}

/* Typografia treści */
.kds-the-content {
    font-size: 1.15rem; /* Troszkę większy tekst dla czytelności */
    line-height: 1.8;
    color: #2c3e50;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.kds-the-content p { margin-bottom: 25px; }

.kds-the-content h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-top: 50px;
    margin-bottom: 20px;
    color: #000;
}

/* Tagi */
.kds-tags-list {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}
.kds-tags-list a {
    display: inline-block;
    background: #f5f5f5;
    padding: 6px 14px;
    border-radius: 20px;
    color: #666;
    text-decoration: none;
    font-size: 0.85rem;
    margin-right: 10px;
    margin-bottom: 10px;
    transition: 0.2s;
}
.kds-tags-list a:hover {
    background: #000;
    color: #fff;
}

/* --- RESPANSYWNOŚĆ (Mobile) --- */
@media (max-width: 1024px) {
    .kds-article-grid {
        grid-template-columns: 1fr; /* Jedna kolumna */
        gap: 30px;
        max-width: 100%;
        padding: 0 20px;
    }

    /* Ukrywamy sticky sidebar na telefonach lub przenosimy na dół */
    .kds-sticky-share {
        position: static;
        flex-direction: row;
        justify-content: center;
        gap: 20px;
        order: 2; /* Przenieś pod wpis lub nad */
        margin-bottom: 30px;
    }
    
    .share-label {
        display: none; /* Ukryj napis "Udostępnij" na mobile bo jest pionowy */
    }

    .kds-main-title { font-size: 2rem; }
}























/* --- HERO ARCHIWUM --- */
.kds-archive-hero {
    position: relative;
    background-color: #2c3e50; /* Ciemne tło */
    background-image: linear-gradient(135deg, #2c3e50 0%, #000000 100%);
    padding: 80px 0;
    text-align: center;
    color: #fff;
    margin-bottom: 60px;
}

.kds-hero-content-center {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.kds-hero-subtitle {
    display: inline-block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #d4af37; /* Złoty akcent */
    margin-bottom: 10px;
    font-weight: 700;
}

.kds-archive-title {
    font-size: 3rem;
    font-weight: 800;
    margin: 0 0 15px;
    line-height: 1.1;
}

.kds-archive-desc {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
}

/* --- GRID WPISÓW --- */
.kds-archive-section {
    padding-bottom: 80px;
}

.kds-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 kolumny */
    gap: 40px;
}

/* KARTA BLOGA (Magazine Style) */
.kds-blog-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid #f0f0f0;
}

.kds-blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    border-color: transparent;
}

/* Thumbnail */
.kds-blog-thumb {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.kds-blog-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.kds-blog-card:hover .kds-blog-thumb img {
    transform: scale(1.08); /* Zoom efekt */
}

/* Placeholder jeśli brak zdjęcia */
.kds-no-thumb {
    width: 100%; height: 100%; background: #f0f0f0;
    display: flex; align-items: center; justify-content: center;
    font-size: 40px; color: #ccc;
}

/* Badge Daty (Kwadrat) */
.kds-date-badge {
    position: absolute;
    top: 15px; left: 15px;
    background: #fff;
    padding: 6px 12px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    line-height: 1;
    z-index: 2;
}
.kds-date-badge .day {
    display: block; font-size: 1.2rem; font-weight: 800; color: #000;
}
.kds-date-badge .month {
    display: block; font-size: 0.7rem; text-transform: uppercase; color: #48359a; font-weight: 700;
}

/* Kategoria na zdjęciu (Prawy dolny róg) */
.kds-thumb-cat {
    position: absolute;
    bottom: 15px; right: 15px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 4px;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 600;
    transition: 0.3s;
}
.kds-thumb-cat:hover { background: #48359a; }


/* Body karty */
.kds-blog-body {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.kds-blog-title {
    font-size: 22px!important;
    margin: 0 0 10px;
    line-height: 1.4;
    font-weight: 700;
}
.kds-blog-title a { color: #2c3e50; text-decoration: none; transition: 0.2s; }
.kds-blog-title a:hover { color: #48359a; }

.kds-blog-meta-small {
    font-size: 0.8rem;
    color: #999;
    margin-bottom: 15px;
    display: flex; gap: 15px;
}
.kds-blog-meta-small i { color: #ccc; margin-right: 4px; }

.kds-blog-excerpt {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.kds-read-more-btn {
    font-size: 0.9rem;
    font-weight: 700;
    color: #000;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: 0.3s;
}
.kds-read-more-btn:hover { color: #48359a; gap: 10px; }


/* --- PAGINACJA --- */
.kds-pagination {
    margin-top: 60px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.kds-pagination a, 
.kds-pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px; height: 45px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #eee;
    color: #333;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
}

.kds-pagination a:hover,
.kds-pagination span.current {
    background: #000;
    color: #fff;
    border-color: #000;
}

/* --- RWD --- */
@media (max-width: 1024px) {
    .kds-blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .kds-blog-grid { grid-template-columns: 1fr; }
    .kds-archive-title { font-size: 2rem; }
}


























/* --- 1. Kontener akcji (wyrównanie) --- */
.kds-header-actions {
    display: flex;
    align-items: center;
    gap: 20px; /* Odstęp między ikoną konta a koszykiem */
}

/* --- 2. Powiększenie samych ikon --- */
.kds-icon-link {
    text-decoration: none;
    color: #333; /* Kolor ikon (ciemnoszary) */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative; /* Ważne dla pozycjonowania licznika */
    transition: color 0.3s ease;
}

.kds-icon-link i {
    font-size: 28px; /* <-- TU ZMIEŃ ROZMIAR (np. 32px dla jeszcze większych) */
    line-height: 1;
}

.kds-icon-link:hover i {
    color: #000; /* Kolor po najechaniu */
}

/* --- 3. Styl licznika (Badge) --- */
.kds-cart-count {
    position: absolute;
    top: -5px;     /* Przesunięcie w górę */
    right: -8px;   /* Przesunięcie w prawo */
    
    background-color: #483d8b; /* Fioletowy kolor tła (jak na zdjęciu) */
    color: #fff;               /* Biały kolor cyfry */
    
    font-size: 11px;           /* Wielkość cyfry */
    font-weight: 700;          /* Pogrubienie */
    
    /* Tworzenie idealnego kółka */
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    
    /* Wyśrodkowanie cyfry w kółku */
    display: flex;
    align-items: center;
    justify-content: center;
    
    border: 2px solid #fff; /* Opcjonalnie: biała obwódka oddzielająca od ikony */
}











































/* Styling dla Planów Licencji */
.bz-license-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.bz-lic-card {
    border: 2px solid #ddd;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.bz-lic-card:hover {
    border-color: #f7b32c; /* Kolor przewodni Twojego przycisku */
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.bz-lic-card.selected {
    border-color: #f7b32c;
    background-color: #fffaf0; /* Lekko żółty cień */
    box-shadow: 0 0 0 3px #f7b32c;
}

.bz-lic-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #f7b32c;
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.bz-lic-price {
    font-size: 36px;
    font-weight: 900;
    margin: 10px 0 15px 0;
}

.bz-lic-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
}

.bz-lic-features {
    list-style: none;
    padding: 0;
    margin-top: 15px;
    flex-grow: 1; /* Wypełnienie przestrzeni */
    text-align: left;
}

.bz-lic-features li {
    padding: 5px 0;
    font-size: 15px;
    border-bottom: 1px dashed #eee;
}

.bz-select-btn {
    margin-top: 20px !important;
    width: 100%;
    background-color: #4CAF50; /* Zmień kolor na Twój */
    color: white;
    border: none;
}
/* =========================================
   POJEDYNCZA REALIZACJA (SINGLE)
   ========================================= */

.kds-realization-page {
    padding: 60px 0 100px 0;
    background-color: #fff;
}

/* --- NAGŁÓWEK --- */
.kds-real-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.kds-real-subtitle {
    display: block;
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 15px;
    font-weight: 600;
}

.kds-real-title {
    font-family: "DM Sans", sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: #000;
    line-height: 1.3;
}

/* --- UKŁAD DWUKOLUMNOWY --- */
.kds-real-content-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 80px;
}

/* Lewa kolumna (tekst) */
.kds-real-desc-col {
    flex: 1; /* Zajmuje resztę miejsca */
}

.kds-real-text-content {
    font-size: 1rem;
    line-height: 1.8;
    color: #444;
}

.kds-real-text-content p {
    margin-bottom: 20px;
}

.kds-real-text-content ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 20px;
}

.kds-real-text-content li {
    margin-bottom: 10px;
}

/* Prawa kolumna (sidebar) */
.kds-real-sidebar-col {
    width: 400px; /* Stała szerokość jak na projekcie */
    flex-shrink: 0;
}

/* Box Specyfikacji */
.kds-specs-box {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
}

.kds-specs-title {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 25px;
    font-family: "DM Sans", sans-serif;
}

.kds-specs-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.kds-specs-list li {
    display: block; /* Wersja lista pod listą */
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dotted #eee;
    font-size: 0.95rem;
    color: #555;
}

.kds-specs-list li:last-child {
    border-bottom: none;
}

.kds-specs-list strong {
    color: #222;
    font-weight: 600;
    margin-right: 5px;
}

.kds-specs-btn-wrap {
    margin-top: 25px;
    text-align: center;
}

/* --- MONITOR NA DOLE --- */
.kds-real-visual {
    margin-top: 50px;
    text-align: center;
}

/* Powiększona wersja monitora dla widoku single */
.kds-monitor-large {
    max-width: 800px !important; /* Szerszy niż w gridzie */
}

/* Responsywność */
@media (max-width: 991px) {
    .kds-real-content-wrapper {
        flex-direction: column;
    }
    
    .kds-real-sidebar-col {
        width: 100%;
    }

    .kds-real-title {
        font-size: 1.8rem;
    }
}





































/* ============================================================
   PRZYKLEJONE MENU (STICKY NAVBAR)
   ============================================================ */

/* 1. KDS TOP BAR (pozostawiamy z-index 100, ale niżej niż header) */
.kds-top-bar {
    color: #bbb;
    font-size: 12px;
    padding: 8px 0;
    font-weight: 500;
    position: relative;
    z-index: 10; /* ZMNIEJSZONO z 100 do 10, by Header miał priorytet */
}

/* 2. KDS HEADER (główna sekcja menu) */
.kds-header {
    background-color: #ffffff;
    border-bottom: 1px solid #f0f0f0; 
    
    /* KLUCZOWE WŁAŚCIWOŚCI STICKY */
    position: sticky;
    top: 0;
    z-index: 999; /* WSKAKUJE NA SAMĄ GÓRĘ */
    
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    width: 100%;
}

/* 3. POPRAWKA DLA PASKA ADMINISTRATORA WORDPRESS (desktop) */
body.admin-bar .kds-header {
    top: 32px; 
}

/* 4. POPRAWKA DLA PASKA ADMINISTRATORA WORDPRESS (mobile) */
@media (max-width: 782px) {
    body.admin-bar .kds-header {
        top: 46px;
    }
}


/* ============================================================
   TOP HEADER (Twój oryginalny kod)
   ============================================================ */

/* --- TOP HEADER --- */
/* Zmiana z-index z 100 na 10 */
.kds-top-bar {
    background-color: #FFF;
    color: #000;
    font-size: 12px;
    padding: 8px 0;
    font-weight: 500;
    position: relative;
    z-index: 10;
}

.kds-top-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Linki i elementy */
.kds-top-link, 
.kds-top-menu a {
    color: #48359a;
    text-decoration: none;
    transition: color 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.kds-top-link:hover, 
.kds-top-menu a:hover {
    color: #fff;
}

/* Ikony */
.kds-top-bar i {
    font-size: 14px;
    color: #48359a;
}

/* Separator pionowy */
.kds-sep {
    margin: 0 10px;
    color: #444;
}

/* Prawa strona */
.kds-top-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.kds-promo-text strong {
    color: #fff;
}

.kds-top-menu {
    display: flex;
    gap: 15px;
    border-left: 1px solid #333;
    padding-left: 20px;
}

/* --- RESPANSYWNOŚĆ TOP BAR --- */
@media (max-width: 768px) {
    .kds-top-flex {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }
    .kds-top-menu {
        display: none;
    }
    .kds-sep { display: none; }
    .kds-top-left {
        display: flex;
        flex-direction: column;
        gap: 2px;
    }
    /* Ukrywamy mega menu w widoku mobilnym, by użyć mobilnego menu przesuwnego */
    .kds-has-mega > .sub-menu {
        display: none !important; 
    }
}



/* =========================================
   1. MENU GŁÓWNE DESKTOP (HYBRYDOWE)
   ========================================= */

/* KONTENER RODZICA */
.kds-header-inner {
    position: relative;
    z-index: 1001;
}

/* --- POZIOM 1: GŁÓWNY PASEK --- */
.kds-menu {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
    height: 100%;
}

.kds-menu > li {
    position: relative;
}

.kds-menu > li > a {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 10px;
    text-decoration: none;
    color: #1a1a1a;
    font-weight: 600;
    font-size: 17px;
    font-family: "DM Sans", sans-serif;
    transition: color 0.25s ease;
}

.kds-menu > li > a:hover {
    color: #48359a;
}

/* ---------------------------------------------------------
   SCENARIUSZ A: ZWYKŁE PODMENU
--------------------------------------------------------- */

/* KONTENER SUBMENU */
.kds-menu > li > ul.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    border-top: 3px solid #48359a;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    border-radius: 0 0 8px 8px;
    z-index: 1000;

    width: 260px;
    padding: 15px 0;
    list-style: none;
    margin: 0;
    display: block;

    /* HOVER INTENT */
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    pointer-events: none;

    transition:
        opacity 0.25s ease,
        transform 0.25s ease,
        visibility 0s linear 0.25s;
}

/* OTWARCIE TYLKO PO NAJECHANIU NA LINK */
.kds-menu > li > a:hover + ul.sub-menu,
.kds-menu > li > ul.sub-menu:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
    transition-delay: 0s;
}

/* LINKI W PODMENU */
.kds-menu > li > ul.sub-menu > li > a {
    display: block;
    padding: 10px 25px;
    font-size: 14px;
    color: #555;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid #f9f9f9;
    transition: all 0.2s ease;
}

.kds-menu > li > ul.sub-menu > li > a:hover {
    background: #fcfcfc;
    color: #48359a;
    padding-left: 30px;
}

/* ---------------------------------------------------------
   3. POZIOM – SUBMENU WYSUWANE W BOK
--------------------------------------------------------- */

.kds-menu > li > ul.sub-menu > li {
    position: relative;
}

.kds-menu > li > ul.sub-menu > li > ul.sub-menu {
    top: 0;
    left: 100%;
    margin-top: -15px;
    border-top: 3px solid #ff4757;
    width: 240px;
}

/* ---------------------------------------------------------
   SCENARIUSZ B: MEGA MENU
--------------------------------------------------------- */

.kds-menu > li.mega-menu {
    position: static;
}

.kds-menu > li.mega-menu > a {
    position: relative;
    z-index: 2;
}

.kds-menu > li.mega-menu > ul.sub-menu {
    width: 100%;
    left: 0;
    padding: 40px;
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* NAGŁÓWKI KOLUMN */
.kds-menu > li.mega-menu > ul.sub-menu > li > a {
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    color: #111;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 15px;
    padding: 0 0 10px 0;
    pointer-events: none;
    display: block;
}

.kds-menu > li.mega-menu > ul.sub-menu > li > a:hover {
    background: none;
    padding-left: 0;
    color: #111;
}

/* LINKI W KOLUMNACH MEGA MENU */
.kds-menu > li.mega-menu > ul.sub-menu > li > ul.sub-menu {
    position: static;
    box-shadow: none;
    border: none;
    width: auto;
    padding: 0;
    margin: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: transparent;
    display: flex;
    flex-direction: column;
}

.kds-menu > li.mega-menu > ul.sub-menu > li > ul.sub-menu > li > a {
    padding: 6px 0;
    font-size: 16px;
    color: #000;
    line-height: 2;
    border: none;
    font-weight: 400;
    font-family: "DM Sans", sans-serif;
}

.kds-menu > li.mega-menu > ul.sub-menu > li > ul.sub-menu > li > a:hover {
    color: #351e73;
    font-weight: bold;
    background: none;
}

/* ---------------------------------------------------------
   MOBILE – WYŁĄCZENIE HOVER
--------------------------------------------------------- */

@media (hover: none) {
    .kds-menu > li > ul.sub-menu {
        display: none;
    }
}
























































































/* =========================================
   2. MENU MOBILNE I HAMBURGER
   ========================================= */

/* Domyślny stan (DESKTOP) */
.kds-mobile-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: #1a1a1a;
    padding: 5px;
}

.kds-mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

/* --- WIDOK MOBILNY (poniżej 992px) --- */
@media (max-width: 992px) {

    .kds-main-nav, 
    .desktop-only {
        display: none !important;
    }

    .kds-mobile-toggle {
        display: block;
    }

    /* Panel Boczny */
    .kds-mobile-menu-box {
        position: absolute;
        top: 0;
        left: 0;
        width: 300px;
        max-width: 85%;
        height: 100%;
        background: #fff;
        transform: translateX(-100%);
        transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
        display: flex;
        flex-direction: column;
        box-shadow: 5px 0 25px rgba(0,0,0,0.1);
    }

    /* Nagłówek mobilny */
    .kds-mobile-head {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px;
        border-bottom: 1px solid #f0f0f0;
        background: #fbfbfb;
    }
    .kds-mobile-title {
        font-weight: 800;
        text-transform: uppercase;
        font-size: 16px;
    }
    .kds-mobile-close {
        background: none;
        border: none;
        font-size: 24px;
        cursor: pointer;
        color: #555;
    }

    /* Lista */
    .kds-mobile-scroll {
        flex: 1;
        overflow-y: auto;
        padding: 20px;
    }
    .kds-mobile-list {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    .kds-mobile-list li {
        border-bottom: 1px solid #f9f9f9;
        position: relative;
    }
    .kds-mobile-list > li > a {
        display: block;
        padding: 12px 0;
        font-size: 16px;
        font-weight: 600;
        color: #333;
        text-decoration: none;
    }

    /* --- AKORDEON (STRZAŁKI I PODMENU) --- */
    .kds-mobile-arrow {
        position: absolute;
        top: 0;
        right: 0;
        width: 50px;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        border-left: 1px solid #f5f5f5;
        background: #fff;
        color: #999;
        transition: color 0.3s, transform 0.3s;
    }
    
    .kds-mobile-list li.open > .kds-mobile-arrow i {
        transform: rotate(180deg);
        color: #ff4757;
    }

    .kds-mobile-list .sub-menu {
        display: none;
        list-style: none;
        padding: 0;
        background: #fcfcfc;
        margin: 0;
        border-top: 1px solid #f0f0f0;
    }

    /* FIX: Pokazywanie podmenu */
    .kds-mobile-list li.open > .sub-menu {
        display: block !important; 
        animation: kdsSlideDown 0.3s ease-in-out;
    }

    .kds-mobile-list .sub-menu li a {
        padding: 10px 0 10px 25px;
        display: block;
        font-size: 14px;
        font-weight: 500;
        color: #666;
        border-bottom: 1px solid #f0f0f0;
        text-decoration: none;
    }
    
    .kds-mobile-list .sub-menu .sub-menu li a {
        padding-left: 40px;
        font-size: 13px;
        color: #888;
    }

    .kds-mobile-footer {
        margin-top: 30px;
        text-align: center;
    }
}

/* Klasy aktywne JS */
.kds-mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}
.kds-mobile-menu-overlay.active .kds-mobile-menu-box {
    transform: translateX(0);
}

@keyframes kdsSlideDown {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes kdsFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
/* 1. Kontener siatki (Grid) - jeśli jeszcze go nie masz */
.kds-portfolio-grid {
    display: grid;
    /* Automatyczne dopasowanie kolumn, minimum 300px szerokości */
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 30px; /* Odstępy między kafelkami */
    margin-top: 40px;
}

/* 2. Pojedynczy kafelek */
.kds-portfolio-item {
    position: relative;
    border-radius: 12px; /* Zaokrąglenie rogów */
    overflow: hidden;    /* Ukrywa wszystko co wystaje poza zaokrąglenie */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08); /* Delikatny cień pod spodem */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Płynna animacja */
    background: #fff; /* Tło na wypadek przezroczystych PNG */
}

/* Efekt po najechaniu na kafelek (Uniesienie) */
.kds-portfolio-item:hover {
    transform: translateY(-7px); /* Kafel idzie w górę */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15); /* Cień staje się głębszy */
}

/* 3. Link obejmujący całość */
.kds-portfolio-link {
    display: block;
    width: 100%;
    height: 100%;
}

/* 4. Stylowanie samego zdjęcia */
.kds-portfolio-item img {
    width: 100%;
    height: 250px;      /* Ustalona wysokość - KLUCZOWE dla równych rzędów */
    object-fit: cover;  /* Obrazek wypełnia obszar, przycinając nadmiar (nie spłaszcza się) */
    display: block;
    transition: transform 0.5s ease; /* Wolniejsza animacja dla zooma */
}

/* Efekt zoomu na zdjęciu po najechaniu */
.kds-portfolio-item:hover img {
    transform: scale(1.05); /* Delikatne powiększenie zdjęcia */
}

/* 5. Stylowanie boxa "Brak zdjęcia" (opcjonalne) */
.kds-no-img {
    width: 100%;
    height: 250px;
    background-color: #f0f0f0;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 500;
}
/* Kontener siatki */
.kds-clients-grid {
    display: flex;
    flex-wrap: wrap;
    justify_content: center; /* Wyśrodkowanie logotypów */
    align-items: center; /* Wyrównanie w pionie */
    gap: 30px; /* Odstęp między logami */
    padding: 40px 0;
}

/* Pojedynczy element z logo */
.kds-client-item {
    flex: 0 1 150px; /* Bazowa szerokość logo */
    filter: grayscale(100%); /* Opcjonalnie: loga czarno-białe */
    transition: all 0.3s ease;
    text-align: center;
}

/* Efekt po najechaniu myszką */
.kds-client-item:hover {
    filter: grayscale(0%); /* Powrót do koloru */
    transform: scale(1.05); /* Lekkie powiększenie */
}

/* Responsywność obrazka */
.kds-client-logo {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}









/* ===========================
   AUTHOR BOX
=========================== */
.kds-author-box {
    display: flex;
    gap: 25px;
    padding: 30px;
    margin: 60px 0;
    background: #f8f9fb;
    border-radius: 20px;
    align-items: center;
}

.kds-author-avatar img {
    border-radius: 50%;
}

.kds-author-content h4 {
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 5px;
}

.kds-author-name {
    font-size: 18px;
    display: block;
    margin-bottom: 10px;
}

.kds-author-desc {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
}

.kds-author-links a {
    display: inline-block;
    margin-top: 10px;
    font-weight: 600;
    color: #443395;
    text-decoration: none;
}
















/* ===========================
   POST FOOTER BAR
=========================== */

.kds-post-footer-bar {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.kds-post-stats {
    display: flex;
    gap: 25px;
    font-size: 15px;
    color: #666;
}

.kds-post-stats .stat {
    display: flex;
    align-items: center;
    gap: 6px;
}

.kds-post-stats i {
    font-size: 18px;
    color: #aaa;
}

.kds-post-update {
    margin-top: 15px;
    font-size: 14px;
    color: #999;
}

.kds-post-share {
    margin-top: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 14px;
}

.kds-post-share a {
    display: inline-flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #f3f4f6;
    color: #111;
    text-decoration: none;
    transition: all 0.2s ease;
}

.kds-post-share a:hover {
    background: #443395;
    color: #fff;
}


/* ===========================
   COMMENTS
=========================== */

#comments {
    margin-top: 60px;
}

.comment-list {
    list-style: none;
    padding: 0;
}

.comment-body {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: #ffffff;
    border-radius: 18px;
    margin-bottom: 25px;
    border: 1px solid #eee;
}

.comment-author img {
    border-radius: 50%;
}

.comment-meta {
    font-size: 13px;
    color: #888;
    margin-bottom: 8px;
}

.comment-content p {
    font-size: 15px;
    line-height: 1.6;
    color: #333;
}

.comment-reply-link {
    display: inline-block;
    margin-top: 10px;
    font-size: 13px;
    font-weight: 600;
    color: #443395;
    text-decoration: none;
}

.comment-respond {
    margin-top: 60px;
    padding: 35px;
    background: #f8f9fb;
    border-radius: 20px;
}

.comment-respond h3 {
    margin-bottom: 20px;
}

.comment-form textarea,
.comment-form input[type="text"],
.comment-form input[type="email"] {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    border: 1px solid #ddd;
    margin-bottom: 15px;
}

.comment-form input[type="submit"] {
    background: #443395;
    color: #fff;
    border: none;
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 600;
    cursor: pointer;
}

.comment-form input[type="submit"]:hover {
    opacity: 0.9;
}
/* ===========================
   POST FOOTER BAR – UPDATED
=========================== */

.kds-post-footer-bar {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

/* LEFT GROUP */
.kds-post-stats {
    display: flex;
    align-items: center;
    gap: 25px;
    font-size: 14px;
    color: #666;
}

/* LIKE */
.kds-like-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 15px;
    color: #777;
}

.kds-like-btn i {
    font-size: 18px;
    color: #aaa;
    transition: transform 0.2s ease, color 0.2s ease;
}

.kds-like-btn:hover i {
    transform: scale(1.15);
    color: #e63946;
}

.kds-like-btn.liked i {
    color: #e63946;
}

.kds-like-btn:disabled {
    cursor: default;
    opacity: 0.9;
}

/* UPDATE TEXT */
.kds-post-update {
    font-size: 14px;
    color: #999;
    white-space: nowrap;
}

/* SHARE */
.kds-post-share {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 14px;
}

.kds-post-share span {
    color: #777;
}

/* SHARE ICONS */
.kds-post-share a {
    display: inline-flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #f3f4f6;
    color: #111;
    text-decoration: none;
    transition: all 0.2s ease;
}

.kds-post-share a:hover {
    background: #443395;
    color: #fff;
}

/* MOBILE */
@media (max-width: 768px) {
    .kds-post-footer-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .kds-post-share {
        width: 100%;
    }
}
/* ===========================
   LATEST POSTS
=========================== */

.kds-latest-posts {
    margin-top: 80px;
}

.kds-section-title {
    font-size: 28px;
    margin-bottom: 40px;
}

/* LIST */
.kds-latest-posts-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* ITEM */
.kds-latest-post {
    display: flex;
    gap: 30px;
    align-items: center;
}

/* IMAGE */
.kds-latest-thumb {
    flex-shrink: 0;
    width: 280px;
    border-radius: 14px;
    overflow: hidden;
}

.kds-latest-thumb img {
    width: 100%;
    height: auto;
    display: block;
}

/* CONTENT */
.kds-latest-content {
    max-width: 600px;
}

.kds-latest-author {
    font-size: 14px;
    color: #777;
}

.kds-latest-title {
    font-size: 20px;
    margin: 10px 0;
    line-height: 1.4;
}

.kds-latest-title a {
    color: #111;
    text-decoration: none;
}

.kds-latest-title a:hover {
    color: #443395;
}

.kds-latest-comments {
    font-size: 14px;
    color: #999;
}

/* MOBILE */
@media (max-width: 768px) {
    .kds-latest-post {
        flex-direction: column;
        align-items: flex-start;
    }

    .kds-latest-thumb {
        width: 100%;
    }
}





















/* ===============================
   CONTACT FORM 7 – KDS PRO
================================ */

.kd-cf7 {
    display: flex;
    flex-direction: column;
}

/* SEKCJE FORMULARZA */
.kd-form-section {
    display: flex;
    flex-direction: column;
}

.kd-form-section h4 {
    font-size: 13px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 18px;
    font-weight: 600;
}

/* INPUTY */
.kd-cf7 input[type="text"],
.kd-cf7 input[type="email"],
.kd-cf7 input[type="tel"],
.kd-cf7 select,
.kd-cf7 textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 8px;
    border: 1px solid #ddd;
    background: #fff;
    font-size: 15px;
    font-family: inherit;
    margin-bottom: 14px;
    transition: border-color .2s, box-shadow .2s;
}

.kd-cf7 textarea {
    min-height: 140px;
    resize: vertical;
}

/* FOCUS */
.kd-cf7 input:focus,
.kd-cf7 select:focus,
.kd-cf7 textarea:focus {
    outline: none;
    border-color: #4a2b9a;
    box-shadow: 0 0 0 3px rgba(74,43,154,.1);
}

/* ACCEPTANCE */
.kd-form-footer {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.kd-form-footer .wpcf7-list-item {
    margin: 0;
    font-size: 13px;
    color: #666;
}

.kd-form-footer a {
    color: #4a2b9a;
    text-decoration: underline;
}

/* SUBMIT */
.kd-submit {
    align-self: flex-start;
    background: #4a2b9a;
    color: #fff;
    border: none;
    padding: 16px 42px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: all .25s ease;
}

.kd-submit:hover {
    background: #351e73;
    transform: translateY(-2px);
}

/* VALIDATION */
.wpcf7-not-valid {
    border-color: #48359a !important;
}

.wpcf7-response-output {
    margin-top: 25px;
    padding: 16px 20px;
    border-radius: 8px;
    font-size: 14px;
}

/* MOBILE */
@media(max-width:768px) {
    .kd-submit {
        width: 100%;
        text-align: center;
    }
}

































/* ==========================================================================
   OŚ CZASU – NASZA HISTORIA (FRONTEND)
   ========================================================================== */

.kd-history {
    padding: 120px 20px;
    background: #fff;
}

.kd-history-inner {
    max-width: 1200px;
    margin: 0 auto;
}

/* ===============================
   TIMELINE WRAPPER
================================ */

.kd-timeline {
    position: relative;
    margin-top: 100px;
}

/* Centralna linia */
.kd-timeline::before {
    content: "";
    position: absolute;
    inset: 0;
    left: 50%;
    width: 2px;
    background: linear-gradient(
        to bottom,
        rgba(74,43,154,0),
        rgba(74,43,154,.45),
        rgba(74,43,154,0)
    );
    transform: translateX(-50%);
}

/* ===============================
   POJEDYNCZY ELEMENT
================================ */

.kd-timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    margin-bottom: 140px;
}

/* Punkt na osi */
.kd-timeline-item::after {
    content: "";
    position: absolute;
    top: 42px;
    left: 50%;
    width: 14px;
    height: 14px;
    background: #fff;
    border: 3px solid #4a2b9a;
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

/* ===============================
   DATA / ROK
================================ */

.kd-timeline-year {
    font-size: 64px;
    font-weight: 800;
    color: #4a2b9a;
    line-height: 1;
    margin-bottom: 20px;
    white-space: nowrap;
}

/* ===============================
   CONTENT BOX
================================ */

.kd-timeline-content {
    background: #fff;
    border-radius: 18px;
    padding: 32px;
    box-shadow: 0 20px 50px rgba(0,0,0,.08);
    max-width: 520px;
}

.kd-timeline-content img {
    width: 100%;
    border-radius: 14px;
    margin-bottom: 20px;
    display: block;
}

.kd-timeline-content h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: #111;
}

.kd-timeline-content p {
    font-size: 16px;
    line-height: 1.75;
    color: #555;
    margin: 0;
}

/* ===============================
   LEWA STRONA (IMAGE → TEXT)
================================ */

.kd-timeline-item.left .kd-timeline-year {
    grid-column: 1;
    text-align: right;
    margin-right: 60px;
}

.kd-timeline-item.left .kd-timeline-content {
    grid-column: 1;
    margin-right: 60px;
    text-align: left;
}

/* ===============================
   PRAWA STRONA (TEXT ← IMAGE)
================================ */

.kd-timeline-item.right .kd-timeline-year {
    grid-column: 2;
    text-align: left;
    margin-left: 60px;
}

.kd-timeline-item.right .kd-timeline-content {
    grid-column: 2;
    margin-left: 60px;
    text-align: left;
}

/* ===============================
   MOBILE – JEDNA KOLUMNA
================================ */

@media (max-width: 900px) {

    .kd-history {
        padding: 80px 15px;
    }

    .kd-timeline {
        margin-top: 60px;
    }

    /* Linia po lewej */
    .kd-timeline::before {
        left: 20px;
        transform: none;
    }

    .kd-timeline-item {
        grid-template-columns: 1fr;
        padding-left: 60px;
        margin-bottom: 90px;
    }

    /* Punkt */
    .kd-timeline-item::after {
        left: 20px;
        transform: none;
    }

    /* Rok */
    .kd-timeline-year,
    .kd-timeline-item.left .kd-timeline-year,
    .kd-timeline-item.right .kd-timeline-year {
        grid-column: 1;
        text-align: left;
        margin: 0 0 12px;
        font-size: 36px;
    }

    /* Content */
    .kd-timeline-content,
    .kd-timeline-item.left .kd-timeline-content,
    .kd-timeline-item.right .kd-timeline-content {
        grid-column: 1;
        margin: 0;
        max-width: 100%;
    }
}










































