/*CSS PRODUCT */
:root {
	--eras-primary:#0d2c4d ;
	--eras-price: #dd3333;
}
.product-small.col .badge-container .badge {
    height: 30px;
    width: 60px;
    font-size: 13px;
    margin-left: -8px;

}

.products .product-small .badge-container .badge {
    margin-left: -2px;
}

.home-product .col-inner,.products .product-small .col-inner, .related .product-small .product-small .col-inner{
	border-radius:10px; 
}

.home-product .product-small, .products .product-small  .product-small, .related .product-small .product-small  {  
    margin-bottom: 10px;
    padding: 10px 5px;
    background: #ffffff;
    position: relative;
    border-radius: 10px;
    box-shadow: rgb(60 64 67 / 10%) 0px 1px 2px 0px, rgb(60 64 67 / 15%) 0px 2px 6px 2px;
    transition-duration: .3s;
}
.product-small .price ins {
	font-size: 15px; 
}

.price-wrapper .price > .amount bdi, ins span.amount bdi {
	color: var(--eras-price);
	font-size: 20px;
	line-height:25px;
}

.order_details tfoot .order-actions--heading {
	display: none;
}

.price-wrapper .price del .amound bdi, .price-wrapper .price  del {
	color: #ccc;
}

.product-small .price del, .single .price del {
	font-size: 15px; 
	opacity: 0.8;
	font-weight: 600
}

.product-small .box-text {
	padding-left: 5px;
	padding-right: 5px;
}

ins .woocommerce-Price-amount {
	font-size: 20px;
}
h5.post-title a , .title-wrapper p a {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    padding: 0;
	height: 40px;
}

.title-wrapper p a {
	color: #333;
	font-weight: 600;
	font-size: 15px
}

/*CSS Custome badge - cart - woocommerce*/
.badge-container {
    margin: 0
}
.badge-circle-inside .badge-inner,
.badge-circle .badge-inner {
    border-radius: 8px 30px 30px 0!important;
    background: var(--eras-primary);
    position: relative;
    padding: 0 15px;
}

.badge-circle-inside .badge-inner:after,
.badge-circle .badge-inner:after {
    position: absolute;
    content: '';
    width: 3px;
    height: 15px;
    background: #8b0018;
    bottom: -5px;
    left: 0;
    z-index: -1;
    border-radius: 0 0 0 15px;
    
}

.badge {
    height: 30px;
    width: 50px;
    font-size: 13px;
    margin-left: -3px;
    margin-top: 0px;
}

.checkout-page-title .breadcrumbs, .woocommerce-NoticeGroup, .author-box-container h3 {
	display: none;
}

#customer_details input, #customer_details textarea {
	border-radius: 10px;
	height: 45px;
}

/* checkout */
.woocommerce-checkout #main {background: #fff}

.woocommerce-billing-fields {
	border-top: 0px
}

.checkout-product-image-container-wat {
	    display: flex;
    align-items: end;
}

.checkout .product-quantity, .woocommerce-bacs-bank-details {
	display: none
}

.checkout .has-border, .woocommerce-checkout-review-order-table th, .woocommerce-checkout-review-order-table td {
	border: 0px;
}

#billing_first_name_field, #billing_address_1_field {
	width: 100%;
}

.shop_table .order-total th, .order-total td bdi{
	font-size: 14px; 
	color: var(--eras-price)
}

/* Gio hang */

.woocommerce-cart .woocommerce .woocommerce.row.row-large.row-divided {
    display: flex;
    align-items: center;
    border-radius: 4px;
    border: 1px solid #ececec;
    margin: 0 auto;
    background: #fff;
}

.shop_table thead th,
.shop_table .order-total td,
.shop_table .order-total th {
    border-width: 1px;
    font-size: 12px;
    color: #000;
}

.cart_totals th.product-name {
    color: var(--isures-primary-color);
    border: none;
    font-size: 20px;
    text-transform: capitalize;
}

.woocommerce a.remove, .cart-item a.remove {
    width: 30px;
    height: 22px;
    position: relative;
    transition: opacity 200ms;
    vertical-align: top;
    display: block;
    -webkit-appearance: none;
    background: none;
    border: none;
    cursor: pointer;
    outline: none;
    padding: 0;
    text-indent: -9999px;
}

.woocommerce a.remove:before,
.woocommerce a.remove:after,
.cart-item a.remove:before,
.cart-item a.remove:after{
    background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAQCAQAAACMnYaxAAAAXUlEQVR4XsWQQQrAQAgD84Pti/JSoaftN1MCdgXxXgYvGfUQyABE4DEIUJmeuKgVlJI5em0RGTesFXXZuLwCzvL2pYbHmfCTNSXxpyyajLGClFy7K1dgaaho7YYovIpO3rju6hYFAAAAAElFTkSuQmCC) 0 0 no-repeat;
    left: 8px;
    position: absolute;
    right: 8px;
    top: 2px;
    display: inline-block;
    content: '';
}

.woocommerce a.remove:before, .cart-item a.remove:before {
    height: 6px;
    transform-origin: -7% 100%;
    -moz-transform-origin: -7% 100%;
    -webkit-transform-origin: -7% 100%;
    transition: transform 150ms;
    -moz-transition: transform 150ms;
    -webkit-transition: transform 150ms;
    width: 14px;
}

.woocommerce a.remove:after, .cart-item a.remove:after {
    background-position: -1px -4px;
    height: 12px;
    margin-left: 1px;
    margin-right: 2px;
    margin-top: 4px;
    width: 11px;
}

.woocommerce a.remove:hover:before, .cart-item a.remove:hover:before {
    transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    transition: transform 250ms;
    -moz-transition: transform 250ms;
    -webkit-transition: transform 250ms;
}

.woocommerce a.remove:hover, .cart-item a.remove:hover {
    background: transparent;
}


/* CSS FILTER PRODUCT*/
#shop-sidebar .widget {
	padding: 0;
	background: #fff
}

#shop-sidebar .is-divider {display: none}

#shop-sidebar span.widget-title {
    background: var(--eras-primary);
    color: #fff;
    width: 100%;
    display: block;
    padding: 10px 0;
    text-align: center;
    border-radius: 10px 10px 0 0;
}

.product-categories li {
	padding-left: 10px;
	transition: padding .3s ease-in-out
}
.product-categories li > a, .product-categories li.has-child > a, .product-categories li > ul li:hover a {
	color: #cba532;
	font-size: 14px;
	font-weight: 600
}
.product-categories li > ul li a {
	color: #0d2c4d;
	font-size: 14px;
	font-weight: 600
}

.product-categories li ul {
	border-left: 0!important;
	padding-left: 0!important
}

.product-categories li > a:before {
    content: "\f139";
	font-family: "dashicons";
	margin-right: 3px;
	vertical-align: middle;
}

.product-categories li ul li > a:before {
    content: "\f155";
	font-family: "dashicons";
	margin-right: 3px;
	vertical-align: middle;
	font-size: 8px
}



/*CSS CUSTOME PRODUCT SINGLE*/

.product-main .content-row, .product-footer .container {background: #fff; padding: 10px 0; border-radius: 10px}

.woocommerce-tabs .tab-panels {
  font-size:17px;
  font-family:"roboto",sans-serif;
  color:#3f3f3f;
}

.product-footer .woocommerce-tabs  {border:0; padding: 0}

.woocommerce-tabs ul li a {
  border-top-left-radius:8px;
  border-top-right-radius:8px;
  border:none;
  font-size:18px;
  text-transform:uppercase;
  font-weight:bold;
  color:gray;
}


.single-product .nav-tabs+.tab-panels {
  background-color:#fff;
  border:0;
  border-top-right-radius:8px;
  border-bottom-right-radius:8px;
  border-bottom-left-radius:8px;
}

.product-section, #isures-recently--wrap {
  border-top:0;
	margin-top: 10px;
		background: #fff;
	padding: 0 10px;
	border-radius: 10px
}

.product-main {padding: 20px 0}

.ux-quantity.quantity.buttons_added.form-minimal:before {
    content: "Số lượng : ";
    line-height: 40px;
    margin-right: 10px;
    font-weight: 700;
	font-size: .9em;
	
}

.form-minimal.quantity .qty {
	height: auto;
}

.product-summary .quantity {
	width: 100%;
}

.ux-buy-now-button {border-radius: 8px}

.single_add_to_cart_button {
  border-radius:8px;
  border:1px solid var(--eras-primary) !important;
	background-color: #fff!important;
	color:var(--eras-primary) !important;
}


.single_add_to_cart_button:hover{
	background-color: var(--eras-primary) !important;
	color:#fff!important;
	box-shadow:0 0 0 #fff!important
}

button.single_add_to_cart_button.button.alt:before {
    content: "\f07a";
	font-family: "FontAwesome";
    font-size: 20px; 
	padding-right: 10px;
}

.product-controls-wrapper-wat {
	display: block!important
}

.remove-product-wat:hover {
	background-color: transparent!important
}