/* Bảng thông số theo model (quạt, bơm…) — CSS mockup "Demo block thông số quạt hút",
   đã bọc trong .tp-spec để không đè CSS trang chi tiết (main.css). */
.tp-spec{--ink:#0c342f;--muted:#617773;--brand:#123f37;--orange:#ef6c2f;--cream:#f6f0e4;--mint:#eef7f3;--line:#d8e3df;--paper:#fff;--shadow:0 18px 50px rgba(18,63,55,.11)}
.tp-spec *{box-sizing:border-box}
.tp-spec{color:var(--ink);font-family:inherit}
.tp-spec button{font:inherit}
.tp-spec .spec-block{overflow:hidden;background:rgba(255,255,255,.96);border:1px solid rgba(17,65,57,.13);border-radius:30px;box-shadow:var(--shadow)}
.tp-spec .intro{display:flex;justify-content:space-between;gap:28px;padding:34px 38px 26px;border-bottom:1px solid var(--line)}
.tp-spec .eyebrow{margin:0 0 9px;color:var(--orange);font-size:13px;font-weight:850;letter-spacing:.12em}
.tp-spec .intro h1{margin:0;font-size:clamp(25px,3vw,40px);line-height:1.14;letter-spacing:-.035em}
.tp-spec .intro p{max-width:670px;margin:12px 0 0;color:var(--muted);font-size:16px;line-height:1.6}
.tp-spec .current{flex:0 0 auto;align-self:flex-start;min-width:160px;padding:12px 16px;background:var(--mint);border:1px solid #d5e8e1;border-radius:16px}
.tp-spec .current span{display:block;color:var(--muted);font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.08em}
.tp-spec .current strong{display:block;margin-top:5px;font-size:19px}
.tp-spec .tabbar{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;padding:10px;background:var(--cream);border-bottom:1px solid var(--line)}
.tp-spec .tab{display:flex;align-items:center;justify-content:center;gap:9px;min-height:62px;padding:11px 12px;border:1px solid transparent;border-radius:15px;background:transparent;color:#516862;font-weight:800;cursor:pointer;transition:.2s}
.tp-spec .tab:hover{background:#fff}
.tp-spec .tab[aria-selected="true"]{background:var(--brand);color:#fff;box-shadow:inset 0 -3px 0 var(--orange)}
.tp-spec .tab svg{width:21px;height:21px;flex:0 0 auto}
.tp-spec .tabpanel[hidden]{display:none}
.tp-spec .selector{padding:22px 38px 25px;background:#fbfcfa;border-bottom:1px solid var(--line)}
.tp-spec .selector-top{display:flex;align-items:baseline;justify-content:space-between;gap:18px;margin-bottom:14px}
.tp-spec .selector-title{margin:0;font-size:18px}
.tp-spec .selector-note{margin:0;color:var(--muted);font-size:14px}
.tp-spec .models{display:grid;grid-template-columns:repeat(5,minmax(130px,1fr));gap:10px}
.tp-spec .model{position:relative;min-height:66px;padding:10px 14px;background:#fff;border:1px solid var(--line);border-radius:15px;color:var(--ink);cursor:pointer;transition:.2s ease}
.tp-spec .model:hover{border-color:#95b9ac;transform:translateY(-1px)}
.tp-spec .model[aria-selected="true"]{background:#fff8f3;border-color:var(--orange);box-shadow:inset 0 -3px 0 var(--orange)}
.tp-spec .model strong{display:block;font-size:17px}
.tp-spec .model small{display:block;margin-top:3px;color:var(--muted)}
.tp-spec .tables{display:grid;grid-template-columns:1fr 1fr;gap:20px;padding:28px 38px 30px}
.tp-spec .panel{overflow:hidden;border:1px solid var(--line);border-radius:20px;background:#fff}
.tp-spec .panel-head{display:flex;gap:14px;align-items:center;padding:19px 21px;background:var(--cream);border-bottom:1px solid var(--line)}
.tp-spec .panel-index{display:grid;place-items:center;flex:0 0 38px;height:38px;border-radius:12px;background:var(--brand);color:#fff;font-size:13px;font-weight:900}
.tp-spec .panel-head h2{margin:0;font-size:18px}
.tp-spec .panel-head p{margin:3px 0 0;color:var(--muted);font-size:13px}
.tp-spec .rows{margin:0}
.tp-spec .row{display:grid;grid-template-columns:minmax(145px,1fr) minmax(110px,.72fr);gap:22px;align-items:center;min-height:62px;padding:13px 20px;border-bottom:1px solid #e8eeeb}
.tp-spec .row:last-child{border-bottom:0}
.tp-spec .row dt{color:#526b66}
.tp-spec .row dd{margin:0;text-align:right;font-size:17px;font-weight:800;color:var(--ink)}
.tp-spec .row dd em{font-style:normal;color:var(--orange)}
.tp-spec .advice{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:0 38px 34px;padding:19px 21px;border-radius:18px;background:var(--brand);color:#fff}
.tp-spec .advice strong{display:block;font-size:17px}
.tp-spec .advice p{margin:5px 0 0;color:#cfe0db;font-size:14px;line-height:1.5}
.tp-spec .advice button{flex:0 0 auto;padding:12px 17px;border:0;border-radius:12px;background:var(--orange);color:#fff;font-weight:800;cursor:pointer}
.tp-spec .footnote{padding:0 38px 30px;color:#758783;font-size:12px;line-height:1.55}
.tp-spec .specs-head{padding:30px 38px 0;margin-bottom:0}
.tp-spec .tab-content{padding:30px 38px 34px}
.tp-spec .content-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:22px}
.tp-spec .content-head h2{margin:0;font-size:24px}
.tp-spec .content-head p{margin:6px 0 0;color:var(--muted)}
.tp-spec .badge{padding:8px 12px;border-radius:999px;background:var(--mint);font-size:13px;font-weight:800}
.tp-spec .media-grid{display:grid;grid-template-columns:1.35fr .65fr .65fr;gap:14px}
.tp-spec .media-card{display:flex;min-height:190px;flex-direction:column;justify-content:space-between;padding:21px;border:1px solid var(--line);border-radius:19px;background:linear-gradient(145deg,#edf5f2,#fff)}
.tp-spec .media-card:first-child{grid-row:span 2;min-height:394px;background:linear-gradient(145deg,#dcece7,#f8fbfa)}
.tp-spec .media-card svg{width:42px;height:42px;color:#78968e}
.tp-spec .media-card h3{margin:0 0 5px;font-size:18px}
.tp-spec .media-card p{margin:0;color:var(--muted);font-size:14px}
.tp-spec .dimension-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.tp-spec .dimension-box,.tp-spec .install-box{border:1px solid var(--line);border-radius:20px;overflow:hidden}
.tp-spec .box-title{padding:18px 20px;background:var(--cream);border-bottom:1px solid var(--line)}
.tp-spec .box-title h3{margin:0;font-size:18px}
.tp-spec .box-title p{margin:4px 0 0;color:var(--muted);font-size:13px}
.tp-spec .steps{counter-reset:steps;list-style:none;margin:0;padding:4px 20px}
.tp-spec .steps li{counter-increment:steps;display:grid;grid-template-columns:34px 1fr;gap:12px;align-items:center;padding:15px 0;border-bottom:1px solid #e8eeeb}
.tp-spec .steps li:last-child{border:0}
.tp-spec .steps li:before{content:counter(steps);display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:var(--mint);font-weight:900}
.tp-spec .docs{display:grid;gap:12px}
.tp-spec .doc{display:grid;grid-template-columns:48px 1fr auto;gap:14px;align-items:center;padding:16px;border:1px solid var(--line);border-radius:16px}
.tp-spec .doc-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:13px;background:#fff2e9;color:var(--orange);font-size:13px;font-weight:900}
.tp-spec .doc h3{margin:0;font-size:16px}
.tp-spec .doc p{margin:4px 0 0;color:var(--muted);font-size:13px}
.tp-spec .doc button{padding:10px 14px;border:1px solid var(--line);border-radius:11px;background:#fff;color:var(--ink);font-weight:800;cursor:pointer}
@media(max-width:900px){
.tp-spec .intro{padding:26px 22px 22px}
.tp-spec .current{display:none}
.tp-spec .tabbar{display:flex;overflow:auto}
.tp-spec .tab{flex:0 0 auto;min-width:185px}
.tp-spec .selector{padding:20px 22px}
.tp-spec .selector-top{align-items:flex-start;flex-direction:column;gap:4px}
.tp-spec .models{display:flex;overflow:auto;padding-bottom:4px;scroll-snap-type:x mandatory}
.tp-spec .model{min-width:145px;scroll-snap-align:start}
.tp-spec .tables{grid-template-columns:1fr;padding:22px;gap:16px}
.tp-spec .advice{margin:0 22px 24px}
.tp-spec .footnote{padding:0 22px 24px}
.tp-spec .specs-head{padding:24px 22px 0}
.tp-spec .tab-content{padding:24px 22px}
.tp-spec .media-grid{grid-template-columns:1fr 1fr}
.tp-spec .media-card:first-child{grid-column:span 2;grid-row:auto;min-height:280px}
.tp-spec .dimension-grid{grid-template-columns:1fr}
}
@media(max-width:560px){
.tp-spec .spec-block{border-radius:0;border-left:0;border-right:0}
.tp-spec .intro{padding-top:24px}
.tp-spec .intro h1{font-size:27px}
.tp-spec .tabbar{padding:8px}
.tp-spec .tab{min-width:166px;min-height:54px}
.tp-spec .selector-note{font-size:13px}
.tp-spec .tables{padding:16px}
.tp-spec .panel-head{padding:16px}
.tp-spec .row{grid-template-columns:1fr auto;gap:14px;min-height:58px;padding:12px 16px}
.tp-spec .row dt{font-size:14px}
.tp-spec .row dd{font-size:15px}
.tp-spec .advice{align-items:stretch;flex-direction:column;margin:0 16px 20px}
.tp-spec .advice button{width:100%}
.tp-spec .footnote{padding:0 16px 24px}
.tp-spec .specs-head{padding:22px 16px 0}
.tp-spec .tab-content{padding:22px 16px}
.tp-spec .content-head{align-items:flex-start;flex-direction:column}
.tp-spec .media-grid{grid-template-columns:1fr}
.tp-spec .media-card:first-child{grid-column:auto;min-height:230px}
.tp-spec .media-card{min-height:155px}
.tp-spec .doc{grid-template-columns:44px 1fr}
.tp-spec .doc button{grid-column:1/-1;width:100%}
}
/* ---- Bổ sung cho bản WordPress ---- */
.tp-spec .intro h2{margin:0;font-size:clamp(25px,3vw,40px);line-height:1.14;letter-spacing:-.035em;color:var(--ink)}
.tp-spec .intro h2 span{color:var(--orange)}
.tp-spec h2,.tp-spec h3{color:var(--ink)}
.tp-spec dl,.tp-spec dd{margin:0}
.tp-spec .doc .download{display:inline-flex;align-items:center;padding:10px 14px;border:1px solid var(--line);border-radius:11px;background:#fff;color:var(--ink);font-weight:800;text-decoration:none;white-space:nowrap}
.tp-spec .doc .download:hover{border-color:var(--orange);color:var(--orange)}
.tp-spec .media-card.has-image{padding:0;overflow:hidden;justify-content:flex-end;background:#e9f1ee}
.tp-spec .media-card.has-image img{width:100%;flex:1 1 auto;min-height:0;height:100%;object-fit:cover;display:block}
.tp-spec .media-card.has-image > div{padding:16px 18px;background:#fff;border-top:1px solid var(--line)}
.tp-spec .media-card .media-video{display:inline-block;margin-top:8px;color:var(--orange);font-weight:800;font-size:14px;text-decoration:none}
.tp-spec .empty-note{margin:0;padding:18px 20px;border:1px dashed var(--line);border-radius:16px;color:var(--muted)}
@media(max-width:560px){.tp-spec .doc .download{grid-column:1/-1;justify-content:center;width:100%}}
