/* Kontener główny */
#bz_plans_container {
    margin-top: 15px;
}

/* Pojedynczy Plan (Karta w Adminie) */
.bz-plan-item {
    background: #fff;
    border: 1px solid #ccd0d4;
    border-left: 4px solid #d4af37; /* Złoty akcent */
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    transition: 0.2s;
}

.bz-plan-item:hover {
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
    border-color: #999;
}

/* Układ Siatki (Grid) dla górnej części */
.bz-plan-head {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1fr 1fr 60px 40px;
    gap: 15px;
    align-items: start;
}

/* Style etykiet i inputów */
.bz-plan-row label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: #50575e;
    display: block;
    margin-bottom: 5px;
    letter-spacing: 0.5px;
}

.bz-plan-row input[type="text"],
.bz-plan-row input[type="number"] {
    width: 100%;
    padding: 6px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: none;
    font-size: 14px;
}

.bz-plan-row input:focus,
.bz-plan-features textarea:focus {
    border-color: #d4af37;
    box-shadow: 0 0 0 1px #d4af37;
    outline: none;
}

/* Checkbox "Best" */
.bz-plan-row input[type="checkbox"] {
    margin-top: 5px;
    transform: scale(1.2);
}

/* Przycisk Usuwania */
.bz-remove-plan {
    color: #a00;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    width: 32px;
    border-radius: 50%;
    background: #fff0f0;
    transition: 0.2s;
    margin-top: 18px; /* Wyrównanie do inputów */
}

.bz-remove-plan:hover {
    background: #d63638;
    color: #fff;
}

/* Sekcja Cech (Textarea) */
.bz-plan-features {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed #eee;
}

.bz-plan-features textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    resize: vertical;
    font-family: monospace; /* Aby łatwiej widzieć nowe linie */
    line-height: 1.5;
}

/* Przycisk "Dodaj Plan" */
#bz_add_plan_btn {
    background: #f6f7f7;
    color: #2271b1;
    border-color: #2271b1;
    font-weight: 600;
    padding: 8px 15px;
    height: auto;
    font-size: 14px;
    transition: 0.2s;
}

#bz_add_plan_btn:hover {
    background: #f0f0f1;
    border-color: #135e96;
    color: #135e96;
}
/* --- Zmienne Globalne --- */
:root {
    --bz-gold: #d4af37;
    --bz-gold-hover: #b59226;
    --bz-gold-grad: linear-gradient(135deg, #d4af37 0%, #f3d87e 100%);
    --bz-dark: #111;
    --bz-gray: #f9f9f9;
}

/* --- Główny Grid --- */
.bz-license-grid {
    display: grid;
    gap: 25px; /* Większy odstęp */
    max-width: 1200px;
    margin: 40px auto 0;
    padding: 0 15px;
}

/* --- Karta Planu (Box) --- */
.bz-lic-card {
    background: #fff;
    padding: 35px 25px;
    border-radius: 24px;
    border: 1px solid #f0f0f0;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.bz-lic-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.15); /* Złota poświata */
    border-color: rgba(212, 175, 55, 0.4);
}

/* --- Wyróżniona Karta (Best) --- */
.bz-lic-card.best {
    border: 2px solid var(--bz-gold);
    transform: scale(1.05);
    box-shadow: 0 15px 50px rgba(212, 175, 55, 0.15);
    z-index: 2;
}

.bz-lic-card.best:hover {
    transform: scale(1.05) translateY(-5px);
}

.bz-lic-card.best::after {
    content: '★ POLECANY ★';
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bz-gold);
    color: #fff;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

/* --- Typografia --- */
.bz-lic-name {
    font-size: 24px;
    font-weight: 800;
    color: var(--bz-dark);
    margin-bottom: 5px;
    line-height: 1.2;
}

/* To naprawia "33" ze screena - teraz będzie wyglądać jak mały dopisek */
.bz-lic-subtitle {
    font-size: 13px;
    text-transform: uppercase;
    color: #888;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
    min-height: 20px; /* Aby wyrównać karty */
}

/* To naprawia "10" ze screena */
.bz-lic-price {
    font-size: 42px;
    font-weight: 800;
    color: var(--bz-dark);
    margin: 10px 0 25px 0;
    letter-spacing: -1px;
    position: relative;
    display: inline-block;
}

/* --- Lista Cech (Features) --- */
.bz-lic-features {
    width: 100%;
    margin: 0 0 30px 0;
    padding-top: 25px;
    border-top: 1px solid #f5f5f5;
    text-align: left; /* Lista czytelniejsza wyrównana do lewej */
    flex-grow: 1; /* Wypycha przycisk na dół */
}

.bz-lic-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bz-lic-features li {
    font-size: 15px;
    color: #555;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    font-weight: 500;
}

.bz-lic-features li i {
    color: var(--bz-gold);
    margin-right: 12px;
    font-size: 18px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    padding: 4px; /* Małe kółeczko tła */
}

/* --- Przycisk --- */
.bz-gold-btn {
    width: 100%;
    padding: 18px;
    background: var(--bz-gold-grad);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    margin-top: auto;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.25);
}

.bz-gold-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.4);
    opacity: 1; /* Fix dla niektórych motywów */
}

/* Fix dla przycisku w "nie-polecanych" kartach (żeby był mniej agresywny) */
.bz-lic-card:not(.best) .bz-gold-btn {
    background: #f0f0f0;
    color: #333;
    box-shadow: none;
}

.bz-lic-card:not(.best) .bz-gold-btn:hover {
    background: #e0e0e0;
    color: #000;
}

/* --- Responsywność --- */
@media(max-width: 900px) {
    .bz-license-grid {
        grid-template-columns: 1fr !important; /* Jedna kolumna na mobilu */
    }
    .bz-lic-card.best {
        transform: scale(1); /* Wyłącz powiększenie na mobilu */
        margin: 10px 0;
    }
}







































/* =====================================================
   KDS BUTTON – BASE STYLES
   (Dodano overflow: hidden, aby efekt nie wychodził poza przycisk)
===================================================== */
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt, 
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt, 
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt, 
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt, 
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit.alt, 
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.alt, 
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button.alt, 
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button.alt {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 18px;
    background: var(--kds-primary);
    color: #fff !important;
    font-family: var(--font-main);
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); /* Płynniejsze przejście */
    box-shadow: 0 10px 20px -5px rgba(79, 70, 229, 0.3);
    overflow: hidden; /* KLUCZOWE: Ukrywa efekt lustra poza przyciskiem */
    z-index: 1;
}

/* =====================================================
   KDS BUTTON – EFEKT LUSTRA (SHINE SETUP)
===================================================== */
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt::after,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt::after,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt::after {
    content: "";
    position: absolute;
    top: 0;
    left: -150%; /* Startujemy poza lewą krawędzią */
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg, 
        transparent, 
        rgba(255, 255, 255, 0.4), 
        transparent
    );
    transform: skewX(-20deg); /* Pochylenie "światła" */
    transition: none;
    z-index: -1; /* Pod tekstem, ale nad tłem */
}

/* Definicja animacji przesunięcia */
@keyframes kds-shine-anim {
    0% { left: -150%; }
    100% { left: 150%; }
}

/* =====================================================
   KDS BUTTON – HOVER (AKTYWACJA EFEKTU)
===================================================== */
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt:hover,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt:hover,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt:hover {
    background: color-mix(in srgb, var(--kds-primary) 85%, #000);
    box-shadow: 0 14px 28px -6px rgba(79, 70, 229, 0.45);
    transform: translateY(-2px); /* Lekkie uniesienie */
}

/* Uruchomienie animacji lustra po najechaniu */
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt:hover::after,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt:hover::after,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt:hover::after {
    animation: kds-shine-anim 0.75s ease-in-out; /* Czas trwania błysku */
}

/* =====================================================
   KDS BUTTON – ACTIVE (KLIK)
===================================================== */
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt:active,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt:active,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt:active {
    background: color-mix(in srgb, var(--kds-primary) 70%, #000);
    box-shadow: 0 4px 8px -2px rgba(79, 70, 229, 0.35);
    transform: translateY(1px) scale(0.98); /* Bardziej odczuwalne kliknięcie */
    transition: 0.1s;
}




/* =========================================
   1. REKLAMA W TREŚCI (BOX) - MODERN LIFT
   ========================================= */

.kds-ad-box {
    margin: 50px auto; /* Większy odstęp góra/dół */
    background: #ffffff;
    /* Subtelniejsza ramka i cień dla efektu "karty" */
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 12px 24px -6px rgba(0,0,0,0.05);
    border-radius: 16px; /* Bardziej zaokrąglone rogi */
    overflow: hidden;
    position: relative;
    max-width: 850px; /* Nieco szerszy boks */
}

/* Etykieta "Polecane rozwiązanie" */
.kds-ad-badge {
    background: #8cc63f;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 6px 16px;
    display: inline-block;
    position: absolute;
    top: 0;
    left: 0;
    border-bottom-right-radius: 10px;
    z-index: 2;
}

/* Wewnętrzny kontener - układ główny */
.kds-ad-inner {
    display: flex;
    /* Ważne: rozciąga elementy do tej samej wysokości */
    align-items: stretch;
    padding: 35px; /* Większy padding wewnętrzny */
    gap: 30px; /* Większy odstęp między obrazkiem a treścią */
}

/* --- Sekcja Obrazka (Lewa) --- */
.kds-ad-img {
    flex-shrink: 0;
    width: 140px; /* Nieco większy obszar na obrazek */
    display: flex;
    align-items: center; /* Wyśrodkowanie obrazka w pionie */
}

.kds-ad-img img,
.kds-ad-img .woocommerce-placeholder {
    width: 100%;
    height: auto;
    border-radius: 12px;
    aspect-ratio: 1 / 1; /* Kwadratowy obrazek */
    object-fit: cover;
    border: 1px solid #f0f0f0;
}

/* --- Sekcja Treści (Prawa) --- */
.kds-ad-content {
    flex-grow: 1; /* Zajmuje całą pozostałą przestrzeń */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Wyśrodkowanie treści w pionie */
}

.kds-ad-title {
    margin: 0 0 12px 0 !important;
    font-size: 22px !important; /* Większy tytuł */
    font-weight: 700;
    line-height: 1.3;
    color: #1a1a1a;
}

.kds-ad-title a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

.kds-ad-title a:hover {
    color: #4a2b9a;
}

.kds-ad-desc {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px !important; /* Większy odstęp pod opisem */
    max-width: 90%; /* Opis nie będzie się rozlewał na całą szerokość */
}

/* --- Stopka (Cena + Przycisk) --- */
.kds-ad-footer {
    display: flex;
    align-items: center;
    /* KLUCZOWA ZMIANA: Rozpycha elementy na boki */
    justify-content: space-between;
    width: 100%;
    padding-top: 15px;
    border-top: 1px solid #f5f5f5; /* Delikatna linia oddzielająca */
}

.kds-ad-price {
    font-weight: 800;
    color: #1a1a1a;
    font-size: 24px; /* Duża, wyraźna cena */
    letter-spacing: -0.5px;
}

/* Przekreślona stara cena (jeśli jest) */
.kds-ad-price del {
    color: #aaa;
    font-size: 15px;
    font-weight: 500;
    margin-right: 8px;
}
/* Cena promocyjna (jeśli jest) */
.kds-ad-price ins {
    text-decoration: none;
}

/* Przycisk */
.kds-ad-btn {
    background: #1a1a1a; /* Ciemny przycisk jak na wzorach */
    color: #fff !important;
    padding: 12px 28px; /* Większy przycisk */
    border-radius: 50px; /* Mocno zaokrąglony */
    text-decoration: none !important;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.kds-ad-btn:hover {
    background: #4a2b9a; /* Fiolet po najechaniu */
    transform: translateY(-2px); /* Lekki uskok w górę */
    box-shadow: 0 5px 15px rgba(74, 43, 154, 0.3);
}

/* --- Responsywność (Mobile) --- */
@media (max-width: 768px) {
    .kds-ad-inner {
        flex-direction: column;
        padding: 25px;
        text-align: center;
    }

    .kds-ad-badge {
        position: relative;
        width: 100%;
        text-align: center;
        border-radius: 0;
        margin-bottom: 20px;
    }

    .kds-ad-img {
        width: 100%;
        max-width: 180px;
        margin: 0 auto 20px auto;
    }

    .kds-ad-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .kds-ad-footer {
        flex-direction: column;
        gap: 20px;
        border-top: none;
        padding-top: 0;
    }

    .kds-ad-price {
        font-size: 28px;
    }
    
    .kds-ad-btn {
        width: 100%;
        justify-content: center;
    }
}

/* =========================================
   2. STICKY BAR (PRZYWRÓCONE)
   ========================================= */
.kds-sticky-bar {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 800px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-radius: 12px;
    z-index: 9999;
    padding: 10px 20px;
    border: 1px solid #eee;
    animation: kdsSlideUp 0.5s ease-out;
}
.kds-sb-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.kds-sb-info {
    display: flex;
    align-items: center;
    gap: 15px;
}
.kds-sb-label {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    color: #888;
    font-weight: 700;
    letter-spacing: 0.5px;
}
.kds-sb-title {
    margin: 0 !important;
    font-size: 15px !important;
    font-weight: 600;
    line-height: 1.2;
    color: #333;
}
.kds-sb-action {
    display: flex;
    align-items: center;
    gap: 15px;
}
.kds-sb-price {
    font-weight: 600;
    color: #4a2b9a;
    font-size: 15px;
}
.kds-sb-price del {
    font-size: 12px;
    color: #aaa;
    margin-right: 4px;
}
.kds-sb-btn {
    background: #4a2b9a;
    color: #fff !important;
    padding: 8px 18px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    transition: background 0.2s;
}
.kds-sb-btn:hover {
    background: #361d74;
}
.kds-sb-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    line-height: 1;
    padding: 0 0 0 10px;
}
.kds-sb-close:hover {
    color: #333;
}

@keyframes kdsSlideUp {
    from { transform: translate(-50%, 100%); opacity: 0; }
    to { transform: translate(-50%, 0); opacity: 1; }
}

/* RESPONSYWNOŚĆ */
@media (max-width: 600px) {
    /* Box w treści */
    .kds-ad-inner { flex-direction: column; text-align: center; }
    .kds-ad-footer { justify-content: center; flex-direction: column; }
    .kds-ad-badge { position: relative; width: 100%; text-align: center; border-radius: 0; }
    
    /* Sticky Bar */
    .kds-sticky-bar { width: 100%; bottom: 0; border-radius: 12px 12px 0 0; padding: 15px; }
    .kds-sb-inner { flex-direction: column; gap: 15px; }
    .kds-sb-info, .kds-sb-action { width: 100%; justify-content: space-between; }
    .kds-sb-thumb { display: none; }
}
/* =====================================================
   1. ZMIENNE I KONFIGURACJA (PREMIUM)
===================================================== */
:root {
    /* Kolory */
    --kds-primary: #000000;       /* Główny czarny */
    --kds-accent: #443395;        /* Akcent (Czerwony/Różowy) */
    --kds-accent-hover: #e04050;  
    --kds-gray-100: #f9f9f9;
    --kds-gray-200: #eeeeee;
    --kds-gray-500: #666666;
    --kds-light: #ffffff;
    
    /* Fonty */
    --font-main: "DM Sans", sans-serif;
    --font-ui: "Rubik", sans-serif;

    /* 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: var(--font-body);
    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;
}

}
.kds-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 120px;
    gap: 40px;
}
/* =====================================================
   CHANGELOG STYLES
===================================================== */
.kds-changelog { list-style: none; padding: 0; margin: 40px 0; border-left: 2px solid var(--kds-border); margin-left: 10px; }
.kds-ch-item { position: relative; padding-left: 30px; margin-bottom: 24px; }
.kds-ch-item::before {
    content: ''; position: absolute; left: -6px; top: 6px; width: 10px; height: 10px;
    background: var(--kds-bg); border: 2px solid var(--kds-primary); border-radius: 50%;
}
.kds-ch-ver { display: inline-block; background: var(--kds-primary); color: #fff; padding: 2px 8px; border-radius: 6px; font-size: 12px; font-weight: 700; margin-bottom: 6px; }
.kds-ch-date { font-size: 12px; color: var(--kds-text-gray); margin-left: 8px; }
.kds-ch-desc { margin: 0; font-size: 15px; color: var(--kds-text-dark); }

/* --- NOWE STYLE DLA CONTENT-PRODUCT --- */
/* Lista specyfikacji (CMS, PHP) */
.kds-mini-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed #e2e8f0;
}

.kds-spec-item {
    font-size: 10px;
    color: #64748b;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    padding: 2px 6px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 500;
}

.kds-spec-item i {
    font-size: 12px;
    color: var(--kds-primary);
}

/* Modyfikacja stopki dla linków Demo/Docs */
.kds-card-footer {
    padding: 12px 20px;
    align-items: flex-end; /* Wyrównanie do dołu */
}

.kds-price-col {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* Szybkie linki (Demo/Docs) w stopce */
.kds-quick-links {
    display: flex;
    gap: 10px;
}

.kds-quick-links a {
    font-size: 14px;
    color: #94a3b8;
    transition: 0.2s;
    text-decoration: none;
}

.kds-quick-links a:hover {
    color: var(--kds-primary);
    transform: scale(1.1);
}

/* Przycisk Zobacz (tylko strzałka w kółku dla oszczędności miejsca) */
.kds-btn-see {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--kds-text-dark);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.kds-btn-see:hover {
    background: var(--kds-primary);
    color: #fff;
    transform: translateX(2px);
}

.kds-btn-see i {
    font-size: 18px;
}









/* =====================================================
   ZMIENNE
===================================================== */
:root {
    --accent: #443395;
    --text: #111;
    --muted: #666;
    --border: rgba(0,0,0,.08);
    --bg: #ffffff;
    --soft: #f3f4f6;

    --nav-height: 64px;
}

/* =====================================================
   TOP BAR
===================================================== */
.kds-top-bar {
    background: #f8f9fb;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
}

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

.kds-top-left,
.kds-top-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.kds-top-link {
    color: var(--muted);
    text-decoration: none;
}

.kds-top-link i {
    margin-right: 6px;
}

.kds-promo-text {
    color: var(--text);
    font-weight: 500;
}
/* =====================================================
   IKONY – USER / CART
===================================================== */
.kds-header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.kds-icon-link {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--text);
    position: relative;
    transition: all .2s ease;
}

.kds-icon-link:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(-1px);
}

/* CART BADGE */
.kds-cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 18px;
    height: 18px;
    background: var(--accent);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* =====================================================
   MOBILE
===================================================== */
.kds-mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.kds-mobile-toggle span {
    width: 22px;
    height: 2px;
    background: #111;
}

@media (max-width: 992px) {
    .kds-search-bar {
        display: none;
    }

    .kds-nav-bar {
        display: none;
    }

    .kds-mobile-toggle {
        display: flex;
    }
}
/* ================================
   FIX WYRÓWNANIA HEADERA (PATCH)
================================ */
/* LOGO – optyczne wyrównanie */
.kds-logo {
    display: flex;
    align-items: center;
}

.kds-logo img {
    max-height: 38px; /* było za duże */
}

/* SEARCH – idealna linia */
.kds-search-bar form {
    height: 44px;
    padding: 4px;
}

.kds-search-bar input {
    padding: 0 16px;
    height: 36px;
    line-height: 36px;
}

.kds-search-bar button {
    width: 36px;
    height: 36px;
}

/* IKONY – bliżej, bardziej kompaktowo */
.kds-header-actions {
    gap: 14px;
}

.kds-icon-link {
    width: 38px;
    height: 38px;
    font-size: 18px;
}

/* ================================
   MENU – SCALENIE Z HEADEREM
================================ */

.kds-nav-bar {
    border-top: none; /* USUWAMY podział */
    box-shadow: 0 10px 20px rgba(0,0,0,.06);
}

/* menu mniej „puchate” */
.kds-menu {
    height: 60px; /* było 64px */
    gap: 50px;
}

/* linki menu – delikatniejsze */
.kds-menu > li > a {
    font-size: 16px;
    font-weight: 600;
}

/* underline bliżej tekstu */
.kds-menu > li > a::after {
    bottom: -4px;
}

/* ================================
   WYRÓWNANIE KONTENERÓW
================================ */

/* wymuszenie tej samej osi */
.kds-header .kds-container,
.kds-nav-bar .kds-main-nav {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}





















































































/* --- TOP HEADER --- */
.kds-top-bar {
    background-color: #111; /* Ciemne tło dla kontrastu */
    color: #bbb; /* Jasnoszary tekst (nie idealnie biały, żeby nie męczył oczu) */
    font-size: 12px;
    padding: 8px 0;
    font-weight: 500;
    border-bottom: 1px solid #222;
    position: relative;
    z-index: 100;
}

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

/* Linki i elementy */
.kds-top-link, 
.kds-top-menu a {
    color: #bbb;
    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; /* Biały po najechaniu */
}

/* Ikony */
.kds-top-bar i {
    font-size: 14px;
    color: #e74c3c; /* Akcent (np. czerwony/pomarańczowy) */
}

/* 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ŚĆ --- */
@media (max-width: 768px) {
    .kds-top-flex {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }
    .kds-top-menu {
        display: none; /* Ukrywamy menu na telefonie, żeby nie było tłoku */
    }
    .kds-sep { display: none; }
    .kds-top-left {
        display: flex;
        flex-direction: column;
        gap: 2px;
    }
}
/* --- GŁÓWNY KONTENER (ZMIANA NA BOXED) --- */
.kds-hero-slider-wrapper {
    position: relative;
    width: 100%;
    /* Ograniczamy szerokość do standardowego kontenera */
    max-width: 1500px; 
    /* Wyśrodkowanie kontenera na stronie */
    margin: 40px auto; 
    /* Wysokość slidera */
    height: 500px; 
    /* Zaokrąglone rogi wyglądają lepiej w wersji boxed */
    border-radius: 20px; 
    /* Ukrywa wszystko co wystaje poza zaokrąglenie */
    overflow: hidden; 
    background: #000;
    /* Cień pod całym sliderem dla efektu głębi */
    box-shadow: 0 20px 40px rgba(0,0,0,0.2); 
}

/* Dostosowanie paddingu na mniejszych ekranach, 
   żeby slider nie dotykał krawędzi telefonu */
@media (max-width: 1240px) {
    .kds-hero-slider-wrapper {
        width: calc(100% - 40px); /* Margines po 20px z boków */
        margin: 20px auto;
    }
}
/* --- POJEDYNCZY SLAJD --- */
.kds-hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s;
    z-index: 1;
}

.kds-hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* --- TŁO I OBRAZEK --- */
.kds-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.kds-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    transition: transform 6s ease;
}

.kds-hero-slide.active .kds-bg-img {
    transform: scale(1);
}

.kds-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    /* Lekko mocniejszy gradient, bo obszar jest mniejszy */
    background: linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 100%);
    z-index: 1;
}

/* --- KONTENER TREŚCI --- */
.kds-hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 60px; /* Większy padding, żeby tekst nie wchodził na strzałki */
}

/* --- KARTA GLASSMORPHISM --- */
.kds-glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 2.5rem; /* Troszkę mniejszy padding wewnątrz karty */
    max-width: 500px;
    border-radius: 16px;
    color: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.6s ease 0.3s;
}

.kds-hero-slide.active .kds-glass-card {
    transform: translateY(0);
    opacity: 1;
}

/* --- TYPOGRAFIA (Reszta bez zmian) --- */
.kds-meta-badge {
    display: inline-block;
    background: #e74c3c;
    color: #fff;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 15px;
}

.kds-hero-title a {
    color: #fff;
    text-decoration: none;
    font-size: 2rem; /* Trochę mniejsza czcionka dla wersji boxed */
    line-height: 1.2;
    display: block;
    margin-bottom: 15px;
    font-weight: 700;
    transition: color 0.3s;
}
.kds-hero-title a:hover { color: #e74c3c; }

.kds-hero-info {
    font-size: 0.85rem;
    opacity: 0.8;
    margin-bottom: 20px;
    display: flex;
    gap: 15px;
}

.kds-hero-excerpt {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
    opacity: 0.9;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Ucinanie tekstu po 3 liniach */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.kds-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: #000;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 0.9rem;
}
.kds-hero-btn:hover {
    background: #e74c3c;
    color: #fff;
}

/* --- NAWIGACJA --- */
.kds-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.3); /* Ciemniejsze tło strzałek */
    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ŚĆ --- */
@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; }
}
/* ============================================================
   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: var(--font-body);
    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; }
}
/* 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;
}


/* 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: #e74c3c; /* 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: #e74c3c; }

/* 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: #e74c3c; }
.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: #e74c3c; }

/* 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: #e74c3c;
    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: #e74c3c;
    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: #e74c3c; /* 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: #e74c3c;
    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: #e74c3c; }

/* 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: #e74c3c;
    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: #e74c3c;
    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 */ }
/* --- 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: 800;
    line-height: 1.2;
    color: #111;
    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: var(--font-body);
}

.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; }
}
/* DODATEK: Ikony przy linkach */
.kds-menu i {
    margin-right: 8px;
    color: var(--kds-accent, #ff4757);
    opacity: 0.8;
}
/* --- 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: #e74c3c; 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: #e74c3c; }


/* 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: #e74c3c; }

.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: #e74c3c; 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; }
}
/* ============================================================
   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: var(--font-body);
}

/* --- 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: var(--font-body);
    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;
    }
}


/* ============================================================
   2. MENU MOBILNE (Wysuwany panel)
   ============================================================ */

/* Tło przyciemniające (Overlay) */
.kds-mobile-menu-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Aktywacja overlay */
.kds-mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Białe pudełko menu */
.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);
    box-shadow: 5px 0 30px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
}

/* Aktywacja pudełka (wysunięcie) */
.kds-mobile-menu-overlay.active .kds-mobile-menu-box {
    transform: translateX(0);
}

/* Nagłówek menu mobilnego (Menu + X) */
.kds-mobile-head {
    padding: 20px 25px;
    background: #fbfbfb;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.kds-mobile-head span {
    font-weight: 800;
    font-size: 18px;
    text-transform: uppercase;
    color: #111;
}

.kds-mobile-close {
    background: none;
    border: none;
    font-size: 32px;
    line-height: 1;
    color: #555;
    cursor: pointer;
    padding: 0;
}

/* Lista linków */
.kds-mobile-list {
    list-style: none;
    padding: 0;
    margin: 0;
    overflow-y: auto; /* Przewijanie jeśli menu jest długie */
    flex: 1;
}

.kds-mobile-list li {
    border-bottom: 1px solid #f5f5f5;
    position: relative; /* Ważne dla pozycjonowania strzałki */
}

.kds-mobile-list li a {
    display: block;
    padding: 15px 25px;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
}

/* Strzałka do rozwijania (dodawana przez JS) */
.kds-mobile-arrow {
    position: absolute;
    top: 0;
    right: 0;
    width: 54px; /* Szerokość strefy kliknięcia */
    height: 54px; /* Wysokość wiersza */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-left: 1px solid #f9f9f9;
    color: #999;
    background: rgba(0,0,0,0.01);
    transition: 0.3s;
}

/* Obrót strzałki gdy otwarte */
.kds-mobile-list li.open > .kds-mobile-arrow i {
    transform: rotate(180deg);
    color: var(--kds-accent, #ff4757);
}

/* Submenu w wersji mobilnej (Akordeon) */
.kds-mobile-list .sub-menu {
    display: none; /* Ukryte domyślnie */
    list-style: none;
    padding: 0;
    margin: 0;
    background: #f9f9f9;
    border-top: 1px solid #eee;
    box-shadow: inset 0 5px 10px rgba(0,0,0,0.03);
}

/* Pokazanie submenu gdy klasa .open (dodawana przez JS) */
.kds-mobile-list li.open > .sub-menu {
    display: block;
    animation: fadeIn 0.3s ease;
}

.kds-mobile-list .sub-menu li a {
    padding-left: 40px; /* Wcięcie dla dzieci */
    font-size: 14px;
    font-weight: 500;
    color: #555;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   3. RESPONSYWNOŚĆ (Ukrywanie/Pokazywanie)
   ============================================================ */

/* Na desktopie ukryj mobilne elementy, pokaż desktopowe */
@media (min-width: 993px) {
    .kds-mobile-menu-overlay {
        display: none !important;
    }
}

/* Na tablecie i mobile ukryj pasek desktopowy */
@media (max-width: 992px) {
    .kds-nav-bar {
        display: none !important;
    }
}