/* Source-based product base, loaded BEFORE original customer skin/style.
 * :where() adds scope without increasing specificity.
 * Replaces the previous hand-tuned approximation; no invented palette/sizes.
 */
/* Porto 3.6.4 css/theme_shop.css:560; declarations unchanged. */
:where(.khm-legacy-products) .product-image {
    display: block;
    position: relative;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 7px;
    width: 100%;
    padding: 0.2381em;
}

/* Porto 3.6.4 css/theme_shop.css:572; declarations unchanged. */
:where(.khm-legacy-products) .product-image .inner {
    display: block;
    overflow: hidden;
    position: relative;
}

/* Porto 3.6.4 css/theme_shop.css:1936; declarations unchanged. */
:where(.khm-legacy-products) ul.products li.product .product-image,
:where(.khm-legacy-products) ul.products li.product-category .product-image {
    margin-bottom: 1em;
    min-height: 90px;
}

/* Porto 3.6.4 css/theme_shop.css:1975; declarations unchanged. */
:where(.khm-legacy-products) ul.products li.product .product-loop-title,
:where(.khm-legacy-products) ul.products li.product-category .product-loop-title {
    font-size: 1em;
    text-decoration: none;
}

/* Porto 3.6.4 css/theme_shop.css:1979; declarations unchanged. */
:where(.khm-legacy-products) ul.products li.product h3,
:where(.khm-legacy-products) ul.products li.product-category h3 {
    font-size: 1em;
    line-height: 1.35;
    margin-bottom: 0.7143em;
}

/* Porto 3.6.4 css/theme_shop.css:1984; declarations unchanged. */
:where(.khm-legacy-products) ul.products li.product .rating-wrap,
:where(.khm-legacy-products) ul.products li.product-category .rating-wrap {
    margin: 0 auto 1.2em;
    height: 1px;
    position: relative;
    display: table;
}

/* Porto 3.6.4 css/theme_shop.css:1990; declarations unchanged. */
:where(.khm-legacy-products) ul.products li.product .rating-wrap .rating-after,
:where(.khm-legacy-products) ul.products li.product-category .rating-wrap .rating-after,
:where(.khm-legacy-products) ul.products li.product .rating-wrap .rating-before,
:where(.khm-legacy-products) ul.products li.product-category .rating-wrap .rating-before {
    display: table-cell;
    width: 50%;
    height: 1px;
    vertical-align: middle;
}

/* Porto 3.6.4 css/theme_shop.css:1996; declarations unchanged. */
:where(.khm-legacy-products) ul.products li.product .rating-wrap .rating-after .rating-line,
:where(.khm-legacy-products) ul.products li.product-category .rating-wrap .rating-after .rating-line,
:where(.khm-legacy-products) ul.products li.product .rating-wrap .rating-before .rating-line,
:where(.khm-legacy-products) ul.products li.product-category .rating-wrap .rating-before .rating-line {
    display: block;
    height: 1px;
    width: 100%;
    margin-top: 1px;
}

/* Porto 3.6.4 css/theme_shop.css:2002; declarations unchanged. */
:where(.khm-legacy-products) ul.products li.product .rating-wrap .rating-before .rating-line,
:where(.khm-legacy-products) ul.products li.product-category .rating-wrap .rating-before .rating-line {
    background-image: - webkit-linear-gradient(right, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1) 40%, transparent);
    background-image: linear-gradient(to left, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1) 40%, transparent);
}

/* Porto 3.6.4 css/theme_shop.css:2006; declarations unchanged. */
:where(.khm-legacy-products) ul.products li.product .rating-wrap .rating-after .rating-line,
:where(.khm-legacy-products) ul.products li.product-category .rating-wrap .rating-after .rating-line {
    background-image: - webkit-linear-gradient(left, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1) 40%, transparent);
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1) 40%, transparent);
}

/* Porto 3.6.4 css/theme_shop.css:2010; declarations unchanged. */
:where(.khm-legacy-products) ul.products li.product .rating-wrap .rating-content,
:where(.khm-legacy-products) ul.products li.product-category .rating-wrap .rating-content {
    display: table-cell;
}

/* Porto 3.6.4 css/theme_shop.css:2013; declarations unchanged. */
:where(.khm-legacy-products) ul.products li.product .rating-wrap .star-rating,
:where(.khm-legacy-products) ul.products li.product-category .rating-wrap .star-rating,
:where(.khm-legacy-products) ul.products li.product .rating-wrap .star-rating span,
:where(.khm-legacy-products) ul.products li.product-category .rating-wrap .star-rating span {
    width: 6.7em;
    margin-right: -2px;
}

/* Porto 3.6.4 css/theme_shop.css:2017; declarations unchanged. */
:where(.khm-legacy-products) ul.products li.product .rating-wrap .star-rating:before,
:where(.khm-legacy-products) ul.products li.product-category .rating-wrap .star-rating:before,
:where(.khm-legacy-products) ul.products li.product .rating-wrap .star-rating span:before,
:where(.khm-legacy-products) ul.products li.product-category .rating-wrap .star-rating span:before {
    left: 0.6em;
}

/* Porto 3.6.4 css/theme_shop.css:2020; declarations unchanged. */
:where(.khm-legacy-products) ul.products li.product .description,
:where(.khm-legacy-products) ul.products li.product-category .description {
    display: none;
    margin-top: 1.5em;
}

/* Porto 3.6.4 css/theme_shop.css:2024; declarations unchanged. */
:where(.khm-legacy-products) ul.products li.product .description p,
:where(.khm-legacy-products) ul.products li.product-category .description p {
    margin-bottom: 1em;
    line-height: 1.5714em;
}

/* Porto 3.6.4 css/theme_shop.css:2028; declarations unchanged. */
:where(.khm-legacy-products) ul.products li.product .price,
:where(.khm-legacy-products) ul.products li.product-category .price {
    display: block;
    font-size: 1.4286em;
    margin-top: -0.25em;
    margin-bottom: 0.75em;
}

/* Porto 3.6.4 css/theme_shop.css:2034; declarations unchanged. */
:where(.khm-legacy-products) ul.products li.product .add-links,
:where(.khm-legacy-products) ul.products li.product-category .add-links {
    display: inline-block;
    position: relative;
    margin-bottom: 1.0714em;
}

/* Porto 3.6.4 css/theme_shop.css:2039; declarations unchanged. */
:where(.khm-legacy-products) ul.products li.product .add-links .tooltip-inner,
:where(.khm-legacy-products) ul.products li.product-category .add-links .tooltip-inner {
    white-space: nowrap;
}

/* Structural adapters only: these two wrappers did not exist in Porto 3.
 * Remove their added box decoration; preserve the original card declarations.
 */
:where(.khm-legacy-products) ul.products li.product .product-inner,
:where(.khm-legacy-products) ul.products li.product .product-content {
    background: transparent;
    padding: 0;
    border: 0;
    text-align: inherit;
}
:where(.khm-legacy-products) ul.products li.product .product-loop-title,
:where(.khm-legacy-products) ul.products li.product h3 {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    -webkit-line-clamp: unset;
    max-height: none;
}
/* Exact saved homepage css_info_box values in BOTH SQL snapshots. */
body.page-id-47 .vc_custom_1681469884098,
body.page-id-47 .vc_custom_1679381244685,
body.page-id-47 .vc_custom_1681469906728 { padding-top: 18px !important; }
