/* Thanh Goi / Zalo / Dang ky duoi man hinh dien thoai (mobile-bar.js) - kieu thanh hanh dong cua ban preview fansipan */
.tgc-bar{display:none}
@media (max-width:767px){
  .tgc-bar{position:fixed;left:0;right:0;bottom:0;z-index:2147483000;display:grid;grid-template-columns:1fr 1fr 1.3fr;height:calc(58px + env(safe-area-inset-bottom));padding:0 0 env(safe-area-inset-bottom);
    background:#ece6db;border-top:1px solid #d8cfbf;box-shadow:0 -6px 20px rgba(0,0,0,.12);font:700 11px/1 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;letter-spacing:.14em;text-transform:uppercase}
  .tgc-bar__i{display:flex;align-items:center;justify-content:center;gap:9px;color:#1f1d1a!important;text-decoration:none!important;background:none;border:0;font:inherit;letter-spacing:inherit;text-transform:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}
  .tgc-bar__i svg{width:17px;height:17px;flex:0 0 auto}
  .tgc-bar__i:active{background:rgba(0,0,0,.05)}
  .tgc-bar__reg{margin:6px 6px 6px 0;background:#1e3a35;color:#f3ede2!important}
  .tgc-bar__reg:active{background:#12241f}
  .tgc-bar:has(> :nth-child(2):last-child){grid-template-columns:1fr 1.3fr}
  .tgc-bar:has(> :only-child){grid-template-columns:1fr}
  .tgc-bar:has(> :only-child) .tgc-bar__reg{margin:6px}
  /* chua cho cuoi trang khong bi thanh che */
  html.tgc-has-bar body{padding-bottom:calc(58px + env(safe-area-inset-bottom))}
}

.tgc-reg{position:fixed;inset:0;z-index:2147483600;display:none;align-items:flex-end;justify-content:center;background:rgba(8,14,12,.6);font:400 15px/1.5 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;color:#1f1d1a}
.tgc-reg.open{display:flex}
html.tgc-reg-on,html.tgc-reg-on body{overflow:hidden!important}
.tgc-reg__box{position:relative;width:100%;max-width:480px;max-height:92vh;overflow:auto;background:#f2ede4;padding:26px 20px calc(20px + env(safe-area-inset-bottom));border-radius:14px 14px 0 0;animation:tgc-reg-up .35s cubic-bezier(.2,.7,.1,1)}
@keyframes tgc-reg-up{from{transform:translateY(40px);opacity:0}to{transform:none;opacity:1}}
@media (min-width:768px){.tgc-reg{align-items:center}.tgc-reg__box{border-radius:6px;padding:32px 32px 28px}}
.tgc-reg__x{position:absolute;right:8px;top:8px;width:40px;height:40px;display:grid;place-items:center;background:none;border:0;color:#1f1d1a;cursor:pointer}
.tgc-reg__x svg{width:20px;height:20px}
.tgc-reg__t{margin:0 36px 6px 0;font:400 26px/1.15 "Noto Serif Display",Georgia,serif;color:#1e3a35;text-transform:none;letter-spacing:-.01em}
.tgc-reg__s{margin:0 0 16px;color:#625d53;font-size:14px}
.tgc-reg__f{display:grid;gap:10px;margin:0}
.tgc-reg__f input:not([type=checkbox]),.tgc-reg__f select,.tgc-reg__f textarea{width:100%;box-sizing:border-box;min-height:46px;padding:10px 12px;border:1px solid #cfc5b5;border-radius:0;background:#fff;color:#1f1d1a;font:inherit;font-size:16px;outline:none;-webkit-appearance:none;appearance:none}
.tgc-reg__f textarea{min-height:64px;resize:vertical}
.tgc-reg__f input:focus,.tgc-reg__f select:focus,.tgc-reg__f textarea:focus{border-color:#1e3a35}
.tgc-reg__l{display:grid;gap:4px;font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:#625d53}
.tgc-reg__f select{background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2 3.5l3 3 3-3' fill='none' stroke='%231f1d1a' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right 12px center/12px;padding-right:34px;text-transform:none;letter-spacing:0;font-weight:400}
.tgc-reg__hp{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;opacity:0}
.tgc-reg__c{display:flex;gap:8px;align-items:flex-start;font-size:13px;color:#625d53}
.tgc-reg__c input{margin-top:3px;accent-color:#1e3a35}
.tgc-reg__e{margin:0;min-height:0;color:#b42318;font-size:13px}
.tgc-reg__e:empty{display:none}
.tgc-reg__b{min-height:52px;border:0;background:#1e3a35;color:#f3ede2;font:700 12px/1 system-ui,sans-serif;letter-spacing:.14em;text-transform:uppercase;cursor:pointer}
.tgc-reg__b:disabled{opacity:.7}
.tgc-reg__ok{margin:6px 0 0;padding:14px;background:#e3efe7;color:#1e3a35;font-size:15px}
@media (max-width:767px){
  /* khoi toan man hinh (fullPage / video dau trang chu): chua cho thanh o day */
  html.tgc-has-bar .tgch-inner{bottom:calc(16px + 58px + env(safe-area-inset-bottom))}
}
/* iPhone (Safari, che do toi / tu dien): giu mau chu cua form, khong de trinh duyet hay CSS trang doi mau */
.tgc-reg{color-scheme:light}
.tgc-reg__box,.tgc-reg__box *{-webkit-text-fill-color:currentColor}
.tgc-reg__t{color:#1e3a35!important}
.tgc-reg__s,.tgc-reg__l,.tgc-reg__c,.tgc-reg__c span,.tgc-reg__c a{color:#625d53!important}
.tgc-reg__f input:not([type=checkbox]),.tgc-reg__f select,.tgc-reg__f textarea,.tgc-reg__f option{color:#1f1d1a!important;-webkit-text-fill-color:#1f1d1a!important;background-color:#fff!important;opacity:1!important}
.tgc-reg__f input::placeholder,.tgc-reg__f textarea::placeholder{color:#9a9386!important;-webkit-text-fill-color:#9a9386!important;opacity:1}
.tgc-reg__f input:-webkit-autofill{-webkit-box-shadow:0 0 0 40px #fff inset!important;-webkit-text-fill-color:#1f1d1a!important}
.tgc-reg__b{color:#f3ede2!important;-webkit-text-fill-color:#f3ede2!important}
.tgc-reg__ok{color:#1e3a35!important;-webkit-text-fill-color:#1e3a35!important}
.tgc-reg__e{color:#b42318!important;-webkit-text-fill-color:#b42318!important}
