/*
Theme Name: ĐTC Group
Theme URI: https://dtcgroup.vn
Author: Đại Thành Công Group
Description: Theme thương hiệu, văn hoá và tuyển dụng của hệ thống Đại Thành Công (xe máy, điện thoại, mắt kính, đồng hồ, điện máy). Block theme: nội dung sửa bằng trình soạn thảo khối, không cần code.
Version: 1.0.0
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 8.1
License: Proprietary
Text Domain: dtc-group
*/

/* ==========================================================================
   Phần lớn kiểu dáng nằm trong theme.json. File này chỉ chứa những gì
   theme.json không diễn đạt được.
   ========================================================================== */

:root {
	--dtc-bo-goc: var(--wp--custom--bo-goc--vua, 14px);
	--dtc-chuyen: 180ms cubic-bezier(.2, .7, .3, 1);
}

/* Chữ tiếng Việt: khử răng cưa + tránh dấu chồng lên dòng trên */
body {
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

:where(h1, h2, h3, h4) {
	text-wrap: balance;
}

:where(p) {
	text-wrap: pretty;
}

/* Email/số điện thoại là chuỗi dài không có chỗ ngắt -> cho xuống dòng ở bất kỳ đâu,
   không thì tràn ngang trên điện thoại (vd tuyendungdaithanhcong@gmail.com). */
a[href^="mailto:"],
a[href^="tel:"] {
	overflow-wrap: anywhere;
}

/*
 * Chữ tô màu (định dạng "Màu chữ" của trình soạn thảo) là <mark class="has-inline-color"> kèm
 * style="background-color:rgba(0,0,0,0)". Biên tập viên KHÔNG có unfiltered_html -> bộ lọc kses xoá
 * style chứa rgba() khi lưu -> <mark> hiện NỀN VÀNG mặc định. Mặc định trong suốt bằng CSS;
 * màu nền người dùng chọn (style nội tuyến / lớp has-*-background-color !important) vẫn thắng.
 */
mark.has-inline-color {
	background-color: transparent;
}

/* Link nằm giữa câu văn phải có gạch chân, không chỉ khác màu (người mù màu nhận ra được — WCAG 1.4.1). */
:where(.wp-block-post-content, .dtc-form, .dtc-thong-bao, .wp-block-query-no-results) p a:not(.wp-element-button) {
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* --- Tiếp cận: viền focus rõ ràng cho người dùng bàn phím --- */
:where(a, button, input, select, textarea, summary, .wp-element-button):focus-visible {
	outline: 3px solid var(--wp--preset--color--do-sang);
	outline-offset: 2px;
	border-radius: 4px;
}

/* ==========================================================================
   ĐẦU TRANG — dính khi cuộn
   ========================================================================== */
header.wp-block-template-part {
	position: sticky;
	top: 0;
	z-index: 100;
}

.admin-bar header.wp-block-template-part {
	top: var(--wp-admin--admin-bar--height, 32px);
}

@media (max-width: 600px) {
	.admin-bar header.wp-block-template-part {
		top: 0; /* thanh admin không dính ở màn hình hẹp */
	}
}

/*
 * Kính mờ đặt ở ::before, KHÔNG đặt trên .dtc-header: backdrop-filter biến phần tử thành
 * khung chứa của mọi con position:fixed -> overlay menu điện thoại bị nhốt trong dải header.
 */
.dtc-header {
	position: relative;
	isolation: isolate;
	border-bottom: 1px solid rgba(17, 18, 20, .08);
}

.dtc-header::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: rgba(255, 255, 255, .92);
	backdrop-filter: saturate(1.4) blur(10px);
	-webkit-backdrop-filter: saturate(1.4) blur(10px);
}

.dtc-header .wp-block-site-logo img {
	height: auto;
}

.dtc-header .wp-block-navigation__submenu-container {
	border: 0 !important;
	border-radius: var(--dtc-bo-goc);
	box-shadow: var(--wp--preset--shadow--noi);
	padding: .5rem !important;
	min-width: 220px !important;
}

.dtc-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	padding: .55rem .85rem !important;
	border-radius: 8px;
}

.dtc-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover {
	background: var(--wp--preset--color--khoi);
}

.dtc-header .wp-block-navigation-item__content:hover {
	color: var(--wp--preset--color--do);
	text-decoration: none;
}

.dtc-header .current-menu-item > .wp-block-navigation-item__content {
	color: var(--wp--preset--color--do);
}

.dtc-header__cta .wp-block-button__link {
	padding: .6rem 1.15rem;
	font-size: .9rem;
}

@media (max-width: 480px) {
	.dtc-header .wp-block-site-logo img {
		width: 150px !important;
	}

	.dtc-header__cta {
		display: none !important; /* menu điện thoại đã có mục Tuyển dụng */
	}
}

/* Menu toàn màn hình trên điện thoại: căn trái, kẻ phân mục, menu con thụt vào (không phải thẻ nổi) */
.dtc-header .wp-block-navigation__responsive-container.is-menu-open {
	padding: 1.25rem 1.5rem 2rem;
}

.dtc-header .is-menu-open .wp-block-navigation__responsive-container-content {
	padding-top: 2.5rem;
}

.dtc-header .is-menu-open :is(.wp-block-navigation__responsive-container-content, .wp-block-navigation__container, .wp-block-navigation-item) {
	align-items: stretch !important;
	width: 100%;
}

.dtc-header .is-menu-open .wp-block-navigation__container {
	gap: 0 !important;
}

.dtc-header .is-menu-open .wp-block-navigation__container > .wp-block-navigation-item {
	border-bottom: 1px solid var(--wp--preset--color--khoi);
	padding: .5rem 0;
}

.dtc-header .is-menu-open .wp-block-navigation-item__content {
	font-size: 1.15rem;
	font-weight: 700;
}

.dtc-header .is-menu-open .wp-block-navigation__submenu-container {
	box-shadow: none;
	border-radius: 0;
	min-width: 0 !important;
	padding: .25rem 0 .25rem 1rem !important;
	gap: 0 !important;
}

.dtc-header .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	font-size: 1rem;
	font-weight: 500;
	color: var(--wp--preset--color--than);
	padding: .4rem 0 !important;
}

/* ==========================================================================
   NHÃN NHỎ (eyebrow) — kiểu khối "Nhãn nhỏ" của đoạn văn
   ========================================================================== */
.is-style-nhan {
	display: flex; /* chiếm cả dòng để căn giữa (justify-content) có tác dụng */
	align-items: center;
	gap: .65rem;
	font-size: .8rem !important;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--wp--preset--color--do);
}

.is-style-nhan::before {
	content: "";
	width: 28px;
	height: 2px;
	background: currentColor;
	border-radius: 2px;
}

.has-text-align-center.is-style-nhan {
	justify-content: center;
}

/* Trên nền tối, đỏ chính chỉ đạt tương phản ~3,9:1 -> dùng đỏ sáng */
:is(.has-muc-background-color, .has-dem-do-gradient-background) .is-style-nhan {
	color: var(--wp--preset--color--do-sang);
}

/* ==========================================================================
   NÚT — kiểu viền
   ========================================================================== */
.wp-block-button.is-style-vien-trang .wp-block-button__link {
	background: transparent;
	color: #fff;
	box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .85);
}

.wp-block-button.is-style-vien-trang .wp-block-button__link:hover,
.wp-block-button.is-style-vien-trang .wp-block-button__link:focus {
	background: #fff;
	color: var(--wp--preset--color--muc);
}

.wp-block-button.is-style-vien-do .wp-block-button__link {
	background: transparent;
	color: var(--wp--preset--color--do);
	box-shadow: inset 0 0 0 2px var(--wp--preset--color--do);
}

.wp-block-button.is-style-vien-do .wp-block-button__link:hover,
.wp-block-button.is-style-vien-do .wp-block-button__link:focus {
	background: var(--wp--preset--color--do);
	color: #fff;
}

.wp-block-button.is-style-nen-trang .wp-block-button__link {
	background: #fff;
	color: var(--wp--preset--color--do-dam);
}

.wp-block-button.is-style-nen-trang .wp-block-button__link:hover,
.wp-block-button.is-style-nen-trang .wp-block-button__link:focus {
	background: var(--wp--preset--color--muc);
	color: #fff;
}

.wp-element-button,
.wp-block-button__link {
	transition: background-color var(--dtc-chuyen), color var(--dtc-chuyen), box-shadow var(--dtc-chuyen), transform var(--dtc-chuyen);
}

.wp-block-button__link:hover {
	text-decoration: none;
	transform: translateY(-1px);
}

/* ==========================================================================
   THẺ — kiểu khối "Thẻ" của nhóm
   ========================================================================== */
.is-style-the {
	background: #fff;
	border-radius: var(--dtc-bo-goc);
	box-shadow: var(--wp--preset--shadow--the);
	transition: transform var(--dtc-chuyen), box-shadow var(--dtc-chuyen);
}

.is-style-the:has(a):hover {
	transform: translateY(-4px);
	box-shadow: var(--wp--preset--shadow--noi);
}

.is-style-bo-tron img {
	border-radius: var(--dtc-bo-goc);
}

/* ==========================================================================
   HERO trang chủ — vòng quỹ đạo lấy cảm hứng từ logo
   ========================================================================== */
.dtc-hero {
	position: relative;
	overflow: hidden;
	isolation: isolate;
}

.dtc-hero::before,
.dtc-hero::after {
	content: "";
	position: absolute;
	z-index: -1;
	pointer-events: none;
	border-radius: 50%;
}

.dtc-hero::before {
	width: 1100px;
	height: 360px;
	right: -260px;
	top: 46%;
	border: 2px solid rgba(255, 255, 255, .07);
	box-shadow: 0 0 0 26px rgba(217, 1, 6, .07);
	transform: rotate(-14deg);
}

.dtc-hero::after {
	width: 620px;
	height: 620px;
	right: -120px;
	top: -160px;
	background: radial-gradient(closest-side, rgba(217, 1, 6, .28), transparent);
}

.dtc-hero h1 {
	letter-spacing: -0.02em;
}

.dtc-hero__logo img {
	filter: drop-shadow(0 30px 60px rgba(217, 1, 6, .28));
}

@media (max-width: 781px) {
	.dtc-hero__logo img {
		width: min(70vw, 300px) !important;
		margin-inline: auto;
	}
}

/* ==========================================================================
   5 LĨNH VỰC
   ========================================================================== */
.dtc-the-nganh {
	height: 100%;
	text-align: center;
}

.dtc-the-nganh .wp-block-image img {
	width: 96px;
	height: 96px;
	margin-inline: auto;
	transition: transform var(--dtc-chuyen);
}

.dtc-the-nganh:hover .wp-block-image img {
	transform: scale(1.06) rotate(-3deg);
}

.dtc-the-nganh h3 a {
	color: inherit;
}

.dtc-the-nganh h3 a::after {
	content: "";
	position: absolute;
	inset: 0; /* cả thẻ bấm được */
}

.dtc-the-nganh {
	position: relative;
}

.dtc-huy-hieu {
	display: inline-block;
	padding: .25rem .7rem;
	border-radius: 999px;
	font-size: .72rem !important;
	font-weight: 700;
	letter-spacing: .04em;
	background: var(--wp--preset--color--khoi);
	color: var(--wp--preset--color--than);
}

.dtc-huy-hieu--hoat-dong {
	background: rgba(217, 1, 6, .1);
	color: var(--wp--preset--color--do-dam);
}

/* ==========================================================================
   CON SỐ
   ========================================================================== */
.dtc-so {
	font-size: clamp(2.25rem, 5vw, 3.25rem) !important;
	font-weight: 800;
	line-height: 1.1 !important;
	color: var(--wp--preset--color--do);
	font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   VĂN HOÁ — số thứ tự viền
   ========================================================================== */
.dtc-so-thu-tu {
	font-size: 3.5rem !important;
	font-weight: 800;
	line-height: 1 !important;
	color: transparent;
	-webkit-text-stroke: 1.5px var(--wp--preset--color--do);
}

/* ==========================================================================
   THẺ BÀI VIẾT (danh sách tin)
   ========================================================================== */
.dtc-the-bai {
	overflow: hidden;
	height: 100%;
}

.dtc-the-bai .wp-block-post-featured-image {
	margin: 0;
}

.dtc-the-bai .wp-block-post-featured-image img {
	transition: transform 400ms ease;
}

.dtc-the-bai:hover .wp-block-post-featured-image img {
	transform: scale(1.04);
}

.dtc-the-bai .wp-block-post-title a {
	color: var(--wp--preset--color--muc);
}

.dtc-the-bai .wp-block-post-title a:hover {
	color: var(--wp--preset--color--do);
	text-decoration: none;
}

.wp-block-post-terms a {
	color: var(--wp--preset--color--do);
}

/* Ảnh đại diện trống -> khung màu thương hiệu thay vì khoảng trắng */
.dtc-the-bai .wp-block-post-featured-image:empty {
	display: none;
}

/* ==========================================================================
   THẺ TRÊN NỀN TỐI (phần Cơ hội nghề nghiệp)
   ========================================================================== */
.dtc-the-toi {
	background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));
	border: 1px solid rgba(255, 255, 255, .1);
	border-radius: var(--dtc-bo-goc);
	border-top: 3px solid var(--wp--preset--color--do);
}

/* ==========================================================================
   KHUNG TRANG — header/main/footer liền nhau, các phần tự lo khoảng cách
   ========================================================================== */
.wp-site-blocks > main,
.wp-site-blocks > footer {
	margin-block-start: 0;
}

main > .wp-block-post-content > .alignfull:first-child {
	margin-block-start: 0;
}

main > .wp-block-post-content > .alignfull + .alignfull {
	margin-block-start: 0; /* các dải màu toàn khổ đứng sát nhau, không hở viền trắng */
}

/* ==========================================================================
   CHÂN TRANG
   ========================================================================== */
.dtc-footer a {
	color: rgba(255, 255, 255, .72);
}

.dtc-footer a:hover {
	color: #fff;
	text-decoration: none;
}

.dtc-footer .dtc-footer__tieu-de {
	color: #fff;
	font-size: .82rem !important;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.dtc-footer :where(ul) {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: .55rem;
}

/* ==========================================================================
   TUYỂN DỤNG — thanh lọc, thẻ tin, nhãn trạng thái, thông tin dạng "chip"
   ========================================================================== */
.dtc-hero--gon::before {
	top: 30%;
}

.dtc-loc {
	display: grid;
	grid-template-columns: 2fr repeat(3, 1fr) auto;
	gap: .6rem;
	margin-top: var(--wp--preset--spacing--40);
	padding: .6rem;
	background: rgba(255, 255, 255, .08);
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: var(--dtc-bo-goc);
}

.dtc-loc :is(input, select) {
	min-width: 0;
	padding: .75rem .9rem;
	border: 0;
	border-radius: 10px;
	background: #fff;
	color: var(--wp--preset--color--muc);
	font: inherit;
	font-size: .95rem;
}

.dtc-loc button {
	white-space: nowrap;
}

.dtc-loc__dem {
	margin-top: .75rem;
	color: var(--wp--preset--color--bac);
	font-size: .95rem;
}

@media (max-width: 900px) {
	.dtc-loc {
		grid-template-columns: 1fr 1fr;
	}

	.dtc-loc input[type="search"],
	.dtc-loc button {
		grid-column: 1 / -1;
	}
}

.dtc-the-viec {
	height: 100%;
}

.dtc-the-viec .wp-block-post-title a {
	color: inherit;
}

.dtc-the-viec .wp-block-post-title a:hover {
	color: var(--wp--preset--color--do);
	text-decoration: none;
}

.dtc-the-toi .wp-block-post-title a:hover {
	color: var(--wp--preset--color--do-sang);
}

.dtc-the-toi .wp-block-post-terms a {
	color: var(--wp--preset--color--do-sang);
}

.dtc-viec-moi {
	margin-top: var(--wp--preset--spacing--50);
}

.dtc-tt {
	display: inline-block;
	margin: 0 !important;
	padding: .2rem .65rem;
	border-radius: 999px;
	font-size: .75rem;
	font-weight: 700;
	background: var(--wp--preset--color--khoi);
	color: var(--wp--preset--color--than);
}

.dtc-tt--dang-tuyen {
	background: #E6F4EA;
	color: #0A6B26;
}

.dtc-tt--het-han {
	background: #FDECEC;
	color: var(--wp--preset--color--do-dam);
}

.dtc-chip {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	margin: 0 !important;
	padding: .3rem .7rem;
	border-radius: 8px;
	background: var(--wp--preset--color--khoi);
	color: var(--wp--preset--color--than);
	font-size: .85rem !important;
	line-height: 1.4;
}

.dtc-chip:empty {
	display: none;
}

.dtc-the-toi .dtc-chip {
	background: rgba(255, 255, 255, .08);
	color: var(--wp--preset--color--bac);
}

.dtc-chip::before {
	content: "";
	flex: none;
	width: 15px;
	height: 15px;
	background: currentColor;
	-webkit-mask: var(--dtc-icon) center / contain no-repeat;
	mask: var(--dtc-icon) center / contain no-repeat;
}

.dtc-chip--dia-diem { --dtc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-11a7 7 0 1 1 14 0c0 4.8-7 11-7 11z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E"); }
.dtc-chip--hinh-thuc { --dtc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E"); }
.dtc-chip--luong { --dtc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='3' y='6' width='18' height='12' rx='2'/%3E%3Ccircle cx='12' cy='12' r='2.5'/%3E%3C/svg%3E"); }
.dtc-chip--han-nop { --dtc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E"); }
.dtc-chip--so-luong { --dtc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='9' cy='8' r='3.5'/%3E%3Cpath d='M2.5 20a6.5 6.5 0 0 1 13 0M16 4.5a3.5 3.5 0 0 1 0 7M18 14a6 6 0 0 1 3.5 6'/%3E%3C/svg%3E"); }
.dtc-chip--kinh-nghiem { --dtc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='3' y='7' width='18' height='13' rx='2'/%3E%3Cpath d='M8 7V5a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2'/%3E%3C/svg%3E"); }

/* Nội dung mô tả công việc: tiêu đề mục có gạch đỏ */
.dtc-noi-dung-viec h2,
.dtc-noi-dung-viec h3 {
	font-size: var(--wp--preset--font-size--lon);
	padding-left: .8rem;
	border-left: 4px solid var(--wp--preset--color--do);
	margin-top: 2rem;
}

/* ==========================================================================
   FORM ỨNG TUYỂN
   ========================================================================== */
.dtc-form {
	background: #fff;
	border-radius: var(--dtc-bo-goc);
	box-shadow: var(--wp--preset--shadow--the);
	padding: var(--wp--preset--spacing--40);
}

.dtc-form__luoi {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
	column-gap: 1.25rem;
}

.dtc-form label {
	display: block;
	font-weight: 600;
	font-size: .92rem;
	margin-bottom: .35rem;
}

.dtc-form label small {
	font-weight: 400;
	color: var(--wp--preset--color--than);
}

.dtc-form :is(input, textarea, select, button) {
	box-sizing: border-box; /* width:100% tính cả padding + viền, không tràn sang cột bên */
}

.dtc-form :is(input[type="text"], input[type="tel"], input[type="email"], textarea) {
	width: 100%;
	padding: .8rem .9rem;
	border: 1.5px solid #D9DBDF;
	border-radius: 10px;
	font: inherit;
	background: #fff;
	transition: border-color var(--dtc-chuyen), box-shadow var(--dtc-chuyen);
}

.dtc-form :is(input, textarea):focus {
	border-color: var(--wp--preset--color--do);
	box-shadow: 0 0 0 3px rgba(217, 1, 6, .12);
	outline: none;
}

.dtc-form input[type="file"] {
	width: 100%;
	padding: .6rem;
	border: 1.5px dashed #C9CCD1;
	border-radius: 10px;
	background: var(--wp--preset--color--khoi);
	font-size: .9rem;
}

.dtc-form__dong-y label {
	display: flex;
	gap: .6rem;
	align-items: flex-start;
	font-weight: 400;
	font-size: .9rem;
	color: var(--wp--preset--color--than);
}

.dtc-form__dong-y input {
	margin-top: .3rem;
	accent-color: var(--wp--preset--color--do);
	width: 18px;
	height: 18px;
	flex: none;
}

.dtc-form button[type="submit"] {
	width: 100%;
	font-size: 1.05rem;
	padding: 1rem;
}

.dtc-bat-buoc {
	color: var(--wp--preset--color--do);
}

/* Ô bẫy chống spam: người không thấy, máy thì điền */
.dtc-form__bay {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.dtc-thong-bao {
	padding: 1rem 1.2rem;
	border-radius: 10px;
	background: #fff;
	border-left: 4px solid var(--wp--preset--color--bac);
	margin-bottom: 1.25rem;
}

.dtc-thong-bao--ok {
	background: #E6F4EA;
	border-left-color: #0A6B26;
}

.dtc-thong-bao--loi {
	background: #FDECEC;
	border-left-color: var(--wp--preset--color--do);
}

/* ==========================================================================
   LIÊN HỆ + HỆ THỐNG CỬA HÀNG (mã ngắn của plugin dtc-core)
   ========================================================================== */
.dtc-lien-he,
.dtc-cua-hang {
	display: grid;
	gap: var(--wp--preset--spacing--30);
	margin-top: var(--wp--preset--spacing--40);
}

.dtc-lien-he {
	grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}

.dtc-cua-hang {
	/* tối đa 3 cột (6 cửa hàng = 3 + 3, không lẻ 1 thẻ), co về 2 rồi 1 cột trên màn hình hẹp */
	grid-template-columns: repeat(auto-fill, minmax(min(100%, max(14rem, calc((100% - 2 * var(--wp--preset--spacing--30)) / 3))), 1fr));
}

.dtc-lien-he__the,
.dtc-cua-hang__the {
	display: grid;
	align-content: start;
	gap: .4rem;
	background: #fff;
	border-radius: var(--dtc-bo-goc);
	box-shadow: var(--wp--preset--shadow--the);
	padding: var(--wp--preset--spacing--30);
}

.dtc-lien-he__the {
	border-top: 3px solid var(--wp--preset--color--do);
}

.dtc-cua-hang__the {
	border-left: 4px solid var(--wp--preset--color--do);
}

:is(.dtc-lien-he__the, .dtc-cua-hang__the) p {
	margin: 0;
}

.dtc-lien-he__nhan {
	display: flex;
	align-items: center;
	gap: .5rem;
	font-size: .8rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--wp--preset--color--do);
}

.dtc-lien-he__nhan::before {
	content: "";
	width: 18px;
	height: 18px;
	background: currentColor;
	-webkit-mask: var(--dtc-icon) center / contain no-repeat;
	mask: var(--dtc-icon) center / contain no-repeat;
}

.dtc-lien-he__the--hotline { --dtc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8c1.4 2.8 3.8 5.1 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1C10.6 21 3 13.4 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.6.1.3 0 .7-.2 1l-2.3 2.2z'/%3E%3C/svg%3E"); }
.dtc-lien-he__the--email { --dtc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3 7l9 6 9-6'/%3E%3C/svg%3E"); }
.dtc-lien-he__the--zalo { --dtc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5c-5.5 0-10 3.9-10 8.7 0 2.6 1.3 4.9 3.4 6.5l-.6 3.3 3.5-1.7c1.2.4 2.4.6 3.7.6 5.5 0 10-3.9 10-8.7S17.5 2.5 12 2.5z'/%3E%3C/svg%3E"); }

.dtc-lien-he__gia-tri {
	font-size: var(--wp--preset--font-size--lon);
	font-weight: 700;
	overflow-wrap: anywhere; /* email dài không làm tràn màn hình điện thoại */
}

.dtc-lien-he__ghi-chu,
.dtc-cua-hang__dia-chi {
	color: var(--wp--preset--color--than);
	font-size: .9rem;
}

.dtc-cua-hang__ten {
	font-weight: 800;
	font-size: 1.1rem;
}

.dtc-cua-hang__link {
	font-size: .9rem;
	font-weight: 600;
	margin-top: .3rem !important;
}

.dtc-lien-he-gon a {
	overflow-wrap: anywhere;
}

/* ==========================================================================
   NỘI DUNG CHỜ XÁC NHẬN — phải hết trước khi đưa web lên mạng
   (kiểm: tìm chữ "cần xác nhận" trong toàn bộ nội dung = 0 kết quả)
   ========================================================================== */
mark.dtc-cxn {
	background: #FFF4CC;
	color: #6B4E00;
	border: 1px dashed #D4A72C;
	border-radius: 4px;
	padding: 0 .3em;
	font-weight: 600;
}

/* ==========================================================================
   Giảm chuyển động cho người dùng bật "Reduce motion"
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		transition-duration: 0ms !important;
		animation-duration: 0ms !important;
		scroll-behavior: auto !important;
	}
}
