/* Homepage frame: replaces the legacy Bootstrap/font/carousel styles only on /. */
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
*,*::before,*::after{box-sizing:border-box}
body{margin:0;color:#212529;background:#fff;font:16px/1.5 Arial,Helvetica,sans-serif}
h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5rem;font-weight:500;line-height:1.2;color:inherit}
p,ol,ul{margin-top:0;margin-bottom:1rem}ol,ul{padding-left:2rem}
a{color:inherit;text-decoration:none;background-color:transparent}
img,svg{vertical-align:middle}img{max-width:100%;height:auto}
button,input,select,textarea{margin:0;font:inherit;line-height:inherit}
button{text-transform:none}button,[type=button],[type=submit]{-webkit-appearance:button}
button:disabled{cursor:wait}textarea{resize:vertical}
[hidden]{display:none!important}
/* The shared footer retains its existing class names and four-column geometry. */
.ft .container{width:100%;max-width:1200px;padding-right:12px;padding-left:12px;margin-right:auto;margin-left:auto}
.ft .ft-top{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));column-gap:24px;row-gap:36px}
.ft .ft-top>.ft-col{min-width:0;max-width:100%;padding:0}
.ft.bg-gradient{background:linear-gradient(1deg,#031B4F 16.53%,#0B245F 145.72%)!important}
.ft .ft-map{position:relative;width:100%;aspect-ratio:4/3}
.ft .ft-map>iframe{position:absolute;inset:0;width:100%;height:100%}
@media(max-width:991.98px){.ft .ft-top{grid-template-columns:repeat(2,minmax(0,1fr))}.ft .ft-brand,.ft .ft-top>.ft-col:last-child{grid-column:1/-1}.ft .ft-map{aspect-ratio:16/9}}
@media(max-width:767.98px){.ft .ft-top{grid-template-columns:minmax(0,1fr)}.ft .ft-top>.ft-col{grid-column:auto}}
/* These obsolete surfaces have no trigger in the current homepage header. */
body.home-page #menu-mobile,body.home-page .modal,body.home-page .modal-backdrop,body.home-page .cart-fixed{display:none!important}

/* Existing public footer visual rules, unchanged. */
/* Footer (2026-10-26): 4 cột + khối pháp lý công ty + logo Bộ Công Thương, theo bố cục nhanhauclinic.com.vn */
.ft{--ft-accent:#fd5392;--ft-text:rgba(255,255,255,.82);color:#fff;padding-top:56px;margin-top:30px;font-size:15px;line-height:1.6}
.ft a{color:inherit;text-decoration:none}
.ft a:hover{color:#fff;text-decoration:underline}
.ft-top{row-gap:36px}
.ft-title{position:relative;font-size:17px;font-weight:600;letter-spacing:.02em;color:#fff;margin:0 0 22px;padding-bottom:12px}
.ft-title:after{content:"";position:absolute;left:0;bottom:0;width:40px;height:3px;border-radius:2px;background:var(--ft-accent)}
.ft-logo{display:inline-block}
.ft-logo img{width:150px;height:auto;filter:brightness(0) invert(1)}
.ft-desc{color:var(--ft-text);font-size:14px;margin:16px 0 18px}
.ft-desc p{margin:0}
.ft-social{display:flex;flex-wrap:wrap;gap:10px}
.ft-social a{display:block;width:36px;height:36px;border-radius:50%;overflow:hidden;transition:transform .2s ease}
.ft-social a:hover{transform:translateY(-2px)}
.ft-social img{width:100%;height:100%;object-fit:cover}
.ft-contact,.ft-links{list-style:none;margin:0;padding:0}
.ft-contact li{display:flex;align-items:flex-start;gap:12px;color:var(--ft-text);margin-bottom:16px}
.ft-contact img{flex-shrink:0;width:22px;height:22px;margin-top:1px}
.ft-links li{border-bottom:1px solid rgba(255,255,255,.12)}
.ft-links li:last-child{border-bottom:0}
.ft-links-group{margin-bottom:28px}
.ft-links a{position:relative;display:block;padding:9px 0 9px 18px;color:var(--ft-text);transition:padding-left .2s ease,color .2s ease}
.ft-links a:before{content:"";position:absolute;left:2px;top:50%;width:7px;height:7px;border-top:2px solid var(--ft-accent);border-right:2px solid var(--ft-accent);transform:translateY(-50%) rotate(45deg)}
.ft-links a:hover{color:#fff;text-decoration:none;padding-left:22px}
@media (prefers-reduced-motion:reduce){.ft-links a,.ft-social a{transition:none}}
.ft-bct{display:block;width:160px;height:auto;margin-top:18px}
.ft-map{border-radius:10px;overflow:hidden}
.ft-map iframe{width:100%;height:100%;border:0}
.ft-company{margin-top:44px;padding:26px 0 30px;border-top:1px solid rgba(255,255,255,.16);text-align:center;color:var(--ft-text);font-size:14px}
.ft-company p{margin:0 0 4px}
.ft-company .ft-company-name{color:#fff;font-weight:700;font-size:16px;letter-spacing:.03em;margin-bottom:8px}
.ft-bottom{background:#061538;color:var(--ft-text);text-align:center;font-size:14px;padding:16px 0}
.ft-bottom p{margin:0}
@media (max-width:991.98px){
  .ft{padding-top:44px}
  .ft-brand{text-align:center}
  .ft-social{justify-content:center}
  .ft-map{--bs-aspect-ratio:56.25%}
}
@media (max-width:575.98px){
  .ft-bottom{padding-bottom:96px} /* chừa chỗ cho thanh "Đặt lịch" cố định ở đáy màn hình điện thoại */
}

