/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/
.cus_icon_header{
	align-items: center;
}
.cus_widget_home, #shop-sidebar aside, #product-sidebar aside{
	border: 1px #ebebeb solid;
    border-radius: 15px;
}
.cus_widget_home .widget-title, #shop-sidebar aside .widget-title, #product-sidebar aside .widget-title{
    font-size: 18px;
    line-height: 26px;
    color: white;
    display: block;
    border-radius: 15px;
    background: #0a0a0a;
    padding: 6px 20px;
    margin: 0;
}
.cus_widget_home .is-divider, #shop-sidebar aside .is-divider, #product-sidebar .is-divider{
	display: none;
}
.cus_widget_home ul li a, #product-sidebar aside ul li a{
	padding-inline: 10px; 
}
.cus_widget_home ul li a:before, #product-sidebar aside ul li a:before{
	content: "\f0a9";
	font-family: FontAwesome;
	padding-right: 5px;
}
#product-sidebar aside ul.product_list_widget li a:before{
	display: none;
}
.section-title-bold-center span{
	background-color: #0a0a0a;
	color: white;
}
.section-title b{
	opacity: 1;
	background-color: #ed0000;
}
.price bdi, .woocommerce-Price-amount bdi{
	color: #fe9705;
}
.product-title a{
	color: #363636;
	display: -webkit-box;
    height: 43px;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    -webkit-line-clamp: 2;
}

.title-wrapper{
	margin-bottom: 5px;
}
.col-inner>.product-small{
	border: 1px #ebebeb solid;
    border-radius: 15px;
}
.product-small>.box-image{
	border-radius: 15px 15px 0px 0px;
	overflow: hidden;
}
#shop-sidebar aside .price_slider_wrapper{
	margin-top: 15px;
}
#shop-sidebar aside ul li a{
	padding-inline: 10px; 
}
.woocommerce-widget-layered-nav-list__item{
	padding-right: 10px;
}
/*#shop-sidebar aside.widget_product_categories ul li a:before{
	content: "\f0a9";
	font-family: FontAwesome;
	padding-right: 5px;
}*/
#shop-sidebar aside.widget_product_categories ul li{
	position: relative;	
}
#shop-sidebar aside.widget_product_categories ul li a{
	padding-left: 30px;
}
#shop-sidebar aside.widget_product_categories ul li.active:after, 
#shop-sidebar aside.widget_product_categories ul li:hover:after{
	content: "\f00c";
	position: absolute;
	left: 10px;
	font-family: FontAwesome;
	padding-right: 5px;
}
#shop-sidebar aside.widget_product_categories ul li:before{
	content: "";
    display: block;
    position: absolute;
    left: 10px;
    float: left;
    width: 15px;
    height: 15px;
    border: 1px solid #aaaaaa;
}
.lightbox-content {
    background-color: #fff;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 3px 3px 20px 0 rgba(0, 0, 0, .15);
    position: relative;
    border-radius: 15px;
    width: 550px;
}
textarea.wpcf7-form-control.wpcf7-textarea {
    border-radius: 10px;
}
input.wpcf7-form-control.wpcf7-text.wpcf7-validates-as-required {
    border-radius: 10px;
}
a.button.alt.large.expand {
    background-color: #ed0000;
    border-radius: 15px;
}
#wide-nav .nav>li.active>a{
	background-color: #ed0000!important;
}

#wide-nav .nav>li>a:hover{
	background-color: red!important;
}
.scroll-to-bullets a{
	background-color: #ed0000!important;
}
.scroll-to-bullets a.active{
	border-color: #ed0000!important;
	background-color: white!important;
}
a.button.is-small.is-outline {
    border-color: black;
    color: black;
	border-radius: 5px;
}
a.button.is-small.is-outline:hover {
   background-color: red;
    color: white;
	border-color: red;
}
/* Nút "Xem chi tiết" */
.contact-button-wrapper div:last-child a {
    background-color: red;
    color: white;
	border-radius: 5px;
}
.contact-button-wrapper div:last-child a:hover {
    background-color: #ed0000;
}

input.wpcf7-form-control.has-spinner.wpcf7-submit {
    background: #ed0000;
	border-radius: 5px;
}

a.zoom-button.button.is-outline.circle.icon.tooltip.hide-for-small.tooltipstered:hover{
	background-color: #ed0000;
	border-color: #ed0000;
}
a#top-link:hover {
    background-color: #ed0000;
	border-color: #ed0000;
}
.nav-line>li.active>a:before {
    background: black;
}
a.button.primary.expand.btn_buy {
    background-color: red;
    border-radius: 10px;
}
/* Bo viền và bo góc cho khối widget chung */
.sidebar-wrapper .widget {
  border: 1px solid #ebebeb;
  border-radius: 15px;
  margin-bottom: 15px;
  padding: 10px;
}

/* Style cho tiêu đề widget */
.sidebar-wrapper .widget-title {
  font-size: 18px;
  line-height: 26px;
  color: white;
  background-color: #7e7e7e;
  border-radius: 15px;
  padding: 6px 20px;
  margin-bottom: 10px;
  display: block;
}

/* Ẩn divider dưới tiêu đề nếu có */
.sidebar-wrapper .is-divider {
  display: none;
}

/* Thêm icon mũi tên trước liên kết danh mục */
.sidebar-wrapper ul.product-categories li a::before {
  content: "\f0a9"; /* FontAwesome arrow icon */
  font-family: FontAwesome;
  padding-right: 5px;
}

/* Không áp dụng icon cho sản phẩm đã xem */
.sidebar-wrapper .widget_recently_viewed_products ul li a::before {
  content: none;
}
footer a.ux-menu-link__link.flex {
    color: white!important;
}
footer .ux-menu-link__link{
	border-bottom-color: #353535!important;
}
.acf-size-options {
            display: flex;
            gap: 10px;
            margin-top: 5px;
        }
        .acf-size-btn {
            padding: 0px 18px;
    		border: 1.5px solid #ddd;
    		background: #f9f9f9;
    color: #333;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    margin: 5px;
        }
        .acf-size-btn.selected {
            border: 2px solid red;
            color: red;
            background: #fff;
        }
.acf-qty-box {
display: flex;
align-items: center;
justify-content: end;
}
        .acf-qty-btn {
            padding: 10px;
            background: #fff;
            border: none;
            font-size: 18px;
            cursor: pointer;
            color: #333;
        }
        .acf-qty-input {
            width: 50px;
            text-align: center;
            border: none;
            font-size: 16px;
      		width: 20%!important;
        }
.acf-group:has(.acf-qty-box) {
      display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.acf-label {
  margin: 0;
  white-space: nowrap;
}

@media screen and (max-width: 768px) {
    .lightbox-content {
        width: 90%;
        max-width: 95%;
        margin: 20px auto;
        border-radius: 15px;
        padding: 15px;
    }
	 .contact-button-wrapper {
        flex-direction: column;
        gap: 10px;
    }
	   .lightbox-content {
        width: 95%;
        max-width: 95%;
        margin: 20px auto;
        border-radius: 15px;
        padding: 15px;
        box-shadow: 2px 2px 12px rgba(0, 0, 0, 0.1);
    }

    input.wpcf7-form-control.wpcf7-text.wpcf7-validates-as-required,
    textarea.wpcf7-form-control.wpcf7-textarea {
        width: 100%;
        font-size: 16px;
        padding: 10px;
        border-radius: 15px;
    }

    input[type="submit"].wpcf7-form-control.wpcf7-submit {
        width: 100%;
        font-size: 16px;
        padding: 12px;
        border-radius: 10px;
        margin-top: 10px;
    }
}