.fpml-shop-filters {
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    box-sizing: border-box;
    color: #111;
    font-size: 14px;
    margin: 0 0 24px;
    padding: 0;
    width: 100%;
}

.fpml-shop-filters--loading {
    opacity: 0.68;
    pointer-events: none;
    position: relative;
}

.fpml-shop-filters--loading::after {
    background: rgba(255, 255, 255, 0.76);
    bottom: 0;
    content: "";
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.fpml-shop-filters,
.fpml-shop-filters * {
    box-sizing: border-box;
}

.fpml-shop-filters__head {
    align-items: center;
    border-bottom: 1px solid #ededed;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    padding: 15px 16px;
}

.fpml-shop-filters__head strong {
    color: #111;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.2;
    text-transform: uppercase;
}

.fpml-shop-filters__clear {
    color: #06a94d;
    flex: 0 0 auto;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
}

.fpml-shop-filters__clear:hover {
    color: #057f3b;
    text-decoration: underline;
}

.fpml-shop-filters__grid {
    display: grid;
    gap: 0;
}

.fpml-shop-filters__static {
    border-bottom: 1px solid #ededed;
    padding: 14px 16px;
}

.fpml-shop-filters__static h3 {
    color: #111;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.2;
    margin: 0 0 11px;
    padding: 0;
    text-transform: none;
}

.fpml-shop-filters__static ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.fpml-shop-filters__static li {
    margin: 0 0 8px;
    padding: 0;
}

.fpml-shop-filters__static li:last-child {
    margin-bottom: 0;
}

.fpml-shop-filters__static a {
    align-items: baseline;
    color: #222;
    display: flex;
    font-size: 13px;
    font-weight: 500;
    gap: 6px;
    line-height: 1.25;
    text-decoration: none;
}

.fpml-shop-filters__static a:hover span {
    text-decoration: underline;
}

.fpml-shop-filters__static em {
    color: #9a9a9a;
    flex: 0 0 auto;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
}

.fpml-shop-filters__categories .is-current > a {
    color: #111;
    font-weight: 800;
}

.fpml-shop-filters__recommended-list {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.fpml-shop-filters__recommended-list a {
    align-items: center;
    background: #f6f7f7;
    border: 1px solid #dedede;
    border-radius: 4px;
    color: #161616;
    display: inline-flex;
    flex: 0 1 auto;
    font-size: 12px;
    font-weight: 700;
    gap: 6px;
    line-height: 1.2;
    max-width: 100%;
    min-height: 30px;
    padding: 6px 8px;
    text-decoration: none;
}

.fpml-shop-filters__recommended-list a:hover {
    background: #efefef;
    border-color: #cfcfcf;
}

.fpml-shop-filters__recommended-list a:hover span {
    text-decoration: none;
}

.fpml-shop-filters__recommended-list span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.fpml-shop-filters__recommended-list em {
    background: #fff;
    border: 1px solid #d8d8d8;
    border-radius: 999px;
    color: #777;
    font-size: 11px;
    line-height: 1;
    padding: 3px 5px;
}

.fpml-shop-filters__price-inputs {
    /*align-items: center;*/
    display: grid;
    gap: 8px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 30px;
    margin-top: 12px;
}

.fpml-shop-filters .fpml-shop-filters__price-inputs input[type="number"] {
    border: 1px solid #c9c9c9;
    border-radius: 4px;
    font-size: 13px;
    height: 30px;
    line-height: 20px;
    min-width: 0;
    padding: 4px 8px;
    width: 100%;
}

.fpml-shop-filters .fpml-shop-filters__price-inputs button[type="submit"] {
    align-items: center;
    background: #b8b8b8;
    border: 0;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    font-size: 22px;
    font-weight: 700;
    height: 30px;
    justify-content: center;
    line-height: 1;
    margin: 0;
    min-height: 0;
    min-width: 0;
    padding: 0 0 2px;
    text-align: center;
    width: 30px;
}

.fpml-shop-filters .fpml-shop-filters__price-inputs button[type="submit"]:hover {
    background: #8f8f8f;
}

.fpml-shop-filters__group {
    border: 0;
    border-bottom: 1px solid #ededed;
    margin: 0;
    min-width: 0;
    padding: 14px 16px;
}

.fpml-shop-filters__group:last-child {
    border-bottom: 0;
}

.fpml-shop-filters__group legend {
    color: #111;
    display: block;
    float: left;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.2;
    margin: 0 0 10px;
    padding: 0;
    text-transform: uppercase;
    width: 100%;
}

.fpml-shop-filters__options {
    clear: both;
    max-height: 184px;
    overflow: auto;
    padding-right: 5px;
    scrollbar-width: thin;
}

.fpml-shop-filters__options::-webkit-scrollbar {
    width: 6px;
}

.fpml-shop-filters__options::-webkit-scrollbar-thumb {
    background: #c9c9c9;
}

.fpml-shop-filters__group label {
    align-items: flex-start;
    color: #202020;
    cursor: pointer;
    display: flex;
    font-size: 13px;
    font-weight: 600;
    gap: 9px;
    line-height: 1.25;
    margin: 0 0 10px;
}

.fpml-shop-filters__group label em {
    color: #767676;
    flex: 0 0 auto;
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    margin-left: auto;
}

.fpml-shop-filters__group label:last-child {
    margin-bottom: 0;
}

.fpml-shop-filters__group input[type="checkbox"] {
    appearance: none;
    background: #fff;
    border: 1px solid #8d8d8d;
    border-radius: 2px;
    flex: 0 0 auto;
    height: 14px;
    margin: 1px 0 0;
    width: 14px;
}

.fpml-shop-filters__group input[type="checkbox"]:checked {
    background: #111;
    border-color: #111;
    box-shadow: inset 0 0 0 3px #fff;
}

.fpml-shop-filters__group span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.fpml-shop-filters--bar {
    box-shadow: 0 8px 24px rgba(18, 24, 32, 0.04);
    margin-bottom: 28px;
}

.fpml-shop-filters--bar .fpml-shop-filters__grid {
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    padding: 14px 16px;
}

.fpml-shop-filters--bar .fpml-shop-filters__static {
    border-bottom: 1px solid #ededed;
}

.fpml-shop-filters--bar .fpml-shop-filters__group {
    background: #fafafa;
    border: 1px solid #ededed;
    padding: 12px;
}

.fpml-shop-filters--bar .fpml-shop-filters__options {
    max-height: 144px;
}

.widget .fpml-shop-filters,
.wp-block-widget .fpml-shop-filters {
    margin-bottom: 0;
}

.fpml-featured-shop-cats {
    border-bottom: 1px solid #eeeeee;
    clear: both;
    margin: 0 0 28px;
    padding-bottom: 24px;
    width: 100%;
}

.fpml-featured-shop-cats__head {
    border-bottom: 1px solid #eeeeee;
    margin-bottom: 14px;
    padding-bottom: 10px;
}

.fpml-featured-shop-cats__head h2 {
    color: #222;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.25;
    margin: 0;
}

.fpml-recommended-products {
    display: block;
}

.fpml-recommended-products__summary {
    align-items: center;
    cursor: pointer;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    list-style: none;
    user-select: none;
}

.fpml-recommended-products__summary::-webkit-details-marker {
    display: none;
}

.fpml-recommended-products__summary h2 {
    min-width: 0;
}

.fpml-recommended-products__cue {
    align-items: center;
    border: 1px solid #d9d9d9;
    border-radius: 999px;
    display: inline-flex;
    flex: 0 0 auto;
    height: 28px;
    justify-content: center;
    position: relative;
    width: 28px;
}

.fpml-recommended-products__cue::before {
    border-bottom: 2px solid #222;
    border-right: 2px solid #222;
    content: "";
    height: 7px;
    margin-top: -3px;
    transform: rotate(45deg);
    transition: transform 0.18s ease;
    width: 7px;
}

.fpml-recommended-products__cue::after {
    animation: fpml-subtle-pulse 1.8s ease-in-out infinite;
    border: 1px solid rgba(37, 196, 112, 0.45);
    border-radius: inherit;
    bottom: -4px;
    content: "";
    left: -4px;
    position: absolute;
    right: -4px;
    top: -4px;
}

.fpml-recommended-products[open] .fpml-recommended-products__cue::before {
    margin-top: 3px;
    transform: rotate(225deg);
}

.fpml-recommended-products[open] .fpml-recommended-products__cue::after {
    animation: none;
    opacity: 0;
}

@keyframes fpml-subtle-pulse {
    0% {
        opacity: 0;
        transform: scale(0.88);
    }
    45% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(1.12);
    }
}

.fpml-featured-shop-cats__grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}

.fpml-featured-shop-cats__card {
    align-items: center;
    background: #f8f8f8;
    border: 1px solid #eeeeee;
    color: #222;
    display: flex;
    flex-direction: column;
    min-height: 188px;
    padding: 16px 12px 14px;
    text-align: center;
    text-decoration: none;
    transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.fpml-featured-shop-cats__card:hover {
    border-color: #d8d8d8;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
    color: #111;
    transform: translateY(-1px);
    text-decoration: none;
}

.fpml-featured-shop-cats__image {
    align-items: center;
    aspect-ratio: 1 / 0.72;
    display: flex;
    justify-content: center;
    margin-bottom: 12px;
    width: 100%;
}

.fpml-featured-shop-cats__image img {
    display: block;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    width: 100%;
}

.fpml-featured-shop-cats__name {
    color: #222;
    display: block;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.fpml-featured-shop-cats__count {
    color: #888;
    display: block;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.2;
    margin-top: 5px;
}

.fpml-recommended-products__grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}

.fpml-recommended-products__card {
    align-items: center;
    background: #fff;
    border: 1px solid #eeeeee;
    color: #222;
    display: flex;
    flex-direction: column;
    min-height: 188px;
    padding: 16px 12px 14px;
    text-align: center;
    text-decoration: none;
    transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.fpml-recommended-products__card--best-price {
    border-color: #bfe8d0;
    box-shadow: inset 0 0 0 1px rgba(36, 174, 98, 0.12);
}

.fpml-recommended-products__card:hover {
    border-color: #d8d8d8;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
    color: #111;
    transform: translateY(-1px);
    text-decoration: none;
}

.fpml-recommended-products__image {
    align-items: center;
    aspect-ratio: 1 / 0.72;
    display: flex;
    justify-content: center;
    margin-bottom: 12px;
    width: 100%;
}

.fpml-recommended-products__image img {
    display: block;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    width: 100%;
}

.fpml-recommended-products__name {
    color: #222;
    display: -webkit-box;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
    min-height: 32px;
    overflow: hidden;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.fpml-recommended-products__badge {
    align-self: flex-start;
    background: #e9f8ef;
    border: 1px solid #c4ead1;
    border-radius: 999px;
    color: #16824a;
    display: inline-flex;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    margin: -2px 0 8px;
    padding: 5px 8px;
}

.fpml-recommended-products__price {
    color: #111;
    display: block;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.2;
    margin-top: 7px;
}

.fpml-recommended-products__price del {
    color: #858585;
    font-size: 12px;
    font-weight: 500;
    margin-right: 4px;
}

@media (max-width: 768px) {
    .fpml-shop-filters--bar .fpml-shop-filters__grid {
        grid-template-columns: 1fr;
    }

    .fpml-featured-shop-cats__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fpml-featured-shop-cats__card {
        min-height: 158px;
        padding: 12px 10px;
    }

    .fpml-featured-shop-cats__head h2 {
        font-size: 19px;
    }

    .fpml-recommended-products__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fpml-recommended-products__card {
        min-height: 158px;
        padding: 12px 10px;
    }

    .fpml-recommended-products__price {
        font-size: 12px;
    }
}
