/*
Theme Name: GreenMart Child
Theme URI: https://demo.thembay.com/greenmart/
Author: Thembay
Description: This is a child theme for GreenMart
Version: 2.0
Author URI: https://thembay.com/
Template: greenmart
Text Domain: greenmart-child
*/

/*  [ OVERRIDE CSS ]
- - - - - - - - - - - - - - - - - - - - */

/************************* OVERRIDE CSS DEFAULT *************************/
.hidden {display:none;}
.single-product .woocommerce-product-rating .rate-sold {display:none !important;}

/* HEADER */
.site-header .elementor-element-populated .elementor-icon-box-content h3{color:var(--tb-color-second) !important;}
.site-header .elementor-element-populated .elementor-icon-box-content p{color:#fff !important;}
.elementor-2956 .elementor-element.elementor-element-78aa8c9 .cart-popup .mini-cart-items {border-color:var(--tb-theme-color);}
.mini_cart_content ul img {max-width:40px;} /* img Mini Cart */
.elementor-widget-tbay-nav-menu .tbay-horizontal .navbar-nav > li.menu-item-has-children .dropdown-menu {min-width:250px;}

/* IMAGES Top Header Recent Items */
.product-recently-viewed-header .list-recent img{max-height:120px;max-width:75%;width:auto;}

/* IMAGES */
.products-grid .product-content img{width:auto;max-height:250px;margin-left:auto;margin-right:auto;} /* images category */
.product-block.grid .image{text-align:center;margin-left:auto;margin-right:auto;}
.woocommerce-product-gallery__image img{width:auto!important;margin-left:auto;margin-right:auto;}

/* IMAGES Left and Right Products Thumbnail (Reviwed Products) */
.sidebar ul.product_list_widget > li img, .sidebar-right ul.product_list_widget > li img {width:auto;max-width:80px;max-height:75px;margin-left:auto;margin-right:auto;}


/* Text Product Category / Product Detail Pages */
.site-content .product .tab-content ul {list-style:none;}
.shop-page .product ul li:before {content:"\f105"; font-family:"FontAwesome"; font-size:1.1em; color:var(--tb-theme-color); font-style:normal; font-weight:700; line-height:18px; margin-right:10px; text-decoration:inherit;
  -webkit-transition: all 0.2s ease-in-out 0s;
  -ms-transition: all 0.2s ease-in-out 0s;
  -o-transition: all 0.2s ease-in-out 0s;
  transition: all 0.2s ease-in-out 0s;}
.products-list .product-image img{max-height:275px; width:auto!important; margin-left:auto; margin-right:auto;}
.products-list  .product-block .block-inner {text-align:center;}
.related.products .product-block img{max-height:200px;}


/* Product Table (<tr>) Specification */
.product_details_body tr {border-left:2px solid #fff; border-right:2px solid #fff;}
.product_details_body {margin-top:40px;}
.pvdecla {font-size:0.8em;}
.pd-rda {}
#product-declaration-title {clear:both; height:25px; font-weight:bold; text-transform:uppercase; margin-top:30px;}
.prod-declaration {margin-bottom:40px;}

/* WATERMARK Specification */
#wmark {position:absolute;}
.wmark-bckg {position:relative; top:97px; left:50%; color:#aaa; opacity: 0.2; font-size:28px; text-align:center; transform:rotate(340deg); -webkit-transform:rotate(340deg); z-index:1;}

/* CHECKOUT PAGE */
.form-row.woocommerce-invalid input[type="checkbox"] + span::before {outline:2px solid #e2401c;outline-offset:1px;}


/* COUPONS */
.wt_coupon_wrapper {margin-top:15px;}
.wt_sc_coupon_content code {color:#fff;}


/************************************************************************/
/************************* ADMIN CUSTOM WIDGETS *************************/
/************************************************************************/
.delete-sidebar {width:20px; height:20px; background: url(images/et-delete.png) no-repeat center center; display:block; text-indent: -99999px; position:absolute; right:30px; top:13px;}
.delete-sidebar:hover {cursor:pointer;}
#mtheme_add_sidebar_form:before {clear:both; display:block; content:"";}
#mtheme_add_sidebar_form {background:#fcfcfc; border:1px solid #dfdfdf; border-radius:3px; padding:10px 15px; text-align: center; margin:20px 0;}
#mtheme_add_sidebar_form h2 {text-align:center}
#mtheme_add_sidebar_form input {width:300px; max-width:100%; box-sizing:border-box; padding:5px 10px; margin-bottom:10px; clear:both;}
#mtheme_add_sidebar_form input:after {clear:both; display:block; content: "";}
.sidebar-etheme_custom_sidebar .sidebar-name {position:relative;}



/************************* MOBILE VERSION *************************/
  @media (max-width: 767px){
.woocommerce table.shop_table.cart.woocommerce-cart-form__contents tbody .cart_item .product-thumbnail img{max-width:50px;}
}