.product-card{
    box-shadow: 0 0 10px white;
    max-height: 500px;
}
.card-href{
    color: black !important;
}
.category-href{
    background-image: linear-gradient(to right, #ffb700, #9a5800);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.2s;
}
.category-href:hover{
    background-image: unset;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    background-clip: unset;
    color: gold;
}

        /* Search and Filter */
        .search-filter {
            background-color: white;
            border-radius: 10px;
            padding: 20px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
            margin-bottom: 30px;
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
        }

        .search-box {
            flex: 1;
            min-width: 250px;
            position: relative;
        }

        .search-box input {
            width: 100%;
            padding: 12px 20px 12px 45px;
            border: 2px solid var(--gray);
            border-radius: 50px;
            font-size: 16px;
            transition: all 0.3s ease;
        }

        .search-box input:focus {
            border-color: var(--primary);
            outline: none;
            box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.2);
        }

        .search-box i {
            position: absolute;
            left: 15px;
            top: 50%;
            transform: translateY(-50%);
            color: goldenrod;
            font-size: 18px;
        }

        

        /* Products Grid */
        .products-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 25px;
            margin-bottom: 40px;
        }

        .product-card {
            background-color: white;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
            transition: all 0.3s ease;
            position: relative;
        }

        .product-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
        }

        .product-badge {
            position: absolute;
            top: 15px;
            left: 15px;
            background-color: var(--success);
            color: white;
            padding: 5px 10px;
            border-radius: 50px;
            font-size: 12px;
            font-weight: 600;
            z-index: 2;
        }

        .product-image {
            height: 200px;
            overflow: hidden;
            position: relative;
        }

        .product-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .product-card:hover .product-image img {
            transform: scale(1.05);
        }

        .product-info {
            padding: 20px;
        }

        .product-category {
            color: rgb(148, 131, 32) !important;
            font-size: 14px;
            font-weight: 600;
            margin-bottom: 5px;
            text-transform: uppercase;
        }

        .product-title {
            font-size: 18px;
            font-weight: 600;
            margin-bottom: 10px;
            color: var(--dark);
        }

        .product-description {
            color: #666;
            font-size: 14px;
            margin-bottom: 15px;
            display: -webkit-box;
            line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            text-overflow: ellipsis;
            max-height: 60px;
        }

        .product-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 15px;
        }

        .product-price {
            font-size: 20px;
            font-weight: 700;
            color: var(--primary);
        }

        .product-old-price {
            text-decoration: line-through;
            color: #999;
            font-size: 14px;
            margin-left: 5px;
        }

        .add-to-cart {
            background-color: var(--primary);
            color: white;
            border: none;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .add-to-cart:hover {
            background-color: var(--primary-dark);
            transform: scale(1.1);
        }

        /* Pagination */
        .pagination {
            display: flex;
            justify-content: center;
            gap: 10px;
            margin-top: 30px;
        }

        .page-item {
            list-style: none;
        }

        .page-link {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background-color: white;
            color: var(--dark);
            text-decoration: none;
            font-weight: 600;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
        }

        .page-link:hover, .page-link.active {
            background-color: var(--primary);
            color: white;
        }


@media (min-width: 500px) {
    .products-grid{
        margin-left: 40px;
        margin-right: 40px;
    }
}






:root {
            --gold-primary: #f6e05e;
            --gold-secondary: #f59e0b;
            --gold-tertiary: #ecc94b;
            --light-bg: #f8fafc;
            --dark-text: #1a202c;
            --gray-border: #e2e8f0;
            --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
            --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
        }
        
        
        
        
        
        
        
        
        
        .btn-container {
            z-index: 1;
            position: relative;
        }
        
        .filter-btn {
            padding: 12px 20px;
            background: linear-gradient(to right, var(--gold-primary), var(--gold-tertiary));
            color: var(--dark-text);
            border: none;
            border-radius: 50px;
            font-weight: 600;
            font-size: 1rem;
            display: flex;
            align-items: center;
            gap: 8px;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: var(--shadow-sm);
        }
        
        .filter-btn:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-lg);
        }
        
        .filter-btn.active {
            background: linear-gradient(to right, var(--dark-text), #2d3748);
            color: white;
        }
        
        .filter-icon {
            font-size: 1.1rem;
        }
        
        .filters-panel {
            background: var(--light-bg);
            padding: 0;
            max-height: 0;
            overflow: hidden;
            transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
            border-bottom: 1px solid var(--gray-border);
        }
        
        .filters-panel.active {
            padding: 20px;
            max-height: 500px;
        }
        
        .filters-content {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 16px;
            opacity: 0;
            transform: translateY(20px);
            transition: all 0.5s ease 0.2s;
        }
        
        .filters-panel.active .filters-content {
            opacity: 1;
            transform: translateY(0);
        }
        
        .filter-group {
            margin-bottom: 15px;
        }
        
        .filter-group h3 {
            font-size: 1.1rem;
            margin-bottom: 12px;
            color: var(--dark-text);
            padding-bottom: 6px;
            border-bottom: 2px solid var(--gold-primary);
            display: inline-block;
        }
        
        .options {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }
        
        .checkbox-label {
            display: flex;
            align-items: center;
            gap: 10px;
            cursor: pointer;
            transition: all 0.2s;
        }
        
        .checkbox-label:hover {
            color: var(--gold-secondary);
        }
        
        .custom-checkbox {
            position: relative;
            width: 20px;
            height: 20px;
            border: 2px solid var(--gray-border);
            border-radius: 4px;
            transition: all 0.2s;
            display: flex;
            justify-content: center;
            align-items: center;
        }
        
        .custom-checkbox::before {
            content: "✓";
            font-size: 14px;
            color: white;
            position: absolute;
            opacity: 0;
            transform: scale(0.5);
            transition: all 0.2s;
        }
        
        input[type="checkbox"] {
            display: none;
        }
        
        input[type="checkbox"]:checked + .custom-checkbox {
            background: linear-gradient(to right, var(--gold-primary), var(--gold-tertiary));
            border-color: var(--gold-tertiary);
        }
        
        input[type="checkbox"]:checked + .custom-checkbox::before {
            opacity: 1;
            transform: scale(1);
        }
        
        .range-input {
            width: 100%;
            accent-color: var(--gold-tertiary);
        }
        
        .range-values {
            display: flex;
            justify-content: space-between;
            font-size: 0.9rem;
            color: #4a5568;
        }
        
        .action-buttons {
            display: flex;
            gap: 10px;
            margin-top: 20px;
            grid-column: 1 / -1;
        }
        
        .action-btn {
            flex: 1;
            padding: 12px 20px;
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            border: none;
            font-size: 1rem;
        }
        
        .apply-btn {
            background: linear-gradient(to right, var(--gold-primary), var(--gold-secondary));
            color: var(--dark-text);
        }
        
        .reset-btn {
            background: white;
            border: 2px solid var(--gray-border);
            color: #4a5568;
        }
        
        .apply-btn:hover {
            box-shadow: 0 4px 10px rgba(245, 158, 11, 0.3);
            transform: translateY(-2px);
        }
        
        .reset-btn:hover {
            background-color: #f1f5f9;
        }
        
        
        
        
        
        
        
        
        
        .icon-placeholder {
            font-size: 2.5rem;
            color: rgba(0, 0, 0, 0.1);
        }
        
        .product-info {
            padding: 16px;
        }
        
        .product-name {
            font-weight: 600;
            margin-bottom: 8px;
            color: var(--dark-text);
        }
        
        .product-price {
            color: var(--gold-secondary);
            font-weight: 700;
            font-size: 1.2rem;
        }
        
        
        
        
        
        /* Анимация фона кнопки */
        @keyframes shimmer {
            0% { background-position: -100% 0; }
            100% { background-position: 200% 0; }
        }
        
        .filter-btn::after {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, 
                transparent, 
                rgba(255,255,255,0.4), 
                transparent);
            opacity: 0;
            transition: opacity 0.3s;
            animation: shimmer 1.5s infinite linear;
        }
        
        .filter-btn:hover::after {
            opacity: 1;
        }
        
        /* Адаптивность */
        @media (max-width: 768px) {
            .filters-content {
                grid-template-columns: 1fr;
            }
            
            
        }
        
        @media (max-width: 480px) {
            
            .action-buttons {
                flex-direction: column;
            }
        }