/*
 Theme Name:   XStore Child
 Theme URI:    http://8theme.com/
 Description:  XStore Child Theme
 Author:       8theme
 Author URI:   http://8theme.com
 Template:     xstore
 Version:      1.0
 Text Domain:  xstore-child
*/

/*HOMEPAGE (Mobile): Sidebar icon*/
@media only screen and (max-width: 48em) {
	div.mobile-menu-content .et_b_header-menu .menu li a.item-link {
		width: 90%;
	}
	
	span.sub-level {
		margin-left: 20px;
	}

	.nav-mobile, .et_b_header-account .et_b-icon {
		border: solid 0.5px;
		border-radius: 50%;
		padding: 5px;
		margin-right: 7px;
	}

	.menu > li {
		border-bottom: 0.25px solid rgba(255, 255, 255, 0.3);
	}
	
	/* Cart page: Header product quantity*/
	table.cart .product-quantity {
		width: 80px;
	}
	
	.product-quantity .quantity input[type=number] {
		width: 100%;
	}
}

/*HOMEPAGE (Desktop): All departments*/
#menu-tat-ca-danh-muc-1 img {
    width: 20px;
}

/* Homepage: Popper subcategory */
.elementor-nav-menu li.sub-menu-border {
    border-bottom: 1px solid #b2b2b2;
}

.elementor-nav-menu li.menu-item {
    margin: 0 8px;
}

/* PANEL: Login */
.et_connect-block .et-off-canvas.et_b_header-account input#rememberme+span{
	max-width: fit-content;
}

/* Hompage: Banner */
.banner.et_image-hover-2:hover img{
	-webkit-transform: none;
    transform: none;
}

/* Footer: Product link */
.et-menu-list .subitem-title-holder a:hover:before {
	background-color: #fff;
}

/* Product price*/
.price ins .woocommerce-Price-amount.amount {
    color: red;
}

.price del .woocommerce-Price-amount, .et_column .price del .woocommerce-Price-amount{
    font-size: 75%;
	color: #888;
}

.product-cat-sales {
    font-size: 90%;
}

/*Catalog page*/
/*Disable pre-order tag*/
p.stock.available-on-backorder.step-1 {
    display: none;
}

/*Single product page*/
/* Return to previous page*/
.single-product .page-heading .back-history {
    display: none;
}

/* Large thumbnail border*/
.woocommerce-product-gallery.images.images-wrapper {
    border: 0;
}

/* Price background-color */
.product-content .price {
    background-color: #fafafa;
    padding: 15px;
}

/* Quantity frame css */
.product-content .cart .quantity {
    width: 100%;
	justify-content: left;
	margin-bottom: 15px;
}

/* Add to cart btn css */
.single_add_to_cart_button.button.alt, .single_add_to_cart_button.button.alt.disabled {
    margin-right: 15px;
	font-size: 90%;
	min-width: 150px;
}

.et_product-block .et-single-buy-now.single_add_to_cart_button.button, .product-content .et-single-buy-now.single_add_to_cart_button.button {
	width: auto;
	min-width: 150px;
}

/* Add to cart button alignment*/
.product-content form.cart, .product-content .woocommerce-variation-add-to-cart {
	display: block;
	-ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
}


.post-type-archive-product .page-heading.bc-type-left2.bc-color-white .title {
    display: none;
}


/* Pre-order tag css */
/*.tag-name {
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}*/

.note-tag {
    display: inline-block;
    position: relative;
    padding: 0 20px 0 10px;
	margin-bottom: 15px;
    height: 26px;
    line-height: 26px;
    color: #fff;
    font-size: 14px;
    background-color: #f57224;
}
.note-tag:after {
    position: absolute;
    top: 0;
    right: -7px;
    display: inline-block;
    content: "";
    border-color: #ff9800 transparent;
    border-style: solid;
    border-width: 13px 7px;
}

.tag-name .fas {
    margin-right: 5px;
}


/* Cart page */
button[name="update_cart"] {
    display: none;
}

tr.order-total .amount {
    color: red!important;
}

/* Thank you page */
ul.woocommerce-order-overview.order_details {
    text-align: left;
}

.woocommerce-order .checkout-additional-notes {
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.woocommerce-order .additional-title {
    font-weight: bold;
}