/*
Theme Name: Thiện Phú
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

@import url('https://fonts.googleapis.com/css2?family=Carattere&family=Google+Sans+Flex:opsz,wght@6..144,1..1000&display=swap');
body, p {font-family: "Google Sans Flex", sans-serif;font-weight: 400;font-style: normal;letter-spacing: normal;}
em {font-family: "Carattere", cursive;font-weight: 400;font-style: normal;}
.button, button, input[type="submit"] {font-weight: 600;letter-spacing: normal;}
.nav > li > a, .nav-top-link, .nav-bottom-link {font-weight: 600;letter-spacing: normal;text-transform: capitalize;}
p {margin-bottom: 12px;}
blockquote {padding: 20px 15px 5px;font-size: 16px;background: #fff7ed;border-left-width: 3px;margin-top: 20px;border-radius: 0 12px 12px 0;}
figure {text-align: center;}
table {width: 100%;border: 1px solid;}
th, td {padding: 10px;text-transform: none;letter-spacing: normal;}
td {width: fit-content !important;}
td:first-child, th:first-child {padding-left: 10px;}
.banner h1, .banner h2, .banner h3, .banner h4, .banner h5, .banner h6,
h1, h2, h3, h4, h5, h6 {font-family: "Google Sans Flex", sans-serif;font-weight: 700;font-style: normal;letter-spacing: normal;}
.button span {line-height: unset;}
.button.is-link:hover {opacity: 1 !important;}
a.button {margin: 0;}
.button.is-outline {line-height: 43px;}
.button.white {background: #2196f3 !important;color: #fff !important;}
.entry-meta.is-small.single-date {display: none;}
.entry-header-text.entry-header-text-top {padding-bottom: 0;}
.entry-header-text.entry-header-text-top h1.entry-title {margin-bottom: 0;text-transform: uppercase;font-size: 16px;color: #ea580c;}
.post .article-inner {padding: 25px 20px;background: #fff;border-radius: 12px;box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);border: 1px solid #e5e7eb;}
.post .entry-content {padding-top: 10px;}
.tp-title-hero.sf-top h2 {font-size: 64px;}
.tp-title-hero h2 {font-size: 50px;margin-bottom: 5px;color: #fb6000;line-height: 1.3;}
.overlay-tools {margin-top: 0;}
a.button.custom-explore-btn {margin-top: 10px;border: 0;padding: 0;font-size: 16px;color: #ffc928;}
a.button.custom-explore-btn:hover {background: none;color: #002147;}
.section-title a {font-size: 13px;color: #f5bc05;}
.icon-angle-right:before {content: "\f061";font-family: "FontAwesome";font-size: 11px;}
.box-image img {border-radius: 12px 12px 0 0;}
.post-meta:before {content: "\f017";font-family: 'FontAwesome';margin-right: 5px;font-size: 11px;}
.box-text-inner.blog-post-inner .post-title a {overflow: hidden;display: -webkit-box;-webkit-box-orient: vertical;-webkit-line-clamp: 2;}
/* BOX DỰ ÁN */
.tp-port-row {margin-top: 50px;}
.tp-du-an-home .section-title-container {margin-bottom: -55px;}
.tp-du-an-home .portfolio-element-wrapper ul.nav.filter-nav>li.active>a {background: #ffc928;color: #002147;border: 1px solid #dbaa46;}
.tp-du-an-home .portfolio-element-wrapper ul.nav.filter-nav>li {margin-left: 8px;}
.tp-du-an-home .portfolio-element-wrapper ul.nav.filter-nav>li>a {border: 1px solid #e2e8f0;padding: 0 17px;text-transform: capitalize;color: #002147;}
.portfolio-box.box .box-image .shade {
    opacity: 1;
    background: linear-gradient(180deg, rgba(6, 18, 29, 0.02) 0%, rgba(6, 18, 29, 0.12) 48%, rgba(6, 18, 29, 0.92) 100%);
}
h6.portfolio-box-title {max-width: 90%;text-transform: capitalize;opacity: 1;font-size: 15px;letter-spacing: normal;font-weight: 700;position: relative;}
h6.portfolio-box-title:after {content: "\f061";position: absolute;right: -30px;bottom: 5px;font-family: 'FontAwesome';font-size: 13px;border-radius: 50%;height: 30px;width: 30px;line-height: 30px;text-align: center;border: 1px solid rgb(255 255 255 / 0.2);background-color: rgb(255 255 255 / 0.1);}
h6.portfolio-box-title:hover {color:#ffc928;}
h6.portfolio-box-title:hover:after {background: #ffc928;color: #111;}
/* --- FORM TRANG LIÊN HỆ --- */
.form-inner-box {background: #ffffff;padding: 30px 40px;border-radius: 16px;box-shadow: 0 10px 40px rgba(0,0,0,0.06);}
.contact-main-title {font-size: 32px;font-weight: 700;margin-bottom: 10px;text-transform: uppercase;}
.contact-col-title {font-size: 24px;font-weight: 700;}
/* Cột Contact Form 7 */
.custom-contact-form .form-row {display: flex;margin-left: -10px;margin-right: -10px;flex-wrap: wrap;}
.custom-contact-form .form-col {padding: 0 10px;width: 50%;}
.custom-contact-form .full-width {margin: 0 auto;}
.custom-contact-form .full-width .form-col {width: 100%;padding: 0;}
.custom-contact-form label {display: block;font-size: 14px;font-weight: 600;color: #333;margin-bottom: 8px;}
.custom-contact-form .form-submit-wrap {margin-top: 10px;}
.custom-contact-form input,.custom-contact-form select, .custom-contact-form textarea {width: 100%;height:45px;background-color: #fff;border: 1px solid #e2e8f0;border-radius: 8px;padding: 0 15px;font-size: 14px;color: #333;box-shadow: none;transition: all 0.3s ease;}
.custom-contact-form textarea {padding-top: 12px;min-height: 90px;}
.custom-submit-btn {width: 100%;background-color: #071722;color: #ffffff;font-size: 16px;font-weight: 700;text-transform: uppercase;padding: 10px 15px;border-radius: 8px;border: none;display: flex;align-items: center;justify-content: center;gap: 10px;cursor: pointer;transition: background 0.3s ease;}
.custom-submit-btn i {font-size: 16px;}
.custom-submit-btn:hover {background-color: #002147;}
/* Footer Contact */
.ms-ct-footer p {display: grid;align-items: baseline;grid-auto-flow: column;justify-content: start;gap: 5px;}
.flex-row.form-flat.ms-ct-form input {margin-bottom: 0;border-radius: 5px 0 0 5px;}
.flex-row.form-flat.ms-ct-form .flex-col {padding-right: 0;}
.flex-row.form-flat.ms-ct-form .flex-col button {border: 0;margin: 0;padding: 0;width: 100%;background: #ed0000;border-radius: 0 5px 5px 0;}
/* Form Báo giá nhanh */
.qb-form {max-width:528px;margin:auto;padding: 30px 35px 30px;background: #e4e3e1;border-radius:36px;box-shadow:0 18px 45px rgba(0,0,0,.22);font-family:inherit}
.qb-form .qb-heading {display:flex;align-items:center;gap: 5px;margin: 0 0 10px;color: #0f213b;font-size: 24px;font-weight: 600;line-height:1.25}
.qb-bolt {width:20px;height: 20px;background:linear-gradient(180deg,#ffb347,#ff4f12);clip-path:polygon(55% 0,18% 50%,47% 50%,30% 100%,86% 38%,56% 38%)}
.qb-field {margin-top:12px;}
.qb-label p{margin-bottom:9px;color:#20324d;font-size: 12px;font-weight: 600;line-height:1.3}
.qb-options.wpcf7-radio {display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
.qb-options .wpcf7-list-item {margin:0!important}
.qb-options .wpcf7-list-item label {display:block;margin:0}
.qb-options input[type=radio] {position:absolute;opacity:0}
.qb-options .wpcf7-list-item-label {display:flex;align-items:center;justify-content:center;min-height: 40px;padding:8px 12px;background:#fff;border: 1px solid #e7e7e7;border-radius: 10px;color:#172238;font-size: 13px;font-weight: 600;text-align:center;cursor:pointer;box-shadow:0 5px 12px rgba(0,0,0,.06);transition:.18s}
.qb-options .wpcf7-list-item-label:hover {background: rgb(255 255 255 / 0.8);transition: .25s all ease-out;}
.qb-options input[type=radio]:checked+.wpcf7-list-item-label {border-color:#ff6817;color:#ff5b12;box-shadow:inset 0 0 0 1px #ff6817}
.qb-options input[type=radio]:focus-visible+.wpcf7-list-item-label {outline:2px solid #ff9a55;outline-offset:2px}
.qb-field .qb-upload {position:relative;display: flex;align-items: center;justify-content:center;gap: 5px;min-height: 55px;margin:0;padding:12px;background: rgb(255 255 255 / 0.5);border:2px dashed #a7b1c2;border-radius: 12px;color:#23324b;font-weight:800;cursor:pointer}
.qb-field .qb-upload:hover {background: #fff;transition: .25s all ease-out;}
.qb-upload .wpcf7-form-control-wrap {position:absolute;inset:0;z-index:2;}
.qb-field .qb-upload .qb-file {width:100%;height:100%;opacity:0;cursor:pointer;}
.qb-field .qb-upload:hover .qb-upload-icon i {color:#f97316;transition: .25s all ease-out;}
.qb-upload-icon i {font-size: 18px;color: #6b7280;}
.qb-field .qb-upload-text {color: #374151;font-weight: 600;font-size: 13px;}
.qb-field .qb-input {width: 100%;margin: 0;height: 44px;padding: 0 18px;background: #fff;border: 1px solid #cfd5dc;border-radius: 12px;color: #10213b;font-size: 13px;box-shadow: none;}
.qb-input::placeholder {color:#9aa3b5;}
.qb-submit-wrap {position:relative;margin-top:12px;}
.qb-submit-wrap .qb-submit {width:100%;height: 48px;margin:0;padding:0 24px 0 52px;background:#f97316;border:0;border-radius: 12px;color:#fff;font-size: 16px;font-weight: 600;text-transform:none;box-shadow:0 8px 16px rgba(255,104,23,.28);}
.qb-submit-wrap .qb-submit i {font-size: 14px;}
.qb-submit:hover {background:#ea580c;}
.qb-note p {color:#6e7787;font-size: 11px;font-style:italic;text-align:center;margin-top: 15px;}
.qb-form .wpcf7-not-valid-tip {margin-top:6px;font-size:13px}
.qb-form .wpcf7-response-output{margin:14px 0 0;padding:10px 12px;border-radius:10px;font-size:13px;}
/* Box Bottom Hero */
.sf-text-top p {display: inline-block;margin-bottom: 20px;padding: 12px 15px 12px;background: rgb(255 255 255 / 15%);border: 1px solid rgb(255 255 255 / 0.2);border-radius: 99px;font-weight: 700;font-size: 14px;}
.sf-text-ks ul {list-style: none;display: flex;margin-top: 20px;margin-bottom: 0;column-gap: 15px;flex-wrap: wrap;}
.sf-text-ks ul li {margin: 0;}
.sf-text-ks ul li:before {content: "\f058";font-family: 'FontAwesome';margin-right: 5px;color: #f77216;}
/* Section Chất Liệu - Quy Trình */
.sf-box-chat-lieu .box-image {border: 4px solid #374151;transition: .35s all ease-out;}
.sf-box-chat-lieu .box-image:hover {border-color:#f97316;}
.sf-box-quy-trinh .icon-box-img {background: #fff;border-radius: 50%;border: 4px solid #fff7ed;overflow: hidden;padding: 10px;height: 95px;display: flex;align-items: center;box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);}
.sf-box-quy-trinh .icon-box-img .icon img {width: 35px;padding-top: 0;}
.row-quick {background-color: rgb(31 41 55 / 0.5);padding: 30px 15px 25px;border-radius: 15px;border: 1px solid #374151;}
.sf-box-dia-chi .icon-box-text {padding-left: 8px !important;}
/* Page Dịch Vụ */
.row.sf-service-page .box.box-blog-post {background: #fff;border-radius: 15px;border: 1px solid #e5e7eb;box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);}
.row.sf-service-page .box.box-blog-post .button {border-radius: 7px;}
.row.sf-service-page .box.box-blog-post .button:after {content: "\f061";font-family: "FontAwesome";font-size: 11px;}
@media(max-width:549px){
	.sf-text-top p {font-size: 12px;font-weight: 500;}
	.sf-text-ks ul {justify-content: center;}
	.qb-form {padding:30px 18px;border-radius:26px;}
	.qb-form .qb-heading {font-size:20px;}
	.qb-options.wpcf7-radio {/*grid-template-columns:1fr;*/}
	.qb-submit-wrap:before {left:calc(50% - 104px);}
	.quick-contact {padding: 50px 15px;}
}
/* ACF Sản phẩm */
.tp-about-left {padding: 15px 20px;}
.related-post .post-title {font-size: 14px;overflow: hidden;display: -webkit-box;-webkit-box-orient: vertical;-webkit-line-clamp: 2;}
.related-post .col .col-inner {border-radius: 12px;background: none;}
.related-post .box-blog-post {border-radius: 12px;}
.featured-title .page-title-bg .title-bg.bg-top {background-image: url(/wp-content/uploads/2026/05/hero-banner.webp) !important;background-position: center;}
.featured-title .page-title-bg .title-overlay {background-color: #000000ba !important;}
.tp-ft-menu .ux-menu-link__link {min-height: auto;font-size: 14px;}
p.tg-form-title {font-size: 11px;margin-bottom: 10px;}
.installment-form .form-submit {background: #efb606;text-align: center;border-radius: 4px;}
.installment-submit-btn {font-size: 12px;color: #111;margin: 0;padding: 3px 10px 2px;}
.installment-form input {margin-bottom: 7px;height: 33px;font-size: 12px;border-radius: 4px;background: #ffffff0f;border-color: #ffffff1f;}

@media (max-width: 767px) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
	.button span {font-size: 18px;line-height: 40px;}
	.section-title a {padding: 10px 0 8px;}
	h5.post-title {font-size: 20px;}
	.related-post .post-title {font-size: 18px;}
	.duong-line h4 {font-size: 24px;}
	.blog-featured-title+#main .post-sidebar {padding-top: 0;}
    .tp-title-hero h2 {font-size: 32px !important;letter-spacing: normal;}
	.tp-du-an-home .section-title-container {margin-bottom: 15px;}
	.tp-du-an-home .portfolio-element-wrapper ul.nav.filter-nav {justify-content: flex-start;overflow: scroll;flex-wrap: nowrap;padding-bottom: 8px;}
	.tp-du-an-home .portfolio-element-wrapper ul.nav.filter-nav>li {flex: none;}
	.tp-du-an-home .portfolio-element-wrapper ul.nav.filter-nav>li>a {white-space:pre-wrap;}
	h6.portfolio-box-title {font-size: 13px;max-width: 100%;overflow: hidden;display: -webkit-box;-webkit-box-orient: vertical;-webkit-line-clamp: 2;}
	h6.portfolio-box-title:after {width: 25px;height: 25px;line-height: 25px;font-size: 10px;right: 0;bottom: 100%;}
}
