.woo-products-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1024px) {
    .woo-products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 480px) {
    .woo-products-grid {
        gap: 0 10px;
        grid-template-columns: repeat(2, 1fr);
    }
    .skeleton-image {
        height: auto;
        aspect-ratio: 1 / 1;
    }
}
.skeleton-card {
    position: relative;
}
.shimmer {
    position: absolute;
    top: 0;
    left: -150%;
    width: 150%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
    animation: shimmer 2.5s linear infinite;
}
@keyframes shimmer {
    0% { left: -150%; }
    100% { left: 100%; }
}
.woo-page-numbers .page-numbers {
    display: inline-block;
    padding: 8px 12px;
    background: #fff;
    margin: 0 5px;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-decoration: none;
    color: #333;
}
.woo-page-numbers .page-numbers.current {
    background-color: #ebebeb;
    color: #000;
    border-color: #ebebeb;
}
.woo-page-numbers .page-numbers:hover {
    background-color: #f3f3f3;
}
.woo-product-card img.hidden, .woo-product-card h3.hidden, .woo-product-card p.hidden, .woo-product-card a.hidden {
    display: none;
}
.price-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.regular-price {
    font-size: 14px;
    color: #777;
}
.sale-price {
    font-size: 16px;
    color: #e74c3c;
    font-weight: bold;
}
.btn-cu {
    width: 100%;
    background: #0073aa;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}
.btn-cu.disabled {
    opacity: 0.6;
    pointer-events: none;
}
.discount {
    font-size: 14px;
    color: #fff;
    background: #d61616;
    border-radius: 4px;
    padding: 0 0.5rem;
}
.out-of-stock {
    font-size: 14px;
    color: #e74c3c;
    font-weight: bold;
}
.available-call {
    font-size: 14px;
    color: #27ae60;
    font-weight: bold;
}
.woo-filter-header {
    display: none;
    gap: 10px;
    align-items: center;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 0.25rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.woo-filter-header::-webkit-scrollbar {
    display: none;
}
.woo-filter-toggle-btn {
    position: relative;
    background-color: #fff !important;
    color: #000 !important;
    border: 1px solid #ccc !important;
    padding: 10px 15px !important;
    font-size: 16px !important;
    cursor: pointer;
    border-radius: 5px !important;
    display: flex;
    align-items: center;
    gap: 8px;
    width: auto !important;
    white-space: nowrap;
    justify-content: center;
}
.woo-filter-toggle-btn .filter-icon {
    color: #7d7b7b;
    transition: color 0.3s ease;
    font-size: 16px;
    display: flex;
    align-items: center;
}
.woo-filter-toggle-btn.has-active-filter .filter-icon {
    color: #000;
}
.filter-indicator {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 10px;
    height: 10px;
    background-color: red;
    border-radius: 50%;
    display: none;
}
.has-active-filter .filter-indicator {
    display: block;
}
.active-filters-wrapper {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: nowrap;
    overflow-x: scroll;
    padding-bottom: 8px;
    margin-top: 8px;
}
.active-filters-label {
    font-size: 14px;
    font-weight: bold;
    color: #000000;
    white-space: nowrap;
    flex-shrink: 0;
    display: flex;
    gap: 8px;
}
.desktop-active-filters {
    display: none;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.woo-active-filters-bar {
    display: none;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
button.clear-all-filters {
    background: #fff;
    color: red;
    border-color: red;
    flex-direction: row-reverse;
    flex-shrink: 0;
}
button.clear-all-filters:hover {
    background: red;
    color: #fff;
    border-color: red;
}
.clear-all-filters, .active-filter-item {
    position: relative;
    display: flex;
    align-items: center;
    background-color: #fff;
    color: #ff0000;
    border: 1px solid #ff0000;
    border-radius: 8px;
    padding: 4px;
    font-size: 14px;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.3s, border-color 0.3s, opacity 0.3s;
    flex-direction: row-reverse;
}
.clear-all-filters .fi, .clear-all-filters .filter-close-icon, 
.active-filter-item .fi, .active-filter-item .filter-close-icon {
    margin-left: 5px;
    font-size: 16px;
    width: 16px;
    height: 16px;
    line-height: 1;
    color: #ff0000;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.active-filter-item:hover .fi, .active-filter-item:hover .filter-close-icon {
    color: #cc0000;
}
.active-filters-list .active-filter-item {
    cursor: pointer;
}
.active-filters-list {
    display: flex;
    gap: 8px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    flex-wrap: nowrap;
    flex: 1;
    min-width: 0;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
    user-select: none;
}
.active-filters-list::-webkit-scrollbar {
    display: none;
}
.active-filters-list.active-drag {
    cursor: grabbing;
    scroll-behavior: auto;
}

/* Skeleton loading for active filters */
.active-filter-skeleton {
    display: flex;
    align-items: center;
    background-color: #f0f0f0;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 4px 8px;
    height: 32px;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.active-filter-skeleton::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    animation: shimmer 1.5s infinite;
}

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

.active-filter-skeleton-icon {
    width: 16px;
    height: 16px;
    background: #e0e0e0;
    border-radius: 50%;
    margin-left: 8px;
    flex-shrink: 0;
}

.active-filter-skeleton-text {
    width: 60px;
    height: 14px;
    background: #e0e0e0;
    border-radius: 3px;
    flex-shrink: 0;
}

button.clear-all-filters {
    padding: 4px;
    font-size: 1rem;
    font-weight: unset;
}
.category-item, .subcategory-item, .attribute-item, .term-item, .tag-item, .brand-item {
    margin-bottom: 8px;
    position: relative;
}
.category-item {
    justify-content: space-between;
}
.woo-list-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 16px;
}
.cu-box-filter {
    padding: 12px 12px 8px 8px;
    background: #f5f5f5;
    border-radius: 8px;
}
.price-filter-header .woo-list-title {
    margin-bottom: 0;
}
.woo-list-title, .price-filter-header {
    border-bottom: 1px solid rgb(237 228 228);
    padding-bottom: 12px;
}
.price-filter-header .woo-list-title {
    border-bottom: none;
    padding-bottom: 0;
}
/* Icon styling for all section headers */
.woo-list-title .fi {
    font-size: 20px;
    min-width: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 0;
}

/* Fallback styling while icon font is loading */
@supports (font-display: swap) {
    .woo-list-title .fi {
        font-weight: 700;
    }
}

/* Optimize paint performance */
.woo-list-title {
    will-change: auto;
    contain: layout style;
}

/* Set max height and scrolling for taxonomy filter content wrappers */
.category-items-wrapper, .tag-items-wrapper, .brand-items-wrapper {
    max-height: 256px;
    overflow-y: auto;
    overflow-x: hidden;
}

/* Set max height and scrolling for individual term lists in attributes is handled in the .term-list rule below */

/* Custom scrollbar styling for taxonomy content wrappers */
.category-items-wrapper::-webkit-scrollbar, 
.tag-items-wrapper::-webkit-scrollbar, 
.brand-items-wrapper::-webkit-scrollbar,
.term-list::-webkit-scrollbar {
    width: 6px;
}

.category-items-wrapper::-webkit-scrollbar-track, 
.tag-items-wrapper::-webkit-scrollbar-track, 
.brand-items-wrapper::-webkit-scrollbar-track,
.term-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.category-items-wrapper::-webkit-scrollbar-thumb, 
.tag-items-wrapper::-webkit-scrollbar-thumb, 
.brand-items-wrapper::-webkit-scrollbar-thumb,
.term-list::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.category-items-wrapper::-webkit-scrollbar-thumb:hover, 
.tag-items-wrapper::-webkit-scrollbar-thumb:hover, 
.brand-items-wrapper::-webkit-scrollbar-thumb:hover,
.term-list::-webkit-scrollbar-thumb:hover {
    background: #888;
}
.category-item, .attribute-item {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
}
.attribute-item {
    background: #f5f5f5;
    border-radius: 4px;
    padding: 12px;
    margin-bottom: 12px;
    border: 1px solid #d3d3d3;
}

.attribute-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    width: 100%;
}

.term-list-wrapper {
    margin-top: 8px;
    width: 100%;
}
.category-item label, .subcategory-item label, .attribute-name, .term-item label, .tag-item label, .brand-item label {
    display: flex;
    align-items: center;
    cursor: pointer;
}
.active-cat label {
    color: #000;
}
.toggle-sub {
    cursor: pointer;
    font-weight: bold;
    margin-right: 10px;
    color: #0073aa;
    font-size: 1.5rem;
    margin-bottom: -6px;
}
.subcategory-list {
    margin-top: 12px;
    margin-right: 7px;
    padding-right: 10px;
    border-right: 2px dashed #ddd;
    width: 100%;
}

.term-list {
    margin-top: 12px;
    margin-right: 7px;
    padding-right: 10px;
    border-right: 2px dashed #ddd;
    width: 100%;
    max-height: 200px;
    overflow-y: auto;
    overflow-x: hidden;
}
.woo-filter-container {
    position: relative;
}
.woo-filter-list {
    gap: 24px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease-in-out;
}
.woo-filter-list.menu-open {
    transform: translateX(0);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}
body.no-scroll {
    overflow: hidden !important;
}
@media (min-width: 1025px) {
    .desktop-active-filters.has-filters {
        display: flex !important;
    }
    .woo-filter-header .active-filters-wrapper {
        display: none !important;
    }
}
@media (max-width: 1024px) {
    .desktop-active-filters {
        display: none !important;
    }
    .woo-filter-header {
        display: flex;
        justify-content: flex-start;
    }
    .woo-filter-toggle-btn {
        order: 1;
    }
    .active-filters-wrapper {
        order: 2;
    }
    .woo-filter-list {
        position: fixed;
        top: 0;
        right: 0;
        width: 290px;
        height: 100%;
        background: #fff;
        padding: 20px;
        overflow-y: auto;
        z-index: 9999;
        transform: translateX(100%);
    }
}
.category-item label input[type="checkbox"], .subcategory-item label input[type="checkbox"], .term-item label input[type="checkbox"], .tag-item label input[type="checkbox"], .brand-item label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-left: 5px;
    flex-shrink: 0;
}
.spinner {
    display: none;
    width: 16px;
    height: 16px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid orange;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-left: 5px;
    flex-shrink: 0;
}
.loading-spinner {
    display: none;
    width: 14px;
    height: 14px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid orange;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.clear-all-filters .fi, .clear-all-filters .filter-close-icon,
.active-filter-item .fi, .active-filter-item .filter-close-icon {
    display: flex;
}
.loading .fi, .loading .filter-close-icon, .loading .button-text {
    display: none !important;
}
.loading .loading-spinner {
    display: block;
}
.active-filter-item.loading {
    opacity: 0.7;
    pointer-events: none;
}
span.woocommerce-Price-amount.amount, .discount {
    font-family: var( --e-global-typography-b2452c9-font-family );
}
.regular-price {
    text-align: left;
    font-size: 14px;
    color: #777;
}
.sale-price {
    font-size: 16px;
    color: #e74c3c;
    font-weight: bold;
    text-align: left;
}
.price-container {
    margin: 0 !important;
    min-height: 43px;
}
.price-container-single {
    width: 100%;
}
.woo-product-card {
    min-width: 0;
    opacity: 0;
    animation: fadeInUp 0.5s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.woo-product-card > a {
    display: block;
    text-decoration: none;
}
.woo-product-card > a:hover .card-title {
    color: #0073aa;
    transition: color 0.3s ease;
}
.product-image-link {
    position: relative;
    display: block;
    overflow: hidden;
}
.product-main-image {
    display: block;
    width: 100%;
    transition: opacity 0.4s ease;
    position: relative;
    z-index: 2;
}
.product-gallery-image {
    display: block;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}
.product-image-link:hover .product-main-image {
    opacity: 0;
}
.product-image-link:hover .product-gallery-image {
    opacity: 1;
}
span.out-of-stock {
    width: 100%;
}
span.available-call {
    width: 100%;
}
.card-title {
    font-size: 1.8rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    max-width: 100%;
    min-width: 0;
}
@media (max-width: 768px) {
    bdi {
        font-size: small;
    }
}
a.btn-cu {
    position: relative;
    display: inline-block;
    padding: 0.25rem;
    border-radius: 0.8rem;
    background: linear-gradient(180deg, #2563eb, #1d4ed8);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    overflow: hidden;
    transition: transform .15s ease;
}
a.btn-cu:hover {
    transform: translateY(-1px);
}
a.btn-cu::after {
    content: "";
    position: absolute;
    inset: -20% auto -20% -60%;
    width: 60%;
    pointer-events: none;
    transform: translateX(-100%) skewX(-20deg);
    background: linear-gradient(
        120deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.0) 35%,
        rgba(255,255,255,0.55) 50%,
        rgba(255,255,255,0.0) 65%,
        rgba(255,255,255,0) 100%
    );
    filter: blur(0.3px);
    mix-blend-mode: screen;
}
a.btn-cu:hover::after {
    animation: btnCuShine 1.2s linear infinite;
}
@keyframes btnCuShine {
    from { transform: translateX(-140%) skewX(-20deg); }
    to   { transform: translateX(180%)  skewX(-20deg); }
}
@media (prefers-reduced-motion: reduce) {
    a.btn-cu:hover::after { animation: none; }
}
.woo-filter-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.switch-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    justify-content: space-between;
    padding: 8px;
    border-radius: 4px;
}
.switch-text {
    font-size: 1rem;
    font-weight: bold;
    display: flex;
    gap: 8px;
}
.cu-sale-box {
    background: #ffdbdb;
}
.cu-sale {
    color: red;
}
.cu-instock-box {
    background: #daf9e1;
}
.cu-instock {
    color: green;
}

.cu-brands-box {
    background: #f5f5f5!important;
}
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}
.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}
input:checked + .slider {
    background-color: #2196F3;
}
input:checked + .slider:before {
    transform: translateX(26px);
}
.slider.round {
    border-radius: 34px;
}
.slider.round:before {
    border-radius: 50%;
}

/* Standalone Active Filters Bar Shortcode */
.woo-active-filters-bar-shortcode {
    display: none;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
    width: 100%;
}

.woo-active-filters-bar-shortcode.has-filters {
    display: flex !important;
}

.woo-active-filters-bar-shortcode .clear-all-filters {
    background: #fff;
    color: red;
    border: 1px solid red;
    border-radius: 8px;
    padding: 4px;
    font-size: 1rem;
    font-weight: unset;
    cursor: pointer;
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
    white-space: nowrap;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
    flex-shrink: 0;
}

.woo-active-filters-bar-shortcode .clear-all-filters:hover {
    background: red;
    color: #fff;
    border-color: red;
}

.woo-active-filters-bar-shortcode .clear-all-filters .fi,
.woo-active-filters-bar-shortcode .clear-all-filters .filter-close-icon {
    margin-left: 5px;
}

.woo-active-filters-bar-shortcode .active-filters-list {
    display: flex;
    gap: 8px;
    flex-wrap: nowrap;
    flex: 1;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
    user-select: none;
}

.woo-active-filters-bar-shortcode .active-filters-list::-webkit-scrollbar {
    display: none;
}

.woo-active-filters-bar-shortcode .active-filters-list.active-drag {
    cursor: grabbing;
    scroll-behavior: auto;
}

.woo-active-filters-bar-shortcode .active-filters-list .active-filter-item {
    cursor: pointer;
}

.woo-active-filters-bar-shortcode .active-filters-label {
    font-size: 14px;
    font-weight: bold;
    color: #000000;
    white-space: nowrap;
    flex-shrink: 0;
}

.woo-active-filters-bar-shortcode .active-filter-item {
    position: relative;
    display: flex;
    align-items: center;
    background-color: #fff;
    color: #ff0000;
    border: 1px solid #ff0000;
    border-radius: 8px;
    padding: 4px;
    font-size: 14px;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.3s, border-color 0.3s, opacity 0.3s;
    flex-direction: row-reverse;
}

.woo-active-filters-bar-shortcode .active-filter-item .fi,
.woo-active-filters-bar-shortcode .active-filter-item .filter-close-icon {
    margin-left: 5px;
    font-size: 16px;
    width: 16px;
    height: 16px;
    line-height: 1;
    color: #ff0000;
    transition: color 0.3s;
}

.woo-active-filters-bar-shortcode .clear-all-filters .fi,
.woo-active-filters-bar-shortcode .clear-all-filters .filter-close-icon {
    margin-left: 5px;
    font-size: 16px;
    width: 16px;
    height: 16px;
    line-height: 1;
    color: #ff0000;
    transition: color 0.3s;
}

.woo-active-filters-bar-shortcode .active-filter-item:hover {
    background-color: #fff5f5;
}

.woo-active-filters-bar-shortcode .active-filter-item:hover .fi,
.woo-active-filters-bar-shortcode .active-filter-item:hover .filter-close-icon {
    color: #cc0000;
}

.woo-active-filters-bar-shortcode .clear-all-filters:hover .fi,
.woo-active-filters-bar-shortcode .clear-all-filters:hover .filter-close-icon {
    color: #fff;
}

.woo-active-filters-bar-shortcode .clear-all-filters .fi,
.woo-active-filters-bar-shortcode .clear-all-filters .filter-close-icon,
.woo-active-filters-bar-shortcode .active-filter-item .fi,
.woo-active-filters-bar-shortcode .active-filter-item .filter-close-icon {
    display: flex;
}

.woo-active-filters-bar-shortcode .loading-spinner {
    display: none;
    width: 14px;
    height: 14px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid orange;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.woo-active-filters-bar-shortcode .loading .fi,
.woo-active-filters-bar-shortcode .loading .filter-close-icon,
.woo-active-filters-bar-shortcode .loading .button-text {
    display: none !important;
}

.woo-active-filters-bar-shortcode .loading .loading-spinner {
    display: block;
}

.woo-active-filters-bar-shortcode .active-filter-item.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Responsive styles for shortcode */
@media (max-width: 768px) {
    .woo-active-filters-bar-shortcode {
        gap: 6px;
    }
    
    .woo-active-filters-bar-shortcode .clear-all-filters,
    .woo-active-filters-bar-shortcode .active-filter-item {
        font-size: 13px;
        padding: 3px;
    }
    
    .woo-active-filters-bar-shortcode .active-filters-label,
    .active-filters-label {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .woo-active-filters-bar-shortcode {
        gap: 5px;
    }
    
    .woo-active-filters-bar-shortcode .clear-all-filters,
    .woo-active-filters-bar-shortcode .active-filter-item {
        font-size: 12px;
        padding: 4px;
    }
    
    .woo-active-filters-bar-shortcode .active-filters-label,
    .active-filters-label {
        font-size: 12px;
    }
}

/* No Products Found Styles - Modern Design */
.woo-no-products-found {
    width: 100%;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    grid-column: 1 / -1; /* تمام ستون‌های گرید را اشغال می‌کند (3 ستون در دسکتاپ، 2 ستون در موبایل) */
}

.no-products-content {
    max-width: 600px;
    text-align: center;
    background: white;
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    animation: fadeInUp 0.6s ease-out;
}

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

.no-products-icon {
    width: 200px;
    height: 150px;
    margin: 0 auto 64px;
    animation: floatIcon 3s ease-in-out infinite;
}

@keyframes floatIcon {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.no-products-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.no-products-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 28px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 15px;
    line-height: 1.3;
    justify-content: center;
}

/* Red icon styling for no-products title */
.no-products-title .fi {
    color: #dc2626;
    font-size: 32px;
    min-width: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.no-products-description {
    font-size: 16px;
    color: #718096;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Loading Wrapper with Spinner */
.suggestions-loading-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    padding: 20px;
    background: #f7fafc;
    border-radius: 12px;
}

.suggestions-loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #e2e8f0;
    border-top-color: #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.suggestions-loading-text {
    font-size: 15px;
    color: #667eea;
    font-weight: 600;
    line-height: 1.6;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.loading-dots::after {
    content: '...';
    display: inline-block;
    animation: loadingDots 1.5s infinite;
    width: 20px;
    text-align: left;
}

@keyframes loadingDots {
    0%, 20% {
        content: '.';
    }
    40% {
        content: '..';
    }
    60%, 100% {
        content: '...';
    }
}

/* Filter Suggestions Container */
.filter-suggestions-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

/* Skeleton Loading for Suggestions */
.suggestions-skeleton {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    align-items: center;
}

.suggestion-skeleton-item {
    height: 36px;
    background: #e0e0e0;
    border-radius: 18px;
    position: relative;
    overflow: hidden;
}

.suggestion-skeleton-item:nth-child(1) {
    width: 150px;
}

.suggestion-skeleton-item:nth-child(2) {
    width: 180px;
}

.suggestion-skeleton-item:nth-child(3) {
    width: 120px;
}

.suggestion-skeleton-item .shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    animation: shimmer 1.5s infinite;
}

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

/* Filter Suggestion Tags */
.filter-suggestion-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    border: none;
    outline: none;
    animation: slideIn 0.4s ease-out;
}

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

.filter-suggestion-tag:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.filter-suggestion-tag:active {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 3px 10px rgba(102, 126, 234, 0.5);
}

.filter-suggestion-tag .suggestion-count {
    background: rgba(255, 255, 255, 0.3);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
}

/* Messages */
.no-suggestions-message,
.error-suggestions-message {
    font-size: 15px;
    color: #718096;
    padding: 15px 25px;
    background: #f7fafc;
    border-radius: 10px;
    margin-top: 10px;
}

.error-suggestions-message {
    color: #e53e3e;
    background: #fff5f5;
}

/* Responsive Styles for No Products */
@media (max-width: 768px) {
    .woo-no-products-found {
        min-height: 500px;
        padding: 40px 15px;
        margin: 20px 0;
    }
    
    .no-products-content {
        padding: 40px 30px;
    }
    
    .no-products-icon {
        width: 150px;
        height: 110px;
        margin-bottom: 20px;
    }
    
    .no-products-title {
        font-size: 22px;
        margin-bottom: 12px;
    }
    
    .no-products-description {
        font-size: 15px;
        margin-bottom: 25px;
    }
    
    .suggestions-loading-wrapper {
        padding: 15px;
    }
    
    .suggestions-loading-spinner {
        width: 35px;
        height: 35px;
    }
    
    .filter-suggestion-tag {
        padding: 10px 16px;
        font-size: 14px;
    }
    
    .filter-suggestion-tag .suggestion-count {
        font-size: 12px;
        padding: 3px 8px;
    }
}

@media (max-width: 480px) {
    .woo-no-products-found {
        min-height: 450px;
        padding: 30px 10px;
        border-radius: 15px;
    }
    
    .no-products-content {
        padding: 30px 20px;
    }
    
    .no-products-icon {
        width: 120px;
        height: 90px;
        margin-bottom: 15px;
    }
    
    .no-products-title {
        font-size: 20px;
        margin-bottom: 10px;
    }
    
    .no-products-description {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .suggestions-loading-wrapper {
        padding: 12px;
    }
    
    .suggestions-loading-spinner {
        width: 30px;
        height: 30px;
        border-width: 3px;
    }
    
    .suggestions-loading-text {
        font-size: 14px;
    }
    
    .filter-suggestions-container {
        gap: 8px;
    }
    
    .filter-suggestion-tag {
        padding: 8px 14px;
        font-size: 13px;
    }
    
    .filter-suggestion-tag .suggestion-count {
        font-size: 11px;
        padding: 2px 6px;
    }
}

/* Loading more products indicator */
.loading-more-products {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    width: 100%;
    grid-column: 1 / -1;
}

.loading-more-products .loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #e2e8f0;
    border-top-color: #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 10px;
}

.loading-more-products p {
    font-size: 14px;
    color: #667eea;
    font-weight: 600;
}

.no-more-products {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    width: 100%;
    grid-column: 1 / -1;
}

.no-more-products p {
    font-size: 14px;
    color: #718096;
    background: #f7fafc;
    padding: 10px 20px;
    border-radius: 8px;
}

.load-error {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    width: 100%;
    grid-column: 1 / -1;
}

.load-error p {
    font-size: 14px;
    color: #e53e3e;
    background: #fff5f5;
    padding: 10px 20px;
    border-radius: 8px;
}

/* Price filter styles */
.price-slider-container{
    padding: 12px;
}

.price-filter-section h4 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}
.price-filter-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 36px;
}

.price-filter-container,
.price-filter-wrapper {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.price-inputs {
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-input-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
}

.price-input-group label {
    font-size: 12px;
    color: #666;
    font-weight: 500;
}

.price-input-group input {
    padding: 8px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    text-align: center;
    background: white;
}

.price-input-group input:focus {
    outline: none;
    border-color: #007cba;
    box-shadow: 0 0 0 1px #007cba;
}

.price-separator {
    font-size: 14px;
    color: #666;
}

.price-slider-container {
    position: relative;
}

.price-slider {
    width: 100%;
}

/* noUiSlider overrides */
.noUi-target {
    background: #e0e0e0;
    border-radius: 4px;
    border: none;
    box-shadow: none;
    height: 6px;
}

.noUi-base {
    height: 6px;
}

.noUi-connects {
    border-radius: 4px;
}

.noUi-connect {
    background: #007cba;
}

.noUi-handle {
    border: 2px solid #007cba;
    border-radius: 50%;
    background: white;
    cursor: pointer;
    width: 18px;
    height: 18px;
    right: -9px;
    top: -6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.noUi-handle:before,
.noUi-handle:after {
    display: none;
}

.noUi-handle:hover {
    border-color: #005a87;
}

.noUi-handle.noUi-active {
    border-color: #005a87;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.noUi-tooltip {
    display: none;
}
.noUi-touch-area {
    cursor: pointer;
}

.price-range-display {
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.price-min-display,
.price-max-display {
    font-weight: 600;
    color: #007cba;
    font-size: 16px;
}

.price-separator {
    color: #999;
    font-size: 13px;
}

.price-unit {
    color: #666;
    font-size: 12px;
}

.price-filter-section {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
    flex-direction: row-reverse;
}

.price-filter-wrapper {
    padding: 10px 0;
    width: 100%;
    order: 1;
}

.btn-apply-price-filter {
    padding: 4px 8px!important;
    font-size: 12px!important;
    transition: all 0.3s ease!important;
    white-space: nowrap;
    min-width: max-content;
    border: none;
}

.btn-apply-price-filter:hover {
    background-color: #005a87;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.btn-apply-price-filter:active {
    transform: scale(0.98);
}