/* 
Theme Name: MPLET
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Custom is a child theme of Hello Elementor
Author: Switch One
Author URI: https://switch-one.com/
Template: hello-elementor
Version: 1.0.0
Text Domain: mplet
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/


/* menu search icon fix */
a.dgwt-wcas-search-icon,
a.js-dgwt-wcas-enable-mobile-form{
	padding: 0 !important;
	display: block !important;
}
svg.dgwt-wcas-ico-magnifier-handler{
	width: 22px !important;
	height: 22px !important;
	max-width: 22px !important;
	margin: 0 !important;
	display: block !important;
}

/* lightbox background fix */
.fancybox-is-open .fancybox-bg{
	opacity: 1 !important;
}
.fancybox-button:hover{
	background-color: #000 !important;
}

/* price fix */
.price del,
.price ins{
	display: block !important;
}
.price ins{
	text-decoration: none !important;
}
/* SALE BADGE % */
.mplet-onsale-badge {
    position: absolute;
	z-index:99 !important;
    top: -7px;
    left: -32px;
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-bottom: 50px solid #000;
    text-align: center;
    transform: rotate(-45deg);
    line-height: 40px;
}
.mplet-onsale-badge b.percent{
	color: #fff;
	font-size: 11px;
	font-weight: bold;
	top: 13px;
	left: -40px;
	position: absolute;
	width: 80px;
}

.mplet-onsale-badge b.label{
	color: #fff;
	font-size: 11px;
	font-weight: bold;
	top: 13px;
	left: -22px;
	position: absolute;
}

/* ADDITIONAL INFO TABLE */
.woocommerce-product-attributes.shop_attributes{
	background-color:#fff !important;
}

.woocommerce-product-attributes.shop_attributes th{
	background-color:#efefef !important;
}
.woocommerce-product-attributes.shop_attributes td{
	background-color:#fff !important;
	vertical-align:middle !important;
	color: #000 !important;
	padding-left: 20px !important;

}
.woocommerce-product-attributes.shop_attributes,
.woocommerce-product-attributes.shop_attributes th,
.woocommerce-product-attributes.shop_attributes td{
	border: 1px #000 solid !important;
}

/* archive page images loop */
.product-image-gallery {
	position: relative;
}
.product-image-gallery img {
	display: block;
	transition: opacity 0.8s ease-in-out;
}
.product-image-gallery .hover-images img {
	position: absolute;
	top: 0;
	left: 0;
	opacity: 0;
	transition: opacity 0.8s ease-in-out;
}
.product-image-gallery:hover .hover-images img {
	opacity: 1;
}
.product-image-gallery:hover .main-image {
	opacity: 0;
}

/*hide first image */
.woocommerce-LoopProduct-link.woocommerce-loop-product__link img.attachment-woocommerce_thumbnail{
	display: none !important;
}

p.woocommerce-result-count{
	margin: 20px 0px !important;
	padding-top: 20px !important;
	display: table !important;
	width: 100% !important;
	text-align: right !important;
	font-size: 14px !important;
	border-top: 1px #ececec solid;
}

[type=button], [type=submit], button{
	border: 0 !important;
	border-radius: 0 !important;

}

.lowest-price{
	display: table;
	width: 100%;
	margin: 0;
	padding: 0;
	text-align: left;
	font-size: 12px;
}

dl.variation{
	display: table !important;
	width: 100% !important;
	font-size: 12px !important;
	margin: 10px 0px 0px 0px !important;
}
dl.variation dt,
dl.variation dd{
	display: table !important;
	width: 100% !important;
	margin-left: 0px !important;
}

dl.variation dd{
	margin-bottom: 10px !important;
}

tr.shipping-pickup-store p.message{
	text-align: left;
	font-size: 12px;
}

div.quantity {
	display: table;
	width: auto;
	border: 1px solid #c1c1c1 !important;
}

input.qty {
	display: block;
	float: left;
    width: 60px !important;
	height: 60px !important;
	max-height: 60px !important;
	min-height: 60px !important;
    text-align: center !important;
	border: 0 !important;
}
input.qty:focus,
input.qty:active{
    outline: none !important;
}
/* Remove arrows in numeric input fields for most browsers */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Remove arrows in numeric input fields for Firefox */
input[type="number"] {
    -moz-appearance: textfield;
}

.quantity-buttons {
    display: block;
	float: left;
    width:50px !important;
	margin: 0 !important;
	padding: 0 !important;
	border-left:0 !important;
}

button.qty-up, button.qty-down {
	display: block !important;
	width: 100% !important;
	height: 30px !important;
    background-color: #f7f7f7 !important;
	color: #000 !important;
    padding: 5px 10px !important;
	margin: 0 !important;
	box-sizing: border-box !important;
    cursor: pointer !important;
    text-align: center !important;
	font-size: 16px !important;
    line-height: 19px !important;
}

button.qty-up:hover, button.qty-down:hover {
    background-color: #ddd !important;
}

button.qty-up{
	border-left: 1px solid #c1c1c1 !important;
	border-bottom: 1px solid #c1c1c1 !important;
}
button.qty-down {
    border-left: 1px solid #c1c1c1 !important;
}

.woocommerce td.product-quantity{
	min-width: 135px !important;
	margin: 0 !important;
	padding: 10px 0px !important;
}