/* Flatsome Industry Themes – CSS bổ trợ cho các section.
   Màu lấy từ biến --fit-* (sinh theo giao diện đã nhập), fallback về màu Flatsome. */
:root {
	--fit-primary: var(--fs-color-primary, #446084);
	--fit-primary-soft: #eef2f7;
	--fit-primary-dark: #2f4561;
	--fit-dark: #111827;
	--fit-light: #f4f6f8;
	--fit-text: #4b5563;
	--fit-heading: #111827;
	--fit-radius: 6px;
	--fit-card-radius: 10px;
	--fit-shadow: 0 10px 30px rgba(17, 24, 39, .07);
	--fit-shadow-hover: 0 18px 40px rgba(17, 24, 39, .13);
}

/* ---------- Tiêu đề section ---------- */
.fit-kicker {
	color: var(--fit-primary);
	font-size: .85em;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	margin-bottom: .5em;
}
.dark .fit-kicker { color: #fff; opacity: .9; }
.fit-title { margin-bottom: .45em; line-height: 1.25; font-size: clamp(1.6rem, 2.6vw, 2.35rem); }
.fit-desc { font-size: 1.08em; opacity: .85; max-width: 720px; }
.text-center .fit-desc, [style*="text-align: center"] .fit-desc, .fit-heading.text-center .fit-desc { margin-left: auto; margin-right: auto; }
.fit-heading { margin-bottom: 28px; }
.fit-heading--line .fit-title::after {
	content: "";
	display: block;
	width: 56px;
	height: 3px;
	border-radius: 3px;
	background: var(--fit-primary);
	margin: .55em 0 0;
}
.fit-heading.text-center .fit-title::after,
.fit-heading[style*="center"] .fit-title::after,
.text-center > .fit-heading--line .fit-title::after { margin-left: auto; margin-right: auto; }
.dark .fit-heading--line .fit-title::after { background: #fff; }
.fit-heading--kicker .fit-kicker {
	display: inline-block;
	padding: .35em .9em;
	border-radius: 99px;
	background: var(--fit-primary-soft);
	letter-spacing: .06em;
}
.fit-lead p { font-size: 1.1em; }
.fit-note { opacity: .75; font-size: .95em; }

/* ---------- Hero ---------- */
.fit-hero-title { font-size: clamp(2.1em, 4.4vw, 3.6em); line-height: 1.12; margin-bottom: .35em; font-weight: inherit; }
.fit-hero-desc { font-size: 1.15em; opacity: .92; max-width: 640px; margin-bottom: 1.4em; }
.text-center .fit-hero-desc, .text-box .text-center .fit-hero-desc { margin-left: auto; margin-right: auto; }
.fit-hero .button, .fit-hero-split .button, .fit-hero-form .button { margin-bottom: .5em; }
.fit-hero-split .fit-hero-title { color: var(--fit-heading); }
.fit-hero-split.dark .fit-hero-title, .dark .fit-hero-split .fit-hero-title { color: #fff; }
.fit-badges .fit-check { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.fit-badges .fit-check li { margin: 0; }

/* ---------- Thẻ (card) ---------- */
.fit-card > .col-inner {
	background: #fff;
	border-radius: var(--fit-card-radius);
	padding: 32px 26px;
	box-shadow: var(--fit-shadow);
	height: 100%;
	transition: transform .25s ease, box-shadow .25s ease;
}
.fit-card > .col-inner:hover { transform: translateY(-4px); box-shadow: var(--fit-shadow-hover); }
.fit-card--media > .col-inner { padding: 0; overflow: hidden; }
.fit-card--media .img, .fit-card--media .img-inner { margin: 0 !important; border-radius: 0; }
.fit-card-body { padding: 22px 24px 24px; }
.fit-card-title { margin-bottom: .45em; font-size: 1.15em; line-height: 1.35; }
.fit-card-title a { color: inherit; }
.fit-card-title a:hover { color: var(--fit-primary); }
.fit-more { margin: 0; font-weight: 600; }
.fit-more a, a.fit-more { color: var(--fit-primary); }
.fit-price-tag { display: inline-block; font-weight: 700; color: var(--fit-primary); margin-bottom: .3em; }

/* Chữ tối trong thẻ trắng khi section nền tối */
.dark .fit-card > .col-inner,
.dark .fit-card > .col-inner p,
.dark .fit-card > .col-inner li,
.dark .fit-form-box > .col-inner,
.dark .fit-form-box > .col-inner p,
.dark .fit-form-box > .col-inner label { color: var(--fit-text); }
.dark .fit-card > .col-inner h1, .dark .fit-card > .col-inner h2, .dark .fit-card > .col-inner h3, .dark .fit-card > .col-inner h4,
.dark .fit-form-box > .col-inner h2, .dark .fit-form-box > .col-inner h3, .dark .fit-form-box > .col-inner h4,
.dark .fit-heading--onlight .fit-title { color: var(--fit-heading); }
.dark .fit-heading--onlight .fit-kicker { color: var(--fit-primary); }
.dark .fit-heading--onlight .fit-title::after { background: var(--fit-primary); }

/* ---------- Icon ---------- */
.fit-ico { display: inline-flex; align-items: center; justify-content: center; color: var(--fit-primary); line-height: 1; vertical-align: middle; }
.fit-ico svg { display: block; }
.fit-ico--circle { width: 68px; height: 68px; border-radius: 50%; background: var(--fit-primary-soft); margin-bottom: 18px; transition: .25s; }
.fit-card > .col-inner:hover .fit-ico--circle { background: var(--fit-primary); color: #fff; }
.fit-ico--square { width: 60px; height: 60px; border-radius: 14px; background: var(--fit-primary); color: #fff; margin-bottom: 18px; }
.fit-ico--soft { width: 48px; height: 48px; flex: 0 0 48px; border-radius: 12px; background: var(--fit-primary-soft); }
.fit-ico--plain { margin-bottom: 12px; }
.fit-ico--inline { margin-right: 6px; position: relative; top: -1px; }
.dark .fit-ico--plain, .dark .fit-ico--inline { color: #fff; }
.dark .fit-ico--soft { background: rgba(255, 255, 255, .12); color: #fff; }
.fit-iconbox-inner { display: flex; gap: 16px; align-items: flex-start; }
.fit-iconbox-inner h4 { margin-bottom: .3em; }

/* ---------- Danh sách check ---------- */
ul.fit-check { list-style: none; margin: 0 0 1.2em; padding: 0; }
ul.fit-check li { position: relative; padding-left: 30px; margin-bottom: .6em; margin-left: 0; }
ul.fit-check li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .2em;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--fit-primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.dark ul.fit-check li::before { background-color: rgba(255, 255, 255, .25); }

/* ---------- Ảnh ---------- */
.fit-rounded .img-inner, .fit-rounded img { border-radius: var(--fit-card-radius); }
.fit-about-media > .col-inner { position: relative; }
.fit-exp-badge {
	position: absolute;
	right: 6%;
	bottom: -18px;
	background: var(--fit-primary);
	color: #fff;
	border-radius: var(--fit-card-radius);
	padding: 18px 24px;
	box-shadow: var(--fit-shadow-hover);
	display: flex;
	align-items: center;
	gap: 10px;
	max-width: 260px;
}
.fit-exp-badge strong { font-size: 2.4em; line-height: 1; }
.fit-exp-badge span { line-height: 1.3; font-size: .95em; }

/* ---------- Overlap ---------- */
.fit-overlap { margin-top: -80px; position: relative; z-index: 5; background-color: transparent !important; }
@media (max-width: 849px) { .fit-overlap { margin-top: 30px; } }

/* ---------- Số liệu ---------- */
.fit-stat-number { font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 800; line-height: 1.1; margin-bottom: .15em; font-family: inherit; }
.fit-stat-label { opacity: .85; margin: 0; }
.fit-stats--light .fit-stat-number { color: var(--fit-primary); }

/* ---------- Quy trình ---------- */
.fit-step-num {
	width: 64px;
	height: 64px;
	line-height: 64px;
	border-radius: 50%;
	margin: 0 auto 16px !important;
	font-weight: 800;
	font-size: 1.25em;
	color: #fff;
	background: var(--fit-primary);
	box-shadow: 0 0 0 8px var(--fit-primary-soft);
}
.fit-process--numbers .fit-step { position: relative; }
@media (min-width: 850px) {
	.fit-process--numbers .fit-step:not(:last-child) > .col-inner::after {
		content: "";
		position: absolute;
		top: 32px;
		left: calc(50% + 50px);
		width: calc(100% - 100px);
		border-top: 2px dashed var(--fit-primary);
		opacity: .35;
	}
}

/* ---------- Cảm nhận ---------- */
.fit-testimonials .testimonial-text { font-style: italic; }
/* Mỗi slide chiếm trọn chiều ngang (không lộ chữ slide bên cạnh), chừa chỗ cho chấm điều hướng. */
.fit-testimonial-slider .flickity-slider > *,
.fit-testimonial-slider .testimonial-box { width: 100% !important; box-sizing: border-box; }
.fit-testimonial-slider .testimonial-box { margin: 0; padding: 10px 6% 64px; }
.fit-testimonial-slider .testimonial-box .icon-box-text,
.fit-testimonial-slider .testimonial-text { max-width: 720px; margin-left: auto; margin-right: auto; }
.fit-testimonial-slider .testimonial-text { font-size: 1.15em; }
.fit-testimonial-slider .testimonial-meta { margin-top: 14px; }
.fit-testimonial-slider .flickity-page-dots { bottom: 8px !important; }
.fit-testimonial-slider .flickity-page-dots .dot { margin: 0 5px; }
.fit-testimonial-slider .flickity-page-dots .dot.is-selected { background: var(--fit-primary); border-color: var(--fit-primary); }

/* ---------- Bảng giá (thẻ) ---------- */
.fit-price-row { padding-top: 14px; }
.fit-price-card > .col-inner {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	background: #fff;
	border: 1px solid #e9edf2;
	border-radius: 20px;
	padding: 38px 32px 32px;
	box-shadow: 0 10px 30px rgba(17, 24, 39, .06);
	transition: transform .25s ease, box-shadow .25s ease;
	text-align: left;
}
.fit-price-card > .col-inner:hover { transform: translateY(-6px); box-shadow: 0 22px 46px rgba(17, 24, 39, .12); }
.fit-price-name {
	font-size: 15px !important;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: var(--fit-primary);
	margin: 0 0 14px;
}
.fit-price-amount { margin: 0 0 6px; line-height: 1; display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; }
.fit-price-amount strong { font-size: 46px; font-weight: 800; letter-spacing: -.02em; color: var(--fit-heading); }
.fit-price-amount span { font-size: 15px; opacity: .6; }
.fit-price-desc { font-size: 14px; opacity: .75; margin: 8px 0 0; }
.fit-price-features { margin-top: 22px; padding-top: 22px; border-top: 1px solid #eef1f4; flex: 1; }
.fit-sec ul.fit-price-list { margin: 0 0 24px !important; }
.fit-sec ul.fit-price-list > li {
	position: relative;
	padding: 0 0 0 32px;
	margin: 0 0 14px !important;
	line-height: 1.5;
	font-size: 15px;
}
.fit-price-list > li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 1px;
	width: 21px;
	height: 21px;
	border-radius: 50%;
	background: var(--fit-primary-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.fit-price-card .fit-price-btn, .fit-price-card > .col-inner > .button { margin: auto 0 0 !important; width: 100%; border-radius: 10px; min-height: 48px; line-height: 46px; font-weight: 700; }
/* Gói nổi bật */
.fit-price-card.is-featured > .col-inner {
	background: linear-gradient(150deg, var(--fit-primary) 0%, var(--fit-primary-dark) 100%);
	border-color: transparent;
	color: #fff;
	box-shadow: 0 24px 50px rgba(17, 24, 39, .22);
}
@media (min-width: 850px) {
	.fit-price-card.is-featured > .col-inner { transform: translateY(-14px); }
	.fit-price-card.is-featured > .col-inner:hover { transform: translateY(-20px); }
}
.fit-price-card.is-featured .fit-price-name,
.fit-price-card.is-featured .fit-price-amount strong,
.fit-price-card.is-featured p,
.fit-price-card.is-featured li { color: #fff; }
.fit-price-card.is-featured .fit-price-features { border-top-color: rgba(255, 255, 255, .2); }
.fit-price-card.is-featured .fit-price-list > li::before { background-color: rgba(255, 255, 255, .95); }
.fit-price-card.is-featured .fit-price-btn, .fit-price-card.is-featured > .col-inner > .button { background: #fff !important; color: var(--fit-primary-dark) !important; border-color: #fff !important; }
.fit-price-badge {
	position: absolute;
	top: -14px;
	right: 24px;
	margin: 0 !important;
	background: var(--fit-secondary, #f59e0b);
	color: #fff !important;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	padding: 6px 14px;
	border-radius: 99px;
	box-shadow: 0 8px 18px rgba(0, 0, 0, .18);
}
/* ux_price_table của Flatsome (nếu tự thêm trong UX Builder) */
.fit-pricing .pricing-table { border-radius: 20px; overflow: hidden; background: #fff; border: 1px solid #e9edf2; box-shadow: 0 10px 30px rgba(17, 24, 39, .06); }
.fit-pricing .pricing-table .title { background: transparent !important; color: var(--fit-primary) !important; letter-spacing: .08em; padding-top: 26px; }
.fit-pricing .pricing-table .price { font-weight: 800; color: var(--fit-heading); }

/* ---------- Thực đơn / bảng giá dạng list ---------- */
.fit-menu-item { padding: 12px 0; border-bottom: 1px dashed rgba(0, 0, 0, .12); }
.dark .fit-menu-item { border-color: rgba(255, 255, 255, .18); }
.fit-menu-head { display: flex; justify-content: space-between; gap: 16px; margin: 0; align-items: baseline; }
.fit-menu-head strong { font-size: 1.05em; }
.fit-menu-price { color: var(--fit-primary); font-weight: 700; white-space: nowrap; }
.fit-menu-desc { margin: 4px 0 0; font-size: .92em; opacity: .75; }
.fit-menu-group { color: var(--fit-primary); margin: 10px 0 6px; }
.fit-tabs .nav { margin-bottom: 24px; }

/* ---------- Listing ---------- */
.fit-badge {
	display: inline-block;
	background: var(--fit-primary-soft);
	color: var(--fit-primary);
	font-size: .78em;
	font-weight: 700;
	padding: 3px 10px;
	border-radius: 99px;
	margin-bottom: 8px;
	text-transform: uppercase;
	letter-spacing: .04em;
}
.fit-meta { font-size: .92em; opacity: .8; margin-bottom: .6em; }
ul.fit-meta-list { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .9em; opacity: .85; }
ul.fit-meta-list li { margin: 0; padding-left: 14px; position: relative; }
ul.fit-meta-list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 5px; height: 5px; border-radius: 50%; background: var(--fit-primary); }
.fit-listing-foot { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid rgba(0, 0, 0, .07); padding-top: 12px; }
.fit-price { color: var(--fit-primary); font-weight: 800; font-size: 1.15em; }

/* ---------- Dự án ---------- */
.fit-projects .banner .fit-kicker { color: #fff; opacity: .85; margin-bottom: .2em; }
.fit-projects .image-box .fit-kicker { color: #fff; }

/* ---------- CTA ---------- */
.fit-cta .fit-title { margin-bottom: .25em; }
.fit-cta .fit-title::after { display: none !important; }
.fit-cta-actions .button { margin: 6px 0 6px 8px; }
@media (max-width: 549px) { .fit-cta-actions > .col-inner { text-align: left !important; } .fit-cta-actions .button { margin-left: 0; } }
.fit-cta-box { background: linear-gradient(120deg, var(--fit-primary), var(--fit-primary-dark)); border-radius: calc(var(--fit-card-radius) * 1.5); padding: 30px 20px 0; color: #fff; }
.fit-cta-box h2, .fit-cta-box p { color: #fff; }

/* ---------- FAQ ---------- */
.fit-faq .accordion-title { font-weight: 600; font-size: 1.02em; padding-top: 14px; padding-bottom: 14px; }
.fit-faq .accordion-title.active { color: var(--fit-primary); }
.fit-help-box { background: var(--fit-light); border-radius: var(--fit-card-radius); padding: 26px; margin-top: 10px; }
.fit-help-box .fit-ico--circle { background: #fff; }
.fit-help-phone a { font-size: 1.6em; font-weight: 800; color: var(--fit-primary); }

/* ---------- Đối tác ---------- */
.fit-partners .logo-inner { opacity: .7; transition: opacity .2s; }
.fit-partners .logo-inner:hover { opacity: 1; }

/* ---------- Liên hệ ---------- */
.fit-contact-item { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.fit-contact-item strong { color: var(--fit-heading); }
.dark .fit-contact-item strong { color: #fff; }
.fit-form-box > .col-inner { background: #fff; border-radius: var(--fit-card-radius); padding: 34px 32px 24px; box-shadow: var(--fit-shadow-hover); }
.fit-form-title { margin-bottom: .6em; }
.fit-map iframe { display: block; }
.fit-map-section .col { padding-bottom: 0 !important; }
.fit-zalo-badge { display: inline-block; background: #0068ff; color: #fff; font-weight: 700; font-size: .75em; padding: 2px 8px; border-radius: 6px; margin-right: 4px; }
.fit-zalo-link { margin-top: 8px; }
.fit-zalo-link a { color: inherit; }

/* ---------- Form ---------- */
.fit-form .fit-form-grid { display: grid; grid-template-columns: 1fr; gap: 0 16px; }
.fit-form--2col .fit-form-grid { grid-template-columns: 1fr 1fr; }
.fit-form--2col .fit-field--wide { grid-column: 1 / -1; }
@media (max-width: 549px) { .fit-form--2col .fit-form-grid { grid-template-columns: 1fr; } }
/* Ô nhập: chỉ bo góc nhẹ (không bo tròn theo nút), cùng chiều cao. */
.fit-form input, .fit-form select, .fit-form textarea {
	border-radius: 4px !important;
	border: 1px solid #dfe3e8;
	box-shadow: none !important;
	margin-bottom: 14px;
	font-size: 15px;
	font-family: inherit;
	background-color: #fff;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}
.fit-form input, .fit-form select { height: 46px; padding: 0 14px; }
.fit-form textarea { min-height: 110px; padding: 12px 14px; resize: vertical; }
.fit-form input:focus, .fit-form select:focus, .fit-form textarea:focus { border-color: var(--fit-primary); outline: 0; box-shadow: 0 0 0 3px var(--fit-primary-soft) !important; }
.fit-form .fit-submit { border-radius: var(--fit-radius); margin: 4px 0 8px; width: 100%; }
.fit-form.is-loading .fit-submit { opacity: .6; pointer-events: none; }
.fit-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.fit-form-msg { font-weight: 600; min-height: 1em; }
.fit-form-msg.is-ok { color: #15803d; }
.fit-form-msg.is-err { color: #b91c1c; }

/* ---------- Trang con ---------- */
.fit-page-title { font-size: clamp(2rem, 3.6vw, 3rem); margin-bottom: .25em; }
.fit-page-desc { opacity: .9; font-size: 1.1em; }
.fit-breadcrumb { font-size: .92em; opacity: .85; margin: 0; }
.fit-breadcrumb a { color: inherit; }
.fit-breadcrumb span { margin: 0 6px; opacity: .6; }
.fit-page-header--simple .fit-page-title { color: var(--fit-heading); }

/* ---------- Video ---------- */
.fit-play { display: inline-flex; width: 104px; height: 104px; border-radius: 50%; align-items: center; justify-content: center; background: rgba(255, 255, 255, .15); color: #fff !important; animation: fit-pulse 2.2s infinite; }
.fit-play .fit-ico { color: #fff; margin: 0; }

/* ---------- Tin tức (section [blog_posts] trên các trang) ---------- */
.fit-posts .post-item > .col-inner, .fit-blog .post-item > .col-inner { height: 100%; }
.fit-posts .box-blog-post, .fit-blog .box-blog-post {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: #fff;
	border: 1px solid #eef0f3;
	border-radius: var(--fit-card-radius);
	overflow: hidden;
	box-shadow: 0 8px 24px rgba(17, 24, 39, .06);
	transition: transform .25s, box-shadow .25s;
}
.fit-posts .box-blog-post:hover, .fit-blog .box-blog-post:hover { transform: translateY(-4px); box-shadow: var(--fit-shadow-hover); }
.fit-blog .box-blog-post .box-image { border-radius: 0; }
.fit-blog .box-blog-post .box-text { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.fit-blog .box-blog-post .box-text-inner { display: flex; flex-direction: column; flex: 1; }
.fit-blog .box-blog-post .post-title { font-size: 17px; line-height: 1.45; font-weight: 700; color: var(--fit-heading); margin-bottom: 4px; }
.fit-blog .box-blog-post:hover .post-title { color: var(--fit-primary); }
.fit-blog .box-blog-post .post-meta { font-size: 13px; opacity: .6; }
.fit-blog .box-blog-post .is-divider { background: var(--fit-primary); height: 2px; width: 32px; margin: 10px 0; }
.fit-blog .box-blog-post .from_the_blog_excerpt { font-size: 15px; line-height: 1.6; color: var(--fit-text); }
.fit-blog .box-blog-post .from_the_blog_comments { display: none; }
.fit-blog .box-blog-post .button {
	align-self: flex-start;
	margin: auto 0 0 !important;
	border-radius: var(--fit-radius);
	border-width: 1px;
	border-color: var(--fit-primary);
	color: var(--fit-primary);
	text-transform: none;
	letter-spacing: 0;
	font-weight: 600;
}
.fit-blog .box-blog-post .button:hover { background: var(--fit-primary); color: #fff; }

/* ---------- Sản phẩm WooCommerce: thẻ có nền + nhãn giảm % ----------
   Áp cho mọi lưới sản phẩm: trang chủ ([ux_products]), cửa hàng, danh mục, sản phẩm liên quan. */
.product-small.col > .col-inner { height: 100%; }
.product-small.box {
	height: 100%;
	background: #fff !important;
	border: 1px solid #eef0f3;
	border-radius: var(--fit-card-radius);
	overflow: hidden;
	box-shadow: 0 8px 22px rgba(17, 24, 39, .06);
	transition: transform .25s, box-shadow .25s;
}
.product-small.box:hover { transform: translateY(-4px); box-shadow: var(--fit-shadow-hover); }
.product-small.box .box-image { border-radius: 0; }
.product-small .box-text-products, .product-small.box .box-text { padding: 14px 14px 18px !important; }
.product-small .category { font-size: 11px; letter-spacing: .08em; opacity: .55; margin-bottom: 4px; }
.product-small .name { margin-bottom: 6px; }
.product-small .name a, .product-small .woocommerce-loop-product__title { color: var(--fit-heading) !important; font-weight: 600; font-size: 15px; line-height: 1.4; }
.product-small.box:hover .name a { color: var(--fit-primary) !important; }
.product-small .price { font-weight: 700; }
.product-small .price ins { color: var(--fit-primary); text-decoration: none; }
.product-small .price del { opacity: .5; font-weight: 400; margin-right: 4px; }
/* Khe hở giữa các thẻ trong slider sản phẩm (trang chủ) */
.fit-products .slider .product-small.col { padding-bottom: 18px; }
/* Nhãn giảm giá: chữ nhật bo nhẹ, nằm trong góc thẻ */
.product-small .badge-container { margin: 12px 0 0 12px !important; }
.product-small .badge-container .badge,
.product-small .badge-container .callout { width: auto !important; height: auto !important; min-width: 0; }
.product-small .badge-container .badge-inner,
.product-small .badge-inner.on-sale {
	background: #e11d48 !important;
	color: #fff !important;
	border: 0 !important;
	border-radius: 6px !important;
	padding: 5px 9px !important;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
	box-shadow: 0 6px 14px rgba(225, 29, 72, .3);
}
.product-small .badge-container .badge-inner .onsale { padding: 0; }
@media (max-width: 549px) {
	.product-small .box-text-products { padding: 10px 10px 14px !important; }
	.product-small .badge-container { margin: 8px 0 0 8px !important; }
}

/* ---------- Sidebar trang cửa hàng / danh mục sản phẩm ---------- */
#shop-sidebar .widget, .shop-sidebar .widget {
	background: #fff;
	border: 1px solid #eef0f3;
	border-radius: var(--fit-card-radius);
	padding: 20px 20px 16px;
	margin-bottom: 22px;
	box-shadow: 0 6px 20px rgba(17, 24, 39, .04);
}
#shop-sidebar .widget:has(.fit-side-cta) { padding: 0; border: 0; background: none; box-shadow: none; }
#shop-sidebar .widget-title, .shop-sidebar .widget-title {
	display: block;
	font-size: 15px !important;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .06em;
	color: var(--fit-heading);
	padding-left: 12px;
	border-left: 3px solid var(--fit-primary);
	line-height: 1.2;
	margin: 0 0 14px;
}
#shop-sidebar .widget .is-divider { display: none; }
#shop-sidebar ul { list-style: none; margin: 0 !important; padding: 0 !important; }
#shop-sidebar ul li { margin-left: 0 !important; }
#shop-sidebar .product-categories > li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; border-bottom: 1px dashed #e8eaee; padding: 9px 0; }
#shop-sidebar .product-categories > li:last-child { border-bottom: 0; }
#shop-sidebar .product-categories a { color: var(--fit-heading); }
#shop-sidebar .product-categories .current-cat > a, #shop-sidebar .product-categories a:hover { color: var(--fit-primary); font-weight: 600; }
#shop-sidebar .product-categories .count { font-size: 12px; background: var(--fit-light); border-radius: 99px; padding: 1px 8px; opacity: 1; }
#shop-sidebar .product-categories .children { flex-basis: 100%; padding-left: 12px !important; }
#shop-sidebar ul.product_list_widget li { display: grid; grid-template-columns: 60px 1fr; column-gap: 12px; padding: 10px 0; border-bottom: 1px dashed #e8eaee; }
#shop-sidebar ul.product_list_widget li:last-child { border-bottom: 0; }
#shop-sidebar ul.product_list_widget li a { display: contents; color: var(--fit-heading); font-weight: 600; font-size: 14px; }
#shop-sidebar ul.product_list_widget li img { grid-row: span 2; width: 60px !important; height: 60px; object-fit: cover; border-radius: 8px; margin: 0 !important; float: none !important; }
#shop-sidebar ul.product_list_widget li .product-title { line-height: 1.4; }
#shop-sidebar ul.product_list_widget li .amount { color: var(--fit-primary); font-weight: 700; font-size: 14px; }
#shop-sidebar ul.product_list_widget li del .amount { color: inherit; opacity: .5; font-weight: 400; }
#shop-sidebar .price_slider_wrapper .ui-slider .ui-slider-range, #shop-sidebar .price_slider_wrapper .ui-slider .ui-slider-handle { background: var(--fit-primary); }
#shop-sidebar .price_slider_amount .button { border-radius: 6px; background: var(--fit-primary); color: #fff; font-size: 13px; }
#shop-sidebar .woocommerce-product-search { display: flex; border: 1px solid #dfe3e8; border-radius: 6px; overflow: hidden; }
#shop-sidebar .woocommerce-product-search .search-field { border: 0 !important; box-shadow: none !important; margin: 0; height: 42px; }
#shop-sidebar .woocommerce-product-search button { margin: 0; border-radius: 0; background: var(--fit-primary); color: #fff; }

/* ---------- Icon mạng xã hội (follow / share): luôn có màu thương hiệu ---------- */
.social-icons a.facebook { --fit-brand: #1877f2; }
.social-icons a.instagram { --fit-brand: #e4405f; }
.social-icons a.tiktok { --fit-brand: #111111; }
.social-icons a.twitter, .social-icons a.x { --fit-brand: #111111; }
.social-icons a.youtube { --fit-brand: #ff0000; }
.social-icons a.email { --fit-brand: #6b7280; }
.social-icons a.phone { --fit-brand: #16a34a; }
.social-icons a.pinterest { --fit-brand: #e60023; }
.social-icons a.linkedin { --fit-brand: #0a66c2; }
.social-icons a.whatsapp { --fit-brand: #25d366; }
.social-icons a.telegram { --fit-brand: #229ed9; }
.social-icons a.snapchat { --fit-brand: #f7c600; }
.social-icons a.vk { --fit-brand: #4c75a3; }
.social-icons a.tumblr { --fit-brand: #35465c; }
.social-icons a.flickr { --fit-brand: #ff0084; }
.social-icons a.rss { --fit-brand: #f26522; }
.social-icons a.discord { --fit-brand: #5865f2; }
.social-icons a.threads { --fit-brand: #111111; }
/* Dạng nút tròn (follow trong nội dung, share dưới bài viết): nền màu, icon trắng */
.social-icons a.icon.button[class] {
	background-color: var(--fit-brand, var(--fit-primary)) !important;
	border-color: var(--fit-brand, var(--fit-primary)) !important;
	color: #fff !important;
	opacity: 1 !important;
	box-shadow: none;
	transition: transform .2s, filter .2s;
}
.social-icons a.icon.button[class]:hover { transform: translateY(-2px); filter: brightness(1.1); }
.social-icons a.icon.button[class] i { color: #fff !important; }
/* Dạng icon trơn (header, topbar): icon màu thương hiệu */
.social-icons a.icon.plain[class], .social-icons a.icon:not(.button)[class] { color: var(--fit-brand, inherit) !important; opacity: 1 !important; }
.dark .social-icons a.icon:not(.button)[class], .header-top .social-icons a.icon:not(.button)[class] { color: #fff !important; opacity: .9 !important; }

/* ---------- Trang liên hệ: "Nhãn: giá trị" ---------- */
.fit-contact-item > div > strong { margin-right: 6px; }
.fit-contact-item > div > strong::after { content: ":"; }
.fit-contact-item > div > br { display: none; }

/* ---------- Header giao diện bán hàng: giỏ hàng chỉ icon ---------- */
.header-cart-link .header-cart-title { display: none; }
.header-nav .cart-item .cart-icon strong, .header-nav .cart-icon strong { border-radius: 6px; }

/* ---------- Footer ---------- */
.fit-footer { font-size: .95em; }
.fit-footer-brand { font-size: 1.5em; margin-bottom: .5em; }
.fit-footer-title { font-size: 1.05em; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 1em; }
ul.fit-footer-links { list-style: none; margin: 0; padding: 0; }
ul.fit-footer-links li { margin: 0 0 .55em; }
.fit-footer a { color: inherit; opacity: .85; }
.fit-footer a:hover { opacity: 1; color: inherit; }
ul.fit-footer-inline { list-style: none; margin: 1em 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; }
ul.fit-footer-inline li { margin: 0; }
.fit-footer-contact p { margin-bottom: .6em; }

/* ---------- Danh sách: bỏ thụt lề mặc định của Flatsome (ul li { margin-left: 1.3em }) ---------- */
.fit-sec ul[class*="fit-"], .fit-footer ul, .fit-side-cta ul {
	list-style: none !important;
	margin-left: 0 !important;
	padding-left: 0 !important;
}
.fit-sec ul[class*="fit-"] > li, .fit-footer ul > li {
	margin-left: 0 !important;
	list-style: none !important;
}

/* ---------- Topbar ---------- */
.fit-topbar-item { margin-right: 18px; white-space: nowrap; font-size: 13px; }
.fit-topbar-item a { color: inherit; }

/* ---------- Menu chính: cỡ chữ cố định px + khoảng cách giữa các mục ---------- */
.header-nav-main.nav > li > a,
.header-bottom .header-nav.nav > li > a {
	font-size: var(--fit-nav-size, 15px) !important;
	letter-spacing: .01em;
}
.header-nav-main.nav > li,
.header-bottom .header-nav.nav > li {
	margin-left: calc(var(--fit-nav-gap, 26px) / 2) !important;
	margin-right: calc(var(--fit-nav-gap, 26px) / 2) !important;
}
.header-nav-main.nav > li.html,
.header-nav-main.nav > li.header-divider { margin-left: 8px !important; margin-right: 8px !important; }
.nav-dropdown > li > a { font-size: calc(var(--fit-nav-size, 15px) - 1px); }

/* ---------- Trang tin tức (blog archive) ---------- */
.blog-archive .page-title, .blog-archive .archive-page-header { margin-bottom: 24px; }
.blog-archive .archive-page-header h1 { font-size: 28px; }
/* Kiểu Default/Normal của Flatsome */
.blog-wrapper .article-inner {
	background: #fff;
	border: 1px solid #eef0f3;
	border-radius: var(--fit-card-radius);
	box-shadow: 0 6px 20px rgba(17, 24, 39, .05);
	padding: 26px 28px 8px;
	margin-bottom: 30px;
	transition: box-shadow .25s;
}
.blog-wrapper .article-inner:hover { box-shadow: var(--fit-shadow-hover); }
.blog-wrapper .entry-image img { border-radius: calc(var(--fit-card-radius) - 2px); }
.blog-wrapper .entry-title { font-size: 24px; line-height: 1.35; }
.blog-wrapper .entry-title a:hover { color: var(--fit-primary); }
.blog-wrapper .entry-category a { color: var(--fit-primary); letter-spacing: .08em; }
.blog-wrapper .entry-divider, .blog-wrapper .is-divider { background-color: var(--fit-primary); opacity: 1; height: 3px; border-radius: 3px; }
.blog-wrapper footer.entry-meta { border-top: 1px solid #f0f1f4; padding-top: 12px; font-size: 13px; }
.blog-wrapper .more-link.button, .blog-wrapper .entry-content .button {
	border-radius: var(--fit-radius);
	border-width: 1px;
	text-transform: none;
	letter-spacing: 0;
	font-weight: 600;
}
/* Kiểu List / 2-col / 3-col (box-blog-post) */
.blog-wrapper .post-item .col-inner { height: 100%; }
.blog-wrapper .box-blog-post {
	background: #fff;
	border: 1px solid #eef0f3;
	border-radius: var(--fit-card-radius);
	overflow: hidden;
	box-shadow: 0 6px 20px rgba(17, 24, 39, .05);
	height: 100%;
	transition: transform .25s, box-shadow .25s;
}
.blog-wrapper .box-blog-post:hover { transform: translateY(-3px); box-shadow: var(--fit-shadow-hover); }
.blog-wrapper .box-blog-post .box-image { border-radius: 0; }
.blog-wrapper .box-blog-post .box-text { padding: 22px 24px 24px; }
.blog-wrapper .box-blog-post .post-title { font-size: 19px; line-height: 1.4; font-weight: 700; margin-bottom: 6px; }
.blog-wrapper .box-blog-post .post-title, .blog-wrapper .box-blog-post .post-title a { color: var(--fit-heading); }
.blog-wrapper .box-blog-post .post-title a:hover, .blog-wrapper .box-blog-post:hover .post-title, .blog-wrapper .box-blog-post:hover .post-title a { color: var(--fit-primary); }
.blog-wrapper .box-blog-post .is-divider { margin: 10px 0 12px; }
.blog-wrapper .box-blog-post .from_the_blog_excerpt { color: var(--fit-text); font-size: 15px; line-height: 1.65; }
.blog-wrapper .box-blog-post .post-meta { font-size: 13px; opacity: .65; }
.blog-wrapper .box-vertical .box-image { flex: 0 0 38%; }
@media (min-width: 550px) { .blog-wrapper .box-vertical .box-text { padding: 26px 30px; } }
/* Nhãn ngày */
.blog-wrapper .badge.post-date .badge-inner,
.fit-posts .badge.post-date .badge-inner {
	background: var(--fit-primary);
	border: 0;
	color: #fff;
	border-radius: 8px;
	font-weight: 700;
	box-shadow: 0 6px 14px rgba(0, 0, 0, .15);
}
/* Phân trang */
.blog-wrapper .page-numbers.nav-pagination > li > span,
.blog-wrapper .page-numbers.nav-pagination > li > a { border-radius: 8px; border-width: 1px; min-width: 40px; height: 40px; line-height: 38px; }
.blog-wrapper .page-numbers.nav-pagination > li > .current { background: var(--fit-primary); border-color: var(--fit-primary); color: #fff; }

/* Bài viết chi tiết: bỏ dòng "Bài viết này được đăng trong… Đánh dấu liên kết thường trực." */
.single-post .article-inner > footer.entry-meta,
.single-post .blog-single footer.entry-meta,
.single-post footer.entry-meta { display: none !important; }

/* ---------- Sidebar tin tức ---------- */
.post-sidebar .widget, #secondary .widget {
	background: #fff;
	border: 1px solid #eef0f3;
	border-radius: var(--fit-card-radius);
	padding: 22px 22px 18px;
	margin-bottom: 24px;
	box-shadow: 0 6px 20px rgba(17, 24, 39, .04);
}
.post-sidebar .widget:has(.fit-side-cta), #secondary .widget:has(.fit-side-cta) { padding: 0; border: 0; background: none; box-shadow: none; }
.post-sidebar .widget:has(.wp-block-search), #secondary .widget:has(.wp-block-search) { padding: 16px; }
.post-sidebar .widget-title, .post-sidebar .widget .wp-block-heading, .fit-widget-title {
	display: block;
	font-size: 15px !important;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .06em;
	color: var(--fit-heading);
	padding-left: 12px;
	border-left: 3px solid var(--fit-primary);
	line-height: 1.2;
	margin: 0 0 16px !important;
}
.post-sidebar .widget .is-divider { display: none; }
.post-sidebar ul, #secondary ul { list-style: none; margin: 0 !important; padding: 0 !important; }
.post-sidebar ul li, #secondary ul li { margin-left: 0 !important; }
.post-sidebar .widget ul > li { border-bottom: 1px dashed #e8eaee; padding: 9px 0; }
.post-sidebar .widget ul > li:last-child { border-bottom: 0; padding-bottom: 0; }
.post-sidebar .widget a { color: var(--fit-heading); }
.post-sidebar .widget a:hover { color: var(--fit-primary); }
/* Tìm kiếm */
.post-sidebar .wp-block-search__label { display: none; }
.post-sidebar .wp-block-search__inside-wrapper { display: flex; border: 1px solid #dfe3e8; border-radius: 6px; overflow: hidden; background: #fff; padding: 0 !important; }
.post-sidebar .wp-block-search__input { border: 0 !important; box-shadow: none !important; margin: 0 !important; height: 44px; padding: 0 14px; font-size: 14px; flex: 1; min-width: 0; }
.post-sidebar .wp-block-search__button { margin: 0 !important; border: 0 !important; border-radius: 0 !important; background: var(--fit-primary) !important; color: #fff !important; min-width: 48px; padding: 0 14px; display: flex; align-items: center; justify-content: center; }
.post-sidebar .wp-block-search__button svg { fill: currentColor; width: 20px; height: 20px; }
/* Bài viết mới (có ảnh) */
.post-sidebar .wp-block-latest-posts li { display: grid !important; grid-template-columns: 68px 1fr; column-gap: 12px; align-items: start; }
.post-sidebar .wp-block-latest-posts__featured-image { grid-row: span 2; margin: 0 !important; float: none !important; }
.post-sidebar .wp-block-latest-posts__featured-image img { width: 68px !important; height: 68px !important; object-fit: cover; border-radius: 8px; display: block; }
.post-sidebar .wp-block-latest-posts:not(.has-dates) li { grid-template-rows: auto; }
.post-sidebar .wp-block-latest-posts li > a:only-child { grid-column: 1 / -1; }
.post-sidebar .wp-block-latest-posts__post-title { font-weight: 600; font-size: 14px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-sidebar .wp-block-latest-posts__post-date { font-size: 12px; opacity: .6; margin-top: 4px; }
/* Chuyên mục, bình luận, lưu trữ */
.post-sidebar .wp-block-categories li, .post-sidebar .widget_categories li { display: flex; justify-content: space-between; gap: 8px; }
.post-sidebar .wp-block-latest-comments { padding: 0 !important; margin: 0 !important; }
.post-sidebar .wp-block-latest-comments__comment { margin: 0; padding: 9px 0; line-height: 1.5; font-size: 14px; }
.post-sidebar .wp-block-latest-comments__comment article { margin: 0; }
/* Hộp tư vấn */
.fit-side-cta {
	background: linear-gradient(140deg, var(--fit-primary), var(--fit-primary-dark));
	color: #fff;
	border-radius: var(--fit-card-radius);
	padding: 26px 22px;
	text-align: center;
}
.fit-side-cta svg { opacity: .9; margin-bottom: 8px; }
.fit-side-cta h4 { color: #fff; font-size: 18px; margin-bottom: 6px; }
.fit-side-cta p { font-size: 14px; opacity: .9; margin-bottom: 16px; }
.fit-side-cta a { display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: 6px; font-weight: 700; padding: 10px 14px; margin-top: 8px; text-decoration: none; }
.fit-side-cta a.fit-side-cta__tel, .post-sidebar .widget .fit-side-cta a.fit-side-cta__tel { background: #fff; color: var(--fit-primary-dark); font-size: 16px; white-space: nowrap; }
.post-sidebar .widget .fit-side-cta a.fit-side-cta__zalo, .fit-side-cta a.fit-side-cta__zalo { background: rgba(255, 255, 255, .15); color: #fff; border: 1px solid rgba(255, 255, 255, .4); }

/* ---------- Nút liên hệ nổi ---------- */
.fit-float { position: fixed; bottom: 24px; z-index: 990; display: flex; flex-direction: column; gap: 12px; }
.fit-float--left { left: 18px; align-items: flex-start; }
.fit-float--right { right: 18px; align-items: flex-end; }
.fit-float-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	color: #fff !important;
	box-shadow: 0 6px 18px rgba(0, 0, 0, .22);
	position: relative;
	text-decoration: none;
}
.fit-float-btn span { font-weight: 800; font-size: 13px; }
.fit-float-call { background: #e11d48; animation: fit-pulse 2s infinite; }
.fit-float-zalo { background: #0068ff; }
.fit-float-msg { background: linear-gradient(45deg, #0084ff, #a033ff); }
.fit-float-call em {
	position: absolute;
	left: 58px;
	white-space: nowrap;
	background: #e11d48;
	color: #fff;
	font-style: normal;
	font-weight: 700;
	padding: 6px 14px;
	border-radius: 99px;
	font-size: 15px;
	box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
}
.fit-float--right .fit-float-call em { left: auto; right: 58px; }
@keyframes fit-pulse {
	0% { box-shadow: 0 0 0 0 rgba(225, 29, 72, .55); }
	70% { box-shadow: 0 0 0 16px rgba(225, 29, 72, 0); }
	100% { box-shadow: 0 0 0 0 rgba(225, 29, 72, 0); }
}

/* ---------- Thanh liên hệ mobile ---------- */
.fit-mobile-bar { display: none; }
@media (max-width: 849px) {
	.fit-mobile-bar {
		display: flex;
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 995;
		background: #fff;
		box-shadow: 0 -4px 16px rgba(0, 0, 0, .1);
		padding-bottom: env(safe-area-inset-bottom);
	}
	.fit-mobile-bar a { text-decoration: none; flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 4px; font-size: 12px; font-weight: 600; color: var(--fit-heading); }
	.fit-mobile-bar a:first-child { background: var(--fit-primary); color: #fff; }
	body:has(.fit-mobile-bar) { padding-bottom: 60px; }
	body:has(.fit-mobile-bar) .fit-float { display: none; }
	body:has(.fit-mobile-bar) #top-link { bottom: 72px; }
}
