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

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

/* Bảng giá trang sản phẩm (khối Flatsome, #myDIV): ẩn dòng giá chưa điền (cả tên mức lẫn giá đều trống) — Claude 2026-11 */
#myDIV .btn:has(.btitem_name:empty):has(.btitem_price:empty) { display: none; }

/* Khối nội dung trang Sản phẩm + Liên hệ (bảng việc #63) — Claude 2026-11-20 */
.tnc-info { --tnc: #0a9a96; --tnc-dark: #077a77; --tnc-soft: #e4f4f3; --tnc-line: #ebe5dc; --tnc-muted: #5d6166; color: #2a2d31; }
.tnc-info h2, .tnc-info h3 { color: #2a2d31; }
.tnc-head { text-align: center; max-width: 720px; margin: 0 auto 30px; }
.tnc-eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--tnc); margin-bottom: 8px; }
.tnc-head h2 { font-size: 1.75em; line-height: 1.3; margin: 0 0 10px; }
.tnc-lead { font-size: 1.05em; line-height: 1.65; color: var(--tnc-muted); margin: 0; }
.tnc-grid { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); margin: 0 0 44px; }
.tnc-grid-4 { grid-template-columns: repeat(4, 1fr); gap: 22px; }
.tnc-grid-5 { grid-template-columns: repeat(6, 1fr); }
.tnc-grid-5 > * { grid-column: span 2; }
.tnc-grid-5 > :nth-child(n+4) { grid-column: span 3; }
.tnc-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--tnc-line); border-radius: 14px; padding: 22px 22px 18px; color: inherit; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
a.tnc-card:hover, a.tnc-card:focus-visible { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(0, 0, 0, .07); border-color: var(--tnc); color: inherit; }
.tnc-card h3 { font-size: 1.15em; margin: 0 0 6px; }
.tnc-card p { flex: 1; font-size: .95em; line-height: 1.6; color: var(--tnc-muted); margin: 0 0 14px; }
.tnc-more { font-size: .92em; font-weight: 700; color: var(--tnc); }
a.tnc-card:hover .tnc-more { color: var(--tnc-dark); }
.tnc-badge { position: absolute; top: 20px; right: 18px; font-size: 11px; font-weight: 700; color: #a85a00; background: #fff3e2; border-radius: 99px; padding: 3px 10px; }
.tnc-ic { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; background: var(--tnc-soft); color: var(--tnc); margin-bottom: 14px; }
.tnc-ic svg, .tnc-btn svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tnc-feature h3 { font-size: 1.02em; margin: 0 0 4px; }
.tnc-feature p { font-size: .93em; line-height: 1.6; color: var(--tnc-muted); margin: 0; }
.tnc-feature a { color: var(--tnc); text-decoration: underline; text-underline-offset: 2px; }
.tnc-subhead { font-size: 1.3em; text-align: center; margin: 0 0 22px; }
.tnc-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; background: var(--tnc); color: #fff; border-radius: 16px; padding: 26px 30px; }
.tnc-cta h3 { color: #fff; font-size: 1.25em; margin: 0 0 4px; }
.tnc-cta p { color: rgba(255, 255, 255, .9); margin: 0; }
.tnc-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.tnc-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border: 2px solid #fff; border-radius: 99px; font-size: .95em; font-weight: 700; line-height: 1.2; color: #fff; transition: background .2s, color .2s; }
.tnc-btn svg { width: 18px; height: 18px; stroke-width: 2; }
.tnc-btn:hover { background: rgba(255, 255, 255, .15); color: #fff; }
.tnc-btn-solid { background: #fff; color: var(--tnc-dark); }
.tnc-btn-solid:hover { background: #f1fbfa; color: var(--tnc-dark); }
.tnc-pills { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 10px; margin-top: 26px; font-size: .95em; color: var(--tnc-muted); }
.tnc-pills a { padding: 6px 14px; border: 1px solid var(--tnc-line); border-radius: 99px; background: #fff; color: #2a2d31; transition: border-color .2s, color .2s; }
.tnc-pills a:hover { border-color: var(--tnc); color: var(--tnc); }
.tnc-note { text-align: center; font-size: .92em; color: var(--tnc-muted); margin: 14px 0 0; }
/* Liên hệ: cột thông tin cạnh bản đồ */
.tnc-side-title { font-size: 1.3em; margin: 0 0 14px; }
.tnc-list { list-style: none; margin: 0 0 26px; padding: 0; }
.tnc-list li { display: flex; gap: 14px; align-items: flex-start; margin: 0 0 14px; padding: 0; }
.tnc-list .tnc-ic { width: 40px; height: 40px; margin: 0; }
.tnc-list .tnc-ic svg { width: 20px; height: 20px; }
.tnc-list small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--tnc-muted); margin-bottom: 1px; }
.tnc-list a { color: #2a2d31; font-weight: 700; }
.tnc-list a:hover { color: var(--tnc); }
.tnc-list .tnc-sub { display: block; font-size: .9em; color: var(--tnc-muted); }
.tnc-list .tnc-sub a { font-weight: 400; text-decoration: underline; }
.tnc-form-intro { color: var(--tnc-muted); margin-bottom: 14px; }

@media (max-width: 849px) {
	.tnc-grid, .tnc-grid-4, .tnc-grid-5 { grid-template-columns: repeat(2, 1fr); }
	.tnc-grid-5 > *, .tnc-grid-5 > :nth-child(n+4) { grid-column: auto; }
	.tnc-grid-5 > :last-child { grid-column: 1 / -1; }
	.tnc-cta { padding: 22px; }
}
@media (max-width: 549px) {
	.tnc-grid { grid-template-columns: 1fr; gap: 14px; }
	.tnc-grid-4 { gap: 20px 16px; }
	.tnc-head h2 { font-size: 1.45em; }
	.tnc-btns { width: 100%; }
	.tnc-btn { flex: 1 1 40%; justify-content: center; padding: 10px 12px; white-space: nowrap; }
	.tnc-btn-solid { flex-basis: 100%; }
}

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


}
