/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    min-height: 100vh;
    color: #f4f4f4;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    overflow: visible;
}

/* Header styles */
.header {
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1.5rem 0;
    border-bottom: 2px solid rgba(212, 175, 55, 0.2);
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #d4af37;
    transition: all 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo i {
    font-size: 2.5rem;
    color: #ffd700;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    }
    to {
        text-shadow: 0 0 30px rgba(255, 215, 0, 0.8), 0 0 40px rgba(255, 215, 0, 0.3);
    }
}

.logo h1 {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ffd700, #d4af37, #b8860b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
}

/* Search bar styles */
.search-section {
    flex: 1;
    max-width: 650px;
    position: relative;
}

.search-bar {
    position: relative;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(35, 35, 35, 0.98), rgba(20, 20, 20, 0.98));
    border: 2px solid rgba(212, 175, 55, 0.6);
    border-radius: 50px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(20px);
    z-index: 10;
}

.search-bar:focus-within {
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
    border-color: rgba(212, 175, 55, 0.8);
}

.search-bar i {
    position: absolute;
    left: 1.5rem;
    color: #d4af37;
    z-index: 10;
    font-size: 1.3rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.6);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    pointer-events: none;
}

.search-bar:focus-within i {
    color: #ffd700;
    transform: scale(1.3) rotate(5deg);
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.9), 0 0 30px rgba(255, 215, 0, 0.4);
    filter: drop-shadow(0 4px 8px rgba(255, 215, 0, 0.3));
}

.search-bar input {
    flex: 1;
    padding: 1.4rem 1rem 1.4rem 4rem;
    border: none;
    outline: none;
    font-size: 1.1rem;
    background: transparent;
    color: #f4f4f4;
    font-weight: 500;
    letter-spacing: 0.5px;
    z-index: 5;
    position: relative;
}

.search-bar input::placeholder {
    color: rgba(212, 175, 55, 0.6);
    font-style: italic;
    font-weight: 400;
    transition: color 0.3s ease;
}

.search-bar:focus-within input::placeholder {
    color: rgba(255, 215, 0, 0.8);
}

.search-bar button {
    background: linear-gradient(135deg, #d4af37, #ffd700, #d4af37);
    background-size: 200% 200%;
    color: #1a1a1a;
    border: none;
    padding: 1.4rem 2.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
    position: relative;
    overflow: hidden;
    z-index: 10;
}

.search-bar button i {
    font-size: 1.1rem;
    margin-right: 0.5rem;
    transition: all 0.3s ease;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    z-index: 10;
    position: relative;
}

.search-bar button::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;
}

.search-bar button:hover {
    background-position: right center;
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.6);
}

.search-bar button:hover i {
    transform: scale(1.2) rotate(10deg);
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.search-bar button:hover::before {
    left: 100%;
}

.search-bar button:active {
    transform: scale(0.98);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

/* Main content */
.main {
    padding: 2rem 0;
    overflow: visible;
}

/* Filters section */
.filters-section {
    background: linear-gradient(135deg, rgba(45, 45, 45, 0.95), rgba(26, 26, 26, 0.95));
    backdrop-filter: blur(15px);
    border-radius: 25px;
    padding: 2.5rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: end;
    border: 2px solid rgba(212, 175, 55, 0.3);
    position: relative;
    overflow: visible;
}

.filters-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #d4af37, transparent);
    animation: shimmer 3s infinite;
}

.filters-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05), transparent);
    pointer-events: none;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    min-width: 180px;
    position: relative;
    z-index: 1;
}

.filter-group label {
    font-weight: 700;
    color: #d4af37;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Custom Select Styles */
.custom-select {
    position: relative;
    width: 100%;
    z-index: 9999;
}

.custom-select input {
    width: 100%;
    padding: 1rem 1.2rem;
    padding-right: 3rem;
    border: 2px solid rgba(68, 68, 68, 0.8);
    border-radius: 15px;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg, rgba(45, 45, 45, 0.9), rgba(26, 26, 26, 0.9));
    color: #f4f4f4;
    font-weight: 500;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.custom-select input:focus {
    border-color: #d4af37;
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.15), inset 0 2px 4px rgba(0, 0, 0, 0.2);
    outline: none;
    transform: translateY(-2px);
}

.custom-select input:hover {
    border-color: rgba(212, 175, 55, 0.6);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}

.select-arrow {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #d4af37;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 9999;
}

.custom-select input:focus + .select-arrow {
    color: #ffd700;
    transform: translateY(-50%) rotate(180deg);
}

/* Custom Brand Select */
.select-header {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 2px solid rgba(68, 68, 68, 0.8);
    border-radius: 15px;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg, rgba(45, 45, 45, 0.9), rgba(26, 26, 26, 0.9));
    color: #f4f4f4;
    font-weight: 500;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 9999;
}

.select-header:hover {
    border-color: rgba(212, 175, 55, 0.6);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}

.select-header.active {
    border-color: #d4af37;
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.15), inset 0 2px 4px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.select-header.active i {
    transform: rotate(180deg);
    color: #ffd700;
}

.select-text {
    color: #f4f4f4;
}

.select-header i {
    color: #d4af37;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    z-index: 9999;
    position: relative;
}

.select-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(45, 45, 45, 0.98), rgba(26, 26, 26, 0.98));
    border: 2px solid rgba(212, 175, 55, 0.5);
    border-top: none;
    border-radius: 0 0 15px 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(212, 175, 55, 0.3);
    backdrop-filter: blur(20px);
    z-index: 9999;
    max-height: 300px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
}

.select-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    display: block;
}

.select-option {
    padding: 1rem 1.2rem;
    color: #f4f4f4;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    position: relative;
    font-weight: 500;
    z-index: 9999;
    min-height: 50px;
    display: flex;
    align-items: center;
}

.select-option:last-child {
    border-bottom: none;
    border-radius: 0 0 13px 13px;
}

.select-option:first-child {
    border-radius: 0;
}

.select-option:hover {
    background: rgba(212, 175, 55, 0.2);
    color: #ffd700;
    transform: translateX(5px);
    box-shadow: inset 0 0 15px rgba(212, 175, 55, 0.2);
    border-left: 3px solid #d4af37;
}

.select-option.selected {
    background: rgba(212, 175, 55, 0.3);
    color: #ffd700;
    font-weight: 600;
    box-shadow: inset 0 0 20px rgba(212, 175, 55, 0.3);
    border-left: 4px solid #ffd700;
}

.select-option.selected::before {
    content: '✓';
    position: absolute;
    right: 1rem;
    color: #ffd700;
    font-weight: bold;
    z-index: 9999;
}

/* Custom scrollbar for dropdown */
.select-dropdown::-webkit-scrollbar {
    width: 8px;
}

.select-dropdown::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    margin: 4px 0;
}

.select-dropdown::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #d4af37, #ffd700);
    border-radius: 4px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.select-dropdown::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #ffd700, #d4af37);
    border: 1px solid rgba(255, 215, 0, 0.5);
}

.btn-secondary {
    background: linear-gradient(135deg, #dc3545, #c82333, #dc3545);
    background-size: 200% 200%;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 15px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4);
    position: relative;
    overflow: hidden;
    min-width: 180px;
    justify-content: center;
}

.btn-secondary i {
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.btn-secondary::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;
}

.btn-secondary:hover {
    background-position: right center;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.6);
}

.btn-secondary:hover i {
    transform: scale(1.2) rotate(15deg);
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.btn-secondary:hover::before {
    left: 100%;
}

.btn-secondary:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.4);
}

/* Products grid */
.products-container {
    position: relative;
    z-index: 1;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.product-card {
    background: linear-gradient(135deg, rgba(45, 45, 45, 0.95), rgba(26, 26, 26, 0.95));
    backdrop-filter: blur(15px);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    border: 2px solid rgba(212, 175, 55, 0.15);
    transform: translateY(0);
    z-index: 1;
}

.product-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    border-radius: 25px;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.product-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(212, 175, 55, 0.4);
}

.product-card:hover::before {
    opacity: 1;
}

.product-card:hover::after {
    opacity: 1;
}

.product-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.product-card:hover .product-image {
    transform: scale(1.08);
    filter: brightness(1.1) contrast(1.1);
}

.product-info {
    padding: 2rem;
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3), transparent);
}

.product-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #f4f4f4;
    margin-bottom: 0.8rem;
    line-height: 1.4;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
}

.product-brand {
    color: #d4af37;
    font-weight: 600;
    margin-bottom: 1.2rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.product-price {
    font-size: 1.8rem;
    font-weight: 800;
    color: #ffd700;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
}

.product-price::before {
    content: 'zł';
    font-size: 1.2rem;
    color: #d4af37;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.product-volume {
    color: #f4f4f4;
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.product-volume::before {
    content: '💧';
    font-size: 0.8rem;
}

.product-season {
    color: #d4af37;
    font-weight: 500;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.product-season::before {
    content: '🌸';
    font-size: 0.8rem;
}

.product-season[data-season="Wiosna/Lato"]::before {
    content: '☀️';
}

.product-season[data-season="Jesień/Zima"]::before {
    content: '❄️';
}

.product-season[data-season="Wszystkie pory roku"]::before {
    content: '🌟';
}

/* Loading and no products states */
.loading-spinner,
.no-products {
    text-align: center;
    padding: 4rem 2rem;
    color: white;
}

.loading-spinner i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #d4af37;
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.6);
    animation: spin 1.5s linear infinite, glow 2s ease-in-out infinite alternate;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.no-products i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: rgba(212, 175, 55, 0.7);
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}

.no-products h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.no-products p {
    color: rgba(255, 255, 255, 0.8);
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        backdrop-filter: blur(0px);
    }
    to {
        opacity: 1;
        backdrop-filter: blur(10px);
    }
}

.modal-content {
    background: linear-gradient(135deg, rgba(45, 45, 45, 0.98), rgba(26, 26, 26, 0.98));
    margin: 3% auto;
    padding: 3rem;
    border-radius: 30px;
    width: 90%;
    max-width: 700px;
    position: relative;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(212, 175, 55, 0.3);
    animation: modalSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(20px);
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px) scale(0.9);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.close {
    position: absolute;
    right: 2rem;
    top: 2rem;
    font-size: 2.5rem;
    font-weight: bold;
    cursor: pointer;
    color: #d4af37;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.1);
    backdrop-filter: blur(10px);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.close:hover {
    color: #ffd700;
    background: rgba(212, 175, 55, 0.2);
    transform: scale(1.15) rotate(90deg);
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.4);
    text-shadow: 0 4px 8px rgba(255, 215, 0, 0.5);
}

/* Responsive design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .search-section {
        max-width: 100%;
    }
    
    .logo h1 {
        font-size: 1.6rem;
    }
    
    .logo i {
        font-size: 2rem;
    }
    
    .filters-section {
        flex-direction: column;
        align-items: stretch;
        padding: 2rem;
        gap: 1.5rem;
    }
    
    .filter-group {
        min-width: auto;
    }
    
    .custom-select input,
    .select-header {
        padding: 0.9rem 1rem;
        font-size: 0.95rem;
    }
    
    .select-arrow {
        right: 0.8rem;
    }
    
    .select-dropdown {
        max-height: 250px;
        z-index: 9999;
    }
    
    .select-option {
        padding: 0.9rem 1rem;
        font-size: 0.95rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1.5rem;
    }
    
    .modal-content {
        margin: 10% auto;
        width: 95%;
        padding: 2rem;
    }
    
    .search-bar {
        border-radius: 25px;
    }
    
    .search-bar input {
        padding: 1.2rem 1rem 1.2rem 3.5rem;
        font-size: 1rem;
    }
    
    .search-bar button {
        padding: 1.2rem 2rem;
        font-size: 0.9rem;
    }
    
    .btn-secondary {
        min-width: auto;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .logo h1 {
        font-size: 1.4rem;
    }
    
    .logo i {
        font-size: 1.8rem;
    }
    
    .search-bar input {
        font-size: 0.9rem;
        padding: 1rem 1rem 1rem 3rem;
    }
    
    .search-bar button {
        padding: 1rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .header {
        padding: 1rem 0;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card {
    animation: fadeIn 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }
.product-card:nth-child(4) { animation-delay: 0.4s; }
.product-card:nth-child(5) { animation-delay: 0.5s; }
.product-card:nth-child(6) { animation-delay: 0.6s; }

/* Ikony w kartach produktów */
.product-card i {
    color: #d4af37;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.product-card:hover i {
    color: #ffd700;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
    transform: scale(1.1);
}

/* Floating animation for cards */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-5px);
    }
}

.product-card:hover {
    animation: float 3s ease-in-out infinite;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #d4af37, #ffd700);
    border-radius: 4px;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #ffd700, #d4af37);
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.3);
}

/* Additional enhancements */
.filter-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-group label::before {
    content: '🔍';
    font-size: 0.9rem;
}

.filter-group:nth-child(1) label::before {
    content: '💰';
}

.filter-group:nth-child(2) label::before {
    content: '💰';
}

.filter-group:nth-child(3) label::before {
    content: '🏷️';
}

.filter-group:nth-child(4) label::before {
    content: '🌸';
}

.filter-group:nth-child(5) label::before {
    content: '🗑️';
}

/* Loading animation improvements */
.loading-spinner {
    background: linear-gradient(135deg, rgba(45, 45, 45, 0.95), rgba(26, 26, 26, 0.95));
    border-radius: 20px;
    border: 2px solid rgba(212, 175, 55, 0.3);
    backdrop-filter: blur(15px);
}

.no-products {
    background: linear-gradient(135deg, rgba(45, 45, 45, 0.95), rgba(26, 26, 26, 0.95));
    border-radius: 20px;
    border: 2px solid rgba(212, 175, 55, 0.3);
    backdrop-filter: blur(15px);
}
