.gn-custom-product-fileters-block {
    background: transparent;
    padding: 24px 0;
    color: #111;
}

.gn-custom-product-fileter-container {
    width: min(100% - 32px, 1200px);
    margin: 0 auto;
}

.gn-custom-product-fileter-tabs {
    display: flex;
    border-bottom: 1px solid rgba(0, 0, 0, 0.16);
    margin-bottom: 18px;
}

.gn-custom-product-fileter-tab {
    flex: 1 1 0;
    min-width: 0;
    min-height: 44px;
    background: transparent;
    border: 0;
    color: #111;
    font-weight: 700;
    cursor: pointer;
    position: relative;
}

.gn-custom-product-fileter-tab.is-active::after {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: -2px;
    height: 3px;
    background: #111;
}

.gn-custom-product-fileter-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.gn-custom-product-fileter-heading h2 {
    font-size: 24px;
    line-height: 1.2;
    font-weight: 800;
    margin: 0 0 4px;
}

.gn-custom-product-fileter-heading p {
    font-size: 14px;
    line-height: 1.35;
    margin: 0;
}

.gn-custom-product-fileter-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.gn-custom-product-fileter-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    height: 130px;
    background: #f9f9f9;
    border: 0;
    border-radius: 12px;
    padding: 20px;
    color: inherit;
    text-decoration: none;
    box-shadow: none;
}

.gn-custom-product-fileter-card:hover {
    color: #111;
    background: #e2e2e4;
}

.gn-custom-product-fileter-flag-wrap {
    flex: 0 0 auto;
}

.gn-custom-product-fileter-info {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    margin-left: 12px;
}

.gn-custom-product-fileter-flag {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 100%;
}

.gn-custom-product-fileter-kicker {
    color: #0bd876;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 4px;
}

.gn-custom-product-fileter-title {
    color: #111;
    display: block;
    font-size: 24px;
    line-height: 1.2;
    font-weight: 400;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gn-custom-product-fileter-price {
    color: #111;
    display: block;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.35;
    margin-top: 6px;
}

.gn-custom-product-fileter-price .woocommerce-Price-amount.amount {
    font-size: 16px;
    font-weight: 300;
}

.gn-custom-product-fileter-arrow {
    align-items: center;
    border-radius: 999px;
    color: #000;
    display: inline-flex;
    flex: 0 0 auto;
    height: 28px;
    justify-content: center;
    width: 28px;
}

.gn-custom-product-fileter-arrow::before {
    content: "";
    border-right: 2px solid currentColor;
    border-top: 2px solid currentColor;
    height: 8px;
    transform: rotate(45deg);
    width: 8px;
}

.gn-custom-product-fileter-results.is-loading {
    opacity: 1;
}

.gn-custom-product-fileter-grid.is-skeleton .gn-custom-product-fileter-card {
    background: #f8f9fa;
}

.gn-custom-product-fileter-skeleton-box {
    background: #e9ecef;
    border-radius: 6px;
    display: inline-block;
    overflow: hidden;
    position: relative;
}

.gn-custom-product-fileter-skeleton-box::after {
    animation: gn-custom-product-fileter-shimmer 1.2s infinite;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.5) 50%, rgba(255,255,255,0) 100%);
    content: "";
    inset: 0;
    position: absolute;
    transform: translateX(-100%);
}

@keyframes gn-custom-product-fileter-shimmer {
    100% {
        transform: translateX(100%);
    }
}

.gn-custom-product-fileter-skeleton-flag {
    border-radius: 100%;
    height: 50px;
    width: 50px;
}

.gn-custom-product-fileter-skeleton-kicker {
    height: 14px;
    margin-bottom: 8px;
    width: 44px;
}

.gn-custom-product-fileter-skeleton-title {
    height: 22px;
    margin-bottom: 8px;
    width: 60%;
}

.gn-custom-product-fileter-skeleton-price {
    height: 16px;
    width: 42%;
}

.gn-custom-product-fileter-skeleton-arrow {
    border-radius: 100%;
    height: 28px;
    width: 28px;
}

@media (prefers-reduced-motion: reduce) {
    .gn-custom-product-fileter-skeleton-box::after {
        animation: none;
    }
}

.gn-custom-product-fileter-pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.gn-custom-product-fileter-page {
    min-width: 36px;
    min-height: 36px;
    border: 1px solid rgba(0, 0, 0, 0.22);
    background: #fff;
    color: #111;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
}

.gn-custom-product-fileter-page.is-active {
    background: #111;
    color: #fff;
    border-color: #111;
}

.gn-custom-fileter-empty {
    background: rgba(255, 255, 255, 0.78);
    border-radius: 8px;
    padding: 16px;
    font-weight: 700;
}

@media (max-width: 1199px) {
    .gn-custom-product-fileter-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 992px) {
    .gn-custom-product-fileter-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .gn-custom-product-fileters-block {
        padding: 20px 0;
    }

    .gn-custom-product-fileter-container {
        width: min(100% - 24px, 1200px);
    }

    .gn-custom-product-fileter-tabs {
        display: flex;
        overflow-x: auto;
    }

    .gn-custom-product-fileter-tab {
        flex: 0 0 auto;
        min-width: 112px;
    }

    .gn-custom-product-fileter-heading {
        flex-direction: column;
    }

    .gn-custom-product-fileter-card {
        height: 118px;
        padding: 16px;
    }

    .gn-custom-product-fileter-title {
        font-size: 20px;
    }
}
