/* Myss - Thiết bị (trang con tb-, trang tổng tbt-). Nạp sau trang-chu.css (biến màu, khung, nút, khối đặt lịch). */

/* 1. Banner tiêu đề: chữ H1 ở giữa trái như trang thật (cách mép trên 180px điện thoại, 220px máy tính, hero cao theo chữ + thanh đường dẫn). */
.tb-dau{--lui:42px;position:relative;display:flex;flex-direction:column;min-height:341px;border-radius:0 0 var(--bo) var(--bo);overflow:hidden;background:#0d4f5c;color:#fff}
.tb-dau__nen{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.tb-dau::before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(115deg,rgba(2,30,36,.94) 0%,rgba(5,62,72,.7) 30%,rgba(8,92,104,.28) 60%,rgba(8,92,104,0) 85%)}
.tb-dau__chu{position:relative;z-index:2;padding:180px var(--lui) 60px}
.tb-dau h1{max-width:100%;margin:0;font:500 40px/50px var(--serif);letter-spacing:-.05em;color:#fff}
.tb-dd{position:relative;z-index:2;align-self:flex-start;margin:auto 0 0 var(--lui);background:var(--nen);border-radius:0 16px 0 0;padding:15px 20px 12px 15px}
.tb-dd ol{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:0;padding:0;list-style:none;font:700 12px/1.4 var(--sans);text-transform:uppercase;letter-spacing:.04em;color:var(--navy)}
.tb-dd li+li::before{content:"/";margin-right:6px;color:var(--xam)}
.tb-dd a{display:inline-flex;align-items:center;gap:8px}
.tb-dd a:hover{color:var(--xanh-dam)}
.tb-dd__nha{display:grid;place-items:center;width:24px;height:24px;border-radius:6px;background:var(--xanh);color:#fff}
@media (min-width:768px){.tb-dau{--lui:36px;min-height:441px}.tb-dau__chu{padding-top:220px;padding-bottom:100px}.tb-dau h1{max-width:696px;font-size:35px;line-height:70px}.tb-dd{border-radius:16px 16px 0 0}}
@media (min-width:1025px){.tb-dau{--lui:max(35px,calc((100% - 1296px) / 2))}.tb-dau h1{max-width:636px;font-size:60px}}

/* 2. Giới thiệu máy: tiêu đề, mô tả, ảnh có điểm nổi bật (khung 1320px, ảnh tối đa 800px không khung như trang thật) */
.tb-gt{padding:100px 0 50px}
.tb-gt__khung{width:min(100% - 20px,1320px);display:flex;flex-direction:column;gap:20px;text-align:center}
.tb-gt__h2{margin:0;font:400 35px/1 var(--serif);letter-spacing:-.05em;color:var(--toi)}
.tb-gt__mo-ta p{margin:0;font:600 18px/28.8px var(--sans);color:#5f5f5f}
@media (min-width:768px){.tb-gt__h2{font-size:64px}.tb-gt__mo-ta p{font-size:24px;line-height:38.4px}}
.tb-may{position:relative;width:min(100%,var(--tb-rong,800px));margin:0 auto}
.tb-may>img{display:block;width:100%;height:auto}
.tb-diem{position:absolute;z-index:3;display:flex;align-items:center;justify-content:center;width:30px;height:30px;margin:-15px 0 0 -15px;padding:0;border:0;border-radius:50%;background:var(--xanh);color:#fff;font:700 18px/1 var(--sans);cursor:pointer;transition:transform .3s,background-color .3s;animation:tb-xung 2s ease infinite}
@media (min-width:769px){.tb-diem{width:40px;height:40px;margin:-20px 0 0 -20px;font-size:24px}}
.tb-diem:hover,.tb-diem:focus-visible,.tb-diem.is-mo{transform:scale(1.12);background:var(--xanh-dam);z-index:5}
.tb-diem:focus-visible{outline:3px solid var(--navy);outline-offset:2px}
@keyframes tb-xung{0%{box-shadow:0 0 0 0 rgba(36,114,126,.45)}70%{box-shadow:0 0 0 18px rgba(255,255,255,0)}100%{box-shadow:0 0 0 0 rgba(255,255,255,0)}}
.tb-diem__chu{position:absolute;top:calc(100% + 8px);width:min(300px,64vw);padding:14px 18px;border-radius:12px;background:#111;color:#fff;font:400 13px/1.6 var(--sans);text-align:left;box-shadow:0 20px 50px rgba(0,0,0,.18);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .25s,visibility .25s}
@media (min-width:769px){.tb-diem__chu{width:320px;font-size:14px}}
.tb-diem--tren .tb-diem__chu{top:auto;bottom:calc(100% + 8px)}
.tb-diem--trai .tb-diem__chu{left:-8px}
.tb-diem--phai .tb-diem__chu{right:-8px}
.tb-diem--giua .tb-diem__chu{left:50%;transform:translateX(-50%)}
.tb-diem:hover .tb-diem__chu,.tb-diem:focus-visible .tb-diem__chu,.tb-diem.is-mo .tb-diem__chu{opacity:1;visibility:visible}

/* 3. Các mục đóng mở: viền #d5d8dc, tiêu đề Playfair 22px (xanh ngọc khi đóng, tối khi mở) */
.tb-muc{padding:10px 0 40px}
.tb-muc .khung{width:min(100% - 20px,1320px)}
.tb-m__tieu{display:flex;align-items:center;gap:10px;min-height:46px;padding:10px;border:1px solid #d5d8dc;list-style:none;cursor:pointer;font:400 18px/22px var(--serif);color:var(--xanh)}
@media (min-width:768px){.tb-m__tieu{font-size:22px}}
.tb-m__tieu::-webkit-details-marker{display:none}
.tb-m__tieu:hover{color:var(--xanh-dam)}
.tb-m__tieu:focus-visible{outline:3px solid var(--xanh);outline-offset:-3px}
.tb-m[open]>.tb-m__tieu{color:#1f2124}
.tb-m__chu{margin:0;font:inherit;letter-spacing:normal;color:inherit}
.tb-m__dau{position:relative;flex:none;width:16px;height:16px}
.tb-m__dau::before,.tb-m__dau::after{content:"";position:absolute;left:1px;top:7px;width:14px;height:2px;background:currentColor;transition:transform .2s}
.tb-m__dau::after{transform:rotate(90deg)}
.tb-m[open]>.tb-m__tieu .tb-m__dau::after{transform:rotate(0)}
.tb-m__nd{padding:10px;border:1px solid #d5d8dc;font-size:16px;line-height:25.6px;color:#282828}
.tb-nd{display:flow-root}
.tb-nd p{margin:0 0 15px}
.tb-nd ul,.tb-nd ol{margin:0 0 16px;padding-left:32px;line-height:22px}
.tb-nd strong{font-weight:700}
.tb-nd h3{margin:0 0 10px;font:400 30px/40px var(--sans);letter-spacing:-.04em;color:var(--navy)}
.tb-nd h3.compare-subtitle{margin:40px 0 15px;font-size:24px;font-weight:600;letter-spacing:normal;color:var(--xanh)}
.tb-nd h2{margin:0 0 10px;font:400 48px/57.6px var(--serif);letter-spacing:-.05em;text-align:center;color:var(--navy)}
.tb-nd .tb-nhan{margin:14px 0 6px;font-weight:700;color:var(--navy)}
.tb-nd a{color:var(--navy);text-decoration:underline}
.tb-hinh{margin:0 0 16px}
.tb-hinh img{width:100%;height:auto}
@media (min-width:900px){.tb-hinh{float:right;clear:right;width:min(32%,410px);margin:0 0 16px 28px}}
@media (max-width:899px){.tb-nd{display:flex;flex-direction:column}.tb-hinh--dau{order:99}}
.tb-nd table{width:100%;margin:0 0 16px;border-collapse:collapse;border-radius:12px;font-size:16px}
.tb-nd th,.tb-nd td{padding:16px;border:1px solid #dcdcdc;text-align:left;vertical-align:top}
.tb-nd th{background:var(--xanh);color:#fff;font-weight:600;text-align:center}
.tb-nd td{background:#f5f8f9}
.tb-nd .compare-label{font-weight:600}
.tb-nd .compare-note{margin:15px 0 0;padding:18px;border-left:4px solid var(--xanh);border-radius:6px;background:#fafbfc;line-height:27.2px}
@media (max-width:640px){.tb-nd table{display:block;overflow-x:auto}.tb-nd h2{font-size:32px;line-height:1.2}}

/* Cảm nhận của khách (chỉ hiện mục khách đã đồng ý cho đăng) */
.tb-cn{display:grid;grid-template-columns:min(589px,100%);gap:20px;justify-content:center;margin:0;padding:20px 0;list-style:none}
.tb-cn__the{display:flex;flex-direction:column;gap:20px;padding:30px;border:1px solid #6c757d;border-radius:15px}
.tb-cn__ai{display:flex;align-items:center;gap:15px}
.tb-cn__ai img{flex:none;width:44px;height:44px;border-radius:99px;object-fit:cover}
.tb-cn__ai p,.tb-cn__nd{margin:0;font:400 16px/1.6 var(--sans)}
.tb-cn__ai .tb-cn__ten{font-weight:600;line-height:1.4;color:var(--toi)}
.tb-cn__ai .tb-cn__tuoi{color:#6c757d}
.tb-cn__nd{color:var(--toi)}

/* Dải ảnh cuộn ngang (dùng cho mục, trang tổng) */
.tb-dai{display:flex;gap:16px;margin:0 0 16px;padding:0 0 12px;list-style:none;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;clear:both}
.tb-dai li{flex:none;width:min(78%,300px);scroll-snap-align:start}
.tb-dai img{width:100%;height:auto;aspect-ratio:1;object-fit:cover;border-radius:12px}
.tb-dai:focus-visible{outline:3px solid var(--xanh);outline-offset:2px}


.tb-dai li p{margin:8px 0 0;font-size:14px;line-height:1.5}
.tb-hinh figcaption{margin-top:8px;font-size:14px;line-height:1.5;text-align:center}

/* Video bấm mới tải */
.tb-video{clear:both;margin:8px 0 0}
.tb-video__nut{position:relative;display:grid;place-items:center;width:100%;aspect-ratio:16/9;padding:0;border:0;border-radius:16px;overflow:hidden;background:var(--toi);cursor:pointer}
.tb-video__nut img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.tb-video__play{position:relative;display:grid;place-items:center;width:72px;height:72px;border-radius:50%;background:rgba(255,255,255,.92);color:#000;font-size:36px;transition:transform .2s}
.tb-video__nut:hover .tb-video__play{transform:scale(1.08)}
.tb-video__nut:focus-visible{outline:3px solid var(--xanh);outline-offset:3px}
.tb-video video{display:block;width:100%;aspect-ratio:16/9;border-radius:16px;background:#000}

/* Ảnh trước, sau: không JS thì xếp cạnh nhau, có JS thì chồng và kéo thanh trượt. */
.tb-ts{clear:both;margin:8px 0 0}
.tb-ts__khung{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.tb-ts figure{position:relative;margin:0}
.tb-ts img{width:100%;height:auto;border-radius:10px}
.tb-ts figcaption{position:absolute;left:10px;top:10px;padding:3px 10px;border-radius:99px;background:rgba(7,17,47,.75);color:#fff;font:700 12px/1.4 var(--sans);text-transform:uppercase}
.tb-ts.is-js .tb-ts__khung{display:block;position:relative;max-width:640px;margin:0 auto;border-radius:10px;overflow:hidden;--v:50%}
.tb-ts.is-js .tb-ts__b{position:absolute;inset:0;clip-path:inset(0 0 0 var(--v))}
.tb-ts.is-js .tb-ts__b figcaption{left:auto;right:10px}
.tb-ts.is-js .tb-ts__b img{height:100%;object-fit:cover;border-radius:0}
.tb-ts__vach{position:absolute;top:0;bottom:0;left:var(--v);width:3px;margin-left:-1.5px;background:#fff;box-shadow:0 0 6px rgba(0,0,0,.4);pointer-events:none}
.tb-ts__vach::after{content:"";position:absolute;top:50%;left:50%;width:34px;height:34px;margin:-17px 0 0 -17px;border-radius:50%;background:var(--xanh);border:3px solid #fff}
.tb-ts__thanh{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:ew-resize}
.tb-ts__thanh:focus-visible+.tb-ts__vach::after{outline:3px solid var(--navy);outline-offset:2px}

/* Trang con: khối đặt lịch chung bám sát mục cuối */
.myss-myss-thiet-bi .dat-lich{margin-top:0}

/* 4. Trang tổng (nền #f1f7f3 như trang thật; tiêu đề khối cyan, không chân) */
.myss-myss-thiet-bi-tong main{background:#f1f7f3}
.tbt{padding:30px 0}
@media (min-width:1025px){.tbt{padding:120px 0}}
.tbt .khung{width:min(100% - 30px,1320px);margin-left:max(15px,calc((100% - 5px - 1320px) / 2));margin-right:auto}
.tbt__h2{margin:0 0 20px;font:500 25px/1 var(--sans);letter-spacing:-.05em;text-align:center;color:var(--xanh)}
@media (min-width:768px){.tbt__h2{font-size:42px}}
@media (min-width:1025px){.tbt__h2{margin-bottom:50px}}
.tbt-gt__luoi{display:grid;gap:20px}
@media (min-width:768px){.tbt-gt__luoi{grid-template-columns:1fr 1fr}}
.tbt-gt__the img{display:block;width:100%;height:auto;aspect-ratio:650/640;object-fit:cover;border-radius:15px;margin-bottom:20px}
.tbt-gt__the p{margin:0;font-size:16px;line-height:25.6px;color:var(--toi)}
.tbt-gt__the .tbt-gt__nhan{margin:0 0 20px;color:#282828}
.tbt-gt__the h3{margin:0 0 30px;font:400 22px/40px var(--sans);letter-spacing:-.04em;color:var(--navy)}
@media (min-width:768px){.tbt-gt__the h3{font-size:30px}}
/* Thanh trượt ảnh phòng: tràn hai mép, ảnh đầu thẳng lề nội dung, 1 ảnh (điện thoại), 2 (máy tính bảng), 3 (máy tính) */
.tbt-truot{--gap:20px;--le-dai:15px}
@media (min-width:768px){.tbt-truot{--n:2}}
@media (min-width:1025px){.tbt-truot{--n:3;--le-dai:max(15px,calc((100% - 5px - 1320px) / 2))}}
.tbt-truot__khung{position:relative}
.tbt-truot .truot__ray{padding-inline:var(--le-dai);scroll-padding-inline:var(--le-dai)}
.tbt-truot .truot__muc img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:cover}
.tbt-truot .truot__truoc,.tbt-truot .truot__sau{width:25px;height:25px;margin-top:-12px;background:transparent;color:rgba(237,237,237,.9);font-size:25px}
.tbt-truot .truot__truoc:hover,.tbt-truot .truot__sau:hover{background:transparent;color:#fff}
.tbt-truot .truot__truoc{left:calc(var(--le-dai) + 10px)}
.tbt-truot .truot__sau{right:calc(var(--le-dai) + 10px)}
.tbt-truot .truot__truoc:focus-visible,.tbt-truot .truot__sau:focus-visible{outline:3px solid #fff;outline-offset:2px;background:rgba(0,0,0,.35)}
.tbt-truot .truot__cham{margin-top:15px}
.tbt-truot .truot__cham button{background-color:#bccfe9}
.tbt-truot .truot__cham button[aria-current="true"]{background-color:var(--xanh);box-shadow:none}
.tbt-lu__luoi{display:grid;grid-template-columns:1fr;gap:30px;margin:0;padding:0;list-style:none}
@media (min-width:768px){.tbt-lu__luoi{grid-template-columns:repeat(3,1fr)}}
.tbt-the{display:flex;flex-direction:column;gap:20px;height:100%;color:var(--toi)}
.tbt-the--link:focus-visible{outline:3px solid var(--xanh);outline-offset:6px;border-radius:15px}
.tbt-the__anh{display:block;width:100%}
.tbt-the__anh img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:cover;border-radius:15px;box-shadow:0 0 10px rgba(0,0,0,.5);transition:transform .25s}
.tbt-the--link:hover .tbt-the__anh img{transform:scale(1.02)}
.tbt-the__ten,.tbt-the__hang{display:block;font:600 24px/38.4px var(--sans);text-align:center}
.tbt-the__ten+.tbt-the__hang{margin-top:-20px}

@media (prefers-reduced-motion:reduce){.tb-diem,.tb-diem__chu,.tb-video__play,.tb-m__dau::before,.tb-m__dau::after,.tbt-the__anh img{transition:none}.tb-diem{animation:none}.tbt-the--link:hover .tbt-the__anh img{transform:none}.tb-dai{scroll-behavior:auto}}

/* Khối "Các chế độ soi da" của Observ (chép kiểu trang thật: tiêu đề 48px, chữ nhấn #c5a47e, thẻ trắng 280px) */
.tb-nd .tb-lm__h{margin:30px 0 0;font:400 48px/1.2 var(--serif);letter-spacing:-.05em;text-align:center;color:var(--navy)}
.tb-lm__hl{color:#c5a47e}
.tb-nd .tb-lm__mo{max-width:600px;margin:15px auto 50px;font-size:18px;line-height:1.6;text-align:center;color:#666}
.tb-dai--the{gap:20px;padding:0 0 20px}
.tb-dai--the li{width:280px;border-radius:12px;background:#fff;box-shadow:0 10px 30px rgba(0,0,0,.05);overflow:hidden}
.tb-dai--the img{aspect-ratio:auto;border-radius:0}
.tb-dai--the li p{margin:0;padding:15px;font-size:14px;line-height:1.6;color:#666}
.tb-dai--the li strong{display:block;margin-bottom:5px;font-size:16px;font-weight:600;color:#262626}
@media (max-width:640px){.tb-nd .tb-lm__h{font-size:32px}}

/* Mục có một ảnh minh họa: hai cột như trang thật (chữ trái, ảnh phải 1/3 hoặc 1/2), điện thoại thì ảnh xuống cuối mục */
.tb-nd ul{list-style:disc}
.tb-nd ol{list-style:decimal}
.tb-nd__luoi{display:grid;gap:20px}
.tb-nd__luoi .tb-hinh{margin:0}
.tb-nd__chu{min-width:0}
@media (min-width:900px){
.tb-hinh{width:min(32.3%,419px)}
.tb-nd__luoi{grid-template-columns:minmax(0,1fr) 32.3%;align-items:start}
.tb-nd__luoi--nua{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center}
.tb-nd__luoi .tb-hinh{float:none;width:auto}
}
.tb-hinh--cat img{aspect-ratio:419/450;object-fit:cover}
.tb-hinh--nua img{height:auto}
.tb-hinh--nua.tb-hinh--cat img{aspect-ratio:609/450}
.tbt-ph .tbt__h2{margin-bottom:50px}
.tbt-truot{padding-bottom:30px}
