.ffnf-cat-cards-active .products .col-inner {
    height: 100%;
    position: relative;
}

.ffnf-cat-cards-active .products .product-small {
    background: #fff;
    border: 1px solid #f2e7ec;
    border-radius: 10px;
    box-shadow: 0 8px 22px rgba(58, 24, 35, 0.05);
    height: 100%;
    padding: 8px;
}

.ffnf-cat-cards-active .products .product-small .box-image {
    background: #f7f7f7;
    border-radius: 9px !important;
    margin: 0 auto 9px;
    overflow: hidden;
    position: relative;
    width: 100% !important;
}

.ffnf-cat-cards-active .products .product-small .box-image img {
    object-fit: contain;
}

.ffnf-cat-cards-active .product-small .box-image {
    background: #f7f7f7;
    border-radius: 9px !important;
    margin: 0 auto 9px;
    overflow: hidden;
    position: relative;
    width: 100% !important;
}

.ffnf-cat-cards-active .product-small .box-image img {
    object-fit: contain;
}

.ffnf-cat-cards-active .products .product-small .box-text {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 0 3px 2px;
    text-align: center !important;
}

.ffnf-cat-cards-active .products .product-small .title-wrapper {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin: 0;
    text-align: center;
    width: 100%;
}

.ffnf-cat-cards-active .products .product-small .price-wrapper {
    margin: 3px 0 0;
    width: 100%;
}

.ffnf-cat-cards-active .products .product-small .product-title,
.ffnf-cat-cards-active .products .product-small .product-title a {
    color: #1d1d1f;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.16;
    margin: 0;
    text-transform: none;
}

.ffnf-cat-cards-active .products .product-small .price {
    color: #1d1d1f;
    display: flex;
    flex-wrap: wrap;
    gap: 2px 5px;
    justify-content: center;
    line-height: 1.1;
    margin: 0;
    text-align: center;
}

.ffnf-cat-cards-active .products .product-small .price,
.ffnf-cat-cards-active .products .product-small .price .amount,
.ffnf-cat-cards-active .products .product-small .price bdi {
    font-size: 14px;
    font-weight: 800;
}

.ffnf-cat-cards-active .products .product-small .price del,
.ffnf-cat-cards-active .products .product-small .price del .amount {
    color: #858088;
    font-weight: 600;
}

.ffnf-cat-cards-active .products .product-small .price ins,
.ffnf-cat-cards-active .products .product-small .price ins .amount {
    color: #b51200;
    font-weight: 900;
    text-decoration: none;
}

.ffnf-cat-cards-active .products .product-small .woocommerce-price-suffix {
    display: none;
}

.ffnf-cat-card-rating {
    align-items: center;
    color: #6d6870;
    display: flex;
    font-size: 13px;
    gap: 7px;
    justify-content: center;
    line-height: 1;
    min-height: 18px;
    width: 100%;
}

.ffnf-cat-card-rating--empty {
    display: none;
}

.ffnf-cat-card-stars {
    color: #dedee2;
    display: inline-block;
    flex: 0 0 auto;
    font-size: 18px;
    letter-spacing: -1px;
    line-height: 1;
    position: relative;
}

.ffnf-cat-card-stars::before,
.ffnf-cat-card-stars > span::before {
    content: "★★★★★";
}

.ffnf-cat-card-stars > span {
    color: #ef7d98;
    left: 0;
    overflow: hidden;
    position: absolute;
    top: 0;
    white-space: nowrap;
}

.ffnf-cat-card-rating__text {
    font-weight: 600;
    white-space: nowrap;
}

.ffnf-cat-card-claim {
    color: #6c6871;
    display: -webkit-box;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.28;
    margin: 1px auto 0;
    max-width: 96%;
    min-height: 34px;
    overflow: hidden;
    text-align: center;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.ffnf-cat-card-claim--empty {
    display: none;
}

.ffnf-cat-cards-active .products .box-image .image-tools.top.right {
    opacity: 1;
    pointer-events: none;
    right: 10px;
    top: 10px;
    transform: none;
}

.ffnf-cat-cards-active .box-image .image-tools.top.right {
    opacity: 1 !important;
    pointer-events: none;
    right: 10px;
    top: 10px;
    transform: none !important;
    visibility: visible !important;
}

.ffnf-cat-cards-active .products .box-image .image-tools.top.right:empty,
.ffnf-cat-cards-active .box-image .image-tools.top.right:empty {
    display: none;
}

.ffnf-cat-card-bestseller {
    align-items: center;
    background: #ef7d98;
    border-radius: 8px;
    color: #fff;
    display: inline-flex;
    font-size: 12px;
    font-weight: 900;
    justify-content: center;
    letter-spacing: 0.01em;
    line-height: 1;
    opacity: 1 !important;
    padding: 9px 12px;
    text-transform: uppercase;
    visibility: visible !important;
    white-space: nowrap;
}

.ffnf-cat-cards-active .products .badge-container {
    left: 0;
    margin: 0 !important;
    position: absolute !important;
    top: 0;
    transform: none !important;
    z-index: 6;
}

.ffnf-cat-cards-active .products .badge-container .badge,
.ffnf-cat-cards-active .products .badge-container .badge-inner {
    border-radius: 999px;
    height: auto;
    min-height: 0;
    min-width: 0;
    width: auto;
}

.ffnf-cat-cards-active .products .badge-container .badge-inner.on-sale {
    align-items: center;
    background: #351620;
    box-shadow: 0 8px 18px rgba(53, 22, 32, 0.18);
    color: #fff;
    display: inline-flex;
    font-size: 13px;
    font-weight: 900;
    justify-content: center;
    line-height: 1;
    min-width: 44px;
    padding: 9px 10px;
}

.ffnf-cat-card-sale {
    align-items: center;
    background: #351620 !important;
    border-radius: 999px;
    box-shadow: 0 8px 18px rgba(53, 22, 32, 0.18);
    color: #fff !important;
    display: inline-flex !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    height: auto !important;
    justify-content: center;
    line-height: 1 !important;
    margin: 0 !important;
    min-height: 0 !important;
    min-width: 46px;
    padding: 9px 10px !important;
    position: static !important;
    text-align: center;
    transform: none !important;
    width: auto !important;
}

.ffnf-cat-cards-active .product-small .box-text {
    align-items: center;
    gap: 7px;
    text-align: center !important;
}

.ffnf-cat-cards-active .product-small .title-wrapper {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 5px;
    text-align: center;
    width: 100%;
}

.ffnf-cat-cards-active .product-small .price-wrapper {
    margin: 5px 0 0 !important;
    width: 100%;
}

.ffnf-cat-cards-active .product-small .price {
    justify-content: center;
    text-align: center;
}

.ffnf-cat-cards-active .badge-container {
    left: 0;
    margin: 0 !important;
    position: absolute !important;
    top: 0;
    transform: none !important;
    z-index: 6;
}

@media (max-width: 849px) {
    .ffnf-cat-cards-active .products .product-small {
        padding: 7px;
    }

    .ffnf-cat-cards-active .products .product-small .product-title,
    .ffnf-cat-cards-active .products .product-small .product-title a {
        font-size: 15px;
    }

    .ffnf-cat-card-bestseller {
        border-radius: 7px;
        font-size: 11px;
        padding: 8px 10px;
        right: 8px;
        top: 8px;
    }
}

@media (max-width: 549px) {
    .ffnf-cat-cards-active .row.equalize-box.small-columns-2 {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .ffnf-cat-cards-active .row.equalize-box.small-columns-2 > .col {
        padding-left: 6px !important;
        padding-right: 6px !important;
    }

    .ffnf-cat-cards-active .row.equalize-box.small-columns-2 .product-small .box-image {
        aspect-ratio: 0.9;
        height: auto !important;
    }

    .ffnf-cat-cards-active .row.equalize-box.small-columns-2 .product-small .box-image > div:first-child,
    .ffnf-cat-cards-active .row.equalize-box.small-columns-2 .product-small .box-image > div:first-child > a {
        display: block;
        height: 100%;
    }

    .ffnf-cat-cards-active .row.equalize-box.small-columns-2 .product-small .box-image img.attachment-thumbnail {
        height: 100% !important;
        max-width: none !important;
        object-fit: cover !important;
        object-position: center center;
        transform: translateX(-10px);
        width: calc(100% + 20px) !important;
    }

    .ffnf-cat-cards-active .products .product-small {
        border-radius: 9px;
        padding: 6px;
    }

    .ffnf-cat-cards-active .products .product-small .box-text {
        gap: 6px;
        padding: 0 1px 1px;
    }

    .ffnf-cat-cards-active .product-small .box-text {
        gap: 6px;
    }

    .ffnf-cat-cards-active .products .product-small .product-title,
    .ffnf-cat-cards-active .products .product-small .product-title a {
        font-size: 14px;
        line-height: 1.15;
    }

    .ffnf-cat-cards-active .products .product-small .price,
    .ffnf-cat-cards-active .products .product-small .price .amount,
    .ffnf-cat-cards-active .products .product-small .price bdi {
        font-size: 13px;
    }

    .ffnf-cat-card-rating {
        font-size: 12px;
        gap: 5px;
        min-height: 16px;
    }

    .ffnf-cat-card-stars {
        font-size: 16px;
    }

    .ffnf-cat-card-claim {
        font-size: 12px;
        line-height: 1.24;
        margin-top: 2px;
        min-height: 30px;
    }

    .ffnf-cat-card-bestseller {
        font-size: 10px;
        padding: 7px 8px;
    }

    .ffnf-cat-cards-active .products .badge-container {
        left: 0;
        top: 0;
    }

    .ffnf-cat-cards-active .badge-container {
        left: 0;
        top: 0;
    }

    .ffnf-cat-cards-active .products .badge-container .badge-inner.on-sale,
    .ffnf-cat-card-sale {
        font-size: 11px !important;
        min-width: 40px;
        padding: 8px 8px !important;
    }
}
