
/* Browser-only preview; no production enqueue or activation. */
html body.tax-product_cat .products :where(.sf-approved-card) .product-wrapper .product-title {
    height: 21px !important;
    min-height: 21px !important;
    margin-bottom: 5px !important;
    line-height: 21px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
}
html body.tax-product_cat .products :where(.sf-approved-card) .product-wrapper .product-title a {
    display: block !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 21px !important;
    color: #e6e8ec !important;
    white-space: nowrap !important;
    text-overflow: ellipsis;
    overflow: hidden;
}
.sf-card-traits {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin: 0 0 8px;
}
.sf-card-trait {
    display: inline-flex;
    align-items: center;
    min-height: 20px;
    padding: 2px 6px;
    border-radius: 5px;
    background: #f9d504;
    color: #171717;
    font-size: 10px;
    font-weight: 600;
    line-height: 16px;
    white-space: nowrap;
    box-sizing: border-box;
}
html body.archive.tax-product_cat .products.grid-view.products-wrap :where(.sf-approved-card) .product-wrapper .product-info .product-price .price .woocommerce-price-suffix,
html body.archive.tax-product_cat .products.grid-view.products-wrap :where(.sf-approved-card) .product-wrapper .product-info .product-price .price .woocommerce-price-suffix * {
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 18px !important;
    color: #aeb5bf !important;
}
html body.tax-product_cat .products :where(.sf-approved-card) .product-wrapper .product-buttons {
    gap: 12px !important;
}
@media (min-width: 768px) {
    html body.tax-product_cat .products :where(.sf-approved-card) .product-wrapper .product-buttons > .quantity {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

/* The net label and amount are one unbreakable, larger inline unit. */
html body.archive.tax-product_cat .products.grid-view.products-wrap :where(.sf-approved-card) .product-wrapper .product-info .product-price > .price {
    display: flex !important;
    align-items: baseline !important;
    flex-wrap: wrap !important;
    gap: 3px 8px !important;
}
html body.archive.tax-product_cat .products.grid-view.products-wrap :where(.sf-approved-card) .product-wrapper .product-info .product-price .price > .woocommerce-Price-amount {
    flex: 0 0 auto;
    white-space: nowrap;
}
html body.archive.tax-product_cat .products.grid-view.products-wrap :where(.sf-approved-card) .product-wrapper .product-info .product-price .price .woocommerce-price-suffix {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: baseline !important;
    flex: 0 0 auto !important;
    gap: 3px !important;
    margin: 0 !important;
    white-space: nowrap !important;
}
html body.archive.tax-product_cat .products.grid-view.products-wrap :where(.sf-approved-card) .product-wrapper .product-info .product-price .price .woocommerce-price-suffix,
html body.archive.tax-product_cat .products.grid-view.products-wrap :where(.sf-approved-card) .product-wrapper .product-info .product-price .price .woocommerce-price-suffix * {
    font-size: 13px !important;
    line-height: 20px !important;
}

/* Only the newly requested exact model line; previous preview stays unchanged. */
html body.tax-product_cat .products :where(.sf-approved-card) .product-wrapper a.sf-card-model {
    display: block;
    min-height: 17px;
    margin: 0 0 6px;
    color: #b8bec7 !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 17px !important;
    text-decoration: none;
    white-space: normal !important;
    overflow-wrap: anywhere;
}
@media (max-width: 767px) {
    html body.tax-product_cat .products :where(.sf-approved-card) .product-wrapper a.sf-card-model {
        min-height: 34px;
    }
}

/* Browser-only refinement: desktop badges beside the title; larger gross price. */
.sf-card-heading-row {
    display: flex;
    flex-direction: column;
}
.sf-card-heading-row > .product-title { order: 0; }
.sf-card-heading-row > .sf-card-model { order: 1; }
.sf-card-heading-row > .sf-card-traits { order: 2; }
@media (min-width: 1025px) {
    .sf-card-heading-row {
        display: grid;
        grid-template-columns: minmax(0, max-content) minmax(0, 1fr);
        grid-template-areas: "title traits" "model model";
        align-items: start;
        column-gap: 8px;
        row-gap: 4px;
    }
    html body.tax-product_cat .products :where(.sf-approved-card) .product-wrapper .sf-card-heading-row > .product-title {
        grid-area: title;
        margin-bottom: 0 !important;
    }
    .sf-card-heading-row > .sf-card-traits {
        grid-area: traits;
        margin: 0;
        min-width: 0;
    }
    .sf-card-heading-row > .sf-card-model { grid-area: model; }
}
html body.archive.tax-product_cat .products.grid-view.products-wrap :where(.sf-approved-card) .product-wrapper .product-info .product-price .price > .woocommerce-Price-amount,
html body.archive.tax-product_cat .products.grid-view.products-wrap :where(.sf-approved-card) .product-wrapper .product-info .product-price .price > .woocommerce-Price-amount * {
    font-size: 20px !important;
    line-height: 28px !important;
}

/* Mobile-only browser preview; desktop variant is intentionally unchanged. */
@media (max-width: 767px) {
    html body.tax-product_cat .products :where(.sf-approved-card) .product-wrapper .sf-card-heading-row > .product-title {
        margin-bottom: 0 !important;
    }
    html body.tax-product_cat .products :where(.sf-approved-card) .product-wrapper a.sf-card-model {
        min-height: 0 !important;
        margin-bottom: 4px !important;
        line-height: 16px !important;
    }
    .sf-card-heading-row > .sf-card-traits {
        margin-bottom: 4px;
    }
    html body.archive.tax-product_cat .products.grid-view.products-wrap :where(.sf-approved-card) .product-wrapper .product-info .product-price {
        margin-top: 0 !important;
        margin-bottom: 4px !important;
    }
    html body.archive.tax-product_cat .products.grid-view.products-wrap :where(.sf-approved-card) .product-wrapper .product-info .product-price > .price {
        row-gap: 1px !important;
    }
    html body.archive.tax-product_cat .products.grid-view.products-wrap :where(.sf-approved-card) .product-wrapper .product-info .product-price .price > .woocommerce-Price-amount,
    html body.archive.tax-product_cat .products.grid-view.products-wrap :where(.sf-approved-card) .product-wrapper .product-info .product-price .price > .woocommerce-Price-amount * {
        line-height: 26px !important;
    }
    html body.archive.tax-product_cat .products.grid-view.products-wrap :where(.sf-approved-card) .product-wrapper .product-info .product-price .price .woocommerce-price-suffix,
    html body.archive.tax-product_cat .products.grid-view.products-wrap :where(.sf-approved-card) .product-wrapper .product-info .product-price .price .woocommerce-price-suffix * {
        line-height: 18px !important;
    }
    html body.tax-product_cat .products :where(.sf-approved-card) .product-wrapper .product-buttons {
        gap: 8px !important;
    }
}

/* Mobile-only preview: gross left; net label above net amount, on the right. */
@media (max-width: 767px) {
    html body.archive.tax-product_cat .products.grid-view.products-wrap :where(.sf-approved-card) .product-wrapper .product-info .product-price > .price {
        flex-wrap: nowrap !important;
        align-items: center !important;
        gap: 8px !important;
    }
    html body.archive.tax-product_cat .products.grid-view.products-wrap :where(.sf-approved-card) .product-wrapper .product-info .product-price .price .woocommerce-price-suffix {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0 !important;
    }
    html body.archive.tax-product_cat .products.grid-view.products-wrap :where(.sf-approved-card) .product-wrapper .product-info .product-price .price .woocommerce-price-suffix .sf-card-net-label {
        font-size: 10px !important;
        line-height: 12px !important;
    }
}
@media (max-width: 359px) {
    html body.archive.tax-product_cat .products.grid-view.products-wrap :where(.sf-approved-card) .product-wrapper .product-info .product-price > .price {
        gap: 2px !important;
        /* Reclaim a little inner padding, never extending beyond the card. */
        width: calc(100% + 6px) !important;
    }
    html body.archive.tax-product_cat .products.grid-view.products-wrap :where(.sf-approved-card) .product-wrapper .product-info .product-price .price > .woocommerce-Price-amount,
    html body.archive.tax-product_cat .products.grid-view.products-wrap :where(.sf-approved-card) .product-wrapper .product-info .product-price .price > .woocommerce-Price-amount * {
        font-size: 18px !important;
    }
    html body.archive.tax-product_cat .products.grid-view.products-wrap :where(.sf-approved-card) .product-wrapper .product-info .product-price .price .woocommerce-price-suffix * {
        font-size: 11px !important;
        line-height: 16px !important;
    }
    html body.archive.tax-product_cat .products.grid-view.products-wrap :where(.sf-approved-card) .product-wrapper .product-info .product-price .price .woocommerce-price-suffix .sf-card-net-label {
        font-size: 9px !important;
        line-height: 12px !important;
    }
}

/*# sourceURL=sf-catalog-cards-inline-css */
