/*
	Theme Name: Rehub child theme
	Theme URI: https://wpsoul.com
	Description: A Hybrid magazine/shop/review/news Wordpress Theme
	Author: Sizam
	Author URI: https://wpsoul.com
	Version: 9.4
	Template: rehub-theme
*/

/* =Theme customization starts here
-------------------------------------------------------------- */

/* Layout fix */
.orgayush-price-block {
    display: block !important;
    line-height: 1.4;
}

.orgayush-price-block .org-row {
    display: block !important;
}

/* STRIKE FIX (Rehub override) */
.orgayush-price-block del {
    text-decoration: line-through !important;
    color: #888;
    font-size: 13px;
}

/* SALE PRICE */
.orgayush-price-block ins {
    text-decoration: none !important;
    font-size: 16px;
    font-weight: 600;
    color: #000;
}

/* DISCOUNT */
.org-discount {
    color: #28a745 !important; /* green */
    font-size: 12px;
    font-weight: 500;
}

/* Force vertical (Rehub fix) */
.grid_mart .product .price {
    display: block !important;
}


/* Make image container relative */
.grid_mart .product {
    position: relative;
}

/* Reset inherited color from .price */
.grid_mart .product .price {
    font-family: "Poppins", sans-serif;
}

.grid_mart .product .price ins {
    font-size: 17px;
    font-weight: 700;
}

.grid_mart .product .price del {
    opacity: 0.7;
}

/* ===== REMOVE FIXED HEIGHT FROM REHUB IMAGE CONTAINER ===== */
.grid_mart .product .img-centered-flex {
    height: auto !important;
    min-height: 260px;   /* base height */
    max-height: none !important;
}

/* ===== ALLOW IMAGE TO GROW FULL ===== */
.grid_mart .product img {
    max-height: 100% !important;
    width: auto !important;
    object-fit: contain;
}

/* ===== EXPAND PRODUCT CARD HEIGHT ===== */
.grid_mart .product {
    min-height: 430px !important;  /* increase full card */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Bigger image zone */
.grid_mart .product .img-centered-flex {
    min-height: 350px !important;
}
