/* Đồ Cũ Thành Phát — CSS chung mọi trang (kể cả sản phẩm). Màu / font lấy từ theme.json, bí danh ngắn có dự phòng. */
:root {
	--b: var(--wp--preset--color--brand, #0b5bd3);
	--n: var(--wp--preset--color--navy, #0a2f7f);
	--ink: var(--wp--preset--color--ink, #1c2840);
	--mut: var(--wp--preset--color--muted, #56627a);
	--line: var(--wp--preset--color--line, #e2e9f4);
	--soft: var(--wp--preset--color--soft, #f2f6fc);
	--red: var(--wp--preset--color--price, #d0021b);
	--hf: var(--wp--preset--font-family--heading, "Be Vietnam Pro", system-ui, sans-serif);
	--wrap: 1600px;
	--pad: clamp(16px, 3vw, 48px);
	--r: 10px;
	--sh: 0 2px 10px rgba(16, 52, 120, .07);
	--sh2: 0 10px 28px rgba(16, 52, 120, .14);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; overflow-x: clip; }
img { max-width: 100%; height: auto; }
a, a:where(:not(.wp-element-button)) { text-decoration: none; }
a:hover { text-decoration: none; }
:focus-visible { outline: 3px solid #ffb400; outline-offset: 2px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); white-space: nowrap; margin: -1px; padding: 0; border: 0; }
.tpdc-wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--pad)); margin-inline: auto; padding-inline: var(--pad); }
.tpdc-sec:not(.alignfull) > .tpdc-wrap { padding-inline: 0; max-width: none; }
.tpdc-site-head, .tpdc-site-foot { display: contents; }
.tpdc-main { margin: 0; }
.tpdc-main > * { margin-block: 0; }
.wp-site-blocks > * { margin-block: 0; }
.tpdc-ico { flex: none; display: inline-block; vertical-align: middle; }
.tpdc-note { margin: 8px 0; padding: 10px 14px; border: 1px dashed #9db3d8; border-radius: 8px; background: #f5f8fe; color: var(--mut); font-size: 14px; }

/* ---------- Nút ---------- */
.tpdc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 20px; border-radius: 8px; font: 700 15px/1.2 var(--hf); color: #fff; background: var(--b); border: 0; cursor: pointer; transition: background .2s, transform .2s; }
.tpdc-btn:hover { color: #fff; background: var(--n); }
.tpdc-btn--zalo { background: #0068ff; }
.tpdc-btn--zalo:hover { background: #0050c8; }
.tpdc-btn--call { background: #e8081d; }
.tpdc-btn--call:hover { background: #b80014; }
.tpdc-calls { display: flex; flex-wrap: wrap; gap: 10px; }
.tpdc-calls--big .tpdc-btn { min-height: 52px; font-size: 16px; padding-inline: 24px; }
.tpdc-calls--light .tpdc-btn--zalo { background: #fff; color: var(--b); }
/* Cụm 2 số: mỗi số một hàng [Gọi | Zalo] */
.tpdc-ccard__title { margin: 0 0 10px; font: 700 15px/1.3 var(--hf); color: var(--n); }
.tpdc-ccard__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tpdc-cbtn { display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 9px 14px; border-radius: 12px; color: #fff; transition: transform .15s, box-shadow .2s, background .2s; }
.tpdc-cbtn:hover { color: #fff; transform: translateY(-1px); }
.tpdc-cbtn .tpdc-ico { flex: none; width: 36px; height: 36px; padding: 7px; border-radius: 50%; background: rgba(255, 255, 255, .2); }
.tpdc-cbtn--zalo .tpdc-ico { padding: 2px; background: none; }
.tpdc-ccard--light .tpdc-cbtn--zalo .tpdc-ico { background: none; }
.tpdc-ccard--light .tpdc-cbtn--zalo .tpdc-zl__t, .tpdc-calls--light .tpdc-btn--zalo .tpdc-zl__t { fill: #fff; }
.tpdc-btn--zalo .tpdc-ico { width: 24px; height: 24px; }
.tpdc-cbtn span { display: flex; flex-direction: column; min-width: 0; }
.tpdc-cbtn small { font-size: 12.5px; line-height: 1.2; }
.tpdc-cbtn strong { font: 700 17px/1.25 var(--hf); letter-spacing: .01em; white-space: nowrap; }
.tpdc-cbtn--call { background: linear-gradient(135deg, #d40a1f, #a80016); box-shadow: 0 6px 16px rgba(200, 0, 26, .22); }
.tpdc-cbtn--call:hover { background: linear-gradient(135deg, #b8081b, #8e0013); }
.tpdc-cbtn--zalo { background: linear-gradient(135deg, #0a62e6, #004bc2); box-shadow: 0 6px 16px rgba(0, 88, 224, .22); }
.tpdc-cbtn--zalo:hover { background: linear-gradient(135deg, #0754c8, #003c9e); }
.tpdc-ccard--pd { margin: 18px 0 6px; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(180deg, #f6f9ff, #fff); }
.tpdc-ccard--light .tpdc-cbtn { box-shadow: none; }
.tpdc-ccard--light .tpdc-cbtn--zalo { background: #fff; color: var(--b); }
.tpdc-ccard--light .tpdc-cbtn--zalo:hover { background: #e9f1ff; color: var(--b); }
.tpdc-ccard--light { flex: 0 1 520px; }
.tpdc-ccard--contact { margin-top: 4px; }
.tpdc-nav__calls { display: none; }
/* Chân trang: nút Zalo nhỏ cạnh số */
.tpdc-phones__row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tpdc-zpill { display: inline-flex; align-items: center; padding: 2px 9px; border-radius: 999px; background: #0068ff; color: #fff !important; font: 700 12px/1.6 var(--hf); }
.tpdc-zpill:hover { background: #fff; color: var(--b) !important; }
.tpdc-calls--light .tpdc-btn--zalo:hover { background: #e7f0ff; }

/* ---------- Đầu trang ---------- */
.tpdc-topbar { background: var(--n); color: #fff; font-size: 14px; text-align: center; padding: 6px 0; }
.tpdc-head { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 1px 0 var(--line); }
.admin-bar .tpdc-head { top: 32px; }
.tpdc-head { transition: transform .3s ease; } /* không dùng will-change: transform → biến header thành khung chứa của ngăn kéo menu (position: fixed) */
.tpdc-head.is-hidden { transform: translateY(-100%); }
.admin-bar .tpdc-head.is-hidden { transform: translateY(calc(-100% - 32px)); }
.tpdc-head__row { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 40px); min-height: 92px; }
.tpdc-logo { display: inline-flex; align-items: center; flex: none; }
.tpdc-logo__img { width: 210px; height: auto; display: block; }
.tpdc-logo__text { font: 700 24px/1 var(--hf); color: var(--n); text-transform: uppercase; }
.tpdc-search { flex: 1 1 auto; max-width: 600px; display: flex; height: 48px; border: 1.5px solid #c9d6ea; border-radius: 9px; background: #fff; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.tpdc-search:focus-within { border-color: var(--b); box-shadow: 0 0 0 3px rgba(11, 91, 211, .15); }
.tpdc-search input { flex: 1; min-width: 0; border: 0; padding: 0 16px; font-size: 15px; color: var(--ink); background: transparent; outline: 0; }
.tpdc-search input::placeholder { color: #687286; }
.tpdc-search button { flex: none; width: 62px; border: 0; background: var(--b); color: #fff; cursor: pointer; display: grid; place-items: center; }
.tpdc-search button:hover { background: var(--n); }
.tpdc-head__contact { display: flex; align-items: center; gap: 10px; color: var(--n); line-height: 1.35; flex: none; }
.tpdc-head__contact .tpdc-ico { color: var(--b); }
.tpdc-head__contact strong { display: block; font: 700 16px/1.3 var(--hf); color: var(--n); }
.tpdc-head__contact small { display: block; font-size: 14px; color: var(--mut); }
.tpdc-head__addr { font-size: 14px; font-weight: 600; margin-left: auto; }
.tpdc-head__phone { margin-left: auto; }
.tpdc-head__phone + .tpdc-head__addr { margin-left: 0; }
.tpdc-head__contact:hover strong, .tpdc-head__addr:hover { color: var(--b); }
.tpdc-phones > span > a { display: block; color: inherit; }
.tpdc-phones__row > a { display: inline-flex; align-items: center; min-height: 26px; } /* vùng bấm ≥ 24px (2 số xếp sát nhau) */
.tpdc-phones__n2 { font: 700 15px/1.35 var(--hf); color: var(--n) !important; }
.tpdc-phones a:hover strong, .tpdc-phones__n2:hover { color: var(--b) !important; }
.tpdc-foot .tpdc-phones__n2 { color: #fff !important; font-size: 16px; }
.tpdc-head__burger, .tpdc-head__callmini { display: none; }

/* Thanh menu xanh */
.tpdc-nav { background: linear-gradient(90deg, #0a4fc2 0%, #1167dc 55%, #0d5ed6 100%); }
.tpdc-nav__inner { max-width: calc(var(--wrap) + 2 * var(--pad)); margin-inline: auto; padding-inline: var(--pad); }
.tpdc-nav__drawerhead, .tpdc-nav__calls { display: none; }
.tpdc-nav__list { display: flex; margin: 0; padding: 0; list-style: none; }
.tpdc-nav__item { position: relative; flex: 1 1 0; display: flex; align-items: stretch; }
.tpdc-nav__item + .tpdc-nav__item { border-left: 1px solid rgba(255, 255, 255, .14); }
.tpdc-nav__link { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 54px; padding: 0 14px; color: #fff; font: 700 14.5px/1.2 var(--hf); text-transform: uppercase; letter-spacing: .01em; background: transparent; border: 0; cursor: pointer; white-space: nowrap; }
.tpdc-nav__link:hover, .tpdc-nav__item.is-open > .tpdc-nav__link { color: #fff; background: rgba(0, 20, 80, .22); }
.tpdc-nav__item.has-sub > .tpdc-nav__link { background: rgba(0, 25, 90, .24); }
.tpdc-nav__item.is-current > .tpdc-nav__link { box-shadow: inset 0 -3px 0 #fff; }
.tpdc-nav__toggle { display: none; }
.tpdc-nav__caret { transition: transform .2s; }
.tpdc-nav__item.is-open .tpdc-nav__caret { transform: rotate(180deg); }
.tpdc-nav__drop { display: none; position: absolute; left: 0; top: 100%; z-index: 60; min-width: 640px; padding: 16px; background: #fff; border-radius: 0 0 12px 12px; box-shadow: var(--sh2); animation: tpdc-drop .18s ease-out; }
.tpdc-nav__item:not(:first-child).has-sub .tpdc-nav__drop { left: 0; }
.tpdc-nav__item.is-open > .tpdc-nav__drop { display: block; }
html:not(.is-js) .tpdc-nav__item:hover > .tpdc-nav__drop, html:not(.is-js) .tpdc-nav__item:focus-within > .tpdc-nav__drop { display: block; }
@keyframes tpdc-drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.tpdc-nav__sub { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 12px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 1101px) { .tpdc-nav__sub > :last-child:nth-child(odd) { grid-column: span 2; } } /* chỉ menu thả 2 cột trên máy tính; ngăn kéo điện thoại 1 cột */
.tpdc-nav__sublink { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 8px; color: var(--ink); font-weight: 600; font-size: 15px; }
.tpdc-nav__sublink:hover { background: var(--soft); color: var(--b); }
.tpdc-nav__media { flex: none; width: 40px; height: 40px; border-radius: 8px; overflow: hidden; background: var(--soft); display: grid; place-items: center; }
.tpdc-nav__thumb { width: 40px; height: 40px; object-fit: cover; display: block; }
.tpdc-nav__ico { color: var(--b); }
.tpdc-nav__sub3 { display: none; }
.tpdc-overlay { position: fixed; inset: 0; z-index: 99; /* trong header (z 101 khi mở menu), dưới ngăn kéo (100) → phủ cả dải đầu trang */ background: rgba(6, 20, 50, .5); }

/* ---------- Banner ---------- */
.tpdc-hero { position: relative; margin: 0; background: #e9f1fd; }
.tpdc-hero__slider { display: flex; overflow: hidden; overflow: clip; margin: 0; }
.tpdc-hero__slider > * { flex: 0 0 100%; margin: 0 !important; transition: transform .6s ease; }
.tpdc-hero__img { margin: 0; }
.tpdc-hero > * { margin-block: 0 !important; }
.tpdc-hero__img img { display: block; width: 100%; height: auto; aspect-ratio: 2048 / 768; object-fit: cover; }
.tpdc-hero__h1 { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); white-space: nowrap; margin: 0; }
.tpdc-hero__calls { display: none; }
.tpdc-hero__stage { position: relative; }
.tpdc-dots { position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%); display: flex; gap: 0; z-index: 2; }
.tpdc-dots button { width: 24px; height: 24px; padding: 0; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; }
.tpdc-dots button::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .75); box-shadow: 0 0 0 1px rgba(10, 47, 127, .25); }
.tpdc-dots button[aria-current="true"]::before { background: var(--b); width: 11px; height: 11px; }
.tpdc-hero__arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 40px; height: 40px; padding: 0; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .85); color: var(--n); font: 700 24px/1 system-ui, sans-serif; cursor: pointer; display: grid; place-items: center; box-shadow: var(--sh); }
.tpdc-hero__arrow--prev { left: 12px; }
.tpdc-hero__arrow--next { right: 12px; }

/* ---------- Mục chung ---------- */
.tpdc-sec { padding-block: clamp(22px, 2.6vw, 38px) 0; }
.tpdc-home > .wp-block-post-content > :last-child { padding-bottom: clamp(28px, 3vw, 48px); }
.tpdc-sec__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.tpdc-sec__title { position: relative; margin: 0; padding-bottom: 10px; font: 700 var(--wp--preset--font-size--head, 26px)/1.25 var(--hf); color: var(--n); text-transform: uppercase; }
.tpdc-sec__title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 52px; height: 3px; border-radius: 2px; background: var(--b); }
.tpdc-sec__more { display: inline-flex; align-items: center; gap: 6px; flex: none; font-weight: 600; font-size: 15px; color: var(--b); white-space: nowrap; padding: 6px 0; }
.tpdc-sec__more:hover { color: var(--n); }
.tpdc-sec__more:hover .tpdc-ico { transform: translateX(3px); }
.tpdc-sec__more .tpdc-ico { transition: transform .2s; }
.tpdc-sec__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.tpdc-sec__bar .tpdc-sec__more { margin-left: auto; }
.tpdc-grid { display: grid; gap: clamp(12px, 1.2vw, 20px); }

/* Danh mục 8 cột */
.tpdc-cats__grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: clamp(10px, 1vw, 16px); }
.tpdc-cat { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 10px 8px 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh); color: var(--ink); transition: transform .2s, box-shadow .2s, border-color .2s; }
.tpdc-cat:hover { transform: translateY(-3px); box-shadow: var(--sh2); border-color: #bcd0f0; color: var(--b); }
.tpdc-cat__media { width: 100%; aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: var(--soft); display: grid; place-items: center; color: var(--b); }
.tpdc-cat__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s; }
.tpdc-cat:hover .tpdc-cat__media img { transform: scale(1.05); }
.tpdc-cat__name { margin-top: 10px; font-weight: 700; font-size: 14px; line-height: 1.3; }
.tpdc-cat__count { margin-top: 2px; font-size: 13px; color: var(--mut); }

/* Tab */
.tpdc-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.tpdc-tab { min-height: 40px; padding: 8px 18px; border: 0; border-radius: 7px; background: transparent; color: #3c4860; font-size: 15px; font-weight: 500; cursor: pointer; white-space: nowrap; transition: background .2s, color .2s; }
.tpdc-tab:hover { color: var(--b); background: var(--soft); }
.tpdc-tab.is-active { background: var(--b); color: #fff; font-weight: 700; min-width: 100px; box-shadow: 0 4px 12px rgba(11, 91, 211, .28); }
.tpdc-tabpanel[hidden] { display: none; }

/* Thẻ sản phẩm 6 cột */
.tpdc-grid--prods { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.tpdc-card { min-width: 0; }
.tpdc-card__link { height: 100%; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh); overflow: hidden; color: var(--ink); transition: transform .2s, box-shadow .2s, border-color .2s; }
.tpdc-card__link:hover { transform: translateY(-3px); box-shadow: var(--sh2); border-color: #bcd0f0; }
.tpdc-card__media { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: var(--soft); border-radius: 8px; margin: 6px 6px 0; }
.tpdc-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s; }
.tpdc-card__link:hover .tpdc-card__media img { transform: scale(1.05); }
.tpdc-card__ph, .tpdc-post__ph { width: 100%; height: 100%; display: grid; place-items: center; color: #a9bbd9; }
.tpdc-card__body { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 12px 12px 14px; }
.tpdc-card__name { margin: 0; font: 600 15px/1.4 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--ink); }
.tpdc-card__link:hover .tpdc-card__name { color: var(--b); }
.tpdc-card__price { margin-top: auto; font: 700 18px/1.2 var(--hf); color: var(--red); }
.tpdc-price__old { font-size: 13px; color: var(--mut); font-weight: 400; }
.tpdc-price__ask { color: var(--b); }

/* Danh mục bán chạy: ô danh mục + 5 sản phẩm */
.tpdc-catrow__desc { margin: 0 0 6px; color: var(--mut); font-size: 15px; max-width: 760px; text-align: right; }
.tpdc-catrow__body { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(12px, 1.2vw, 20px); }
.tpdc-catrow__body > .tpdc-grid--row { grid-column: span 5; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.tpdc-catrow__tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 100%; border-radius: var(--r); overflow: hidden; color: #fff; background: linear-gradient(160deg, #1468de, #0a2f7f); box-shadow: var(--sh); isolation: isolate; }
.tpdc-catrow__img { position: absolute; inset: 0; z-index: -1; }
.tpdc-catrow__img img { width: 100%; height: 100%; object-fit: cover; opacity: .32; mix-blend-mode: luminosity; transition: transform .4s, opacity .3s; }
.tpdc-catrow__tile:hover .tpdc-catrow__img img { transform: scale(1.06); opacity: .42; }
.tpdc-catrow__txt { display: flex; flex-direction: column; gap: 10px; padding: 18px; }
.tpdc-catrow__count { font: 700 26px/1.1 var(--hf); }
.tpdc-catrow__go { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; padding: 9px 14px; border-radius: 8px; background: #fff; color: var(--b); font: 700 14px/1 var(--hf); }
.tpdc-catrow:nth-of-type(even) .tpdc-catrow__tile { background: linear-gradient(160deg, #0c8fe0, #0b4bb8); }

/* Giới thiệu */
.tpdc-about { margin-top: clamp(28px, 3vw, 44px) !important; padding-block: clamp(20px, 2vw, 28px); background: linear-gradient(90deg, #e7f0fd 0%, #f6f9fe 38%, #fff 70%); }
.tpdc-about__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 3.4vw, 56px); align-items: center; }
.tpdc-about__img { margin: 0; }
.tpdc-about__img img { display: block; width: 100%; aspect-ratio: 1148 / 620; object-fit: cover; border-radius: 14px; box-shadow: var(--sh2); }
.tpdc-about__txt > * { margin-block: 0; }
.tpdc-about__txt > * + * { margin-top: 16px; }
.tpdc-about__txt .tpdc-sec__title { padding-bottom: 0; font-size: clamp(22px, 1.6vw + 12px, 30px); }
.tpdc-about__txt .tpdc-sec__title::after { display: none; }
.tpdc-about__txt p { color: #3a4660; font-size: 16px; line-height: 1.75; }
.tpdc-about__feats { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 14px 22px; margin: 22px 0 0 !important; padding: 0; list-style: none; }
.tpdc-about__feats li { display: flex; align-items: center; gap: 9px; font: 700 15px/1.3 var(--hf); color: var(--n); }
.tpdc-about__feats li::before { content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--b) no-repeat center / 18px; }
.tpdc-about__feats li:nth-child(1)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 2 9 4.5v11L12 22l-9-4.5v-11z' fill='%23fff'/%3E%3C/svg%3E"); }
.tpdc-about__feats li:nth-child(2)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2 4 5v6c0 5 3.4 9.4 8 11 4.6-1.6 8-6 8-11V5z' fill='%23fff'/%3E%3C/svg%3E"); }
.tpdc-about__feats li:nth-child(3)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ctext x='12' y='18' font-size='17' font-family='Arial' font-weight='700' text-anchor='middle' fill='%23fff'%3E%E2%82%AB%3C/text%3E%3C/svg%3E"); }
.tpdc-about__feats li:nth-child(4)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a9 9 0 0 0-9 9v5a3 3 0 0 0 3 3h1v-7H5v-1a7 7 0 0 1 14 0v1h-2v7h2a3 3 0 0 0 3-3v-5a9 9 0 0 0-9-9z' fill='%23fff'/%3E%3C/svg%3E"); }

/* Tin tức */
.tpdc-grid--posts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tpdc-grid--posts[data-n="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
.tpdc-post { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.tpdc-post:hover { transform: translateY(-3px); box-shadow: var(--sh2); }
.tpdc-post__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--soft); }
.tpdc-post__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s; }
.tpdc-post:hover .tpdc-post__media img { transform: scale(1.05); }
.tpdc-post__body { padding: 14px 16px 16px; }
.tpdc-post__title { margin: 0 0 8px; font: 700 17px/1.4 var(--hf); }
.tpdc-post__title a { color: var(--n); }
.tpdc-post__title a:hover { color: var(--b); }
.tpdc-post__date { font-size: 14px; color: var(--mut); }

/* Dải kêu gọi */
.tpdc-cta { margin-top: clamp(32px, 3.4vw, 56px); background: linear-gradient(100deg, #0a4fc2, #1468de 60%, #0b5bd3); color: #fff; }
.tpdc-cta__in { display: flex; align-items: center; justify-content: space-between; gap: 20px 40px; flex-wrap: wrap; padding-block: 26px; }
.tpdc-cta h2 { margin: 0 0 4px; color: #fff; font: 700 clamp(20px, 1.4vw + 10px, 26px)/1.3 var(--hf); }
.tpdc-cta p { margin: 0; color: rgba(255, 255, 255, .92); max-width: 760px; }
.tpdc-cta-line { margin: 12px 0; }

/* ---------- Chân trang ---------- */
.tpdc-foot { margin-top: clamp(32px, 3.4vw, 56px); background: #0a2f80 radial-gradient(circle at 85% 10%, rgba(40, 110, 230, .35), transparent 45%); color: rgba(255, 255, 255, .86); font-size: 15px; }
.tpdc-foot__grid { display: grid; grid-template-columns: 1.25fr 1.35fr .9fr 1.1fr; gap: 28px clamp(24px, 3vw, 56px); padding-block: 40px 30px; }
.tpdc-foot a { color: rgba(255, 255, 255, .86); }
.tpdc-foot a:hover { color: #fff; }
.tpdc-foot__logo { display: inline-block; margin-bottom: 14px; }
.tpdc-foot__logo img { width: 230px; filter: brightness(0) invert(1); display: block; }
.tpdc-foot__logo.is-white img { filter: none; }
.tpdc-foot__legal { margin: 0 0 4px; font-weight: 700; color: #fff; }
.tpdc-foot__line { display: flex; align-items: flex-start; gap: 10px; margin: 12px 0 0; line-height: 1.5; }
.tpdc-foot__line .tpdc-ico { color: #fff; margin-top: 2px; }
.tpdc-foot__line strong { display: block; color: #fff; font: 700 16px/1.3 var(--hf); }
.tpdc-foot__line small { display: block; font-size: 13px; opacity: .85; }
.tpdc-foot__title { margin: 0 0 14px; color: #fff; font: 700 15px/1.3 var(--hf); text-transform: uppercase; letter-spacing: .02em; }
.tpdc-foot__list { margin: 0; padding: 0; list-style: none; }
.tpdc-foot__list--2 { columns: 2; column-gap: 24px; }
.tpdc-foot__list li { break-inside: avoid; }
.tpdc-foot__list a { display: inline-flex; align-items: baseline; gap: 8px; padding: 4px 0; }
.tpdc-foot__list a::before { content: "›"; font-weight: 700; opacity: .8; }
.tpdc-foot__social { display: flex; gap: 14px; margin: 12px 0 0; }
.tpdc-foot__bar { border-top: 1px solid rgba(255, 255, 255, .14); background: rgba(0, 10, 50, .18); }
.tpdc-foot__bar .tpdc-wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 52px; }
.tpdc-foot__bar p { margin: 0; font-size: 14px; color: rgba(255, 255, 255, .78); }
/* Nút gọi nổi của plugin Tapdock (chủ site tự cài): chừa chỗ để không đè nút lên đầu trang; ẩn khi mở menu điện thoại */
body:has(.cvmcc-root) .tpdc-foot__bar .tpdc-wrap { padding-right: calc(var(--pad) + 84px); }
.tpdc-menu-open .cvmcc-root { display: none !important; }
.tpdc-foot__credit { white-space: nowrap; }
.tpdc-foot .tpdc-foot__cvm { display: inline-flex; align-items: center; gap: 5px; vertical-align: -4px; margin-left: 2px; font-weight: 700; color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .45); text-underline-offset: 3px; }
.tpdc-foot__cvm img { display: block; width: 18px; height: 18px; border-radius: 4px; }
.tpdc-foot .tpdc-foot__cvm:hover { text-decoration-color: #fff; }
.tpdc-foot__top { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--b); color: #fff !important; }
.tpdc-foot__top:hover { background: #1e74ee; }

/* Bản đồ bấm mới tải */
.tpdc-map { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 16 / 7; background: #eaf0f8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='90'%3E%3Cpath d='M0 30h200M0 62h200M48 0v90M130 0v90M0 0l200 90' stroke='%23d3deee' stroke-width='6' fill='none'/%3E%3C/svg%3E") center / cover; }
.tpdc-mapbox { margin-top: 14px; }
.tpdc-map--big { margin: 0; }
.tpdc-map--big .tpdc-map { aspect-ratio: 4 / 3; border-radius: 14px; margin: 0; }
.tpdc-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tpdc-map__btn { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; width: 100%; border: 0; background: transparent; color: var(--n); font-weight: 700; font-size: 14px; cursor: pointer; }
.tpdc-map__btn .tpdc-ico { color: #e8081d; }
.tpdc-map__open { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 14px; font-weight: 600; color: var(--b); }
.tpdc-foot .tpdc-map__open { color: #fff !important; }
.tpdc-map.is-loaded .tpdc-map__btn { display: none; }

/* ---------- Trang thường, bài viết ---------- */
.tpdc-bc { padding-block: 14px; font-size: 14px; color: var(--mut); }
.tpdc-bc a { color: var(--mut); }
.tpdc-bc a:hover { color: var(--b); }
.tpdc-bc__sep { margin-inline: 8px; color: #9aa6bb; }
.tpdc-bc .separator { margin-inline: 6px; }
.tpdc-page__head { padding-top: 6px; }
.tpdc-page__title, .tpdc-article__title, .tpdc-blog__title { margin: 0 0 18px; color: var(--n); }
.tpdc-prose { font-size: 16.5px; line-height: 1.75; }
.tpdc-prose > * { margin-block: 0 1em; }
.tpdc-prose h2 { margin-top: 1.6em; font-size: clamp(21px, 1vw + 14px, 26px); }
.tpdc-prose h3 { margin-top: 1.3em; }
.tpdc-prose ul, .tpdc-prose ol { padding-left: 1.3em; }
.tpdc-prose li + li { margin-top: .35em; }
.tpdc-prose img { border-radius: 10px; }
.tpdc-prose a:not(.tpdc-btn):not([href^="tel:"]):not(.tpdc-cbtn) { text-decoration: underline; text-underline-offset: 2px; }
.tpdc-contact__list a, .tpdc-phones a, a[href^="tel:"], .tpdc-cbtn, .tpdc-btn, .tpdc-zpill { text-decoration: none !important; }
.tpdc-article__date { color: var(--mut); font-size: 14px; margin-bottom: 16px; }
.tpdc-article__img img { border-radius: 14px; }
.tpdc-blog { padding-bottom: 20px; }
.tpdc-blog__grid { gap: 20px !important; }
.tpdc-blog__grid > li { background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh); overflow: hidden; padding-bottom: 14px; }
.tpdc-blog__img { margin: 0 0 12px !important; }
.tpdc-blog__name { margin: 0 16px 6px !important; font: 700 17px/1.4 var(--hf) !important; }
.tpdc-blog__name a { color: var(--n); }
.tpdc-blog__date { margin: 0 16px; color: var(--mut); font-size: 14px; }
.tpdc-pages ul, .wp-block-query-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 28px 0 0; padding: 0; list-style: none; }
.tpdc-pages a, .tpdc-pages span, .wp-block-query-pagination a, .wp-block-query-pagination span { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-weight: 600; }
.tpdc-pages .current, .wp-block-query-pagination .current { background: var(--b); border-color: var(--b); color: #fff; }
.tpdc-404__box { padding-block: 30px 0; text-align: center; }

/* Liên hệ */
.tpdc-contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 32px; align-items: start; margin-block: 10px 30px; }
.tpdc-contact:not(:has(.tpdc-map--big)) { grid-template-columns: minmax(0, 1fr); }
.tpdc-contact:not(:has(.tpdc-map--big)) .tpdc-contact__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; align-items: start; }
@media (max-width: 600px) { .tpdc-contact:not(:has(.tpdc-map--big)) .tpdc-contact__list { grid-template-columns: minmax(0, 1fr); } }
.tpdc-contact__name { margin: 0 0 14px; font: 700 20px/1.35 var(--hf); color: var(--n); }
.tpdc-contact__list, .tpdc-prose .tpdc-contact__list { margin: 0 0 20px; padding: 0; list-style: none; }
.tpdc-contact__list li { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.tpdc-contact__list .tpdc-ico { color: var(--b); margin-top: 2px; }
.tpdc-contact__list span { display: block; font-size: 14px; color: var(--mut); }
.tpdc-contact__list strong { font-size: 17px; color: var(--ink); }

/* ---------- Trang danh mục / tìm kiếm ---------- */
.tpdc-shop { padding-bottom: 10px; }
.tpdc-shop__head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.tpdc-shop__title { margin: 0; color: var(--n); font-size: var(--wp--preset--font-size--title, 32px); }
.tpdc-shop__count { margin: 0; color: var(--mut); }
.tpdc-shop__layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 28px; align-items: start; }
.tpdc-shopnav { position: sticky; top: 170px; transition: top .3s ease; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--sh); }
.tpdc-shopnav__title { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font: 700 16px/1.2 var(--hf); color: var(--n); text-transform: uppercase; }
.tpdc-shopnav__title .tpdc-ico { color: var(--b); }
.tpdc-shopnav ul { margin: 0; padding: 0; list-style: none; }
.tpdc-shopnav a { display: block; padding: 8px 10px; border-radius: 8px; color: var(--ink); font-size: 15px; }
.tpdc-shopnav a span { color: var(--mut); font-size: 13px; }
.tpdc-shopnav a:hover { background: var(--soft); color: var(--b); }
.tpdc-shopnav a.is-current { background: var(--b); color: #fff; font-weight: 700; }
.tpdc-shopnav a.is-current span { color: rgba(255, 255, 255, .85); }
.tpdc-shop__bar { display: flex; justify-content: flex-end; margin-bottom: 14px; }
.tpdc-sort { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 14px; }
.tpdc-sort span { color: var(--mut); margin-right: 4px; }
.tpdc-sort a { padding: 6px 12px; border-radius: 7px; border: 1px solid var(--line); color: var(--ink); background: #fff; }
.tpdc-sort a.is-current, .tpdc-sort a:hover { border-color: var(--b); color: var(--b); }
.tpdc-grid--shop { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tpdc-grid--shop:has(> :nth-child(4n+1):last-child:not(:first-child)) { grid-template-columns: repeat(5, minmax(0, 1fr)); } /* dư 1 thẻ: 5 cột (thẻ nhỏ hơn, không lẻ hàng) */
.tpdc-related .tpdc-grid--prods:has(> :nth-child(5):last-child) { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.tpdc-related .tpdc-grid--prods:has(> :nth-child(4):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tpdc-shop__calls { display: none; margin: -6px 0 16px; }
.tpdc-page .tpdc-bc .tpdc-wrap { max-width: calc(960px + 2 * var(--pad)); }
.tpdc-empty { padding: 28px; border: 1px dashed #b8c8e4; border-radius: 12px; background: var(--soft); text-align: center; }
.tpdc-empty .tpdc-calls { justify-content: center; }
.tpdc-shop__desc { margin-top: 32px; padding: 24px; background: var(--soft); border-radius: 12px; }

/* Chi tiết sản phẩm */
.tpdc-pd { padding-bottom: 10px; }
.tpdc-pd__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 3.4vw, 56px); align-items: start; }
.tpdc-pd__gallery { position: sticky; top: 170px; max-width: 680px; transition: top .3s ease; }
.tpdc-head-off .tpdc-pd__gallery, .tpdc-head-off .tpdc-shopnav { top: 24px; } /* header đã ẩn khi cuộn xuống */
.tpdc-pd__main { aspect-ratio: 1; border-radius: 16px; overflow: hidden; background: var(--soft); border: 1px solid var(--line); display: grid; place-items: center; color: #a9bbd9; }
.tpdc-pd__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tpdc-pd__thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.tpdc-pd__thumb { width: 76px; height: 76px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: var(--soft); cursor: pointer; }
.tpdc-pd__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tpdc-pd__thumb.is-active { border-color: var(--b); }
.tpdc-pd__title { margin: 0 0 14px; color: var(--n); font-size: clamp(24px, 1.6vw + 14px, 34px); }
.tpdc-pd__price { margin: 0 0 16px; font: 700 28px/1.2 var(--hf); color: var(--red); }
.tpdc-pd__price > span:first-child { font-size: 17px; color: var(--mut); font-weight: 700; }
.tpdc-pd__short { color: #3a4660; }
.tpdc-pd__short p { margin: 0 0 10px; }
.tpdc-pd__short ul { margin: 0 0 6px; padding: 0; list-style: none; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.tpdc-pd__short li { display: flex; gap: 12px; padding: 9px 14px; font-size: 15px; }
.tpdc-pd__short li:nth-child(odd) { background: var(--soft); }
.tpdc-pd__short li strong { flex: 0 0 105px; color: var(--n); font-weight: 700; }
.tpdc-pd__promise { margin: 16px 0 20px; padding: 16px 18px; list-style: none; background: var(--soft); border-radius: 12px; }
.tpdc-pd__promise li { display: flex; gap: 10px; align-items: flex-start; padding: 4px 0; }
.tpdc-pd__promise .tpdc-ico { color: #0f9d58; margin-top: 3px; }
.tpdc-pd__ask { margin: 10px 0 18px; color: var(--mut); font-size: 14px; }
.tpdc-pd__meta { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: 15px; color: var(--mut); }
.tpdc-pd__desc { margin-top: clamp(28px, 3vw, 44px); max-width: 960px; }
.tpdc-pd__desc > .tpdc-sec__title { margin-bottom: 18px; }
.tpdc-pd__lead { font-size: 18px; }
.tpdc-toc { margin: 0 0 20px; padding: 16px 20px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.tpdc-toc p { margin: 0 0 6px; font-weight: 700; color: var(--n); }
.tpdc-pd__sec h2 { scroll-margin-top: 170px; }
.tpdc-pd__sec.is-price { padding: 18px 20px; border-radius: 12px; background: #eef4ff; }
.tpdc-related { padding-top: clamp(28px, 3vw, 44px); }

/* Khối Cover tối giản (CSS lõi bị gỡ ngoài trang) */
.wp-block-cover { position: relative; display: flex; align-items: center; justify-content: center; min-height: 360px; padding: 32px; overflow: hidden; }
.wp-block-cover__image-background, .wp-block-cover__video-background { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; margin: 0; }
.wp-block-cover__background { position: absolute; inset: 0; z-index: 1; opacity: .5; }
.wp-block-cover__inner-container { position: relative; z-index: 2; width: 100%; }

/* ---------- Bố cục co giãn ---------- */
@media (max-width: 1439px) {
	.tpdc-head__addr { display: none; }
	.tpdc-nav__link { font-size: 14px; padding: 0 10px; }
}
@media (max-width: 1279px) {
	.tpdc-cats__grid { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 10px; }
	.tpdc-cat__name { font-size: 13px; }
	.tpdc-foot__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1100px) {
	.tpdc-hero__arrow { width: 34px; height: 34px; font-size: 20px; }
	.tpdc-head__row { min-height: 64px; gap: 10px; flex-wrap: wrap; padding-block: 8px; }
	.tpdc-head__burger, .tpdc-head__callmini { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 10px; background: var(--soft); color: var(--n); cursor: pointer; flex: none; }
	.tpdc-head__callmini { background: #e8081d; color: #fff; margin-left: auto; }
	.tpdc-logo__img { width: 150px; }
	.tpdc-head__phone, .tpdc-head__addr { display: none; }
	.tpdc-search { order: 5; flex: 1 1 100%; max-width: none; height: 44px; }
	.tpdc-nav { position: fixed; inset: 0 auto 0 0; z-index: 100; width: min(86vw, 360px); background: #fff; transform: translateX(-102%); transition: transform .25s ease; overflow-y: auto; box-shadow: var(--sh2); visibility: hidden; }
	.tpdc-nav.is-open { transform: none; visibility: visible; }
	.tpdc-nav__inner { padding: 0 0 24px; }
	.tpdc-nav__drawerhead { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--line); }
	.tpdc-nav__close { width: 44px; height: 44px; border: 0; border-radius: 10px; background: var(--soft); color: var(--n); display: grid; place-items: center; cursor: pointer; }
	.tpdc-logo--drawer .tpdc-logo__img { width: 140px; }
	.tpdc-nav__list { flex-direction: column; padding: 8px 0; }
	.tpdc-nav__item { flex-wrap: wrap; border: 0 !important; }
	.tpdc-nav__item + .tpdc-nav__item { border-top: 1px solid var(--line) !important; }
	.tpdc-nav__link { justify-content: flex-start; min-height: 52px; padding: 0 20px; color: var(--n); background: transparent !important; box-shadow: none !important; }
	.tpdc-nav__item.has-sub > .tpdc-nav__link { justify-content: space-between; }
	.tpdc-nav__item.is-current > .tpdc-nav__link { color: var(--b); }
	.tpdc-nav__drop { position: static; flex: 1 1 100%; min-width: 0; padding: 0 12px 10px; box-shadow: none; border-radius: 0; animation: none; }
	.tpdc-nav__sub { grid-template-columns: minmax(0, 1fr); gap: 2px; }
	.tpdc-nav__sublink { padding: 8px 10px; }
	.tpdc-nav__calls { display: block; padding: 16px 16px 0; }
	.tpdc-nav__calls .tpdc-ccard__grid { grid-template-columns: minmax(0, 1fr); }
	.tpdc-nav__calls .tpdc-cbtn { min-height: 48px; }
	.tpdc-nav__item.is-open > .tpdc-nav__link, .tpdc-nav__link:hover { color: var(--b) !important; }
	.tpdc-hero__h1 { position: static !important; width: auto; height: auto; overflow: visible; clip: auto; clip-path: none; white-space: normal; padding: 14px var(--pad) 0; font-size: 17px; text-align: center; color: var(--n); background: #fff; }
	.tpdc-hero__calls { display: flex; justify-content: center; padding: 12px var(--pad) 16px; background: #fff; }
	.tpdc-hero__calls .tpdc-btn { flex: 1 1 0; max-width: 260px; }
	.tpdc-cats__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.tpdc-grid--prods, .tpdc-catrow__body > .tpdc-grid--row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.tpdc-grid--shop { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.tpdc-grid--shop:has(> :nth-child(3n+1):last-child:not(:first-child)) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.tpdc-grid--prods:not(.tpdc-grid--shop) > :nth-child(3n+1):last-child:not(:first-child) { display: none; }
	.tpdc-catrow__body { grid-template-columns: 1fr; }
	.tpdc-catrow__body > .tpdc-grid--row { grid-column: auto; grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.tpdc-catrow__body > .tpdc-grid--row > :nth-child(n+5) { display: none; }
	.tpdc-catrow__tile { flex-direction: row; min-height: 0; }
	.tpdc-catrow__txt { flex-direction: row; align-items: center; justify-content: space-between; width: 100%; padding: 14px 16px; }
	.tpdc-catrow__count { font-size: 20px; }
	.tpdc-catrow__desc { display: none; }
	.tpdc-grid--posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tpdc-about__in, .tpdc-contact, .tpdc-pd__top { grid-template-columns: minmax(0, 1fr); }
	.tpdc-pd__gallery { position: static; max-width: 560px; }
	.tpdc-shop__layout { grid-template-columns: minmax(0, 1fr); gap: 14px; }
	.tpdc-shopnav { position: static; padding: 0; border: 0; box-shadow: none; background: transparent; }
	.tpdc-shopnav__title { display: none; }
	.tpdc-shopnav ul { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
	.tpdc-shopnav a { white-space: nowrap; border: 1px solid var(--line); background: #fff; }
	.tpdc-sec__bar { gap: 10px; }
	.tpdc-sec__bar .tpdc-tabs { flex: 1 1 auto; min-width: 0; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding: 2px 2px 8px; -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
	.tpdc-sec__bar .tpdc-tab { min-height: 36px; padding: 6px 14px; font-size: 14px; }
	.tpdc-sec__bar .tpdc-tab { flex: none; }
	.admin-bar .tpdc-head { top: 0; }
}
@media (max-width: 782px) {
	.admin-bar .tpdc-head { top: 0; }
}
@media (min-width: 900px) and (max-width: 1100px) {
	.tpdc-cats__grid { grid-template-columns: repeat(8, minmax(0, 1fr)); }
}
@media (min-width: 1101px) and (max-width: 1500px) {
	.tpdc-about__feats li { font-size: 14px; }
}
@media (max-width: 600px) {
	.tpdc-hero__arrow { display: none; } /* điện thoại: vuốt để chuyển ảnh */
	.tpdc-dots { bottom: 2px; }
	.tpdc-dots button { width: 24px; height: 24px; }
	.tpdc-dots button::before { width: 7px; height: 7px; }
	.tpdc-dots button[aria-current="true"]::before { width: 9px; height: 9px; }
	.tpdc-shop__calls { display: flex; }
	.tpdc-head { position: relative; }
	.tpdc-logo__img { width: 136px; }
	.tpdc-sec__head { align-items: center; margin-bottom: 14px; }
	.tpdc-sec__title { font-size: 19px; }
	.tpdc-sec__more { font-size: 14px; }
	.tpdc-sec__bar .tpdc-sec__more span, .tpdc-sec__bar .tpdc-sec__more { font-size: 0; gap: 0; }
	.tpdc-sec__bar .tpdc-sec__more .tpdc-ico { width: 22px; height: 22px; }
	.tpdc-btn__num { display: none; }
	.tpdc-btn--call > span::after { content: " ngay"; }
	.tpdc-about__feats { display: grid !important; grid-template-columns: 1fr 1fr; }
	.tpdc-cats__grid { gap: 8px; }
	.tpdc-cat { padding: 6px 4px 8px; }
	.tpdc-cat__name { font-size: 12px; margin-top: 6px; }
	.tpdc-cat__count { font-size: 11px; }
	.tpdc-grid--prods, .tpdc-grid--shop, .tpdc-catrow__body > .tpdc-grid--row { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px; }
	.tpdc-grid--prods:not(.tpdc-grid--shop) > :nth-child(3n+1):last-child:not(:first-child) { display: block; }
	.tpdc-grid--prods:not(.tpdc-grid--shop) > :nth-child(2n+1):last-child:not(:first-child) { display: none; }
	.tpdc-grid--shop > :nth-child(2n+1):last-child:not(:first-child) { grid-column: span 2; }
	.tpdc-card__body { padding: 10px; gap: 6px; }
	.tpdc-card__name { font-size: 14px; }
	.tpdc-card__price { font-size: 16px; }
	.tpdc-grid--posts, .tpdc-grid--posts[data-n="3"] { grid-template-columns: 1fr !important; }
	.tpdc-post { flex-direction: row; }
	.tpdc-post__media { flex: 0 0 38%; aspect-ratio: 4 / 3; }
	.tpdc-post__body { padding: 10px 12px; }
	.tpdc-post__title { font-size: 15px; }
	.tpdc-about__feats { gap: 12px 18px; }
	.tpdc-foot__grid { grid-template-columns: 1fr; padding-block: 32px 24px; }
	.tpdc-cta__in { flex-direction: column; align-items: stretch; text-align: center; }
	.tpdc-cta .tpdc-calls { justify-content: center; }
	.tpdc-calls .tpdc-btn { flex: 1 1 0; padding-inline: 12px; }
	.tpdc-ccard--pd { padding: 12px; }
	.tpdc-ccard__grid { gap: 8px; }
	.tpdc-cbtn { gap: 6px; padding: 8px; min-height: 52px; border-radius: 10px; }
	.tpdc-cbtn .tpdc-ico { width: 24px; height: 24px; padding: 0; background: none; }
	.tpdc-cbtn small { font-size: 12px; }
	.tpdc-cbtn strong { font-size: 14px; letter-spacing: 0; }
	.tpdc-ccard--light { flex: 1 1 100%; }
	.tpdc-pd__price { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
.tpdc-lead, .tpdc-prose > .tpdc-lead { font-size: 18px; color: #2c3852; }
@media (max-width: 360px) {
	.tpdc-cbtn .tpdc-ico { display: none; }
	.tpdc-cbtn { justify-content: center; text-align: center; }
}
