/* ==========================================================================
   TÂM PHÁT – CSS giao diện
   --------------------------------------------------------------------------
   MỤC LỤC (Ctrl+F tìm "== số." để nhảy tới mục)
   == 1.  Biến màu, font, nền tảng
   == 2.  Tiện ích: nút, lưới, nhãn, ảnh tạm
   == 3.  Header Flatsome (top bar, menu)
   == 4.  Banner trang con + khung laptop/điện thoại
   == 5.  Banner trang chủ + thẻ số liệu
   == 6.  Tiêu đề khối
   == 7.  Icon + chữ, số liệu, thanh ngang, danh sách tích, thẻ, ảnh, CTA, logo, ghi chú
   == 8.  Quy trình, lĩnh vực, tab, thẻ mẫu, dự án, đánh giá, bài viết trang chủ
   == 9.  Kho giao diện: tìm kiếm, danh mục, bộ lọc, phân trang
   == 10. Chi tiết mẫu giao diện
   == 11. Tin tức + chi tiết bài viết + sidebar
   == 12. Bảng giá: hosting, tên miền, thiết kế web
   == 13. Liên hệ, bản đồ, tài liệu
   == 14. Footer
   == 15. Nút liên hệ nổi, thông báo
   == 16. Responsive (máy tính bảng ≤ 849px, điện thoại ≤ 549px)
   ========================================================================== */

/* == 1. Biến màu, font, nền tảng ========================================= */
:root {
	--tp-red: #bd1238;          /* màu chủ đạo */
	--tp-red-d: #8c0d2a;        /* đỏ đậm */
	--tp-red-dd: #6c0a20;       /* đỏ rất đậm (footer) */
	--tp-red-l: #e8395f;        /* đỏ sáng (gradient) */
	--tp-pink: #fdf2f5;         /* nền hồng nhạt */
	--tp-pink-2: #fbe5ec;       /* nền hồng đậm hơn */
	--tp-border: #f1e2e7;       /* viền nhạt */
	--tp-gold: #ffc93c;         /* vàng (giá hosting) */
	--tp-gold-d: #f39c12;
	--tp-head: #1c1b2b;         /* màu tiêu đề */
	--tp-text: #3f4150;         /* màu chữ */
	--tp-muted: #6b6e7c;        /* chữ phụ */
	--tp-green: #16a34a;
	--tp-radius: 14px;
	--tp-radius-sm: 8px;
	--tp-shadow: 0 6px 24px rgba(140, 13, 42, .08);
	--tp-shadow-lg: 0 14px 40px rgba(140, 13, 42, .14);
	--tp-grad: linear-gradient(120deg, #a50f32 0%, #c4153e 55%, #8c0d2a 100%);
	--tp-font: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

body,
h1, h2, h3, h4, h5, h6,
.nav > li > a,
.button, button, input, select, textarea,
.heading-font, .alt-font {
	font-family: var(--tp-font);
}

body { color: var(--tp-text); }
h1, h2, h3, h4, h5, h6 { color: var(--tp-head); font-weight: 700; }

.i {
	width: 1em;
	height: 1em;
	flex: none;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
	vertical-align: -.125em;
}

.sr-only {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0);
	white-space: nowrap; border: 0;
}

/* Chữ trong element không bị Flatsome thêm margin cho ul/li */
/* (dùng :where để độ ưu tiên = 0, dễ ghi đè) */
:where([class^="tp-"], [class*=" tp-"]) ul { margin: 0; padding: 0; list-style: none; }
:where([class^="tp-"], [class*=" tp-"]) li { margin: 0; }
.col-inner :is([class^="tp-"], [class*=" tp-"]) li { margin-left: 0; } /* bỏ lề trái Flatsome thêm cho li trong cột */
.tp-spec th, .tp-table th { text-transform: none; letter-spacing: 0; line-height: 1.3; }
.tp-entry ul { margin: 0 0 1.2em; padding-left: 1.4em; list-style: disc; }
.tp-entry ol { margin: 0 0 1.2em; padding-left: 1.4em; list-style: decimal; }

/* == 2. Tiện ích ========================================================= */
.tp-btn,
.button.tp-ux-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .55em;
	min-height: 44px;
	padding: 0 24px;
	border: 1.5px solid transparent;
	border-radius: 999px;
	font-weight: 700;
	font-size: 15px;
	line-height: 1.2;
	text-transform: none;
	letter-spacing: 0;
	cursor: pointer;
	transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
	white-space: nowrap;
}
.tp-btn .i { font-size: 1.05em; transition: transform .2s; }
.tp-btn:hover .i-arrow-right { transform: translateX(3px); }

.tp-btn.is-primary,
.button.tp-ux-btn {
	background: linear-gradient(135deg, var(--tp-red) 0%, var(--tp-red-d) 100%);
	color: #fff;
	box-shadow: 0 6px 16px rgba(189, 18, 56, .25);
}
.tp-btn.is-primary:hover,
.button.tp-ux-btn:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 10px 22px rgba(189, 18, 56, .32); }

.tp-btn.is-outline,
.tp-btn.is-outline-sm { background: #fff; color: var(--tp-red); border-color: var(--tp-red); }
.tp-btn.is-outline:hover,
.tp-btn.is-outline-sm:hover { background: var(--tp-red); color: #fff; }
.tp-btn.is-outline-sm { min-height: 36px; padding: 0 18px; font-size: 15px; text-transform: uppercase; border-radius: 6px; }

.tp-btn.is-white { background: #fff; color: var(--tp-red); }
.tp-btn.is-white:hover { background: var(--tp-pink); color: var(--tp-red-d); }

.tp-btn.is-sm { min-height: 34px; padding: 0 14px; font-size: 15px; border-radius: 6px; }
.tp-btn.is-lg { min-height: 52px; padding: 0 32px; font-size: 16px; }

.tp-btns { display: flex; flex-wrap: wrap; gap: 14px; }

.tp-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--tp-red);
	font-weight: 700;
	font-size: 15px;
}
.tp-link:hover { color: var(--tp-red-d); }
.tp-link:hover .i { transform: translateX(3px); }
.tp-link .i { transition: transform .2s; }

.tp-grid { display: grid; gap: 22px; }
.tp-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tp-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tp-grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tp-grid.cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.tp-center { text-align: center; margin-top: 26px; }
.tp-section { padding-top: 40px; padding-bottom: 40px; }
.tp-section.is-tight { padding-top: 14px; padding-bottom: 0; }
.tp-empty { padding: 30px; text-align: center; color: var(--tp-muted); background: var(--tp-pink); border-radius: var(--tp-radius); }

/* Nền khối (đặt class cho Section trong UX Builder) */
.tp-sec.is-soft { background: linear-gradient(180deg, #fff 0%, var(--tp-pink) 100%); }
.tp-sec-cta { padding: 10px 0 40px !important; }
.tp-sec-overlap { position: relative; z-index: 2; margin-top: -34px; }
.tp-sec-pricing {
	background:
		radial-gradient(circle at 92% 10%, rgba(232, 57, 95, .18), transparent 40%),
		radial-gradient(circle at 5% 90%, rgba(232, 57, 95, .12), transparent 35%),
		linear-gradient(180deg, #fff6f8 0%, #fff 60%);
}

/* Ảnh tạm khi chưa chọn ảnh */
.ph {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	height: 100%;
	min-height: 120px;
	background: linear-gradient(135deg, var(--tp-pink) 0%, var(--tp-pink-2) 100%);
	color: #d08a9c;
	font-size: 15px;
	text-align: center;
	padding: 10px;
}
.ph .i { font-size: 34px; }

.tp-badge {
	display: inline-block;
	padding: 6px 16px;
	border-radius: 999px;
	background: var(--tp-red-l);
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: .02em;
	box-shadow: 0 4px 12px rgba(0, 0, 0, .12);
}

.tp-cat-badge {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 999px;
	background: var(--tp-pink-2);
	color: var(--tp-red);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.5;
}
.tp-cat-badge:hover { background: var(--tp-red); color: #fff; }

.tp-chip { display: inline-block; padding: 2px 10px; border-radius: 6px; background: var(--tp-pink-2); color: var(--tp-red); font-size: 15px; }

.tp-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; color: var(--tp-muted); font-size: 15px; }
.tp-meta > * { display: inline-flex; align-items: center; gap: 5px; }

.tp-stars { display: inline-flex; gap: 2px; color: #fbbf24; }

/* == 3. Header Flatsome ================================================== */
.header-top { font-size: 15px; }
.tp-topbar-contact { display: flex; flex-wrap: wrap; gap: 6px 26px; align-items: center; }
.tp-topbar-contact > span { display: inline-flex; align-items: center; gap: 8px; }
.tp-topbar-contact a { color: inherit; }
.tp-topbar-social { display: inline-flex; align-items: center; gap: 10px; }

.tp-social { display: flex; gap: 8px; flex-wrap: wrap; }
.tp-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	font-size: 18px;
	transition: transform .2s, background .2s;
}
.tp-social a:hover { transform: translateY(-2px); }
.tp-social .i { stroke: none; }
.tp-social.is-circle a { background: var(--tp-red); color: #fff; }
.tp-social.is-white a { background: #fff; color: var(--tp-red); }
.tp-social.is-mini a { width: 22px; height: 22px; font-size: 15px; background: rgba(255, 255, 255, .18); color: #fff; }
.tp-social.is-mini a:hover { background: #fff; color: var(--tp-red); }

/* Menu: mục đang xem màu đỏ, gạch chân */
.header-main .nav > li > a { font-weight: 700; font-size: 15px; color: var(--tp-head); }
.header-main .nav > li.active > a,
.header-main .nav > li.current-menu-item > a,
.header-main .nav > li.current-menu-ancestor > a,
.header-main .nav > li > a:hover { color: var(--tp-red); }
.header-main .nav-line-bottom > li > a::before { background: var(--tp-red); height: 2px; }
.header-main .header-button .button { font-weight: 700; text-transform: none; padding: 0 22px; }
.header-main .header-button .button::after { content: "→"; margin-left: 8px; }
.nav-dropdown { border-radius: 10px; box-shadow: var(--tp-shadow-lg); border: 0; }
.nav-dropdown > li > a:hover { color: var(--tp-red); }

/* == 4. Banner trang con + khung thiết bị ================================ */
.tp-hero {
	position: relative;
	overflow: hidden;
	background: var(--tp-grad);
	color: #fff;
}
.tp-hero__waves {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(120% 80% at 100% 0%, rgba(255, 255, 255, .14), transparent 55%),
		radial-gradient(70% 90% at 0% 100%, rgba(0, 0, 0, .18), transparent 60%),
		repeating-radial-gradient(ellipse at 30% 140%, transparent 0 38px, rgba(255, 255, 255, .05) 39px 40px);
	pointer-events: none;
}
.tp-hero__inner {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
	align-items: center;
	gap: 30px;
	min-height: 210px;
	padding-top: 28px;
	padding-bottom: 28px;
}
.tp-hero.is-sm .tp-hero__inner { min-height: 150px; }
.tp-hero.is-lg .tp-hero__inner { min-height: 300px; padding-bottom: 60px; }
.tp-hero__title {
	margin: 4px 0 8px;
	color: #fff;
	font-weight: 700;
	font-size: clamp(28px, 3.4vw, 42px);
	line-height: 1.2;
}
.tp-hero__title.is-xl { font-size: clamp(28px, 3.6vw, 44px); }
.tp-hero__sub { margin: 0; max-width: 560px; color: rgba(255, 255, 255, .9); font-size: 16px; line-height: 1.6; }
.tp-hero__checks { display: flex; flex-wrap: wrap; gap: 8px 26px; margin-top: 16px !important; }
.tp-hero__checks li { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; }
.tp-hero__checks .i { font-size: 18px; color: #ffd0da; }
.tp-hero__media { position: relative; align-self: stretch; display: flex; align-items: flex-end; justify-content: center; }
.tp-hero__media > img { max-height: 260px; width: auto; object-fit: contain; }

/* Breadcrumb */
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; padding: 0; list-style: none; font-size: 15px; }
.breadcrumb li { display: inline-flex; align-items: center; gap: 6px; margin: 0; }
.breadcrumb li + li::before { content: "›"; opacity: .7; }
.breadcrumb a, .breadcrumb span { display: inline-flex; align-items: center; gap: 6px; color: var(--tp-muted); }
.breadcrumb a:hover { color: var(--tp-red); }
.breadcrumb li[aria-current] span { color: var(--tp-red); }
.breadcrumb.is-light a, .breadcrumb.is-light span, .breadcrumb.is-light li[aria-current] span { color: rgba(255, 255, 255, .9); }
.breadcrumb.is-light a:hover { color: #fff; }

/* Khung laptop + điện thoại (CSS thuần, ảnh bên trong = ảnh mẫu web thật) */
.devices { position: relative; width: 100%; max-width: 460px; margin-left: auto; padding-right: 40px; }
.laptop { position: relative; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .3)); transform: perspective(1200px) rotateY(-8deg); }
.laptop__screen {
	position: relative;
	aspect-ratio: 16 / 10;
	border: 10px solid #1d1d22;
	border-bottom-width: 14px;
	border-radius: 14px 14px 0 0;
	background: #fff;
	overflow: hidden;
}
.laptop__screen img, .phone__screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.laptop__base {
	height: 14px;
	margin: 0 -7%;
	border-radius: 0 0 18px 18px;
	background: linear-gradient(180deg, #d9dbe0 0%, #a9acb4 100%);
}
.phone {
	position: absolute;
	right: 0;
	bottom: -6px;
	width: 26%;
	aspect-ratio: 9 / 18;
	padding: 6px;
	border-radius: 18px;
	background: #1d1d22;
	box-shadow: 0 14px 30px rgba(0, 0, 0, .35);
}
.phone__screen { width: 100%; height: 100%; border-radius: 12px; overflow: hidden; background: #fff; }
.devices.is-small { max-width: 220px; padding-right: 22px; }
.devices.is-small .laptop__screen { border-width: 6px 6px 9px; }
.devices.is-small .phone { padding: 4px; border-radius: 12px; }
.devices--image img { width: 100%; height: auto; }

/* == 5. Banner trang chủ ================================================= */
.tp-home-hero {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(60% 60% at 80% 30%, rgba(232, 57, 95, .12), transparent 70%),
		linear-gradient(180deg, #fff 0%, var(--tp-pink) 100%);
}
.tp-home-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: radial-gradient(rgba(189, 18, 56, .12) 1px, transparent 1px);
	background-size: 22px 22px;
	mask-image: linear-gradient(90deg, transparent 40%, #000 100%);
	-webkit-mask-image: linear-gradient(90deg, transparent 40%, #000 100%);
	pointer-events: none;
}
.tp-home-hero__inner {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) 190px;
	align-items: center;
	gap: 26px;
	padding-top: 56px;
	padding-bottom: 80px;
}
.tp-home-hero__title { margin: 0 0 18px; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.18; }
.tp-home-hero__title span, .tp-home-hero__title em { display: block; }
.tp-home-hero__title em { font-style: normal; color: var(--tp-red); }
.tp-home-hero__desc { max-width: 520px; margin-bottom: 26px; font-size: 15px; line-height: 1.75; color: var(--tp-muted); }
.tp-home-hero .tp-btn.is-primary,
.tp-home-hero .tp-btn.is-outline { border-radius: 6px; text-transform: uppercase; font-size: 15px; }
.tp-home-hero__media .devices { max-width: 520px; margin: 0 auto; }
.tp-home-hero__stats { display: grid; gap: 14px; }

.tp-stat-card {
	padding: 14px 16px;
	border: 1px solid var(--tp-border);
	border-radius: 12px;
	background: rgba(255, 255, 255, .92);
	box-shadow: var(--tp-shadow);
	backdrop-filter: blur(4px);
}
.tp-stat-card__label { font-size: 15px; color: var(--tp-muted); }
.tp-stat-card__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.tp-stat-card__value { font-size: 26px; line-height: 1.2; color: var(--tp-red); }
.tp-stat-card__chart { width: 46px; color: var(--tp-red); font-size: 30px; line-height: 0; }
.tp-stat-card__chart svg:not(.i) { width: 100%; height: auto; fill: var(--tp-red); }
.tp-stat-card__chart svg rect:nth-child(-n+2) { opacity: .45; }
.tp-stat-card__note { font-size: 15px; color: var(--tp-muted); }
.tp-stat-card__trend { display: flex; align-items: center; gap: 4px; font-size: 15px; color: var(--tp-green); font-weight: 700; }

/* Slide ảnh [tp_slider] */
.tp-slider { position: relative; overflow: hidden; background: var(--tp-pink); }
.tp-slider.is-container { max-width: 1340px; margin: 20px auto 0; border-radius: 16px; box-shadow: var(--tp-shadow-lg); }
.tp-slider__track {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	overscroll-behavior-x: contain;
}
.tp-slider__track::-webkit-scrollbar { display: none; }
.tp-slider__slide { flex: 0 0 100%; aspect-ratio: var(--tp-slider-ratio, 16 / 6); scroll-snap-align: start; scroll-snap-stop: always; }
.tp-slider__slide a { display: block; height: 100%; }
.tp-slider__img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tp-slider__arrow {
	position: absolute;
	top: 50%;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .85);
	color: var(--tp-red);
	font-size: 22px;
	box-shadow: 0 6px 16px rgba(0, 0, 0, .15);
	transform: translateY(-50%);
	opacity: 0;
	cursor: pointer;
	transition: opacity .25s, background .2s, color .2s;
}
.tp-slider:hover .tp-slider__arrow, .tp-slider__arrow:focus-visible { opacity: 1; }
.tp-slider__arrow:hover { background: var(--tp-red); color: #fff; }
.tp-slider__arrow.is-prev { left: 18px; }
.tp-slider__arrow.is-next { right: 18px; }
.tp-slider__dots { position: absolute; left: 0; right: 0; bottom: 16px; z-index: 2; display: flex; justify-content: center; gap: 8px; }
.tp-slider__dot { width: 10px; height: 10px; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 99px; background: rgba(255, 255, 255, .75); box-shadow: 0 1px 4px rgba(0, 0, 0, .25); cursor: pointer; transition: width .3s, background .3s; }
.tp-slider__dot.is-active { width: 28px; background: var(--tp-red); }
.tp-sec-stats .tp-bar { margin: 0; }

/* == 6. Tiêu đề khối ===================================================== */
.tp-heading { margin-bottom: 28px; }
.tp-heading.is-center { text-align: center; }
.tp-heading__eyebrow { margin-bottom: 6px; color: var(--tp-red); font-size: 15px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.tp-heading__title {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0;
	font-size: 26px;
	line-height: 1.3;
}
.tp-heading.is-center .tp-heading__title { justify-content: center; }
.tp-heading.is-sm .tp-heading__title { font-size: 22px; }
.tp-heading.is-lg .tp-heading__title { font-size: 34px; }
.tp-heading__title em { font-style: normal; color: var(--tp-red); }
.tp-heading__title > .i { font-size: 1.3em; color: var(--tp-red); }
.tp-heading.has-lines .tp-heading__title::before,
.tp-heading.has-lines .tp-heading__title::after {
	content: "";
	flex: 0 1 70px;
	height: 2px;
	background: var(--tp-red);
	border-radius: 2px;
}
.tp-heading.is-left.has-lines .tp-heading__title::before { display: none; }
.tp-heading__eyebrow.is-badge { margin-bottom: 10px; letter-spacing: 0; text-transform: none; }
.tp-heading__eyebrow.is-badge span {
	display: inline-block;
	padding: 4px 16px;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--tp-red) 0%, var(--tp-red-d) 100%);
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	box-shadow: 0 6px 16px rgba(189, 18, 56, .25);
}
.tp-heading__sub { margin: 8px 0 0; color: var(--tp-muted); font-size: 15px; }

/* == 7. Element chung ==================================================== */

/* Icon + chữ */
.tp-iconbox { display: flex; gap: 14px; margin-bottom: 18px; }
.tp-iconbox__icon { flex: none; display: inline-flex; align-items: center; justify-content: center; color: var(--tp-red); font-size: 26px; }
.tp-iconbox__icon img { width: 44px; height: 44px; object-fit: contain; }
.tp-iconbox.has-icon-bg .tp-iconbox__icon {
	width: 54px; height: 54px;
	border-radius: 12px;
	background: linear-gradient(135deg, var(--tp-red-l) 0%, var(--tp-red-d) 100%);
	color: #fff;
	box-shadow: 0 8px 16px rgba(189, 18, 56, .25);
}
.tp-iconbox__title { margin: 0 0 4px; font-size: 16px; line-height: 1.35; }
.tp-iconbox__title a { color: inherit; }
.tp-iconbox__text { color: var(--tp-muted); font-size: 15px; line-height: 1.6; }
.tp-iconbox__text p { margin: 0 0 4px; }
.tp-iconbox .tp-link { margin-top: 10px; }

.tp-iconbox.is-card {
	height: 100%;
	margin: 0;
	padding: 24px 22px;
	border: 1px solid var(--tp-border);
	border-radius: var(--tp-radius);
	background: #fff;
	box-shadow: var(--tp-shadow);
	transition: transform .25s, box-shadow .25s;
}
.tp-iconbox.is-card:hover { transform: translateY(-4px); box-shadow: var(--tp-shadow-lg); }
.tp-iconbox.is-card .tp-iconbox__title { font-size: 17px; margin-bottom: 8px; }

.tp-iconbox.is-top { flex-direction: column; align-items: center; text-align: center; }

.tp-iconbox.is-info { margin: 0; align-items: flex-start; }
.tp-iconbox.is-info .tp-iconbox__icon { font-size: 38px; }
.tp-iconbox.is-info .tp-iconbox__title { font-size: 15px; }
.tp-iconbox.is-info .tp-iconbox__text { color: var(--tp-head); font-size: 15px; }
.tp-iconbox.is-info .tp-iconbox__text a { color: var(--tp-red); font-size: 18px; font-weight: 700; }

.tp-iconbox.is-feature { margin: 0; align-items: center; }
.tp-iconbox.is-feature .tp-iconbox__icon { font-size: 34px; }
.tp-iconbox.is-feature .tp-iconbox__title { color: var(--tp-red); font-size: 16px; }
.tp-iconbox.is-feature .tp-iconbox__text { color: var(--tp-text); }

/* Con số thống kê */
.tp-stat { display: flex; align-items: center; gap: 14px; }
.tp-stat__icon { display: inline-flex; color: var(--tp-red); font-size: 38px; }
.tp-stat__num { display: block; color: var(--tp-red); font-size: 24px; line-height: 1.2; }
.tp-stat__label { color: var(--tp-muted); font-size: 15px; }

/* Thanh ngang */
.tp-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	margin: 10px 0 24px;
	padding: 18px 10px;
	border-radius: var(--tp-radius);
}
.tp-bar > * { flex: 1 1 0; min-width: 180px; margin: 0; padding: 6px 22px; }
.tp-bar > * + * { border-left: 1px solid var(--tp-border); }
.tp-bar.is-boxed { background: #fff; box-shadow: var(--tp-shadow); border: 1px solid var(--tp-border); }
.tp-bar.is-soft { background: var(--tp-pink); border: 1px solid var(--tp-border); }
.tp-bar .tp-iconbox { align-items: center; }
.tp-bar .tp-iconbox__icon { font-size: 34px; }
.tp-bar .tp-iconbox__title { font-size: 15px; }

/* Danh sách dấu tích */
.tp-checklist { margin-bottom: 18px; }
.tp-checklist ul { display: grid; gap: 10px; }
.tp-checklist.cols-2 ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tp-checklist li { position: relative; padding-left: 28px !important; line-height: 1.55; font-size: 15px; list-style: none !important; }
.tp-checklist li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .15em;
	width: 18px;
	height: 18px;
	background: var(--tp-red);
	-webkit-mask: var(--tp-check) center / contain no-repeat;
	mask: var(--tp-check) center / contain no-repeat;
}
.tp-checklist.is-circle { --tp-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9.5'/%3E%3Cpath d='m8 12.3 2.8 2.8L16.3 9.5'/%3E%3C/svg%3E"); }
.tp-checklist.is-fill { --tp-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-1.5 14.3-4-4 1.4-1.4 2.6 2.6 5.6-5.6 1.4 1.4z'/%3E%3C/svg%3E"); }
.tp-checklist.is-plain { --tp-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4.5 12.5 5 5L20 7'/%3E%3C/svg%3E"); }
.tp-checklist strong { color: var(--tp-head); }

/* Thẻ Sứ mệnh / Tầm nhìn */
.tp-card {
	height: 100%;
	padding: 26px 28px;
	border: 1px solid var(--tp-border);
	border-radius: var(--tp-radius);
	background: #fff;
	box-shadow: var(--tp-shadow);
}
.tp-card__head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.tp-card__head .i { font-size: 38px; color: var(--tp-red); }
.tp-card__head h3 { margin: 0; color: var(--tp-red); font-size: 20px; }
.tp-card__body { color: var(--tp-text); font-size: 15px; line-height: 1.7; }
.tp-card__body p:last-child { margin: 0; }
.tp-card.is-primary { background: var(--tp-grad); color: #fff; border: 0; box-shadow: var(--tp-shadow-lg); }
.tp-card.is-primary .tp-card__head .i, .tp-card.is-primary h3, .tp-card.is-primary .tp-card__body { color: #fff; }

/* Ảnh bo góc */
.tp-media { display: grid; gap: 14px; }
.tp-media.is-collage { grid-template-columns: 1.7fr 1fr; }
.tp-media__main, .tp-media__small {
	position: relative;
	overflow: hidden;
	border-radius: var(--tp-radius);
	box-shadow: var(--tp-shadow-lg);
	background: var(--tp-pink);
}
.tp-media__main { padding-top: var(--ratio, 62%); }
.tp-media__main > img, .tp-media__main > .ph,
.tp-media__small > img, .tp-media__small > .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tp-media__side { display: grid; gap: 14px; }
.tp-media__small { padding-top: 70%; }
.tp-media__video {
	position: absolute;
	left: 18px;
	bottom: 18px;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 18px 10px 10px;
	border-radius: 12px;
	background: rgba(108, 10, 32, .85);
	color: #fff;
	backdrop-filter: blur(4px);
}
.tp-media__video:hover { color: #fff; background: var(--tp-red); }
.tp-media__video strong { display: block; font-size: 15px; }
.tp-media__video small { font-size: 15px; opacity: .85; }
.tp-media__play { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--tp-red); font-size: 18px; }
.tp-media__play .i { stroke: none; fill: #fff; }

/* Banner kêu gọi */
.tp-cta {
	position: relative;
	display: grid;
	grid-template-columns: 260px minmax(0, 1fr) auto;
	grid-template-areas: "media title action" "media text action";
	align-items: center;
	column-gap: 34px;
	padding: 26px 40px;
	border-radius: 18px;
	background: var(--tp-grad);
	color: #fff;
	overflow: hidden;
	box-shadow: var(--tp-shadow-lg);
}
.tp-cta::after {
	content: "";
	position: absolute;
	inset: 0;
	background: repeating-radial-gradient(ellipse at 110% 50%, transparent 0 30px, rgba(255, 255, 255, .05) 31px 32px);
	pointer-events: none;
}
.tp-cta > * { position: relative; z-index: 1; }
.tp-cta__media { grid-area: media; margin: -10px 0 -36px; }
.tp-cta__media img { width: 100%; height: auto; }
.tp-cta__title { grid-area: title; align-self: end; font-size: 24px; font-weight: 700; line-height: 1.3; }
.tp-cta__text { grid-area: text; align-self: start; margin: 6px 0 0; color: rgba(255, 255, 255, .9); font-size: 15px; }
.tp-cta__action { grid-area: action; }
.tp-cta.is-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) auto; grid-template-areas: "title text action"; padding: 34px 50px; }
.tp-cta.is-split .tp-cta__title { align-self: center; font-size: 26px; padding-right: 30px; border-right: 1px solid rgba(255, 255, 255, .3); }
.tp-cta.is-split .tp-cta__text { align-self: center; margin: 0; }
.tp-cta.is-side {
	display: block;
	padding: 22px 140px 22px 22px;
	background: linear-gradient(135deg, var(--tp-pink) 0%, var(--tp-pink-2) 100%);
	color: var(--tp-text);
	border: 1px solid var(--tp-border);
	box-shadow: none;
}
.tp-cta.is-side::after { display: none; }
.tp-cta.is-side .tp-cta__title { font-size: 18px; color: var(--tp-red); }
.tp-cta.is-side .tp-cta__text { color: var(--tp-text); font-size: 15px; margin: 6px 0 14px; }
.tp-cta.is-side .tp-btn { border-radius: 6px; }
.tp-cta__icon { position: absolute !important; right: 22px; top: 50%; transform: translateY(-50%); display: flex; align-items: center; justify-content: center; width: 96px; height: 76px; border-radius: 10px; background: #fff; color: var(--tp-red); font-size: 38px; box-shadow: var(--tp-shadow); }

/* Thanh cuộn ngang + logo */
.tp-scroller { position: relative; display: flex; align-items: center; gap: 12px; }
.tp-scroller__track {
	display: flex;
	gap: 16px;
	flex: 1;
	min-width: 0;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	padding: 6px 2px 14px;
}
.tp-scroller__track::-webkit-scrollbar { display: none; }
.tp-scroller__track > * { scroll-snap-align: start; flex: none; }
.tp-scroller__btn {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	margin: 0;
	padding: 0;
	border: 1px solid var(--tp-border);
	border-radius: 50%;
	background: #fff;
	color: var(--tp-head);
	box-shadow: var(--tp-shadow);
	cursor: pointer;
	font-size: 18px;
}
.tp-scroller__btn:hover { background: var(--tp-red); color: #fff; }
.tp-scroller.no-scroll .tp-scroller__btn { visibility: hidden; }
.tp-logos__item {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 150px;
	height: 72px;
	padding: 10px 18px;
	border: 1px solid var(--tp-border);
	border-radius: 12px;
	background: #fff;
	box-shadow: var(--tp-shadow);
}
.tp-logos__item img { max-height: 46px; width: auto; object-fit: contain; }
.tp-logos__name { font-weight: 700; color: var(--tp-muted); font-size: 15px; text-align: center; }

/* Khung ghi chú */
.tp-notice-box { display: flex; gap: 12px; margin: 16px 0; padding: 14px 18px; border-radius: 10px; font-size: 15px; line-height: 1.6; }
.tp-notice-box__icon { flex: none; font-size: 24px; }
.tp-notice-box__body p, .tp-notice-box__body ul { margin: 0; }
.tp-notice-box h3 { margin: 0 0 8px; font-size: 16px; }
.tp-notice-box ul li { position: relative; padding-left: 14px; margin-bottom: 6px !important; }
.tp-notice-box ul li::before { content: "•"; position: absolute; left: 0; }
.tp-notice-box.is-gift { background: #fff8e1; border: 1px solid #ffe7a3; color: var(--tp-red); font-weight: 700; }
.tp-notice-box.is-gift .tp-notice-box__icon { color: var(--tp-gold-d); }
.tp-notice-box.is-success { background: #f0fbf3; border: 1px solid #c9eed4; color: #234b31; }
.tp-notice-box.is-success .tp-notice-box__icon, .tp-notice-box.is-success h3 { color: var(--tp-green); }
.tp-notice-box.is-info { background: var(--tp-pink); border: 1px solid var(--tp-border); }
.tp-notice-box.is-info .tp-notice-box__icon { color: var(--tp-red); }

/* Tiêu đề ruy băng (bảng giá) */
.tp-titlebar { position: relative; margin: 0 auto 26px; text-align: center; }
.tp-titlebar__ribbon { position: relative; display: inline-block; }
.tp-titlebar__eyebrow {
	position: relative;
	z-index: 2;
	display: inline-block;
	margin-bottom: -10px;
	padding: 4px 40px;
	border-radius: 10px 10px 4px 4px;
	background: linear-gradient(180deg, #ffe08a 0%, #f5b93a 100%);
	color: var(--tp-red-d);
	font-size: 30px;
	font-weight: 700;
	font-style: italic;
	box-shadow: 0 6px 14px rgba(0, 0, 0, .15);
}
.tp-titlebar__title {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0;
	padding: 14px 54px;
	border-radius: 22px;
	background: linear-gradient(180deg, #d0163f 0%, #9e0f30 100%);
	color: #fff;
	font-size: clamp(26px, 3.6vw, 48px);
	line-height: 1.15;
	letter-spacing: .01em;
	transform: skewX(-8deg);
	box-shadow: 0 14px 30px rgba(140, 13, 42, .35), inset 0 2px 0 rgba(255, 255, 255, .2);
}
.tp-titlebar__title > * { transform: skewX(8deg); }
.tp-titlebar__title em { font-style: normal; color: var(--tp-gold); }
.tp-titlebar__title .i { font-size: 1em; }
.tp-titlebar__checks { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 30px; margin-top: 16px !important; }
.tp-titlebar__checks li { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--tp-head); }
.tp-titlebar__checks .i { color: var(--tp-red); font-size: 18px; }
.tp-titlebar.is-wide .tp-titlebar__ribbon { display: block; }
.tp-titlebar.is-wide .tp-titlebar__title { justify-content: flex-start; padding: 18px 300px 18px 40px; border-radius: 40px; transform: none; }
.tp-titlebar.is-wide .tp-titlebar__title > * { transform: none; }
.tp-titlebar.is-wide .tp-titlebar__title .i { font-size: 1.4em; }

.tp-hotline {
	position: absolute;
	right: 0;
	top: 10px;
	display: inline-flex;
	align-items: center;
	padding: 6px 20px 6px 6px;
	border-radius: 999px;
	background: var(--tp-red-d);
	color: #fff;
	box-shadow: 0 10px 22px rgba(0, 0, 0, .2);
}
.tp-hotline:hover { color: #fff; background: var(--tp-red); }
.tp-hotline__icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; margin-right: 12px; border-radius: 50%; background: linear-gradient(180deg, #ffd56b 0%, #f2a51a 100%); color: #fff; font-size: 26px; }
.tp-hotline__text small { display: block; font-size: 15px; font-weight: 700; letter-spacing: .04em; }
.tp-hotline__text strong { font-size: 24px; line-height: 1.1; }
.tp-titlebar.is-wide .tp-hotline { top: 50%; right: 16px; transform: translateY(-50%); }

/* == 8. Trang chủ ======================================================== */

/* Ảnh dashboard + thẻ số liệu */
.tp-showcase { display: grid; grid-template-columns: minmax(0, 1fr) 190px; gap: 16px; align-items: center; }
.tp-showcase__media { position: relative; aspect-ratio: 16 / 11; overflow: hidden; border-radius: var(--tp-radius); background: #fff; box-shadow: var(--tp-shadow-lg); }
.tp-showcase__media img, .tp-showcase__media .ph { width: 100%; height: 100%; object-fit: cover; }
.tp-showcase__cards { display: grid; gap: 14px; }

/* Quy trình */
.tp-steps { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 20px; margin: 0 !important; padding: 0 !important; counter-reset: none; }
.tp-steps::before { content: ""; position: absolute; left: 10%; right: 10%; top: 26px; border-top: 2px dashed #f0b9c6; }
.tp-step { position: relative; text-align: center; list-style: none; }
.tp-step__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 54px;
	height: 54px;
	margin-bottom: 14px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--tp-red-l), var(--tp-red-d));
	color: #fff;
	font-size: 24px;
	box-shadow: 0 0 0 6px #fff, 0 0 0 7px var(--tp-border), 0 10px 20px rgba(189, 18, 56, .25);
}
.tp-step__title { margin: 0 0 6px; font-size: 16px; }
.tp-step__text { margin: 0; color: var(--tp-muted); font-size: 15px; line-height: 1.6; }

/* Ô lĩnh vực */
.tp-industries { display: grid; gap: 10px; }
.tp-industries.cols-3 { grid-template-columns: repeat(3, 1fr); }
.tp-industries.cols-4 { grid-template-columns: repeat(4, 1fr); }
.tp-industries.cols-5 { grid-template-columns: repeat(5, 1fr); }
.tp-industries.cols-6 { grid-template-columns: repeat(6, 1fr); }
.tp-industry { position: relative; display: block; aspect-ratio: 16 / 8; overflow: hidden; border-radius: 10px; background: var(--tp-pink-2); }
.tp-industry img, .tp-industry .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.tp-industry::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .05) 0%, rgba(80, 8, 25, .72) 100%); transition: background .3s; }
.tp-industry:hover img { transform: scale(1.08); }
.tp-industry:hover::after { background: linear-gradient(180deg, rgba(189, 18, 56, .2) 0%, rgba(140, 13, 42, .85) 100%); }
.tp-industry__label { position: absolute; z-index: 1; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: #fff; font-weight: 700; font-size: 16px; text-shadow: 0 2px 6px rgba(0, 0, 0, .4); }
.tp-industry__label .i { display: inline-flex; width: 40px; height: 40px; padding: 8px; border-radius: 10px; background: rgba(255, 255, 255, .92); color: var(--tp-red); }

/* Tab */
.tp-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 24px; }
.tp-tabs__btn {
	margin: 0;
	padding: 6px 16px;
	min-height: 0;
	border: 1px solid var(--tp-border);
	border-radius: 999px;
	background: #fff;
	color: var(--tp-text);
	font-size: 15px;
	font-weight: 400;
	line-height: 1.5;
	text-transform: none;
	cursor: pointer;
}
.tp-tabs__btn:hover { border-color: var(--tp-red); color: var(--tp-red); }
.tp-tabs__btn.is-active { background: var(--tp-red); border-color: var(--tp-red); color: #fff; }

/* Thẻ mẫu giao diện */
.tp-pcard {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--tp-border);
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 4px 14px rgba(140, 13, 42, .06);
	transition: transform .25s, box-shadow .25s;
}
.tp-pcard:hover { transform: translateY(-4px); box-shadow: var(--tp-shadow-lg); }
.tp-pcard__img { position: relative; display: block; aspect-ratio: 4 / 3.3; overflow: hidden; background: var(--tp-pink); }
.tp-pcard__img img, .tp-pcard__img .ph { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 3s ease; }
.tp-pcard__badge {
	position: absolute;
	left: 10px;
	top: 10px;
	padding: 3px 10px;
	border-radius: 0 8px 8px 0;
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: .04em;
}
.tp-pcard__badge.is-hot { background: #ef3e36; }
.tp-pcard__badge.is-new { background: #22b14c; }
.tp-pcard__fav {
	position: absolute;
	right: 10px;
	top: 10px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #fff;
	color: var(--tp-red);
	font-size: 16px;
	box-shadow: 0 3px 10px rgba(0, 0, 0, .15);
	cursor: pointer;
}
.tp-pcard__fav.is-active .i, [data-fav].is-active .i { fill: currentColor; }
.tp-pcard__body { display: flex; flex-direction: column; flex: 1; padding: 12px 14px 14px; }
.tp-pcard__title { margin: 0 0 2px; font-size: 15px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tp-pcard__title a { color: var(--tp-head); }
.tp-pcard__title a:hover { color: var(--tp-red); }
.tp-pcard__cat { display: flex; justify-content: space-between; gap: 8px; margin: 0 0 12px; color: var(--tp-muted); font-size: 15px; }
.tp-pcard__platform { padding: 0 6px; border-radius: 4px; background: #f3f4f6; font-size: 15px; }
.tp-pcard__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; }
.tp-pcard__actions .tp-btn { flex: 1 0 auto; }
.tp-pcard__preview { display: inline-flex; align-items: center; gap: 6px; color: var(--tp-head); font-size: 15px; font-weight: 700; }
.tp-pcard__preview .i { color: var(--tp-red); font-size: 16px; }
.tp-pcard__preview:hover { color: var(--tp-red); }
.tp-pcard__cat-tag { align-self: flex-start; margin-bottom: 6px; padding: 1px 8px; border-radius: 4px; background: var(--tp-pink-2); color: var(--tp-red); font-size: 15px; }
.tp-pcard__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 8px; }
.tp-pcard__price { color: var(--tp-red); font-weight: 700; font-size: 15px; }
.tp-pcard.is-compact .tp-btn.is-outline { border-radius: 6px; min-height: 32px; font-size: 15px; text-transform: uppercase; border-width: 1px; }
/* Mẫu liên quan: đúng 4 mẫu / khung, bấm mũi tên trượt sang 4 mẫu tiếp theo */
.tp-related .tp-scroller__track { gap: 16px; }
.tp-related .tp-pcard { width: calc((100% - 3 * 16px) / 4); }
.tp-related .tp-pcard__title { min-height: 2.8em; font-size: 17px; }
.tp-related .tp-pcard.is-compact .tp-pcard__img { aspect-ratio: 4 / 3.3; } /* ảnh cao bằng thẻ ở Kho giao diện */
.tp-related .tp-pcard__body { padding: 14px 16px 16px; }

/* Dự án */
.tp-project { overflow: hidden; border: 1px solid var(--tp-border); border-radius: 12px; background: #fff; box-shadow: var(--tp-shadow); }
.tp-project__img { display: block; aspect-ratio: 16 / 9; overflow: hidden; }
.tp-project__img img, .tp-project__img .ph { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .5s; }
.tp-project:hover .tp-project__img img { transform: scale(1.05); }
.tp-project__title { margin: 14px 16px 10px; font-size: 15px; }
.tp-project__title a { color: var(--tp-head); }
.tp-project__stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; padding: 10px 16px 16px; border-top: 1px dashed var(--tp-border); }
.tp-project__stats dt { color: var(--tp-muted); font-size: 15px; font-weight: 400; }
.tp-project__stats dd { margin: 0; color: var(--tp-red); font-size: 18px; font-weight: 700; }
.tp-project-single__stats { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 40px; margin-bottom: 30px; padding: 20px; border-radius: var(--tp-radius); background: var(--tp-pink); }

/* Đánh giá */
.tp-testimonial { height: 100%; margin: 0; padding: 22px 24px; border: 1px solid var(--tp-border); border-radius: var(--tp-radius); background: #fff; box-shadow: var(--tp-shadow); }
.tp-testimonial__head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.tp-testimonial__avatar { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 60px; height: 60px; overflow: hidden; border-radius: 50%; background: var(--tp-pink); color: var(--tp-red); font-size: 28px; }
.tp-testimonial__avatar img { width: 100%; height: 100%; object-fit: cover; }
.tp-testimonial figcaption strong { display: block; color: var(--tp-head); font-size: 15px; }
.tp-testimonial figcaption span { display: block; color: var(--tp-muted); font-size: 15px; }
.tp-testimonial figcaption .tp-stars { display: flex; margin-top: 4px; font-size: 15px; color: #fbbf24; }
.tp-testimonial__text { margin: 0; padding: 0; border: 0; color: var(--tp-text); font-size: 15px; font-style: italic; line-height: 1.7; }
.tp-testimonial__text p { margin: 0; }
.tp-testimonial__text p::before { content: "“"; } .tp-testimonial__text p::after { content: "”"; }

/* Bài viết trang chủ: 1 bài lớn (trái) + 4 thẻ ngang (phải) – bản gọn */
.tp-posts-featured {
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
	gap: 22px;
	align-items: stretch;
	max-width: 1180px;
	margin: 0 auto;
}

/* Bài lớn: ảnh tự giãn cho cao bằng cột phải, không để khoảng trống */
.tp-post-big {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--tp-border);
	border-radius: 14px;
	background: #fff;
	box-shadow: var(--tp-shadow);
	transition: box-shadow .25s;
}
.tp-post-big:hover { box-shadow: var(--tp-shadow-lg); }
.tp-post-big__img { position: relative; display: block; flex: 1 1 auto; min-height: 220px; overflow: hidden; background: var(--tp-pink); }
.tp-post-big__img img, .tp-post-big__img .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.tp-post-big:hover .tp-post-big__img img { transform: scale(1.04); }
.tp-post-big__badge { position: relative; z-index: 1; height: 0; }
.tp-post-big__badge .tp-cat-badge {
	position: absolute;
	left: 18px;
	bottom: 14px;
	padding: 3px 12px;
	background: var(--tp-red);
	color: #fff;
	font-size: 15px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, .18);
}
.tp-post-big__body { display: flex; flex-direction: column; gap: 8px; padding: 16px 20px 18px; }
.tp-post-big__title { margin: 0; font-size: 20px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tp-post-big__title a { color: var(--tp-head); }
.tp-post-big__title a:hover { color: var(--tp-red); }
.tp-post-big .tp-meta { font-size: 15px; gap: 4px 18px; }
.tp-post-big__excerpt { margin: 0; color: var(--tp-muted); font-size: 15px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tp-post-big .tp-link { margin-top: 4px; font-size: 15px; }

/* Thẻ ngang bên phải */
.tp-post-rows { display: grid; grid-template-rows: repeat(4, auto); gap: 12px; align-content: space-between; }
.tp-post-row {
	position: relative;
	display: grid;
	grid-template-columns: 132px minmax(0, 1fr) auto;
	align-items: center;
	gap: 14px;
	padding: 8px 14px 8px 8px;
	border: 1px solid var(--tp-border);
	border-radius: 12px;
	background: #fff;
	transition: border-color .25s, box-shadow .25s, transform .25s;
}
.tp-post-row:hover { border-color: #f3c2ce; box-shadow: var(--tp-shadow); transform: translateX(3px); }
.tp-post-row__img { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 8px; background: var(--tp-pink); }
.tp-post-row__img img, .tp-post-row__img .ph { width: 100%; height: 100%; min-height: 0; object-fit: cover; transition: transform .5s; }
.tp-post-row__img .ph .i { font-size: 20px; }
.tp-post-row:hover .tp-post-row__img img { transform: scale(1.06); }
.tp-post-row__body { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; min-width: 0; }
.tp-post-row .tp-cat-badge { padding: 0; background: none; color: var(--tp-red); font-size: 15px; line-height: 1.3; }
.tp-post-row .tp-cat-badge:hover { background: none; color: var(--tp-red-d); text-decoration: underline; }
.tp-post-row__title { margin: 0; font-size: 16px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tp-post-row__title a { color: var(--tp-head); }
.tp-post-row__title a:hover { color: var(--tp-red); }
.tp-post-row .tp-meta { font-size: 15px; }
.tp-post-row__go {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--tp-pink);
	color: var(--tp-red);
	font-size: 15px;
	transition: background .2s, color .2s;
}
.tp-post-row:hover .tp-post-row__go { background: var(--tp-red); color: #fff; }
/* Cả thẻ bấm được (link phủ toàn thẻ qua tiêu đề) */
.tp-post-row__title a::after { content: ""; position: absolute; inset: 0; }
.tp-post-row .tp-cat-badge, .tp-post-row__go { position: relative; z-index: 1; }

/* Kiểu 1 dòng (cũ) */
.tp-post-lines { display: grid; gap: 0; }
.tp-post-line { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 14px; padding: 14px 0; border-bottom: 1px solid var(--tp-border); }
.tp-post-line .tp-cat-badge { grid-column: 1 / -1; justify-self: start; background: var(--tp-red); color: #fff; }
.tp-post-line__title { color: var(--tp-head); font-weight: 700; }
.tp-post-line__title:hover { color: var(--tp-red); }
.tp-post-line__date { color: var(--tp-muted); }

/* == 9. Kho giao diện ==================================================== */
.tp-shop-hero .tp-hero__inner { padding-bottom: 70px; }
.tp-searchbar {
	position: relative;
	z-index: 3;
	display: flex;
	align-items: center;
	gap: 10px;
	max-width: 880px !important;
	margin: -34px auto 26px !important;
	padding: 8px 8px 8px 22px !important;
	border: 1px solid var(--tp-border);
	border-radius: 14px;
	background: #fff;
	box-shadow: var(--tp-shadow-lg);
}
.tp-searchbar > .i { color: var(--tp-red); font-size: 22px; }
.tp-searchbar input[type="search"] { flex: 1; height: 44px; margin: 0; border: 0; box-shadow: none; background: transparent; font-size: 15px; }
.tp-searchbar .tp-btn { border-radius: 10px; margin: 0; }

.tp-catbar { display: flex; gap: 10px; margin-bottom: 26px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.tp-catbar::-webkit-scrollbar { display: none; }
.tp-catbar__item {
	flex: 1 0 96px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 70px;
	padding: 10px 8px;
	border-radius: 12px;
	background: var(--tp-pink);
	color: var(--tp-head);
	font-size: 15px;
	text-align: center;
	line-height: 1.3;
	cursor: pointer;
	list-style: none;
	transition: background .2s, color .2s, transform .2s;
}
.tp-catbar__item .i { font-size: 24px; color: var(--tp-red); }
.tp-catbar__item:hover { background: var(--tp-pink-2); color: var(--tp-red); transform: translateY(-2px); }
.tp-catbar__item.is-active { background: var(--tp-grad); color: #fff; box-shadow: var(--tp-shadow-lg); }
.tp-catbar__item.is-active .i { color: #fff; }
.tp-catbar__more { position: relative; flex: 1 0 96px; display: flex; }
.tp-catbar__more > summary { width: 100%; }
.tp-catbar__more > summary::-webkit-details-marker { display: none; }
.tp-catbar__dropdown { position: absolute; right: 0; top: calc(100% + 8px); z-index: 20; display: grid; min-width: 240px; max-height: 360px; overflow: auto; padding: 8px; border-radius: 12px; background: #fff; box-shadow: var(--tp-shadow-lg); }
.tp-catbar__dropdown a { padding: 8px 12px; border-radius: 8px; color: var(--tp-head); font-size: 15px; }
.tp-catbar__dropdown a:hover { background: var(--tp-pink); color: var(--tp-red); }
.tp-catbar__dropdown em { color: var(--tp-muted); font-style: normal; font-size: 15px; }

.tp-shop { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 28px; align-items: start; }
.tp-shop__grid { gap: 24px; }
.tp-shop__grid .tp-pcard__body { padding: 14px 16px 16px; }
.tp-shop__grid .tp-pcard__title { font-size: 17px; }
.tp-shop__grid .tp-pcard__actions { flex-wrap: nowrap; }
.tp-shop__grid .tp-pcard__actions .tp-btn { flex: 0 0 auto; padding: 0 18px; }
.tp-filter { position: sticky; top: 90px; padding: 18px; border: 1px solid var(--tp-border); border-radius: var(--tp-radius); background: #fff; box-shadow: var(--tp-shadow); }
.tp-filter__head { width: auto; display: flex; align-items: center; justify-content: space-between; margin: -18px -18px 12px; padding: 14px 18px; border-radius: var(--tp-radius) var(--tp-radius) 0 0; background: var(--tp-pink); }
.tp-filter__head h2 { margin: 0; color: var(--tp-red); font-size: 17px; }
.tp-filter__close { display: none; margin: 0; padding: 4px; min-height: 0; border: 0; background: none; font-size: 22px; color: var(--tp-head); }
.tp-filter__group { padding: 6px 0 10px; border-bottom: 1px solid var(--tp-border); }
.tp-filter__group > summary { display: flex; align-items: center; justify-content: space-between; padding: 8px 0; color: var(--tp-red); font-weight: 700; font-size: 15px; cursor: pointer; list-style: none; }
.tp-filter__group > summary::-webkit-details-marker { display: none; }
.tp-filter__group:not([open]) > summary .i { transform: rotate(180deg); }
.tp-check { display: flex; align-items: center; gap: 10px; margin: 0; padding: 6px 0; font-size: 15px; font-weight: 400; color: var(--tp-text); cursor: pointer; }
.tp-check input { width: 16px; height: 16px; margin: 0; accent-color: var(--tp-red); }
.tp-check em { color: var(--tp-muted); font-size: 15px; font-style: normal; }
.tp-filter__actions { display: flex; align-items: center; gap: 14px; margin-top: 14px; }
.js .tp-filter__actions .tp-btn { display: none; }

.tp-shop__toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.tp-shop__count { margin: 0; color: var(--tp-head); font-weight: 700; }
.tp-shop__count b { color: var(--tp-red); }
.tp-shop__filter-btn { display: none !important; }
.tp-sort { display: flex; align-items: center; gap: 10px; margin: 0; font-weight: 700; font-size: 15px; }
.tp-sort label { margin: 0; font-weight: 700; }
.tp-select { position: relative; display: inline-flex; align-items: center; }
.tp-select select { height: 38px; margin: 0; padding: 0 36px 0 14px; border: 1px solid var(--tp-border); border-radius: 8px; background: #fff; font-size: 15px; box-shadow: none; appearance: none; -webkit-appearance: none; }
.tp-select .i { position: absolute; right: 12px; color: var(--tp-red); pointer-events: none; }

/* Phân trang */
.pagination { margin: 30px 0 10px; }
.pagination ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pagination li { margin: 0 !important; }
.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 10px;
	border: 1px solid var(--tp-border);
	border-radius: 10px;
	background: #fff;
	color: var(--tp-head);
	font-weight: 700;
	font-size: 15px;
}
.pagination a.page-numbers:hover { border-color: var(--tp-red); color: var(--tp-red); }
.pagination .page-numbers.current { background: var(--tp-red); border-color: var(--tp-red); color: #fff; }
.pagination .prev, .pagination .next { color: var(--tp-red); }

/* == 10. Chi tiết mẫu ==================================================== */
.tp-product { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 30px; align-items: start; padding-top: 16px; padding-bottom: 30px; }
.tp-product__preview { position: sticky; top: 90px; }
.tp-browser { overflow: hidden; border: 1px solid var(--tp-border); border-radius: 14px; background: #fff; box-shadow: var(--tp-shadow-lg); }
.tp-browser__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #f6f1f3; border-bottom: 1px solid var(--tp-border); }
.tp-browser__bar i { width: 10px; height: 10px; border-radius: 50%; background: #f87171; }
.tp-browser__bar i:nth-child(2) { background: #fbbf24; }
.tp-browser__bar i:nth-child(3) { background: #34d399; }
.tp-browser__bar span { flex: 1; margin-left: 10px; padding: 3px 12px; border-radius: 6px; background: #fff; color: var(--tp-muted); font-size: 15px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.tp-browser__screen { height: 78vh; max-height: 980px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--tp-red) transparent; }
.tp-browser__screen:focus { outline: 2px solid var(--tp-red); outline-offset: -2px; }
.tp-browser__shot img { display: block; width: 100%; height: auto; }
.tp-thumbs { margin-top: 12px; }
.tp-thumbs__item { width: 112px; height: 74px; margin: 0; padding: 0; min-height: 0; overflow: hidden; border: 2px solid var(--tp-border); border-radius: 8px; background: #fff; cursor: pointer; }
.tp-thumbs__item.is-active { border-color: var(--tp-red); }
.tp-thumbs__item img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.tp-product__hint { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; color: var(--tp-muted); font-size: 15px; }
.tp-product__hint .i { color: var(--tp-red); font-size: 16px; }

.tp-product__info { padding: 24px; border: 1px solid var(--tp-border); border-radius: 14px; background: #fff; box-shadow: var(--tp-shadow); }
.tp-product__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tp-product__tools { display: flex; gap: 14px; }
.tp-product__tools button { display: inline-flex; align-items: center; gap: 5px; margin: 0; padding: 0; min-height: 0; border: 0; background: none; color: var(--tp-muted); font-size: 15px; font-weight: 400; text-transform: none; cursor: pointer; }
.tp-product__tools button:hover, .tp-product__tools button.is-active { color: var(--tp-red); }
.tp-product__title { margin: 12px 0 6px; font-size: 26px; line-height: 1.3; }
.tp-product__rating { display: flex; align-items: center; gap: 6px; color: var(--tp-muted); font-size: 15px; }
.tp-product__price { margin: 16px 0; }
.tp-product__price-label { display: block; color: var(--tp-red); font-size: 15px; }
.tp-product__price > div { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }
.tp-product__price strong { color: var(--tp-red); font-size: 34px; line-height: 1.2; }
.tp-product__price del { color: var(--tp-muted); font-size: 16px; }
.tp-product__off { padding: 3px 12px; border-radius: 999px; background: var(--tp-red); color: #fff; font-weight: 700; font-size: 15px; }

/* Form mua (giữ nguyên form WooCommerce + tùy chọn mua thêm) */
.tp-product__buy { display: grid; gap: 12px; }
.tp-product__buy form.cart { display: block; margin: 0; }
.tp-product__buy form.cart .quantity { display: none !important; }
/* Khung tùy chọn mua thêm (plugin Advanced Product Fields).
   Plugin đặt float:left cho checkbox => các dòng bị xếp bậc thang. Ở đây dàn lại bằng flex. */
.tp-product__buy .wapf { margin-bottom: 14px; padding: 16px 16px 6px; border-radius: 12px; background: #fafafa; border: 1px solid #eee; font-size: 15px; text-align: left; }
.tp-product__buy .wapf-wrapper { max-height: none; overflow: visible; margin: 0; padding: 0; border: 0; background: none; }
.tp-product__buy .wapf-field-container { margin: 0 0 14px; padding: 0 !important; }
.tp-product__buy .wapf-field-container + .wapf-field-container { padding-top: 14px; border-top: 1px dashed #e5e5e5; }
.tp-product__buy .wapf-field-label { margin: 0 0 6px; }
.tp-product__buy .wapf-field-label label,
.tp-product__buy .wapf-field-label span { color: var(--tp-head); font-size: 15px; font-weight: 700; }
.tp-product__buy .wapf-field-description { margin: 0 0 8px; padding: 0; color: var(--tp-muted); font-size: 15px; line-height: 1.5; opacity: 1; }
.tp-product__buy .wapf-checkboxes,
.tp-product__buy .wapf-radios { display: grid; gap: 4px; }
.tp-product__buy .wapf-checkable { display: block; float: none; clear: both; margin: 0; padding: 0; }
.tp-product__buy .wapf-input-label {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0;
	padding: 6px 8px;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.5;
	cursor: pointer;
	transition: background .2s;
}
.tp-product__buy .wapf-input-label:hover { background: var(--tp-pink); }
.tp-product__buy .wapf-checkable.wapf-checked .wapf-input-label { background: var(--tp-pink-2); }
.tp-product__buy .wapf-field-input input[type="checkbox"],
.tp-product__buy .wapf-field-input input[type="radio"] {
	flex: none;
	float: none !important;
	width: 17px;
	height: 17px;
	margin: 2px 0 0 !important;
	opacity: 1;
	accent-color: var(--tp-red);
}
.tp-product__buy .wapf-label-text { padding: 0; color: var(--tp-head); font-size: 15px; }
.tp-product__buy .wapf-pricing-hint { color: var(--tp-red); font-weight: 700; white-space: nowrap; opacity: 1; }
.tp-product__buy .wapf-field-input select,
.tp-product__buy .wapf-field-input input[type="text"],
.tp-product__buy .wapf-field-input textarea { border-radius: 8px; border-color: #e5e5e5; box-shadow: none; }

/* Bảng tổng tiền của plugin */
.tp-product__buy .wapf-product-totals { margin: 0 0 14px; border-radius: 12px; background: #fff; border: 1px solid var(--tp-border); font-size: 15px; }
.tp-product__buy .wapf-product-totals .wapf--inner { padding: 10px 16px; }
.tp-product__buy .wapf-product-totals .wapf--inner > div { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; }
.tp-product__buy .wapf-product-totals div span:first-child { font-weight: 400; color: var(--tp-text); }
.tp-product__buy .wapf-product-totals div span:last-child { float: none; font-weight: 700; color: var(--tp-head); }
.tp-product__buy .wapf-product-totals .wapf--inner > div:last-child { margin-top: 4px; padding-top: 10px; border-top: 1px dashed var(--tp-border); }
.tp-product__buy .wapf-product-totals .wapf--inner > div:last-child span { font-weight: 700; color: var(--tp-head); }
.tp-product__buy .wapf-product-totals .wapf--inner > div:last-child span:last-child { color: var(--tp-red); font-size: 18px; }
.tp-product__buy .wapf-field-row { margin-left: 0; }
.tp-product__buy .single_add_to_cart_button {
	width: 100%;
	min-height: 52px;
	margin: 0;
	border-radius: 8px;
	background: linear-gradient(135deg, var(--tp-red) 0%, var(--tp-red-d) 100%) !important;
	font-size: 16px;
	font-weight: 700;
	text-transform: none;
	letter-spacing: 0;
	box-shadow: 0 8px 18px rgba(189, 18, 56, .28);
}
.tp-product__buy .single_add_to_cart_button::before { content: ""; display: inline-block; width: 18px; height: 18px; margin-right: 10px; vertical-align: -3px; background: #fff; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='20' r='1.4'/%3E%3Ccircle cx='18' cy='20' r='1.4'/%3E%3Cpath d='M2.5 3.5h3l2.4 11.2a1.5 1.5 0 0 0 1.5 1.3h8.5a1.5 1.5 0 0 0 1.5-1.2L21 7.5H6.4'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='20' r='1.4'/%3E%3Ccircle cx='18' cy='20' r='1.4'/%3E%3Cpath d='M2.5 3.5h3l2.4 11.2a1.5 1.5 0 0 0 1.5 1.3h8.5a1.5 1.5 0 0 0 1.5-1.2L21 7.5H6.4'/%3E%3C/svg%3E") center/contain no-repeat; }
.tp-product__buy .tp-btn.is-outline { width: 100%; border-radius: 8px; }

.tp-product__box { margin-top: 22px; }
.tp-product__h { margin: 0 0 12px; font-size: 18px; }
.tp-product__box.is-pink { padding: 18px 20px; border-radius: 12px; background: var(--tp-pink); border: 1px solid var(--tp-border); }
.tp-product__box.is-pink .tp-product__h { color: var(--tp-red); }
.tp-product__box .tp-checklist { margin: 0; }
.tp-spec { width: 100%; margin: 0; border-collapse: collapse; font-size: 15px; }
.tp-spec th, .tp-spec td { padding: 9px 0; border-bottom: 1px solid var(--tp-border); text-align: left; vertical-align: middle; }
.tp-spec th { width: 42%; color: var(--tp-head); font-weight: 400; }
.tp-spec__devices { display: flex; gap: 10px; color: var(--tp-red); font-size: 20px; }
.tp-product__desc { padding: 26px; border: 1px solid var(--tp-border); border-radius: 14px; background: #fff; }
.tp-product .tp-cta.is-side { margin-top: 22px; }

/* == 11. Tin tức ========================================================= */
.tp-blog { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; padding-top: 30px; padding-bottom: 40px; }
.tp-blog__heading { font-size: 22px; margin-bottom: 18px; }
.tp-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.tp-pill { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border: 1px solid var(--tp-border); border-radius: 10px; background: #fff; color: var(--tp-head); font-size: 15px; box-shadow: 0 2px 8px rgba(140, 13, 42, .05); }
.tp-pill:hover { color: var(--tp-red); border-color: var(--tp-red); }
.tp-pill.is-active { background: var(--tp-grad); color: #fff; border-color: transparent; }

.tp-post { position: relative; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--tp-border); border-radius: 12px; background: #fff; box-shadow: 0 4px 14px rgba(140, 13, 42, .06); transition: transform .25s, box-shadow .25s; }
.tp-post:hover { transform: translateY(-3px); box-shadow: var(--tp-shadow-lg); }
.tp-post__img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--tp-pink); }
.tp-post__img img, .tp-post__img .ph { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.tp-post:hover .tp-post__img img { transform: scale(1.05); }
.tp-post__badge { position: absolute; left: 10px; top: 10px; }
.tp-post__badge .tp-cat-badge, .tp-post.is-grid .tp-post__badge .tp-cat-badge { background: var(--tp-red); color: #fff; }
.tp-post.is-grid .tp-post__badge { top: auto; bottom: auto; }
.tp-post.is-grid .tp-post__img + .tp-post__badge { position: relative; left: auto; top: auto; margin: -14px 0 0 12px; z-index: 1; }
.tp-post__body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 12px 14px 16px; }
.tp-post__body > .tp-cat-badge { align-self: flex-start; }
.tp-post__title { margin: 0; font-size: 15.5px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tp-post__title a { color: var(--tp-head); }
.tp-post__title a:hover { color: var(--tp-red); }
.tp-post__excerpt { margin: 0; color: var(--tp-muted); font-size: 15px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tp-post .tp-link { margin-top: auto; }
.tp-post.is-wide { flex-direction: row; margin-bottom: 22px; }
.tp-post.is-wide .tp-post__img { flex: 0 0 56%; aspect-ratio: 16 / 9.5; }
.tp-post.is-wide .tp-post__body { justify-content: center; padding: 22px 26px; }
.tp-post.is-wide .tp-post__title { font-size: 20px; -webkit-line-clamp: 3; }
.tp-post.is-big .tp-post__img { aspect-ratio: 16 / 9; }
.tp-post.is-big .tp-post__title { font-size: 18px; }

/* Sidebar */
.tp-sidebar { display: grid; gap: 20px; position: sticky; top: 90px; }
.tp-widget { padding: 18px; border: 1px solid var(--tp-border); border-radius: var(--tp-radius); background: #fff; box-shadow: var(--tp-shadow); }
.tp-widget__title { width: auto; display: flex; align-items: center; gap: 10px; margin: -18px -18px 14px; padding: 14px 18px; border-radius: var(--tp-radius) var(--tp-radius) 0 0; background: var(--tp-pink); color: var(--tp-red); font-size: 17px; }
.tp-sidebar-search { position: relative; display: flex; padding: 10px; }
.tp-sidebar-search input { flex: 1; height: 42px; margin: 0; padding-right: 54px; border: 1px solid var(--tp-border); border-radius: 10px; box-shadow: none; }
.tp-sidebar-search button { position: absolute; right: 14px; top: 14px; width: 34px; height: 34px; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 8px; background: var(--tp-red); color: #fff; font-size: 16px; display: inline-flex; align-items: center; justify-content: center; }
.tp-cat-list li a { display: flex; align-items: center; gap: 10px; padding: 7px 0; color: var(--tp-head); font-size: 15px; }
.tp-cat-list li a .i { color: var(--tp-red); font-size: 15px; }
.tp-cat-list li a span { flex: 1; }
.tp-cat-list li a em { color: var(--tp-muted); font-style: normal; font-size: 15px; }
.tp-cat-list li a:hover { color: var(--tp-red); }
.tp-side-posts { display: grid; gap: 14px; }
.tp-post-side { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 12px; align-items: center; }
.tp-post-side__img { display: block; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 8px; background: var(--tp-pink); }
.tp-post-side__img img, .tp-post-side__img .ph { width: 100%; height: 100%; object-fit: cover; min-height: 0; }
.tp-post-side__img .ph .i { font-size: 18px; }
.tp-post-side__title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 4px; color: var(--tp-head); font-size: 15px; font-weight: 700; line-height: 1.4; }
.tp-post-side__title:hover { color: var(--tp-red); }
.tp-hot-post { display: grid; gap: 10px; color: var(--tp-head); }
.tp-hot-post__img { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 10px; }
.tp-hot-post__img img { width: 100%; height: 100%; object-fit: cover; }
.tp-hot-post strong { font-size: 16px; line-height: 1.4; }
.tp-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tp-tags a, .tp-article__tags a { padding: 5px 12px; border-radius: 999px; background: var(--tp-pink); color: var(--tp-red); font-size: 15px; font-weight: 700; }
.tp-tags a:hover, .tp-article__tags a:hover { background: var(--tp-red); color: #fff; }

/* Chi tiết bài viết */
.tp-article { padding: 26px; border: 1px solid var(--tp-border); border-radius: 14px; background: #fff; box-shadow: var(--tp-shadow); }
.tp-article__title { margin: 12px 0; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.35; }
.tp-article__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.tp-article__bar .tp-meta { font-size: 15px; }
.tp-share { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.tp-share a, .tp-share button { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 50%; color: #fff; font-size: 16px; cursor: pointer; }
.tp-share .i { stroke: none; }
.tp-share .is-fb { background: #1877f2; }
.tp-share .is-ms { background: #0084ff; }
.tp-share .is-zalo { background: #0068ff; }
.tp-share .is-copy { background: var(--tp-red); }
.tp-share .is-copy .i { stroke: #fff; fill: none; }
.tp-article__thumb { margin: 0 0 20px; overflow: hidden; border-radius: 12px; }
.tp-article__thumb img { width: 100%; height: auto; }
.tp-entry { font-size: 16px; line-height: 1.8; color: var(--tp-text); }
.tp-entry h2 { margin: 1.6em 0 .6em; color: var(--tp-red); font-size: 22px; line-height: 1.35; }
.tp-entry h3 { margin: 1.4em 0 .5em; font-size: 19px; }
.tp-entry img { border-radius: 10px; }
.tp-entry a { color: var(--tp-red); text-decoration: underline; text-underline-offset: 2px; }
.tp-entry blockquote { border-left: 4px solid var(--tp-red); background: var(--tp-pink); padding: 14px 18px; border-radius: 0 10px 10px 0; }
.tp-entry ul li, .tp-entry ol li { margin-bottom: .4em; }
.tp-article__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 22px; font-size: 15px; }
.tp-article__tags a::before { content: "#"; margin-right: 2px; }
.tp-article__nav { display: flex; justify-content: space-between; gap: 14px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--tp-border); }
.tp-article__nav a { display: flex; align-items: center; gap: 12px; max-width: 48%; color: var(--tp-head); font-weight: 700; font-size: 15px; }
.tp-article__nav a .i { flex: none; display: inline-flex; width: 36px; height: 36px; padding: 9px; border: 1px solid var(--tp-border); border-radius: 50%; color: var(--tp-red); }
.tp-article__nav small { display: block; color: var(--tp-muted); font-weight: 400; font-size: 15px; }
.tp-article__nav .is-next { margin-left: auto; text-align: right; }
.tp-article__nav a:hover { color: var(--tp-red); }
#ez-toc-container { border-radius: 10px; border-color: var(--tp-border); background: var(--tp-pink); }

/* == 12. Bảng giá ======================================================== */

/* Ô giảm giá */
.tp-discounts { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; margin-bottom: 26px; }
.tp-discount { display: flex; align-items: center; gap: 12px; padding: 10px 16px; border: 1px solid var(--tp-border); border-radius: 12px; background: #fff; box-shadow: var(--tp-shadow); }
.tp-discount__icon .i { stroke-width: 2.6; }
.tp-discount__icon { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--tp-red); color: #fff; font-size: 20px; }
.tp-discount strong { display: block; color: var(--tp-red); font-size: 17px; }
.tp-discount div > span { display: block; color: var(--tp-text); font-size: 15px; line-height: 1.35; }

/* Gói hosting */
.tp-hosting-plans { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 10px; } /* máy tính: tất cả gói trên 1 hàng */
.tp-hplan { display: flex; flex-direction: column; overflow: hidden; border-radius: 14px; background: #fff; box-shadow: var(--tp-shadow-lg); transition: transform .25s; }
.tp-hplan:hover { transform: translateY(-6px); }
.tp-hplan__head { display: flex; flex-direction: column; justify-content: center; height: 74px; padding: 8px 6px; background: linear-gradient(180deg, #d0163f 0%, #9e0f30 100%); color: #fff; text-align: center; line-height: 1.2; }
.tp-hplan.is-gold .tp-hplan__head { background: linear-gradient(180deg, #ffbe3b 0%, #f08c00 100%); }
.tp-hplan__head strong, .tp-hplan__head span { display: block; font-size: 15px; font-weight: 700; line-height: 1.2; }
.tp-hplan__specs { flex: 1; padding: 12px 12px 4px !important; }
.tp-hplan__specs li { display: flex; align-items: flex-start; gap: 8px; padding: 6px 0; border-bottom: 1px solid #f4ecee; font-size: 15px; line-height: 1.35; }
.tp-hplan__specs .i { flex: none; margin-top: 2px; color: var(--tp-red); font-size: 16px; }
.tp-hplan__specs li.is-stack b { display: block; }
.tp-hplan__specs b { color: var(--tp-head); }
.tp-hplan__min { margin: 6px 8px 10px; padding: 5px 4px; border-radius: 999px; background: var(--tp-pink); color: var(--tp-red); font-size: 15px; line-height: 1.3; font-weight: 700; font-style: italic; text-align: center; }
.tp-hplan__price { display: block; padding: 12px 8px 14px; background: linear-gradient(180deg, #c6143c 0%, #8c0d2a 100%); color: #fff; text-align: center; }
.tp-hplan__price:hover { color: #fff; }
.tp-hplan__price small { display: block; font-size: 15px; }
.tp-hplan__price strong { display: block; color: var(--tp-gold); font-size: clamp(20px, 1.9vw, 26px); line-height: 1.25; }
.tp-hplan__price sup { font-size: .55em; }
.tp-hplan__price span { display: inline-block; margin-top: 4px; padding: 2px 8px; line-height: 1.3; border-radius: 6px; background: var(--tp-gold); color: var(--tp-red-d); font-size: 15px; font-weight: 700; }

/* Bảng tên miền */
.tp-table-wrap { overflow-x: auto; margin-bottom: 20px; border-radius: 14px; background: #fff; box-shadow: var(--tp-shadow-lg); -webkit-overflow-scrolling: touch; }
.tp-table { width: 100%; margin: 0; border-collapse: separate; border-spacing: 0; font-size: 15px; }
.tp-table th, .tp-table td { padding: 6px 12px; border-bottom: 1px solid #f6edf0; text-align: center; vertical-align: middle; }
.tp-table thead th { padding: 12px 10px; background: linear-gradient(180deg, #c6143c 0%, #8c0d2a 100%); color: #fff; font-size: 15px; line-height: 1.25; border-right: 1px solid rgba(255, 255, 255, .15); }
.tp-table thead th .i { display: block; margin: 0 auto 4px; font-size: 22px; }
.tp-table thead th.is-vat { background: linear-gradient(180deg, #22b14c 0%, #12823a 100%); color: #fff !important; }
.tp-table tbody tr:nth-child(even) { background: #fff7f9; }
.tp-table .is-name { text-align: left; }
.tp-domain-table thead th.is-name { text-align: left; }
.tp-domain-table thead th.is-name .i { display: inline-block; margin: 0 8px 0 0; vertical-align: -5px; }
.tp-domain-table tbody th.is-name { font-size: 19px; font-weight: 700; }
.tp-dot { display: inline-block; width: 8px; height: 8px; margin-right: 10px; border-radius: 50%; background: currentColor; vertical-align: 2px; }
.tp-domain-table .is-setup { color: var(--tp-red); }
.tp-domain-table .is-vat { color: var(--tp-green); }
.tp-domain-table td.is-total { color: var(--tp-red); font-weight: 700; font-size: 17px; }
.tp-domain-table tbody tr th { background: linear-gradient(90deg, var(--row-bg, #fff4f6), transparent); }
.c-red { color: #d61f45; --row-bg: #fff0f3; }
.c-blue { color: #1f5fd6; --row-bg: #eef4ff; }
.c-green { color: #179b45; --row-bg: #ecfaf0; }
.c-orange { color: #f07a10; --row-bg: #fff4e8; }
.c-gold { color: #d69a00; --row-bg: #fff8e1; }
.c-purple { color: #7c3aed; --row-bg: #f4efff; }
.c-cyan { color: #0aa5c2; --row-bg: #eafaff; }
.c-pink { color: #e0368a; --row-bg: #fdeef6; }
.tp-domain-table tbody tr td { color: var(--tp-head); }
.tp-domain-table tbody tr td.is-setup { color: var(--tp-red); }
.tp-domain-table tbody tr td.is-vat { color: var(--tp-green); }
.tp-domain-table tbody tr td.is-total { color: var(--tp-red); }

.tp-domain-vn thead th { font-size: 15px; }
.tp-domain-vn thead th small { display: block; margin-top: 4px; font-weight: 400; opacity: .9; font-size: 15px; }
.tp-domain-vn thead th.is-name { font-size: 19px; text-align: center; background: linear-gradient(180deg, #a50f32 0%, #6c0a20 100%); }
.tp-domain-vn thead th.is-svc { background: #fff3c4; color: var(--tp-head); }
.tp-domain-vn thead th.is-total { background: #fde2e8; color: var(--tp-head); }
.tp-domain-vn thead th:not(.is-name):not(.is-vat):not(.is-svc):not(.is-total) { background: #fff; color: var(--tp-head); }
.tp-domain-vn__formula th { padding: 4px 8px !important; font-size: 15px !important; }
.tp-domain-vn__formula th.is-total { color: var(--tp-red) !important; }
.tp-domain-vn .is-name { width: 23%; }
.tp-domain-vn tbody th.is-name { color: var(--tp-head); font-size: 17px; font-weight: 700; }
.tp-domain-vn tbody th.is-name.is-small { font-size: 15px; font-weight: 400; line-height: 1.4; }
.tp-domain-vn tbody td { font-size: 16px; color: var(--tp-head); }
.tp-domain-vn td.is-svc { background: #fffaf0; color: var(--tp-red); font-weight: 700; }
.tp-domain-vn td.is-vat { background: #f0fbf3; color: var(--tp-green); font-weight: 700; }
.tp-domain-vn td.is-total { background: #fff1f4; color: var(--tp-red); font-weight: 700; font-size: 18px; }

/* Gói thiết kế web */
.tp-plan { position: relative; display: flex; flex-direction: column; height: 100%; padding: 22px 20px; border: 1px solid var(--tp-border); border-radius: 14px; background: #fff; box-shadow: var(--tp-shadow); }
.tp-plan__name { align-self: center; width: fit-content; margin: 0 auto 6px; text-align: center; padding: 2px 20px; border-radius: 999px; background: #e9efff; color: #1b4fc8; font-size: 22px; }
.tp-plan__desc { min-height: 2.8em; margin: 0 0 12px; color: var(--tp-head); font-size: 15px; text-align: center; line-height: 1.4; }
.tp-plan__price { margin: 0 0 18px; padding: 8px; border-radius: 10px; background: var(--tp-pink-2); color: var(--tp-red); font-size: 24px; font-weight: 700; text-align: center; }
.tp-plan .tp-checklist { margin: 0; }
.tp-plan .tp-checklist li { padding-bottom: 8px !important; border-bottom: 1px solid #f6edf0; font-size: 15px; }
.tp-plan__btn { margin-top: auto; padding-top: 18px; text-align: center; }
.tp-plan.is-featured { border: 0; background: linear-gradient(180deg, #d0163f 0%, #a50f32 100%); color: #fff; box-shadow: 0 18px 40px rgba(189, 18, 56, .35); transform: translateY(-8px); }
.tp-plan.is-featured .tp-plan__name { background: rgba(255, 255, 255, .15); color: #fff; }
.tp-plan.is-featured .tp-plan__desc { color: rgba(255, 255, 255, .9); }
.tp-plan.is-featured .tp-plan__price { background: rgba(255, 255, 255, .14); color: #fff; }
.tp-plan.is-featured .tp-checklist li { color: #fff; border-color: rgba(255, 255, 255, .15); }
.tp-plan.is-featured .tp-checklist li::before { background: #fff; }
.tp-plan__badge { position: absolute; right: -6px; top: -12px; display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 6px; background: linear-gradient(180deg, #ffc93c, #f39c12); color: #fff; font-size: 15px; font-weight: 700; box-shadow: 0 6px 14px rgba(0, 0, 0, .15); }
.tp-plans > .col { padding-bottom: 18px; }

/* == 13. Liên hệ, bản đồ, tài liệu ======================================= */
.tp-row-divided > .col + .col > .col-inner { border-left: 1px solid var(--tp-border); padding-left: 24px; }
.tp-row-divided { padding-bottom: 26px; margin-bottom: 26px !important; border-bottom: 1px solid var(--tp-border); }

.tp-contact-form { padding: 28px; border: 1px solid var(--tp-border); border-radius: 16px; background: linear-gradient(180deg, #fff 0%, var(--tp-pink) 100%); box-shadow: var(--tp-shadow); }
.tp-contact-form__head { display: flex; gap: 16px; margin-bottom: 20px; }
.tp-contact-form__head > .i { flex: none; color: var(--tp-red); font-size: 40px; }
.tp-contact-form__head h2 { margin: 0 0 6px; color: var(--tp-red); font-size: 26px; }
.tp-contact-form__head p { margin: 0; color: var(--tp-text); font-size: 15px; }
.tp-form { display: grid; gap: 14px; }
.tp-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tp-field { position: relative; display: block; margin: 0; }
.tp-field > .i { position: absolute; left: 16px; top: 15px; color: var(--tp-red); font-size: 18px; pointer-events: none; }
.tp-field input, .tp-field select, .tp-field textarea {
	width: 100%;
	height: 50px;
	margin: 0;
	padding: 0 16px 0 46px;
	border: 1px solid #ecd9df;
	border-radius: 10px;
	background: #fff;
	box-shadow: none;
	font-size: 15px;
	transition: border-color .2s, box-shadow .2s;
}
.tp-field select { appearance: none; -webkit-appearance: none; color: var(--tp-text); }
.tp-field textarea { height: auto; min-height: 120px; padding-top: 13px; resize: vertical; }
.tp-field input:focus, .tp-field select:focus, .tp-field textarea:focus { border-color: var(--tp-red); box-shadow: 0 0 0 3px rgba(189, 18, 56, .12); }
.tp-field__arrow { position: absolute; right: 16px; top: 17px; color: var(--tp-red); pointer-events: none; }
.tp-form .tp-btn { justify-self: center; min-width: 300px; margin: 6px 0 0; }
.tp-notice { margin: 0 0 14px; padding: 10px 14px; border-radius: 8px; font-size: 15px; }
.tp-notice.is-success { background: #ecfaf0; color: #146c35; border: 1px solid #c3ebd0; }
.tp-notice.is-error { background: #fff0f2; color: #b4122f; border: 1px solid #f7c5cf; }

.tp-section-label { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; color: var(--tp-red); font-size: 22px; }
.tp-section-label .i { font-size: 28px; }
.tp-company { display: grid; grid-template-columns: minmax(0, 1fr) 230px; gap: 20px; align-items: start; margin-bottom: 24px; }
.tp-company__img { overflow: hidden; border-radius: 12px; box-shadow: var(--tp-shadow); }
.tp-company__img img { width: 100%; height: auto; }
.tp-contact-list__company { margin: 0 0 12px; color: var(--tp-head); font-weight: 700; font-size: 17px; text-transform: uppercase; }
.tp-contact-list li { display: flex; gap: 12px; align-items: flex-start; padding: 5px 0; font-size: 15px; line-height: 1.5; }
.tp-contact-list li .i { flex: none; margin-top: 3px; color: var(--tp-red); font-size: 18px; }
.tp-contact-list.is-plain a { color: var(--tp-head); }
.tp-contact-list.is-plain a:hover { color: var(--tp-red); }
.tp-map__frame { overflow: hidden; border-radius: 14px; box-shadow: var(--tp-shadow); background: var(--tp-pink); }
.tp-map__frame iframe { display: block; width: 100%; height: 100%; border: 0; }

.tp-docs { margin: 0 !important; padding: 20px 26px !important; border-radius: 14px; background: #fff; box-shadow: var(--tp-shadow-lg); counter-reset: docs; }
.tp-docs li { list-style: none; counter-increment: docs; margin: 0 0 6px !important; }
.tp-docs a { position: relative; display: flex; align-items: center; gap: 12px; padding: 7px 14px 7px 52px; border-radius: 8px; background: linear-gradient(90deg, var(--tp-pink) 0%, #fff 100%); color: var(--tp-head); font-size: 15px; transition: background .2s, color .2s; }
.tp-docs a::before { content: counter(docs); position: absolute; left: 4px; top: 50%; transform: translateY(-50%); display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 28px; border-radius: 999px; background: var(--tp-red); color: #fff; font-weight: 700; font-size: 15px; }
.tp-docs a .i { margin-left: auto; color: var(--tp-red); }
.tp-docs__title { flex: 1; }
.tp-docs a:hover { background: var(--tp-pink-2); color: var(--tp-red); }

/* == 14. Footer ========================================================== */
.tp-footer { background: linear-gradient(180deg, #9a0f2f 0%, #7d0b26 100%) !important; }
.tp-footer, .tp-footer p, .tp-footer a { color: rgba(255, 255, 255, .92); }
.tp-footer a:hover { color: #fff; }
.tp-col-title { margin: 0 0 14px; color: #fff !important; font-size: 16px; text-transform: uppercase; letter-spacing: .01em; }
.tp-footer .tp-col-title { font-size: 15px; }
.tp-footer .tp-contact-list li { font-size: 15px; padding: 4px 0; }
.tp-footer .tp-contact-list li .i { color: #ffb3c3; }
.tp-footer .tp-social { margin-top: 12px; }
.tp-brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; }
.tp-brand__mark { display: inline-flex; width: 46px; height: 46px; color: #fff; }
.tp-brand__mark svg { width: 100%; height: 100%; }
.tp-brand__text strong { display: block; font-size: 22px; line-height: 1; }
.tp-brand__text small { display: block; margin-top: 3px; font-size: 15px; letter-spacing: .14em; }
.tp-brand img { max-width: 190px; height: auto; }
.tp-links li a { display: flex; align-items: center; gap: 6px; padding: 4px 0; font-size: 15px; }
.tp-links li a .i { font-size: 15px; color: #ffb3c3; }
.tp-links li a:hover .i { transform: translateX(2px); }
.tp-newsletter p { font-size: 15px; line-height: 1.6; }
.tp-newsletter__form { position: relative; display: flex; margin: 0; }
.tp-newsletter__form input[type="email"] { flex: 1; height: 46px; margin: 0; padding: 0 56px 0 18px; border: 0; border-radius: 999px; background: #fff; color: var(--tp-head); box-shadow: none; }
.tp-newsletter__form button { position: absolute; right: 5px; top: 5px; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 50%; background: var(--tp-red); color: #fff; font-size: 16px; cursor: pointer; }
.tp-newsletter .tp-notice { margin-top: 10px; }
.absolute-footer { font-size: 15px; }
.absolute-footer.dark { background: #7a0b25 !important; color: rgba(255, 255, 255, .85); border-top: 1px solid rgba(255, 255, 255, .12); }
.tp-legal { display: inline-flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; }
.tp-legal a { color: rgba(255, 255, 255, .85); }
.tp-legal a:hover { color: #fff; }
.tp-legal span { opacity: .5; }

/* == 15. Nút nổi, thông báo ============================================== */
.tp-float { position: fixed; right: 18px; bottom: 90px; z-index: 50; display: grid; gap: 10px; }
.tp-float__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	color: #fff;
	font-size: 20px;
	box-shadow: 0 6px 16px rgba(0, 0, 0, .2);
	transition: transform .2s;
}
.tp-float__btn:hover { color: #fff; transform: scale(1.08); }
.tp-float__btn.is-phone { background: #1e88e5; animation: tp-ring 2.5s infinite; }
.tp-float__btn.is-mail { background: #f59e0b; }
.tp-float__btn.is-zalo { background: #0068ff; font-size: 26px; }
.tp-float__btn.is-messenger { background: #e11d48; font-size: 24px; }
.tp-float__btn.is-zalo .i, .tp-float__btn.is-messenger .i { stroke: none; }
@keyframes tp-ring { 0%, 100% { box-shadow: 0 0 0 0 rgba(30, 136, 229, .5); } 50% { box-shadow: 0 0 0 10px rgba(30, 136, 229, 0); } }

.tp-toast { position: fixed; left: 50%; bottom: 24px; z-index: 999; padding: 10px 18px; border-radius: 10px; background: var(--tp-head); color: #fff; font-size: 15px; transform: translate(-50%, 20px); opacity: 0; transition: .3s; }
.tp-toast.is-in { transform: translate(-50%, 0); opacity: 1; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
}

/* == 16. Responsive ====================================================== */
@media (max-width: 1199px) {
	.tp-home-hero__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.tp-home-hero__stats { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); }
	.tp-grid.cols-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.tp-hosting-plans { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); }
	.tp-titlebar.is-wide .tp-titlebar__title { padding-right: 40px; }
	.tp-titlebar.is-wide .tp-hotline { position: static; transform: none; margin-top: 14px; }
	.tp-blog { grid-template-columns: minmax(0, 1fr) 270px; }
}

@media (max-width: 849px) {
	.tp-hero__inner { grid-template-columns: minmax(0, 1fr); text-align: left; min-height: 0 !important; padding-top: 24px; padding-bottom: 24px; }
	.tp-hero__media { display: none; }
	.tp-home-hero__inner { grid-template-columns: minmax(0, 1fr); padding-top: 30px; padding-bottom: 60px; }
	.tp-home-hero__media .devices { max-width: 420px; }
	.tp-grid.cols-3, .tp-grid.cols-4, .tp-grid.cols-5, .tp-shop__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tp-industries.cols-4, .tp-industries.cols-5, .tp-industries.cols-6 { grid-template-columns: repeat(3, 1fr); }
	.tp-steps::before { display: none; }
	.tp-posts-featured { grid-template-columns: minmax(0, 1fr); }
	.tp-post-rows { grid-template-rows: none; }
	.tp-cta { grid-template-columns: minmax(0, 1fr); grid-template-areas: "title" "text" "action"; padding: 26px; text-align: center; }
	.tp-cta__media { display: none; }
	.tp-cta__action { margin-top: 16px; }
	.tp-cta.is-split { grid-template-columns: minmax(0, 1fr); grid-template-areas: "title" "text" "action"; padding: 28px; }
	.tp-cta.is-split .tp-cta__title { border: 0; padding: 0; }
	.tp-cta.is-split .tp-cta__text { margin-top: 8px; }
	.tp-cta.is-side { padding-right: 22px; text-align: left; }
	.tp-cta__icon { display: none !important; }
	.tp-bar > * { flex-basis: 45%; }
	.tp-bar > * + * { border-left: 0; }
	.tp-bar > * { border-bottom: 1px solid var(--tp-border); padding: 12px 14px; }

	/* Kho giao diện: bộ lọc thành ngăn kéo */
	.tp-shop { grid-template-columns: minmax(0, 1fr); }
	.tp-shop__filter-btn { display: inline-flex !important; }
	.tp-filter { position: fixed; inset: 0 auto 0 0; z-index: 1000; width: 300px; max-width: 86vw; overflow-y: auto; border-radius: 0; transform: translateX(-105%); transition: transform .3s; }
	.tp-filter__head { border-radius: 0; }
	.tp-filter__close { display: inline-flex; }
	.tp-filter-open .tp-filter { transform: none; box-shadow: 0 0 0 100vmax rgba(0, 0, 0, .45); }
	.js .tp-filter__actions .tp-btn { display: inline-flex; }
	.tp-shop__toolbar { flex-wrap: wrap; }

	.tp-product { grid-template-columns: minmax(0, 1fr); }
	.tp-product__preview { position: static; }
	.tp-browser__screen { height: 70vh; }

	.tp-blog { grid-template-columns: minmax(0, 1fr); }
	.tp-sidebar { position: static; }
	.tp-post.is-wide { flex-direction: column; }
	.tp-related .tp-pcard { width: calc((100% - 16px) / 2); }

	.tp-hosting-plans { grid-template-columns: repeat(2, 1fr); }
	.tp-titlebar__title { padding: 12px 26px; }
	.tp-hotline { position: static; margin-top: 14px; }

	.tp-row-divided > .col + .col > .col-inner { border-left: 0; padding-left: 0; }
	.tp-row-divided > .col { padding-bottom: 14px; }
	.tp-company { grid-template-columns: minmax(0, 1fr); }
	.tp-media.is-collage { grid-template-columns: minmax(0, 1fr); }
	.tp-media__side { grid-template-columns: 1fr 1fr; }
	.tp-showcase { grid-template-columns: minmax(0, 1fr); }
	.tp-showcase__cards { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 549px) {
	.tp-heading__title, .tp-heading.is-lg .tp-heading__title { font-size: 24px; }

	.tp-heading.has-lines .tp-heading__title::before,
	.tp-heading.has-lines .tp-heading__title::after { flex-basis: 24px; }
	.tp-home-hero__stats { grid-template-columns: minmax(0, 1fr); }
	.tp-grid.cols-2, .tp-grid.cols-3 { grid-template-columns: minmax(0, 1fr); }
	.tp-shop__grid, .tp-grid.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.tp-shop__grid .tp-pcard__body { padding: 10px; }
	.tp-shop__grid .tp-pcard__title { font-size: 15px; }
	.tp-shop__grid .tp-pcard__actions { flex-wrap: wrap; }
	.tp-shop__grid .tp-pcard__actions .tp-btn { flex: 1 0 auto; padding: 0 10px; }
	.tp-pcard__body { padding: 10px; }
	.tp-pcard__title { font-size: 15px; }
	.tp-pcard__platform { display: none; }
	.tp-slider__arrow { display: none; }
	.tp-slider__dots { bottom: 8px; }
	.tp-slider__dot { width: 8px; height: 8px; }
	.tp-slider__dot.is-active { width: 20px; }
	.tp-related .tp-pcard { width: 72%; }
	.tp-related .tp-scroller__btn { display: none; }
	.tp-pcard__actions { flex-direction: column; align-items: stretch; text-align: center; }
	.tp-pcard__preview { justify-content: center; }
	.tp-industries.cols-3, .tp-industries.cols-4, .tp-industries.cols-5, .tp-industries.cols-6 { grid-template-columns: repeat(2, 1fr); }
	.tp-bar { padding: 8px; }
	.tp-bar > * { flex-basis: 50%; min-width: 0; padding: 10px 8px; }
	.tp-bar .tp-stat { gap: 8px; }
	.tp-stat__icon, .tp-bar .tp-iconbox__icon { font-size: 28px; }
	.tp-stat__num { font-size: 18px; }
	.tp-bar .tp-iconbox.is-feature, .tp-bar .tp-iconbox.is-inline { flex-basis: 100%; }
	.tp-searchbar { width: auto; margin: -26px 12px 20px !important; padding-left: 14px !important; }
	.tp-searchbar .tp-btn { padding: 0 14px; }
	.tp-searchbar > .i { display: none; }
	.tp-catbar__item { flex: 0 0 88px; }
	.tp-form__row { grid-template-columns: minmax(0, 1fr); }
	.tp-form .tp-btn { min-width: 0; width: 100%; }
	.tp-contact-form { padding: 20px; }
	.tp-hosting-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tp-titlebar__eyebrow { font-size: 22px; }
	.tp-titlebar.is-wide .tp-titlebar__title { padding: 14px 20px; border-radius: 22px; }
	.tp-article { padding: 18px; }
	.tp-post-row { grid-template-columns: 104px minmax(0, 1fr); gap: 12px; padding: 8px; }
	.tp-post-row__go { display: none; }
	.tp-post-big__img { min-height: 0; aspect-ratio: 16 / 9; flex: none; }
	.tp-post-big__body { padding: 14px 16px 16px; }
	.tp-post-big__title { font-size: 18px; }
	.tp-article__nav { flex-direction: column; }
	.tp-article__nav a { max-width: 100%; }
	.tp-product__info { padding: 18px; }
	.tp-product__price strong { font-size: 28px; }
	.tp-float { right: 10px; bottom: 76px; }
	.tp-float__btn { width: 42px; height: 42px; }
}

/* Logo vẽ sẵn dùng trong header (Header > HTML: [tp_brand class="is-header"]) */
.tp-brand.is-header { color: var(--tp-red); }
.tp-brand.is-header .tp-brand__text small { color: var(--tp-head); }
.tp-pcard.is-compact .tp-pcard__img { aspect-ratio: 16 / 9.5; }
.tp-heading__title > span { display: block; }
.tp-pcard__preview { white-space: nowrap; }
.tp-pcard__actions .tp-btn.is-sm { padding: 0 12px; }
.tp-select select { min-width: 170px; }

/* Cỡ chữ tối thiểu 15px cho các phần của Flatsome / WooCommerce (menu con, top bar, breadcrumb, chữ nhỏ…) */
.header-top, .header-top .nav > li.html, .header-top .nav > li > a, .nav-small.nav > li > a, .nav-dropdown, .nav-dropdown li a,
.absolute-footer, .breadcrumbs, .woocommerce-breadcrumb,
small, .is-small, .is-xsmall, .text-small,
.woocommerce-checkout-review-order-table, .shop_table, .woocommerce-form-coupon-toggle,
.widget, .form-row label, .woocommerce-privacy-policy-text { font-size: 15px; }
