/* Kiểu landing "tm" — Thu mua đồ cũ. Chỉ nạp khi nội dung trang có lớp tpdc-tm-. */
.tpdc-tm { padding-block: clamp(32px, 4vw, 64px); }
.tpdc-tm-wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--pad)); margin-inline: auto; padding-inline: var(--pad); }
.tpdc-tm-wrap > * { margin-block: 0; }
.tpdc-tm-grid > *, .tpdc-tm-hero__in > * { margin: 0 !important; }
.tpdc-tm-title { margin: 0 0 10px !important; font-size: var(--wp--preset--font-size--head, 28px); color: var(--n); text-transform: uppercase; }
.tpdc-tm-lead { margin: 0 0 24px !important; color: var(--mut); font-size: 17px; max-width: 820px; }

/* Hero: nền xanh đậm, chữ trái, ảnh phải */
.tpdc-tm-hero { padding-block: clamp(28px, 4vw, 60px); background: radial-gradient(circle at 90% 0%, rgba(60, 140, 255, .35), transparent 50%), linear-gradient(120deg, #0a2f7f 0%, #0b4bb8 60%, #1468de 100%); color: #fff; }
.tpdc-tm-hero__in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.tpdc-tm-hero__text > * { margin-block: 0; }
.tpdc-tm-hero__text > * + * { margin-top: 18px; }
.tpdc-tm-hero__h1 { color: #fff; font-size: clamp(28px, 2.6vw + 14px, 48px); line-height: 1.15; }
.tpdc-tm-hero__h1 strong { color: #ffd84d; }
.tpdc-tm-hero__lead { font-size: 18px; color: rgba(255, 255, 255, .92); max-width: 640px; }
.tpdc-tm-specs { display: grid; gap: 10px; margin-top: 22px !important; padding: 0; list-style: none; }
.tpdc-tm-specs li { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.tpdc-tm-specs li::before { content: ""; flex: none; width: 24px; height: 24px; border-radius: 50%; background: #ffd84d url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 12.5 4.2 4.2L19 7' fill='none' stroke='%230a2f7f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat; }
.tpdc-tm-hero .tpdc-calls { margin-top: 26px !important; }
.tpdc-tm-hero .tpdc-btn--zalo { background: #fff; color: var(--b); }
.tpdc-tm-hero .tpdc-btn--zalo:hover { background: #e7f0ff; }
.tpdc-tm-hero .tpdc-btn--zalo .tpdc-zl__t { fill: #fff; } /* chữ Zalo trắng trên ô xanh (nút nền trắng) */
.tpdc-tm-hero__img { margin: 0; }
.tpdc-tm-hero__img img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; box-shadow: 0 24px 48px rgba(0, 10, 50, .35); }

/* Tóm tắt trả lời nhanh */
.tpdc-tm-quick { padding-block: 22px 0; }
.tpdc-tm-quick__txt { margin: 0 !important; padding: 16px 20px; border-left: 4px solid var(--b); background: var(--soft); border-radius: 0 12px 12px 0; font-size: 17px; max-width: 1100px; }

/* Nhóm hàng: chip */
.tpdc-tm-chips { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0 !important; padding: 0; list-style: none; }
.tpdc-tm-chips li { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--sh); font-weight: 700; color: var(--n); }
.tpdc-tm-chips li::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 3px; background: var(--b); transform: rotate(45deg); }

/* Tình huống: thẻ có icon */
.tpdc-tm-cases { background: var(--soft); }
.tpdc-tm-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.4vw, 22px); }
.tpdc-tm-case { padding: 22px; background: #fff; border-radius: 14px; box-shadow: var(--sh); border-top: 4px solid var(--b); }
.tpdc-tm-case > * { margin-block: 0; }
.tpdc-tm-case h3 { margin: 14px 0 8px; font-size: 18px; color: var(--n); }
.tpdc-tm-case p { color: #3a4660; }
.tpdc-tm-case::before { content: ""; display: block; width: 48px; height: 48px; border-radius: 12px; background: #e3edff no-repeat center / 26px; }
.tpdc-tm-case.has-ico-home::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 3 2 11.5h3V20h5v-5.5h4V20h5v-8.5h3z' fill='%230b5bd3'/%3E%3C/svg%3E"); }
.tpdc-tm-case.has-ico-tag::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 3h8.6l9.4 9.4-8.6 8.6L3 11.6z' fill='%230b5bd3'/%3E%3Ccircle cx='7.5' cy='7.5' r='1.6' fill='%23fff'/%3E%3C/svg%3E"); }
.tpdc-tm-case.has-ico-recycle::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 3a9 9 0 0 1 8.5 6M21 4v5h-5M12 21a9 9 0 0 1-8.5-6M3 20v-5h5' fill='none' stroke='%230b5bd3' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.tpdc-tm-case.has-ico-truck::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2 6.5A1.5 1.5 0 0 1 3.5 5h10A1.5 1.5 0 0 1 15 6.5V9h3.2a1.5 1.5 0 0 1 1.2.6l2.3 3a1.5 1.5 0 0 1 .3.9V16a1 1 0 0 1-1 1h-1.2a2.8 2.8 0 0 1-5.6 0H9.8a2.8 2.8 0 0 1-5.6 0H3a1 1 0 0 1-1-1z' fill='%230b5bd3'/%3E%3C/svg%3E"); }

/* Quy trình: 4 bước ngang, số tròn */
.tpdc-tm-steps { counter-reset: tm; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.4vw, 22px); margin: 18px 0 26px !important; padding: 0; list-style: none; }
.tpdc-tm-steps li { counter-increment: tm; position: relative; padding: 58px 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--sh); color: #3a4660; }
.tpdc-tm-steps li::before { content: counter(tm); position: absolute; left: 18px; top: 16px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--b); color: #fff; font: 700 16px/1 var(--hf); }
.tpdc-tm-steps li strong { display: block; font-family: var(--hf); color: var(--n); font-size: 17px; margin-bottom: 4px; }

/* Mẹo chuẩn bị */
.tpdc-tm-tipbox { padding: clamp(22px, 2.6vw, 36px); border-radius: 18px; background: linear-gradient(120deg, #fff8e1, #fff 70%); border: 1px solid #f1dfa6; }
.tpdc-tm-tipbox > * { margin-block: 0; }
.tpdc-tm-tiplist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 28px; margin-top: 14px !important; padding-left: 1.2em; }

/* Hỏi đáp (khối FAQ Rank Math) */
.tpdc-lp-faq .rank-math-list-item, .tpdc-lp-faq .rank-math-faq-item { margin: 0 0 12px; padding: 16px 20px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.tpdc-lp-faq .rank-math-question { margin: 0 0 6px; font-size: 17px; color: var(--n); }
.tpdc-lp-faq .rank-math-answer { color: #3a4660; }
.tpdc-lp-faq { max-width: 960px; }

@media (max-width: 1100px) {
	.tpdc-tm-hero__in { grid-template-columns: minmax(0, 1fr); }
	.tpdc-tm-hero__img img { aspect-ratio: 16 / 9; max-height: 380px; }
	.tpdc-tm-chips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tpdc-tm-grid, .tpdc-tm-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
	.tpdc-tm-hero__img { order: 0; }
	.tpdc-tm-hero__lead { font-size: 16px; }
	.tpdc-tm-grid, .tpdc-tm-steps, .tpdc-tm-tiplist { grid-template-columns: minmax(0, 1fr); }
	.tpdc-tm-chips li { padding: 10px 12px; font-size: 14px; }
}
