/*
Theme Name:     Tokoo Child
Theme URI:      https://madrasthemes.com/tokoo
Author:         MadrasThemes
Author URI:     https://madrasthemes.com/
Description:    This is the child theme for the tokoo theme
Template:       tokoo
Version:        1.1.17
License:        GNU General Public License v2 or later
License URI:    http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:    tokoo-child
Tags:           e-commerce, two-columns, left-sidebar, right-sidebar, custom-colors, custom-menu, featured-images, full-width-template, threaded-comments, rtl-language-support, footer-widgets, sticky-post, theme-options
*/

/*
!* Hide all elements with the class sku-text *!
.sku-text {
    display: none !important;
}

!* Make all product cards equal height *!
ul.products li.product {
    display: flex;
}

ul.products li.product .product-outer,
ul.products li.product .product-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

!* Force same image size *!
ul.products li.product .product-header {
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

!* Fix image scaling *!
ul.products li.product .product-header img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

!* Prevent long descriptions from breaking layout *!
ul.products li.product .woocommerce-product-details__short-description {
    display: none;
}

!* Keep footer aligned *!
ul.products li.product .product-body {
    flex-grow: 1;
}

!*

-----------------------------

*!

!* Force same image area *!
ul.products li.product .product-header {
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

!* Normalize product images *!
ul.products li.product .product-header img {
    max-height: 100%;
    width: auto;
    object-fit: contain;
}

!* Make product cards equal height *!
ul.products li.product {
    display: flex;
}

ul.products li.product .product-outer,
ul.products li.product .product-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

!* Push price/stock to bottom *!
.product-body {
    flex-grow: 1;
}*/
/* Hide shipping fields */
.woocommerce-shipping-fields {
    display: none !important;
}

/* Custom price style */
.cmimi-web {
    font-weight: bold;
    color: #0073aa;
}

.cmimi-web .price {
    font-weight: normal;
    color: #333;
}

/* Hide SKU */
.sku-text {
    display: none !important;
}

/* Equal product card height */
ul.products li.product .product-outer,
ul.products li.product .product-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Image area */
ul.products li.product .product-header {
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Product images */
ul.products li.product .product-header img {
    max-height: 100%;
    width: auto;
    object-fit: contain;
}

/* Hide long description in loop */
ul.products li.product .woocommerce-product-details__short-description {
    display: none;
}

/* Push footer content down */
ul.products li.product .product-body {
    flex-grow: 1;
}

/* Prevent price breaking */
ul.products li.product .price {
    white-space: nowrap;
}