/**
 * Add any custom CSS here.
 *
 * This file will be loaded after all other theme stylesheets.
 */

 

/** Chỉnh sửa vị trí bán hàng giảm giá
 * */
 
.onsale {
    background-color: #ff00;
    color: #FF0000 !important;
	border: none;
	font-weight:bold;
	text-shadow: 0.5px 0.5px #000000;
	}

ul.products li.product  .onsale {
    position: absolute;
    top: 0px;
    right: 0px;
	
}



/* Chỉnh sửa vị trí ngôi sao rating ở trang chủ và trang shop*/
ul.products li.product  .star-rating{
    position: absolute;
    top: 3px;
    left: 2px;
}


/** Chỉnh thành 2 cột ở chế độ Mobile*/

@media (max-width: 768px) {
ul.products li.product {
width: 49%;
float: left;
clear: both;
}

ul.products li.product:nth-child(2n) {
clear: none;
float: right;
}
}


/* Tạo menu cố định khá đẹp - hanoihoa*/

@media screen and (max-width: 768px) {
  .main-navigation .current_page_item > a, .main-navigation .current-menu-item > a, .main-navigation .current_page_ancestor > a, .main-navigation .current-menu-ancestor > a 
{
color: rgba(0, 0, 0, 0.5)!important;
    font-size: 1.1rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;	
	}
}


/** Bo tròn search box */

.widget_product_search input{
	border-radius:10px;
	background:white;
	border: 1px solid brown;
	}



.main-navigation {
	text-transform: uppercase;
	
}


/* giảm bớt khoảng cách giữa các row products */
 
 .woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
    margin-bottom:25px;
}




/* tạo viền màu xung quanh product */

ul.products li.product  img {
	border-radius:10px;
    border: 1px solid brown;
}
