:root {
    /* Nowoczesne kolory 2024 - Zielona paleta */
    --primary-gradient: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    --secondary-gradient: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --accent-gradient: linear-gradient(135deg, #34d399 0%, #6ee7b7 100%);
    --success-gradient: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    
    /* Kolory podstawowe */
    --primary-600: #22c55e;
    --primary-500: #16a34a;
    --primary-400: #10b981;
    --accent-500: #34d399;
    --neutral-900: #1a1a2e;
    --neutral-800: #16213e;
    --neutral-100: #f8fafc;
    
    /* Kolory tÅ‚a */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-dark: #1a1a2e;
    --bg-gradient: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    
    /* Kolory tekstu */
    --text-primary: #1a1a2e;
    --text-secondary: #64748b;
    --text-light: #ffffff;
    
    /* Cienie */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

* {
    font-family: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, sans-serif;
}

/* Nowoczesne fonty */
.font-display {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
}

.font-body {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

.font-heading {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
}

/* Nowoczesne fonty dla logo - Gen Z friendly */
.font-logo-modern {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Technical Warning Banner */
#technical-warning-banner {
    backdrop-filter: blur(15px);
    background: linear-gradient(135deg, rgba(240, 253, 244, 0.98) 0%, rgba(254, 243, 199, 0.98) 50%, rgba(240, 253, 244, 0.98) 100%);
    border-bottom: 2px solid rgba(34, 197, 94, 0.2);
    box-shadow: 0 8px 32px rgba(34, 197, 94, 0.15);
    position: relative;
    overflow: hidden;
}

#technical-warning-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(34, 197, 94, 0.05) 50%, transparent 100%);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

#technical-warning-banner:hover {
    background: linear-gradient(135deg, rgba(240, 253, 244, 0.99) 0%, rgba(254, 243, 199, 0.99) 50%, rgba(240, 253, 244, 0.99) 100%);
    box-shadow: 0 12px 40px rgba(34, 197, 94, 0.2);
    transform: translateY(0);
}

#technical-warning-banner p {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    line-height: 1.6;
}

#technical-warning-banner button {
    transition: all 0.3s ease-in-out;
    border-radius: 50%;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

#technical-warning-banner button:hover {
    transform: scale(1.15) !important;
    background-color: rgba(34, 197, 94, 0.1) !important;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.2) !important;
}

#technical-warning-banner button:hover i {
    color: rgba(34, 197, 94, 0.8) !important;
}

#technical-warning-banner button:active {
    transform: scale(1.05);
    background-color: rgba(34, 197, 94, 0.2);
}

#technical-warning-banner button:focus {
    outline: 2px solid rgba(34, 197, 94, 0.3);
    outline-offset: 2px;
}

#technical-warning-banner i[data-lucide="leaf"] {
    animation: leafPulse 2s ease-in-out infinite;
}

@keyframes leafPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* ResponsywnoÅ›Ä‡ dla bannera */
@media (max-width: 768px) {
    #technical-warning-banner .max-w-7xl {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    #technical-warning-banner p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    #technical-warning-banner .flex {
        flex-direction: column;
        gap: 1rem;
    }
    
    #technical-warning-banner .flex-shrink-0 {
        align-self: flex-end;
    }
    
    #technical-warning-banner i[data-lucide="leaf"] {
        height: 1.5rem;
        width: 1.5rem;
    }
}

@media (max-width: 480px) {
    #technical-warning-banner p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    #technical-warning-banner .py-4 {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
    
    #technical-warning-banner .space-x-4 {
        gap: 0.75rem;
    }
}

.font-logo-tech {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.font-logo-futuristic {
    font-family: 'Chakra Petch', sans-serif;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.font-logo-cyber {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.glass-effect {
    background: #f1fbf5;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: var(--shadow-lg);
    border-radius: 0;
}

/* Hero background image */
.hero-background-image {
    background-image: url('../img/bg.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* NiezaleÅ¼na strzaÅ‚ka - pozycjonowana wzglÄ™dem viewport, nie hero */
.scroll-arrow-independent {
        position: fixed; /* WzglÄ™dem viewport, nie parent */
        bottom: 2rem; /* 32px od doÅ‚u ekranu */
        left: 50%;
        transform: translateX(-50%); /* WyÅ›rodkowanie poziome */
        z-index: 60; /* WyÅ¼szy niÅ¼ navbar (50) */
        
        /* Style wizualne - kopiowane z .scroll-arrow */
        cursor: pointer;
        transition: all 0.3s ease, opacity 0.3s ease, visibility 0.3s ease; /* PÅ‚ynne ukrywanie/pokazywanie */
        padding: 8px;
        border-radius: 50%;
        background: rgb(31, 194, 91);
        backdrop-filter: blur(10px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        animation: scrollBounce 2s ease-in-out infinite;
        
        /* Wymiary */
        width: 48px;
        height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        
        /* DomyÅ›lnie widoczna - JavaScript zarzÄ…dza widocznoÅ›ciÄ… */
        opacity: 1;
        visibility: visible;
    }
    
    /* Ikona w niezaleÅ¼nej strzaÅ‚ce */
    .scroll-arrow-independent i {
        color: #ffffff !important;
        filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.8)) 
                drop-shadow(0 0 16px rgba(255, 255, 255, 0.4));
        transition: all 0.3s ease;
    }
    
    /* Hover effects dla niezaleÅ¼nej strzaÅ‚ki */
    .scroll-arrow-independent:hover {
        background: rgba(255, 255, 255, 0.25);
        transform: translateX(-50%) translateY(-2px);
        animation-play-state: paused;
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
    }
    
    .scroll-arrow-independent:hover i {
        filter: drop-shadow(0 0 12px rgba(255, 255, 255, 1)) 
                drop-shadow(0 0 24px rgba(255, 255, 255, 0.6))
                drop-shadow(0 0 8px rgba(34, 197, 94, 0.3));
        transform: scale(1.1);
    }
    
    .scroll-arrow-independent:active {
        transform: translateX(-50%) translateY(0) scale(0.95);
    }
    
    .scroll-arrow-independent:active i {
        transform: scale(0.9);
        filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.6)) 
                drop-shadow(0 0 12px rgba(255, 255, 255, 0.3));
    }

/* ResponsywnoÅ›Ä‡ dla urzÄ…dzeÅ„ mobilnych */
@media (max-width: 768px) {
    .hero-background-image {
        background-attachment: scroll; /* Na mobile lepiej scroll niÅ¼ fixed */
        background-size: cover;
        background-position: center top;
    }
    
    /* Hero sekcja zajmuje peÅ‚nÄ… wysokoÅ›Ä‡ - navbar pÅ‚ywa nad niÄ… jako overlay */
    .hero-section {
        height: 100vh;
        min-height: 100vh;
    }
    
    /* ZawartoÅ›Ä‡ hero przesuÅ„ w dÃ³Å‚ Å¼eby nie byÅ‚a zasÅ‚oniÄ™ta przez navbar */
    .hero-section .relative.z-20.text-center {
        padding-top: 5rem; /* WiÄ™cej niÅ¼ wysokoÅ›Ä‡ navbar (4rem) dla bezpieczeÅ„stwa */
    }
}

.gradient-bg {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 25%, #10b981 50%, #059669 75%, #047857 100%);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    width: 100%;
    animation: gradientShift 20s ease-in-out infinite;
    background-size: 300% 300%;
    opacity: 0.75; /* Zmniejszona opacity aby pokazaÄ‡ obrazek tÅ‚a - moÅ¼na dostosowaÄ‡ 0.6-0.9 wedÅ‚ug potrzeb */
    mix-blend-mode: normal; /* MoÅ¼na sprÃ³bowaÄ‡: multiply, overlay, soft-light dla rÃ³Å¼nych efektÃ³w */
    z-index: 2;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
        filter: hue-rotate(0deg) brightness(1);
    }
    25% {
        background-position: 100% 50%;
        filter: hue-rotate(5deg) brightness(1.1);
    }
    50% {
        background-position: 100% 100%;
        filter: hue-rotate(10deg) brightness(1.05);
    }
    75% {
        background-position: 0% 100%;
        filter: hue-rotate(5deg) brightness(1.1);
    }
    100% {
        background-position: 0% 50%;
        filter: hue-rotate(0deg) brightness(1);
    }
}

.gradient-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
    z-index: 3;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.product-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(34, 197, 94, 0.1);
    overflow: hidden;
    border-radius: 20px;
    position: relative;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.product-card:hover::after {
    opacity: 0.05;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s;
}

.product-card:hover::before {
    left: 100%;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.product-card:active {
    transform: translateY(-2px);
}

/* ðŸ’Ž Premium Savings Tooltip (fixed positioned in body) */
#savings-tooltip-portal {
    position: fixed;
    z-index: 99999;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease-out, visibility 0.2s ease-out;
}

#savings-tooltip-portal.active {
    opacity: 1;
    visibility: visible;
}

.savings-tooltip-content {
    background: linear-gradient(135deg, rgb(30, 41, 59) 0%, rgb(51, 65, 85) 50%, rgb(30, 41, 59) 100%);
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(148, 163, 184, 0.3);
    font-size: 0.75rem;
    line-height: 1.5;
    max-width: 280px;
    width: max-content;
}

.savings-tooltip-arrow {
    position: absolute;
    width: 16px;
    height: 8px;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
}

.savings-tooltip-arrow svg {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* âŒ¨ï¸� Keyboard Navigation dla Autocomplete */
.autocomplete-selected {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%) !important;
    border-left: 4px solid #3b82f6 !important;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2) !important;
    transform: translateX(4px) !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* WYÅ�Ä„CZ wszystkie :hover podczas nawigacji klawiaturowej */
.keyboard-mode .autocomplete-suggestion:hover {
    background-color: transparent !important;
}

.keyboard-mode .autocomplete-product:hover {
    background-color: transparent !important;
}

.keyboard-mode .autocomplete-price-action:hover {
    background-image: none !important;
    background-color: rgb(254 252 232) !important; /* from-amber-50 */
}

.keyboard-mode .autocomplete-blog-post:hover {
    background-color: transparent !important;
}

/* Product image hover effects */
.product-image {
    filter: brightness(1) saturate(1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}
/* ==========================
   CTA Button: Delikatny BiaÅ‚y z Zielonym Akcentem + ZÅ‚oty Hover (poprawione przejÅ›cia)
   ========================== */

/*
    - TÅ‚o: delikatna biel z lekkÄ… przezroczystoÅ›ciÄ…, efekt "glass".
    - Obramowanie: subtelna biaÅ‚a ramka z lekkim cieniem zieleni.
    - Kolor fontu: ciemna zieleÅ„ (#17643a) â€“ bardzo czytelny na biaÅ‚ym tle.
    - Ikona: dziedziczy kolor fontu.
    - Hover: animowany zÅ‚oto-zielony gradient, font przechodzi w zÅ‚oty, lekka poÅ›wiata.
    - PrzejÅ›cia: pÅ‚ynne, bez migniÄ™Ä‡ â€“ background i border przechodzÄ… pÅ‚ynnie, nie zmieniajÄ… siÄ™ typy tÅ‚a (zawsze gradient, tylko kolory siÄ™ zmieniajÄ…).
*/

.magic-cta-btn {
    --btn-bg: linear-gradient(135deg, #ffffffcc 0%, #f6fff7 100%);
    --btn-bg-hover: linear-gradient(135deg, #f7e9b6 0%, #f9d976 30%, #e7c14c 60%, #b6e388 100%);
    --btn-shadow: 0 4px 18px rgba(34, 197, 94, 0.10), 0 1.5px 6px rgba(16, 185, 129, 0.08);
    --btn-shadow-hover: 0 8px 32px rgba(249, 217, 118, 0.18), 0 2px 12px rgba(230, 193, 76, 0.10);
    --btn-text: #17643a;
    --btn-text-hover: #7c5a13;
    --btn-border: 2px solid rgba(255,255,255,0.85);
    --btn-border-hover: 2px solid #f9d976;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 28px;
    border-radius: 16px;
    background: var(--btn-bg);
    color: var(--btn-text);
    font-weight: 900;
    font-size: 1.125rem; /* 18px */
    letter-spacing: 0.2px;
    text-decoration: none;
    box-shadow: var(--btn-shadow);
    transition: 
        transform 0.18s ease, 
        box-shadow 0.25s ease, 
        filter 0.25s ease, 
        background 0.45s cubic-bezier(0.4,0,0.2,1), 
        color 0.3s cubic-bezier(0.4,0,0.2,1),
        border-color 0.3s cubic-bezier(0.4,0,0.2,1);
    border: var(--btn-border);
    isolation: isolate;
    overflow: hidden;
    backdrop-filter: blur(2px);
    /* Zawsze gradient, nie zmieniamy typu tÅ‚a na hover */
    background-size: 100% 100%;
    background-position: center;
}

.magic-cta-btn:focus-visible {
    outline: 3px solid #b6e388;
    outline-offset: 3px;
}

.magic-cta-btn:hover, 
.magic-cta-btn:focus-visible:hover {
    background: var(--btn-bg-hover);
    color: var(--btn-text-hover);
    box-shadow: var(--btn-shadow-hover), 0 0 0 8px rgba(249, 217, 118, 0.10);
    border: var(--btn-border-hover);
    filter: saturate(1.08) brightness(1.07);
    transition: 
        transform 0.18s ease, 
        box-shadow 0.25s ease, 
        filter 0.25s ease, 
        background 0.45s cubic-bezier(0.4,0,0.2,1), 
        color 0.3s cubic-bezier(0.4,0,0.2,1),
        border-color 0.3s cubic-bezier(0.4,0,0.2,1);
}

.magic-cta-btn:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 6px 18px rgba(249, 217, 118, 0.13);
}

.magic-cta-icon {
    width: 22px;
    height: 22px;
    color: inherit;
    transition: color 0.3s cubic-bezier(0.4,0,0.2,1);
}

.magic-cta-text {
    position: relative;
    z-index: 2;
    transition: color 0.3s cubic-bezier(0.4,0,0.2,1);
}

/* Subtelna poÅ›wiata */
.magic-cta-glow {
    position: absolute;
    inset: -30%;
    background: radial-gradient(60% 60% at 50% 50%, rgba(255,255,255,0.28) 0%, rgba(255,255,255,0.12) 35%, rgba(52, 211, 153, 0.18) 60%, rgba(34, 197, 94, 0.15) 100%);
    filter: blur(12px);
    z-index: 0;
    opacity: 0.9;
    transition: opacity 0.4s ease;
}

.magic-cta-btn:hover .magic-cta-glow {
    opacity: 1;
}

/* PrzesuwajÄ…cy siÄ™ poÅ‚ysk */
.magic-cta-shine {
    position: absolute;
    top: 0;
    bottom: 0;
    left: -150%;
    width: 50%;
    background: linear-gradient(100deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.25) 45%, rgba(255,255,255,0.6) 50%, rgba(255,255,255,0.25) 55%, rgba(255,255,255,0) 100%);
    transform: skewX(-15deg);
    z-index: 1;
    animation: ctaShine 4.5s ease-in-out infinite;
}

@keyframes ctaShine {
    0% { left: -160%; }
    55% { left: 120%; }
    100% { left: 120%; }
}

/* Ripple przy klikniÄ™ciu */
.magic-cta-btn::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.45);
    border-radius: 9999px;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    pointer-events: none;
}

.magic-cta-btn:active::after {
    animation: ctaRipple 600ms ease-out;
}

@keyframes ctaRipple {
    0% { transform: translate(-50%, -50%) scale(0); opacity: 0.5; }
    70% { transform: translate(-50%, -50%) scale(22); opacity: 0.25; }
    100% { transform: translate(-50%, -50%) scale(28); opacity: 0; }
}

/* Kontener dla przyciskÃ³w CTA */
.magic-cta-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

/* Responsywne dostosowania dla mniejszych ekranÃ³w */
@media (max-width: 640px) {
    .magic-cta-btn {
        font-size: 0.95rem; /* ~15px */
        padding: 14px 20px;
        gap: 10px;
    }
    
    .magic-cta-icon {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 480px) {
    .magic-cta-btn {
        font-size: 0.875rem; /* 14px */
        padding: 12px 16px;
        gap: 8px;
    }
    
    .magic-cta-icon {
        width: 16px;
        height: 16px;
    }
    
    .magic-cta-container {
        gap: 12px;
    }
}

/* Sekcja tÅ‚a CTA â€“ delikatny gradient */
#cta-catalog {
    background: linear-gradient(135deg, #89fdb3 0%, #16a34a 30%, #10b981 60%, #34d399 100%);
    margin-top: 80px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.product-card:hover .product-image {
    transform: scale(1.05);
    filter: brightness(1.1) saturate(1.1);
}

/* Image container for shine effect */
.group-hover-container {
    position: relative;
    overflow: hidden;
}

.group-hover-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
    z-index: 1;
    pointer-events: none;
}

.product-card:hover .group-hover-container::before {
    left: 100%;
}

.search-input {
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(20px);
    border-radius: 50px;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

.search-input:focus {
    border-color: var(--primary-600);
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.1);
    /* UsuniÄ™to scale() - powodowaÅ‚ problem z pozycjonowaniem button */
    animation: inputPulse 2s ease-in-out infinite;
}

@keyframes inputPulse {
    0%, 100% {
        box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.1);
        border-color: var(--primary-600);
        /* UsuniÄ™to scale() z animacji */
    }
    50% {
        box-shadow: 0 0 0 8px rgba(34, 197, 94, 0.2), 0 0 20px rgba(34, 197, 94, 0.3);
        border-color: rgba(34, 197, 94, 0.8);
        /* UsuniÄ™to scale() z animacji */
    }
}

.filter-chip {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border-radius: 25px;
    border: 2px solid transparent;
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    user-select: none;
}

.filter-chip::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(34, 197, 94, 0.1), transparent);
    transition: left 0.5s ease;
}

.filter-chip:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: var(--shadow-md);
    border-color: #22c55e;
    background: linear-gradient(145deg, #ffffff 0%, #f0fdf4 100%);
}

.filter-chip:hover::before {
    left: 100%;
}

.filter-chip.active {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    border-color: #22c55e;
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.filter-chip.active:hover {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    color: white;
    border-color: #16a34a;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.3);
}

.loading-shimmer {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.hero-headline {
    opacity: 0;
    transform: translateY(30px);
    cursor: default;
}

.hero-subtext {
    opacity: 0;
    transform: translateY(30px);
    cursor: default;
}

.hero-cta {
    opacity: 0;
    transform: translateY(30px);
}

.product-reveal {
    opacity: 0;
    transform: translateY(20px);
}

.no-js .hero-headline,
.no-js .hero-subtext,
.no-js .hero-cta,
.no-js .product-reveal {
    opacity: 1;
    transform: none;
}

.compare-checkbox:checked + .compare-label {
    background: var(--primary-600);
    color: white;
}

.floating-action {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.tooltip {
    position: relative;
    cursor: help;
}

.tooltip:hover .tooltip-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(-5px);
}

.tooltip-content {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--neutral-800);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.tooltip-content::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: var(--neutral-800);
}

/* Nowoczesne animacje */
.product-card {
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Animacje dla sekcji */
.section-fade-in {
    animation: sectionFadeIn 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes sectionFadeIn {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover effects dla kart */
.category-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 20px;
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(34, 197, 94, 0.1);
    box-shadow: var(--shadow-md);
}

.category-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: #22c55e;
    background: linear-gradient(145deg, #ffffff 0%, #f0fdf4 100%);
}

.category-card:hover .category-icon {
    transform: scale(1.2) rotate(5deg);
    color: var(--primary-600);
}

.category-icon {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =====================================================
   NOWOCZESNE MENU MOBILNE - 2024 TRENDY
   ===================================================== */

/* Hamburger Button */
.mobile-menu-btn {
    position: relative;
    width: 44px;
    height: 44px;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-btn:hover {
    background: rgba(34, 197, 94, 0.1);
    transform: scale(1.05);
}

.mobile-menu-btn:active {
    transform: scale(0.95);
}

.hamburger {
    width: 24px;
    height: 18px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: #374151;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

/* Hamburger Animation */
.mobile-menu-btn.active .hamburger span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-btn.active .hamburger span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.mobile-menu-btn.active .hamburger span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile Menu Container */
.mobile-menu-container {
    position: absolute;
    top: 0;
    right: 0;
    width: 85%;
    max-width: 400px;
    height: 100vh;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.mobile-menu-overlay.active .mobile-menu-container {
    transform: translateX(0);
}

/* Header */
.mobile-menu-header {
    padding: 2rem 1.5rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-text {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.logo-text:hover {
    transform: scale(1.05);
}

/* Mobile menu logo styles */
.mobile-menu-header .logo-text {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    border-radius: 50px;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: scale(0.85);
}

.mobile-menu-header .logo-text span {
    background: #1db756 !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

.mobile-menu-header .logo-text i {
    transform: scale(0.85);
}

/* GÅ‚Ã³wne logo z 3D serduszkiem */
.logo-text i[data-lucide="heart"] {
    color: #f43f5e;
    filter: drop-shadow(0 2px 4px rgba(244, 63, 94, 0.4));
    animation: heartbeat 2s ease-in-out infinite;
    transform: rotate(-15deg) perspective(100px) rotateX(10deg);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 0 6px;
}

.logo-text:hover i[data-lucide="heart"] {
    transform: rotate(-15deg) perspective(100px) rotateX(10deg) scale(1.15);
    filter: drop-shadow(0 4px 8px rgba(244, 63, 94, 0.6));
}

/* PeÅ‚ny listek przed logo */
.logo-leaf-full {
    color: #10b981;
    opacity: 1;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(16, 185, 129, 0.6));
    animation: leafPulseFull 3s ease-in-out infinite;
    font-weight: bold;
    margin-right: 4px;
}

.logo-text:hover .logo-leaf-full {
    opacity: 1;
    transform: scale(1.2) rotate(8deg);
    filter: drop-shadow(0 4px 8px rgba(16, 185, 129, 0.8));
    animation: leafPulseFull 1.5s ease-in-out infinite;
}

@keyframes leafPulseFull {
    0%, 100% {
        color: #10b981;
        transform: scale(1);
    }
    50% {
        color: #059669;
        transform: scale(1.1);
    }
}

/* =====================================================
   AI ADVISOR LOADER - Animowany listek z progressbarem
   ===================================================== */

#ai-loader-overlay {
    animation: fadeInLoader 0.3s ease-out;
}

@keyframes fadeInLoader {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.ai-leaf-loader {
    width: 120px;
    height: 120px;
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-leaf-loader .relative {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Główna ikona leaf z Lucide */
.ai-leaf-icon {
    width: 120px;
    height: 120px;
    color: #10b981;
    animation: leafRotate 3s ease-in-out infinite, leafIconPulse 2s ease-in-out infinite;
    filter: drop-shadow(0 2px 4px rgba(16, 185, 129, 0.3));
    z-index: 1;
    position: relative;
}

@keyframes leafIconPulse {
    0%, 100% {
        color: #10b981;
        opacity: 0.8;
    }
    50% {
        color: #059669;
        opacity: 1;
    }
}

/* Delikatna rotacja liścia */
@keyframes leafRotate {
    0%, 100% {
        transform: rotate(0deg) scale(1);
    }
    25% {
        transform: rotate(-5deg) scale(1.05);
    }
    75% {
        transform: rotate(5deg) scale(1.05);
    }
}

/* Usunięto SVG overlay z progressbarem - tylko animowana ikona Lucide */

/* Delikatna rotacja liścia - zastosowana do ikony */
.ai-leaf-icon {
    animation: leafRotate 3s ease-in-out infinite, leafIconPulse 2s ease-in-out infinite;
}

@keyframes leafRotate {
    0%, 100% {
        transform: rotate(0deg) scale(1);
    }
    25% {
        transform: rotate(-5deg) scale(1.05);
    }
    75% {
        transform: rotate(5deg) scale(1.05);
    }
}

/* Animacja dla tekstu MOTD w loaderze */
#ai-loader-subtext {
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

#ai-loader-subtext.ai-motd-text {
    color: #059669;
    font-weight: 500;
    animation: motdTextGlow 2s ease-in-out infinite;
}

@keyframes motdTextGlow {
    0%, 100% {
        color: #059669;
        text-shadow: 0 0 0 rgba(5, 150, 105, 0);
    }
    50% {
        color: #10b981;
        text-shadow: 0 0 8px rgba(16, 185, 129, 0.4);
    }
}

/* Responsywność */
@media (max-width: 640px) {
    .ai-leaf-loader {
        width: 100px;
        height: 100px;
    }
}

/* Chat Loader Styles (nowy loader w formie czatu) */
#ai-chat-loader {
    animation: fadeInUp 0.4s ease-out;
}

#ai-chat-messages {
    scrollbar-width: thin;
    scrollbar-color: rgba(156, 163, 175, 0.5) transparent;
}

#ai-chat-messages::-webkit-scrollbar {
    width: 6px;
}

#ai-chat-messages::-webkit-scrollbar-track {
    background: transparent;
}

#ai-chat-messages::-webkit-scrollbar-thumb {
    background-color: rgba(156, 163, 175, 0.5);
    border-radius: 3px;
}

#ai-chat-messages::-webkit-scrollbar-thumb:hover {
    background-color: rgba(156, 163, 175, 0.7);
}

.chat-message-content {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Animacja pulsującego liścia w chat loaderze (jak w logo) */
.ai-chat-leaf-icon {
    animation: chatLeafAnimate 2.5s ease-in-out infinite;
    filter: drop-shadow(0 1px 2px rgba(16, 185, 129, 0.3));
}

@keyframes chatLeafAnimate {
    0%, 100% {
        color: #10b981;
        opacity: 0.9;
        transform: rotate(0deg) scale(1);
    }
    25% {
        color: #059669;
        opacity: 1;
        transform: rotate(-3deg) scale(1.08);
    }
    50% {
        color: #10b981;
        opacity: 1;
        transform: rotate(0deg) scale(1.1);
    }
    75% {
        color: #059669;
        opacity: 1;
        transform: rotate(3deg) scale(1.08);
    }
}

/* Animacja kropek jak w Messengerze */
.typing-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #6b7280;
    display: inline-block;
    animation: typingDot 1.4s infinite ease-in-out;
}

.typing-dot:nth-child(1) {
    animation-delay: -0.32s;
}

.typing-dot:nth-child(2) {
    animation-delay: -0.16s;
}

.typing-dot:nth-child(3) {
    animation-delay: 0s;
}

@keyframes typingDot {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.7;
    }
    30% {
        transform: translateY(-10px);
        opacity: 1;
    }
}

.chat-message-item {
    animation: messageSlideIn 0.4s ease-out;
}

@keyframes messageSlideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Logo obramÃ³wka przy scrollowaniu */
.logo-text {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-text span {
    background: #1db756;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-text.scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(15px);
    border-radius: 60px;
    padding: 12px 20px;
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transform: scale(0.85);
    animation: logoAppear 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
}

/* Animacja powrotu do pierwotnej wersji logo */
.logo-text.returning {
    animation: logoReturn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.logo-text.scrolled span {
    background: #1db756;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-text.scrolled i {
    transform: scale(0.85);
}

@keyframes logoAppear {
    0% {
        opacity: 1;
        transform: scale(1) translateY(0);
        filter: blur(0);
        border-radius: 0;
        background: transparent;
        backdrop-filter: none;
        padding: 0;
        border: none;
        box-shadow: none;
    }
    50% {
        opacity: 0.7;
        transform: scale(0.85) translateY(-5px);
        filter: blur(5px);
        border-radius: 60px;
        background: rgba(255, 255, 255, 0.7);
        backdrop-filter: blur(10px);
        padding: 12px 20px;
        border: 1.5px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    }
    100% {
        opacity: 1;
        transform: scale(0.85) translateY(0);
        filter: blur(0);
        border-radius: 60px;
        background: rgba(255, 255, 255, 0.92);
        backdrop-filter: blur(15px);
        padding: 12px 20px;
        border: 1.5px solid rgba(255, 255, 255, 0.15);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }
}

/* Animacja powrotu - odwrotnoÅ›Ä‡ logoAppear */
@keyframes logoReturn {
    0% {
        opacity: 1;
        transform: scale(0.85) translateY(0);
        filter: blur(0);
        border-radius: 60px;
        background: rgba(255, 255, 255, 0.92);
        backdrop-filter: blur(15px);
        padding: 12px 20px;
        border: 1.5px solid rgba(255, 255, 255, 0.15);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }
    50% {
        opacity: 0.7;
        transform: scale(0.85) translateY(-5px);
        filter: blur(5px);
        border-radius: 60px;
        background: rgba(255, 255, 255, 0.7);
        backdrop-filter: blur(10px);
        padding: 12px 20px;
        border: 1.5px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
        filter: blur(0);
        border-radius: 0;
        background: transparent;
        backdrop-filter: none;
        padding: 0;
        border: none;
        box-shadow: none;
    }
}

/* Animowany gradient tekst dla "suplementy" */
.animated-gradient-text {
    background: linear-gradient(45deg, #22c55e, #16a34a, #10b981, #059669, #047857, #065f46, #064e3b);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShiftText 4s ease-in-out infinite;
    font-weight: 800;
    text-shadow: 0 0 40px rgba(34, 197, 94, 0.4);
    filter: drop-shadow(0 0 20px rgba(22, 163, 74, 0.3));
}

@keyframes gradientShiftText {
    0% {
        background-position: 0% 50%;
        filter: drop-shadow(0 0 20px rgba(34, 197, 94, 0.4));
    }
    25% {
        background-position: 100% 50%;
        filter: drop-shadow(0 0 25px rgba(22, 163, 74, 0.5));
    }
    50% {
        background-position: 100% 100%;
        filter: drop-shadow(0 0 30px rgba(16, 185, 129, 0.6));
    }
    75% {
        background-position: 0% 100%;
        filter: drop-shadow(0 0 25px rgba(5, 150, 105, 0.5));
    }
    100% {
        background-position: 0% 50%;
        filter: drop-shadow(0 0 20px rgba(34, 197, 94, 0.4));
    }
}

/* Minimalistyczny biaÅ‚y gradient z delikatnym zÅ‚otym odcieniem dla "suplementy" */
.glow-text {
    background: linear-gradient(45deg, #ffffff, #fefce8, #fef3c7, #fde68a, #ffffff, #fefefe, #faf5ff);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    animation: minimalistWhiteGradient 4s ease-in-out infinite, minimalistWhiteGlowPulse 3s ease-in-out infinite;
    position: relative;
    z-index: 10;
    text-shadow: 
        0 0 10px rgba(255, 255, 255, 0.4),
        0 0 18px rgba(254, 252, 232, 0.3),
        0 0 25px rgba(254, 243, 199, 0.2);
}

@keyframes minimalistWhiteGradient {
    0% {
        background-position: 0% 50%;
    }
    25% {
        background-position: 50% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    75% {
        background-position: 50% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes minimalistWhiteGlowPulse {
    0%, 100% {
        text-shadow: 
            0 0 10px rgba(255, 255, 255, 0.4),
            0 0 18px rgba(254, 252, 232, 0.3),
            0 0 25px rgba(254, 243, 199, 0.2);
    }
    50% {
        text-shadow: 
            0 0 14px rgba(255, 255, 255, 0.5),
            0 0 22px rgba(254, 252, 232, 0.4),
            0 0 30px rgba(254, 243, 199, 0.3),
            0 0 38px rgba(253, 230, 138, 0.2);
    }
}



/* UsuniÄ™te style dla serduszka - logo zostaÅ‚o uproszczone */

/* Close Button */
.mobile-close-btn {
    width: 44px;
    height: 44px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.mobile-close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.close-icon {
    width: 20px;
    height: 20px;
    position: relative;
}

.close-icon span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 2px;
    background: white;
    border-radius: 1px;
    transition: all 0.3s ease;
}

.close-icon span:first-child {
    transform: translate(-50%, -50%) rotate(45deg);
}

.close-icon span:last-child {
    transform: translate(-50%, -50%) rotate(-45deg);
}

/* Navigation */
.mobile-nav {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
}

.nav-section {
    margin-bottom: 2rem;
}

.nav-section-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    padding-left: 0.5rem;
}

.nav-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    text-decoration: none;
    color: white;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.nav-link:hover::before {
    left: 100%;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(8px);
}

.nav-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.nav-link:hover .nav-icon {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.nav-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.nav-text {
    font-weight: 600;
    font-size: 1rem;
}

.nav-description {
    font-size: 0.875rem;
    opacity: 0.8;
}

.nav-arrow {
    opacity: 0.6;
    transition: all 0.3s ease;
}

.nav-link:hover .nav-arrow {
    opacity: 1;
    transform: translateX(4px);
}

/* Login Button */
.login-btn {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: left !important;
    justify-content: flex-start !important;
}

.login-btn:hover {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%) !important;
    transform: translateX(8px) scale(1.02);
}





/* Lightning bolt animation for buy button */
.lightning-bolt {
    display: inline-block;
    margin-right: 8px;
    animation: lightningFlash 2s ease-in-out infinite;
    filter: drop-shadow(0 0 8px rgba(255, 255, 0, 0.6));
}

.lightning-bolt i {
    color: #fbbf24;
    animation: lightningPulse 1.5s ease-in-out infinite;
}

@keyframes lightningFlash {
    0%, 90%, 100% {
        opacity: 0.3;
        transform: scale(0.8) rotate(-5deg);
        filter: drop-shadow(0 0 4px rgba(255, 255, 0, 0.3));
    }
    5%, 85% {
        opacity: 1;
        transform: scale(1.1) rotate(0deg);
        filter: drop-shadow(0 0 12px rgba(255, 255, 0, 0.8));
    }
    10%, 80% {
        opacity: 0.7;
        transform: scale(1) rotate(2deg);
        filter: drop-shadow(0 0 8px rgba(255, 255, 0, 0.6));
    }
    15%, 75% {
        opacity: 1;
        transform: scale(1.05) rotate(-2deg);
        filter: drop-shadow(0 0 15px rgba(255, 255, 0, 0.9));
    }
}

@keyframes lightningPulse {
    0%, 100% {
        color: #fbbf24;
        transform: scale(1);
    }
    50% {
        color: #f59e0b;
        transform: scale(1.1);
    }
}

/* Login Modal */
.login-modal-container {
    animation: loginModalAppear 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform-origin: center;
}

/* Register Modal */
.register-modal-container {
    animation: loginModalAppear 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform-origin: center;
}

@keyframes loginModalAppear {
    0% {
        opacity: 0;
        transform: scale(0.3) translateY(-50px);
        filter: blur(10px);
    }
    50% {
        opacity: 0.7;
        transform: scale(0.8) translateY(-20px);
        filter: blur(5px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
        filter: blur(0);
    }
}

#login-modal {
    backdrop-filter: blur(10px);
}

#register-modal {
    backdrop-filter: blur(10px);
}

/* Forgot Password Modal */
.forgot-password-modal-container {
    animation: loginModalAppear 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform-origin: center;
}

#forgot-password-modal {
    backdrop-filter: blur(10px);
}

#login-modal input:focus {
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
    border-color: #22c55e;
}

#login-modal .gradient-button {
    background: #1db756;
    border: none;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

#login-modal .gradient-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4);
}

/* Footer */
.mobile-menu-footer {
    padding: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.1);
}

.footer-links {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: white;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 480px) {
    .mobile-menu-container {
        width: 100%;
        max-width: none;
    }
    
    .nav-link {
        padding: 0.875rem;
    }
    
    .nav-icon {
        width: 36px;
        height: 36px;
    }
    
    .logo-text {
        font-size: 1.25rem;
    }
}

.mobile-nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(34, 197, 94, 0.1), transparent);
    transition: left 0.5s;
}

.mobile-nav-link:hover::before {
    left: 100%;
}

.mobile-nav-link:hover {
    background-color: #f3f4f6;
    color: #22c55e;
    transform: translateX(8px);
}

.mobile-nav-link i {
    transition: transform 0.3s ease;
}

.mobile-nav-link:hover i {
    transform: scale(1.1);
}

/* ResponsywnoÅ›Ä‡ dla mobile */
@media (max-width: 768px) {
    .hero-headline {
        font-size: 2.5rem;
        line-height: 1.1;
    }
    
    .hero-subtext {
        font-size: 1.125rem;
        line-height: 1.4;
    }
    
    .product-card {
        margin-bottom: 1rem;
    }
    
    /* Lepsze spacing na mobile */
    .product-card {
        padding: 1rem;
    }
    
    .product-card img {
        height: 12rem;
    }
    
    /* WiÄ™ksze przyciski na mobile */
.product-card button {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    min-height: 44px; /* Minimalna wysokoÅ›Ä‡ dla dotyku */
}

/* Lepsze spacing na mobile */
.product-card {
    padding: 1rem;
    min-height: 320px; /* Minimalna wysokoÅ›Ä‡ karty */
}
    
    /* Lepsze logo na mobile */
    .logo-text {
        font-size: 1.5rem;
    }
    
    .logo-text i {
        width: 1.25rem;
        height: 1.25rem;
    }
}

/* ResponsywnoÅ›Ä‡ dla menu - Å›rednie ekrany */
@media (min-width: 1024px) and (max-width: 1279px) {
    .nav-link-desktop {
        font-size: 0.75rem;
        padding: 0.5rem 0.75rem;
    }
    
    .nav-link-desktop i {
        width: 1rem;
        height: 1rem;
    }
}

/* ResponsywnoÅ›Ä‡ dla menu - maÅ‚e ekrany desktop */
@media (min-width: 1280px) and (max-width: 1535px) {
    .nav-link-desktop {
        font-size: 0.75rem;
        padding: 0.5rem 0.75rem;
    }
}

/* ResponsywnoÅ›Ä‡ dla menu - najszersze ekrany */
@media (min-width: 1536px) {
    .nav-link-desktop {
        font-size: 0.75rem;
        padding: 0.5rem 0.75rem;
    }
}

/* Wszystkie nav-link-desktop majÄ… ikony */
.nav-link-desktop {
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.nav-link-desktop i {
    flex-shrink: 0;
}

/* Wszystkie elementy z nav-link-desktop */
.nav-link-desktop {
    display: flex !important;
    align-items: center !important;
    white-space: nowrap !important;
    flex-direction: row !important;
}

.nav-link-desktop i {
    flex-shrink: 0;
    display: inline-block !important;
}

/* Przyciski z gradientem - wymuszenie jednej linii */
button[onclick*="openLoginModal"] {
    white-space: nowrap !important;
    display: flex !important;
    align-items: center !important;
    flex-direction: row !important;
    gap: 6px !important;
}

button[onclick*="openLoginModal"] i {
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 16px !important;
    height: 16px !important;
}

/* Przyciski koszyka - wymuszenie jednej linii */
button[onclick*="showUserMenuToast"] {
    white-space: nowrap !important;
    display: flex !important;
    align-items: center !important;
    flex-direction: row !important;
    gap: 6px !important;
}

button[onclick*="showUserMenuToast"] i {
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 16px !important;
    height: 16px !important;
}

/* Przyciski logout - wymuszenie jednej linii */
button[onclick*="logout"] {
    white-space: nowrap !important;
    display: flex !important;
    align-items: center !important;
    flex-direction: row !important;
}

button[onclick*="logout"] i {
    flex-shrink: 0 !important;
    display: inline-block !important;
}

/* Bardzo maÅ‚e ekrany */
@media (max-width: 480px) {
    .hero-headline {
        font-size: 2rem;
    }
    
    .hero-subtext {
        font-size: 1rem;
    }
    
    .product-card {
        padding: 0.75rem;
    }
    
    .product-card img {
        height: 10rem;
    }
    
    /* Lepsze logo na bardzo maÅ‚ych ekranach */
    .logo-text {
        font-size: 1.25rem;
    }
    
    .logo-text i {
        width: 1rem;
        height: 1rem;
    }
    
    /* Lepsze przyciski na bardzo maÅ‚ych ekranach */
    .product-card button {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }
    
    /* Lepsze menu mobilne na bardzo maÅ‚ych ekranach */
    .mobile-nav-link {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }
    
    .hamburger-line {
        width: 20px;
        height: 2px;
    }
    
    .close-line {
        width: 20px;
        height: 2px;
    }
}

/* Stylowanie dla modali */
.modal-overlay {
    backdrop-filter: blur(5px);
}

.modal-content {
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Karty benefitÃ³w */
.benefit-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.05) 0%, rgba(102, 126, 234, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.benefit-card:hover::before {
    opacity: 1;
}

.benefit-card:hover {
    border-color: rgba(34, 197, 94, 0.3);
}

/* Nowoczesne przyciski gradientowe 2024 */
.gradient-button {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: var(--primary-gradient);
    color: white;
    font-weight: 600;
    font-size: 13px;
    padding: 8px 16px;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.2);
    min-height: 38px;
    backdrop-filter: blur(10px);
}

.gradient-button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.gradient-button:hover::before {
    transform: translateX(100%);
}

.gradient-button:hover {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
    border-color: rgba(255, 255, 255, 0.25);
}

.gradient-button:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 1px 4px rgba(34, 197, 94, 0.2);
}

/* Przyciski z rÃ³Å¼nymi gradientami */
.btn-primary {
    background: var(--primary-gradient);
}

/* Szary gradient button - disabled style bez hover efektÃ³w */
.gradient-button-gray {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid rgba(156, 163, 175, 0.3);
    background: linear-gradient(135deg, #9ca3af 0%, #6b7280 100%);
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    font-size: 13px;
    padding: 8px 16px;
    box-shadow: 0 1px 3px rgba(156, 163, 175, 0.15);
    min-height: 38px;
    backdrop-filter: blur(10px);
    cursor: default;
    opacity: 0.7;
}

/* Brak efektu migniÄ™cia na szarym przycisku */
.gradient-button-gray::before {
    display: none;
}

/* Minimalne efekty hover - tylko lekka zmiana opacity */
.gradient-button-gray:hover {
    opacity: 0.8;
}

.gradient-button-gray:active {
    opacity: 0.6;
}

.btn-secondary {
    background: var(--secondary-gradient);
}

.btn-accent {
    background: var(--accent-gradient);
}

.btn-success {
    background: var(--success-gradient);
}

.btn-green {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.2);
}

/* Line clamp utility classes */
.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.btn-green:hover {
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.btn-red {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.2);
}

.btn-red:hover {
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.btn-yellow {
    background: linear-gradient(135deg, #eab308 0%, #ca8a04 100%);
    box-shadow: 0 2px 8px rgba(234, 179, 8, 0.2);
}

.btn-yellow:hover {
    box-shadow: 0 4px 12px rgba(234, 179, 8, 0.3);
}

/* Stylowanie dla filtrÃ³w */
.filter-chip input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* Animowane linki w gÃ³rnym menu */
.nav-link-desktop {
    position: relative;
    @apply text-gray-900 hover:text-green-600 px-3 py-2 rounded-md text-sm font-medium transition-all duration-300 ease-out;
    overflow: hidden;
}

/* Responsywne style dla menu desktop */
@media (min-width: 1024px) and (max-width: 1279px) {
    .nav-link-desktop {
        @apply px-2 py-2 text-xs;
    }
}

.nav-link-desktop::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #22c55e;
    transform: translateX(-50%);
    transition: width 0.3s ease-out;
    border-radius: 1px;
}

.nav-link-desktop::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background: #16a34a;
    transform: translateX(-50%);
    transition: width 0.3s ease-out 0.1s;
    border-radius: 1px;
}

.nav-link-desktop:hover {
    color: #22c55e;
    transform: translateY(-1px);
}

.nav-link-desktop:hover::before {
    width: 80%;
}

.nav-link-desktop:hover::after {
    width: 60%;
}

.nav-link-desktop:active {
    transform: translateY(0);
}

/* Aktywny stan linku - usuniÄ™ty, wszystkie linki sÄ… czarne */

/* Gen-Z Style Buttons */
.gen-z-btn {
    position: relative;
    overflow: hidden;
    background: white;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.gen-z-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.gen-z-btn:hover::before {
    left: 100%;
}

.gen-z-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.gen-z-btn:active {
    transform: translateY(0);
}

/* Heart button active state */
.heart-btn.active {
    border-color: #ec4899;
    background: linear-gradient(135deg, #fdf2f8 0%, #fce7f3 100%);
}

.heart-btn.active i {
    color: #ec4899;
    animation: heartBeat 0.6s ease-in-out;
}

@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* Share button active state */
.share-btn.active {
    border-color: #7c3aed;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
}

.share-btn.active i {
    color: #7c3aed;
    animation: sharePulse 0.6s ease-in-out;
}

@keyframes sharePulse {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(5deg); }
}

/* Compare button active state */
.compare-btn.active {
    border-color: #3b82f6;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
}

.compare-btn.active i {
    color: #3b82f6;
    animation: compareBounce 0.6s ease-in-out;
}

@keyframes compareBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Magic cursor effect */
/* Magic cursor - wyÅ‚Ä…cz na urzÄ…dzeniach mobilnych dla lepszej wydajnoÅ›ci */
@media (max-width: 768px) {
    .magic-cursor {
        display: none !important;
    }
}

/* Dodatkowo - wyÅ‚Ä…cz na urzÄ…dzeniach z niskÄ… rozdzielczoÅ›ciÄ… */
@media (max-width: 480px) {
    .magic-cursor {
        display: none !important;
    }
}

/* WyÅ‚Ä…cz na urzÄ…dzeniach z preferencjÄ… reduced-motion */
@media (prefers-reduced-motion: reduce) {
    .magic-cursor {
        display: none !important;
    }
    
    .confetti-container {
        display: none !important;
    }
    
    .dog-emoji {
        animation: none !important;
    }
    
    .dog-hearts .heart {
        animation: none !important;
    }
    
    .dog-confetti .confetti {
        animation: none !important;
    }
    
    .dog-kisses .kiss {
        animation: none !important;
    }
    
    .dog-bark .bark {
        animation: none !important;
    }
}

.magic-cursor {
    position: fixed;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.4) 0%, rgba(22, 163, 74, 0.3) 25%, rgba(16, 185, 129, 0.2) 50%, rgba(5, 150, 105, 0.1) 75%, transparent 100%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 5;
    transform: translate(-50%, -50%);
    transition: all 0.1s ease-out;
    filter: blur(15px);
    opacity: 0;
    animation: magicCursorPulse 1.5s ease-in-out infinite;
    /* Ukryj domyÅ›lnie */
    visibility: hidden;
}

@keyframes magicCursorPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.8;
    }
}

.hero-section:hover .magic-cursor {
    opacity: 1;
}

/* Magic trail effect */
.magic-cursor::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.4) 0%, rgba(22, 163, 74, 0.2) 50%, transparent 100%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    filter: blur(15px);
    animation: magicPulse 1.5s ease-in-out infinite;
}

.magic-cursor::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(110, 231, 183, 0.6) 0%, rgba(52, 211, 153, 0.3) 70%, transparent 100%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    filter: blur(10px);
    animation: magicPulse 1.2s ease-in-out infinite reverse;
}

@keyframes magicPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 1;
    }
}

/* Welcome Animation Styles */
#welcome-overlay {
    display: none; /* DomyÅ›lnie ukryty */
    animation: welcomeFadeIn 0.5s ease-out;
}

#welcome-overlay.show {
    display: flex; /* Pokazany tylko gdy ma klasÄ™ .show */
}

#welcome-overlay.fade-out {
    animation: welcomeFadeOut 0.8s ease-out forwards;
}

@keyframes welcomeFadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

.welcome-logo {
    animation: logoSlideIn 1s ease-out 0.3s both;
}

/* Welcome animation uses the same classes as main logo */

.welcome-loading {
    animation: loadingSlideIn 1s ease-out 1s both;
}

.loading-hearts {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
}

.heart-dot {
    width: 20px;
    height: 20px;
    position: relative;
    animation: heartDotPulse 1.4s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
}

.heart-dot::before {
    content: 'â�¤ï¸�';
    font-size: 16px;
    animation: heartDotInner 1.4s ease-in-out infinite;
}

.heart-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.heart-dot:nth-child(2)::before {
    animation-delay: 0.2s;
}

.heart-dot:nth-child(3) {
    animation-delay: 0.4s;
}

.heart-dot:nth-child(3)::before {
    animation-delay: 0.4s;
}

.welcome-text {
    animation: textFadeIn 1s ease-out 1.5s both;
}

@keyframes welcomeFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes logoSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes leafFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotate(5deg);
    }
}

@keyframes heartBeat {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

@keyframes loadingSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heartDotPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.3);
        opacity: 1;
    }
}

@keyframes heartDotInner {
    0%, 100% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.4);
        opacity: 1;
    }
}

@keyframes textFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Welcome overlay exit animation */
#welcome-overlay.fade-out {
    animation: welcomeFadeOut 0.8s ease-in-out forwards;
}

@keyframes welcomeFadeOut {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.05);
    }
    100% {
        opacity: 0;
        transform: scale(1.1);
        visibility: hidden;
    }
}



/* Stylowanie dla loading state */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Stylowanie dla galerii zdjÄ™Ä‡ produktÃ³w */
.thumbnail-image {
    transition: all 0.3s ease;
    overflow: hidden !important;
    object-fit: cover !important;
    /* Hide broken image text on desktop too */
    text-indent: -9999px !important;
    background: #f3f4f6 !important;
}

.thumbnail-image:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.thumbnail-image::before {
    content: '' !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    background: #f3f4f6 !important;
}

#main-product-image {
    transition: opacity 0.3s ease;
}

#prev-image,
#next-image {
    opacity: 0.8;
    transition: all 0.3s ease;
}

#prev-image:hover,
#next-image:hover {
    opacity: 1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    /* Remove the scale transform that causes jumping */
}

/* Animacja dla zmiany zdjÄ™Ä‡ */
.image-fade {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ResponsywnoÅ›Ä‡ dla galerii */
@media (max-width: 768px) {
    .thumbnail-image {
        width: 3rem;
        height: 3rem;
    }
    
    #prev-image,
    #next-image {
        padding: 0.5rem;
        z-index: 10 !important;
    }
    
    #prev-image {
        left: 1.25rem !important;
    }
    
    #next-image {
        right: 1.25rem !important;
        left: auto !important;
    }
    
    /* Ensure image container doesn't clip arrows */
    #product-modal-content > div:first-child .relative.overflow-hidden.rounded-xl {
        overflow: visible !important;
    }
    
    #prev-image i,
    #next-image i {
        width: 1rem;
        height: 1rem;
    }
    
    /* Lepszy modal na mobile - przyklejony do doÅ‚u */
    #product-modal {
        padding: 0.5rem 0.5rem 0.5rem 0.5rem; /* RÃ³wnomierne padding */
        align-items: flex-end !important; /* Przyklejenie do doÅ‚u zamiast centrum */
        justify-content: center !important; /* WyÅ›rodkowanie poziome */
    }
    
    #product-modal .bg-white {
        height: auto; /* Automatyczna wysokoÅ›Ä‡ - dopasuj do zawartoÅ›ci */
        max-height: calc(100vh - 1rem); /* Tylko jako backup gdy za duÅ¼o zawartoÅ›ci */
        margin: 0; /* UsuÅ„ auto margin - modal przyklejony do doÅ‚u */
        width: 100%;
        max-width: calc(100vw - 1rem);
        overflow-x: hidden;
        overflow-y: auto; /* Scroll tylko gdy naprawdÄ™ potrzebny */
        transform: translateY(0); /* Przygotowanie do animacji */
        transition: transform 0.3s ease-out; /* PÅ‚ynna animacja */
    }
    
    /* Animacja slide-up dla modala */
    #product-modal:not(.hidden) .bg-white {
        animation: slideUpFromBottom 0.3s ease-out;
    }
    
    @keyframes slideUpFromBottom {
        from {
            transform: translateY(100%);
            opacity: 0;
        }
        to {
            transform: translateY(0);
            opacity: 1;
        }
    }
    
    /* Animacja slide-down przy zamykaniu na mobile */
@keyframes slideDownToBottom {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(100%);
        opacity: 0;
    }
}

/* WiÄ™ksza galeria na stronie produktu - mobile */
@media (max-width: 768px) {
    /* Galeria produktu na mobile - wyÅ¼sza */
    .lg\\:h-\\[500px\\] {
        height: 350px !important; /* ZwiÄ™kszone z domyÅ›lnych ~250px */
    }
    
    /* Sticky gallery tylko na desktop */
    .lg\\:sticky {
        position: static !important;
    }
}
    
    /* Animacja fade-out dla desktop */
    @keyframes fadeOutScale {
        from {
            transform: scale(1);
            opacity: 1;
        }
        to {
            transform: scale(0.95);
            opacity: 0;
        }
    }
    
    /* Klasy dla animacji zamykania */
    #product-modal.closing .bg-white {
        animation: slideDownToBottom 0.25s ease-in forwards;
    }
    
    /* Desktop closing animation */
    @media (min-width: 768px) {
        #product-modal.closing .bg-white {
            animation: fadeOutScale 0.2s ease-in forwards;
        }
        
        /* Desktop opening animation - szybsza i bardziej subtelna */
        #product-modal:not(.hidden):not(.closing) .bg-white {
            animation: fadeInScale 0.2s ease-out;
        }
    }
    
    @keyframes fadeInScale {
        from {
            transform: scale(0.95);
            opacity: 0;
        }
        to {
            transform: scale(1);
            opacity: 1;
        }
    }
    
    #product-modal-content {
        padding: 1rem 1rem 0.75rem 1rem; /* Zmniejszony bottom padding */
        gap: 0.25rem; /* Minimalny gap miÄ™dzy galeriÄ… a zawartoÅ›ciÄ… */
        grid-template-columns: 1fr !important; /* Force single column on mobile */
        overflow-x: hidden;
        overflow-y: visible; /* Nie wymuszaj scrolla w content */
        height: auto; /* Automatyczna wysokoÅ›Ä‡ */
    }
    
    /* Fix image styling on mobile */
    #main-product-image {
        height: 10rem; /* Zmniejszone z 12rem do 10rem */
        border-radius: 1rem 1rem 0 0; /* Round only top corners to match modal */
        margin: -1rem -1rem 0.25rem -1rem; /* Extend to modal edges, bardzo maÅ‚y bottom margin */
        width: calc(100% + 2rem); /* Full width to compensate for negative margins */
        max-width: none !important; /* Override any max-width constraints */
    }
    
    /* Fix image container to extend to modal edges */
    #product-modal-content > div:first-child .relative.overflow-hidden.rounded-xl {
        border-radius: 1rem 1rem 0 0 !important; /* Match modal corners */
        margin: -1rem 0rem 0rem 0rem !important; /* Extend to modal edges */
        overflow: hidden !important;
        width: calc(100% + 2rem) !important; /* Full width */
        max-width: none !important;
    }
    
    /* Force full width for the image wrapper */
    #product-modal-content > div:first-child {
        margin: 0 -1rem !important;
        width: calc(100% + 2rem) !important;
    }
    
    /* Hide thumbnail gallery on mobile to save space */
    .flex.space-x-2.mt-4.overflow-x-auto {
        display: none !important;
    }
    
    /* Style dots on image for better visibility on mobile */
    .image-dot {
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
        width: 0.5rem !important;
        height: 0.5rem !important;
        border-radius: 50% !important;
        flex-shrink: 0 !important;
        display: block !important;
        min-width: 0.5rem !important;
        min-height: 0.5rem !important;
    }
    
    /* Green color classes for dots and borders */
    .bg-green-500 {
        background-color: #10b981 !important;
    }
    
    .border-green-500 {
        border-color: #10b981 !important;
    }
    
    .border-green-300 {
        border-color: #6ee7b7 !important;
    }
    
    .hover\\:border-green-300:hover {
        border-color: #6ee7b7 !important;
    }
    
    .text-green-500 {
        color: #10b981 !important;
    }
    
    .text-green-600 {
        color: #059669 !important;
    }
    
    .group:hover .group-hover\\:text-green-500 {
        color: #10b981 !important;
    }
    
    .group:hover .group-hover\\:text-green-600 {
        color: #059669 !important;
    }
    
    /* Fix dots container positioning on mobile */
    #product-modal-content .absolute.bottom-3 {
        bottom: 1.5rem !important;
    }
    
    /* Ensure dots container displays properly */
    #product-modal-content .absolute.bottom-3.flex {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0.5rem !important;
    }
    
    .thumbnail-image {
        overflow: hidden !important;
        object-fit: cover !important;
        flex-shrink: 0 !important;
        /* Hide broken image text */
        text-indent: -9999px !important;
        background: #f3f4f6 !important;
    }
    
    .thumbnail-image::before {
        content: '' !important;
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        background: #f3f4f6 !important;
    }
    
    /* Fix action buttons layout on mobile */
    .gen-z-btn {
        font-size: 0.7rem !important;
        padding: 0.4rem 0.2rem !important;
        min-width: 0 !important;
        flex: 1 1 0% !important;
        border-width: 1px !important;
        gap: 0.25rem !important;
    }
    
    .gen-z-btn i {
        width: 1rem !important;
        height: 1rem !important;
        flex-shrink: 0 !important;
    }
    
    .gen-z-btn span {
        display: none; /* Hide text on very small screens */
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
    
    /* Show text on slightly larger mobile screens */
    @media (min-width: 375px) {
        .gen-z-btn span {
            display: inline;
        }
        .gen-z-btn {
            padding: 0.5rem 0.3rem !important;
            font-size: 0.75rem !important;
        }
    }
    
    /* Better button layout for wider mobile screens */
    @media (min-width: 414px) {
        .gen-z-btn {
            padding: 0.6rem 0.4rem !important;
            font-size: 0.8rem !important;
        }
        
        .gen-z-btn i {
            width: 1.1rem !important;
            height: 1.1rem !important;
        }
    }
    
    /* Special styles for very small screens (iPhone SE and smaller) */
    @media (max-width: 374px) {
        #product-modal {
            padding: 0.25rem;
            align-items: flex-end !important; /* Zachowaj przyklejenie do doÅ‚u */
        }
        
        #product-modal .bg-white {
            max-width: calc(100vw - 0.5rem);
        }
        
        #product-modal-content {
            padding: 0.75rem;
            gap: 0.2rem; /* Minimalny gap na bardzo maÅ‚ych ekranach */
            height: auto;
            overflow-y: visible;
        }
        
        /* Stack producer and opinion link on very small screens */
        #product-modal-content .flex.justify-between.items-center {
            flex-direction: column !important;
            align-items: flex-start !important;
            gap: 0.5rem;
        }
        
        #product-modal-content h2 {
            font-size: 1rem !important;
            margin-bottom: 0.125rem !important; /* Jeszcze mniejszy margin pod tytuÅ‚em */
        }
        
        .gen-z-btn {
            font-size: 0.6rem !important;
            padding: 0.3rem 0.1rem !important;
            gap: 0.125rem !important;
        }
        
        .gen-z-btn i {
            width: 0.9rem !important;
            height: 0.9rem !important;
        }
    }
    
    /* iPhone SE and similar (375px) */
    @media (max-width: 375px) {
        #product-modal {
            padding: 0.375rem;
            align-items: flex-end !important; /* Zachowaj przyklejenie do doÅ‚u */
        }
        
        #product-modal .bg-white {
            max-width: calc(100vw - 0.75rem);
        }
        
        /* Ensure no horizontal overflow */
        #product-modal-content {
            overflow-x: hidden;
            overflow-y: visible;
            padding: 0.875rem;
            gap: 0.2rem; /* Minimalny gap dla iPhone SE */
            height: auto;
        }
        
        /* Better spacing for producer/opinion layout */
        #product-modal-content .flex.justify-between.items-center {
            gap: 0.75rem;
        }
        
        #product-modal-content .flex.justify-between.items-center button {
            flex-shrink: 0;
            font-size: 0.75rem;
        }
    }
    
    /* iPhone 12/13/14 standard (390px) */
    @media (min-width: 376px) and (max-width: 390px) {
        #product-modal {
            padding: 0.5rem;
        }
        
        #product-modal-content {
            padding: 1rem;
            gap: 0.25rem; /* Minimalny gap takÅ¼e na wiÄ™kszych mobile */
            height: auto;
            overflow-y: visible;
        }
    }
    
    /* Optimize buy button on mobile */
    .gradient-button {
        font-size: 0.875rem !important;
        padding: 0.75rem 1rem !important;
        min-height: 44px !important;
    }
    
    /* Optimize modal content spacing and typography on mobile */
    #product-modal-content h2 {
        font-size: 1.25rem !important;
        line-height: 1.3 !important;
        margin-bottom: 0.125rem !important; /* Minimalny margin pod tytuÅ‚em */
    }
    
    #product-modal-content p {
        font-size: 0.875rem !important;
        line-height: 1.4 !important;
        margin-bottom: 0.75rem !important;
    }
    
    /* Style dla linku "Czytaj wiÄ™cej" w opisie */
    #product-modal-content p a {
        color: #2563eb !important;
        text-decoration: underline !important;
        font-weight: 500 !important;
        transition: color 0.2s ease !important;
    }
    
    #product-modal-content p a:hover {
        color: #1d4ed8 !important;
    }
    
    /* Compact price display on mobile */
    #product-modal-content .text-4xl {
        font-size: 2rem !important;
        margin-bottom: 1rem !important;
    }
    
    /* Optimize quick stats section */
    #product-modal-content .flex.justify-between {
        gap: 0.5rem;
        margin-top: 1rem !important;
    }
    
    /* Compact tags on mobile */
    #product-modal-content .flex.flex-wrap span {
        font-size: 0.75rem !important;
        padding: 0.25rem 0.5rem !important;
    }
    
    /* Prevent horizontal overflow on all mobile devices */
    #product-modal-content * {
        max-width: 100%;
        box-sizing: border-box;
    }
    
    /* Ensure button text wraps properly */
    #product-modal-content button {
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    /* Special handling for the producer/opinion row */
    #product-modal-content .flex.justify-between.items-center p {
        flex: 1;
        min-width: 0; /* Allow text to shrink */
        margin-right: 0.5rem;
    }
    
    #product-modal-content .flex.justify-between.items-center button {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 40%; /* Limit button width to prevent overflow */
    }
    
    /* Optimize thumbnail gallery on mobile */
    .thumbnail-image {
        width: 2.5rem !important;
        height: 2.5rem !important;
    }
    
    /* Better close button positioning on mobile */
    #product-modal .absolute.top-4.right-4 {
        top: 0.5rem !important;
        right: 0.5rem !important;
        background: rgba(255, 255, 255, 0.9) !important;
        backdrop-filter: blur(10px) !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
        padding: 0.5rem !important;
        width: auto !important;
        height: auto !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
}

/* Scroll arrow styling */
.scroll-arrow {
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 8px;
    border-radius: 50%;
    background: rgb(31, 194, 91);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); /* Dodatkowy cieÅ„ dla lepszej widocznoÅ›ci */
    /* Naprawka centrowania - usuÅ„ animate-bounce z HTML i dodaj wÅ‚asnÄ… animacjÄ™ */
    animation: scrollBounce 2s ease-in-out infinite;
    z-index: 25; /* Wysoki z-index aby byÄ‡ widocznÄ… nad tÅ‚em obrazkowym i efektami */
}

/* Styl ikony strzaÅ‚ki - jasno-biaÅ‚a z efektem Å›wiecenia */
.scroll-arrow i {
    color: #ffffff !important;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.8)) 
            drop-shadow(0 0 16px rgba(255, 255, 255, 0.4));
    transition: all 0.3s ease;
}

.scroll-arrow:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateX(-50%) translateY(-2px);
    animation-play-state: paused;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3); /* WiÄ™kszy cieÅ„ przy hover */
}

/* Hover effect dla ikony strzaÅ‚ki */
.scroll-arrow:hover i {
    filter: drop-shadow(0 0 12px rgba(255, 255, 255, 1)) 
            drop-shadow(0 0 24px rgba(255, 255, 255, 0.6))
            drop-shadow(0 0 8px rgba(34, 197, 94, 0.3)); /* Delikatny zielony akcent */
    transform: scale(1.1);
}

.scroll-arrow:active {
    transform: translateX(-50%) translateY(0) scale(0.95);
}

/* Active effect dla ikony strzaÅ‚ki */
.scroll-arrow:active i {
    transform: scale(0.9);
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.6)) 
            drop-shadow(0 0 12px rgba(255, 255, 255, 0.3));
}

@keyframes scrollBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Family medicine section styling */
.family-medicine-section {
    position: relative;
    transition: all 0.3s ease;
}

.family-medicine-section:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.family-medicine-section::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #667eea, #764ba2, #f093fb);
    border-radius: 3rem;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.family-medicine-section:hover::before {
    opacity: 0.1;
}

/* Cute emoji dog animation */
.cute-dog-container {
    position: relative;
    padding: 20px;
}

.cute-dog {
    position: relative;
    display: inline-block;
}

.dog-emoji {
    font-size: 4rem;
    display: block;
    animation: dogWag 1.5s ease-in-out infinite, dogPulse 2.5s ease-in-out infinite;
}

.dog-hearts {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.dog-hearts .heart {
    font-size: 1.5rem;
    animation: heartFloat 2.5s ease-in-out infinite;
    opacity: 0;
}

.dog-hearts .heart:nth-child(1) {
    animation-delay: 0s;
}

.dog-hearts .heart:nth-child(2) {
    animation-delay: 0.5s;
}

.dog-hearts .heart:nth-child(3) {
    animation-delay: 1s;
}

/* Serpentyny/Confetti */
.dog-confetti {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
    width: 80px;
    height: 80px;
}

.dog-confetti .confetti {
    position: absolute;
    font-size: 18px;
    opacity: 0;
    animation: confettiShoot 3s ease-out infinite;
}

.dog-confetti .confetti:nth-child(1) {
    animation-delay: 3s;
    left: -25px;
}

.dog-confetti .confetti:nth-child(2) {
    animation-delay: 3.2s;
    left: -10px;
}

.dog-confetti .confetti:nth-child(3) {
    animation-delay: 3.4s;
    left: 10px;
}

.dog-confetti .confetti:nth-child(4) {
    animation-delay: 3.6s;
    left: 25px;
}

.dog-confetti .confetti:nth-child(5) {
    animation-delay: 3.8s;
    left: -20px;
}

.dog-confetti .confetti:nth-child(6) {
    animation-delay: 4s;
    left: 20px;
}

/* CaÅ‚usy */
.dog-kisses {
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
}

.dog-kisses .kiss {
    position: absolute;
    font-size: 18px;
    opacity: 0;
    animation: kissShoot 3s ease-in-out infinite;
}

.dog-kisses .kiss:nth-child(1) {
    animation-delay: 4s;
    left: -15px;
}

.dog-kisses .kiss:nth-child(2) {
    animation-delay: 4.5s;
    left: 0px;
}

.dog-kisses .kiss:nth-child(3) {
    animation-delay: 5s;
    left: 15px;
}

/* Szczekanie */
.dog-bark {
    position: absolute;
    top: -45px;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
}

.dog-bark .bark {
    position: absolute;
    font-size: 20px;
    opacity: 0;
    animation: barkShoot 4s ease-in-out infinite;
    animation-delay: 1s;
}

@keyframes dogWag {
    0%, 100% {
        transform: rotate(-5deg);
    }
    50% {
        transform: rotate(5deg);
    }
}

@keyframes dogPulse {
    0%, 100% {
        transform: rotate(-5deg) scale(1);
    }
    50% {
        transform: rotate(5deg) scale(1.05);
    }
}

@keyframes heartFloat {
    0% {
        opacity: 0;
        transform: translateY(0) scale(0.5);
    }
    20% {
        opacity: 1;
        transform: translateY(-20px) scale(1);
    }
    80% {
        opacity: 1;
        transform: translateY(-40px) scale(1.2);
    }
    100% {
        opacity: 0;
        transform: translateY(-60px) scale(0.8);
    }
}

@keyframes confettiShoot {
    0% {
        opacity: 0;
        transform: translateY(0) scale(0.3) rotate(0deg);
    }
    10% {
        opacity: 1;
        transform: translateY(-15px) scale(1.5) rotate(45deg);
    }
    30% {
        opacity: 1;
        transform: translateY(-35px) scale(1.8) rotate(90deg);
    }
    60% {
        opacity: 0.8;
        transform: translateY(-55px) scale(1.4) rotate(135deg);
    }
    80% {
        opacity: 0.5;
        transform: translateY(-75px) scale(1.1) rotate(180deg);
    }
    100% {
        opacity: 0;
        transform: translateY(-100px) scale(0.6) rotate(225deg);
    }
}

@keyframes kissShoot {
    0% {
        opacity: 0;
        transform: translateY(0) scale(0.5);
    }
    25% {
        opacity: 1;
        transform: translateY(-15px) scale(1.3);
    }
    50% {
        opacity: 1;
        transform: translateY(-30px) scale(1.5);
    }
    75% {
        opacity: 0.8;
        transform: translateY(-45px) scale(1.2);
    }
    100% {
        opacity: 0;
        transform: translateY(-60px) scale(0.8);
    }
}

@keyframes barkShoot {
    0% {
        opacity: 0;
        transform: translateY(0) scale(0.5);
    }
    15% {
        opacity: 1;
        transform: translateY(-10px) scale(1.2);
    }
    30% {
        opacity: 1;
        transform: translateY(-20px) scale(1.4);
    }
    45% {
        opacity: 0.8;
        transform: translateY(-30px) scale(1.2);
    }
    60% {
        opacity: 0.6;
        transform: translateY(-40px) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(-50px) scale(0.8);
    }
}



/* Elegant quote styling */
.font-serif {
    font-family: 'Georgia', 'Times New Roman', serif;
}

.italic {
    font-style: italic;
} 

/* Cart icon with animated label */
.cart-icon-btn {
    position: relative;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.cart-icon-btn i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
}

/* Style dla koszyka - przywrÃ³cone oryginalne */
.cart-icon-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.cart-icon-btn:hover {
    background-color: rgba(34, 197, 94, 0.1);
    transform: translateY(-1px);
}

.cart-icon-btn i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Logout button - hidden by default */
.logout-btn {
    display: none;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.logout-btn.visible {
    display: inline-flex;
    opacity: 1;
    transform: scale(1);
}

.cart-icon-btn:hover {
    background-color: rgba(34, 197, 94, 0.1);
}

.cart-label {
    position: absolute;
    left: 50%;
    top: 100%;
    transform: translateX(-50%) translateY(-10px);
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
    z-index: 10;
}

.cart-icon-btn:hover .cart-label {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(8px);
}

/* Add arrow to cart label */
.cart-label::before {
    content: '';
    position: absolute;
    left: 50%;
    top: -4px;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-bottom: 4px solid #22c55e;
}

/* Confetti animation for hero section clicks */
.confetti-container {
    position: absolute;
    pointer-events: none;
    z-index: 1000;
    overflow: visible;
    width: 200px;
    height: 200px;
}

/* Przycinanie konfetti na krawÄ™dziach hero sekcji */
.hero-section {
    overflow: hidden;
    position: relative;
}

.confetti-piece {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: linear-gradient(45deg, #22c55e, #16a34a, #10b981, #059669);
    border-radius: 50%;
    animation: confettiFall 1.5s ease-out forwards;
    transform-origin: center;
    z-index: 1001;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
    filter: drop-shadow(0 0 4px rgba(34, 197, 94, 0.4));
}

/* RÃ³Å¼ne typy konfetti - tylko zielone odcienie */
.confetti-piece:nth-child(1) { 
    animation-delay: 0s; 
    background: linear-gradient(45deg, #22c55e, #16a34a);
    width: 6px;
    height: 6px;
}
.confetti-piece:nth-child(2) { 
    animation-delay: 0.1s; 
    background: linear-gradient(45deg, #10b981, #059669);
    width: 8px;
    height: 8px;
}
.confetti-piece:nth-child(3) { 
    animation-delay: 0.2s; 
    background: linear-gradient(45deg, #34d399, #6ee7b7);
    width: 4px;
    height: 4px;
}
.confetti-piece:nth-child(4) { 
    animation-delay: 0.3s; 
    background: linear-gradient(45deg, #84cc16, #65a30d);
    width: 7px;
    height: 7px;
}
.confetti-piece:nth-child(5) { 
    animation-delay: 0.4s; 
    background: linear-gradient(45deg, #4ade80, #86efac);
    width: 5px;
    height: 5px;
}
.confetti-piece:nth-child(6) { 
    animation-delay: 0.5s; 
    background: linear-gradient(45deg, #15803d, #166534);
    width: 6px;
    height: 6px;
}
.confetti-piece:nth-child(7) { 
    animation-delay: 0.6s; 
    background: linear-gradient(45deg, #047857, #065f46);
    width: 8px;
    height: 8px;
}
.confetti-piece:nth-child(8) { 
    animation-delay: 0.7s; 
    background: linear-gradient(45deg, #a3e635, #bef264);
    width: 4px;
    height: 4px;
}
.confetti-piece:nth-child(9) { 
    animation-delay: 0.8s; 
    background: linear-gradient(45deg, #bbf7d0, #dcfce7);
    width: 7px;
    height: 7px;
}
.confetti-piece:nth-child(10) { 
    animation-delay: 0.9s; 
    background: linear-gradient(45deg, #a7f3d0, #d1fae5);
    width: 5px;
    height: 5px;
}
.confetti-piece:nth-child(11) { 
    animation-delay: 1s; 
    background: linear-gradient(45deg, #d9f99d, #ecfccb);
    width: 6px;
    height: 6px;
}
.confetti-piece:nth-child(12) { 
    animation-delay: 1.1s; 
    background: linear-gradient(45deg, #064e3b, #14532d);
    width: 8px;
    height: 8px;
}
.confetti-piece:nth-child(13) { 
    animation-delay: 1.2s; 
    background: linear-gradient(45deg, #4d7c0f, #3f6212);
    width: 4px;
    height: 4px;
}
.confetti-piece:nth-child(14) { 
    animation-delay: 1.3s; 
    background: linear-gradient(45deg, #365314, #1a5f3a);
    width: 7px;
    height: 7px;
}
.confetti-piece:nth-child(15) { 
    animation-delay: 1.4s; 
    background: linear-gradient(45deg, #22c55e, #16a34a);
    width: 5px;
    height: 5px;
}

@keyframes confettiFall {
    0% {
        transform: translate(-50%, -50%) rotate(0deg) scale(0.3);
        opacity: 1;
        box-shadow: 0 0 8px rgba(34, 197, 94, 0.8);
    }
    15% {
        opacity: 1;
        transform: translate(calc(-50% + var(--x) * 0.15), calc(-50% + var(--y) * 0.15)) rotate(calc(var(--rotation) * 0.15)) scale(1.2);
        box-shadow: 0 0 12px rgba(34, 197, 94, 1);
    }
    30% {
        opacity: 1;
        transform: translate(calc(-50% + var(--x) * 0.3), calc(-50% + var(--y) * 0.3)) rotate(calc(var(--rotation) * 0.3)) scale(1);
        box-shadow: 0 0 10px rgba(34, 197, 94, 0.9);
    }
    50% {
        opacity: 0.9;
        transform: translate(calc(-50% + var(--x) * 0.5), calc(-50% + var(--y) * 0.5)) rotate(calc(var(--rotation) * 0.5)) scale(0.8);
        box-shadow: 0 0 8px rgba(34, 197, 94, 0.7);
    }
    70% {
        opacity: 0.6;
        transform: translate(calc(-50% + var(--x) * 0.7), calc(-50% + var(--y) * 0.7)) rotate(calc(var(--rotation) * 0.7)) scale(0.5);
        box-shadow: 0 0 6px rgba(34, 197, 94, 0.5);
    }
    85% {
        opacity: 0.3;
        transform: translate(calc(-50% + var(--x) * 0.85), calc(-50% + var(--y) * 0.85)) rotate(calc(var(--rotation) * 0.85)) scale(0.3);
        box-shadow: 0 0 4px rgba(34, 197, 94, 0.3);
    }
    100% {
        transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) rotate(var(--rotation)) scale(0.1);
        opacity: 0;
        box-shadow: 0 0 2px rgba(34, 197, 94, 0.1);
    }
}

/* Dodatkowe iskierki */
.confetti-sparkle {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: radial-gradient(circle, #ffffff 0%, #fbbf24 50%, #f59e0b 100%);
    animation: sparkleFloat 1.3s ease-out forwards;
    box-shadow: 0 0 6px rgba(251, 191, 36, 0.8);
}

.confetti-sparkle:nth-child(1) { 
    animation-delay: 0.3s; 
    background: radial-gradient(circle, #ffffff 0%, #22c55e 50%, #16a34a 100%);
}
.confetti-sparkle:nth-child(2) { 
    animation-delay: 0.6s; 
    background: radial-gradient(circle, #ffffff 0%, #10b981 50%, #059669 100%);
}
.confetti-sparkle:nth-child(3) { 
    animation-delay: 0.9s; 
    background: radial-gradient(circle, #ffffff 0%, #34d399 50%, #6ee7b7 100%);
}
.confetti-sparkle:nth-child(4) { 
    animation-delay: 1.2s; 
    background: radial-gradient(circle, #ffffff 0%, #84cc16 50%, #65a30d 100%);
}
.confetti-sparkle:nth-child(5) { 
    animation-delay: 1.5s; 
    background: radial-gradient(circle, #ffffff 0%, #4ade80 50%, #86efac 100%);
}
.confetti-sparkle:nth-child(6) { 
    animation-delay: 0.4s; 
    background: radial-gradient(circle, #ffffff 0%, #15803d 50%, #166534 100%);
}
.confetti-sparkle:nth-child(7) { 
    animation-delay: 0.7s; 
    background: radial-gradient(circle, #ffffff 0%, #a3e635 50%, #bef264 100%);
}
.confetti-sparkle:nth-child(8) { 
    animation-delay: 1s; 
    background: radial-gradient(circle, #ffffff 0%, #047857 50%, #065f46 100%);
}

@keyframes sparkleFloat {
    0% {
        transform: translate(-50%, -50%) scale(0.2) rotate(0deg);
        opacity: 1;
        box-shadow: 0 0 8px rgba(251, 191, 36, 1);
    }
    15% {
        transform: translate(calc(-50% + var(--x) * 0.15), calc(-50% + var(--y) * 0.15)) scale(1.5) rotate(45deg);
        opacity: 1;
        box-shadow: 0 0 15px rgba(251, 191, 36, 1);
    }
    30% {
        transform: translate(calc(-50% + var(--x) * 0.3), calc(-50% + var(--y) * 0.3)) scale(1.2) rotate(90deg);
        opacity: 1;
        box-shadow: 0 0 12px rgba(251, 191, 36, 0.9);
    }
    50% {
        transform: translate(calc(-50% + var(--x) * 0.5), calc(-50% + var(--y) * 0.5)) scale(0.9) rotate(180deg);
        opacity: 0.8;
        box-shadow: 0 0 10px rgba(251, 191, 36, 0.7);
    }
    70% {
        transform: translate(calc(-50% + var(--x) * 0.7), calc(-50% + var(--y) * 0.7)) scale(0.6) rotate(270deg);
        opacity: 0.5;
        box-shadow: 0 0 8px rgba(251, 191, 36, 0.5);
    }
    85% {
        transform: translate(calc(-50% + var(--x) * 0.85), calc(-50% + var(--y) * 0.85)) scale(0.3) rotate(360deg);
        opacity: 0.2;
        box-shadow: 0 0 4px rgba(251, 191, 36, 0.3);
    }
    100% {
        transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) scale(0.1) rotate(720deg);
        opacity: 0;
        box-shadow: 0 0 2px rgba(251, 191, 36, 0.1);
    }
}

/* Uproszczona animacja konfetti dla sÅ‚abych urzÄ…dzeÅ„ */
@keyframes simpleConfettiFall {
    0% {
        transform: translate(-50%, -50%) scale(0.3);
        opacity: 1;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(0.1);
        opacity: 0;
    }
}

/* Magic cursor - wyÅ‚Ä…cz na urzÄ…dzeniach mobilnych dla lepszej wydajnoÅ›ci */
@media (max-width: 768px) {
    .magic-cursor {
        display: none !important;
    }
}

/* Dodatkowo - wyÅ‚Ä…cz na urzÄ…dzeniach z niskÄ… rozdzielczoÅ›ciÄ… */
@media (max-width: 480px) {
    .magic-cursor {
        display: none !important;
    }
}

/* WyÅ‚Ä…cz na urzÄ…dzeniach z preferencjÄ… reduced-motion */
@media (prefers-reduced-motion: reduce) {
    .magic-cursor {
        display: none !important;
    }
    
    .confetti-container {
        display: none !important;
    }
    
    .dog-emoji {
        animation: none !important;
    }
    
    .dog-hearts .heart {
        animation: none !important;
    }
    
    .dog-confetti .confetti {
        animation: none !important;
    }
    
    .dog-kisses .kiss {
        animation: none !important;
    }
    
    .dog-bark .bark {
        animation: none !important;
    }
}

/* ============================================
   BLOG POST SECTION STYLES
   ============================================ */

/* Blog post card container */
.blog-post-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.blog-post-card:hover {
    box-shadow: 0 20px 35px -5px rgba(0, 0, 0, 0.15), 0 12px 15px -8px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
}

/* Blog post image container - MNIEJSZY DLA DESKTOP */
.blog-post-image-container {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #22c55e 0%, #10b981 100%);
    height: 100%;
    max-height: 350px;
}

.blog-post-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

/* Responsive adjustments for blog post */
@media (max-width: 768px) {
    .blog-post-card .grid {
        grid-template-columns: 1fr !important;
    }
    
    .blog-post-image-container {
        min-height: 250px;
        max-height: none;
    }
    
    /* Lepsze rozmieszczenie przyciskÃ³w na mobile */
    .blog-post-card .flex.items-center.justify-between {
        flex-direction: column;
        align-items: stretch !important;
        gap: 1rem;
    }
    
    .blog-post-card .flex.items-center.justify-between > a:last-child {
        text-align: right;
        align-self: flex-end;
    }
}

/* Uniwersalny element nawigacji */
.nav-element {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    overflow: hidden;
    border: none;
    background: none;
    cursor: pointer;
}

/* Desktop - rÃ³Å¼ne style dla rÃ³Å¼nych elementÃ³w */
.nav-element[data-nav-type="desktop"] {
    padding: 0.5rem;
    min-width: auto;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
    gap: 0.5rem;
}

/* Login button na desktop - zachowuje oryginalny gradient i tekst */
.nav-element[data-nav-type="desktop"]#login-nav-link {
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-element[data-nav-type="desktop"]#login-nav-link .nav-text {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
}

.nav-element[data-nav-type="desktop"]#login-nav-link .nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    margin-right: 6px;
}

/* Dodatkowe style dla przycisku login */
#login-nav-link {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
}

#login-nav-link .nav-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 16px !important;
    height: 16px !important;
    flex-shrink: 0 !important;
}

/* Style dla przycisku "Moje konto" (zmodyfikowany login) */
#login-nav-link[href="/moje-konto"] {
    cursor: pointer;
}

#login-nav-link[href="/moje-konto"]:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.3);
}

/* Menu gÅ‚Ã³wne elementy na desktop - pokazujÄ… tekst + ikonÄ™ */
.nav-element[data-nav-type="desktop"]#register-nav-link,
.nav-element[data-nav-type="desktop"]#why-worth-nav-link,
.nav-element[data-nav-type="desktop"]#search-nav-link,
.nav-element[data-nav-type="desktop"]#partners-nav-link,
.nav-element[data-nav-type="desktop"]#co-na-prezent-nav-link,
.nav-element[data-nav-type="desktop"]#brands-nav-link,
.nav-element[data-nav-type="desktop"]#wiedza-nav-link {
    padding: 0.5rem 1rem;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 0.75rem;
    font-weight: 500;
    color: #1f2937;
}

.nav-element[data-nav-type="desktop"]#register-nav-link .nav-text,
.nav-element[data-nav-type="desktop"]#why-worth-nav-link .nav-text,
.nav-element[data-nav-type="desktop"]#search-nav-link .nav-text,
.nav-element[data-nav-type="desktop"]#partners-nav-link .nav-text,
.nav-element[data-nav-type="desktop"]#co-na-prezent-nav-link .nav-text,
.nav-element[data-nav-type="desktop"]#brands-nav-link .nav-text,
.nav-element[data-nav-type="desktop"]#wiedza-nav-link .nav-text,
.nav-element[data-nav-type="desktop"]#favorites-nav-link .nav-text {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #1f2937;
}

.nav-element[data-nav-type="desktop"]#register-nav-link .nav-icon,
.nav-element[data-nav-type="desktop"]#why-worth-nav-link .nav-icon,
.nav-element[data-nav-type="desktop"]#search-nav-link .nav-icon,
.nav-element[data-nav-type="desktop"]#partners-nav-link .nav-icon,
.nav-element[data-nav-type="desktop"]#co-na-prezent-nav-link .nav-icon,
.nav-element[data-nav-type="desktop"]#brands-nav-link .nav-icon,
.nav-element[data-nav-type="desktop"]#wiedza-nav-link .nav-icon,
.nav-element[data-nav-type="desktop"]#favorites-nav-link .nav-icon {
    color: #4b5563;
    margin-right: 0.5rem;
}

/* Inne elementy desktop (logout) - tylko ikona */
.nav-element[data-nav-type="desktop"]:not(#login-nav-link):not(#register-nav-link):not(#why-worth-nav-link):not(#search-nav-link):not(#partners-nav-link):not(#brands-nav-link):not(#wiedza-nav-link):not(#favorites-nav-link):not(#co-na-prezent-nav-link) .nav-text,
.nav-element[data-nav-type="desktop"] .nav-description {
    display: none;
}

.nav-element[data-nav-type="desktop"] .nav-icon {
    font-size: 1rem;
    width: 1rem;
    height: 1rem;
    color: #6b7280;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.nav-element[data-nav-type="desktop"] {
    transition: all 0.3s ease;
}

/* Åšliczny hover dla biaÅ‚ych przyciskÃ³w menu gÅ‚Ã³wnego */
.nav-element[data-nav-type="desktop"]#register-nav-link:hover,
.nav-element[data-nav-type="desktop"]#why-worth-nav-link:hover,
.nav-element[data-nav-type="desktop"]#search-nav-link:hover,
.nav-element[data-nav-type="desktop"]#partners-nav-link:hover,
.nav-element[data-nav-type="desktop"]#co-na-prezent-nav-link:hover,
.nav-element[data-nav-type="desktop"]#brands-nav-link:hover,
.nav-element[data-nav-type="desktop"]#wiedza-nav-link:hover {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    color: #374151;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
}

.nav-element[data-nav-type="desktop"]#register-nav-link:hover .nav-icon,
.nav-element[data-nav-type="desktop"]#why-worth-nav-link:hover .nav-icon,
.nav-element[data-nav-type="desktop"]#search-nav-link:hover .nav-icon,
.nav-element[data-nav-type="desktop"]#partners-nav-link:hover .nav-icon,
.nav-element[data-nav-type="desktop"]#co-na-prezent-nav-link:hover .nav-icon,
.nav-element[data-nav-type="desktop"]#brands-nav-link:hover .nav-icon,
.nav-element[data-nav-type="desktop"]#wiedza-nav-link:hover .nav-icon {
    color: #10b981;
    transform: scale(1.1);
}

.nav-element[data-nav-type="desktop"]#register-nav-link:hover .nav-text,
.nav-element[data-nav-type="desktop"]#why-worth-nav-link:hover .nav-text,
.nav-element[data-nav-type="desktop"]#search-nav-link:hover .nav-text,
.nav-element[data-nav-type="desktop"]#partners-nav-link:hover .nav-text,
.nav-element[data-nav-type="desktop"]#co-na-prezent-nav-link:hover .nav-text,
.nav-element[data-nav-type="desktop"]#brands-nav-link:hover .nav-text,
.nav-element[data-nav-type="desktop"]#wiedza-nav-link:hover .nav-text,
.nav-element[data-nav-type="desktop"]#favorites-nav-link:hover .nav-text {
    color: #374151;
}

/* Specjalny styl dla linku Wiedza - wyÅ‚Ä…czenie domyÅ›lnego podkreÅ›lenia */
.nav-element[data-nav-type="desktop"]#wiedza-nav-link {
    text-decoration: none !important;
}

.nav-element[data-nav-type="desktop"]#wiedza-nav-link:hover {
    text-decoration: none !important;
}

/* Hover dla elementÃ³w tylko-ikonowych (favorites, logout) */
.nav-element[data-nav-type="desktop"]:not(#login-nav-link):not(#register-nav-link):not(#why-worth-nav-link):not(#search-nav-link):not(#wiedza-nav-link):hover {
    background-color: #f3f4f6;
    color: #374151;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 0.75rem;
}

.nav-element[data-nav-type="desktop"]:not(#login-nav-link):not(#register-nav-link):not(#why-worth-nav-link):not(#search-nav-link):not(#wiedza-nav-link):hover .nav-icon {
    color: #374151;
    transform: scale(1.1);
}

/* Login button zachowuje oryginalny hover */
.nav-element[data-nav-type="desktop"]#login-nav-link:hover .nav-icon {
    color: white;
}

/* Mobile - pokazuje ikonÄ™ + tekst + opis */
.nav-element[data-nav-type="mobile"] {
    width: 100%;
    justify-content: flex-start;
    padding: 1rem;
    text-align: left;
    background: none;
    border: none;
    color: inherit;
}

/* Mobile logout - ukryty domyÅ›lnie, ale zachowuje style nav-link */
.nav-element.logout-btn.nav-link {
    display: none !important;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.nav-element.logout-btn.nav-link.visible {
    display: flex !important;
    opacity: 1;
    transform: scale(1);
}

.nav-element[data-nav-type="mobile"] .nav-text {
    display: block;
    font-weight: 600;
    color: var(--text-color);
}

.nav-element[data-nav-type="mobile"] .nav-description {
    display: block;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.nav-element[data-nav-type="mobile"] .nav-icon {
    font-size: 1.25rem;
    width: 1.25rem;
    height: 1.25rem;
    color: var(--primary-color);
}

.nav-element[data-nav-type="mobile"]:hover {
    background-color: rgba(16, 185, 129, 0.1);
}

.nav-element[data-nav-type="mobile"]:hover .nav-icon {
    color: #10b981;
}

/* Elementy wymagajÄ…ce autoryzacji - ukryte domyÅ›lnie */
.nav-element.auth-required {
    display: none !important;
    visibility: hidden !important;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
    height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.nav-element.auth-required.visible {
    display: flex !important;
    visibility: visible !important;
    opacity: 1;
    transform: scale(1);
    height: auto;
    margin: inherit;
    padding: inherit;
}

/* Specjalne style dla Ulubione desktop - tylko ikona jak Wyloguj siÄ™ */
.nav-element[data-nav-type="desktop"]#favorites-nav-link.auth-required.visible {
    padding: 0.5rem !important;
}

/* Elementy niewymagajÄ…ce autoryzacji - widoczne domyÅ›lnie */
.nav-element.auth-not-required {
    display: flex;
    opacity: 1;
    transform: scale(1);
    transition: all 0.3s ease;
}

.nav-element.auth-not-required.hidden {
    display: none !important;
    opacity: 0;
    transform: scale(0.8);
}

/* Napraw dla mobile nav-link - przywrÃ³Ä‡ wszystkie style */
.nav-element.nav-link {
    display: flex !important;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    text-decoration: none;
    color: white !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
}

.nav-element.nav-link.hidden {
    display: none !important;
    visibility: hidden !important;
    height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

/* PrzywrÃ³Ä‡ hover dla nav-element.nav-link */
.nav-element.nav-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(8px);
}

/* PrzywrÃ³Ä‡ style dla ikon w nav-element.nav-link */
.nav-element.nav-link .nav-icon {
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

.nav-element.nav-link .nav-icon i {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
}

.nav-element.nav-link .nav-text {
    color: white !important;
    font-weight: 600;
}

.nav-element.nav-link .nav-description {
    color: rgba(255, 255, 255, 0.7) !important;
}

.nav-element.nav-link .nav-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.nav-element.nav-link .nav-arrow {
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}



































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































 
 
/* ==============================
   IMAGE LIGHTBOX ANIMATIONS
   ============================== */

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.animate-fade-in {
    animation: fadeIn 0.3s ease-in-out;
}

/* Lightbox cursor dla zoom */
.cursor-zoom-in {
    cursor: zoom-in;
}

/* Smooth transitions dla obrazkï¿½w w lightbox */
#lightbox-image {
    transition: opacity 0.15s ease-in-out, transform 0.15s ease-in-out;
}

#main-product-image {
    transition: opacity 0.15s ease-in-out, transform 0.15s ease-in-out;
}

/* ============================================
   SZYBKIE FILTRY KATALOG
   ============================================ */

/* Szybkie filtry - badge z gradientem i animacjÄ… */
.quick-filter-badge {
    cursor: pointer;
    position: relative;
    overflow: hidden;
    font-weight: 500;
    user-select: none;
}

/* Animacja hover - podÅ›wietlenie */
.quick-filter-badge::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(20, 184, 166, 0.15);
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
}

.quick-filter-badge:hover::before {
    width: 200px;
    height: 200px;
}

/* Animacja klikniÄ™cia - ripple effect */
.quick-filter-badge:active {
    transform: scale(0.95);
}

/* ResponsywnoÅ›Ä‡ dla szybkich filtrÃ³w */
@media (max-width: 640px) {
    .quick-filter-badge {
        padding: 0.25rem 0.625rem !important; /* Padding: 4px/10px - IMPORTANT! */
        font-size: 0.6875rem !important; /* Font: 11px - IMPORTANT! */
        gap: 0.25rem !important; /* Gap: 4px - IMPORTANT! */
        line-height: 1.2 !important; /* WysokoÅ›Ä‡ linii - IMPORTANT! */
        border-width: 1px !important; /* Cienki border - IMPORTANT! */
    }
    
    /* MaÅ‚e ikonki na mobile */
    .quick-filter-badge .quick-filter-icon {
        width: 0.875rem !important; /* 14px - IMPORTANT! */
        height: 0.875rem !important; /* 14px - IMPORTANT! */
        flex-shrink: 0; /* Zapobiegaj kurczeniu */
    }
    
    /* TE SAME WYMIARY dla zwykÅ‚ych niebieskich badge aktywnych filtrÃ³w */
    #active-filters span.inline-flex {
        padding: 0.25rem 0.625rem !important; /* Padding: 4px/10px - IMPORTANT! */
        font-size: 0.6875rem !important; /* Font: 11px - IMPORTANT! */
        gap: 0.25rem !important; /* Gap: 4px - IMPORTANT! */
        line-height: 1.2 !important; /* WysokoÅ›Ä‡ linii - IMPORTANT! */
    }
    
    /* MaÅ‚e ikonki X w niebieskich badge */
    #active-filters span.inline-flex button i {
        width: 0.625rem !important; /* 10px - IMPORTANT! */
        height: 0.625rem !important; /* 10px - IMPORTANT! */
    }
    
    /* MaÅ‚y button X w niebieskich badge */
    #active-filters span.inline-flex button {
        width: 0.875rem !important; /* 14px - IMPORTANT! */
        height: 0.875rem !important; /* 14px - IMPORTANT! */
        margin-left: 0.25rem !important; /* 4px - IMPORTANT! */
    }
    
    /* TE SAME WYMIARY dla Å¼Ã³Å‚tego buttona pokazujÄ…cego ukryte filtry */
    #toggle-filters-btn {
        padding: 0.25rem 0.625rem !important; /* Padding: 4px/10px - IMPORTANT! */
        font-size: 0.6875rem !important; /* Font: 11px - IMPORTANT! */
        gap: 0.25rem !important; /* Gap: 4px - IMPORTANT! */
        line-height: 1.2 !important; /* WysokoÅ›Ä‡ linii - IMPORTANT! */
    }
    
    /* MaÅ‚e ikonki w Å¼Ã³Å‚tym buttonie */
    #toggle-filters-btn i {
        width: 0.875rem !important; /* 14px - IMPORTANT! */
        height: 0.875rem !important; /* 14px - IMPORTANT! */
    }
}

/* ==============================
   MODAL PRODUCT IMAGE - RESPONSIVE
   ============================== */

/* Mobile: maÅ‚e zdjÄ™cie (150px) - ustawione inline w JS */
/* Desktop: wiÄ™ksze zdjÄ™cie (360px - zmniejszone o 10%) */
@media (min-width: 768px) {
    .modal-product-image {
        max-height: 360px !important;
    }
}

/* ==============================
   POLISH BRANDS FLAG
   ============================== */

/* Flaga przy polskich markach w filtrach */
.polish-flag {
    display: inline-block;
    margin-left: 0.25rem;
    font-size: 0.875rem;
    line-height: 1;
    opacity: 0.9;
    transition: opacity 0.2s ease;
}

.polish-flag:hover {
    opacity: 1;
}

/* Zapewnij ¿e emoji nie jest skalowane nieprawid³owo */
.filter-option .polish-flag {
    vertical-align: middle;
}
