/**
 * ════════════════════════════════════════════════════════════════
 * ZDROWOTKA.PL - GŁÓWNY PLIK STYLÓW
 * Wersja: 7.2 - Zoptymalizowana
 * ════════════════════════════════════════════════════════════════
 *
 * SPIS TREŚCI:
 * ─────────────────────────────────────────────────────────────────
 *   1. HEADER & NAWIGACJA
 *   2. STRONA GŁÓWNA (home.php)
 *   3. BLOG & KATEGORIE
 *   4. STRONY STATYCZNE (o-nas, dostawa, regulamin)
 *   5. STRONA PRODUKTU
 *   6. FUNKCJE DODATKOWE (social proof, floating cart, checkout)
 * ─────────────────────────────────────────────────────────────────
 */


/* ════════════════════════════════════════════════════════════════
   1. HEADER & NAWIGACJA
/* ════════════════════════════════════════════════════════════════
   ZMIENNE CSS - Łatwa zmiana kolorów w jednym miejscu
   ════════════════════════════════════════════════════════════════ */

:root {
    /* Kolory główne */
    --zd-green: #4CAF50;
    --zd-green-light: #66BB6A;
    --zd-green-dark: #388E3C;
    --zd-green-darker: #2E7D32;
    
    /* Tła */
    --zd-bg: #fafafa;
    --zd-bg-green-light: #e8f5e9;
    --zd-bg-green-lighter: #f0fdf4;
    
    /* Tekst */
    --zd-text: #1f2937;
    --zd-text-dark: #1a1a1a;
    --zd-text-muted: #666;
    --zd-text-light: #888;
    
    /* Obramowania */
    --zd-border: #e5e7eb;
    --zd-border-light: #f0f0f0;
    
    /* Inne */
    --zd-radius: 12px;
    --zd-radius-lg: 16px;
    --zd-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --zd-shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.12);
    
    /* Fonty */
    --zd-font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    --zd-font-heading: "Playfair Display", Georgia, serif;
    --zd-font-accent: "Nunito", sans-serif;
}

   ════════════════════════════════════════════════════════════════ */

body { font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif; }
body.menu-open { overflow: hidden; }

body.menu-open .zd-floating-cart,
body.menu-open .zd-social-popup,
body.menu-open .zd-blog-trigger,
body.menu-open .zd-blog-popup,
body.menu-open #zd-social-proof,
body.menu-open .zd-sticky-cta,
body.menu-open .zd-sticky-call { 
    display: none !important; 
    opacity: 0 !important; 
    visibility: hidden !important; 
    pointer-events: none !important; 
}

.site-header { position: sticky; top: 0; z-index: 1000; background: #fff; transition: box-shadow 0.3s ease; }
.site-header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.08); }

/* ACCESSIBILITY - Linki z podkreśleniem dla lepszej widoczności */
.zd-blog-card-link,
.zd-footer a:not(.zd-social-link),
.zd-minicart-item-name a {
    text-decoration: underline;
    text-decoration-color: rgba(76, 175, 80, 0.4);
    text-underline-offset: 2px;
}
.zd-blog-card-link:hover,
.zd-footer a:not(.zd-social-link):hover,
.zd-minicart-item-name a:hover {
    text-decoration-color: rgba(76, 175, 80, 1);
}

/* CookieYes - nadpisanie dla lepszego kontrastu */
.cky-btn-accept, 
.cky-btn.cky-btn-accept,
button.cky-btn-accept {
    background-color: #2E7D32 !important;
    border-color: #2E7D32 !important;
}

/* TOP BAR - MINI */
.zd-top-bar { background: var(--zd-green-darker); padding: 3px 15px; display: flex; justify-content: center; align-items: center; }
.zd-top-bar-phone a { display: flex; align-items: center; gap: 6px; color: #fff; text-decoration: none; font-weight: 600; }
.zd-top-bar-phone-icon { width: 18px; height: 18px; background: rgba(255,255,255,0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.zd-top-bar-phone-icon svg { width: 10px; height: 10px; stroke: #fff; fill: none; }
.zd-top-bar-phone-number { font-size: 13px; font-weight: 600; letter-spacing: 0.2px; }

/* MAIN HEADER */
.zd-main-header { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 30px; max-width: 1300px; margin: 0 auto; padding: 20px 30px; }
.zd-logo a { display: flex; align-items: center; text-decoration: none; }
.zd-logo img, .zd-logo .custom-logo { max-height: 55px; width: auto; }
.zd-logo-text { font-family: "Playfair Display", Georgia, serif; font-size: 28px; font-weight: 700; color: #2E7D32; }

/* SEARCH */
.zd-search-wrapper { display: flex; justify-content: center; width: 100%; }
.zd-search-form { width: 100%; max-width: 550px; position: relative; }
.zd-search-form input[type="search"] { width: 100%; padding: 16px 60px 16px 24px; border: 2px solid #e8e8e8; border-radius: 50px; font-size: 16px; font-family: "Nunito", sans-serif; outline: none; transition: all 0.3s ease; background: var(--zd-bg); }
.zd-search-form input[type="search"]:focus { border-color: #2E7D32; background: #fff; box-shadow: 0 0 0 4px rgba(76,175,80,0.1); }
.zd-search-btn { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); background: linear-gradient(135deg, #4CAF50 0%, #43a047 100%); border: none; border-radius: 50%; width: 46px; height: 46px; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(76,175,80,0.3); }
.zd-search-btn svg { width: 22px; height: 22px; stroke: #fff; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

/* LIVE SEARCH DROPDOWN */
.zd-live-search-results { 
    position: absolute; 
    top: calc(100% + 8px); 
    left: 0; 
    right: 0; 
    background: #fff; 
    border-radius: 16px; 
    box-shadow: 0 10px 40px rgba(0,0,0,0.15); 
    z-index: 9999; 
    display: none; 
    max-height: 480px; 
    overflow-y: auto;
    border: 1px solid #e5e5e5;
}
.zd-live-search-results.active { display: block; }

.zd-live-search-header { 
    padding: 14px 20px; 
    border-bottom: 1px solid #f0f0f0; 
    font-size: 13px; 
    color: #666; 
    background: var(--zd-bg);
    border-radius: 16px 16px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.zd-live-search-header strong { color: #333; }
.zd-live-search-close {
    display: none;
    width: 28px;
    height: 28px;
    background: #e5e5e5;
    border: none;
    border-radius: 50%;
    font-size: 16px;
    color: #666;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}
.zd-live-search-close:hover { background: #ddd; color: #333; }
@media (max-width: 768px) {
    .zd-live-search-close { display: flex; }
}

.zd-live-search-item { 
    display: flex; 
    align-items: center; 
    gap: 15px; 
    padding: 12px 20px; 
    text-decoration: none; 
    transition: background 0.2s ease;
    border-bottom: 1px solid #f5f5f5;
}
.zd-live-search-item:last-of-type { border-bottom: none; }
.zd-live-search-item:hover { background: #f8fdf8; }

.zd-live-search-img { 
    width: 55px; 
    height: 55px; 
    border-radius: 10px; 
    overflow: hidden; 
    background: #f5f5f5; 
    flex-shrink: 0;
}
.zd-live-search-img img { 
    width: 100%; 
    height: 100%; 
    object-fit: contain;
    padding: 4px;
}

.zd-live-search-info { flex: 1; min-width: 0; }
.zd-live-search-category { 
    font-size: 14px; 
    color: var(--zd-green); 
    text-transform: uppercase; 
    font-weight: 600; 
    letter-spacing: 0.3px;
    margin-bottom: 3px;
}
.zd-live-search-title { 
    font-size: 14px; 
    font-weight: 600; 
    color: #333; 
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.zd-live-search-price { 
    font-size: 15px; 
    font-weight: 700; 
    color: #2E7D32; 
    white-space: nowrap;
    margin-left: 10px;
}
.zd-live-search-price del { color: #888; font-weight: 400; font-size: 12px; }
.zd-live-search-price ins { text-decoration: none; }

.zd-live-search-all { 
    display: block; 
    padding: 14px 20px; 
    text-align: center; 
    background: #f8fdf8; 
    color: var(--zd-green); 
    font-size: 14px; 
    font-weight: 600; 
    text-decoration: none;
    border-radius: 0 0 16px 16px;
    border-top: 1px solid #e8f5e9;
    transition: background 0.2s ease;
}
.zd-live-search-all:hover { background: var(--zd-bg-green-light); }

.zd-live-search-empty { 
    padding: 30px 20px; 
    text-align: center; 
    color: #666; 
}
.zd-live-search-empty svg { 
    width: 40px; 
    height: 40px; 
    stroke: #ccc; 
    margin-bottom: 10px; 
}
.zd-live-search-empty p { margin: 0; font-size: 14px; }

.zd-live-search-loading {
    padding: 25px 20px;
    text-align: center;
    color: #666;
    font-size: 14px;
}
.zd-live-search-loading::after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #e5e5e5;
    border-top-color: var(--zd-green);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-left: 10px;
    vertical-align: middle;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ========================================
   SCROLL TO TOP BUTTON
   ======================================== */
.zd-scroll-top {
    position: fixed;
    bottom: 100px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #4CAF50 0%, #388E3C 100%);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(76, 175, 80, 0.4);
    z-index: 990;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.zd-scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.zd-scroll-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(76, 175, 80, 0.5);
}

.zd-scroll-top svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2.5;
}

/* Na mobile - wyżej żeby nie nakładał się na bottom bar */
@media (max-width: 768px) {
    .zd-scroll-top {
        bottom: 90px;
        right: 15px;
        width: 44px;
        height: 44px;
    }
    
    .zd-scroll-top svg {
        width: 20px;
        height: 20px;
    }
}

/* ========================================
   MOBILE BOTTOM BAR - STICKY NAVIGATION
   ======================================== */
.zd-bottom-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid #e5e5e5;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
    z-index: 998;
    padding: 10px 0;
    padding-bottom: calc(10px + env(safe-area-inset-bottom));
}

.zd-bottom-bar-inner {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 500px;
    margin: 0 auto;
}

/* OPTYMALIZACJA 40+: Większy obszar klikalny (min 48x48px) */
.zd-bottom-bar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 10px 18px;
    min-width: 64px;
    min-height: 56px;
    text-decoration: none;
    color: #555;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    border-radius: 12px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.zd-bottom-bar-item:hover,
.zd-bottom-bar-item.active {
    color: var(--zd-green);
    background: rgba(76, 175, 80, 0.08);
}

/* OPTYMALIZACJA 40+: Większe ikony (28px) */
.zd-bottom-bar-item svg {
    width: 28px;
    height: 28px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

.zd-bottom-bar-item span {
    line-height: 1;
}

/* Cart badge na bottom bar - OPTYMALIZACJA 40+: Większy badge */
.zd-bottom-bar-item .zd-cart-badge {
    position: absolute;
    top: 4px;
    right: 6px;
    background: linear-gradient(135deg, #e53935 0%, #c62828 100%);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zd-bottom-bar-item .zd-cart-badge:empty {
    display: none;
}

/* Search modal trigger highlight */
.zd-bottom-bar-item.search-active {
    background: var(--zd-bg-green-light);
    color: var(--zd-green);
}

/* Ukryj na desktop */
@media (min-width: 769px) {
    .zd-bottom-bar {
        display: none !important;
    }
}

/* Pokaż na mobile */
@media (max-width: 768px) {
    .zd-bottom-bar {
        display: block;
    }
    
    /* Dodaj padding na dole body żeby content nie był zasłonięty */
    body {
        padding-bottom: 70px;
    }
    
    /* Ukryj floating cart na mobile - mamy bottom bar */
    .zd-floating-cart {
        display: none !important;
    }
}

/* ========================================
   MOBILE SEARCH MODAL
   ======================================== */
.zd-search-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.zd-search-modal.active {
    display: block;
    opacity: 1;
}

.zd-search-modal-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: #fff;
    padding: 15px;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

.zd-search-modal.active .zd-search-modal-content {
    transform: translateY(0);
}

.zd-search-modal-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.zd-search-modal-close {
    min-width: 48px;
    min-height: 48px;
    width: 40px;
    height: 40px;
    background: #f5f5f5;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
}

.zd-search-modal-close svg {
    width: 20px;
    height: 20px;
    stroke: #666;
    fill: none;
    stroke-width: 2;
}

.zd-search-modal-input {
    flex: 1;
    height: 48px;
    border: 2px solid #4CAF50;
    border-radius: 12px;
    padding: 0 15px;
    font-size: 16px;
    outline: none;
}

/* ========================================
   MINI-CART SIDEBAR
   ======================================== */
.zd-minicart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.zd-minicart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.zd-minicart {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 380px;
    height: 100%;
    background: #fff;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: -5px 0 30px rgba(0,0,0,0.15);
}

.zd-minicart.active {
    transform: translateX(0);
}

/* Header */
.zd-minicart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
    background: var(--zd-bg);
}

.zd-minicart-header h3,
.zd-minicart-title {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--zd-text-dark);
    margin: 0;
}

.zd-minicart-close {
    min-width: 48px;
    min-height: 48px;
    width: 40px;
    height: 40px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.zd-minicart-close:hover {
    background: #fee2e2;
    border-color: #fca5a5;
}

.zd-minicart-close svg {
    width: 18px;
    height: 18px;
    stroke: #666;
    fill: none;
    stroke-width: 2;
}

.zd-minicart-close:hover svg {
    stroke: #dc2626;
}

/* Content */
.zd-minicart-content {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
}

/* Loading state */
.zd-minicart-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    color: #666;
}

.zd-minicart-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #e5e5e5;
    border-top-color: var(--zd-green);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-bottom: 15px;
}

/* Empty cart */
.zd-minicart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}

.zd-minicart-empty svg {
    width: 64px;
    height: 64px;
    stroke: #ddd;
    fill: none;
    margin-bottom: 20px;
}

.zd-minicart-empty p {
    font-size: 16px;
    color: #666;
    margin: 0 0 20px 0;
}

.zd-minicart-empty a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--zd-green);
    color: #fff;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.zd-minicart-empty a:hover {
    background: #388E3C;
}

/* Cart items */
.zd-minicart-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: var(--zd-bg);
    border-radius: 12px;
    margin-bottom: 12px;
    position: relative;
}

.zd-minicart-item:last-child {
    margin-bottom: 0;
}

.zd-minicart-item-image {
    width: 70px;
    height: 70px;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    flex-shrink: 0;
    border: 1px solid #f0f0f0;
}

.zd-minicart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 5px;
}

.zd-minicart-item-info {
    flex: 1;
    min-width: 0;
}

.zd-minicart-item-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--zd-text-dark);
    line-height: 1.4;
    margin: 0 0 6px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.zd-minicart-item-name a {
    color: inherit;
    text-decoration: none;
}

.zd-minicart-item-name a:hover {
    color: var(--zd-green);
}

.zd-minicart-item-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.zd-minicart-item-qty {
    font-size: 13px;
    color: #666;
}

.zd-minicart-item-price {
    font-size: 15px;
    font-weight: 700;
    color: #2E7D32;
}

.zd-minicart-item-remove {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 26px;
    height: 26px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.zd-minicart-item-remove:hover {
    opacity: 1;
    background: #fee2e2;
    border-color: #fca5a5;
}

.zd-minicart-item-remove svg {
    width: 14px;
    height: 14px;
    stroke: #999;
    fill: none;
    stroke-width: 2;
}

.zd-minicart-item-remove:hover svg {
    stroke: #dc2626;
}

/* Footer */
.zd-minicart-footer {
    padding: 20px;
    border-top: 1px solid #f0f0f0;
    background: var(--zd-bg);
}

.zd-minicart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 16px;
}

.zd-minicart-total strong {
    font-size: 22px;
    color: #2E7D32;
}

.zd-minicart-checkout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, #4CAF50 0%, #388E3C 100%);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.zd-minicart-checkout:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.zd-minicart-checkout svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

.zd-minicart-viewcart {
    display: block;
    text-align: center;
    margin-top: 12px;
    color: #666;
    font-size: 14px;
    text-decoration: none;
}

.zd-minicart-viewcart:hover {
    color: var(--zd-green);
    text-decoration: underline;
}

/* Hide footer when cart empty */
.zd-minicart-footer.hidden {
    display: none;
}

/* Mobile adjustments */
@media (max-width: 480px) {
    .zd-minicart {
        max-width: 100%;
    }
}

/* ICONS */
.zd-header-icons { display: flex; align-items: center; gap: 8px; }
.zd-header-icon { display: flex; align-items: center; justify-content: center; padding: 12px; border-radius: 12px; transition: all 0.3s ease; color: #333; position: relative; text-decoration: none; }
button.zd-header-icon { background: none; border: none; cursor: pointer; font-family: inherit; }
.zd-header-icon:hover { background: #f5f5f5; color: #2E7D32; }
.zd-header-icon svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.zd-cart-count { position: absolute; top: 4px; right: 4px; background: linear-gradient(135deg, #4CAF50 0%, #43a047 100%); color: #fff; font-size: 14px; font-weight: 700; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; display: flex; align-items: center; justify-content: center; }

/* BURGER */
.zd-burger-btn { display: none; background: none; border: none; padding: 10px; cursor: pointer; border-radius: 10px; }
.zd-burger-btn svg { width: 26px; height: 26px; stroke: #333; fill: none; stroke-width: 2; }

/* ========================================
   MOBILE MENU - KFD STYLE
   ======================================== */
.zd-mobile-menu { 
    display: none; 
    position: fixed; 
    top: 0; left: 0; right: 0; bottom: 0; 
    background: #fff; 
    z-index: 9999; 
    overflow-y: auto; 
    transform: translateX(-100%); 
    transition: transform 0.3s ease; 
}
.zd-mobile-menu.active { display: block; transform: translateX(0); }

/* HEADER - KFD STYLE */
.zd-mm-header { 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    padding: 16px 20px; 
    background: #f8f9fa; 
    border-bottom: 1px solid #e5e5e5;
    position: sticky;
    top: 0;
    z-index: 10;
}
.zd-mm-title { 
    display: flex; 
    align-items: center; 
    gap: 10px; 
    font-size: 16px; 
    font-weight: 700; 
    color: var(--zd-text-dark); 
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.zd-mm-title svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; }
.zd-mm-back { 
    display: flex; 
    align-items: center; 
    gap: 6px; 
    font-size: 14px; 
    font-weight: 600; 
    color: #666; 
    background: none; 
    border: none; 
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.2s ease;
}
.zd-mm-back:hover { background: #e8e8e8; color: #333; }
.zd-mm-back svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2.5; }
.zd-mm-close { 
    min-width: 48px; 
    min-height: 48px; 
    background: none; 
    border: none; 
    padding: 8px; 
    cursor: pointer; 
    border-radius: 8px;
    transition: background 0.2s ease;
}
.zd-mm-close:hover { background: #e8e8e8; }
.zd-mm-close svg { width: 24px; height: 24px; stroke: #333; fill: none; stroke-width: 2; }

/* SEARCH */
.zd-mm-search { padding: 15px 20px; background: #fff; border-bottom: 1px solid #f0f0f0; position: relative; }
.zd-mm-search form { position: relative; }
.zd-mm-search input { 
    width: 100%; 
    padding: 14px 18px; 
    border: 2px solid #e8e8e8; 
    border-radius: 12px; 
    font-size: 16px; 
    font-family: "Nunito", sans-serif; 
    outline: none; 
    background: var(--zd-bg); 
}
.zd-mm-search input:focus { border-color: var(--zd-green); background: #fff; }

/* Live Search w menu mobilnym */
.zd-mm-live-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    max-height: 45vh;
    overflow-y: auto;
    display: none;
    z-index: 100;
    border: 2px solid #4CAF50;
    border-top: 1px solid #e5e5e5;
}
.zd-mm-live-results.active { display: block; }
.zd-mm-live-results .zd-live-search-header { border-radius: 0; }
.zd-mm-live-results .zd-live-search-all { border-radius: 0 0 10px 10px; }

/* CONTENT */
.zd-mm-content { padding-bottom: 100px; }

/* ACCORDION SECTION */
.zd-mm-section { border-bottom: 1px solid #f0f0f0; }
.zd-mm-section-header { 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    padding: 16px 20px; 
    cursor: pointer; 
    transition: background 0.2s ease;
    user-select: none;
}
.zd-mm-section-header:hover { background: var(--zd-bg); }
.zd-mm-section-header.active { background: #f0fdf4; }
.zd-mm-section-title { 
    font-size: 14px; 
    font-weight: 700; 
    color: var(--zd-text-dark); 
    text-transform: uppercase;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.zd-mm-section-title .emoji { font-size: 18px; }
.zd-mm-section-icon { 
    width: 24px; 
    height: 24px; 
    display: flex; 
    align-items: center; 
    justify-content: center;
    color: #666;
    font-size: 18px;
    font-weight: 300;
    transition: transform 0.3s ease;
}
.zd-mm-section-header.active .zd-mm-section-icon { transform: rotate(45deg); color: var(--zd-green); }

/* CATEGORY ITEMS */
.zd-mm-items { display: none; background: var(--zd-bg); }
.zd-mm-items.active { display: block; }

.zd-mm-item { border-bottom: 1px solid #eee; }
.zd-mm-item:last-child { border-bottom: none; }

.zd-mm-item-header { 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    padding: 14px 20px 14px 30px;
    cursor: pointer;
    transition: background 0.2s ease;
}
.zd-mm-item-header:hover { background: #f5f5f5; }
.zd-mm-item-header.active { background: var(--zd-bg-green-light); }
.zd-mm-item-name { font-size: 15px; color: #333; font-weight: 500; }
.zd-mm-item-header.active .zd-mm-item-name { color: #2E7D32; font-weight: 600; }
.zd-mm-item-toggle { 
    width: 28px; 
    height: 28px; 
    display: flex; 
    align-items: center; 
    justify-content: center;
    color: #888;
    font-size: 16px;
    font-weight: 300;
    transition: all 0.3s ease;
}
.zd-mm-item-header.active .zd-mm-item-toggle { transform: rotate(45deg); color: var(--zd-green); }

/* SUBCATEGORIES */
.zd-mm-subitems { display: none; background: #fff; padding: 10px 20px 10px 50px; }
.zd-mm-subitems.active { display: block; }
.zd-mm-subitem { 
    display: block; 
    padding: 10px 0; 
    font-size: 14px; 
    color: #555; 
    text-decoration: none; 
    border-bottom: 1px solid #f5f5f5;
    transition: color 0.2s ease;
}
.zd-mm-subitem:last-child { border-bottom: none; }
.zd-mm-subitem:hover { color: var(--zd-green); }

/* SIMPLE LINKS (O nas, Kontakt, etc.) */
.zd-mm-link { 
    display: flex; 
    align-items: center; 
    gap: 14px; 
    padding: 16px 20px; 
    font-size: 15px; 
    color: #333; 
    text-decoration: none; 
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s ease;
}
.zd-mm-link:hover { background: var(--zd-bg); }
.zd-mm-link svg { width: 20px; height: 20px; stroke: #666; fill: none; stroke-width: 1.8; }
.zd-mm-link .emoji { font-size: 18px; }

/* CTA PHONE */
.zd-mm-cta { 
    position: fixed; 
    bottom: 0; 
    left: 0; 
    right: 0; 
    padding: 12px 20px; 
    background: #fff; 
    border-top: 1px solid #e5e5e5; 
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1); 
    z-index: 10;
    display: none;
}
body.menu-open .zd-mm-cta { display: block; }
.zd-mm-cta a { 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 10px; 
    width: 100%; 
    padding: 14px; 
    background: linear-gradient(135deg, #4CAF50 0%, #43a047 100%); 
    color: #fff; 
    font-size: 15px; 
    font-weight: 700; 
    text-decoration: none; 
    border-radius: 12px; 
    box-shadow: 0 4px 15px rgba(76,175,80,0.3); 
}
.zd-mm-cta svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; }

/* RESPONSIVE */
@media (max-width: 992px) {
    .zd-top-bar { padding: 4px 15px; }
    .zd-top-bar-phone-number { font-size: 13px; }
    .zd-main-header { gap: 20px; padding: 15px 20px; }
}

@media (max-width: 768px) {
    .zd-top-bar { padding: 3px 10px; }
    .zd-top-bar-phone-icon { width: 16px; height: 16px; }
    .zd-top-bar-phone-icon svg { width: 9px; height: 9px; }
    .zd-top-bar-phone-number { font-size: 12px; }
    .zd-burger-btn { display: flex; order: -1; }
    .zd-mobile-menu { display: block; }
    
    /* Mobile header layout z wyszukiwarką */
    .zd-main-header { 
        display: grid;
        grid-template-columns: auto 1fr auto;
        grid-template-rows: auto auto;
        gap: 10px 12px; 
        padding: 10px 12px; 
    }
    
    .zd-logo { grid-column: 2; grid-row: 1; justify-self: center; }
    .zd-header-icons { grid-column: 3; grid-row: 1; }
    
    /* Wyszukiwarka na całą szerokość pod logo */
    .zd-search-wrapper { 
        display: flex !important; 
        grid-column: 1 / -1; 
        grid-row: 2; 
        width: 100%;
    }
    .zd-search-form { max-width: 100%; }
    .zd-search-form input[type="search"] { 
        padding: 12px 50px 12px 16px; 
        font-size: 16px; /* 16px zapobiega auto-zoom na iOS */
        border-radius: 10px;
    }
    .zd-search-btn { 
        width: 38px; 
        height: 38px; 
        right: 4px;
    }
    .zd-search-btn svg { width: 18px; height: 18px; }
    
    /* Live Search na mobile - pod wyszukiwarką, nie na dole */
    .zd-live-search-results {
        position: absolute;
        top: calc(100% + 5px);
        bottom: auto;
        left: 0;
        right: 0;
        max-height: 60vh;
        border-radius: 12px;
        box-shadow: 0 10px 40px rgba(0,0,0,0.25);
        z-index: 99999;
    }
    .zd-live-search-header { border-radius: 12px 12px 0 0; }
    .zd-live-search-all { border-radius: 0 0 12px 12px; }
    
    .zd-logo img, .zd-logo .custom-logo { max-height: 40px; }
    .zd-header-icon { padding: 8px; }
    .zd-header-icon svg { width: 20px; height: 20px; }
}

@media (max-width: 480px) {
    .zd-top-bar { padding: 2px 8px; }
    .zd-top-bar-phone a { gap: 4px; }
    .zd-top-bar-phone-icon { width: 14px; height: 14px; }
    .zd-top-bar-phone-icon svg { width: 8px; height: 8px; }
    .zd-top-bar-phone-number { font-size: 14px; }
    .zd-main-header { gap: 8px 8px; padding: 8px 10px; }
    .zd-logo img, .zd-logo .custom-logo { max-height: 35px; }
    .zd-logo-text { font-size: 18px; }
    
    .zd-search-form input[type="search"] { 
        padding: 10px 45px 10px 14px; 
        font-size: 16px; /* 16px zapobiega auto-zoom na iOS */
    }
    .zd-search-btn { width: 48px; height: 48px; min-width: 48px; min-height: 48px; }
}

/* ========================================
   MEGA MENU - DESKTOP (styl KFD)
   ======================================== */

.zd-desktop-nav {
    display: block;
    background: linear-gradient(135deg, #4CAF50 0%, #43a047 100%);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.zd-desktop-nav-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zd-nav-menu {
    display: flex;
    align-items: center;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

.zd-nav-item {
    position: relative;
}

.zd-nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 18px 35px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    transition: all 0.2s ease;
    border-bottom: 3px solid transparent;
    margin-bottom: -3px;
}

.zd-nav-link:hover {
    background: rgba(255,255,255,0.15);
    color: #fff;
}

.zd-nav-link svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2.5;
    transition: transform 0.2s ease;
}

.zd-nav-item:hover .zd-nav-link svg {
    transform: rotate(180deg);
}

.zd-nav-item.has-mega:hover .zd-nav-link {
    background: rgba(255,255,255,0.2);
    border-bottom-color: #fff;
}

/* MEGA MENU DROPDOWN */
.zd-mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 920px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.15);
    border-radius: 0 0 12px 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
    z-index: 1000;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    padding: 30px 0;
}

.zd-nav-item.has-mega:hover .zd-mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Kolumna mega menu */
.zd-mega-column {
    padding: 0 28px;
    border-right: 1px solid #e8e8e8;
}

.zd-mega-column:last-child {
    border-right: none;
}

.zd-mega-title {
    font-family: "Nunito", sans-serif;
    font-size: 15px;
    font-weight: 800;
    color: var(--zd-text-dark);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 2px solid #4CAF50;
    display: flex;
    align-items: center;
    gap: 8px;
}

.zd-mega-title a {
    color: inherit;
    text-decoration: none;
}

.zd-mega-title a:hover {
    color: var(--zd-green);
}

.zd-mega-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.zd-mega-links li {
    margin-bottom: 6px;
}

.zd-mega-links a {
    display: block;
    padding: 8px 0;
    color: #333;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.zd-mega-links a:hover {
    color: var(--zd-green);
    padding-left: 10px;
}

/* Link "Zobacz wszystkie" */
.zd-mega-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #4CAF50 0%, #43a047 100%);
    color: #fff !important;
    font-family: "Nunito", sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 8px;
    transition: all 0.2s ease;
    box-shadow: 0 3px 10px rgba(76,175,80,0.3);
}

.zd-mega-all:hover {
    background: linear-gradient(135deg, #43a047 0%, #388E3C 100%);
    transform: translateX(4px);
    padding-left: 20px !important;
    box-shadow: 0 5px 15px rgba(76,175,80,0.4);
}

.zd-mega-all svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    fill: none;
}

/* Ukryj desktop nav na mobile */
@media (max-width: 992px) {
    .zd-desktop-nav {
        display: none;
    }
}


/* ════════════════════════════════════════════════════════════════
   2. BLOG (home.php)
   ════════════════════════════════════════════════════════════════ */

/* ========================================
   BLOG - PREMIUM DESIGN
   ======================================== */

.zd-blog-page {
    background: var(--zd-bg);
    min-height: 100vh;
}

/* HERO BLOGA */
.zd-blog-hero {
    background: linear-gradient(135deg, #f0fdf4 0%, #e8f5e9 50%, #f5f5f5 100%);
    padding: 50px 30px 40px;
    text-align: center;
}

.zd-blog-hero-content {
    max-width: 700px;
    margin: 0 auto;
}

.zd-blog-breadcrumb {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.zd-blog-breadcrumb a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.zd-blog-breadcrumb a:hover {
    color: var(--zd-green);
}

.zd-blog-hero h1 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 42px;
    font-weight: 600;
    color: var(--zd-text-dark);
    margin: 0 0 15px 0;
}

.zd-blog-hero h1 span {
    color: var(--zd-green);
}

.zd-blog-hero p {
    font-size: 17px;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

/* KONTENER BLOGA */
.zd-blog-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 30px 80px;
}

/* SIATKA ARTYKUŁÓW */
.zd-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* KARTA ARTYKUŁU */
.zd-blog-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid #f0f0f0;
}

.zd-blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    border-color: #e8f5e9;
}

/* OBRAZEK */
.zd-blog-card-image {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 */
    overflow: hidden;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
}

.zd-blog-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.zd-blog-card:hover .zd-blog-card-image img {
    transform: scale(1.05);
}

/* PLACEHOLDER GDY BRAK OBRAZKA */
.zd-blog-card-image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
}

.zd-blog-card-image-placeholder svg {
    width: 48px;
    height: 48px;
    stroke: #4CAF50;
    opacity: 0.5;
}

/* KATEGORIA BADGE */
.zd-blog-card-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #fff;
    color: var(--zd-green);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 6px 12px;
    border-radius: 50px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    transition: all 0.3s ease;
}

.zd-blog-card-category:hover {
    background: var(--zd-green);
    color: #fff;
}

/* TREŚĆ KARTY */
.zd-blog-card-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.zd-blog-card-title {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--zd-text-dark);
    line-height: 1.4;
    margin: 0 0 12px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.zd-blog-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.zd-blog-card-title a:hover {
    color: var(--zd-green);
}

.zd-blog-card-excerpt {
    font-size: 15px;
    line-height: 1.6;
    color: #666;
    margin: 0 0 20px 0;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* META (DATA + AUTOR) */
.zd-blog-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
    font-size: 13px;
    color: #666;
}

.zd-blog-card-date {
    display: flex;
    align-items: center;
    gap: 6px;
}

.zd-blog-card-date svg {
    width: 14px;
    height: 14px;
    stroke: #bbb;
}

.zd-blog-card-author {
    display: flex;
    align-items: center;
    gap: 8px;
}

.zd-blog-card-author-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4CAF50 0%, #81C784 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
}

/* PRZYCISK CZYTAJ WIĘCEJ */
.zd-blog-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--zd-green);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    margin-top: 15px;
    transition: gap 0.3s ease;
}

.zd-blog-card-link:hover {
    gap: 10px;
}

.zd-blog-card-link svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
}

/* PAGINACJA */
.zd-blog-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 50px;
}

.zd-blog-pagination a,
.zd-blog-pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 15px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.zd-blog-pagination a {
    background: #fff;
    color: #333;
    border: 1px solid #e5e5e5;
}

.zd-blog-pagination a:hover {
    background: var(--zd-green);
    color: #fff;
    border-color: var(--zd-green);
}

.zd-blog-pagination span.current {
    background: var(--zd-green);
    color: #fff;
    border: 1px solid #4CAF50;
}

.zd-blog-pagination .prev,
.zd-blog-pagination .next {
    font-weight: 600;
}

/* BRAK WPISÓW */
.zd-blog-empty {
    text-align: center;
    padding: 80px 30px;
    background: #fff;
    border-radius: 16px;
}

.zd-blog-empty svg {
    width: 64px;
    height: 64px;
    stroke: #ccc;
    margin-bottom: 20px;
}

.zd-blog-empty h2 {
    font-size: 24px;
    color: #333;
    margin: 0 0 10px 0;
}

.zd-blog-empty p {
    font-size: 16px;
    color: #666;
    margin: 0;
}

/* ========================================
   RESPONSYWNOŚĆ
   ======================================== */

@media (max-width: 992px) {
    .zd-blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .zd-blog-hero h1 {
        font-size: 34px;
    }
}

@media (max-width: 768px) {
    .zd-blog-hero {
        padding: 40px 20px 30px;
    }
    
    .zd-blog-hero h1 {
        font-size: 28px;
    }
    
    .zd-blog-hero p {
        font-size: 15px;
    }
    
    .zd-blog-container {
        padding: 30px 15px 60px;
    }
    
    .zd-blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .zd-blog-card-content {
        padding: 20px;
    }
    
    .zd-blog-card-title {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .zd-blog-hero h1 {
        font-size: 24px;
    }
    
    .zd-blog-card-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* ════════════════════════════════════════════════════════════════
   3. KATEGORIE (category.php)
   ════════════════════════════════════════════════════════════════ */

/* ARCHIWUM BLOGA */
.zd-blog-archive {
    background: linear-gradient(135deg, #f8fdf8 0%, #f5f5f5 100%);
    min-height: 60vh;
}

.zd-blog-archive-header {
    background: linear-gradient(135deg, #4CAF50 0%, #43a047 100%);
    padding: 50px 30px;
    text-align: center;
    color: #fff;
}

.zd-blog-archive-title {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 42px;
    font-weight: 600;
    margin: 0 0 10px 0;
}

.zd-blog-archive-desc {
    font-size: 18px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    font-family: "Inter", sans-serif;
}

.zd-blog-archive-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 50px 30px;
}

/* LISTA WPISÓW */
.zd-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.zd-post-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.zd-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.zd-post-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
}

.zd-post-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.zd-post-card:hover .zd-post-card-image img {
    transform: scale(1.05);
}

.zd-post-card-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
}

.zd-post-card-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.zd-post-card-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
    font-size: 13px;
    color: #888;
    font-family: "Inter", sans-serif;
}

.zd-post-card-category {
    background: var(--zd-bg-green-light);
    color: var(--zd-green);
    padding: 4px 10px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
}

.zd-post-card-title {
    font-family: "Nunito", sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--zd-text-dark);
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.zd-post-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.zd-post-card-title a:hover {
    color: var(--zd-green);
}

.zd-post-card-excerpt {
    font-size: 15px;
    line-height: 1.7;
    color: #666;
    margin: 0 0 20px 0;
    flex: 1;
    font-family: "Inter", sans-serif;
}

.zd-post-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--zd-green);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    font-family: "Nunito", sans-serif;
    transition: gap 0.3s ease;
}

.zd-post-card-link:hover {
    gap: 12px;
}

/* PAGINACJA */
.zd-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.zd-pagination a,
.zd-pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
    height: 45px;
    padding: 0 15px;
    background: #fff;
    color: #333;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-family: "Nunito", sans-serif;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.zd-pagination a:hover {
    background: var(--zd-green);
    color: #fff;
}

.zd-pagination .current {
    background: var(--zd-green);
    color: #fff;
}

/* BRAK WPISÓW */
.zd-no-posts {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 16px;
}

.zd-no-posts-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.zd-no-posts-title {
    font-family: "Nunito", sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin: 0 0 10px 0;
}

.zd-no-posts-text {
    font-size: 16px;
    color: #888;
    margin: 0;
}

/* RESPONSYWNOŚĆ */
@media (max-width: 768px) {
    .zd-blog-archive-header {
        padding: 40px 20px;
    }
    
    .zd-blog-archive-title {
        font-size: 32px;
    }
    
    .zd-blog-archive-container {
        padding: 30px 15px;
    }
    
    .zd-posts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .zd-post-card-image {
        height: 180px;
    }
    
    .zd-post-card-content {
        padding: 20px;
    }
    
    .zd-post-card-title {
        font-size: 18px;
    }
}

/* ════════════════════════════════════════════════════════════════
   4. STRONY STATYCZNE (o-nas, dostawa, regulamin, page)
   ════════════════════════════════════════════════════════════════ */

/* --- O NAS --- */
/* ========================================
   STRONA O NAS - STYLE
   ======================================== */

.onas-page {
    background: #fff;
}

/* Hero sekcja */
.onas-hero {
    background: linear-gradient(135deg, #f0fdf4 0%, #fafffe 50%, #f8f8f8 100%);
    padding: 60px 30px 70px;
    text-align: center;
}

.onas-hero-container {
    max-width: 800px;
    margin: 0 auto;
}

.onas-hero-label {
    display: inline-block;
    background: var(--zd-bg-green-light);
    color: var(--zd-green);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}

.onas-hero-title {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 42px;
    font-weight: 600;
    color: var(--zd-text-dark);
    line-height: 1.2;
    margin: 0 0 15px 0;
}

.onas-hero-subtitle {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Główna treść */
.onas-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 70px 30px;
}

/* Sekcja intro */
.onas-intro {
    max-width: 850px;
    margin: 0 auto 60px;
    text-align: center;
}

.onas-intro-text {
    font-size: 18px;
    line-height: 1.8;
    color: #444;
}

.onas-intro-text strong {
    color: var(--zd-text-dark);
}

/* Sekcja osoby - 2 kolumny */
.onas-person {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
    padding-bottom: 80px;
    border-bottom: 1px solid #f0f0f0;
}

.onas-person.reverse {
    direction: rtl;
}

.onas-person.reverse > * {
    direction: ltr;
}

.onas-person-image {
    position: relative;
}

.onas-person-image-placeholder {
    width: 100%;
    aspect-ratio: 4/5;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.onas-person-image-placeholder svg {
    width: 120px;
    height: 120px;
    stroke: #4CAF50;
    fill: none;
    opacity: 0.5;
}

.onas-person-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.onas-person-badge {
    position: absolute;
    bottom: -15px;
    left: 30px;
    background: linear-gradient(135deg, #4CAF50 0%, #43a047 100%);
    color: #fff;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.3);
}

.onas-person-content h2 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 32px;
    font-weight: 600;
    color: var(--zd-text-dark);
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.onas-person-content h2 span {
    font-size: 28px;
}

.onas-person-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin: 0 0 20px 0;
}

.onas-person-list {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.onas-person-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 15px;
    color: #444;
}

.onas-person-list li span {
    font-size: 20px;
}

.onas-quote {
    background: #f8f8f8;
    border-left: 4px solid #4CAF50;
    padding: 25px 30px;
    border-radius: 0 16px 16px 0;
    margin-top: 25px;
}

.onas-quote p {
    font-style: italic;
    font-size: 17px;
    color: #555;
    margin: 0;
    line-height: 1.7;
}

.onas-quote cite {
    display: block;
    margin-top: 12px;
    font-size: 14px;
    color: #888;
    font-style: normal;
}

/* Sekcja "Dlaczego Zdrowotka" */
.onas-why {
    background: linear-gradient(135deg, #f0fdf4 0%, #e8f5e9 100%);
    border-radius: 24px;
    padding: 50px;
    margin-bottom: 80px;
    text-align: center;
}

.onas-why h2 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 32px;
    font-weight: 600;
    color: var(--zd-text-dark);
    margin: 0 0 15px 0;
}

.onas-why h2 span {
    font-size: 28px;
}

.onas-why > p {
    font-size: 16px;
    color: #666;
    margin: 0 0 35px 0;
}

.onas-why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    text-align: left;
}

.onas-why-card {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.onas-why-card h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--zd-text-dark);
    margin: 0 0 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.onas-why-card h3 span {
    font-size: 22px;
}

.onas-why-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Sekcja "Co oferujemy" */
.onas-offer {
    margin-bottom: 80px;
    text-align: center;
}

.onas-offer h2 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 32px;
    font-weight: 600;
    color: var(--zd-text-dark);
    margin: 0 0 40px 0;
}

.onas-offer h2 span {
    font-size: 28px;
}

.onas-offer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.onas-offer-item {
    background: #fff;
    border: 2px solid #f0f0f0;
    border-radius: 16px;
    padding: 30px 25px;
    text-align: center;
    transition: all 0.3s ease;
}

.onas-offer-item:hover {
    border-color: var(--zd-green);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(76, 175, 80, 0.1);
}

.onas-offer-item span {
    font-size: 36px;
    display: block;
    margin-bottom: 15px;
}

.onas-offer-item h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--zd-text-dark);
    margin: 0;
}

/* Sekcja misja */
.onas-mission {
    background: #1a1a1a;
    border-radius: 24px;
    padding: 60px 50px;
    text-align: center;
    margin-bottom: 80px;
}

.onas-mission h2 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 28px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 20px 0;
}

.onas-mission h2 span {
    font-size: 26px;
}

.onas-mission p {
    font-size: 18px;
    color: rgba(255,255,255,0.8);
    line-height: 1.8;
    max-width: 750px;
    margin: 0 auto;
}

/* Sekcja historia */
.onas-history {
    max-width: 800px;
    margin: 0 auto 80px;
    text-align: center;
}

.onas-history h2 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 32px;
    font-weight: 600;
    color: var(--zd-text-dark);
    margin: 0 0 25px 0;
}

.onas-history h2 span {
    font-size: 28px;
}

.onas-history p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin: 0 0 20px 0;
}

.onas-history-highlight {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.onas-history-highlight span {
    background: var(--zd-bg-green-light);
    color: #2e7d32;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
}

/* Sekcja CTA */
.onas-cta {
    background: linear-gradient(135deg, #4CAF50 0%, #43a047 100%);
    border-radius: 24px;
    padding: 60px 50px;
    text-align: center;
}

.onas-cta h2 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 32px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 15px 0;
}

.onas-cta p {
    font-size: 17px;
    color: rgba(255,255,255,0.9);
    margin: 0 0 30px 0;
}

.onas-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.onas-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.onas-cta-btn.primary {
    background: #fff;
    color: var(--zd-green);
}

.onas-cta-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.onas-cta-btn.secondary {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border: 2px solid rgba(255,255,255,0.3);
}

.onas-cta-btn.secondary:hover {
    background: rgba(255,255,255,0.25);
}

.onas-cta-btn svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
}

/* Sekcja kontakt */
.onas-contact {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 1px solid #f0f0f0;
    text-align: center;
}

.onas-contact h2 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 28px;
    font-weight: 600;
    color: var(--zd-text-dark);
    margin: 0 0 10px 0;
}

.onas-contact > p {
    font-size: 16px;
    color: #666;
    margin: 0 0 30px 0;
}

.onas-contact-cards {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.onas-contact-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 30px;
    background: #f8f8f8;
    border-radius: 14px;
    text-decoration: none;
    color: var(--zd-text-dark);
    transition: all 0.3s ease;
}

.onas-contact-card:hover {
    background: var(--zd-bg-green-light);
    transform: translateY(-3px);
}

.onas-contact-card svg {
    width: 24px;
    height: 24px;
    stroke: #4CAF50;
    fill: none;
}

.onas-contact-card span {
    font-size: 15px;
    font-weight: 600;
}

/* ========================================
   RESPONSYWNOŚĆ
   ======================================== */

@media (max-width: 992px) {
    .onas-hero-title {
        font-size: 34px;
    }
    
    .onas-person {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .onas-person.reverse {
        direction: ltr;
    }
    
    .onas-person-image {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .onas-why {
        padding: 40px 30px;
    }
    
    .onas-why-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .onas-offer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .onas-mission {
        padding: 50px 30px;
    }
}

@media (max-width: 480px) {
    .onas-hero {
        padding: 45px 20px 55px;
    }
    
    .onas-hero-title {
        font-size: 28px;
    }
    
    .onas-hero-subtitle {
        font-size: 16px;
    }
    
    .onas-content {
        padding: 50px 20px;
    }
    
    .onas-intro-text {
        font-size: 16px;
    }
    
    .onas-person {
        margin-bottom: 50px;
        padding-bottom: 50px;
    }
    
    .onas-person-content h2 {
        font-size: 26px;
    }
    
    .onas-person-badge {
        left: 20px;
        padding: 10px 18px;
        font-size: 13px;
    }
    
    .onas-quote {
        padding: 20px;
    }
    
    .onas-why h2,
    .onas-offer h2,
    .onas-history h2 {
        font-size: 26px;
    }
    
    .onas-offer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .onas-offer-item {
        padding: 20px 15px;
    }
    
    .onas-offer-item span {
        font-size: 28px;
    }
    
    .onas-offer-item h3 {
        font-size: 13px;
    }
    
    .onas-mission {
        padding: 40px 25px;
        border-radius: 18px;
    }
    
    .onas-mission h2 {
        font-size: 24px;
    }
    
    .onas-mission p {
        font-size: 15px;
    }
    
    .onas-cta {
        padding: 45px 25px;
        border-radius: 18px;
    }
    
    .onas-cta h2 {
        font-size: 26px;
    }
    
    .onas-cta-buttons {
        flex-direction: column;
    }
    
    .onas-cta-btn {
        width: 100%;
        justify-content: center;
    }
    
    .onas-contact-cards {
        flex-direction: column;
    }
    
    .onas-contact-card {
        width: 100%;
        justify-content: center;
    }
}

/* --- DOSTAWA --- */
/* ========================================
   STRONA DOSTAWA - ZDROWOTKA STYLE
   ======================================== */

.zd-delivery-page {
    background: var(--zd-bg);
    min-height: 100vh;
}

/* HERO */
.zd-delivery-hero {
    background: linear-gradient(135deg, #f0fdf4 0%, #e8f5e9 50%, #f5f5f5 100%);
    padding: 50px 30px 40px;
    text-align: center;
}

.zd-delivery-hero h1 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 42px;
    font-weight: 600;
    color: var(--zd-text-dark);
    margin: 0 0 10px 0;
}

.zd-delivery-hero p {
    font-size: 18px;
    color: #666;
    margin: 0;
}

/* CONTAINER */
.zd-delivery-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 50px 30px 80px;
}

/* SECTION */
.zd-delivery-section {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    border: 1px solid #f0f0f0;
}

.zd-delivery-section-title {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 28px;
    font-weight: 600;
    color: var(--zd-text-dark);
    margin: 0 0 10px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.zd-delivery-section-title .emoji {
    font-size: 32px;
}

.zd-delivery-section-subtitle {
    font-size: 16px;
    color: #666;
    margin: 0 0 30px 0;
}

/* DELIVERY OPTIONS */
.zd-delivery-options {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.zd-delivery-option {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: var(--zd-bg);
    border-radius: 16px;
    border-left: 4px solid #4CAF50;
    transition: all 0.3s ease;
}

.zd-delivery-option:hover {
    background: #f5f5f5;
    transform: translateX(5px);
}

.zd-delivery-option-icon {
    width: 60px;
    height: 60px;
    background: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    flex-shrink: 0;
}

.zd-delivery-option-content {
    flex: 1;
}

.zd-delivery-option-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--zd-text-dark);
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.zd-delivery-option-badge {
    font-size: 14px;
    font-weight: 600;
    background: var(--zd-green);
    color: #fff;
    padding: 4px 10px;
    border-radius: 50px;
    text-transform: uppercase;
}

.zd-delivery-option-desc {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
    margin: 0 0 12px 0;
}

.zd-delivery-option-details {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.zd-delivery-option-detail {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #666;
}

.zd-delivery-option-detail svg {
    width: 18px;
    height: 18px;
    stroke: #4CAF50;
    fill: none;
}

.zd-delivery-option-detail strong {
    color: #333;
}

.zd-delivery-option-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--zd-green);
    white-space: nowrap;
}

/* FREE SHIPPING BOX */
.zd-free-shipping-box {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    margin-top: 30px;
    border: 2px dashed #4CAF50;
}

.zd-free-shipping-box .emoji {
    font-size: 48px;
    display: block;
    margin-bottom: 15px;
}

.zd-free-shipping-box h3 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 24px;
    font-weight: 600;
    color: #2E7D32;
    margin: 0 0 10px 0;
}

.zd-free-shipping-box p {
    font-size: 16px;
    color: #555;
    margin: 0;
}

.zd-free-shipping-box strong {
    color: #2E7D32;
}

/* PAYMENT OPTIONS */
.zd-payment-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.zd-payment-option {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--zd-bg);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.zd-payment-option:hover {
    background: #f0f0f0;
}

.zd-payment-option-icon {
    width: 50px;
    height: 50px;
    background: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    flex-shrink: 0;
}

.zd-payment-option-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0 0 4px 0;
}

.zd-payment-option-content p {
    font-size: 13px;
    color: #666;
    margin: 0;
}

/* INFO BOXES */
.zd-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.zd-info-box {
    background: var(--zd-bg);
    border-radius: 16px;
    padding: 25px;
    text-align: center;
}

.zd-info-box-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #4CAF50 0%, #43a047 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.zd-info-box-icon svg {
    width: 28px;
    height: 28px;
    stroke: #fff;
    fill: none;
}

.zd-info-box h4 {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin: 0 0 8px 0;
}

.zd-info-box p {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* CTA */
.zd-delivery-cta {
    background: linear-gradient(135deg, #4CAF50 0%, #43a047 100%);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    color: #fff;
}

.zd-delivery-cta h3 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 26px;
    font-weight: 600;
    margin: 0 0 10px 0;
}

.zd-delivery-cta p {
    font-size: 16px;
    opacity: 0.9;
    margin: 0 0 25px 0;
}

.zd-delivery-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: #fff;
    color: var(--zd-green);
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.zd-delivery-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    color: #2E7D32;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .zd-delivery-hero {
        padding: 40px 20px 30px;
    }
    
    .zd-delivery-hero h1 {
        font-size: 32px;
    }
    
    .zd-delivery-container {
        padding: 30px 15px 60px;
    }
    
    .zd-delivery-section {
        padding: 25px 20px;
    }
    
    .zd-delivery-section-title {
        font-size: 24px;
    }
    
    .zd-delivery-option {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .zd-delivery-option-details {
        flex-direction: column;
        gap: 10px;
    }
    
    .zd-payment-grid {
        grid-template-columns: 1fr;
    }
    
    .zd-info-grid {
        grid-template-columns: 1fr;
    }
    
    .zd-delivery-cta {
        padding: 30px 20px;
    }
}

/* --- REGULAMIN --- */
/* ========================================
   STRONA REGULAMIN / POLITYKA
   ======================================== */

.zd-legal-page {
    background: var(--zd-bg);
    min-height: 100vh;
}

/* Hero */
.zd-legal-hero {
    background: linear-gradient(135deg, #f0fdf4 0%, #e8f5e9 50%, #f5f5f5 100%);
    padding: 50px 30px 40px;
    text-align: center;
}

.zd-legal-hero h1 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 42px;
    font-weight: 600;
    color: var(--zd-text-dark);
    margin: 0 0 15px 0;
}

.zd-legal-hero p {
    font-size: 16px;
    color: #666;
    margin: 0;
}

/* Kontener */
.zd-legal-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 50px 30px 80px;
}

/* Treść */
.zd-legal-content {
    background: #fff;
    border-radius: 16px;
    padding: 50px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    border: 1px solid #f0f0f0;
}

.zd-legal-content h2 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 24px;
    font-weight: 600;
    color: var(--zd-text-dark);
    margin: 40px 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #e8f5e9;
}

.zd-legal-content h2:first-child {
    margin-top: 0;
}

.zd-legal-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 30px 0 15px 0;
}

.zd-legal-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin: 0 0 15px 0;
}

.zd-legal-content ul,
.zd-legal-content ol {
    margin: 0 0 20px 0;
    padding-left: 25px;
}

.zd-legal-content li {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 10px;
}

.zd-legal-content a {
    color: var(--zd-green);
    text-decoration: underline;
}

.zd-legal-content a:hover {
    text-decoration: none;
}

/* Data aktualizacji */
.zd-legal-date {
    display: inline-block;
    background: var(--zd-bg-green-light);
    color: var(--zd-green);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 30px;
}

/* Spis treści */
.zd-legal-toc {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 25px 30px;
    margin-bottom: 40px;
}

.zd-legal-toc h4 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0 0 15px 0;
}

.zd-legal-toc ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.zd-legal-toc li {
    margin-bottom: 8px;
}

.zd-legal-toc a {
    color: var(--zd-green);
    font-size: 14px;
    text-decoration: none;
}

.zd-legal-toc a:hover {
    text-decoration: underline;
}

/* Responsywność */
@media (max-width: 768px) {
    .zd-legal-hero {
        padding: 40px 20px 30px;
    }
    
    .zd-legal-hero h1 {
        font-size: 32px;
    }
    
    .zd-legal-container {
        padding: 30px 15px 60px;
    }
    
    .zd-legal-content {
        padding: 30px 20px;
    }
    
    .zd-legal-content h2 {
        font-size: 20px;
    }
}

/* --- PAGE (ogólny szablon) --- */
.zd-page {
    background: var(--zd-bg);
    min-height: 100vh;
}

.zd-page-hero {
    background: linear-gradient(135deg, #f0fdf4 0%, #e8f5e9 50%, #f5f5f5 100%);
    padding: 50px 30px 40px;
    text-align: center;
}

.zd-page-hero h1 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 42px;
    font-weight: 600;
    color: var(--zd-text-dark);
    margin: 0;
}

.zd-page-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 50px 30px 80px;
}

.zd-page-content {
    background: #fff;
    border-radius: 16px;
    padding: 50px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    border: 1px solid #f0f0f0;
}

.zd-page-content h2 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 28px;
    font-weight: 600;
    color: var(--zd-text-dark);
    margin: 30px 0 15px 0;
}

.zd-page-content h2:first-child {
    margin-top: 0;
}

.zd-page-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin: 25px 0 12px 0;
}

.zd-page-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin: 0 0 15px 0;
}

.zd-page-content ul,
.zd-page-content ol {
    margin: 0 0 20px 0;
    padding-left: 25px;
}

.zd-page-content li {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 8px;
}

.zd-page-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 20px 0;
}

.zd-page-content a {
    color: var(--zd-green);
}

.zd-page-content a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .zd-page-hero {
        padding: 40px 20px 30px;
    }
    
    .zd-page-hero h1 {
        font-size: 32px;
    }
    
    .zd-page-container {
        padding: 30px 15px 60px;
    }
    
    .zd-page-content {
        padding: 30px 20px;
    }
}

<?php if ( $is_checkout ) : ?>
/* === CHECKOUT: UKRYJ HERO I ZRESETUJ KONTENERY === */
.zd-page-hero {
    display: none !important;
}

.zd-page-container {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

.zd-page-content {
    background: transparent !important;
    border-radius: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    border: none !important;
}

.zd-page {
    background: #fff !important;
}
<?php endif; ?>

/* ════════════════════════════════════════════════════════════════
   5. STRONA PRODUKTU (single-product.php)
   ════════════════════════════════════════════════════════════════ */

/* ========================================
   SEKCJA DORADZTWA POD CENĄ
   ======================================== */

.zd-product-benefits {
    margin-top: 20px;
    padding: 20px;
    background: #f8fdf8;
    border-radius: 12px;
    border: 1px solid #e8f5e9;
}

.zd-benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #e8f5e9;
}

.zd-benefit-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.zd-benefit-item:first-child {
    padding-top: 0;
}

.zd-benefit-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #4CAF50 0%, #43a047 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(76, 175, 80, 0.25);
}

.zd-benefit-icon svg {
    width: 22px;
    height: 22px;
    stroke: #fff;
    fill: none;
}

.zd-benefit-text {
    flex: 1;
}

.zd-benefit-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--zd-text-dark);
    margin: 0 0 2px 0;
}

.zd-benefit-desc {
    font-size: 13px;
    color: #666;
    margin: 0;
}

.zd-benefit-phone {
    font-weight: 700;
    color: var(--zd-green);
    text-decoration: none;
}

.zd-benefit-phone:hover {
    text-decoration: underline;
}

/* TEKST POD PRZYCISKIEM */
.zd-cta-help {
    text-align: center;
    margin-top: 15px;
    padding: 12px;
    background: #fff;
    border-radius: 10px;
    border: 1px dashed #c8e6c9;
}

.zd-cta-help-text {
    font-size: 14px;
    color: #555;
    margin: 0;
}

.zd-cta-help-text a {
    color: var(--zd-green);
    font-weight: 700;
    text-decoration: none;
}

.zd-cta-help-text a:hover {
    text-decoration: underline;
}

/* RESPONSYWNOŚĆ */
@media (max-width: 768px) {
    .zd-product-benefits {
        padding: 15px;
    }
    
    .zd-benefit-item {
        padding: 10px 0;
    }
    
    .zd-benefit-icon {
        width: 40px;
        height: 40px;
    }
    
    .zd-benefit-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .zd-benefit-title {
        font-size: 14px;
    }
    
    .zd-benefit-desc {
        font-size: 12px;
    }
    
    .zd-cta-help {
        padding: 10px;
    }
    
    .zd-cta-help-text {
        font-size: 13px;
    }
}

/* ════════════════════════════════════════════════════════════════
   6. FUNKCJE DODATKOWE (functions.php)
   ════════════════════════════════════════════════════════════════ */

/* --- SOCIAL PROOF --- */
    .zd-social-proof {
        position: fixed;
        bottom: 20px;
        left: 20px;
        background: #fff;
        border-radius: 12px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
        z-index: 9998;
        max-width: 320px;
        overflow: hidden;
        animation: zdSlideInLeft 0.5s ease;
        border: 1px solid #e5e5e5;
    }
    
    @keyframes zdSlideInLeft {
        from { transform: translateX(-120%); opacity: 0; }
        to { transform: translateX(0); opacity: 1; }
    }
    
    @keyframes zdSlideOutLeft {
        from { transform: translateX(0); opacity: 1; }
        to { transform: translateX(-120%); opacity: 0; }
    }
    
    .zd-social-proof.hiding {
        animation: zdSlideOutLeft 0.4s ease forwards;
    }
    
    .zd-social-proof-close {
        min-width: 44px;
        min-height: 44px;
        position: absolute;
        top: 10px;
        right: 10px;
        width: 32px;
        height: 32px;
        background: rgba(0,0,0,0.15);
        border: none;
        border-radius: 50%;
        font-size: 22px;
        color: #333;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        z-index: 1;
        line-height: 1;
    }
    
    .zd-social-proof-close:hover {
        background: rgba(220,53,69,0.9);
        color: #fff;
    }
    
    .zd-social-proof-link {
        display: flex;
        gap: 12px;
        padding: 15px;
        text-decoration: none;
        color: inherit;
    }
    
    .zd-social-proof-image {
        width: 60px;
        height: 60px;
        border-radius: 10px;
        overflow: hidden;
        background: #f5f5f5;
        flex-shrink: 0;
    }
    
    .zd-social-proof-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .zd-social-proof-content {
        flex: 1;
        min-width: 0;
    }
    
    .zd-social-proof-title {
        font-size: 13px;
        color: #2E7D32;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin-bottom: 3px;
    }
    
    .zd-social-proof-buyer {
        font-size: 14px;
        font-weight: 600;
        color: #333;
        margin-bottom: 2px;
    }
    
    .zd-social-proof-product {
        font-size: 12px;
        color: #555;
        margin-bottom: 4px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .zd-social-proof-time {
        font-size: 14px;
        color: #666;
    }
    
    @media (max-width: 480px) {
        .zd-social-proof {
            left: 10px;
            right: 10px;
            bottom: 80px;
            max-width: none;
        }
    }

/* --- FLOATING CART --- */
    /* FLOATING KOSZYK */
    .zd-floating-cart {
        position: fixed;
        bottom: 20px;
        right: 20px;
        width: 60px;
        height: 60px;
        background: linear-gradient(135deg, #4CAF50 0%, #388E3C 100%);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 20px rgba(76, 175, 80, 0.4);
        z-index: 998;
        transition: all 0.3s ease;
        border: none;
        cursor: pointer;
    }
    
    .zd-floating-cart:hover {
        transform: scale(1.1);
        box-shadow: 0 6px 25px rgba(76, 175, 80, 0.5);
    }
    
    .zd-floating-cart-icon {
        font-size: 26px;
    }
    
    .zd-floating-cart-count {
        position: absolute;
        top: -4px;
        right: -4px;
        background: #e53935;
        color: #fff;
        min-width: 22px;
        height: 22px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
        font-weight: 700;
        box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    }
    
    /* SIDEBAR KOSZYKA */
    .zd-cart-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 9999;
        visibility: hidden;
        opacity: 0;
        transition: visibility 0s 0.2s, opacity 0.2s ease;
    }
    
    .zd-cart-sidebar.open {
        visibility: visible;
        opacity: 1;
        transition: visibility 0s, opacity 0.15s ease;
    }
    
    .zd-cart-sidebar-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(4px);
    }
    
    .zd-cart-sidebar-content {
        position: absolute;
        top: 0;
        right: -100%;
        width: 400px;
        max-width: 90%;
        height: 100%;
        background: #fff;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.15);
        transition: right 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        display: flex;
        flex-direction: column;
    }
    
    .zd-cart-sidebar.open .zd-cart-sidebar-content {
        right: 0;
    }
    
    /* HEADER */
    .zd-cart-sidebar-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px;
        border-bottom: 1px solid #eee;
        background: #f8f9fa;
    }
    
    .zd-cart-sidebar-header h3 {
        font-size: 18px;
        font-weight: 600;
        margin: 0;
        color: var(--zd-text-dark);
    }
    
    .zd-cart-sidebar-close {
        width: 36px;
        height: 36px;
        border: none;
        background: #fff;
        border-radius: 50%;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }
    
    .zd-cart-sidebar-close:hover {
        background: #f0f0f0;
    }
    
    .zd-cart-sidebar-close svg {
        width: 18px;
        height: 18px;
        stroke: #666;
    }
    
    /* ITEMS */
    .zd-cart-sidebar-items {
        flex: 1;
        overflow-y: auto;
        padding: 15px;
    }
    
    .zd-cart-item {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 15px;
        background: #f8f9fa;
        border-radius: 12px;
        margin-bottom: 10px;
        position: relative;
        transition: opacity 0.2s ease;
    }
    
    /* Animacja wejścia nowego produktu - ULTRA SZYBKA */
    .zd-cart-item-new,
    .zd-cart-item-adding {
        animation: zdSlideIn 0.15s ease-out;
        background: linear-gradient(135deg, #e8f5e9 0%, #f1f8e9 100%);
    }
    
    @keyframes zdSlideIn {
        from { 
            opacity: 0; 
            transform: translateX(15px); 
        }
        to { 
            opacity: 1; 
            transform: translateX(0); 
        }
    }
    
    .zd-cart-item-loading-dot {
        color: var(--zd-green);
        animation: zdDots 1s ease-in-out infinite;
        margin-left: 5px;
    }
    
    @keyframes zdDots {
        0%, 100% { opacity: 0.3; }
        50% { opacity: 1; }
    }
    
    .zd-cart-item-image {
        width: 60px;
        height: 60px;
        flex-shrink: 0;
        border-radius: 8px;
        overflow: hidden;
        background: #fff;
    }
    
    .zd-cart-item-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
    
    .zd-cart-item-details {
        flex: 1;
        min-width: 0;
    }
    
    .zd-cart-item-title {
        font-size: 14px;
        font-weight: 600;
        color: var(--zd-text-dark);
        margin: 0 0 5px 0;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .zd-cart-item-meta {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 13px;
    }
    
    .zd-cart-item-qty {
        color: #666;
    }
    
    .zd-cart-item-price {
        color: var(--zd-green);
        font-weight: 600;
    }
    
    .zd-cart-item-remove {
        width: 28px;
        height: 28px;
        border: none;
        background: #fff;
        border-radius: 50%;
        cursor: pointer;
        font-size: 18px;
        color: #999;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        flex-shrink: 0;
    }
    
    .zd-cart-item-remove:hover {
        background: #e53935;
        color: #fff;
    }
    
    /* EMPTY CART */
    .zd-cart-empty {
        text-align: center;
        padding: 60px 20px;
    }
    
    .zd-cart-empty-icon {
        font-size: 64px;
        display: block;
        margin-bottom: 15px;
        opacity: 0.5;
    }
    
    .zd-cart-empty p {
        font-size: 16px;
        color: #666;
        margin: 0 0 20px 0;
    }
    
    .zd-cart-empty-btn {
        display: inline-block;
        padding: 12px 25px;
        background: var(--zd-green);
        color: #fff;
        border-radius: 8px;
        text-decoration: none;
        font-weight: 600;
        transition: all 0.3s ease;
    }
    
    .zd-cart-empty-btn:hover {
        background: #388E3C;
        color: #fff;
    }
    
    /* FOOTER */
    .zd-cart-sidebar-footer {
        padding: 20px;
        border-top: 1px solid #eee;
        background: #f8f9fa;
    }
    
    .zd-cart-total {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 15px;
        font-size: 16px;
    }
    
    .zd-cart-total strong {
        font-size: 20px;
        color: var(--zd-text-dark);
    }
    
    .zd-cart-btn {
        display: block;
        width: 100%;
        padding: 14px;
        text-align: center;
        border-radius: 10px;
        font-size: 15px;
        font-weight: 600;
        text-decoration: none;
        transition: all 0.3s ease;
        margin-bottom: 10px;
    }
    
    .zd-cart-btn:last-child {
        margin-bottom: 0;
    }
    
    .zd-cart-btn-view {
        background: #fff;
        color: var(--zd-green);
        border: 2px solid #4CAF50;
    }
    
    .zd-cart-btn-view:hover {
        background: #f0fdf4;
        color: var(--zd-green-dark);
    }
    
    .zd-cart-btn-checkout {
        background: linear-gradient(135deg, #4CAF50 0%, #388E3C 100%);
        color: #fff;
    }
    
    .zd-cart-btn-checkout:hover {
        box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
        color: #fff;
    }
    
    /* MOBILE */
    @media (max-width: 768px) {
        .zd-floating-cart {
            bottom: 80px;
            right: 15px;
            width: 56px;
            height: 56px;
        }
        
        .zd-floating-cart-icon {
            font-size: 24px;
        }
        
        .zd-cart-sidebar-content {
            width: 100%;
            max-width: 100%;
        }
    }

/* ════════════════════════════════════════════════════════════════

/* ════════════════════════════════════════════════════════════════
   7. FOOTER (footer.php)
   ════════════════════════════════════════════════════════════════ */

/* ========================================
   FOOTER v8.1 - KOMPAKTOWY Z AKORDEONAMI
   ======================================== */

.zd-footer {
    background: #1a1a1a;
    padding: 0;
    margin-top: 40px;
}

.zd-footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* ========================================
   SEKCJA CTA - DORADZTWO (KOMPAKTOWA)
   ======================================== */

.zd-footer-cta {
    background: linear-gradient(135deg, #4CAF50 0%, #388E3C 100%);
    padding: 30px 20px;
    text-align: center;
}

.zd-footer-cta-title {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 22px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 8px 0;
}

.zd-footer-cta-subtitle {
    font-size: 14px;
    color: rgba(255,255,255,0.9);
    margin: 0 0 15px 0;
}

.zd-footer-cta-phone {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.zd-footer-cta-phone:hover {
    transform: scale(1.05);
}

.zd-footer-cta-phone-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #4CAF50 0%, #388E3C 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zd-footer-cta-phone-icon svg {
    width: 20px;
    height: 20px;
    stroke: #fff;
    fill: none;
}

.zd-footer-cta-phone-text {
    text-align: left;
}

.zd-footer-cta-phone-number {
    display: block;
    font-size: 20px;
    font-weight: 800;
    color: #1a1a1a;
}

.zd-footer-cta-phone-hours {
    font-size: 14px;
    color: #666;
}

/* ========================================
   GŁÓWNA CZĘŚĆ FOOTERA
   ======================================== */

.zd-footer-main {
    padding: 30px 20px;
}

/* LOGO I OPIS - TYLKO RAZ */
.zd-footer-brand {
    text-align: center;
    margin-bottom: 20px;
}

.zd-footer-logo {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 22px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 10px;
}

.zd-footer-brand p {
    font-size: 13px;
    line-height: 1.6;
    color: #aaa;
    margin: 0 0 15px 0;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* SOCIAL MEDIA - DUŻE I WYRAŹNE */
.zd-footer-social {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 25px;
}

.zd-social-link {
    width: 52px;
    height: 52px;
    background: #2d3748;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.zd-social-link:hover {
    background: #4CAF50;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.zd-social-link svg {
    width: 24px;
    height: 24px;
    fill: #fff;
}

/* Specyficzne style dla Instagrama */
.zd-social-link.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.zd-social-link.instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    filter: brightness(1.1);
}

/* Facebook */
.zd-social-link.facebook {
    background: #1877f2;
}

.zd-social-link.facebook:hover {
    background: #166fe5;
}

/* ========================================
   AKORDEONY
   ======================================== */

.zd-footer-accordion {
    border-top: 1px solid rgba(255,255,255,0.1);
}

.zd-footer-accordion-item {
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.zd-footer-accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    cursor: pointer;
    user-select: none;
}

.zd-footer-accordion-title {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

.zd-footer-accordion-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.zd-footer-accordion-icon svg {
    width: 14px;
    height: 14px;
    stroke: #888;
    fill: none;
    stroke-width: 2;
}

.zd-footer-accordion-item.active .zd-footer-accordion-icon {
    transform: rotate(180deg);
}

.zd-footer-accordion-item.active .zd-footer-accordion-icon svg {
    stroke: #4CAF50;
}

.zd-footer-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.zd-footer-accordion-item.active .zd-footer-accordion-content {
    max-height: 500px;
}

.zd-footer-accordion-inner {
    padding: 0 0 15px 0;
}

/* LINKI W AKORDEONIE */
.zd-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.zd-footer-links li {
    margin-bottom: 10px;
}

.zd-footer-links a {
    font-size: 14px;
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    padding: 2px 0;
}

.zd-footer-links a:hover {
    color: #4CAF50;
}

/* ========================================
   ADRES I GODZINY - ZAWSZE WIDOCZNE
   ======================================== */

.zd-footer-info {
    padding: 25px 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.zd-footer-info-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 500px;
    margin: 0 auto;
}

.zd-footer-info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    text-align: left;
}

.zd-footer-info-icon {
    width: 36px;
    height: 36px;
    background: rgba(76, 175, 80, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.zd-footer-info-icon svg {
    width: 18px;
    height: 18px;
    stroke: #4CAF50;
    fill: none;
}

.zd-footer-info-text {
    flex: 1;
}

.zd-footer-info-label {
    font-size: 14px;
    font-weight: 600;
    color: #4CAF50;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.zd-footer-info-value {
    font-size: 14px;
    color: #ccc;
    line-height: 1.5;
}

.zd-footer-info-value a {
    color: #ccc;
    text-decoration: none;
}

.zd-footer-info-value a:hover {
    color: #4CAF50;
}

/* ========================================
   COPYRIGHT
   ======================================== */

.zd-footer-bottom {
    padding: 20px;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.zd-footer-copyright {
    font-size: 12px;
    color: #aaa;
    margin: 0;
}

.zd-footer-copyright a {
    color: #81C784;
    text-decoration: none;
}

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

@media (min-width: 769px) {
    .zd-footer-cta {
        padding: 40px;
    }
    
    .zd-footer-cta-title {
        font-size: 26px;
    }
    
    .zd-footer-main {
        padding: 40px 30px;
    }
    
    .zd-footer-brand {
        text-align: left;
        float: left;
        width: 280px;
        margin-bottom: 0;
    }
    
    .zd-footer-social {
        justify-content: flex-start;
        margin-bottom: 0;
    }
    
    .zd-footer-accordion {
        margin-left: 320px;
        border-top: none;
        display: flex;
        gap: 60px;
    }
    
    .zd-footer-accordion-item {
        border-bottom: none;
        flex: 1;
    }
    
    .zd-footer-accordion-header {
        cursor: default;
        padding: 0 0 15px 0;
    }
    
    .zd-footer-accordion-icon {
        display: none;
    }
    
    .zd-footer-accordion-content {
        max-height: none;
        overflow: visible;
    }
    
    .zd-footer-info {
        clear: both;
    }
    
    .zd-footer-info-grid {
        flex-direction: row;
        justify-content: center;
        gap: 50px;
        max-width: 100%;
    }
    
    .zd-footer-info-item {
        flex: 0 0 auto;
    }
}

@media (max-width: 768px) {
    .zd-footer {
        padding-bottom: 80px;
    }
}

@media (max-width: 480px) {
    .zd-footer-cta-phone {
        padding: 10px 18px;
    }
    
    .zd-footer-cta-phone-number {
        font-size: 18px;
    }
}

/* ════════════════════════════════════════════════════════════════
   8. STRONA GŁÓWNA (front-page.php)
   ════════════════════════════════════════════════════════════════ */

/* ========================================
   STRONA GŁÓWNA - v8 OPTIMIZED
   ======================================== */

/* ========================================
   HERO - KOMPAKTOWY
   ======================================== */

.zd-hero {
    background: linear-gradient(135deg, #fafffe 0%, #f0fdf4 50%, #fafafa 100%);
    padding: 50px 30px;
    text-align: center;
    contain: layout style;
}

.zd-hero-container {
    max-width: 800px;
    margin: 0 auto;
}

.zd-hero-title {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 40px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.2;
    margin: 0 0 15px 0;
    contain: layout style;
}

.zd-hero-title span {
    color: #2E7D32;
}

.zd-hero-subtitle {
    font-size: 18px;
    line-height: 1.6;
    color: #555;
    margin: 0 0 25px 0;
    font-weight: 500;
}

/* DWA CTA OBOK SIEBIE */
.zd-hero-cta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.zd-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #2E7D32 0%, #1B5E20 100%);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(46, 125, 50, 0.35);
}

.zd-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(76, 175, 80, 0.45);
    color: #fff;
}

.zd-btn-primary svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
}

.zd-btn-phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: #fff;
    color: #2E7D32;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 12px;
    border: 2px solid #2E7D32;
    transition: all 0.3s ease;
}

.zd-btn-phone:hover {
    background: #2E7D32;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(46, 125, 50, 0.3);
}

.zd-btn-phone svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
}

/* ========================================
   TRUST BADGES - KOMPAKTOWY PASEK
   ======================================== */

.zd-trust-bar {
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
    padding: 20px 30px;
}

.zd-trust-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.zd-trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.zd-trust-item svg {
    width: 20px;
    height: 20px;
    stroke: #2E7D32;
    fill: none;
    flex-shrink: 0;
}

.zd-trust-item strong {
    color: #2E7D32;
}

/* ========================================
   BESTSELLERY - CAROUSEL/SLIDER
   ======================================== */

.zd-products-section {
    padding: 50px 30px;
    background: #fafafa;
}

.zd-section-header {
    text-align: center;
    margin-bottom: 35px;
}

.zd-section-label {
    display: inline-block;
    background: #e8f5e9;
    color: #2E7D32;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.zd-section-title {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 32px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
}

/* CAROUSEL CONTAINER */
.zd-carousel-wrapper {
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
}

.zd-carousel {
    position: relative;
    overflow: hidden;
}

.zd-carousel-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
    transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* POJEDYNCZA KARTA W CAROUSELU */
.zd-carousel-item {
    flex: 0 0 auto;
    width: calc(25% - 15px); /* 4 produkty na desktop */
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: 1px solid #f0f0f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.zd-carousel-item:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    transform: translateY(-4px);
}

/* Link na obrazek i tytuł */
.zd-carousel-item-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* Obrazek - BEZ SZAREGO TŁA */
.zd-carousel-item img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    padding: 5px;
    background: #fff;
    content-visibility: auto;
}

/* Tytuł - wewnątrz linka, bez odstępów */
.zd-carousel-item-title {
    font-family: "Nunito", sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.4;
    margin: 0;
    padding: 5px 10px 0;
    min-height: 2.8em;
    max-height: 2.8em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.zd-carousel-item-link:hover .zd-carousel-item-title {
    color: #2E7D32;
}

/* Content - cena i przycisk - MINIMALNE PADDINGI */
.zd-carousel-item-content {
    padding: 5px 10px 10px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Cena */
.zd-carousel-item-price {
    font-family: "Nunito", sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #2E7D32;
    margin: 0 0 8px 0;
    
}

.zd-carousel-item-price del {
    color: #666;
    font-size: 14px;
    font-weight: 400;
    margin-right: 6px;
}

.zd-carousel-item-price ins {
    text-decoration: none;
    color: #e53935;
}

/* Przycisk - AJAX add to cart */
.zd-carousel-item-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 12px;
    background: linear-gradient(135deg, #2E7D32 0%, #388E3C 100%);
    color: #fff !important;
    font-size: 13px;
    font-weight: 600;
    border-radius: 10px;
    margin-top: auto;
    transition: all 0.3s ease;
    min-height: 42px;
    text-decoration: none;
    cursor: pointer;
    border: none;
}

.zd-carousel-item-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    stroke: none;
}

.zd-carousel-item-btn:hover {
    background: linear-gradient(135deg, #43a047 0%, #2E7D32 100%);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
    color: #fff !important;
}

/* Stan ładowania */
.zd-carousel-item-btn.loading {
    opacity: 0.7;
    pointer-events: none;
}

.zd-carousel-item-btn.loading::after {
    content: "";
    width: 14px;
    height: 14px;
    border: 2px solid #fff;
    border-top-color: transparent;
    border-radius: 50%;
    margin-left: 8px;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Stan "dodano do koszyka" */
.zd-carousel-item-btn.added {
    background: linear-gradient(135deg, #2E7D32 0%, #1B5E20 100%);
}

.zd-carousel-item-btn.added::before {
    content: "✓ ";
}

/* Przycisk "Wybierz wariant" dla wariantów - ZIELONY OUTLINE */
.zd-carousel-item-btn.zd-btn-select {
    background: linear-gradient(135deg, #fff 0%, #f5f5f5 100%);
    color: #2E7D32 !important;
    border: 2px solid #2E7D32;
}

.zd-carousel-item-btn.zd-btn-select:hover {
    background: #2E7D32;
    color: #fff !important;
}

/* ========================================
   PRODUKT NIEDOSTĘPNY - WYRAŹNE OZNACZENIE
   ======================================== */

/* Karta niedostępna */
.zd-carousel-item.zd-out-of-stock {
    opacity: 0.85;
}

/* Cena produktu niedostępnego - lepszy kontrast */
.zd-carousel-item.zd-out-of-stock .zd-carousel-item-price {
    color: #555;
}

.zd-carousel-item.zd-out-of-stock .zd-carousel-item-price bdi,
.zd-carousel-item.zd-out-of-stock .zd-carousel-item-price .woocommerce-Price-currencySymbol {
    color: #555;
}

/* Overlay na obrazku */
.zd-carousel-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1;
}

/* Link musi być relative żeby overlay działał */
.zd-carousel-item-link {
    position: relative;
}

/* Badge "Niedostępny" - CZERWONY */
.zd-carousel-item-badge.zd-badge-unavailable {
    background: linear-gradient(135deg, #9e9e9e 0%, #757575 100%);
    color: #fff;
}

/* Przycisk "Niedostępny" - SZARY z lepszym kontrastem */
.zd-carousel-item-btn.zd-btn-unavailable {
    background: #616161 !important;
    color: #fff !important;
    cursor: not-allowed;
    box-shadow: none;
}

.zd-carousel-item-btn.zd-btn-unavailable:hover {
    background: #616161 !important;
    box-shadow: none;
    transform: none;
}

/* Badge NOWOŚĆ */
.zd-carousel-item-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, #2E7D32 0%, #43a047 100%);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 5px 10px;
    border-radius: 6px;
    z-index: 2;
}

/* NAWIGACJA STRZAŁKI */
.zd-carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.zd-carousel-nav:hover {
    background: #2E7D32;
    border-color: #2E7D32;
}

.zd-carousel-nav:hover svg {
    stroke: #fff;
}

.zd-carousel-nav svg {
    width: 20px;
    height: 20px;
    stroke: #333;
    fill: none;
    stroke-width: 2;
}

.zd-carousel-prev {
    left: -22px;
}

.zd-carousel-next {
    right: -22px;
}

/* KROPKI (DOTS) */
.zd-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 25px;
}

.zd-carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.zd-carousel-dot.active {
    background: #2E7D32;
    transform: scale(1.2);
}

.zd-carousel-dot:hover {
    background: #81C784;
}

/* RESPONSYWNOŚĆ CAROUSEL */
@media (max-width: 1200px) {
    .zd-carousel-item {
        width: calc(33.333% - 14px); /* 3 produkty */
    }
    
    .zd-carousel-prev { left: 10px; }
    .zd-carousel-next { right: 10px; }
}

@media (max-width: 992px) {
    .zd-carousel-item {
        width: calc(50% - 10px); /* 2 produkty */
    }
}

@media (max-width: 600px) {
    .zd-carousel-wrapper {
        padding: 0 10px;
    }
    
    .zd-carousel-track {
        gap: 12px;
    }
    
    .zd-carousel-item {
        width: calc(75% - 6px); /* ~1.3 produkty widoczne - zachęca do przewijania */
    }
    
    .zd-carousel-item-title {
        font-size: 13px;
    }
    
    .zd-carousel-item-price {
        font-size: 16px;
    }
    
    .zd-carousel-item-btn {
        font-size: 12px;
        padding: 10px 12px;
    }
    
    .zd-carousel-nav {
        width: 36px;
        height: 36px;
    }
    
    .zd-carousel-prev { left: 5px; }
    .zd-carousel-next { right: 5px; }
}

/* VIEW ALL BUTTON */
.zd-view-all {
    text-align: center;
    margin-top: 35px;
}

.zd-view-all a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #2E7D32;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    padding: 12px 24px;
    border: 2px solid #2E7D32;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.zd-view-all a:hover {
    background: #2E7D32;
    color: #fff;
}

.zd-view-all svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
}

/* ========================================
   SEKCJA KATEGORII
   ======================================== */

.zd-categories-section {
    padding: 60px 30px;
    background: #fff;
    content-visibility: auto;
    contain-intrinsic-size: auto 600px;
}

.zd-categories-container {
    max-width: 1100px;
    margin: 0 auto;
}

.zd-categories-header {
    text-align: center;
    margin-bottom: 40px;
}

.zd-categories-header h2 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 32px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 10px 0;
}

.zd-categories-header h2 span {
    color: #2E7D32;
}

.zd-categories-header p {
    font-size: 16px;
    color: #666;
    margin: 0;
}

/* Grid 6 kategorii - 3x2 */
.zd-categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

/* Karta kategorii */
.zd-category-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

.zd-category-card:hover {
    border-color: var(--cat-color, #2E7D32);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.zd-category-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 10px;
}

.zd-category-icon {
    width: 50px;
    height: 50px;
    background: var(--cat-bg, #e8f5e9);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.zd-category-card:hover .zd-category-icon {
    background: var(--cat-color, #2E7D32);
}

.zd-category-info .zd-category-name {
    display: block;
    font-size: 17px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 3px 0;
}

.zd-category-info span:not(.zd-category-name) {
    font-size: 13px;
    color: #666;
}

.zd-category-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #f5f5f5;
}

.zd-category-tag {
    background: #f8f8f8;
    padding: 5px 10px;
    border-radius: 50px;
    font-size: 14px;
    color: #555;
    transition: all 0.2s ease;
}

.zd-category-card:hover .zd-category-tag {
    background: #f0f0f0;
}

.zd-category-tag.more {
    background: var(--cat-bg, #e8f5e9);
    color: var(--cat-color, #2E7D32);
    font-weight: 600;
}

.zd-category-arrow {
    position: absolute;
    top: 24px;
    right: 20px;
    color: #ccc;
    font-size: 18px;
    transition: all 0.3s ease;
}

.zd-category-card:hover .zd-category-arrow {
    color: var(--cat-color, #2E7D32);
    transform: translateX(3px);
}

/* POPULARNE */
.zd-popular-section {
    margin-top: 15px;
}

.zd-popular-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.zd-popular-header .zd-popular-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.zd-popular-header a {
    color: #2E7D32;
    font-size: 14px;
    font-weight: 600;
    text-decoration: underline;
}

.zd-popular-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.zd-popular-item {
    background: #fafafa;
    border-radius: 12px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    border: 1px solid #f0f0f0;
    transition: all 0.2s ease;
}

.zd-popular-item:hover {
    border-color: var(--pop-color, #9C27B0);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}

.zd-popular-icon {
    width: 38px;
    height: 38px;
    background: var(--pop-bg, #f3e5f5);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.zd-popular-item span {
    font-size: 13px;
    font-weight: 500;
    color: #333;
}

/* ========================================
   BANNER "ZADZWOŃ PO PORADĘ" - W ŚRODKU STRONY
   ======================================== */

.zd-cta-banner {
    padding: 50px 30px;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
}

.zd-cta-banner-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.zd-cta-banner-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #2E7D32 0%, #43a047 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.3);
}

.zd-cta-banner-icon svg {
    width: 32px;
    height: 32px;
    stroke: #fff;
    fill: none;
}

.zd-cta-banner h2 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 28px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 10px 0;
}

.zd-cta-banner p {
    font-size: 16px;
    color: #555;
    margin: 0 0 25px 0;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.zd-cta-banner-phone {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    padding: 18px 35px;
    border-radius: 14px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.zd-cta-banner-phone:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.zd-cta-banner-phone-number {
    font-size: 24px;
    font-weight: 800;
    color: #1a1a1a;
}

.zd-cta-banner-phone-hours {
    font-size: 13px;
    color: #666;
    text-align: left;
}

/* ========================================
   BLOG CAROUSEL
   ======================================== */

.zd-blog-section {
    padding: 60px 30px;
    background: #fff;
    content-visibility: auto;
    contain-intrinsic-size: auto 500px;
}

.zd-blog-section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.zd-blog-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 30px;
    gap: 20px;
    flex-wrap: wrap;
}

.zd-blog-section-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #2E7D32;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.zd-blog-section-title {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 28px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
}

.zd-blog-section-link {
    font-size: 14px;
    font-weight: 600;
    color: #2E7D32;
    text-decoration: none;
}

.zd-blog-section-link:hover {
    text-decoration: underline;
}

/* BLOG CAROUSEL WRAPPER */
.zd-blog-carousel-wrapper {
    position: relative;
    padding: 0 50px; /* Miejsce na strzałki */
}

.zd-blog-carousel {
    overflow: hidden;
}

.zd-blog-carousel-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
    transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* KARTA BLOGA W CAROUSELU */
.zd-blog-carousel-item {
    flex: 0 0 auto;
    width: calc(33.333% - 14px); /* 3 karty na desktop */
    min-width: 280px; /* Minimalna szerokość na mobile */
    background: #fafafa;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    display: block;
}

.zd-blog-carousel-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.zd-blog-card-image {
    position: relative;
    padding-top: 56%;
    background: linear-gradient(135deg, #e8f5e9 0%, #f5f5f5 100%);
    overflow: hidden;
}

.zd-blog-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.zd-blog-carousel-item:hover .zd-blog-card-image img {
    transform: scale(1.05);
}

.zd-blog-card-placeholder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 36px;
}

.zd-blog-card-category {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, #2E7D32 0%, #43a047 100%);
    color: #fff;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
}

.zd-blog-card-content {
    padding: 18px;
}

.zd-blog-card-date {
    font-size: 12px;
    color: #666;
    display: block;
    margin-bottom: 6px;
}

.zd-blog-card-title {
    font-family: "Nunito", sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.zd-blog-card-excerpt {
    font-size: 13px;
    line-height: 1.6;
    color: #666;
    margin: 0 0 12px 0;
}

.zd-blog-card-link {
    font-size: 13px;
    font-weight: 600;
    color: #2E7D32;
}

/* NAWIGACJA BLOG CAROUSEL */
.zd-blog-carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.zd-blog-carousel-nav:hover {
    background: #2E7D32;
    border-color: #2E7D32;
}

.zd-blog-carousel-nav:hover svg {
    stroke: #fff;
}

.zd-blog-carousel-nav svg {
    width: 18px;
    height: 18px;
    stroke: #333;
    fill: none;
    stroke-width: 2;
}

.zd-blog-carousel-prev {
    left: 0;
}

.zd-blog-carousel-next {
    right: 0;
}

/* KROPKI BLOG CAROUSEL */
.zd-blog-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.zd-blog-carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.zd-blog-carousel-dot.active {
    background: #2E7D32;
    transform: scale(1.2);
}

/* RESPONSYWNOŚĆ BLOG CAROUSEL */
@media (max-width: 992px) {
    .zd-blog-carousel-item {
        width: calc(50% - 10px); /* 2 karty */
        min-width: 250px;
    }
    
    .zd-blog-carousel-wrapper {
        padding: 0 45px;
    }
    
    .zd-blog-carousel-prev { left: 0; }
    .zd-blog-carousel-next { right: 0; }
}

@media (max-width: 600px) {
    .zd-blog-carousel-item {
        width: calc(100% - 20px); /* 1 karta */
        min-width: unset;
        max-width: 100%;
    }
    
    .zd-blog-carousel-wrapper {
        padding: 0 40px;
    }
    
    .zd-blog-carousel-nav {
        width: 36px;
        height: 36px;
    }
    
    .zd-blog-section {
        padding: 40px 15px;
    }
    
    .zd-blog-carousel {
        overflow: visible;
    }
}

/* ========================================
   RESPONSYWNOŚĆ
   ======================================== */

@media (max-width: 992px) {
    .zd-hero {
        padding: 40px 20px;
    }
    
    .zd-hero-title {
        font-size: 34px;
    }
    
    .zd-trust-grid {
        gap: 25px;
    }
    
    .zd-categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .zd-popular-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .zd-blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* KOMPAKTOWY HERO NA MOBILE - produkty widoczne wyżej */
    .zd-hero {
        padding: 12px 12px 8px;
    }
    
    .zd-hero-title {
        font-size: 18px;
        line-height: 1.2;
        margin-bottom: 4px;
    }
    
    .zd-hero-subtitle {
        font-size: 12px;
        margin-bottom: 8px;
        line-height: 1.3;
    }
    
    .zd-hero-cta {
        flex-direction: row;
        gap: 8px;
        justify-content: center;
    }
    
    .zd-btn-primary {
        width: auto;
        padding: 8px 16px;
        font-size: 12px;
    }
    
    /* Ukryj przycisk telefonu na mobile - zostaje główne CTA */
    .zd-btn-phone {
        display: none;
    }
    
    /* UKRYJ Trust bar na mobile - produkty ważniejsze dla LCP */
    .zd-trust-bar {
        display: none;
    }
    
    /* PRODUKTY - natychmiast po hero */
    .zd-products-section {
        padding: 12px 10px;
    }
    
    .zd-section-header {
        margin-bottom: 10px;
    }
    
    .zd-section-label {
        padding: 3px 8px;
        font-size: 12px;
        margin-bottom: 4px;
    }
    
    .zd-section-title {
        font-size: 16px;
    }
    
    .zd-categories-section {
        padding: 25px 12px;
    }
    
    .zd-categories-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .zd-category-tags {
        display: none;
    }
    
    .zd-popular-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .zd-popular-item {
        padding: 12px;
    }
    
    .zd-popular-icon {
        width: 34px;
        height: 34px;
        font-size: 14px;
    }
    
    .zd-popular-item span {
        font-size: 12px;
    }
    
    .zd-cta-banner {
        padding: 40px 15px;
    }
    
    .zd-cta-banner h2 {
        font-size: 24px;
    }
    
    .zd-cta-banner-phone {
        flex-direction: column;
        text-align: center;
        padding: 20px 30px;
    }
    
    .zd-cta-banner-phone-hours {
        text-align: center;
    }
    
    .zd-blog-section {
        padding: 40px 15px;
    }
    
    .zd-blog-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .zd-blog-section-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .zd-blog-section-title {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    /* RADYKALNIE KOMPAKTOWY - produkty muszą być widoczne od razu */
    .zd-hero {
        padding: 8px 10px 6px;
    }
    
    .zd-hero-title {
        font-size: 16px;
        margin-bottom: 3px;
        line-height: 1.15;
    }
    
    .zd-hero-subtitle {
        font-size: 14px;
        margin-bottom: 6px;
        line-height: 1.25;
    }
    
    /* Tylko jeden przycisk na mobile - główne CTA */
    .zd-btn-phone {
        display: none !important;
    }
    
    .zd-btn-primary {
        padding: 8px 14px;
        font-size: 14px;
        width: auto;
    }
    
    .zd-hero-cta {
        justify-content: center;
    }
    
    /* UKRYJ Trust badges na mobile - zajmują za dużo miejsca */
    .zd-trust-bar {
        display: none !important;
    }
    
    /* Produkty NATYCHMIAST po hero */
    .zd-products-section {
        padding: 10px 8px;
    }
    
    .zd-section-header {
        margin-bottom: 10px;
    }
    
    .zd-section-label {
        display: none;
    }
    
    .zd-section-title {
        font-size: 16px;
    }
    
    .zd-categories-header h2 {
        font-size: 20px;
    }
    
    .zd-cta-banner-phone-number {
        font-size: 20px;
    }
}

/* ════════════════════════════════════════════════════════════════
   9. KONTAKT (page-kontakt.php)
   ════════════════════════════════════════════════════════════════ */

/* ========================================
   STRONA KONTAKT - PREMIUM
   ======================================== */

.zd-contact-page {
    background: #fafafa;
    min-height: 100vh;
}

/* Komunikaty formularza */
.zd-form-message {
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.zd-form-message.success {
    background: #e8f5e9;
    border: 1px solid #a5d6a7;
    color: #2e7d32;
}

.zd-form-message.error {
    background: #ffebee;
    border: 1px solid #ef9a9a;
    color: #c62828;
}

.zd-form-message svg {
    flex-shrink: 0;
}

/* Hero */
.zd-contact-hero {
    background: linear-gradient(135deg, #f0fdf4 0%, #e8f5e9 50%, #f5f5f5 100%);
    padding: 50px 30px 40px;
    text-align: center;
}

.zd-contact-hero h1 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 42px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 15px 0;
}

.zd-contact-hero h1 span {
    color: #4CAF50;
}

.zd-contact-hero p {
    font-size: 18px;
    line-height: 1.6;
    color: #666;
    margin: 0 auto;
    max-width: 650px;
}

/* Statystyki */
.zd-contact-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 35px;
    flex-wrap: wrap;
}

.zd-stat-item {
    text-align: center;
}

.zd-stat-number {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 42px;
    font-weight: 700;
    color: #4CAF50;
    line-height: 1;
}

.zd-stat-label {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

/* Kontener */
.zd-contact-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 50px 30px 80px;
}

/* Sekcja "Dlaczego my" */
.zd-why-contact {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    border: 1px solid #f0f0f0;
}

.zd-why-contact h2 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 28px;
    font-weight: 600;
    color: #1a1a1a;
    text-align: center;
    margin: 0 0 30px 0;
}

.zd-why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.zd-why-item {
    text-align: center;
    padding: 25px 20px;
    background: linear-gradient(135deg, #f8fdf8 0%, #f5f5f5 100%);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.zd-why-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(76, 175, 80, 0.1);
}

.zd-why-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #4CAF50 0%, #81C784 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.zd-why-icon svg {
    width: 28px;
    height: 28px;
    stroke: #fff;
    fill: none;
}

.zd-why-item h3 {
    font-size: 17px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 10px 0;
}

.zd-why-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Grid kontakt */
.zd-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

/* Karty kontaktowe */
.zd-contact-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.zd-contact-card {
    background: #fff;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.zd-contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    border-color: #e8f5e9;
}

.zd-contact-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.zd-contact-card-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.zd-contact-card-icon svg {
    width: 24px;
    height: 24px;
    stroke: #4CAF50;
    fill: none;
}

.zd-contact-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
}

.zd-contact-card-content p {
    font-size: 14px;
    color: #666;
    margin: 0 0 12px 0;
    line-height: 1.6;
}

.zd-contact-card a.zd-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #4CAF50;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.zd-contact-card a.zd-contact-link:hover {
    gap: 12px;
}

.zd-contact-card a.zd-contact-link svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
}

/* Highlight card - telefon */
.zd-contact-card.highlight {
    background: linear-gradient(135deg, #4CAF50 0%, #43a047 100%);
    border: none;
}

.zd-contact-card.highlight .zd-contact-card-icon {
    background: rgba(255,255,255,0.2);
}

.zd-contact-card.highlight .zd-contact-card-icon svg {
    stroke: #fff;
}

.zd-contact-card.highlight h3 {
    color: #fff;
}

.zd-contact-card.highlight .zd-contact-card-content p {
    color: rgba(255,255,255,0.9);
}

.zd-contact-card.highlight a.zd-contact-link {
    color: #fff;
    font-size: 22px;
}

/* Godziny pracy */
.zd-hours {
    background: rgba(255,255,255,0.15);
    border-radius: 10px;
    padding: 12px 15px;
    margin-top: 15px;
}

.zd-hours-title {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 8px;
}

.zd-hours-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: rgba(255,255,255,0.9);
    padding: 4px 0;
}

/* Formularz */
.zd-contact-form-wrapper {
    background: #fff;
    border-radius: 16px;
    padding: 35px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    border: 1px solid #f0f0f0;
}

.zd-contact-form-wrapper h2 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 24px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 8px 0;
}

.zd-contact-form-wrapper .zd-form-subtitle {
    font-size: 14px;
    color: #666;
    margin: 0 0 25px 0;
}

.zd-contact-form .zd-form-row {
    margin-bottom: 18px;
}

.zd-contact-form .zd-form-row-half {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.zd-contact-form label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 6px;
}

.zd-contact-form label .required {
    color: #e53935;
}

.zd-contact-form input,
.zd-contact-form textarea,
.zd-contact-form select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e5e5e5;
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: #fff;
}

.zd-contact-form input:focus,
.zd-contact-form textarea:focus,
.zd-contact-form select:focus {
    border-color: #4CAF50;
    outline: none;
    box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.1);
}

.zd-contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

.zd-contact-form button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 30px;
    background: linear-gradient(135deg, #4CAF50 0%, #43a047 100%);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.zd-contact-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.4);
}

.zd-contact-form button svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
}

/* Responsywność */
@media (max-width: 992px) {
    .zd-contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .zd-why-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .zd-contact-hero {
        padding: 40px 20px 30px;
    }
    
    .zd-contact-hero h1 {
        font-size: 32px;
    }
    
    .zd-contact-hero p {
        font-size: 16px;
    }
    
    .zd-contact-stats {
        gap: 30px;
    }
    
    .zd-stat-number {
        font-size: 32px;
    }
    
    .zd-contact-container {
        padding: 30px 15px 60px;
    }
    
    .zd-why-contact {
        padding: 25px;
    }
    
    .zd-contact-card {
        padding: 20px;
    }
    
    .zd-contact-form-wrapper {
        padding: 25px;
    }
    
    .zd-contact-form .zd-form-row-half {
        grid-template-columns: 1fr;
    }
}

/* ════════════════════════════════════════════════════════════════
   10. SINGLE PRODUCT STYLES (single-product-styles.php)
   ════════════════════════════════════════════════════════════════ */

/* STRONA PRODUKTU - PREMIUM (UNIFIED FONT SYSTEM) */
/* Inter = body, opisy | Nunito = cena, przycisk | Playfair = tytuł */

.zd-product-page { background: #fff; padding-bottom: 60px; font-family: "Inter", -apple-system, sans-serif; }
.zd-product-page * { box-sizing: border-box; }
.zd-product-container { max-width: 1300px; margin: 0 auto; padding: 0 30px; }

/* HERO - 2 KOLUMNY */
.zd-product-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; padding: 50px 0 70px; align-items: start; }

/* GALERIA - PREMIUM PACKSHOT MODE */
.zd-product-gallery { position: sticky; top: 100px; }
.zd-gallery-main { position: relative; background: transparent; border-radius: 0; padding: 20px; margin-bottom: 20px; overflow: hidden; }
.zd-gallery-main img { width: 100%; height: 450px; object-fit: contain; display: block; transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.zd-gallery-main:hover img { transform: scale(1.02); }
.zd-gallery-badge { position: absolute; top: 20px; left: 20px; padding: 10px 18px; font-size: 12px; font-weight: 700; text-transform: uppercase; border-radius: 10px; color: #fff; font-family: "Nunito", sans-serif; }
.zd-gallery-badge.sale { background: linear-gradient(135deg, #e53935 0%, #c62828 100%); }
.zd-gallery-thumbs { display: flex; gap: 12px; flex-wrap: wrap; }
.zd-gallery-thumb { width: 80px; height: 80px; border: 2px solid #e5e5e5; border-radius: 8px; overflow: hidden; cursor: pointer; transition: all 0.3s ease; background: #fff; }
.zd-gallery-thumb:hover, .zd-gallery-thumb.active { border-color: #4CAF50; }
.zd-gallery-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }

/* INFO */
.zd-product-info { padding-top: 10px; }
.zd-breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #888; margin-bottom: 20px; flex-wrap: wrap; font-family: "Inter", sans-serif; }
.zd-breadcrumb a { color: #888; text-decoration: none; transition: color 0.3s ease; }
.zd-breadcrumb a:hover { color: #4CAF50; }
.zd-breadcrumb svg { stroke: #ccc; flex-shrink: 0; }

/* TYTUŁ PRODUKTU H1 - NUNITO (spójność z kartami) */
.zd-product-title { font-family: "Nunito", -apple-system, sans-serif; font-size: 32px; font-weight: 800; color: #1a1a1a; line-height: 1.3; margin-bottom: 20px; }

/* RATING */
.zd-product-rating { display: flex; align-items: center; gap: 12px; margin-bottom: 25px; padding-bottom: 25px; border-bottom: 1px solid #eee; flex-wrap: wrap; }
.zd-rating-stars { display: flex; gap: 3px; }
.zd-rating-stars svg { width: 20px; height: 20px; }
.zd-rating-stars svg.filled { fill: #FFB800; stroke: #FFB800; }
.zd-rating-stars svg.empty { fill: none; stroke: #ddd; }
.zd-rating-count { font-size: 15px; color: #666; font-family: "Inter", sans-serif; }
.zd-rating-count a { color: #4CAF50; text-decoration: none; }
.zd-rating-count a:hover { text-decoration: underline; }

/* OPIS - INTER */
.zd-product-short-desc { font-size: 17px; line-height: 1.7; color: #555; margin-bottom: 30px; font-family: "Inter", sans-serif; }
.zd-product-short-desc p { margin: 0 0 12px 0; }

/* CENA - NUNITO */
.zd-product-price-box { background: #f8fdf8; border: 1px solid #e8f5e9; border-radius: 16px; padding: 25px 30px; margin-bottom: 30px; }
.zd-price-label { font-size: 14px; color: #888; margin-bottom: 8px; font-family: "Inter", sans-serif; }
.zd-product-price { display: flex; align-items: baseline; gap: 15px; flex-wrap: wrap; }
.zd-price-current { font-size: 38px; font-weight: 700; color: #1a1a1a; font-family: "Nunito", sans-serif; }
.zd-price-old { font-size: 22px; color: #bbb; text-decoration: line-through; font-family: "Nunito", sans-serif; }
.zd-price-save { font-size: 14px; font-weight: 600; color: #e53935; background: #ffebee; padding: 6px 14px; border-radius: 50px; }

/* ILOŚĆ */
.zd-product-actions { margin-bottom: 30px; }
.zd-quantity-wrapper { display: flex; align-items: center; gap: 20px; margin-bottom: 20px; flex-wrap: wrap; }
.zd-quantity-label { font-size: 15px; font-weight: 500; color: #333; font-family: "Inter", sans-serif; }
.zd-quantity-selector { display: flex; align-items: center; border: 2px solid #e5e5e5; border-radius: 12px; overflow: hidden; }
.zd-qty-btn { width: 50px; height: 50px; border: none; background: #fff; font-size: 22px; color: #333; cursor: pointer; transition: all 0.3s ease; display: flex; align-items: center; justify-content: center; font-family: "Nunito", sans-serif; }
.zd-qty-btn:hover { background: #f5f5f5; color: #4CAF50; }
.zd-qty-input { width: 70px; height: 50px; border: none; border-left: 1px solid #e5e5e5; border-right: 1px solid #e5e5e5; text-align: center; font-size: 18px; font-weight: 600; color: #333; font-family: "Nunito", sans-serif; }
.zd-qty-input:focus { outline: none; }

/* PRZYCISK - NUNITO */
.zd-add-to-cart-btn { display: flex; align-items: center; justify-content: center; gap: 14px; width: 100%; padding: 22px 40px; background: linear-gradient(135deg, #4CAF50 0%, #43a047 100%); color: #fff; font-size: 18px; font-weight: 600; font-family: "Nunito", sans-serif; border: none; border-radius: 14px; cursor: pointer; transition: all 0.4s ease; box-shadow: 0 8px 25px rgba(76, 175, 80, 0.35); }
.zd-add-to-cart-btn:hover { transform: translateY(-3px); box-shadow: 0 12px 35px rgba(76, 175, 80, 0.45); }
.zd-add-to-cart-btn.disabled { background: #ccc; cursor: not-allowed; box-shadow: none; }

/* MIKRO USP - INTER */
.zd-micro-usp { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; padding-top: 25px; border-top: 1px solid #eee; }
.zd-micro-usp-item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; }
.zd-micro-usp-icon { width: 44px; height: 44px; background: #f5f5f5; border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.zd-micro-usp-text { font-size: 13px; color: #555; line-height: 1.4; font-family: "Inter", sans-serif; }
.zd-micro-usp-text strong { display: block; color: #333; font-weight: 600; }

/* SEKCJE OPISU */
.zd-product-sections { max-width: 900px; margin: 0 auto; padding: 0 30px; }
.zd-section { margin-bottom: 60px; }
.zd-section-title { font-family: "Playfair Display", Georgia, serif; font-size: 28px; font-weight: 600; color: #1a1a1a; margin-bottom: 25px; padding-bottom: 15px; border-bottom: 2px solid #e8f5e9; position: relative; }
.zd-section-title::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 60px; height: 2px; background: #4CAF50; }
.zd-section-content { font-size: 17px; line-height: 1.8; color: #444; }
.zd-section-content p { margin: 0 0 18px 0; }
.zd-section-content ul { margin: 0 0 18px 0; padding-left: 25px; }
.zd-section-content li { margin-bottom: 10px; }

/* W SKRÓCIE */
.zd-summary-box { background: linear-gradient(135deg, #f8fdf8 0%, #e8f5e9 100%); border-radius: 20px; padding: 35px 40px; margin-bottom: 60px; }
.zd-summary-box h2 { font-family: "Playfair Display", Georgia, serif; font-size: 24px; font-weight: 600; color: #1a1a1a; margin-bottom: 25px; display: flex; align-items: center; gap: 12px; }
.zd-summary-list { display: flex; flex-direction: column; gap: 18px; }
.zd-summary-item { display: flex; align-items: flex-start; gap: 15px; font-size: 17px; color: #333; line-height: 1.6; }
.zd-summary-item svg { flex-shrink: 0; margin-top: 2px; }

/* BEZPIECZEŃSTWO */
.zd-safety-box { background: #fffbf0; border: 1px solid #ffe0b2; border-radius: 16px; padding: 25px 30px; display: flex; align-items: flex-start; gap: 20px; }
.zd-safety-icon { width: 50px; height: 50px; background: #fff3e0; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.zd-safety-content h3 { font-size: 18px; font-weight: 600; color: #333; margin: 0 0 10px 0; }
.zd-safety-content p { font-size: 15px; line-height: 1.6; color: #666; margin: 0; }

/* ========================================
   OPINIE - NOWY DESIGN
   ======================================== */
.zd-reviews-section { 
    background: linear-gradient(135deg, #f8fdf8 0%, #f5f5f5 100%); 
    border-radius: 20px; 
    padding: 40px; 
    border: 1px solid #e8f5e9;
}

.zd-reviews-header { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 30px; 
    flex-wrap: wrap; 
    gap: 20px; 
}

.zd-reviews-summary { 
    display: flex; 
    align-items: center; 
    gap: 20px; 
}

.zd-reviews-average { 
    font-size: 52px; 
    font-weight: 800; 
    color: #1a1a1a; 
    font-family: "Nunito", sans-serif;
    line-height: 1;
}

.zd-reviews-meta .stars { 
    color: #FFB800; 
    font-size: 22px; 
    letter-spacing: 2px; 
}

.zd-reviews-meta .count { 
    font-size: 14px; 
    color: #666; 
    display: block; 
    margin-top: 4px;
    font-family: "Inter", sans-serif;
}

.zd-write-review-btn { 
    padding: 14px 28px; 
    background: linear-gradient(135deg, #4CAF50 0%, #43a047 100%); 
    color: #fff; 
    font-size: 15px; 
    font-weight: 600; 
    font-family: "Nunito", sans-serif;
    border: none; 
    border-radius: 12px; 
    cursor: pointer; 
    transition: all 0.3s ease; 
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.zd-write-review-btn:hover { 
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.zd-review-item { 
    background: #fff; 
    border-radius: 16px; 
    padding: 25px 30px; 
    margin-bottom: 15px; 
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    border: 1px solid #f0f0f0;
}

.zd-review-item:last-child {
    margin-bottom: 0;
}

.zd-review-header { 
    display: flex; 
    justify-content: space-between; 
    align-items: flex-start; 
    margin-bottom: 15px; 
    flex-wrap: wrap; 
    gap: 10px; 
}

.zd-review-author { 
    display: flex; 
    align-items: center; 
    gap: 15px; 
}

.zd-review-avatar { 
    width: 50px; 
    height: 50px; 
    background: linear-gradient(135deg, #4CAF50 0%, #81C784 100%); 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    color: #fff; 
    font-size: 20px; 
    font-weight: 700; 
    font-family: "Nunito", sans-serif;
}

.zd-review-name { 
    font-size: 16px; 
    font-weight: 700; 
    color: #1a1a1a; 
    font-family: "Nunito", sans-serif;
}

.zd-review-date { 
    font-size: 13px; 
    color: #999; 
    font-family: "Inter", sans-serif;
}

.zd-review-stars { 
    color: #FFB800; 
    font-size: 18px; 
    letter-spacing: 2px; 
}

.zd-review-content { 
    font-size: 15px; 
    line-height: 1.7; 
    color: #555; 
    font-family: "Inter", sans-serif;
}

.zd-review-verified { 
    display: inline-flex; 
    align-items: center; 
    gap: 6px; 
    font-size: 13px; 
    color: #4CAF50; 
    margin-top: 12px; 
    font-weight: 500;
    font-family: "Inter", sans-serif;
}

/* BRAK OPINII */
.zd-no-reviews {
    text-align: center;
    padding: 40px 20px;
}

.zd-no-reviews-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
}

.zd-no-reviews-text {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 8px 0;
    font-family: "Nunito", sans-serif;
}

.zd-no-reviews-subtext {
    font-size: 14px;
    color: #888;
    margin: 0;
    font-family: "Inter", sans-serif;
}

/* FORMULARZ OPINII - NOWY DESIGN */
#review_form_wrapper {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
}

#review_form .comment-reply-title {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 22px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 25px 0;
}

#review_form .comment-form-rating {
    margin-bottom: 20px;
}

#review_form .comment-form-rating label {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    display: block;
    margin-bottom: 10px;
    font-family: "Inter", sans-serif;
}

#review_form .stars {
    display: flex;
    gap: 5px;
}

#review_form .stars a {
    color: #ddd;
    font-size: 28px;
    text-decoration: none;
    transition: color 0.2s ease;
}

#review_form .stars a:hover,
#review_form .stars a.active,
#review_form .stars.selected a {
    color: #FFB800;
}

#review_form .comment-form-comment label {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    display: block;
    margin-bottom: 10px;
    font-family: "Inter", sans-serif;
}

#review_form .comment-form-comment textarea {
    width: 100%;
    min-height: 120px;
    padding: 16px 20px;
    border: 2px solid #e5e5e5;
    border-radius: 12px;
    font-size: 15px;
    font-family: "Inter", sans-serif;
    line-height: 1.6;
    resize: vertical;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#review_form .comment-form-comment textarea:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.1);
}

#review_form .form-submit {
    margin-top: 20px;
}

#review_form .form-submit input[type="submit"] {
    padding: 16px 40px;
    background: linear-gradient(135deg, #4CAF50 0%, #43a047 100%);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    font-family: "Nunito", sans-serif;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

#review_form .form-submit input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

/* Ukryj domyślne WooCommerce elementy opinii */
.woocommerce-Reviews-title {
    display: none !important;
}

/* PODOBNE */
.zd-related-products { background: #f8f8f8; padding: 70px 0; margin-top: 60px; }
.zd-related-products h2 { font-family: "Playfair Display", Georgia, serif; font-size: 32px; font-weight: 600; color: #1a1a1a; text-align: center; margin-bottom: 40px; }

/* ========================================
   STICKY CTA - SMART (pokazuje przy scroll up)
   ======================================== */
.zd-sticky-cta { 
    display: none;
    position: fixed; 
    bottom: 0; 
    left: 0; 
    right: 0; 
    background: #fff; 
    padding: 12px 15px; 
    box-shadow: 0 -4px 20px rgba(0,0,0,0.12); 
    z-index: 999; 
    border-top: 1px solid #eee;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.zd-sticky-cta.visible {
    transform: translateY(0);
}

.zd-sticky-cta-inner { 
    display: flex; 
    align-items: center; 
    justify-content: space-between;
    gap: 15px;
    max-width: 500px; 
    margin: 0 auto; 
}

.zd-sticky-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.zd-sticky-name {
    font-size: 12px;
    color: #888;
    font-family: "Inter", sans-serif;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150px;
}

.zd-sticky-price {
    font-size: 20px;
    font-weight: 800;
    color: #1a1a1a;
    font-family: "Nunito", sans-serif;
}

.zd-sticky-btn { 
    flex: 1;
    max-width: 180px;
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 8px; 
    padding: 14px 20px; 
    background: linear-gradient(135deg, #4CAF50 0%, #43a047 100%); 
    color: #fff; 
    font-size: 14px; 
    font-weight: 700; 
    font-family: "Nunito", sans-serif;
    border: none; 
    border-radius: 10px; 
    cursor: pointer; 
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
}

.zd-sticky-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

/* RESPONSYWNOŚĆ */
@media (max-width: 1100px) {
    .zd-product-hero { gap: 40px; }
    .zd-product-title { font-size: 30px; }
    .zd-price-current { font-size: 32px; }
}

@media (max-width: 992px) {
    .zd-product-hero { grid-template-columns: 1fr; gap: 40px; padding: 30px 0 50px; }
    .zd-product-gallery { position: static; }
    .zd-gallery-main img { height: 350px; }
    .zd-product-container, .zd-product-sections { padding: 0 20px; }
    .zd-micro-usp { grid-template-columns: 1fr; gap: 20px; }
    .zd-micro-usp-item { flex-direction: row; text-align: left; }
    .zd-sticky-cta { display: block; }
    .zd-product-page { padding-bottom: 100px; }
}

@media (max-width: 768px) {
    .zd-product-hero { padding: 20px 0 40px; }
    .zd-gallery-main { padding: 15px; border-radius: 0; }
    .zd-gallery-main img { height: 280px; }
    .zd-gallery-thumb { width: 65px; height: 65px; }
    .zd-product-title { font-size: 26px; }
    .zd-product-short-desc { font-size: 16px; }
    .zd-product-price-box { padding: 20px; }
    .zd-price-current { font-size: 28px; }
    .zd-add-to-cart-btn { padding: 18px 30px; font-size: 16px; }
    .zd-section { margin-bottom: 45px; }
    .zd-section-title { font-size: 24px; }
    .zd-section-content { font-size: 16px; }
    .zd-summary-box { padding: 25px; }
    .zd-reviews-section { padding: 25px; }
    .zd-reviews-average { font-size: 40px; }
    .zd-review-item { padding: 20px; }
    .zd-safety-box { flex-direction: column; text-align: center; align-items: center; }
    
    #review_form .comment-form-comment textarea {
        min-height: 100px;
        padding: 14px 16px;
    }
}

@media (max-width: 480px) {
    .zd-product-container, .zd-product-sections { padding: 0 15px; }
    .zd-product-title { font-size: 22px; }
    .zd-breadcrumb { font-size: 12px; }
    .zd-gallery-main img { height: 220px; }
    .zd-qty-btn { width: 44px; height: 44px; }
    .zd-qty-input { width: 60px; height: 44px; }
    
    .zd-sticky-cta-inner { 
        gap: 12px; 
    }
    .zd-sticky-name {
        max-width: 120px;
    }
    .zd-sticky-price { 
        font-size: 18px; 
    }
    .zd-sticky-btn { 
        padding: 12px 16px;
        font-size: 13px;
    }
}

/* ════════════════════════════════════════════════════════════════

/* ════════════════════════════════════════════════════════════════
   7. FOOTER (footer.php)
   ════════════════════════════════════════════════════════════════ */
/* ========================================
   FOOTER v8.1 - KOMPAKTOWY Z AKORDEONAMI
   ======================================== */

.zd-footer {
    background: #1a1a1a;
    padding: 0;
    margin-top: 40px;
}

.zd-footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* ========================================
   SEKCJA CTA - DORADZTWO (KOMPAKTOWA)
   ======================================== */

.zd-footer-cta {
    background: linear-gradient(135deg, #4CAF50 0%, #388E3C 100%);
    padding: 30px 20px;
    text-align: center;
}

.zd-footer-cta-title {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 22px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 8px 0;
}

.zd-footer-cta-subtitle {
    font-size: 14px;
    color: rgba(255,255,255,0.9);
    margin: 0 0 15px 0;
}

.zd-footer-cta-phone {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.zd-footer-cta-phone:hover {
    transform: scale(1.05);
}

.zd-footer-cta-phone-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #4CAF50 0%, #388E3C 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zd-footer-cta-phone-icon svg {
    width: 20px;
    height: 20px;
    stroke: #fff;
    fill: none;
}

.zd-footer-cta-phone-text {
    text-align: left;
}

.zd-footer-cta-phone-number {
    display: block;
    font-size: 20px;
    font-weight: 800;
    color: #1a1a1a;
}

.zd-footer-cta-phone-hours {
    font-size: 14px;
    color: #666;
}

/* ========================================
   GŁÓWNA CZĘŚĆ FOOTERA
   ======================================== */

.zd-footer-main {
    padding: 30px 20px;
}

/* LOGO I OPIS - TYLKO RAZ */
.zd-footer-brand {
    text-align: center;
    margin-bottom: 20px;
}

.zd-footer-logo {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 22px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 10px;
}

.zd-footer-brand p {
    font-size: 13px;
    line-height: 1.6;
    color: #aaa;
    margin: 0 0 15px 0;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* SOCIAL MEDIA - DUŻE I WYRAŹNE */
.zd-footer-social {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 25px;
}

.zd-social-link {
    width: 52px;
    height: 52px;
    background: #2d3748;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.zd-social-link:hover {
    background: #4CAF50;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.zd-social-link svg {
    width: 24px;
    height: 24px;
    fill: #fff;
}

/* Specyficzne style dla Instagrama */
.zd-social-link.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.zd-social-link.instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    filter: brightness(1.1);
}

/* Facebook */
.zd-social-link.facebook {
    background: #1877f2;
}

.zd-social-link.facebook:hover {
    background: #166fe5;
}

/* ========================================
   AKORDEONY
   ======================================== */

.zd-footer-accordion {
    border-top: 1px solid rgba(255,255,255,0.1);
}

.zd-footer-accordion-item {
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.zd-footer-accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    cursor: pointer;
    user-select: none;
}

.zd-footer-accordion-title {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

.zd-footer-accordion-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.zd-footer-accordion-icon svg {
    width: 14px;
    height: 14px;
    stroke: #888;
    fill: none;
    stroke-width: 2;
}

.zd-footer-accordion-item.active .zd-footer-accordion-icon {
    transform: rotate(180deg);
}

.zd-footer-accordion-item.active .zd-footer-accordion-icon svg {
    stroke: #4CAF50;
}

.zd-footer-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.zd-footer-accordion-item.active .zd-footer-accordion-content {
    max-height: 500px;
}

.zd-footer-accordion-inner {
    padding: 0 0 15px 0;
}

/* LINKI W AKORDEONIE */
.zd-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.zd-footer-links li {
    margin-bottom: 10px;
}

.zd-footer-links a {
    font-size: 14px;
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    padding: 2px 0;
}

.zd-footer-links a:hover {
    color: #4CAF50;
}

/* ========================================
   ADRES I GODZINY - ZAWSZE WIDOCZNE
   ======================================== */

.zd-footer-info {
    padding: 25px 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.zd-footer-info-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 500px;
    margin: 0 auto;
}

.zd-footer-info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    text-align: left;
}

.zd-footer-info-icon {
    width: 36px;
    height: 36px;
    background: rgba(76, 175, 80, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.zd-footer-info-icon svg {
    width: 18px;
    height: 18px;
    stroke: #4CAF50;
    fill: none;
}

.zd-footer-info-text {
    flex: 1;
}

.zd-footer-info-label {
    font-size: 14px;
    font-weight: 600;
    color: #4CAF50;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.zd-footer-info-value {
    font-size: 14px;
    color: #ccc;
    line-height: 1.5;
}

.zd-footer-info-value a {
    color: #ccc;
    text-decoration: none;
}

.zd-footer-info-value a:hover {
    color: #4CAF50;
}

/* ========================================
   COPYRIGHT
   ======================================== */

.zd-footer-bottom {
    padding: 20px;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.zd-footer-copyright {
    font-size: 12px;
    color: #aaa;
    margin: 0;
}

.zd-footer-copyright a {
    color: #81C784;
    text-decoration: none;
}

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

@media (min-width: 769px) {
    .zd-footer-cta {
        padding: 40px;
    }
    
    .zd-footer-cta-title {
        font-size: 26px;
    }
    
    .zd-footer-main {
        padding: 40px 30px;
    }
    
    .zd-footer-brand {
        text-align: left;
        float: left;
        width: 280px;
        margin-bottom: 0;
    }
    
    .zd-footer-social {
        justify-content: flex-start;
        margin-bottom: 0;
    }
    
    .zd-footer-accordion {
        margin-left: 320px;
        border-top: none;
        display: flex;
        gap: 60px;
    }
    
    .zd-footer-accordion-item {
        border-bottom: none;
        flex: 1;
    }
    
    .zd-footer-accordion-header {
        cursor: default;
        padding: 0 0 15px 0;
    }
    
    .zd-footer-accordion-icon {
        display: none;
    }
    
    .zd-footer-accordion-content {
        max-height: none;
        overflow: visible;
    }
    
    .zd-footer-info {
        clear: both;
    }
    
    .zd-footer-info-grid {
        flex-direction: row;
        justify-content: center;
        gap: 50px;
        max-width: 100%;
    }
    
    .zd-footer-info-item {
        flex: 0 0 auto;
    }
}

@media (max-width: 768px) {
    .zd-footer {
        padding-bottom: 80px;
    }
}

@media (max-width: 480px) {
    .zd-footer-cta-phone {
        padding: 10px 18px;
    }
    
    .zd-footer-cta-phone-number {
        font-size: 18px;
    }
}

/* ════════════════════════════════════════════════════════════════
   8. STRONA GŁÓWNA (front-page.php)
   ════════════════════════════════════════════════════════════════ */
/* ========================================
   STRONA GŁÓWNA - v8 OPTIMIZED
   ======================================== */

/* ========================================
   HERO - KOMPAKTOWY
   ======================================== */

.zd-hero {
    background: linear-gradient(135deg, #fafffe 0%, #f0fdf4 50%, #fafafa 100%);
    padding: 50px 30px;
    text-align: center;
    contain: layout style;
}

.zd-hero-container {
    max-width: 800px;
    margin: 0 auto;
}

.zd-hero-title {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 40px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.2;
    margin: 0 0 15px 0;
    contain: layout style;
}

.zd-hero-title span {
    color: #2E7D32;
}

.zd-hero-subtitle {
    font-size: 18px;
    line-height: 1.6;
    color: #555;
    margin: 0 0 25px 0;
    font-weight: 500;
}

/* DWA CTA OBOK SIEBIE */
.zd-hero-cta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.zd-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #2E7D32 0%, #1B5E20 100%);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(46, 125, 50, 0.35);
}

.zd-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(76, 175, 80, 0.45);
    color: #fff;
}

.zd-btn-primary svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
}

.zd-btn-phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: #fff;
    color: #2E7D32;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 12px;
    border: 2px solid #2E7D32;
    transition: all 0.3s ease;
}

.zd-btn-phone:hover {
    background: #2E7D32;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(46, 125, 50, 0.3);
}

.zd-btn-phone svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
}

