
/* PRODUCT GRID */
.product-grid {
    margin-top: 20px;
}

.product-card {
    background: #fff;
    border-radius: 12px;
    padding: 12px 12px 16px;
    margin-bottom: 50px;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.product-card:after {
    content: '';
    display: block;
    margin-top: 40px;
}

.product-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

/* IMAGE WRAPPER */
.product-image {
    position: relative;
    display: block;
    width: 100%;
    padding-top: 52.5%; /* 242 / 127 ratio */
    overflow: hidden;

    background: #f7f7f7;
    border: 1px solid #ccc;
    border-radius: 10px;
}

/* IMAGE */
.product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: none;
}

.product-image img {
    transition: transform .25s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.04);
}

/* PRODUCT CONTENT */
.product-info {
    padding-top: 12px;
}

.product-title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 6px;
    min-height: 40px;
}

/* REVIEWS */
.product-reviews {
    font-size: 13px;
    color: #f5b301;
    margin-bottom: 6px;
}

.product-reviews span {
    color: #777;
    margin-left: 5px;
}

/* PRICE */
.product-price {
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 10px;
}

/* BUTTON */
.btn-product {
    background: #ffa000;
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    padding: 10px 0;
    border: none;
    border-radius: 4px;
}

.btn-product:hover,
.btn-product:focus {
    background: #e68900;
    color: #fff;
}




.product-reviews .fa-star:before {
    color: #ffcc00 !important;
}

.testimonial-click {
    font-size: 10px;
}


/* CART COUNT */
.product-cart-count {
    font-size: 12px;
    margin-top: 8px;
    font-size: 11px;
    color: #c62828;
    text-align: center;
}


/* HOT RIBBON */
/*.hot-ribbon {
    position: absolute;
    top: 10px;
    left: -35px;
    z-index: 5;

    background: #f0b000;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;

    padding: 4px 36px;
    transform: rotate(-45deg);
    box-shadow: 0 2px 5px rgba(0,0,0,.25);
}*/

.hot-ribbon-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 75px;
    height: 78px;
    overflow: hidden;
    z-index: 1; /* anchors ribbon to card stacking context */
}

.hot-ribbon {
    position: relative;        /* NOT absolute */
    top: 15px;
    left: -30px;
    padding:4px 0;          /* only vertical */
    text-align:center;      /* real centering */
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: #f0b000;
    color: #fff;
    transform: rotate(-45deg); /* keep rotation */
    box-shadow: 0 2px 5px rgba(0,0,0,.25);
    z-index: 1;
    display: block;        /* REQUIRED */
    width: 120px;          /* REQUIRED */
}

.product-card {
    position: relative;
}



.price-sale {
    color: #d32f2f !important; /* rich red, not bright */
    font-weight: 700;
    font-size: 17px;
}

.product-swatches {
    text-align: center;
    margin: 8px 0 12px;
}

.swatch-circle {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin: 3px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 1px solid #000;
    box-sizing: border-box;
}

/*.product-swatches {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin: 8px 0 12px;
    min-height: 18px;
}

.swatch-circle {
    display: block;
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    border-radius: 50%;
    background-color: #eee;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 1px solid #000;
    box-sizing: border-box;
    image-rendering: auto;
}*/

.swatch-circle:hover {
    border-color: #000;
}



@media (max-width: 767px) {

    .product-price {
        display: block;
        margin-bottom: 6px;
    }

    .product-swatches {
        justify-content: flex-start;
        flex-wrap: wrap;
        row-gap: 6px;
    }

}

.product-teaser {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
