/* Product Filter Banner Plugin Styles */
.pfb-container {
    width: 100%;
    margin: 0 auto;
    font-family: 'Arial', sans-serif;
}

.pfb-row {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.pfb-filter-column {
    flex: 0 0 100%;
    /*background: #fff;*/
}

.pfb-banner-column {
    display: none;
    /* flex: 0 0 60%; */
    /* position: relative; */
}

/* Filter Column Styles */
.pfb-filter-column h3 {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 30px;
    text-align: left;
}

.pfb-filter-section {
    margin-bottom: 5px;
}

.pfb-filter-label {
    display: block;
    font-size: 14px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

/* Category Grid */
.pfb-category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.pfb-category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 5px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fff;
    position: relative;
    overflow: hidden;
}

.pfb-category-item:hover {
    border-color: var(--pga-primary, #e53538);
    background: #f8f9ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.2);
}

.pfb-category-item.active {
    border-color: var(--pga-primary, #e53538);
    background: var(--pga-primary, #e53538);
    color: white;
}

.pfb-category-image {
    width: 50px;
    height: 50px;
    margin-bottom: 8px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pfb-category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    opacity: 0;
    animation: pfb-fadeIn 0.5s ease forwards;
}

@keyframes pfb-fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.pfb-category-image img[src=""] {
    display: none;
}

.pfb-category-item:hover .pfb-category-image img {
    transform: scale(1.1);
}

.pfb-category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(74, 144, 226, 0);
    transition: background 0.3s ease;
}

.pfb-category-item.active .pfb-category-overlay {
    background: rgba(74, 144, 226, 0.3);
}

.pfb-category-item .pfb-icon {
    width: 30px;
    height: 30px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}



.pfb-category-item span {
    font-size: 12px;
    font-weight: 500;
    text-align: center;
}

.pfb-category-count {
    display: block;
    font-size: 10px;
    opacity: 0.7;
    margin-top: 2px;
}

/* Range Sliders */
.pfb-range-container {
    position: relative;
}

.pfb-range-slider {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: #e0e0e0;
    outline: none;
    -webkit-appearance: none;
}

.pfb-range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--pga-primary, #e53538);
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.pfb-range-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--pga-primary, #e53538);
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.pfb-range-value {
    display: flex;
    justify-content: flex-end;
    margin-top: 8px;
}

.pfb-range-value span {
    background: var(--pga-primary, #e53538);
    color: white;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: bold;
}

/* Size Buttons */
.pfb-size-buttons {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.pfb-size-btn {
    padding: 5px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background: white;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 50px;
    margin-right: unset !important;
}

.pfb-size-btn:hover {
    border-color: var(--pga-primary, #e53538);
    background: #f8f9ff;
}

.pfb-size-btn.active {
    border-color: var(--pga-primary, #e53538);
    background: var(--pga-primary, #e53538);
    color: white;
}

/* Search Button */
.pfb-search-section {
    margin-top: 30px;
}

.pfb-search-btn {
    width: 100%;
    padding: 0;
    background: transparent;
    color: #333;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
}


.pfb-search-icon {
    width: 36px;
    height: 36px;
    background: var(--pga-primary, #e53538);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    flex-shrink: 0;
}

.pfb-search-text {
    flex: 1;
    text-align: left;
}

.pfb-icon-search::before {
    content: "🔍";
}

.pfb-icon-search::before {
    content: "🔍";
}

.pfb-icon-search::before {
    content: "🔍";
}

/* Banner Styles */
.pfb-banner {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pfb-banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.pfb-banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.pfb-banner-title {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 10px;
    background: linear-gradient(45deg, #FF6B35, #F7931E);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.pfb-banner-subtitle {
    font-size: 48px;
    font-weight: bold;
    color: #333;
    text-shadow: none;
}

.pfb-banner-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: #f0f0f0;
    color: #666;
    font-size: 16px;
}

/* Results Section */
.pfb-results {
    margin-top: 40px;
    padding: 20px;
    border-radius: 10px;
    background: #f8f9fa;
    display: none;
}

.pfb-results.active {
    display: block;
}

/* Responsive Design */
@media (max-width: 768px) {
    .pfb-row {
        flex-direction: column;
        gap: 20px;
    }

    .pfb-filter-column,
    .pfb-banner-column {
        flex: 0 0 100%;
        width: 100%;
    }

    .pfb-category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .pfb-banner {
        height: 300px;
    }

    .pfb-search-btn {
        font-size: 14px;
    }

    .pfb-search-icon {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }

    .pfb-banner-title {
        font-size: 28px;
    }

    .pfb-banner-subtitle {
        font-size: 36px;
    }
}

@media (max-width: 480px) {
    /* .pfb-category-grid {
        grid-template-columns: 1fr;
    }

    .pfb-size-buttons {
        justify-content: center;
    } */

    .pfb-banner-title {
        font-size: 24px;
    }

    .pfb-banner-subtitle {
        font-size: 28px;
    }
}