/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
/* css header menu */

.price-wrapper {
    display: none !important;
}



/* Form tư vấn hiện ngay dưới sản phẩm (#form-datngay) — form CF7 tv-form (508508f) + nút gọi, Zalo, cam kết.
   Markup form CF7: form-tuvan-cf7.txt. */
.son-tuvan {
    --tv-do: #9f1d1d;
    --tv-do-dam: #7f1414;
    --tv-vien: #d9cbbd;
    --tv-chu: #1f2937;
    --tv-mo: #8a8f98;
    --tv-xanh: #0a68e0;
    --tv-vang: #c98a0b;
    margin: 20px 0;
    color: var(--tv-chu);
}
#form-datngay .wpcf7 form,
#form-datngay .tv-form {
    margin: 0;
}
#form-datngay .tv-form br,
#form-datngay .tv-form > p:empty {
    display: none;
}
#form-datngay .tv-form p {
    margin: 0;
}

/* Ô nhập: icon nét bên trái, viền be ấm */
#form-datngay .tv-o {
    position: relative;
    display: block;
    margin: 0 0 12px;
    font-weight: 400;
}
#form-datngay .tv-o::before {
    content: "";
    position: absolute;
    z-index: 1;
    top: 14px;
    left: 15px;
    width: 20px;
    height: 20px;
    background: #4b5563;
    -webkit-mask: var(--tv-icon) center / contain no-repeat;
    mask: var(--tv-icon) center / contain no-repeat;
    pointer-events: none;
}
#form-datngay .tv-o--ten {
    --tv-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21a8 8 0 0 1 16 0'/%3E%3C/svg%3E");
}
#form-datngay .tv-o--sdt {
    --tv-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1.9.4 1.8.7 2.7a2 2 0 0 1-.5 2.1L8 9.8a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.7.7a2 2 0 0 1 1.7 2z'/%3E%3Cpath d='M15 2a7 7 0 0 1 7 7M15 6a3 3 0 0 1 3 3'/%3E%3C/svg%3E");
}
#form-datngay .tv-o--nd {
    --tv-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z'/%3E%3Cpath d='M8 9h8M8 13h5'/%3E%3C/svg%3E");
}
#form-datngay .tv-o .wpcf7-form-control-wrap {
    display: block;
}
#form-datngay .tv-o input,
#form-datngay .tv-o textarea {
    width: 100%;
    height: 48px;
    margin: 0;
    padding: 0 14px 0 46px;
    border: 1px solid var(--tv-vien) !important;
    border-radius: 8px;
    background: #fff;
    box-shadow: none;
    font-family: inherit;
    font-size: 15px;
    color: var(--tv-chu);
    transition: border-color .2s, box-shadow .2s;
}
#form-datngay .tv-o textarea {
    height: auto;
    min-height: 368px;
    padding-top: 13px;
    padding-bottom: 13px;
    line-height: 1.5;
    resize: vertical;
}
#form-datngay .tv-o input::placeholder,
#form-datngay .tv-o textarea::placeholder {
    color: var(--tv-mo);
    opacity: 1;
}
#form-datngay .tv-o input:focus,
#form-datngay .tv-o textarea:focus {
    outline: none;
    border-color: var(--tv-do) !important;
    box-shadow: 0 0 0 3px rgba(159, 29, 29, .15);
}

/* Nút gửi: đỏ đậm, mũi tên trong vòng tròn */
#form-datngay .tv-gui {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    min-height: 52px;
    margin: 2px 0 0;
    padding: 0 20px;
    border: 0;
    border-radius: 8px;
    background: linear-gradient(180deg, var(--tv-do), var(--tv-do-dam)) !important;
    box-shadow: 0 10px 20px -12px rgba(127, 20, 20, .9);
    font-family: inherit;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: .03em;
    line-height: 1.2;
    text-transform: uppercase;
    text-shadow: none;
    color: #fff !important;
    opacity: 1;
    cursor: pointer;
    transition: filter .2s, transform .15s;
}
#form-datngay .tv-gui::after {
    content: "";
    flex: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239f1d1d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m10 7 5 5-5 5'/%3E%3C/svg%3E") center / 16px no-repeat;
}
#form-datngay .tv-gui:hover {
    filter: brightness(1.12);
}
#form-datngay .tv-gui:active {
    transform: scale(.98);
}
#form-datngay .tv-gui:disabled {
    cursor: wait;
    filter: saturate(.6);
}
#form-datngay .tv-gui:focus-visible,
.son-tuvan__goi:focus-visible,
.son-tuvan__zalo:focus-visible {
    outline: 3px solid rgba(159, 29, 29, .35);
    outline-offset: 2px;
}
#form-datngay .wpcf7-spinner {
    display: block;
    margin: 10px auto 0;
}
#form-datngay .wpcf7-not-valid {
    border-color: #dc2626 !important;
    background: #fef2f2 !important;
}
/* Flatsome biến dòng lỗi thành tooltip xám có mũi tên → trả về chữ đỏ trơn dưới ô */
#form-datngay .wpcf7-not-valid-tip {
    position: static;
    margin: 4px 0 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    opacity: 1;
    font-size: 12.5px;
    line-height: 1.4;
    color: #dc2626;
}
#form-datngay .wpcf7-not-valid-tip::after,
#form-datngay .wpcf7-not-valid-tip::before {
    display: none;
}
#form-datngay .wpcf7 form .wpcf7-response-output {
    margin: 10px 0 0;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 14px;
    text-align: center;
}

/* Nút gọi + Zalo */
.son-tuvan__goi,
.son-tuvan__zalo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 52px;
    margin: 12px 0 0;
    padding: 6px 16px;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color .2s, border-color .2s;
}
.son-tuvan__goi {
    border: 1.5px solid #e9b4b4;
    background: #fff;
    color: var(--tv-do);
    font-size: 26px;
    font-weight: 800;
    letter-spacing: .01em;
    font-variant-numeric: tabular-nums;
}
.son-tuvan__goi svg {
    width: 26px;
    height: 26px;
    stroke-width: 2.2;
}
.son-tuvan__goi:hover {
    border-color: var(--tv-do);
    background: #fff7f7;
    color: var(--tv-do);
}
.son-tuvan__zalo {
    border: 1.5px solid #b9d6fb;
    background: #f3f8ff;
    color: var(--tv-xanh);
    font-size: 18px;
    font-weight: 700;
}
.son-tuvan__zalo:hover {
    border-color: var(--tv-xanh);
    background: #e8f2ff;
    color: var(--tv-xanh);
}
.son-tuvan__zalo-logo {
    display: grid;
    place-items: center;
    flex: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #0068ff;
    font-size: 10.5px;
    font-weight: 700;
    color: #fff;
}
.son-tuvan__zalo svg {
    flex: none;
    width: 22px;
    height: 22px;
    padding: 4px;
    border-radius: 50%;
    background: #dbeafe;
    stroke-width: 3;
}

/* 3 cam kết */
.son-tuvan__camket {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
}
.son-tuvan__camket li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 13px;
    line-height: 1.35;
    color: #374151;
}
.son-tuvan__camket svg {
    flex: none;
    width: 34px;
    height: 34px;
    padding: 7px;
    border-radius: 8px;
    background: #fdf3e1;
    color: var(--tv-vang);
}
.son-tuvan__camket li:first-child svg {
    background: #fbe9e9;
    color: var(--tv-do);
}

@media (max-width: 549px) {
    .son-tuvan__goi {
        font-size: 23px;
    }
    .son-tuvan__camket li {
        gap: 6px;
        font-size: 12px;
    }
    .son-tuvan__camket svg {
        width: 30px;
        height: 30px;
        padding: 6px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .son-tuvan * {
        transition: none !important;
    }
}














#wide-nav ul li.menu-item a.nav-top-link {
    color: #222;
    font-weight: 400;
    font-size: 15px;
    padding-right: 20px;
}

.col.col-padding {
	padding-bottom: 0;
}
.title-home {
    text-align: center;
}
.title-home h2 {
    font-weight: 400;
}
.title-pro h2:after {
	content: url(/wp-content/uploads/2022/09/Group-2059.png);
}
.title-home h2:after {
    display: block;
	margin-top: 10px;
}
.title-taisao h2:after {
	content: url(/wp-content/uploads/2022/09/Group-2059-1.png);
}

/* css section tại sao */
.btn-more {
    font-weight: 400;
}
a.button.btn-vang {
    background: #f8a123;
    color: #fff;
}
a.button.btn-none {
    border: 1px solid #f8a123 !important;
    padding: 0 15px;
}
a.button.btn-xam {
    background: #939393;
}

/* css section blog */
.is-divider {
    display: none;
}
.blog-verti .col.post-item {
    padding-bottom: 15px;
}
.blog-verti .col.post-item:not(:last-child) .col-inner {
    border-bottom: dotted 1px #9D9D9D;
    padding-bottom: 15px;
}
.blog-verti .box-text {
    padding: 0px 6px 10px 10px;
}
.blog-verti  h5 {
    font-weight: 500;
    font-size: 16px
}


/* css chỉ tiết sản phẩm */
.page-title.shop-page-title.product-page-title {
    display: none;
}
h1.product-title.product_title.entry-title {
    font-weight: 400;
    margin-bottom: 0;
}
.product-info .price .amount bdi {
    color: #ff6300;
}
.product-info p.price.product-page-price {
	font-weight: 400;
}
.single-product span.posted_in {
    display: none;
}
.product-info.summary a.datngay {
    background-color: #E37A20;
    display: block;
    color: #fff;
    text-align: center;
    font-size: 25px;
    padding: 5px;
    border-radius: 4px;
}
.product-info.summary .product_meta {
    order: 1;
}
.product-info.summary .product-short-description {
    order: 2;
}
.product-info.summary.col-fit.col.entry-summary.product-summary {
    display: grid;
    align-content: start;
}

/* css form đặt phòng */
.form-lienhe input {
    box-shadow: 0 0;
    height: 44px;
}
.form-lienhe>.col {
    padding-bottom: 0;
}
div#popup-datngay {
    border-radius: 8px;
}
span.wpcf7-spinner {
    display: none;
}
input.wpcf7-form-control.has-spinner.wpcf7-submit {
    background-color: #f49d26;
}


/* css footer */
.st-foo .bg-loaded {
    background-image: url(/wp-content/uploads/2022/09/Rectangle-41.png);
}
.ct-foo h3, .ct-foo h4, .ct-foo p, .ct-foo a {
    color: #fff;
}

.absolute-footer.dark.medium-text-center {
    background: rgba(7,0,84,0.9);
	display: none
}
.copyright-footer {
    color: #fff;
}

.product-info.summary, .product-main {
    padding-bottom: 0;
}
.woocommerce-tabs.wc-tabs-wrapper.container.tabbed-content {
    border: 0;
}


@media (max-width: 768px) {
	/* 	css menu */
	.mfp-content div#main-menu {
		background-color: #fff;
	}
	.sidebar-menu.no-scrollbar {
		padding: 0;
	}
	.mfp-content div#main-menu ul li a {
		color: #000;
	}
	.woocommerce-tabs.wc-tabs-wrapper.container.tabbed-content {
		padding-top: 0;
		border: 0;
	}
}

@media (max-width: 549px) {
	ul.tabs.wc-tabs.product-tabs li {
		width: 50%;
		text-align: center;
	}
	.header-main li.html.custom {
		display: block ;
	}
}



@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}
