/* Pineapple Spa – giao diện theo pineapplespa.vn
   Màu & font lấy từ Cài đặt website (biến CSS khai báo trong partials/head.ejs) */
*{box-sizing:border-box}
html{scroll-behavior:smooth}
html,body{overflow-x:clip}
body{margin:0;letter-spacing:-.3px;font-family:var(--font-b);color:#242424;background:#fff;line-height:1.6;font-size:15px;-webkit-font-smoothing:antialiased}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
h1,h2,h3,h4{font-family:var(--font-h);color:var(--dark);line-height:1.3;margin:0 0 .5em;font-weight:600}
.container{width:100%;max-width:1000px;margin:0 auto;padding:0 20px}
.center{text-align:center}.muted{color:#888}
.ic{width:1em;height:1em;display:inline-block;vertical-align:-.15em;flex:none}
.script{font-family:var(--font-s);font-weight:400;color:var(--primary);line-height:1.15}
.gold{color:var(--primary)}.red{color:var(--accent)}.blue{color:var(--blue)}

/* ---------- nút ---------- */
.btn,.pill{display:inline-flex;align-items:center;justify-content:center;gap:6px;background:var(--primary);color:#fff;border:0;border-radius:40px;
  font-family:inherit;font-size:13px;font-weight:600;text-transform:uppercase;cursor:pointer;transition:.2s;white-space:nowrap}
.btn{padding:10px 26px}
.pill{padding:6px 22px;min-height:31px}
.btn:hover,.pill:hover{background:var(--primary-d);color:#fff}
.btn-red{background:var(--accent)}.btn-red:hover{background:#c22b20}
.btn-outline{background:transparent;color:var(--primary-d);box-shadow:inset 0 0 0 1.5px var(--primary)}
.btn-outline:hover{background:var(--primary);color:#fff}
.btn-grey{background:#e6e6e6;color:#545454;border-radius:0;font-style:italic;text-transform:none;padding:3px 10px 3px 12px;font-size:12px;min-width:150px;justify-content:space-between}
.btn-grey:hover{background:#dcdcdc;color:#242424}
.btn-block{width:100%}
.more{color:var(--primary-d);font-style:italic;font-size:13px}
.more:hover{text-decoration:underline}

/* ---------- đầu trang (toạ độ theo bản gốc rộng 960px) ---------- */
.site-header{position:relative;background:#fff}
.hdr{position:relative;height:312px}
.hdr-logo{position:absolute;left:20px;top:0;width:246px;z-index:3;display:block}
.hdr-arch{position:absolute;left:20px;top:0;width:246px;z-index:1;pointer-events:none}
.hdr-logo .logo{position:absolute;left:23px;top:0;width:167px}
.hdr-logo .logo.solo{position:static;width:200px;margin:10px 0 0 10px}
.hdr-flag{position:absolute;left:128px;top:-3px;width:calc(var(--flag-n,384) * 1px);z-index:2;pointer-events:none}
.hdr-deco{position:absolute;left:379px;top:55px;width:200px;z-index:2;pointer-events:none}
.hdr-top{position:absolute;right:36px;top:13px;z-index:4;display:flex;align-items:center;gap:18px}
.hdr-top .btn-red{padding:5px 0;width:124px;border-radius:0 30px 30px 30px;font-size:14px}
.socials{display:flex;gap:16px;align-items:center}
.socials a{width:28px;height:28px;display:flex;align-items:center;justify-content:center;color:#242424;font-size:24px}
.socials a:hover{color:var(--primary)}
.hdr-hotline{position:absolute;right:36px;top:52px;z-index:4;font-size:12px;color:#242424}
.hdr-hotline a{color:var(--primary);font-weight:600}
.hdr-panel{position:absolute;left:20px;right:20px;top:108px;height:197px;background:var(--light);border-radius:190px 0 0 0}
.hdr-search{position:absolute;left:551px;top:19px;display:flex;align-items:center;background:#fde9b9;border-radius:20px;width:222px;height:32px;padding:0 8px 0 12px;z-index:4}
.hdr-search input{border:0;background:transparent;font:italic 14px var(--font-b);color:#545454;width:100%;outline:none}
.hdr-search input::placeholder{color:#545454}
.hdr-search button{border:0;background:none;color:var(--primary-d);cursor:pointer;font-size:16px;padding:0;display:flex}
.hdr-quick-pills{position:absolute;left:546px;top:58px;display:flex;gap:15px;z-index:4}
.hdr-quick-pills .pill,.hdr-body-pill{padding:5px 18px;font-weight:400;font-size:13px}
.hdr-body-pill{position:absolute;left:257px;top:102px;z-index:4}
.hdr-call{position:absolute;right:3px;top:45px;text-align:right;z-index:4}
.hdr-call .phone{color:var(--accent);font-size:18px;font-weight:700;display:flex;align-items:center;gap:8px;justify-content:flex-end}
.hdr-call .phone img{width:46px;height:auto}
.hdr-rating{position:absolute;left:484px;top:104px;display:flex;align-items:center;gap:10px;color:#008037;font-style:italic;font-size:14px;z-index:4;white-space:nowrap}
.hdr-rating img{height:40px;width:auto}
.hdr-panel>.more{position:absolute;right:0;top:138px;font-size:11px;z-index:4}
.hdr-menu{position:absolute;left:50px;right:0;top:166px;display:flex;justify-content:space-between;gap:8px;z-index:5}
.hdr-menu>a,.hdr-menu .dd>a{padding:5px 0;min-width:84px;font-weight:700;font-size:13px}
.hdr-menu>a{flex:1 1 auto;max-width:155px}
.hdr-menu .dd>a{width:110px}
.hdr-menu>a.on,.hdr-menu .dd>a.on{background:var(--primary-d)}
.dd{position:relative}
.dd-menu{position:absolute;top:100%;left:0;z-index:60;min-width:250px;background:#fff;border-radius:12px;box-shadow:0 12px 32px rgba(0,0,0,.12);padding:8px 0;margin-top:6px;
  opacity:0;visibility:hidden;transform:translateY(6px);transition:.2s}
.dd:hover .dd-menu,.dd:focus-within .dd-menu{opacity:1;visibility:visible;transform:none}
.dd-menu a{display:block;padding:8px 18px;font-size:14px;color:#454545}
.dd-menu a:hover{background:var(--light);color:var(--primary-d)}
.nav-toggle{display:none}

/* ---------- tiêu đề khối ---------- */
.section{padding:44px 0}
.sec-title{font-size:18px;font-weight:600;text-transform:uppercase;color:var(--dark);margin:0 0 18px;display:inline-block}
.sec-title.line{border-bottom:2px solid var(--primary);padding-bottom:4px}
.sec-title.center{display:block;text-align:center}
.sec-title.center span{display:inline-block;border-bottom:2px solid var(--primary);padding:0 8px 4px}
.sec-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:6px}
.sec-head .sec-title{margin:0}
.u-title{font-size:17px;font-weight:700;font-style:italic;color:#545454;margin:0 0 18px}
.u-title span{border-bottom:3px solid var(--primary);padding-bottom:2px}

/* ---------- ưu đãi + slider ---------- */
.promo{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;flex-wrap:wrap;margin-top:6px}
.promo-name{font-size:calc(19px * var(--pt-k,1));line-height:1.1}
.promo-name.pt-body{font-family:var(--font-b);font-weight:600}
.promo-name.pn-script b{font-family:var(--font-s);font-weight:400}
.promo-name b{display:block;color:var(--accent);font-family:var(--font-b);font-weight:400;font-size:calc(18px * var(--pn-k,1));padding-left:82px}
.countdown{display:flex;align-items:baseline;gap:6px;font-size:11px;color:#242424}
.countdown .script{font-size:calc(14px * var(--cd-k,1));margin-right:10px}
.countdown .script.cd-body{font-family:var(--font-b);font-weight:600}
.countdown b{font-family:var(--font-b);font-weight:400;color:var(--primary);font-size:19px;margin-left:8px}
.hero{position:relative;margin-top:12px;border-radius:4px;overflow:hidden;aspect-ratio:958/374;background:var(--light)}
.slide{position:absolute;inset:0;opacity:0;transition:opacity .9s;display:block}
.slide.active{opacity:1;z-index:1}
.slide img{width:100%;height:100%;object-fit:cover}
.slide-text{position:absolute;left:0;right:0;bottom:0;padding:24px 28px;color:#fff;background:linear-gradient(transparent,rgba(0,0,0,.5))}
.slide-text h2{color:#fff;margin:0 0 4px;font-size:26px}.slide-text p{margin:0 0 10px}
.hero-nav{position:absolute;top:50%;z-index:3;transform:translateY(-50%);background:rgba(255,255,255,.75);color:#545454;border:0;width:34px;height:34px;border-radius:50%;font-size:22px;line-height:1;cursor:pointer}
.hero-nav:hover{background:#fff}.hero .prev{left:10px}.hero .next{right:10px}
.hero-dots{position:absolute;bottom:10px;left:0;right:0;z-index:3;display:flex;justify-content:center;gap:6px}
.hero-dots button{width:8px;height:8px;border-radius:50%;border:0;background:rgba(255,255,255,.7);cursor:pointer;padding:0}
.hero-dots button.active{background:var(--primary);width:22px;border-radius:5px}
.community{display:flex;justify-content:space-between;align-items:center;margin:14px 0 10px}
.community a.name{display:flex;align-items:center;gap:12px;color:var(--primary);font-weight:700;font-size:18px}
.community .ic{color:#eea613;font-size:26px}
.wide-banner{display:block;margin:6px 0 0;position:relative}
.wide-banner img{width:100%;border-radius:2px}

/* ---------- giới thiệu ---------- */
.intro{overflow:visible;display:grid;grid-template-columns:420px 1fr;gap:24px;align-items:start;position:relative;padding-top:12px}
.intro-img{position:relative}
.intro-img img.photo{width:100%;aspect-ratio:419/250;object-fit:cover;position:relative;z-index:1}
.intro-head{text-align:right}
.intro-head .script{font-size:38px;margin-right:6px}
.intro-head h1{display:inline;font-size:28px;font-weight:400;color:#545454;line-height:1.45}
.intro-head p{margin:6px 0 0;font-size:17px}
.fav-box{background:var(--light);margin:16px 0 0 auto;max-width:410px;padding:14px 16px}
.fav-box h3{color:var(--primary);font-size:17px;font-weight:400;margin:0 0 10px}
.fav-item{display:grid;grid-template-columns:95px 1fr;gap:16px;padding:6px 0}
.fav-item img{width:95px;height:93px;object-fit:cover}
.fav-item b{display:block;color:var(--primary);font-size:16px}
.fav-item p{margin:2px 0 0;font-size:12px;line-height:1.55}
.deco{position:absolute;pointer-events:none;opacity:.9}
.story{display:grid;grid-template-columns:1fr 440px;gap:28px;margin-top:-10px;align-items:start}
.story h2{font-size:17px;font-weight:400;color:#454545;margin:0}
.story .script{font-size:29px;margin:4px 0 6px}
.story .quote{font-size:42px;color:var(--primary);line-height:.6;font-family:var(--font-s)}
.story-text{font-size:14px;font-style:italic;text-align:justify;padding-left:28px;line-height:1.85}
.story-text p{margin:0 0 18px}
.story-text strong,.story-text b{color:var(--primary);font-weight:600}
.story-img img{width:100%}
.tech{margin:14px 0}

/* ---------- liệu trình dịch vụ ---------- */
.svc-block{display:grid;grid-template-columns:157px 1fr;gap:0 30px;align-items:center;margin-top:0;padding-top:6px!important}
.svc-head{grid-column:1/-1;margin:0;padding-left:15px}
.svc-head .script{font-size:30px;line-height:48px;display:block;color:var(--primary)}
.svc-head span:not(.script){display:block;font-size:18px;line-height:29px;color:#454545;padding-left:45px;margin-top:-19px}
.svc-box{background:var(--primary);color:#fff;height:192px;display:flex;align-items:center;justify-content:center;font-size:25px;line-height:1.25;text-align:center;padding:10px}
.svc-box span{writing-mode:vertical-rl;transform:rotate(180deg)}
.svc-list{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:repeat(var(--rows,3),auto);grid-auto-flow:column;gap:30px 135px;padding-right:80px}
.svc-list a{display:flex;align-items:center;justify-content:flex-end;gap:14px;text-transform:uppercase;color:#545454;font-size:16px;text-align:right}
.svc-list a img{width:14px;height:25px;object-fit:contain}
.svc-list a:hover{color:var(--primary-d)}

/* ---------- sản phẩm trang chủ ---------- */
.prod-block{display:grid;grid-template-columns:473px 1fr;gap:30px;align-items:start;margin-top:12px}
.mini-slider{display:block;position:relative;aspect-ratio:473/338;overflow:hidden;background:#f6f6f6}
.mini-slider img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .8s}
.mini-slider img.active{opacity:1}
.checks{list-style:none;padding:0;margin:0 0 18px}
.checks li{display:flex;gap:10px;align-items:flex-start;margin:0 0 6px;font-size:14px}
.checks .ic{color:var(--primary);margin-top:3px}
.prod-note{display:flex;gap:6px;font-size:13px;text-align:justify}
.prod-note img{width:22px;height:22px;object-fit:contain;flex:none}
.badges{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin:40px 0 12px}
.badges div{display:flex;align-items:center;gap:12px;font-size:14px}
.badges .ic{font-size:32px;color:#545454}
.partners{text-align:center;margin-top:8px}
.partners .script{font-size:21px;margin-bottom:14px}
.logo-grid{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:18px 26px}
.logo-grid a,.logo-grid span{display:flex;align-items:center;justify-content:center;width:160px;height:56px}
.logo-grid img{max-height:50px;max-width:160px;object-fit:contain;filter:grayscale(.15);transition:.2s}
.logo-grid a:hover img{filter:none;transform:scale(1.05)}

/* dải ảnh nhỏ dưới slider */
.thumbs{display:flex;gap:6px;overflow-x:auto;padding:8px 0 2px;scrollbar-width:thin}
.thumbs img{flex:0 0 40px;width:40px;height:30px;object-fit:cover;cursor:pointer;opacity:.6;transition:.2s}
.thumbs img.on,.thumbs img:hover{opacity:1}
.fb-thumbs{max-width:934px;margin:0 auto;gap:10px}
.fb-thumbs img{flex-basis:80px;width:80px;height:80px}

/* ---------- blog ---------- */
.post-row{display:grid;grid-template-columns:279px 1fr;gap:38px;margin-bottom:28px;align-items:start}
.post-row .thumb{display:block;aspect-ratio:279/157;overflow:hidden;background:var(--light)}
.post-row .thumb img{width:100%;height:100%;object-fit:cover;transition:.4s}
.post-row:hover .thumb img{transform:scale(1.04)}
.post-row h3{font-size:14px;font-weight:700;color:#424242;margin:0 0 4px}
.post-row h3 a:hover{color:var(--primary-d)}
.post-meta{display:flex;gap:30px;font-size:11px;color:#757575;margin:0 0 8px 18px}
.post-row p{font-size:13px;margin:0 0 12px 18px;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
.post-row .post-more{margin-left:18px}

/* ---------- feedback ---------- */
.fb-slider{position:relative;max-width:934px;margin:0 auto;overflow:hidden}
.fb-track{display:flex;transition:transform .6s}
.fb-track>a{flex:0 0 100%}
.fb-track img{display:block;width:100%;aspect-ratio:934/1252;object-fit:contain;background:#fafafa}
.fb-slider .hero-nav{background:rgba(255,255,255,.85)}
.fb-slider .prev{left:8px}.fb-slider .next{right:8px}

.duo{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:start}
.duo-head{display:flex;align-items:center;gap:12px;margin:0 0 16px}
.duo-head .ic{font-size:34px;color:#545454}
.duo-head h2{font-size:18px;font-weight:400;margin:0;border-bottom:2px solid var(--primary);padding-bottom:4px;text-transform:uppercase}
.why li{font-size:12.5px;margin-bottom:10px}
.way{margin-top:26px}
.way p{font-size:12px;margin:0}
.way b{display:block}
.map-img{display:block;margin-top:12px;position:relative}
.map-img img{width:100%;aspect-ratio:479/275;object-fit:cover;border-radius:4px}
.review-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;background:var(--accent);color:#fff;border-radius:0 20px 20px 20px;padding:6px 18px;font-size:14px;margin-bottom:16px}
.review-bar a{color:#e0e0e0;font-style:italic;font-weight:700;font-size:12px}
.rv-scroll{height:520px;overflow:hidden;-webkit-mask-image:linear-gradient(transparent,#000 6%,#000 94%,transparent);mask-image:linear-gradient(transparent,#000 6%,#000 94%,transparent)}
.rv-track{animation:rv-up 120s linear infinite}
.rv-scroll:hover .rv-track{animation-play-state:paused}
@keyframes rv-up{to{transform:translateY(-50%)}}
@media (prefers-reduced-motion:reduce){.rv-scroll{overflow:auto}.rv-track{animation:none}.rv-track>[aria-hidden]{display:none}}
.review{color:inherit;text-decoration:none;display:grid;grid-template-columns:50px 1fr;gap:12px;background:var(--light);border-radius:18px;padding:14px 16px;margin-bottom:12px}
.review .av{width:50px;height:50px;border-radius:50%;border:3px solid var(--blue);object-fit:cover;background:#fff}
.review .who{display:flex;justify-content:space-between;gap:8px;font-size:12px;color:var(--blue)}
.review .who b{font-weight:600}
.review .who em{font-style:normal;color:#545454}
.review small{display:block;color:var(--blue);font-size:11px}
.review p{font-style:italic;color:#454545;font-size:12px;margin:4px 0 0;white-space:pre-line;display:-webkit-box;-webkit-line-clamp:5;-webkit-box-orient:vertical;overflow:hidden}
.review .stars{color:#f5b301;font-size:12px}

/* ---------- đặt lịch ---------- */
.booking{background:var(--light);padding:44px 0}
.booking-in{display:grid;grid-template-columns:1fr 1fr;gap:44px;align-items:center}
.booking h2{font-size:26px;color:var(--primary-d)}
.booking .script{font-size:34px;display:block}
.hotline-big{font-size:20px}.hotline-big a{color:var(--accent);font-weight:700}
.booking-form{background:#fff;padding:26px;border-radius:18px;display:grid;gap:12px;box-shadow:0 10px 30px rgba(220,159,34,.15)}
.booking-form input,.booking-form select,.booking-form textarea{width:100%;padding:11px 14px;border:1px solid #eadfc4;border-radius:10px;font-family:inherit;font-size:14px;background:#fffdf8}
.booking-form input:focus,.booking-form select:focus,.booking-form textarea:focus{outline:none;border-color:var(--primary);background:#fff}
.row2{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.hp{position:absolute;left:-9999px}
.booked-msg{display:none;padding:10px 12px;border-radius:10px;font-size:14px}
.booked-msg.ok{background:#e7f6ec;color:#21633a}.booked-msg.err{background:#fdecea;color:#a12c22}
body.booked-ok .booked-msg.ok,body.booked-err .booked-msg.err{display:block}

/* ---------- chân trang ---------- */
.footer{padding:34px 0 0;font-size:13px;color:#616161}
.footer-grid{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:start}
.f-hotline{display:grid;grid-template-columns:60px 1fr;gap:6px 0;align-items:center}
.f-hotline img{width:56px}
.f-hotline .lbl{color:var(--primary-d);font-size:15px}
.f-hotline .num{color:var(--accent);font-size:16px;display:block}
.f-addr{margin:6px 0 18px 0;font-size:11px;color:#000;display:grid;grid-template-columns:50px 1fr;gap:10px;align-items:center}
.f-addr .ic{font-size:40px;color:#545454}
.f-addr b{font-size:12px;display:block}
.f-addr i{display:block}
.footer h4{font-size:18px;font-weight:400;color:#424242;margin:16px 0 10px;text-transform:uppercase}
.f-line{display:flex;align-items:center;gap:10px;margin-bottom:8px}
.f-line .ic{font-size:18px;color:#000}
.f-line .ic.green{color:#008037}.f-line .ic.redc{color:var(--accent)}
.f-pill{display:inline-flex;align-items:center;gap:6px;background:#fff6e2;color:var(--primary-d);border-radius:8px;padding:2px 10px;margin-left:8px}
.f-pill .ic{color:var(--accent)}
.f-map iframe{width:100%;height:300px;border:0;border-radius:6px}
.f-map iframe[src*="facebook.com/plugins"]{height:130px;max-width:500px}
.fb-posts{display:grid;gap:10px;margin-top:10px;max-width:500px}
.fb-post{display:flex;gap:12px;background:#fffaf0;border-radius:10px;padding:8px;color:#545454;font-size:13px;line-height:1.45}
.fb-post img{width:96px;height:96px;object-fit:cover;border-radius:8px;flex:none}
.fb-post span{display:-webkit-box;-webkit-line-clamp:5;-webkit-box-orient:vertical;overflow:hidden;white-space:pre-line}
.fb-post i{display:block;font-style:normal;color:var(--primary-d);font-weight:600;font-size:12px}
.f-socials{margin:8px 0 4px}
.footer-bar{position:fixed;left:0;right:0;bottom:0;z-index:55;background:var(--primary);color:#242424;padding:6px 0;font-size:12px}
body{padding-bottom:90px}
.inbox-btn{position:fixed;right:max(16px,calc(50% - 480px));bottom:45px;z-index:58;background:var(--primary);color:#fff;border-radius:0 16px 16px 16px;padding:5px 22px;font-size:13px;font-weight:600;box-shadow:0 4px 12px rgba(0,0,0,.15)}
.inbox-btn:hover{background:var(--primary-d)}
.footer-bar .container{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}
.float-btns{position:fixed;right:16px;bottom:90px;z-index:60;display:flex;flex-direction:column;gap:10px}
.float-btns a{width:50px;height:50px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;font-size:24px;box-shadow:0 6px 18px rgba(0,0,0,.22);font-weight:700}
.fb-call{background:var(--accent);animation:ring 1.6s infinite}.fb-zalo{background:#0068ff;font-size:13px!important}.fb-mess{background:#0a7cff}
@keyframes ring{0%{box-shadow:0 0 0 0 rgba(232,61,48,.55)}70%{box-shadow:0 0 0 14px rgba(232,61,48,0)}100%{box-shadow:0 0 0 0 rgba(232,61,48,0)}}
.lightbox{position:fixed;inset:0;background:rgba(0,0,0,.9);z-index:100;display:none;align-items:center;justify-content:center;padding:20px;cursor:zoom-out}
.lightbox.open{display:flex}.lightbox img{max-width:100%;max-height:100%;border-radius:6px}

/* ---------- trang con ---------- */
.pagehead{padding:20px 0 0}
.pagehead .bar{background:var(--light);border-radius:0 40px 0 40px;padding:16px 26px}
.pagehead h1{font-size:22px;color:var(--primary-d);text-transform:uppercase;margin:0}
.crumbs{font-size:12px;color:#888;margin-top:2px}.crumbs a{color:var(--primary-d)}
.tabs{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 26px}
.tabs a{padding:6px 18px;border-radius:30px;background:#fff6e2;color:#545454;font-size:13px;font-weight:600;text-transform:uppercase}
.tabs a.active,.tabs a:hover{background:var(--primary);color:#fff}
.note{font-style:italic;font-size:13px;color:#454545;margin:0 0 18px}

/* thẻ dịch vụ (bảng giá) – nền kem bo góc, tên trên thanh vàng đè lên ảnh như bản gốc */
.price-sec{margin-bottom:34px}
.price-sec .sec-head{margin-bottom:12px}
.price-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px 30px}
.pcard{position:relative;display:flex;flex-direction:column;background:#fffbf3;border-radius:16px}
.pcard .pimg{display:block;aspect-ratio:282/200;overflow:hidden;border-radius:16px 16px 0 0;background:var(--light)}
.pcard .pimg img{width:100%;height:100%;object-fit:cover;transition:.4s}
.pcard:hover .pimg img{transform:scale(1.05)}
.pname{position:relative;margin-top:-20px;background:#fdd97a;border-radius:20px;padding:5px 16px;min-height:40px;display:flex;align-items:center;z-index:1}
.pname a{font-size:17px;font-weight:600;color:#000;line-height:1.25}
.pcard .pbody{padding:8px 12px 12px;flex:1;display:flex;flex-direction:column}
.prow{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}
.pprice .pp{display:flex;align-items:baseline;gap:8px;line-height:1.3}
.pprice small{color:#757575;font-style:italic;font-size:11px}
.pprice b{color:#e0a93a;font-size:22px;font-weight:600}
.pprice b small{color:#e0a93a;font-style:normal;font-size:11px;font-weight:600}
.pcard .psub{font-style:italic;font-weight:600;font-size:11.5px;margin:2px 0 6px;color:#242424}
.pcard .pdesc{font-size:13px;text-align:justify;margin:0 0 10px;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
.pmore{margin-top:auto;align-self:flex-end;background:#fff2d1;border-radius:12px;padding:2px 12px;font-size:12px;color:#242424}
.pmore:hover{background:var(--primary);color:#fff}
.ppromo{display:flex;align-items:center;gap:8px;font-size:14px;line-height:1.35;white-space:nowrap}
.ppromo img{width:40px;height:40px;object-fit:contain}
.pcard-lg .pname a{font-size:22px}
.pcard-lg .pprice b{font-size:28px}
.pcard-lg .psub{font-size:13px}

/* chi tiết dịch vụ */
.sd-title{display:flex;align-items:center;gap:10px;font-size:20px;text-transform:uppercase;margin:0 0 16px}
.sd-title .ic{font-size:30px;color:var(--primary)}
.sd-title span{border-bottom:2px solid var(--primary);padding-bottom:3px}
.sd-grid{display:grid;grid-template-columns:400px 1fr;gap:36px;align-items:start}
.sd-left{display:grid;gap:16px;min-width:0}
.sd-right,.sd-process{min-width:0;font-size:14px}
.sd-side{font-size:13px}
.sd-right p:has(> img:only-child){display:inline-block;vertical-align:top;max-width:48%;margin:0 2% 10px 0}
.sd-right p > img:only-child{margin:0;max-height:330px;width:auto}
.sd-side h4{margin:.8em 0 0;font-size:15px}
.sd-side strong{color:#c8952c}
.sd-process{margin-top:24px}
.svc-rich h3,.svc-rich h4{border-left:3px solid var(--primary);padding-left:10px;font-size:16px;color:#242424;text-transform:uppercase;margin:1.4em 0 .5em}
.svc-rich ul{list-style:decimal;padding-left:22px}
.svc-rich li::marker{color:var(--primary);font-size:.85em}
.svc-rich h3.sd-date{border:0;padding:0;font-size:18px;font-weight:600;text-transform:none;color:#242424;margin:0 0 10px}
.svc-rich h3.sd-pill{position:relative;display:inline-block;border:0;margin:0 0 14px;padding:9px 22px 9px 76px;min-height:68px;max-width:440px;
  background:linear-gradient(90deg,#fde49b,#fff3cf);border-radius:34px;box-shadow:0 3px 0 #e8c56b;font-size:17px;font-weight:400;line-height:1.6;color:#242424}
.svc-rich h3.sd-pill::before{content:'✦';position:absolute;left:0;top:50%;transform:translateY(-50%);width:68px;height:68px;border-radius:50%;
  background:#c8952c;color:#fff;font-size:26px;display:flex;align-items:center;justify-content:center}
.svc-rich h3.sd-pill em{font-style:normal;color:var(--primary)}
.svc-rich h3.sd-sub{border:0;padding:0;text-transform:none;color:#c8952c;font-size:18px;font-weight:600;margin:.4em 0 .7em}
.rich .vid{position:relative;width:100%;max-width:500px;margin:0 0 14px;border-radius:4px;overflow:hidden;background:#111 center/cover no-repeat}
.rich .vid-v{aspect-ratio:9/16}.rich .vid-h{aspect-ratio:16/9}
.rich .vid iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.rich .vid-file{display:block;width:100%;max-width:500px;margin:0 0 14px;border-radius:4px;background:#111}
.sd-solo p:has(> img:only-child){display:block;max-width:100%;margin:0 0 14px}
.sd-solo p > img:only-child{max-height:none;width:100%;max-width:500px}
.sd-side .faq-q,.sd-side .faq-a{font-size:13px}
.faq-q,.faq-a{font-size:13px;line-height:1.6;color:#242424}
.rich p.faq-q{width:fit-content;max-width:79%;background:#e4e4e4;border-radius:0 10px;padding:4px 60px 5px 8px;margin:0 0 9px 8px}
.rich p.faq-a{width:79%;margin:0 0 13px auto;background:#fdd97a;border-radius:10px 0;padding:4px 10px 14px 16px}

/* chi tiết sản phẩm */
.pd-head{display:flex;flex-direction:column;align-items:center;gap:8px;margin-bottom:20px;font-size:13px;font-weight:600;color:#424242}
.pd-head img{max-height:62px;max-width:180px;object-fit:contain}
.pd-grid{display:grid;grid-template-columns:340px 1fr;gap:40px;align-items:start}
.pd-img img{width:100%;object-fit:contain;cursor:zoom-in}
.pd-name{font-size:20px;color:var(--blue);line-height:1.3;margin:0 0 6px;text-transform:uppercase}
.pd-name span{display:block}.pd-name .en{color:#424242;font-weight:600}
.pd-rich{font-size:14px;margin-top:18px}
.pd-rich h3,.pd-rich h4{position:relative;color:var(--blue);font-size:15px;text-transform:uppercase;padding:2px 0 2px 16px;margin:1.2em 0 .4em}
.pd-rich h3:before,.pd-rich h4:before{content:"";position:absolute;left:0;top:0;border-style:solid;border-width:16px 16px 0 0;border-color:var(--blue) transparent transparent transparent}
.pd-rich ul{padding-left:20px}

/* sản phẩm – theo thương hiệu như bản gốc */
.u-center{text-align:center;font-size:15px;font-weight:600;color:#424242;margin:0 0 18px}
.u-center span{border-bottom:2px solid var(--primary);padding-bottom:3px}
.brand-sec{border-bottom:1.5px solid var(--primary);padding:6px 0 18px;margin-bottom:22px}
.brand-logo{display:inline-block;margin:0 0 12px}
.brand-logo img{height:52px;width:auto;max-width:180px;object-fit:contain}
.brand-intro{font-size:14px;margin-bottom:16px}
.all-link{display:block;text-align:right;font-style:italic;font-weight:700;font-size:12px;color:#242424;margin-top:10px}
.all-link:hover{color:var(--primary-d)}
.prod-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:26px 28px}
.prod{display:flex;flex-direction:column;text-align:center}
.prod .pimg{display:block;aspect-ratio:202/267;overflow:hidden;background:#fff;border:1px solid #f0ece2;border-radius:6px}
.prod .pimg img{width:100%;height:100%;object-fit:contain;transition:.4s}
.prod:hover .pimg img{transform:scale(1.04)}
.prod h3{font-size:12.5px;font-weight:700;color:#242424;margin:10px 0 2px;text-transform:uppercase;line-height:1.35}
.prod h3 a:hover{color:var(--primary-d)}
.prod p{font-size:12px;font-style:italic;margin:0 0 4px;color:#454545}
.prod .pp{font-size:12px;color:#242424;margin-top:auto}
.prod .pp b{font-size:16px;font-weight:700}
.prod .pp small{font-size:9px;font-weight:700}
.prod .pp .inbox{font-style:italic;color:var(--primary-d)}

/* chi tiết */
.detail{display:grid;grid-template-columns:420px 1fr;gap:36px;align-items:start;margin-bottom:30px}
.detail-img img{width:100%;border-radius:4px;cursor:zoom-in;background:#fafafa}
.detail-img.contain img{aspect-ratio:1;object-fit:contain}
.detail-info h1{font-size:24px;color:#242424}
.detail-info .brand{color:var(--primary-d);text-transform:uppercase;font-size:12px}
.detail-price{font-size:24px;color:var(--primary);margin:6px 0 10px}
.detail-price s{color:#aaa;font-size:16px;margin-left:8px}
.lead{font-size:15px;color:#454545}
.detail-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}
.article{max-width:820px;margin:0 auto}
.article h1{font-size:26px}
.cover{width:100%;margin:12px 0 20px}
.rich{font-size:15px;line-height:1.6;overflow-wrap:anywhere}
.rich img{margin:14px auto;height:auto;border-radius:4px}
.rich h2{font-size:22px;margin-top:1.2em;color:var(--primary-d)}
.rich h3{font-size:18px;margin-top:1.2em;color:var(--primary-d);text-transform:uppercase}
.rich h4{font-size:15px;margin:1em 0 .3em;color:#242424}
.rich p{margin:0 0 .35em} /* mỗi dòng soạn trong trình soạn thảo là một đoạn, nên giãn ít cho gọn */
.rich ul{padding-left:22px}
.rich a{color:var(--primary-d);text-decoration:underline}
.rich table{border-collapse:collapse;width:100%;margin:10px 0 16px;font-size:14px}
.rich th,.rich td{border:1px solid #eadfc4;padding:8px 12px;text-align:left}
.rich th{background:var(--light);color:var(--primary-d)}
.rich iframe{max-width:100%}
.pager{display:flex;gap:8px;justify-content:center;margin-top:30px}
.pager a{width:36px;height:36px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#fff6e2;color:#545454;font-weight:600}
.pager a.active{background:var(--primary);color:#fff}

/* trang feedback */
.fb-top{display:grid;grid-template-columns:1fr auto;gap:24px;align-items:center;margin-bottom:26px}
.fb-top h1{font-size:40px;font-weight:400;color:#242424;margin:0;display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.fb-top h1 .script{font-size:32px;line-height:1.25}
.fb-top h1{margin-bottom:8px}
.fb-top h1 b{font-size:22px;font-weight:600;color:var(--primary)}
.fb-score{text-align:center}
.fb-score b{display:block;color:var(--accent);font-size:20px}
.fb-score .links{display:flex;gap:16px;justify-content:center;margin-top:6px}
.fb-score .links a{display:flex;align-items:center;gap:6px;font-size:14px;color:#545454}
.fb-score .links .ic{font-size:22px;color:#1877f2}
.albums{display:grid;grid-template-columns:1fr 1fr;gap:40px 40px}
.album h3{display:flex;align-items:center;gap:10px;font-size:18px;text-transform:uppercase;margin:0 0 10px}
.album h3 img{width:27px;height:27px}
.album h3 .more{margin-left:auto;text-transform:none;font-weight:400}
.album p{font-size:13px;margin:10px 0 0;white-space:pre-line}
.album-slider{position:relative;aspect-ratio:420/514;overflow:hidden}
.album-slider img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .6s;cursor:zoom-in}
.album-slider img.active{opacity:1}
.album-slider .hero-nav{width:30px;height:30px;font-size:18px;background:rgba(255,255,255,.85);color:#545454}
.album-slider .prev{left:8px}.album-slider .next{right:8px}
.album-slider .count{position:absolute;right:8px;bottom:8px;z-index:3;background:rgba(0,0,0,.5);color:#fff;font-size:11px;padding:2px 8px;border-radius:10px}
.reviews-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px 28px}
.gallery-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.gallery-grid figure{margin:0;position:relative;overflow:hidden;aspect-ratio:3/4;background:#fafafa}
.gallery-grid img{width:100%;height:100%;object-fit:cover;cursor:zoom-in;transition:.4s}
.gallery-grid figure:hover img{transform:scale(1.05)}
.gallery-grid figcaption{position:absolute;bottom:0;left:0;right:0;padding:18px 10px 8px;color:#fff;font-size:13px;background:linear-gradient(transparent,rgba(0,0,0,.6))}
.gallery-grid figure.hidden{display:none}
.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.feature{background:var(--light);border-radius:0 30px 0 30px;padding:24px}
.feature .ic{font-size:30px;color:var(--primary)}
.feature h3{font-size:16px;margin:10px 0 6px}
.feature p{margin:0;font-size:13px}
.search-big{display:flex;max-width:520px;margin:0 auto 26px;background:#fde9b9;border-radius:30px;padding:4px 6px 4px 18px}
.search-big input{flex:1;border:0;background:transparent;font:15px var(--font-b);outline:none}

/* ---------- responsive ---------- */
@media (max-width:980px){
  .hdr{height:auto;padding:10px 0 4px}
  .hdr-deco,.hdr-flag,.hdr-body-pill,.hdr-arch,.hdr-hotline,.hdr-panel>.more,.deco{display:none}
  .hdr-logo{position:relative;left:0;top:0;width:160px}
  .hdr-logo .logo{position:static;width:150px}
  .hdr-top{right:20px;top:14px}
  .hdr-panel{position:relative;left:0;right:0;top:0;height:auto;margin-top:10px;border-radius:60px 0 0 0;padding:16px 16px 14px 40px;display:flex;flex-wrap:wrap;gap:10px 14px;align-items:center}
  .hdr-search,.hdr-quick-pills,.hdr-call,.hdr-rating,.hdr-menu{position:static}
  .hdr-call{order:2;margin-left:auto}
  .hdr-rating{order:3;width:100%;white-space:normal}
  .hdr-menu{order:5;width:100%;flex-wrap:wrap;justify-content:flex-start}
  .hdr-menu>a,.hdr-menu .dd>a{padding:5px 16px;flex:none;width:auto;max-width:none}
.intro,.story,.prod-block,.duo,.footer-grid,.booking-in,.detail{grid-template-columns:1fr}
  .intro-head{text-align:left}.fav-box{margin-left:0}
  .story-img{order:-1;max-width:420px}
  .prod-grid{grid-template-columns:repeat(3,1fr)}
}
@media (max-width:720px){
  body{font-size:14px}
  .container{padding:0 16px}
  .hdr-top{gap:8px;right:16px}.hdr-top .socials{display:none}
  .hdr-top .btn-red{width:auto;padding:5px 14px;font-size:13px}
  .hdr-logo .logo{width:120px}
  .hdr-panel{padding:14px 14px 12px 22px;border-radius:36px 0 0 0}
  .hdr-call{order:0;margin-left:0;width:100%;text-align:left}
  .hdr-call .phone{justify-content:flex-start}
  .hdr-rating img{height:28px}
  .nav-toggle{display:inline-flex;background:var(--primary);color:#fff;border:0;border-radius:20px;padding:6px 16px;font:600 13px var(--font-b);cursor:pointer;margin-top:8px}
  .hdr-menu{display:none;flex-direction:column;align-items:stretch;gap:8px}
  .nav-open .hdr-menu{display:flex}
  .hdr-menu>a,.hdr-menu .dd>a{width:100%}
  .dd-menu{position:static;opacity:1;visibility:visible;transform:none;box-shadow:none;margin:6px 0 0;padding:0 0 0 14px;display:none;background:transparent}
  .nav-open .dd-menu{display:block}
  .hdr-search{width:100%}
  .promo{flex-direction:column;align-items:flex-start}
  .promo-name b{padding-left:30px}
  .svc-block{grid-template-columns:1fr;gap:16px}
  .svc-list{grid-template-rows:none;grid-auto-flow:row;padding-right:0}
  .svc-box{height:auto;padding:14px}.svc-box span{writing-mode:horizontal-tb;transform:none;font-size:20px}
  .svc-list{grid-template-columns:1fr;gap:12px}
  .svc-list a{justify-content:flex-start;flex-direction:row-reverse;text-align:left;font-size:14px}
  .badges{grid-template-columns:1fr;gap:10px;margin-top:24px}
  .post-row{grid-template-columns:1fr;gap:10px}
  .post-row p,.post-meta,.post-row .post-more{margin-left:0}
  .price-grid{grid-template-columns:1fr 1fr;gap:20px 14px}
  .pname a{font-size:15px}.pprice b{font-size:18px}
  .sd-grid,.pd-grid{grid-template-columns:1fr;gap:20px}
  .rich p.faq-q{max-width:88%}.rich p.faq-a{width:88%}
  .footer-bar{font-size:10px;padding:4px 0}.footer-bar .container{flex-direction:column;gap:0}
  body{padding-bottom:110px}
  .inbox-btn{bottom:40px;right:auto;left:16px}
  .prod-grid{grid-template-columns:1fr 1fr;gap:20px 14px}
  .albums,.reviews-grid{grid-template-columns:1fr}
  .gallery-grid{grid-template-columns:repeat(2,1fr)}
  .feature-grid{grid-template-columns:1fr}
  .fb-top{grid-template-columns:1fr}
  .fb-top h1{font-size:28px}
  .row2{grid-template-columns:1fr}
  .footer-bar .container{flex-direction:column;gap:4px}
  .intro-head .script{font-size:32px}.intro-head h1{font-size:21px}
}


/* ---------- chuyển động như bản gốc (LadiPage: tada, bounce, fadeInLeft/Right) ---------- */
.vicon{width:50px;height:50px;object-fit:contain;flex:none;background:transparent;mix-blend-mode:multiply}
.vicon.big{width:61px;height:61px}
.badges .vicon{width:50px;height:50px}
.svc-list{position:relative}
@keyframes fadeInLeft{from{opacity:0;transform:translateX(-100%)}to{opacity:1;transform:none}}
@keyframes fadeInUp{from{opacity:0;transform:translateY(30px)}to{opacity:1;transform:none}}
@keyframes fadeInRight{from{opacity:0;transform:translateX(100%)}to{opacity:1;transform:none}}
/* nút kêu gọi: chuyển động nhẹ, hiện đại (thay lắc tada / nảy cũ) */
@keyframes nudge{0%,62%,100%{transform:none}66%,74%,82%{transform:rotate(-12deg)}70%,78%,86%{transform:rotate(12deg)}90%{transform:none}}
@keyframes float{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}
@keyframes glow{0%{box-shadow:0 4px 12px rgba(0,0,0,.15),0 0 0 0 color-mix(in srgb,var(--primary) 60%,transparent)}70%,100%{box-shadow:0 4px 12px rgba(0,0,0,.15),0 0 0 12px transparent}}
@keyframes pop{0%,100%{transform:scale(1)}50%{transform:scale(1.07)}}
@keyframes shine{0%,72%{transform:translateX(-130%)}100%{transform:translateX(130%)}}
.anim-tada{animation:nudge 3.2s ease-in-out 1s infinite}
.anim-bounce{animation:float 2.8s ease-in-out infinite}
.inbox-btn.anim-bounce{animation:float 2.8s ease-in-out infinite,glow 2.8s ease-out infinite}
.btn,.pill{transition:transform .25s cubic-bezier(.2,.8,.2,1),box-shadow .25s,background .2s,color .2s}
@media (hover:hover){.btn:hover,.pill:hover{transform:translateY(-2px);box-shadow:0 8px 18px -8px color-mix(in srgb,var(--dark) 55%,transparent)}}
.btn:active,.pill:active{transform:translateY(0) scale(.97);transition-duration:.08s}
.btn:focus-visible,.pill:focus-visible,.inbox-btn:focus-visible{outline:2px solid var(--primary-d);outline-offset:2px}
.btn-red{position:relative}
.btn-red,.inbox-btn{overflow:hidden;isolation:isolate}
.btn-red::after,.inbox-btn::after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(105deg,transparent 35%,rgba(255,255,255,.5) 50%,transparent 65%);transform:translateX(-130%);animation:shine 4.5s ease-in-out 1.5s infinite;pointer-events:none}
.anim-wait{opacity:0}
.anim-in{animation-duration:.6s;animation-fill-mode:both;animation-timing-function:cubic-bezier(.22,.61,.36,1)}
@media (prefers-reduced-motion:reduce){.anim-tada,.anim-bounce,.anim-in,.btn-red::after,.inbox-btn::after,.pm-badge.hot{animation:none!important}.btn,.pill{transition:none}.anim-wait{opacity:1}}

/* bài viết – tiêu đề mục có góc tam giác vàng, ảnh nằm bên phải chữ như bản gốc */
.post{max-width:960px}
.post-title{font-size:22px;color:#242424;margin:0 0 4px}
.post-rich{font-size:14px}
.post-rich h3,.post-rich h4{position:relative;clear:none;color:#242424;font-size:17px;text-transform:uppercase;padding:2px 0 2px 16px;margin:1.3em 0 .4em}
.post-rich h3:before,.post-rich h4:before{content:"";position:absolute;left:0;top:2px;border-style:solid;border-width:16px 16px 0 0;border-color:var(--primary) transparent transparent transparent}
.post-rich p:has(> img:only-child){float:right;clear:right;max-width:42%;margin:0 0 12px 24px}
.post-rich p > img:only-child{margin:0}
.post-rich:after{content:"";display:block;clear:both}
@media (max-width:720px){.post-rich p:has(> img:only-child){float:none;max-width:100%;margin:0 0 12px}}

/* trang feedback – nhãn album dạng viên thuốc như bản gốc */
.fb-top h1 .ic{font-size:34px;color:#545454}
.pillb{display:inline-flex;align-items:center;gap:6px;background:#fde49b;border-radius:20px;padding:4px 16px;color:#242424!important;font-size:18px;font-weight:700}
.fb-top .ok{color:var(--primary);font-size:22px}
.fb-score .pillb{font-size:17px;margin-bottom:4px}
.fb-score .pillb .vicon{width:42px;height:42px;margin:-10px 0 -10px -12px}
.fb-score .pillb .ic{font-size:26px;color:#545454}
.album h3{justify-content:space-between}
.apill{display:inline-flex;align-items:center;gap:10px;background:#fde49b;border-radius:22px;padding:3px 18px 3px 3px;font-size:16px;color:#242424}
.apill i{width:30px;height:30px;border-radius:50%;background:#c8952c;display:flex;align-items:center;justify-content:center}
.apill i img{width:20px;height:20px;filter:brightness(0) invert(1)}
.amore{background:#fff2d1;border-radius:12px;padding:2px 12px;font-size:11px;font-style:italic;color:#242424;text-transform:none;font-weight:400}
.album-thumbs img{flex-basis:60px;width:60px;height:60px}
.album{min-width:0}

.story-img-m{display:none}

/* ================= ĐIỆN THOẠI – dựng theo bản mobile 420px của pineapplespa.vn ================= */
@media (max-width:720px){
  body{font-size:13px}
  .container{padding:0 6px}
  .section{padding:22px 0}
  /* đầu trang: toạ độ lấy từ bản gốc, quy đổi theo chiều rộng màn hình */
  .site-header .hdr{height:76.667vw;padding:0;min-height:0}
  .hdr-logo{position:absolute;left:0;top:0;width:40.714vw}
  .hdr-arch{display:block;left:0;top:0;width:40.714vw}
  .hdr-logo .logo{position:absolute;left:0.714vw;top:0;width:29.048vw}
  .hdr-flag{display:block;left:12.619vw;top:0;width:calc(var(--flag-n,384) * .10293vw);z-index:2}
  .hdr-deco{display:block;left:37.619vw;top:11.667vw;width:33.571vw;z-index:3}
  .hdr-top{position:absolute;left:60.714vw;right:auto;top:2.857vw;gap:3.81vw}
  .hdr-top .btn-red{display:none}
  .hdr-top .socials{display:flex;gap:4.048vw}
  .socials a{width:6.905vw;height:6.905vw;font-size:6.19vw}
  .hdr-hotline{display:block;position:absolute;left:65.0vw;right:auto;top:11.905vw;font-size:2.857vw;padding:0}
  .hdr-panel{position:absolute;left:0;right:0;top:13.333vw;height:63.333vw;margin:0;padding:0;display:block;border-radius:35.714vw 0 0 0;min-height:0}
  .hdr-search{position:absolute;left:56.429vw;top:6.667vw;width:42.381vw;height:7.619vw;padding:0 1.429vw 0 2.143vw;z-index:4}
  .hdr-search input{font-size:2.976vw}
  .hdr-search button{display:none}
  .hdr-quick-pills{position:absolute;left:67.143vw;top:14.762vw;flex-direction:column;align-items:flex-start;gap:2.143vw}
  .hdr-quick-pills .pill,.hdr-body-pill{min-height:0;height:7.143vw;padding:0 3.333vw;font-size:3.333vw;font-weight:600}
  .hdr-quick-pills .pill:first-child{width:26.19vw}
  .hdr-body-pill{display:inline-flex;position:absolute;left:9.762vw;top:30.0vw}
  .hdr-call{position:absolute;left:68.571vw;right:auto;top:30.476vw;width:auto;padding:0;text-align:left}
  .hdr-call .phone{font-size:2.857vw;gap:0.952vw;justify-content:flex-start;align-items:flex-end}
  .hdr-call .phone img{width:10.0vw}
  .hdr-rating{position:absolute;left:17.619vw;top:40.476vw;width:auto;white-space:nowrap;font-size:2.381vw;gap:0}
  .hdr-rating img{display:none}
  .hdr-panel>.more{display:block;position:absolute;left:82.143vw;right:auto;top:39.762vw;font-size:2.381vw}
  .nav-toggle{display:none!important}
  .hdr-menu{display:flex!important;position:absolute;left:0.714vw;right:0.714vw;top:45.952vw;flex-wrap:wrap;flex-direction:row;gap:2.143vw 2.143vw;margin:0;justify-content:flex-start}
  .hdr-menu .mn-dv,.hdr-menu .mn-extra{display:none}
  .hdr-menu>a{flex:none;height:7.143vw;min-height:0;padding:0;font-size:3.095vw;font-weight:700;width:26.19vw;max-width:none}
  .mn-mua{order:1;width:33.333vw!important}.mn-routine{order:2;width:35.0vw!important}.mn-lh{order:3}
  .mn-review{order:4}.mn-fb{order:5}.mn-blog{order:6}
  /* ưu đãi + đếm ngược trên một dòng */
  .promo{flex-direction:row;align-items:flex-end;flex-wrap:nowrap;gap:4px;margin-top:2.381vw}
  .promo-name{font-size:calc(4.762vw * var(--pt-k,1));white-space:nowrap}
  .sec-head .btn{padding:4px 16px;font-size:12px}
  .promo-name b{font-size:calc(3.333vw * var(--pn-k,1));padding-left:17.143vw}
  .countdown{flex-wrap:wrap;width:48.81vw;font-size:2.857vw;gap:0 0.714vw;justify-content:flex-start}
  .countdown .script{width:100%;font-size:calc(3.81vw * var(--cd-k,1));margin:0}
  .countdown b{font-size:4.286vw;margin-left:0.952vw}
  .hero{margin:1.905vw -6px 0;border-radius:0;aspect-ratio:420/160}
  .hero-nav{display:block;width:26px;height:26px;font-size:18px;background:transparent;color:#fff}
  .community{margin:8px 0}.community a.name{font-size:15px}
  /* giới thiệu */
  .intro{display:flex;flex-direction:column;gap:12px}
  .intro-img{order:3;width:100%}
  .intro-head{text-align:right}.intro-head .script{font-size:34px}.intro-head h1{font-size:20px}.intro-head p{font-size:14px}
  .fav-box{margin:12px 0 0;max-width:none;padding:12px 18px}.fav-box h3{font-size:17px}
  .story{display:block;margin-top:0}
  .story .story-img{display:none}
  .story-img-m{display:block;float:right;width:62%;margin:0 0 6px 8px}
  .story-text{padding-left:0;font-size:12px;line-height:1.55}
  .story-text:after{content:"";display:block;clear:both}
  /* liệu trình: ô vàng dọc bên trái như bản gốc */
  .svc-block{grid-template-columns:10.714vw 1fr;gap:0 2vw;align-items:start}
  .svc-head{padding-left:2.619vw}
  .svc-head .script{font-size:6.905vw;line-height:11.048vw}
  .svc-head span:not(.script){padding-left:12.381vw;font-size:2.857vw;line-height:4.571vw;margin-top:-3.667vw}
  .svc-box{height:78.81vw;padding:6px 0;font-size:4.286vw}
  .svc-box span{writing-mode:vertical-rl;transform:rotate(180deg)}
  .svc-list{grid-template-columns:1fr;grid-template-rows:none;grid-auto-flow:row;gap:7.857vw 0;align-content:start;padding-right:4.524vw}
  .svc-list a{flex-direction:row;justify-content:flex-end;text-align:right;font-size:3.333vw;line-height:5.333vw;gap:12px}
  .svc-list .deco{display:none}
  .prod-block{gap:12px}
  .badges{gap:6px;margin:16px 0 8px}.badges div{font-size:13px}
  .logo-grid{gap:10px 8px}
  .logo-grid a,.logo-grid span{width:31%;height:44px}
  .logo-grid img{max-height:40px;max-width:100%}
  /* blog: ảnh nhỏ bên trái + tiêu đề, đoạn tóm tắt bên dưới */
  .post-row{grid-template-columns:120px 1fr;gap:4px 10px;margin-bottom:18px}
  .post-row>div{display:contents}
  .post-row .thumb{grid-row:1/3}
  .post-row h3{grid-column:2;font-size:12px;margin:0}
  .post-row .post-meta{grid-column:2;margin:0;font-size:10px}
  .post-row p{grid-column:1/-1;margin:6px 0 4px;font-size:11.5px;-webkit-line-clamp:5}
  .post-row .post-more{grid-column:1/-1;justify-self:end;margin:0}
  /* thẻ dịch vụ, sản phẩm: 2 cột */
  .price-grid,.prod-grid{grid-template-columns:1fr 1fr!important;gap:12px 6px}
  .sec-title{font-size:17px}
  .note{font-size:11px;margin-bottom:10px}
  .pname{min-height:30px;padding:3px 12px;margin-top:-16px}
  .pname a{font-size:13px}
  .pcard .pbody{padding:6px 6px 8px}
  .pprice b{font-size:17px}.pprice small{font-size:9px}
  .pcard .psub{font-size:9.5px}
  .pcard .pdesc{font-size:11px;line-height:1.5;-webkit-line-clamp:5}
  .pmore{font-size:9.5px;padding:1px 8px}
  .pcard-lg .pname a{font-size:18px}.pcard-lg .pprice b{font-size:24px}
  .ppromo{font-size:13px}
  .prod h3{font-size:11px}.prod p{font-size:10.5px}.prod .pp b{font-size:14px}
  .brand-logo img{height:36px}
  /* trang chi tiết, bài viết */
  .sd-title{font-size:16px}.sd-title .ic{font-size:24px}
  .sd-right,.sd-process,.pd-rich,.post-rich,.rich{font-size:12.5px;line-height:1.5}
  .sd-right p:has(> img:only-child){max-width:100%;display:block;margin:0 0 10px}
  .pd-name{font-size:17px;text-align:center}.pd-img img{max-width:240px;margin:0 auto}
  .detail-price{font-size:20px}
  .detail-actions .btn{padding:8px 16px;font-size:12px}
  .fb-top h1{font-size:18px}.fb-top h1 .script{font-size:24px}.pillb{font-size:16px}
  .apill{font-size:15px}
  .duo{gap:20px}
  .why li{font-size:12px}
  .footer{font-size:12px}
  .inbox-btn{left:auto;right:8.333vw;bottom:52px;font-size:13px}
  .float-btns{bottom:96px}
}

/* ---------- dải trên cùng được ghim khi cuộn (như bản gốc: logo, cờ, BOOK LỊCH, mạng xã hội, hotline) ---------- */
.pin-box{display:none}
@media (min-width:981px){
  .pin-box{display:block;position:fixed;top:0;background:#fff;z-index:40;pointer-events:none}
  .pin-a{left:calc(50% - 480px);width:960px;height:42px}
  .pin-b{left:calc(50% - 271px);width:751px;height:109px}
  .hdr-logo{position:fixed;left:calc(50% - 480px);top:0;z-index:45}
  .hdr-arch{position:fixed;left:calc(50% - 480px);top:0;z-index:43}
  .hdr-flag{position:fixed;left:calc(50% - 372px);top:-3px;z-index:44}
  .hdr-deco{z-index:42} .hdr-menu{z-index:42}
  .hdr-rating{z-index:43} .hdr-menu .mn-blog{margin-left:44px} .hdr-deco{left:422px} /* chân dứa (x 81–104 của ảnh 200px) nằm giữa khe trước Beauty Blog */
  .hdr-rating{left:574px;gap:8px} .hdr-rating img{height:34px} /* sao nằm ngay sau thân dứa, không che */
  .hdr-body-pill{left:278px;top:127px} /* sát đầu mũi tên cánh tay dứa */
  .hdr-top{position:fixed;right:calc(50% - 470px);top:16px;z-index:46}
  .hdr-hotline{position:fixed;right:calc(50% - 470px);top:56px;z-index:46}
}
@media (max-width:720px){
  .pin-box{display:block;position:fixed;top:0;background:#fff;z-index:40;pointer-events:none}
  .pin-a{left:4.524vw;width:95.238vw;height:10.952vw}
  .pin-b{left:31.905vw;width:68.095vw;height:18.095vw}
  .hdr-logo{position:fixed;z-index:45}
  .hdr-arch{position:fixed;z-index:43}
  .hdr-flag{position:fixed;z-index:44}
  .hdr-deco{z-index:42} .hdr-menu{z-index:42}
  .hdr-top{position:fixed;z-index:46}
  .hdr-top .btn-red{display:inline-flex;position:fixed;left:36.667vw;top:4.286vw;width:22.143vw;height:5.476vw;padding:0;font-size:3.095vw;z-index:46}
  .hdr-hotline{position:fixed;z-index:46}
}

/* ---------- độ đậm chữ theo bản gốc ---------- */
input,button,textarea,select{letter-spacing:inherit}
.pill,.hdr-quick-pills .pill,.hdr-body-pill{font-weight:700}
.hdr-rating span{font-weight:700}
.promo-name b{font-weight:700}
.countdown b{font-weight:600}
.fav-box h3{font-weight:700}
.more.b6{font-weight:600}
.duo-head h2{font-weight:700;color:#1a1a1a}
.f-hotline .lbl,.hotline-big{font-weight:600}
.footer h4{font-weight:600}
.svc-rich h3.sd-pill em{font-weight:700}
.fb-score .links a{font-weight:700}
.album .apill span{font-weight:400}

/* ---------- trang chương trình ưu đãi ---------- */
.promo-page .promo{margin:6px 0 18px}
.pm-top{display:block;margin:4px 0 10px}.pm-top img{width:100%;height:auto;border-radius:6px}
.promo-page::after{content:'';display:block;clear:both}
.pm-sec{margin:6px 0 10px}
.pm-sec-title{font-size:17px;font-weight:700;color:var(--primary-d);margin:18px 0 12px}
/* như bản cũ: ưu đãi xếp cột trái, ảnh nổi bên phải ngang tiêu đề ưu đãi */
.pm-item{margin:0 0 22px;max-width:520px}
.pm-item.has-img{max-width:none}
.pm-item.has-img .pm-body{max-width:520px}
.pm-img{float:right;clear:right;width:calc(100% - 560px);margin:0 0 16px 24px;text-align:center}
.pm-img img{width:100%;height:auto;max-height:560px;object-fit:contain;cursor:zoom-in}
.pm-head{display:inline-flex;align-items:center;gap:10px;margin:0 0 10px;padding:4px 18px 4px 6px;background:#fde49b;border-radius:30px;
  font-size:17px;font-weight:700;text-transform:uppercase;color:#242424}
.pm-ic{width:30px;height:30px;object-fit:contain;border-radius:50%;background:#fff;padding:3px}
.pm-badge{font-style:normal;font-size:13px;font-weight:700;color:#fff;background:var(--primary);border-radius:14px;padding:1px 10px;text-transform:none}
.pm-badge.hot{background:var(--accent);animation:pop 1.8s ease-in-out infinite}
.pm-rich{font-size:14px}
.pm-rich ul{list-style:none;padding-left:4px;margin:.4em 0}
.pm-rich li{position:relative;padding-left:22px;margin:3px 0}
.pm-rich li::before{content:'✓';position:absolute;left:0;color:var(--primary);font-weight:700}
.pm-rich p img{max-width:100%;height:auto}
.pm-table-wrap{overflow-x:auto;margin:6px 0 14px;border-radius:10px}
.pm-table{width:100%;border-collapse:collapse;font-size:15px;font-weight:600;color:#222;white-space:nowrap}
.pm-table th{background:var(--primary);color:#fff;font-weight:600;padding:6px 9px;text-align:left}
.pm-table td{padding:6px 9px;border-bottom:1px solid #eadfc4}
.pm-table tbody tr:nth-child(even) td{background:var(--light)}
@media (max-width:720px){.pm-table{font-size:13px}.pm-table th,.pm-table td{padding:5px 6px}.pm-table th:first-child,.pm-table td:first-child{padding-left:10px}}
.pm-until{font-size:12px;font-style:italic;color:var(--accent);margin:6px 0 0}
.pm-banner{clear:both;text-align:center;margin:0 0 22px}
.pm-banner img{max-width:100%;height:auto;border-radius:6px}
.pm-cta{text-align:center;margin:10px 0 20px}
@media (max-width:720px){
  .pm-item,.pm-item.has-img .pm-body{max-width:none}
  .pm-item.has-img{display:flex;flex-direction:column}
  .pm-img{float:none;width:auto;margin:0;order:2}
  .pm-sec-title{font-size:16px}
  .pm-head{font-size:15px}
}

/* khung đặt lịch khi dùng hệ thống đặt lịch ngoài (KiotViet) */
.booking-ext{text-align:center;gap:14px}
.booking-ext .be-title{font-family:var(--font-s);color:var(--primary);font-size:34px;margin:0;line-height:1.2}
.booking-ext .be-text{margin:0;font-size:14px;color:#545454}
.booking-ext .btn-block{font-size:16px;padding:14px}
.booking-ext .be-or{margin:0;font-size:13px;color:#545454}
.booking-ext .be-or a{color:var(--primary-d);font-weight:600}

/* blog: người đăng có ảnh đại diện, nút "Xem thêm" gọn */
.post-meta{align-items:center}
.pm-author{display:inline-flex;align-items:center;gap:6px}
.pm-author img{width:22px;height:22px;border-radius:50%;object-fit:cover;background:#fff;border:1px solid #f0e2bd;flex:none}
.pm-author b{font-weight:600;color:#545454}
.post-more{display:inline-flex;align-items:center;gap:4px;font-size:12px;font-style:italic;font-weight:600;color:var(--primary-d);
  padding:3px 12px;border:1px solid #f0d99a;border-radius:20px;background:#fffbf1;transition:.2s}
.post-more span{font-style:normal;font-size:15px;line-height:1}
.post-more:hover{background:var(--primary);color:#fff;border-color:var(--primary)}
@media (max-width:720px){.pm-author img{width:18px;height:18px}.post-more{font-size:11px;padding:2px 10px}}

/* bài blog: bỏ dấu chấm đầu dòng của danh sách (nội dung chuyển từ trang cũ vốn là các dòng chữ thường) */
.post-rich ul{list-style:none;padding-left:0}
.post-rich ul li{margin:2px 0}

/* góc đăng nhập quản trị (kín đáo, cuối chân trang) */
/* tài khoản khách (dùng chung app salon) + còn/hết hàng theo tồn kho app */
.hdr-top .btn-acc{padding:4px 14px 4px 10px;border-radius:30px;font-size:14px;font-weight:600;text-transform:none;background:#fff;color:#2b2b2b;box-shadow:inset 0 0 0 1.5px var(--primary);white-space:nowrap;max-width:180px}
.hdr-top .btn-acc:hover{background:#fff8e6;color:#2b2b2b}
.hdr-top .btn-acc .ic{width:20px;height:20px;flex:none;color:var(--primary-d)}
.hdr-top .btn-acc .acc-t{overflow:hidden;text-overflow:ellipsis}
.stock{display:inline-block;font-size:12px;font-weight:600;padding:1px 8px;border-radius:10px;margin-top:4px}
.stock.in{background:#e6f4ea;color:#1e7b3a}.stock.out{background:#fdecea;color:#b3261e}
.detail-price .stock{margin-left:10px;vertical-align:middle}
/* gợi ý khi gõ ở ô tìm kiếm đầu trang */
.goi-y{position:absolute;top:calc(100% + 6px);left:0;width:min(380px,92vw);background:#fff;border-radius:12px;box-shadow:0 8px 28px rgba(0,0,0,.18);z-index:60;overflow:hidden;font-style:normal}
.goi-y a{display:flex;align-items:center;gap:10px;padding:8px 12px;color:#333;text-decoration:none;font-size:14px;line-height:1.3;border-bottom:1px solid #f3eee2}
.goi-y a:hover,.goi-y a:focus{background:#fff6e2;outline:none}
.goi-y img,.goi-y .gy-img{width:40px;height:40px;object-fit:cover;border-radius:8px;flex:none;background:#f5efe0}
.goi-y .gy-t{flex:1;min-width:0}.goi-y small{display:block;font-size:11px;color:#999;text-transform:uppercase}
.goi-y b{color:var(--accent);font-size:13px;white-space:nowrap}
.goi-y .gy-all{justify-content:center;color:var(--primary-d);font-weight:600;border-bottom:0}
.goi-y .gy-none{padding:12px;font-size:14px;color:#666}
@media (max-width:767px){.goi-y{left:auto;right:0}}
.hdr-search:focus-within,.hdr-search:has(.goi-y:not([hidden])){z-index:70}
@media (max-width:720px){.hdr-top{gap:2vw}.hdr-top .btn-acc{width:6.905vw;height:6.905vw;max-width:none;padding:0;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:3.8vw}.hdr-top .btn-acc .acc-t{display:none}.hdr-top .btn-acc .ic{width:4.6vw;height:4.6vw}.hdr-top .socials{gap:2vw}.socials a{width:6vw;height:6vw;font-size:5.4vw}}

/* gạch chân tiêu đề: sát chữ, kéo dài ra khi cuộn tới (site.js thêm .line-in) */
.sec-title.line,.sec-title.center span,.u-title span,.duo-head h2,.sd-title span,.u-center span{
  border-bottom:0;line-height:1.2;padding-bottom:3px;
  background:linear-gradient(var(--primary),var(--primary)) left bottom/0 2px no-repeat;
  transition:background-size .9s cubic-bezier(.2,.8,.2,1)}
.u-title span{display:inline-block;background-size:0 3px}
.sec-title.center span,.u-center span{background-position:center bottom}
.sec-title.line.line-in,.sec-title.center span.line-in,.duo-head h2.line-in,.sd-title span.line-in,.u-center span.line-in{background-size:100% 2px}
.u-title span.line-in{background-size:100% 3px}
@media (prefers-reduced-motion:reduce){.line-in{transition:none}}

/* ô tìm kiếm lên dòng trên cạnh login (bỏ mạng xã hội ở đầu trang, còn ở chân trang) */
.hdr-top .hdr-search{position:relative;left:auto;top:auto}
@media (max-width:980px){.hdr-top .hdr-search{width:200px}}
@media (max-width:720px){
  .hdr-top{left:56vw;gap:1.8vw}
  .hdr-top .btn-red{left:34vw;width:21vw}
  .hdr-top .hdr-search{width:34vw;height:6.905vw;padding:0 1vw 0 2vw}
  .hdr-top .hdr-search input{font-size:2.2vw}
}

/* ảnh thay cho chữ "THÁNG …" (dòng tiêu đề vẫn là chữ); cao theo ô cỡ chữ dòng tháng (18 = 54px), thụt lề như chữ tháng */
.promo-name .promo-img{display:block;height:calc(54px * var(--pn-k,1));width:auto;max-width:100%;margin-left:82px}
@media (max-width:980px){.promo-name .promo-img{margin-left:30px}}
@media (max-width:720px){.promo-name .promo-img{height:calc(10vw * var(--pn-k,1));max-width:40vw;margin-left:17.143vw;object-fit:contain;object-position:left}}

/* cuộn trang: dứa/menu/sao không đè lên thanh trắng ghim ở trên */
.scrolled .hdr-deco,.scrolled .hdr-menu,.scrolled .hdr-rating{z-index:39}
/* điện thoại: dòng ưu đãi + đếm ngược gọn, cỡ chữ không vượt quá khung */
@media (max-width:720px){
  .promo{align-items:center;gap:2vw;margin-top:3vw}
  .promo-name{font-size:min(calc(4.762vw * var(--pt-k,1)), 5vw);line-height:1.15}
  .promo-name b{font-size:min(calc(3.333vw * var(--pn-k,1)), 6vw)}
  .promo-name .promo-img{height:min(calc(10vw * var(--pn-k,1)), 12vw);margin-left:12vw;margin-top:.5vw}
  .countdown{width:auto;flex:0 0 auto;display:grid;grid-template-columns:repeat(8,auto);align-items:baseline;gap:0 .6vw}
  .countdown .script{grid-column:1/-1;font-size:min(calc(3.81vw * var(--cd-k,1)), 7vw);line-height:1;margin:0 0 1vw}
}

/* dòng "Chương trình ưu đãi" màu đen; chữ/ảnh tháng giữ màu riêng */
.promo .promo-name{color:#242424}

/* giá dịch vụ: số chính đậm hơn */
.pprice .pp>b{font-weight:800}
/* ảnh khuyến mãi to ra, sát cột chữ */
@media (min-width:981px){
  .pm-item.has-img .pm-body{max-width:440px}
  .pm-img{width:calc(100% - 460px);margin-left:16px}
  .pm-img img{max-height:none}
}
/* trang tìm kiếm: kính lúp lượn vòng như đang tìm */
.sd-title .kinh-lup{color:var(--primary);animation:kinh-lup 2.4s linear infinite}
@keyframes kinh-lup{from{transform:rotate(0) translateX(4px) rotate(0)}to{transform:rotate(360deg) translateX(4px) rotate(-360deg)}}
@media (prefers-reduced-motion:reduce){.sd-title .kinh-lup{animation:none}}
/* dịch vụ được yêu thích: ô gọn (1 dòng phù hợp, tối đa 2 dòng), xoay tua 3 ô một lượt */
.fav-item[hidden]{display:none}
.fav-item{align-items:center;color:inherit;text-decoration:none}
.fav-item img{width:80px;height:80px;border-radius:6px}
.fav-item{grid-template-columns:80px 1fr;gap:14px}
.fav-item p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.fav-item:hover b{text-decoration:underline}
.fav-in{animation:fadeInUp .5s both}
/* dịch vụ được yêu thích: 2 cột, mỗi lượt 4 ô */
.fav-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px 14px}
.fav-grid .fav-item{grid-template-columns:56px 1fr;gap:10px;padding:0}
.fav-grid .fav-item img{width:56px;height:56px}
.fav-grid .fav-item b{font-size:14px;line-height:1.3}
.fav-grid .fav-item p{font-size:12px;line-height:1.4}
/* BOOK LỊCH ghim góc dưới bên trái (đối xứng nút Inbox); chỗ cũ trên đầu trang để trống làm event */
.book-btn{position:fixed;left:max(16px,calc(50% - 480px));bottom:45px;z-index:58;border-radius:16px 0 16px 16px;padding:5px 22px;font-size:13px;font-weight:600;box-shadow:0 4px 12px rgba(0,0,0,.15)}
@media (max-width:720px){.book-btn{left:8.333vw;bottom:52px}}
/* câu chuyện Pineapple: chữ "Giá trị vẻ đẹp…" to hơn; dấu ngoặc kép nằm ngay đầu dòng đầu, chữ bắt đầu sát bên */
.story .script{font-size:36px}
.story .quote{float:left;width:28px;height:22px;line-height:1;margin-top:-4px}
@media (max-width:720px){.story .script{font-size:34px}.story .quote{width:24px;height:16px;font-size:36px}}
/* chuỗi ảnh liền nhau trong bài viết / trang dịch vụ: lưới ảnh (bấm để phóng to) */
.rich .img-grid{clear:both;display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:0 0 18px}
.rich .img-grid.g2{grid-template-columns:1fr 1fr}
.rich .img-grid{align-items:start}.rich .img-grid img{width:100%;height:auto;border-radius:6px;margin:0;cursor:zoom-in}
@media (max-width:720px){.rich .img-grid{grid-template-columns:1fr 1fr;gap:6px}}
/* chuỗi ảnh trong bài -> khung trượt như feedback trang chủ */
.rich .rich-slider{clear:both;max-width:720px;margin:0 auto}
.rich .rich-slider .fb-track{align-items:center}
.rich .rich-slider a{text-decoration:none}
.rich .rich-slider img{aspect-ratio:auto;margin:0;width:100%;border-radius:6px;cursor:zoom-in}
.rich .rich-slider+.fb-thumbs{max-width:720px;margin:0 auto 18px}
.rich .rich-slider+.fb-thumbs img{margin:0;border-radius:4px}
@media (max-width:720px){.rich .rich-slider+.fb-thumbs img{flex-basis:56px;width:56px;height:56px}}
/* chấm chuyển banner nằm dưới ảnh, không che chữ trên banner */
.hero{overflow:visible;margin-bottom:22px}
.slide{border-radius:4px;overflow:hidden}
.hero-dots{bottom:-16px}
.hero-dots button{width:7px;height:7px;background:#d6d6d6}
.hero-dots button.active{width:18px}
/* không cho bôi đen chữ / giữ ảnh để lưu (khách xem trang) */
.khoa:not(.ed-on){-webkit-user-select:none;user-select:none}
.khoa input,.khoa textarea,.khoa select{-webkit-user-select:text;user-select:text}
.khoa:not(.ed-on) img{-webkit-touch-callout:none;-webkit-user-drag:none;user-drag:none}
/* tên dịch vụ và các tiêu đề dùng Bold */
h1,h2,h3,h4,.sec-title,.pname a,.u-center,.svc-rich h3.sd-date,.svc-rich h3.sd-sub,.pd-name .en{font-weight:700}
/* chữ đậm màu hơn */
body{color:#1a1a1a}
.u-title,.u-center,.story h2,.footer h4,.intro-head h1{color:#1a1a1a}
/* bảng giá trong mô tả dịch vụ: tên trái, giá phải, mô tả dưới */
.rich .bang-gia{display:grid;grid-template-columns:1fr 1fr;gap:10px 14px;margin:6px 0 18px}
.rich .bg-row{display:grid;grid-template-columns:1fr auto;gap:2px 12px;align-items:baseline;background:#fffaf0;border:1px solid #f6e3b8;border-radius:12px;padding:10px 14px}
.rich .bg-ten{font-size:16px;font-weight:700;color:#1a1a1a}
.rich .bg-gia{font-weight:700;color:var(--primary-d);text-align:right;white-space:nowrap;font-size:15px;line-height:1.45}
.rich .bg-mo{grid-column:1/-1;font-size:13.5px;color:#444}
.rich .bg-mo p{margin:2px 0 0}
@media (max-width:720px){.rich .bang-gia{grid-template-columns:1fr;gap:8px}.rich .bg-row{padding:9px 12px}}
/* bảng giá: 2 cột cả trên điện thoại; trong ô: tên, giá, mô tả xếp dọc; dòng ưu đãi thành nhãn nhỏ */
.rich .bang-gia,.rich .bang-gia{grid-template-columns:1fr 1fr}
.rich .bg-row{display:flex;flex-direction:column;gap:3px}
.rich .bg-gia{text-align:left;white-space:normal}
.rich .bg-mo p:has(strong){display:inline-block;margin-top:5px;background:#fde9b8;border-radius:20px;padding:1px 9px;font-size:12px;color:#7a5a12}
.rich .bg-mo p:has(strong) strong{color:#c0392b}
@media (max-width:720px){
  .rich .bang-gia{grid-template-columns:1fr 1fr;gap:8px}
  .rich .bg-row{padding:9px 10px;border-radius:10px}
  .rich .bg-ten{font-size:14.5px;line-height:1.3}
  .rich .bg-gia{font-size:13.5px}
  .rich .bg-mo{font-size:12.5px;line-height:1.45}
  .rich .bg-mo p:has(strong){font-size:11px;padding:1px 7px}
}
.rich .bg-gia small{color:#757575;font-style:italic;font-weight:400;font-size:11px;margin-right:2px}
.rich .bg-gia .nw{white-space:nowrap}
.rich .bg-gia .dl{color:#1a1a1a;font-weight:400}
/* biểu tượng chứng nhận cạnh tiêu đề: viền răng cưa xoay chậm, cả huy hiệu nhịp nhẹ */
.chung-nhan{color:var(--primary);overflow:visible;animation:cn-nhip 2.4s ease-in-out infinite}
.chung-nhan .cn-rang{transform-box:fill-box;transform-origin:center;animation:cn-xoay 8s linear infinite}
@keyframes cn-xoay{to{transform:rotate(360deg)}}
@keyframes cn-nhip{0%,100%{transform:scale(1);filter:drop-shadow(0 0 0 rgba(220,159,34,0))}50%{transform:scale(1.1);filter:drop-shadow(0 0 6px rgba(220,159,34,.9))}}
@media (prefers-reduced-motion:reduce){.chung-nhan,.chung-nhan .cn-rang{animation:none}}
.fav-item b .chung-nhan{width:1.05em;height:1.05em;vertical-align:-.17em;margin-right:4px;flex:none}
/* điện thoại: khối dịch vụ được yêu thích tràn sát 2 mép màn hình cho tên dịch vụ ít xuống dòng */
@media (max-width:720px){
  .fav-box{margin:12px -6px 0;padding:12px 6px;border-radius:0}
  .fav-grid{gap:10px 6px}
  .fav-grid .fav-item{grid-template-columns:46px 1fr;gap:6px}
  .fav-grid .fav-item img{width:46px;height:46px}
  .fav-item b .chung-nhan{margin-right:2px}
}
@media (max-width:400px){.fav-grid .fav-item b{font-size:13px}}
/* Safari 26 iPhone tô vùng thanh trạng thái theo khối cố định phủ kín mép trên; thiếu khối này thì nội dung lộ ra sau giờ/pin khi cuộn */
.toa-top{display:none}
/* iPhone: trang tràn lên dưới giờ/pin (viewport-fit=cover); khối trắng cố định che đúng vùng đó, cả đầu trang dời xuống bằng chiều cao vùng đó */
:root{--st:env(safe-area-inset-top,0px);--sb:env(safe-area-inset-bottom,0px)}
@media (max-width:720px){
  /* Safari xét điểm giữa, ~4px dưới mép trên: khối phải cố định, rộng >90%, dày >10px, KHÔNG pointer-events:none (hit-test xuyên qua) */
  .toa-top{display:block;position:fixed;top:0;left:0;right:0;height:calc(var(--st) + 10.952vw);background:#fff;z-index:41}
  body{padding-top:var(--st);padding-bottom:calc(110px + var(--sb))}
  .pin-box,.hdr-logo,.hdr-arch,.hdr-flag{top:var(--st)}
  .hdr-top{top:calc(2.857vw + var(--st))}
  .hdr-top .btn-red{top:calc(4.286vw + var(--st))}
  .hdr-hotline{top:calc(11.905vw + var(--st))}
  .footer-bar{padding-bottom:calc(4px + var(--sb))}
  .inbox-btn,.book-btn{bottom:calc(52px + var(--sb))}
  .float-btns{bottom:calc(96px + var(--sb))}
}

/* Bộ lọc trang Sản phẩm */
.loc-sp{margin:4px 0 22px;padding:14px 16px;border:1px solid #eee;border-radius:12px;background:#fff;display:grid;gap:10px;position:relative}
.loc-hang{display:grid;grid-template-columns:96px 1fr;align-items:start;gap:10px}
.loc-hang>b{font-size:13px;padding-top:6px;color:#242424}
.loc-chips{display:flex;flex-wrap:wrap;gap:6px;position:relative}
.loc-sp .chip{display:inline-flex;align-items:center;gap:5px;padding:5px 11px;border:1px solid #ddd;border-radius:999px;font-size:13px;color:#333;background:#fff;white-space:nowrap;line-height:1.3}
.loc-sp .chip i{font-style:normal;font-size:11px;color:#999}
.loc-sp .chip:hover{border-color:var(--primary);color:var(--primary-d)}
.loc-sp .chip.on{background:var(--primary);border-color:var(--primary);color:#fff}
.loc-sp .chip.on i{color:#fff;opacity:.85}
.loc-sp .chip.rong{opacity:.45}
.loc-xoa{justify-self:end;font-size:12px;font-weight:600;color:var(--primary-d)}
.loc-dem{margin:0 0 14px;font-size:14px;color:#555}
@media (max-width:720px){
  .loc-sp{padding:10px 0;border:0;border-radius:0;gap:8px}
  .loc-hang{grid-template-columns:1fr;gap:4px}
  .loc-hang>b{padding:0}
  .loc-chips{flex-wrap:nowrap;overflow-x:auto;margin:0 -16px;padding:0 16px 2px;scrollbar-width:none}
  .loc-chips::-webkit-scrollbar{display:none}
}

/* Nút Liên hệ (Messenger) trong trang sản phẩm */
.detail-actions .lh-btn{display:inline-flex;align-items:center;gap:6px}
.detail-actions .lh-btn .ic{width:18px;height:18px}
/* giá trang sản phẩm: cùng kiểu thẻ dịch vụ */
.pd-price{margin:8px 0 4px}
.pd-price b{font-size:28px}
.pd-price>s{color:#aaa;font-size:15px}
.pd-price .stock{margin-top:6px}
.pd-sub{font-style:italic;font-weight:600;font-size:14px;color:#242424;margin:2px 0 12px}
@media (max-width:640px){.pd-price b{font-size:24px}.pd-sub{font-size:13px}}
/* nút trang sản phẩm: nhỏ, viền mảnh, không nổi */
.detail-actions{gap:8px}
.detail-actions .btn{background:transparent;color:#242424;box-shadow:inset 0 0 0 1px var(--primary);padding:6px 14px;font-size:12.5px;font-weight:400}
.detail-actions .btn-red{box-shadow:inset 0 0 0 1px var(--accent)}
.detail-actions .btn-red::after{display:none}
.detail-actions .btn:hover{background:transparent;color:#000;transform:none}
.detail-actions .lh-btn .ic{width:15px;height:15px}
/* tên, tên tiếng Việt, giá, nút: canh giữa */
.pd-info .pd-name,.pd-sub{text-align:center}
.pd-sub{margin:4px 0 6px}
.pd-price{text-align:center}
.pd-price .pp{justify-content:center}
.detail-actions{justify-content:center}
/* giá trong bảng: kiểu thẻ dịch vụ */
.rich td.tg b{color:#e0a93a;font-size:17px;font-weight:800}
.rich td.tg b small{font-size:10px;font-weight:600}
/* bảng gọn: rộng theo nội dung, không kéo hết khung */
.rich table{width:auto;max-width:100%}
.rich th,.rich td{padding:6px 18px}
.prod-note .ic{width:22px;height:22px;margin-top:0}
.prod-note p{margin:0;line-height:22px}

/* Trang dịch vụ: album feedback một cột giữa trang + khối cơ chế hoạt động (4 hình) */
.sd-albums.albums{grid-template-columns:minmax(0,640px);justify-content:center;margin-top:30px}
.rich .co-che{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin:14px 0 6px}
.rich .co-che figure{margin:0}
.rich .co-che img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:8px;display:block}
.rich .co-che figcaption{font-size:14px;line-height:1.5;margin-top:8px;color:#545454}
@media (max-width:720px){.rich .co-che{grid-template-columns:1fr 1fr;gap:14px}}

/* Trang dịch vụ: clip dọc trên album feedback */
.sd-video{display:flex;justify-content:center;margin-top:30px}
.sd-video .vid-file{max-width:360px;margin:0;border-radius:10px}
.sd-video .vid{width:100%;max-width:640px}
