/*
Theme Name: snus
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/
.custom-product-filters select[name="pa_huong"] {
width: 80px;
	    min-width: 80px;
}
.product-title a {
	min-height: 45px;
}
.fkcart-shortcode-icon-wrap svg {
	color: #fff;
}
.add_to_cart_button  {
	width: 100%;
    padding: 5px;
    border: 1px solid;
    border-radius: 7px;
}
/* .archive .rank-math-breadcrumb {
	padding: 0 15px;
} */
.page-title-inner {
	padding-top: 0px;
}
.custom-banner {
    margin-bottom: 30px;
}
.filter-label{
    flex:0 0 auto;
    white-space:nowrap;
    font-weight:600;
}
.custom-banner img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: center;
    display: block;
}
.custom-product-filters select {
	border: none;
	padding: 0px;
}
.category-page-row {
	padding-top: 0px;
}
.st-sale .col-cach {
	padding-bottom: 0px;
}
.product-small img {
	    transform: scale(1.2);
}
.brand-banner-item{
    list-style:none;
    overflow:hidden;
    border-radius:12px;
}

.brand-banner-item img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}
.brand-banner-item{
    grid-column:span 1;
}
td, th {
	color: #000 !important;
}
/*************** ADD CUSTOM CSS HERE.   ***************/
#footer #menu-theo-thuong-hieu li a {
	color: #fff;
}
.product_meta, .ux-quantity input {
	border: none !important;
	box-shadow: none;
}
.single-product .pv-countdown {
	gap: 6px;
}
.single-product .pv-time-box span {
    font-size: 16px;
}
.single-product .pv-time-box {
    min-width: 16px;
}
.single-product .pv-flash-sale-wrapper {
    padding: 10px 30px;
	margin-bottom: 15px;
}
.single-product .pv-separator {
    font-size: 16px;
}
.single-product .pv-flash-sale-left {
    font-size: 20px;
}
del .amount {
	font-size: 14px;
	opacity: 1 !important;
}
ins .amount {
	font-size: 16px;
}
.single-product .medium-9 .medium-6 ins .amount {
    font-size: 24px;
}
.single-product .medium-9 .medium-6 del .amount {
    font-size: 18px;
}
.price del{
    position:relative;
    text-decoration:none !important;
    display:inline-block;
}

.price del:after{
	content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 52%;
    height: 0.5px;
    background: currentColor;
}
.product_meta{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:20px;
    border-top:1px solid #eee;
    border-bottom:1px solid #eee;
}

.product_meta > span{
    display:inline-flex;
    align-items:center;
    padding:0 !important;
    margin:0 !important;
    border:none !important;
}

.product_meta span a, .product_meta span{
	 padding-left: 4px;
}
.product_meta .tagged_as, .image-tools, .woocommerce-thank-you-page-coupon__container, .woocommerce-breadcrumb {
    display: none !important;
}
.badge {
    height: 1.8em;
}
.home-banner {
	background: #000;
}
.home-banner h3 {
	text-transform: uppercase;
    font-size: 50px;
}
.product-small.box {
	    background: #fff;
    padding: 15px;
    border-radius: 10px;
}
.row-bre .col {
	padding: 5px;
}
.nav-dropdown-default {
	min-width: 180px;
}
.menu-item-object-product_brand a {
	color: #333;
	font-size: .9em;
	padding: 5px 10px;
    margin: 0;
}
.home-banner .button span {
	color: #000;
}
#masthead .nav-line-bottom>li>a:before, #masthead  .nav-line-grow>li>a:before, #masthead .nav-line>li>a:before {
    height: 1px;
}

@media only screen and (max-width: 768px) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
.product-title a {
	font-size: 14px !important;
}
	.rank-math-breadcrumb p {
		font-size: 14px;
	}
	#footer a, #footer p {
		font-size: 14px;
	}
	.product-title a {
    min-height: 35px;
}
	#footer h4 {
		font-size: 16px;
	}
	.col-cach a {
		    font-size: 13px;
    font-weight: 500;
	}
.badge-inner.on-sale {
    font-size: 12px;
	}
	.pv-time-box {
    min-width: 24px !important;
	}
.badge-container .badge {
    height: 20px;
    width: 40px;
}
.badge-container.top {
    top: -20px;
}
	.home-banner h3 {
    font-size: 24px;
}
	.col-den .col-inner {
	height: 380px;
    vertical-align: middle;
    align-items: center;
    margin: 0 auto;
    top: 35%;
	}
	.row-cach .col, .col-den .col {
		padding-bottom: 0px;
	}
	.price-wrapper {
		margin-top: 10px;
	}
.product-title a {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    padding: 0;
}
.pv-flash-sale-wrapper {
   padding: 5px;
	}
.pv-flash-sale-text {
		display: none;
	}
del .amount {
	font-size: 13px;
	opacity: 1 !important;
}
ins .amount {
	font-size: 14px;
}
}

.pv-contact-form{
    color:#fff;
    max-width:500px;
}

.pv-input-group{
    position:relative;
}

.pv-input-group .wpcf7-email{
    background:transparent !important;
    border:none !important;
    border-bottom:1px solid rgba(255,255,255,.8) !important;
    color:#fff !important;
    font-size:15px;
    padding:0 50px 10px 0 !important;
    height:auto !important;
    box-shadow:none !important;
    margin:0 !important;
}

.pv-input-group .wpcf7-email::placeholder{
    color:#fff;
    opacity:1;
}
.pv-submit-btn svg{
    display:block;
}
.pv-submit-btn{
    position:absolute;
    right:0;
    top:50%;
    transform:translateY(-50%);
    background:none;
    border:none;
    color:#fff;
    font-size:24px;
    cursor:pointer;
    padding:0;
    line-height:1;
}

.pv-submit-btn:hover{
    opacity:.8;
}

.pv-input-group .wpcf7-spinner{
    position:absolute;
    right:-30px;
    top:50%;
    transform:translateY(-50%);
}

.pv-input-group .wpcf7-not-valid-tip{
    margin-top:10px;
    font-size:13px;
}

.pv-input-group .wpcf7-response-output{
    margin-top:15px !important;
}

/*Chi tiết sản phẩm*/
.pv-features{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:16px 40px;
}

.pv-feature-item{
    display:flex;
    align-items:center;
    color:#000;
    font-size:14px;
    line-height:1.4;
}

.pv-feature-item > i:first-child{
    width: 25px;
    margin-right: 12px;
    font-size: 18px;
    color: #555;
    text-align: center;
}

.pv-tooltip{
    position:relative;
    margin-left:8px;
    display:inline-flex;
    align-items:center;
    cursor:pointer;
}

.pv-tooltip i{
    font-size:14px;
    color:#888;
}

.pv-tooltip-text{
    position:absolute;
    left:50%;
    bottom:130%;
    transform:translateX(-50%);
    min-width:240px;
    max-width:300px;

    background:#222;
    color:#fff;
    font-size:13px;
    line-height:1.5;

    padding:10px 12px;
    border-radius:6px;

    opacity:0;
    visibility:hidden;

    transition:all .25s ease;
    z-index:999;
    text-align:left;
}

.pv-tooltip-text:after{
    content:"";
    position:absolute;
    top:100%;
    left:50%;
    transform:translateX(-50%);

    border-width:6px;
    border-style:solid;
    border-color:#222 transparent transparent transparent;
}

.pv-tooltip:hover .pv-tooltip-text{
    opacity:1;
    visibility:visible;
}

@media(max-width:768px){

    .pv-features{
        grid-template-columns:1fr;
        gap:12px;
    }

    .pv-feature-item{
        font-size:16px;
    }
}
.isures-image--review {
    float: left;
    margin-right: 8px;
    border-radius: 5px;
}
.single_add_to_cart_button:hover:after {
    left: 200%;
    opacity: 0.6;
}
.single_add_to_cart_button:before {
    left: -50%;
    background: #fff;
    content: "";
    height: 155px;
    opacity: 0;
    position: absolute;
    top: -50px;
    transform: rotate(35deg);
    width: 50px;
    transition: all 2000ms cubic-bezier(0.19, 1, 0.22, 1);
}
.single_add_to_cart_button:after {
	background: #fff;
    content: "";
    height: 15rem;
    opacity: 0;
    position: absolute;
    top: -50px;
    transform: rotate(35deg);
    transition: all 2000ms cubic-bezier(0.19, 1, 0.22, 1);
    width: 5rem;
    left: -100%;
}
.single-product .single_add_to_cart_button{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
}
.wc-block-components-address-form__postcode, .wc-block-components-address-form__address_2-toggle, .wc-block-components-address-form__first_name label {
	display: none;
}
/* Sửa lỗi chồng chữ trường Họ Tên trong WooCommerce Blocks */
.wc-block-components-text-input.wc-block-components-address-form__first_name {
    position: relative !important;
}

/* Ép cái Label (Full name) luôn bay lên trên cố định */
.wc-block-components-text-input.wc-block-components-address-form__first_name label {
    transform: scale(0.75) translateY(-22px) !important;
    background-color: #ffffff !important; /* Đổ nền trắng để che đường viền nếu cần */
    padding: 0 4px !important;
    left: 8px !important;
    opacity: 1 !important;
    color: #666 /deep/ !important; /* Màu chữ xám nhẹ */
}

/* Đảm bảo ô input có đủ khoảng trống phía trên và hiển thị Placeholder rõ ràng */
.wc-block-components-text-input.wc-block-components-address-form__first_name input {
    padding-top: 20px !important;
}

/* Đảm bảo Placeholder (Enter full name) luôn hiển thị đúng chuẩn */
.wc-block-components-text-input.wc-block-components-address-form__first_name input::placeholder {
    color: #aaa !important;
    opacity: 1 !important;
}
.single-product .single_add_to_cart_button:before{
    content:"\f07a";
    font-family:"Font Awesome 6 Free";
    font-weight:900;
    display:inline-block;
}
.single-product form.cart{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
}

.single-product form.cart .quantity{
    margin-bottom:15px;
	border: 1px solid #0000001c;
}

.single-product form.cart .single_add_to_cart_button{
    width:100%;
    margin-left:0 !important;
}
.single-product form.cart .single_add_to_cart_button{
    width: 100%;
    padding: 6px;
    border-radius: 8px;
}

/*Checkout*/
/* Cột checkout */
.woocommerce-checkout .col-1{
    width:65%;
}

.woocommerce-checkout .col-2{
    width:35%;
}

/* Tiêu đề */
.woocommerce-billing-fields h3,
#order_review_heading{
    font-size:28px;
    font-weight:600;
    margin-bottom:25px;
}

/* Form */
.woocommerce-billing-fields__field-wrapper{
    display:flex;
    flex-wrap:wrap;
}
.select-resize-ghost, .select2-container .select2-choice, .select2-container .select2-selection, input[type=date], input[type=email],  input[type=password], input[type=search], input[type=tel], input[type=text], input[type=url], select, textarea {
	margin-bottom: 10px;
}
.woocommerce-checkout-review-order {
	border: none !important;
}
/* Full width */
#billing_first_name_field,
#billing_phone_field,
#billing_address_1_field,
#order_comments_field{
    width:100%;
}

/* Input */
.woocommerce form .form-row input,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select{
    height:54px;
    border:1px solid #d9d9d9;
    border-radius:8px;
    padding:0 16px;
    background:#fff;
    box-shadow:none;
}

.woocommerce form .form-row textarea{
    height:120px;
    padding-top:15px;
}

/* Card đơn hàng bên phải */
.woocommerce-checkout-review-order{
    border:1px solid #e5e5e5;
    border-radius:12px;
    padding:25px;
    background:#fff;
    position:sticky;
    top:30px;
}

/* Payment */
.wc_payment_methods{
    border:1px solid #d9d9d9 !important;
    border-radius:8px;
    overflow:hidden;
}

.wc_payment_method{
    padding:15px;
}

/* Nút đặt hàng */
#place_order{
    width:100%;
    height:56px;
    border-radius:8px;
    font-size:16px;
    font-weight:600;
    background:#111827;
}

#place_order:hover{
    background:#000;
}
.woocommerce-billing-fields h3{
    visibility:hidden;
    position:relative;
}

.woocommerce-billing-fields h3:after{
    content:"Thông tin giao hàng";
    visibility:visible;
    position:absolute;
    left:0;
    top:0;
}





/*Brands*/





.wc-block-checkout__contact-fields {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}