/**
* Theme Name:        avanam-healthmart
* Theme URI:         https://templatemela.com/
* Template:          avanam
* Author:            TemplateMela
* Author URI:        #
* Description:       This is a child theme of Avanam, generated by TemplateMela.
* Version:           1.0.0
* License:           GNU General Public License v3.0 (or later)
* License URI:       https://www.gnu.org/licenses/gpl-3.0.html
* Text Domain:       avanam-healthmart
* Requires at least: 6.2
* Tested up to:      6.6
* Requires PHP:      7.4
* Tags: translation-ready, two-columns, right-sidebar, left-sidebar, footer-widgets, blog, custom-logo, custom-background, custom-menu, rtl-language-support, editor-style, threaded-comments, custom-colors, featured-images, wide-blocks, full-width-template, theme-options, e-commerce

*/

.single-product .healthmart-live-rating {
    display: flex;
    width: 100%;
    margin: 2px 0 8px;
    align-items: center;
    gap: 8px;
    line-height: 1;
}

.single-product .healthmart-live-rating__stars {
    --star-percent: calc(var(--rating) / 5 * 100%);
    display: inline-block;
    position: relative;
    color: #6f6f6f;
    font-size: 20px;
    letter-spacing: 0;
}

.single-product .healthmart-live-rating__stars::before {
    content: "★★★★★";
    position: absolute;
    inset: 0;
    width: var(--star-percent);
    overflow: hidden;
    color: #ffcc00;
    white-space: nowrap;
}

.single-product .healthmart-live-rating__count {
    color: #c6bdbd;
    font-size: 14px;
    line-height: 1;
    text-decoration: none;
}

.single-product .healthmart-live-rating__count:hover {
    color: #ffcc00;
}

.single-product .healthmart-solution-for {
    margin: 28px 0 22px;
}

.single-product .healthmart-solution-for h2 {
    margin: 0 0 12px;
    color: #c6bdbd;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.2;
}

.single-product .healthmart-solution-for__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.single-product .healthmart-solution-for__card {
    display: flex;
    min-height: 124px;
    padding: 18px 12px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
    background: #e9e5df;
    text-align: center;
}

.single-product .healthmart-solution-for__icon {
    display: flex;
    width: 50px;
    height: 50px;
    align-items: center;
    justify-content: center;
}

.single-product .healthmart-solution-for__icon img {
    display: block;
    max-width: 50px;
    max-height: 50px;
    object-fit: contain;
}

.single-product .healthmart-solution-for__card span {
    color: #878787;
    font-size: 15px;
    line-height: 1.25;
}

@media (max-width: 767px) {
    .single-product .healthmart-solution-for__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .single-product .healthmart-solution-for__card {
        min-height: 112px;
        padding: 14px 10px;
    }

    .single-product .healthmart-solution-for h2 {
        font-size: 22px;
    }
}
