.display-1 {
    font-size: calc(2rem + (5 - 2) * ((100vw - 1rem) / (120 - 1))) !important;
    line-height: calc(2rem + (5 - 2) * ((100vw - 1rem) / (120 - 1))) !important;
}
.display-2 {
    font-size: calc(1.75rem + (3.5 - 1.75) * ((100vw - 1rem) / (120 - 1))) !important;
    line-height: calc(1.75rem + (3.5 - 1.75) * ((100vw - 1rem) / (120 - 1))) !important;
}
.display-5 {
    font-size: calc(1.5rem + (2.75 - 1.5) * ((100vw - 1rem) / (120 - 1))) !important;
    line-height: calc(1.5rem + (3.5 - 2) * ((100vw - 1rem) / (120 - 1))) !important;
}
.display-6 {
    font-size: calc(1.2rem + (2.5 - 1.2) * ((100vw - 1rem) / (120 - 1))) !important;
    line-height: calc(1.2rem + (2.5 - 1.2) * ((100vw - 1rem) / (120 - 1))) !important;
}
.display-7 {
    font-size: calc(1.25rem + (2 - 1.25) * ((100vw - 1rem) / (120 - 1))) !important;
    line-height: calc(1.25rem + (2 - 1.25) * ((100vw - 1rem) / (120 - 1))) !important;
}
.display-8 {
    font-size: 1.6rem;
    font-size: calc(1.6rem + ((1vw - 0.01rem) * 0.084)) !important;
    line-height: calc(1.5 * (1.6rem + ((1vw - 0.01rem) * 0.084)));
}
.display-9 {
    font-size: 1rem;
    line-height: 1.4rem;
}
.btn {
    border-width: 2px;
    border-radius: 25px;
}
.btn {
    padding: 0.6rem 1.2rem;
}
.btn-line {
    background-color: #219100 !important;
    border-color: #219100 !important;
    color: #ffffff !important;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2);
}
.btn-line:active {
    background-color: #219100 !important;
    border-color: #219100 !important;
    color: #ffffff !important;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2);
}
.btn-line:hover,
.btn-line:focus,
.btn-line.focus,
.btn-line.active {
    color: #ffffff !important;
    background-color: #22f315 !important;
    border-color: #22f315 !important;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.2);
}
.btn-line.disabled,
.btn-line:disabled {
    color: #ffffff !important;
    background-color: #22f315 !important;
    border-color: #22f315 !important;
}
.btn-fb {
    background-color: #4267b2 !important;
    border-color: #4267b2 !important;
    color: #ffffff !important;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2);
}
.btn-fb:active {
    background-color: #6080b2 !important;
    border-color: #6980b2 !important;
    color: #ffffff !important;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2);
}
.btn-fb:hover,
.btn-fb:focus,
.btn-fb.focus,
.btn-fb.active {
    color: #ffffff !important;
    background-color: #608099 !important;
    border-color: #608099 !important;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.2);
}
.btn-fb.disabled,
.btn-fb:disabled {
    color: #ffffff !important;
    background-color: #6080b2 !important;
    border-color: #6080b2 !important;
}
.btn-primary {
    background-color: #ff5656 !important;
    border-color: #ff5656 !important;
    color: #ffffff !important;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2);
}
/* 無障礙（2026-11-01 TEN／Lighthouse color-contrast）：白字配品牌紅 #ff5656 對比 3.13，行內 font-size:2rem 的大按鈕字改粗體＝WCAG「大字」門檻 3:1，色碼不動 */
.btn-primary[style*="2rem"] {
    font-weight: 700;
}
/* 無障礙：美容站底部「立即預約」白字配 #ff6666 對比 2.85；改用與 .btn-primary 同一個品牌紅 #ff5656（3.13）＋粗體（22px 粗體＝大字，門檻 3:1） */
.btn-secondary.kb-cta-only {
    background-color: #ff5656 !important;
    border-color: #ff5656 !important;
    font-weight: 700;
}
/* 無障礙：小字白字按鈕改用較深的品牌紅 #d63a3a（對比 4.64，達 4.5）；大字按鈕維持 #ff5656＋粗體（上方）。懸停色維持原樣 */
.btn-primary:not([style*="2rem"]),
.btn-secondary:not(.kb-cta-only) {
    background-color: #d63a3a !important;
    border-color: #d63a3a !important;
}
.btn-primary:active {
    background-color: #ff5656 !important;
    border-color: #ff5656 !important;
    color: #ffffff !important;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2);
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary.focus,
.btn-primary.active {
    color: #ffffff !important;
    background-color: #fe0000 !important;
    border-color: #fe0000 !important;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.2);
}
.btn-primary.disabled,
.btn-primary:disabled {
    color: #ffffff !important;
    background-color: #fe0000 !important;
    border-color: #fe0000 !important;
}
.btn-secondary {
    background-color: #ff6666 !important;
    border-color: #ff6666 !important;
    color: #ffffff !important;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2);
}
.btn-secondary:active {
    background-color: #ff6666 !important;
    border-color: #ff6666 !important;
    color: #ffffff !important;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2);
}
.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary.focus,
.btn-secondary.active {
    color: #ffffff !important;
    background-color: #ff0f0f !important;
    border-color: #ff0f0f !important;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.2);
}
.btn-secondary.disabled,
.btn-secondary:disabled {
    color: #ffffff !important;
    background-color: #ff0f0f !important;
    border-color: #ff0f0f !important;
}
.btn-info {
    background-color: #47b5ed !important;
    border-color: #47b5ed !important;
    color: #ffffff !important;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2);
}
.btn-info:active {
    background-color: #47b5ed !important;
    border-color: #47b5ed !important;
    color: #ffffff !important;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2);
}
.btn-info:hover,
.btn-info:focus,
.btn-info.focus,
.btn-info.active {
    color: #ffffff !important;
    background-color: #148cca !important;
    border-color: #148cca !important;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.2);
}
.btn-info.disabled,
.btn-info:disabled {
    color: #ffffff !important;
    background-color: #148cca !important;
    border-color: #148cca !important;
}
.btn-success-outline {
    background-color: transparent !important;
    border-color: #ffffff;
    color: #ffffff;
}
.btn-success-outline:active {
    background-color: transparent !important;
    border-color: #ffffff;
    color: #ffffff;
    box-shadow: 0 0.2rem 1rem 5px rgba(255, 255, 255, 0.77);
}
.btn-success-outline:hover,
.btn-success-outline:focus,
.btn-success-outline.focus,
.btn-success-outline.active {
    color: #ffffff !important;
    background-color: transparent !important;
    border-color: #ffffff !important;
    box-shadow: 0 0.2rem 1rem 5px rgba(255, 255, 255, 0.77);
}
.btn-success-outline.disabled,
.btn-success-outline:disabled {
    color: #ffffff !important;
    background-color: #ffffff !important;
    border-color: #ffffff !important;
}
/* BUG-9M6MTT／6PFHST（Neo 2026-11-01）：區段捷徑（底部橫列與側邊目錄）「滑到哪裡就亮哪一個」；選中時顏色對調（白底深字）。kb-site.js 的 kbSectSpy 加／拿掉 .is-current */
.btn-success-outline.is-current {
    color: #353535 !important;
    background-color: #ffffff !important;
    border-color: #ffffff !important;
    box-shadow: none;
}
#kb-sectnav ul li a.is-current {
    color: #353535;
    background-color: rgba(255, 255, 255, 0.95);
}
/* BUG-V8MSMD／AZJM83（Neo 2026-11-01）：手機的「三大特色」卡片太大、且各張左右不齊（各卡左內距 15／5／15px）。手機（<768px）改左右兩欄：圖在左、字在右，各卡同寬同內距 */
@media (max-width: 767.98px) {
    .features-image {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 0.5rem 0.6rem !important;
    }
    .features-image .item-wrapper {
        display: flex;
        flex-wrap: nowrap !important;
        flex-direction: row !important;
        align-items: center;
        gap: 0.9rem;
        margin: 0 !important;
        padding: 0.7rem;
    }
    .features-image .item-img {
        flex: 0 0 34%;
        max-width: 34%;
    }
    .features-image .item-img img {
        width: 100%;
        height: auto;
    }
    .features-image .item-content {
        flex: 1 1 0;
        width: auto;
        min-width: 0;
        padding: 0 !important;
    }
}
.text-primary {
    color: #ff5656 !important;
}
.text-secondary {
    color: #ff6666 !important;
}
.text-white {
    color: #fafafa !important;
}
a.text-primary:hover,
a.text-primary:focus,
a.text-primary.active {
    color: #ef0000 !important;
}
a.text-secondary:hover,
a.text-secondary:focus,
a.text-secondary.active {
    color: #ff0000 !important;
}
a.text-white:hover,
a.text-white:focus,
a.text-white.active {
    color: #c7c7c7 !important;
}
a[class*="text-"]:not(.nav-link):not(.dropdown-item):not([role]) {
    position: relative;
    background-image: transparent;
    background-size: 10000px 2px;
    background-repeat: no-repeat;
    background-position: 0px 1.2em;
    background-position: -10000px 1.2em;
}
a[class*="text-"]:not(.nav-link):not(.dropdown-item):not([role]):hover {
    transition: background-position 2s ease-in-out;
    background-image: linear-gradient(currentColor 50%, currentColor 50%);
    background-position: 0px 1.2em;
}
.nav-tabs .nav-link.active {
    color: #d63a3a;
}
.nav-tabs .nav-link:not(.active) {
    color: #232323;
}
.mbr-section-btn a.btn:not(.btn-form) {
    border-radius: 100px;
}
a {
    color: #ff5656;
}
a:hover {
    color: #ff5656;
}
#scrollToTop a {
    border-radius: 100px;
}
.form-control {
    font-family: "Noto Sans TC", "Jost", sans-serif;
    font-size: 1.5rem;
    line-height: 1.5;
    font-weight: 400;
}
.form-control > .mbr-iconfont {
    font-size: 1.375rem;
}
.form-control:hover,
.form-control:focus {
    box-shadow:
        rgba(0, 0, 0, 0.07) 0px 1px 1px 0px,
        rgba(0, 0, 0, 0.07) 0px 1px 3px 0px,
        rgba(0, 0, 0, 0.03) 0px 0px 0px 1px;
    border-color: #ff5656 !important;
}
.form-control:-webkit-input-placeholder {
    font-family: "Noto Sans TC", "Jost", sans-serif;
    font-size: 1.1rem;
    line-height: 1.5;
    font-weight: 400;
}
.form-control:-webkit-input-placeholder > .mbr-iconfont {
    font-size: 1.375rem;
}
blockquote {
    border-color: #ff5656;
}
body {
    overflow-x: hidden;
}
a {
    transition: color 0.6s;
}
#kb-header .navbar {
    height: 64px;
    box-shadow: 5px 7px 23px rgba(0, 0, 0, 0.4);
}
#kb-header .navbar-brand {
    width: 20vw;
}
#kb-header .nav-link {
    font-size: 1.75rem;
    color: #ffffff;
    margin-right: 3rem;
}
#kb-header .navbar-toggler-icon {
    font-size: 2rem;
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(0, 0, 0, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}
#kb-header .container {
    height: 44px;
}
#kb-header .navbar-toggler {
    margin-top: 4px;
    background-color: #ffffff;
}
#kb-header .dropdown-menu {
    border: none;
    top: 35px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 0px 5px 5px 5px;
    box-shadow: 5px 7px 23px rgba(0, 0, 0, 0.4);
}
#kb-header .dropdown-item {
    font-size: 1.75rem;
    padding: 5px 10px 5px 10px;
}
#kb-header .dropdown-item:first-child {
    padding: 5px 10px 5px 10px;
}
#kb-header .dropdown-item:last-child {
    padding: 5px 10px 10px 10px;
}
@media (min-width: 991px) {
    #kb-sectnav-bar,
    kb-actionbar,
    .kb-swipe {
        visibility: hidden;
        display: none;
    }
    #kb-actionbar {
        overflow-x: auto !important;
        text-align: center;
        padding-top: 0.2rem;
    }
    #kb-actionbar .btn:last-child {
        margin-right: 0rem !important;
    }
}
@media (max-width: 990.99px) {
    #kb-header .navbar-collapse {
        position: fixed;
        left: 0px;
        top: 64px;
        width: 100vw;
        background-color: #8b8b14;
        box-shadow: 5px 7px 23px rgba(0, 0, 0, 0.4);
    }
    #kb-header .nav-item {
        padding: 5px 0px 5px 10vw;
    }
    #kb-header .nav-item:first-child {
        padding: 10px 5px 5px 10vw;
    }
    #kb-header .nav-item:last-child {
        padding: 5px 5px 10px 10vw;
    }
    #kb-header .dropdown-menu {
        background-color: rgba(255, 255, 255, 0.8);
        border-radius: 5px 0px 0px 5px;
    }
    #kb-header .dropdown-item {
        font-size: 1.75rem;
        padding: 10px 5px 15px 10vw;
    }
    #kb-header .dropdown-item:first-child {
        padding: 10px 5px 10px 10vw;
    }
    #kb-header .dropdown-item:last-child {
        padding: 5px 5px 15px 10vw;
    }
    #kb-sectnav,
    #kb-sectnav-toggle,
    #kb-qrpanel,
    #kb-qrpanel-toggle {
        visibility: hidden;
        display: none;
    }
    #kb-totop {
        bottom: 15.5rem !important;
    }
}
#kb-sectnav {
    padding-top: 5px;
    padding-bottom: 5px;
    border-radius: 0px 25px 25px 0px;
    background: rgba(53, 53, 53, 0.8);
    position: fixed;
    top: 84px;
    z-index: 1049;
    box-shadow: 5px 7px 23px rgba(0, 0, 0, 0.4);
}
#kb-sectnav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
#kb-sectnav ul li a {
    display: block;
    padding: 0.5rem 1rem;
    color: #ffffff;
    text-decoration: none;
    margin-right: 5px;
    font-size: calc(1.25rem + (1.5 - 1.25) * ((100vw - 1rem) / (120 - 1))) !important;
}
#kb-sectnav ul li a:hover {
    background-color: rgba(157, 157, 157, 0.7);
    color: #990000;
    position: relative;
    top: 1px;
    left: 1px;
    border-radius: 0px 25px 25px 0px;
}
#kb-sectnav-toggle {
    width: 30px;
    cursor: pointer;
    background-color: blanchedalmond;
    height: 70%;
    padding-top: 8%;
    padding-left: 0.8%;
    position: absolute;
    left: 100%;
    top: 10%;
    font-size: 1.5rem;
    writing-mode: vertical-lr;
    letter-spacing: 1rem;
    border-radius: 0px 10px 10px 0px;
    box-shadow: 5px 7px 23px rgba(0, 0, 0, 0.4);
}
#kb-qrpanel {
    padding: 15px 15px 0px 15px;
    border-radius: 25px 0px 0px 25px;
    background: rgba(255, 255, 255, 0.8);
    position: fixed;
    top: 84px;
    right: 0px;
    z-index: 1049;
    box-shadow: 5px 7px 23px rgba(0, 0, 0, 0.4);
}
#kb-qrpanel p {
    margin-bottom: 20px;
}
#kb-qrpanel p:last-child {
    margin-bottom: 15px;
}
#kb-qrpanel-toggle {
    width: 50px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.95);
    height: 50px;
    position: fixed;
    text-align: center;
    right: 0.9rem;
    top: 4.7rem;
    padding-top: 0.4rem;
    font-size: 1rem;
    align-content: center;
    border-radius: 25px 25px 25px 25px;
    border-width: 2px;
    border-style: solid;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
    z-index: 2022;
}
#kb-sectnav-bar {
    position: fixed;
    left: 0px;
    bottom: 9.5rem;
    z-index: 1049;
    width: 100vw;
    height: 5rem;
    padding-top: 0.2rem;
    white-space: nowrap;
    overflow-x: scroll;
    background-color: rgba(30, 30, 30, 0.9);
}
#kb-sectnav-bar div {
    font-size: 1.5rem;
    padding: 0.2rem 1rem 0.2rem 1rem;
}
#kb-sectnav-bar .btn:last-child {
    margin-right: 10rem;
}
#kb-actionbar {
    position: fixed;
    white-space: nowrap;
    overflow-x: scroll;
    left: 0px;
    z-index: 1049;
    width: 100vw;
    height: 5.5rem;
    bottom: 4rem;
    box-shadow: 5px 7px 23px rgba(0, 0, 0, 0.4);
}
#kb-actionbar div {
    font-size: 2rem;
    padding: 0.2rem 1rem 0.2rem 1rem;
}
#kb-actionbar .btn:last-child {
    margin-right: 10rem;
}
#kb-totop {
    cursor: pointer;
    position: fixed;
    bottom: 10.5rem;
    right: 2rem;
    color: #ff195a;
    background: rgba(197, 197, 197, 0.86);
    width: 50px;
    height: 50px;
    display: block;
    text-decoration: none;
    -webkit-border-radius: 35px;
    -moz-border-radius: 35px;
    border-radius: 35px;
    display: none;
    z-index: 1049;
    box-shadow: 5px 7px 23px rgba(0, 0, 0, 0.4);
}
#kb-totop img {
    width: 33px;
    margin-left: 8px;
    margin-top: 9px;
}
#kb-totop i {
    color: #ff195a;
    margin: 0;
    position: relative;
    left: 15px;
    top: 9px;
    font-size: 30px;
}
.kb-swipe {
    width: 6rem;
    position: fixed;
    left: 0.5rem;
    background-color: #0000009c;
    padding: 0.5rem;
    border-radius: 3rem;
    bottom: -0.5rem;
    z-index: 1049;
    animation: finger infinite 4s;
}
@keyframes finger {
    0% {
        transform: translate(-5px);
    }
    25% {
        transform: translate(6rem);
    }
    50% {
        transform: translate(-5px);
    }
    75% {
        transform: translate(6rem);
    }
    100% {
        transform: translate(-5px);
    }
}
.kb-logo--clinic {
    font-family: trajan-pro-3;
    color: #fff;
    margin-top: 5px;
    margin-bottom: 3px;
}
.kb-logo--clinic span {
    display: block;
}
.kb-logo--clinic .en,
.kb-logo--clinic .sub,
.kb-logo--clinic .tw {
    font-weight: lighter;
}
.kb-logo--www {
    font-family: trajan-pro-3;
    color: #fff;
    margin-top: 5px;
    margin-bottom: 3px;
}
.kb-logo--www span {
    display: block;
}
.kb-logo--www .en,
.kb-logo--www .sub,
.kb-logo--www .tw {
    font-weight: lighter;
}
.lpg {
    height: 53px;
    width: 140px;
    float: right !important;
    position: absolute;
    background-image: url("../img/keybeauty-lpg-white.svg");
    background-repeat: no-repeat;
}
@media (max-width: 375.98px) {
    .kb-logo--clinic {
        position: relative;
        top: -3px;
    }
    .kb-logo--clinic .en {
        font-size: 1.5rem;
        letter-spacing: 0.5rem;
    }
    .kb-logo--clinic .sub {
        font-size: 1rem;
        letter-spacing: 0.2rem;
        margin-top: 2px;
        margin-bottom: 3px;
    }
    .kb-logo--clinic .tw {
        font-size: 1.4rem;
        letter-spacing: 1rem;
    }
    .kb-logo--www {
        position: relative;
        top: -4px;
    }
    .kb-logo--www .en {
        font-size: 1.5rem;
        letter-spacing: 0.32rem;
    }
    .kb-logo--www .sub {
        font-size: 1rem;
        letter-spacing: -0.14rem;
        margin-top: 2px;
        margin-bottom: 3px;
    }
    .kb-logo--www .tw {
        font-size: 1.4rem;
        letter-spacing: 0.25rem;
    }
    .lpg {
        top: -1px;
        left: 170px;
        height: 54px;
        width: 132px;
    }
}
@media (min-width: 376px) and (max-width: 575.98px) {
    .kb-logo--clinic {
        position: relative;
        top: -3px;
    }
    .kb-logo--clinic .en {
        font-size: 1.5rem;
        letter-spacing: 0.5rem;
    }
    .kb-logo--clinic .sub {
        font-size: 1rem;
        letter-spacing: 0.2rem;
        margin-top: 2px;
        margin-bottom: 3px;
    }
    .kb-logo--clinic .tw {
        font-size: 1.4rem;
        letter-spacing: 1rem;
    }
    .kb-logo--www {
        position: relative;
        top: -4px;
    }
    .kb-logo--www .en {
        font-size: 1.5rem;
        letter-spacing: 0.32rem;
    }
    .kb-logo--www .sub {
        font-size: 1rem;
        letter-spacing: -0.14rem;
        margin-top: 2px;
        margin-bottom: 3px;
    }
    .kb-logo--www .tw {
        font-size: 1.4rem;
        letter-spacing: 0.25rem;
    }
    .lpg {
        top: -1px;
        left: 170px;
        height: 54px;
        width: 132px;
    }
}
@media (min-width: 576px) and (max-width: 767.98px) {
    .kb-logo--clinic {
        position: relative;
        top: -3px;
    }
    .kb-logo--clinic .en {
        font-size: 1.5rem;
        letter-spacing: 0.5rem;
    }
    .kb-logo--clinic .sub {
        font-size: 1rem;
        letter-spacing: 0.2rem;
        margin-top: 2px;
        margin-bottom: 3px;
    }
    .kb-logo--clinic .tw {
        font-size: 1.4rem;
        letter-spacing: 1rem;
    }
    .kb-logo--www {
        position: relative;
        top: -3px;
    }
    .kb-logo--www .en {
        font-size: 1.5rem;
        letter-spacing: 0.88rem;
    }
    .kb-logo--www .sub {
        font-size: 1rem;
        letter-spacing: 0.11rem;
        margin-top: 2px;
        margin-bottom: 3px;
    }
    .kb-logo--www .tw {
        font-size: 1.4rem;
        letter-spacing: 1rem;
    }
    .lpg {
        top: -2px;
        left: 238px;
    }
}
@media (min-width: 768px) and (max-width: 991.98px) {
    .kb-logo--clinic {
        position: relative;
        top: -3px;
    }
    .kb-logo--clinic .en {
        font-size: 1.5rem;
        letter-spacing: 0.5rem;
    }
    .kb-logo--clinic .sub {
        font-size: 1rem;
        letter-spacing: 0.2rem;
        margin-top: 2px;
        margin-bottom: 3px;
    }
    .kb-logo--clinic .tw {
        font-size: 1.4rem;
        letter-spacing: 1rem;
    }
    .kb-logo--www {
        position: relative;
        top: -3px;
    }
    .kb-logo--www .en {
        font-size: 1.5rem;
        letter-spacing: 1.09rem;
    }
    .kb-logo--www .sub {
        font-size: 1rem;
        letter-spacing: 0.2rem;
        margin-top: 2px;
        margin-bottom: 3px;
    }
    .kb-logo--www .tw {
        font-size: 1.4rem;
        letter-spacing: 1.28rem;
    }
    .lpg {
        top: -3px;
        left: 264px;
    }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
    .kb-logo--clinic {
        position: relative;
        top: 0px;
    }
    .kb-logo--clinic .en {
        font-size: 1.8rem;
        letter-spacing: 1rem;
    }
    .kb-logo--clinic .sub {
        font-size: 1rem;
        letter-spacing: 0.7rem;
        margin-top: 2px;
        margin-bottom: 3px;
    }
    .kb-logo--clinic .tw {
        font-size: 1.7rem;
        letter-spacing: 1.9rem;
    }
    .kb-logo--www {
        position: relative;
        top: 1px;
    }
    .kb-logo--www .en {
        font-size: 1.8rem;
        letter-spacing: 1.1rem;
    }
    .kb-logo--www .sub {
        font-size: 1rem;
        letter-spacing: 0.3rem;
        margin-top: 2px;
        margin-bottom: 3px;
    }
    .kb-logo--www .tw {
        font-size: 1.7rem;
        letter-spacing: 1.25rem;
    }
    .lpg {
        top: 0px;
        left: 290px;
    }
}
@media (min-width: 1200px) {
    .kb-logo--clinic {
        position: relative;
        top: 0px;
    }
    .kb-logo--clinic .en {
        font-size: 1.8rem;
        letter-spacing: 1rem;
    }
    .kb-logo--clinic .sub {
        font-size: 1rem;
        letter-spacing: 0.7rem;
        margin-top: 2px;
        margin-bottom: 3px;
    }
    .kb-logo--clinic .tw {
        font-size: 1.7rem;
        letter-spacing: 1.9rem;
    }
    .kb-logo--www {
        position: relative;
        top: 1px;
    }
    .kb-logo--www .en {
        font-size: 1.8rem;
        letter-spacing: 1.59rem;
    }
    .kb-logo--www .sub {
        font-size: 1rem;
        letter-spacing: 0.515rem;
        margin-top: 2px;
        margin-bottom: 3px;
    }
    .kb-logo--www .tw {
        font-size: 1.7rem;
        letter-spacing: 1.9rem;
    }
    .lpg {
        top: -1px;
        left: 349px;
    }
}
.kb-shadow,
.mbr-embedded-video,
.mbr-gallery .item-wrapper {
    box-shadow: 8px 8px 14px rgba(0, 0, 0, 0.3);
    -webkit-box-shadow: 8px 8px 14px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 8px 8px 14px rgba(0, 0, 0, 0.3);
}
section {
    background-color: transparent;
}
.kb-sec-title {
    position: relative;
}
.kb-sec-title[data-kb-no]::before {
    content: attr(data-kb-no);
    content: attr(data-kb-no) / "";
    position: absolute;
    left: max(1rem, calc(50% - 600px));
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.4rem;
    font-weight: 300;
    line-height: 1;
    color: rgba(255, 255, 255, 0.28);
    pointer-events: none;
    user-select: none;
}
@media (max-width: 575.98px) {
    .kb-sec-title[data-kb-no]::before {
        left: 0.75rem;
        font-size: 1.6rem;
    }
}
.kb-sec-header p.display-5:not([name]) {
    font-size: calc(0.8 * (1.5rem + (2.75 - 1.5) * ((100vw - 1rem) / (120 - 1)))) !important;
    line-height: 1.5 !important;
}
.kb-sec-header {
    background-size: cover !important;
}
.kb-sec-header h1,
.kb-sec-header h2,
.kb-sec-header p {
    text-shadow: rgba(255, 255, 255, 0.8) 0px 0px 10px;
}
@media (max-width: 575.98px) {
    .kb-sec-header {
        background-position: 60% 50% !important;
    }
}
@media (min-width: 576px) and (max-width: 767.98px) {
    .kb-sec-header {
        background-position: 55% 50% !important;
    }
}
@media (min-width: 768px) and (max-width: 991.98px) {
    .kb-sec-header {
        background-position: 50% 50% !important;
    }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
    .kb-sec-header {
        background-position: 50% 50% !important;
    }
}
@media (min-width: 1200px) {
    .kb-sec-header {
        background-position: 50% 50% !important;
    }
}
#sect_0 {
    margin: 0px;
    padding-top: 64px;
}
@media (max-width: 575.98px) {
    #sect_0 {
        padding-top: 55px;
    }
}
.mbr-item-subtitle {
    border-radius: 0.5rem;
    height: 30px;
    position: absolute;
    left: 5%;
    right: 5%;
    top: 150px;
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.7);
}
.kb-sec-content img {
    width: 100%;
}
@media (max-width: 991px) {
    .kb-sec-content .image-wrapper {
        margin-bottom: 1rem;
    }
}
@media (min-width: 992px) {
    .kb-sec-content .text-wrapper {
        padding: 2rem;
    }
}
.kb-sec-card img,
.kb-sec-card .item-img {
    width: 100%;
    object-fit: cover;
}
.kb-sec-card .item:focus,
.kb-sec-card span:focus {
    outline: none;
}
.kb-sec-card .item {
    cursor: pointer;
    margin-bottom: 2rem;
}
.kb-sec-card .item-wrapper {
    position: relative;
    border-radius: 10px;
    background-color: #ffffff;
    height: 100%;
    display: flex;
    flex-flow: column nowrap;
}
.kb-sec-card .mbr-section-btn {
    margin-top: auto !important;
}
.kb-sec-card .mbr-section-btn,
.kb-sec-card .item-title {
    text-align: left;
}
@media (min-width: 576px) and (max-width: 767.98px) {
    .kb-sec-card .item:nth-child(odd) {
        padding-right: 0.5rem;
    }
    .kb-sec-card .item:nth-child(even) {
        padding-left: 0.5rem;
    }
}
@media (min-width: 992px) {
    .kb-sec-card .item-wrapper .item-content {
        padding: 1rem;
    }
}
@media (max-width: 991px) {
    .kb-sec-card .item-wrapper .item-content {
        padding: 1rem;
    }
}
.kb-sec-banner {
    background-color: rgba(48, 48, 48, 0.85);
}
.kb-sec-qa .mbr-iconfont {
    font-size: 1.4rem !important;
    font-family: "Moririse2" !important;
    color: #ff5656;
    margin-left: 1rem;
}
.kb-sec-qa .panel-group {
    border: none;
}
.kb-sec-qa .panel-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.kb-sec-qa .panel-body,
.kb-sec-qa .card-header {
    padding: 1rem 0;
}
.kb-sec-qa .panel-title-edit {
    color: #000000;
}
.kb-sec-qa .card .card-header {
    background-color: transparent;
    margin-bottom: 0;
}
.kb-sec-steps .item {
    display: flex;
    align-items: center;
    flex-direction: column;
}
.kb-sec-steps .item .icon-wrap {
    text-align: center;
}
.kb-sec-steps .item span {
    font-size: 2rem;
    color: #ffffff;
    line-height: 60px;
}
.kb-sec-steps .item::before {
    content: "\e96b";
    font-family: Moririse2 !important;
    position: absolute;
    font-size: 32px;
    left: -15px;
    top: 12%;
    color: #6592e6;
}
.kb-sec-steps .item.first:before {
    display: none;
}
.kb-sec-steps .icon-box {
    background: #6592e6;
    width: 60px;
    min-width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    display: inline-block;
}
.kb-sec-steps .text-box {
    margin-top: 1rem;
    text-align: center;
}
.kb-sec-steps .mbr-iconfont {
    color: #ff5656 !important;
    position: absolute;
    top: 50%;
    left: 100%;
}
@media (max-width: 991px) {
    .kb-sec-steps .item:before {
        display: none;
    }
    .kb-sec-steps .card-wrapper {
        margin-bottom: 2rem;
    }
}
.kb-sec-gallery .row {
    margin-left: 0;
    margin-right: 0;
}
.kb-sec-gallery .item {
    padding-left: 0;
    padding-right: 0;
}
.kb-sec-gallery .item-wrapper {
    height: 200px;
    position: relative;
}
.kb-sec-gallery .item-wrapper img {
    height: 100%;
    object-fit: cover;
}
.kb-sec-gallery .item-wrapper .icon-wrapper {
    pointer-events: none;
    position: absolute;
    width: 60px;
    height: 60px;
    font-size: 22px;
    left: 50%;
    top: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
    border-radius: 50%;
    opacity: 0;
    color: #ffffff;
    transform: translateX(-50%) translateY(-50%);
    background-color: #1b1b1b;
    transition: 0.2s;
}
.kb-sec-gallery .item-wrapper:hover .icon-wrapper {
    opacity: 0.7;
}
.kb-sec-gallery .carousel-control,
.kb-sec-gallery .close {
    background: #1b1b1b;
}
.kb-sec-gallery .carousel-control-prev {
    margin-left: 2.5rem;
}
.kb-sec-gallery .carousel-control-prev span {
    margin-right: 5px;
}
.kb-sec-gallery .carousel-control-next {
    margin-right: 2.5rem;
}
.kb-sec-gallery .carousel-control-next span {
    margin-left: 5px;
}
.kb-sec-gallery .close {
    position: fixed;
    opacity: 0.5;
    font-size: 22px;
    font-weight: 300;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    color: #fff;
    top: 2.5rem;
    right: 2.5rem;
    border: 2px solid #fff;
    text-shadow: none;
    z-index: 5;
    transition: opacity 0.3s ease;
    font-family: "Moririse2";
    align-items: center;
    justify-content: center;
    display: flex;
}
.kb-sec-gallery .close::before {
    content: "\e91a";
}
.kb-sec-gallery .close:hover {
    opacity: 1;
    background: #000;
    color: #fff;
}
.kb-sec-gallery .carousel-control {
    display: flex;
    top: 50%;
    width: 60px;
    height: 60px;
    margin-top: 2.5rem;
    font-size: 22px;
    background-color: rgba(0, 0, 0, 0.5);
    border: 2px solid #fff;
    border-radius: 50%;
    transition: all 0.3s;
}
.kb-sec-gallery .carousel-control.carousel-control-prev {
    left: 0;
    margin-left: 2.5rem;
}
.kb-sec-gallery .carousel-control.carousel-control-next {
    right: 0;
    margin-right: 2.5rem;
}
.kb-sec-gallery .carousel-indicators {
    position: absolute;
    bottom: 0;
    margin-bottom: 3px;
}
.kb-sec-gallery .carousel-indicators li {
    max-width: 15px;
    height: 15px;
    width: 15px;
    max-height: 15px;
    margin: 3px;
    background-color: rgba(0, 0, 0, 0.5);
    border: 2px solid #fff;
    border-radius: 50%;
    opacity: 0.5;
    transition: all 0.3s;
}
.kb-sec-gallery .carousel-indicators li.active,
.kb-sec-gallery .carousel-indicators li:hover {
    opacity: 0.9;
}
.kb-sec-gallery .carousel-indicators li::after,
.kb-sec-gallery .carousel-indicators li::before {
    content: none;
}
.kb-sec-gallery .carousel-indicators.ie-fix {
    left: 50%;
    display: block;
    width: 60%;
    margin-left: -30%;
    text-align: center;
}
.kb-sec-gallery .carousel-inner {
    display: flex;
    align-items: center;
}
.kb-sec-gallery .carousel-inner > .active {
    display: block;
}
.kb-sec-gallery .carousel-control.left {
    left: 0;
    margin-left: 2.5rem;
}
.kb-sec-gallery .carousel-control.right {
    right: 0;
    margin-right: 2.5rem;
}
.kb-sec-gallery .carousel-control:hover {
    background: #1b1b1b;
    color: #fff;
    opacity: 1;
}
.kb-sec-gallery .carousel-indicators .active,
.kb-sec-gallery .carousel-indicators li {
    width: 7px;
    height: 7px;
    margin: 3px;
    background: #000000;
    opacity: 0.5;
    border: 4px solid #000000;
}
.kb-sec-gallery .carousel-indicators .active {
    background: #fff;
}
.kb-sec-gallery .carousel-indicators li {
    max-width: 15px;
    max-height: 15px;
    border-radius: 50%;
}
.kb-sec-gallery .modal {
    padding-left: 0 !important;
    position: fixed;
    overflow: hidden;
    padding-right: 0 !important;
}
.kb-sec-gallery .modal-dialog {
    margin: 0 auto;
    max-width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
}
.kb-sec-gallery .modal-content {
    border-radius: 0;
    border: none;
    background: transparent;
}
.kb-sec-gallery .modal-body {
    padding: 0;
    display: flex;
    align-items: center;
}
.kb-sec-gallery .modal-body img {
    width: 100%;
    object-fit: contain;
    max-height: calc(100vh - 1.75rem);
}
.kb-sec-gallery .carousel {
    width: 100%;
}
.kb-sec-gallery .modal-backdrop.in {
    opacity: 0.8;
}
.kb-sec-gallery .modal.fade .modal-dialog {
    transition: margin-top 0.3s ease-out;
    transform: none;
}
.kb-sec-gallery .modal.in .modal-dialog {
    transform: none;
}
.kb-sec-gallery .mbr-gallery .item-wrapper {
    cursor: pointer;
}
.kb-sec-gallery H6 {
    text-align: center;
}
@media (max-width: 767px) {
    .kb-sec-gallery .carousel-control {
        top: auto;
        bottom: 1rem;
    }
}
@media (max-width: 768px) {
    .kb-sec-gallery .carousel-indicators {
        display: none !important;
    }
}
@media (max-width: 991px) {
    .kb-sec-gallery .carousel-indicators {
        margin-bottom: 3.625rem !important;
        padding-left: 2.5rem;
        padding-right: 2.5rem;
    }
}
@media (max-width: 767px) {
    .kb-sec-gallery .carousel-indicators {
        display: none;
    }
}
@media (max-width: 768px) {
    .kb-sec-gallery .carousel-control,
    .kb-sec-gallery .carousel-indicators,
    .kb-sec-gallery .modal .close {
        position: fixed;
    }
}
@media (max-width: 767px) {
    .kb-sec-gallery .mbr-slider .carousel-control {
        top: auto;
        bottom: 20px;
    }
    .kb-sec-gallery .mbr-slider > .container .carousel-control {
        margin-bottom: 0;
    }
}
.kb-sec-slider .carousel,
.kb-sec-slider .carousel-inner {
    display: flex;
    align-items: center;
}
.kb-sec-slider .carousel-inner {
    border-radius: 10px 10px 10px 10px;
}
.kb-sec-slider .item-wrapper {
    width: 100%;
}
.kb-sec-slider .carousel-caption {
    bottom: 20px;
    right: 0%;
    left: 0%;
    color: rgba(0, 0, 0, 0.82);
    background-color: rgba(255, 255, 255, 0.9);
}
.kb-sec-slider .carousel-control:hover {
    background: #1b1b1b;
    color: #fff;
    opacity: 1;
}
.kb-sec-slider .mobi-mbri-arrow-next {
    margin-left: 5px;
}
.kb-sec-slider .mobi-mbri-arrow-prev {
    margin-right: 5px;
}
.kb-sec-slider .container .carousel-indicators {
    margin-bottom: 3px;
}
.kb-sec-slider .carousel-control {
    top: 50%;
    width: 60px;
    height: 60px;
    margin-top: -1.5rem;
    font-size: 22px;
    background-color: rgba(0, 0, 0, 0.5);
    border: 2px solid #fff;
    border-radius: 50%;
    transition: all 0.3s;
}
.kb-sec-slider .carousel-control.carousel-control-prev {
    left: 0;
    margin-left: 6.5rem;
}
.kb-sec-slider .carousel-control.carousel-control-next {
    right: 0;
    margin-right: 6.5rem;
}
.kb-sec-slider .carousel-indicators {
    position: absolute;
    bottom: 0;
    margin-bottom: 1.5rem !important;
}
.kb-sec-slider .carousel-indicators li {
    max-width: 15px;
    height: 15px;
    width: 15px;
    max-height: 15px;
    margin: 3px;
    background-color: rgba(0, 0, 0, 0.5);
    border: 2px solid #fff;
    border-radius: 50%;
    opacity: 0.5;
    transition: all 0.3s;
}
.kb-sec-slider .carousel-indicators li.active,
.kb-sec-slider .carousel-indicators li:hover {
    opacity: 0.9;
}
.kb-sec-slider .carousel-indicators li::after,
.kb-sec-slider .carousel-indicators li::before {
    content: none;
}
.kb-sec-slider .carousel-indicators.ie-fix {
    left: 50%;
    display: block;
    width: 60%;
    margin-left: -30%;
    text-align: center;
}
@media (min-width: 992px) {
    .kb-sec-slider .carousel {
        min-height: 800px;
    }
    .kb-sec-slider .carousel img {
        max-height: 800px;
        object-fit: contain;
    }
}
@media (max-width: 991px) and (min-width: 768px) {
    .kb-sec-slider .carousel {
        min-height: 520px;
    }
    .kb-sec-slider .carousel img {
        max-height: 520px;
        object-fit: contain;
    }
}
@media (max-width: 767px) {
    .kb-sec-slider .carousel {
        padding-bottom: 25px;
    }
    .kb-sec-slider .carousel img {
        max-height: 440px;
        object-fit: contain;
    }
    .kb-sec-slider .container .carousel-control {
        margin-bottom: -28px;
    }
}
@media (max-width: 767px) {
    .kb-sec-slider .carousel-control {
        top: auto;
        bottom: 1rem;
    }
}
@media (max-width: 768px) {
    .kb-sec-slider .carousel-indicators {
        display: none !important;
    }
}
.kb-footer {
    padding-top: 75px;
    padding-bottom: 30rem;
    background-image: linear-gradient(135deg, #3b2667 10%, #bc78ec 100%);
}
.kb-footer .map {
    height: 18.75rem;
}
.kb-footer .footer-lower hr {
    margin: 1rem 0;
    border-color: #fff;
    opacity: 0.05;
}
.kb-footer .kb-map {
    height: 25rem;
    position: relative;
}
.kb-footer .kb-map iframe {
    height: 100%;
    width: 100%;
}
.kb-footer .kb-map [data-state-details] {
    color: #6b6763;
    font-family: Montserrat;
    height: 1.5em;
    margin-top: -0.75em;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    position: absolute;
    text-align: center;
    top: 50%;
    width: 100%;
}
.kb-footer .kb-map[data-state] {
    background: #e9e5dc;
}
.kb-footer .kb-map[data-state="loading"] [data-state-details] {
    display: none;
}
.kb-footer .list {
    list-style-type: none;
    padding: 0;
}
@media (max-width: 767px) {
    .kb-footer .content {
        text-align: center;
    }
    .kb-footer .content > div:not(:last-child) {
        margin-bottom: 2rem;
    }
}
@media (max-width: 767px) {
    .kb-footer .footer-lower .copyright {
        margin-bottom: 1rem;
        text-align: center;
    }
}
.kb-services .sContent {
    position: absolute;
    bottom: 2rem;
    background-color: rgba(53, 53, 53, 0.75);
    width: 100%;
    height: 30%;
}
.kb-services .sTitle {
    font-size: calc(1.8rem + ((1vw - 0.01rem) * 0.201));
    letter-spacing: 0.05rem;
}
.kb-services .sSubTitle {
    font-size: calc(1.4rem + ((1vw - 0.01rem) * 0.1508));
    letter-spacing: 0.05rem;
}
.kb-services .sParts {
    font-size: 1.4rem;
}
.kb-services .sSale0 {
    font-size: 1rem;
}
.kb-services .sSale1 {
    font-size: 1rem;
}
.kb-services .sNo {
    position: absolute;
    bottom: -26px;
}
.kb-services .sGo {
    right: -3.5rem;
    bottom: 1.75rem;
    position: absolute;
    transform: scaleX(0.15);
    width: 0;
    height: 0;
    border-top: 30px solid transparent;
    border-left: 100px solid rgba(255, 255, 255, 0.9);
    border-bottom: 30px solid transparent;
}
.kb-services .item-img {
    overflow: hidden;
}
@media (min-width: 768px) and (max-width: 991.98px) {
    .sContent {
        position: absolute;
        bottom: 2rem;
        background-color: rgba(53, 53, 53, 0.75);
        width: 100%;
        height: 30%;
    }
    .sTitle {
        font-size: 1rem !important;
        letter-spacing: 0rem;
        left: -1px;
        top: -3px;
        position: relative;
    }
    .sSubTitle {
        font-size: 0.9rem !important;
        letter-spacing: 0.05rem;
        transform: scale(0.9);
        left: -10px;
        top: -6px;
        position: relative;
    }
    .sParts {
        font-size: 1rem !important;
        transform: scale(0.95);
        left: -6px;
        top: -10px;
        position: relative;
    }
    .sSale0 {
        font-size: 1rem !important;
    }
    .sSale1 {
        font-size: 1rem !important;
    }
    .sNo {
        position: relative;
        top: 26px;
    }
    .sGo {
        right: -4rem !important;
        bottom: 0.14rem !important;
        position: absolute;
        transform: scaleX(0.15);
        width: 0;
        height: 0;
        border-top: 30px solid transparent;
        border-left: 100px solid rgba(255, 255, 255, 0.9);
        border-bottom: 30px solid transparent;
    }
}
@media (min-width: 992px) {
    .kb-services img {
        transform: scale(1, 1);
        transition: all 1s ease-out;
    }
    .kb-services img:hover {
        transform-origin: 35% 35%;
        transform: scale(1.5, 1.5);
    }
}
html {
    font-size: 62.5% !important;
}
[data-btn] {
    cursor: pointer;
}
#kb-booking-lb {
    font-size: 2rem;
}
label {
    font-size: 1.75rem !important;
}
.modal-content {
    border-radius: 1.5rem !important;
}
@media (max-width: 576px) {
    .modal-dialog {
        max-width: 80%;
        margin: 1.75rem auto;
    }
}
.text-muted2 {
    color: #f72162 !important;
    font-size: 1.3rem;
}
input {
    border: 1px solid #4343439e !important;
    background-color: #fee8e8;
}
.box-shadow {
    box-shadow:
        0 2.1px 1.3px -26px rgba(0, 0, 0, 0.035),
        0 5.8px 3.6px -26px rgba(0, 0, 0, 0.05),
        0 13.9px 8.7px -26px rgba(0, 0, 0, 0.065),
        0 46px 29px -26px rgba(0, 0, 0, 0.1);
}
.kb-rounded {
    border-radius: 1rem !important;
}
picture {
    display: contents;
}
picture > img {
    height: auto;
}
.mbr-slider .carousel-control .mobi-mbri {
    display: inline-block;
    width: 44px;
    height: 44px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 28px 28px;
    opacity: 0.9;
}
.mbr-slider .carousel-control .mobi-mbri-arrow-prev {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='15 5 8 12 15 19'/></svg>");
}
.mbr-slider .carousel-control .mobi-mbri-arrow-next {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='9 5 16 12 9 19'/></svg>");
}
.mbr-slider a.close {
    display: block;
    width: 44px;
    height: 44px;
    opacity: 0.9;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round'><line x1='6' y1='6' x2='18' y2='18'/><line x1='18' y1='6' x2='6' y2='18'/></svg>")
        center / 26px 26px no-repeat;
}
.mbr-slider a.close::before {
    content: none;
}
.mbr-gallery .icon-wrapper .mobi-mbri-search {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round'><circle cx='11' cy='11' r='7'/><line x1='16.5' y1='16.5' x2='21' y2='21'/><line x1='11' y1='8' x2='11' y2='14'/><line x1='8' y1='11' x2='14' y2='11'/></svg>")
        center / 26px 26px no-repeat;
}
body.modal-open #kb-sectnav,
body.modal-open #kb-sectnav-toggle,
body.modal-open #kb-qrpanel,
body.modal-open #kb-qrpanel-toggle,
body.modal-open #kb-totop,
body.modal-open #kb-actionbar {
    visibility: hidden !important;
}
.mbr-slider .carousel-control {
    opacity: 1;
}
.mbr-slider .carousel-control .mobi-mbri {
    background-color: rgba(0, 0, 0, 0.55);
    border-radius: 50%;
}
/* BUG-GAL54D：圖庫燈箱的箭頭外層已有白框圓，不再疊內層圓底（雙圈） */
.kb-sec-gallery .mbr-slider .carousel-control .mobi-mbri {
    background-color: transparent;
    border-radius: 0;
}
.mbr-slider a.close {
    opacity: 1;
    z-index: 1060;
    background-color: rgba(0, 0, 0, 0.55);
    border-radius: 50%;
}
@media (min-width: 992px) {
    .wow {
        visibility: hidden;
    }
}
.kb-sec-slider .carousel-control {
    opacity: 1;
}
.kb-sec-slider .carousel-control .mobi-mbri {
    display: inline-block;
    width: 36px;
    height: 36px;
    border-radius: 0;
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 22px 22px;
}
.kb-sec-slider .carousel-control .mobi-mbri-arrow-prev {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='15 5 8 12 15 19'/></svg>");
}
.kb-sec-slider .carousel-control .mobi-mbri-arrow-next {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='9 5 16 12 9 19'/></svg>");
}
#kb-actionbar.kb-actionbar--single {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible !important;
    padding: 0 1.6rem !important;
}
#kb-actionbar.kb-actionbar--single .kb-cta-only {
    flex: 1 1 auto;
    max-width: 42rem;
    margin: 0 !important;
    text-align: center;
    font-size: 2.2rem;
    line-height: 1.6;
    padding: 0.5rem 1rem !important;
    border-radius: 99px;
}
#kb-actionbar.kb-actionbar--single ~ .kb-swipe {
    display: none !important;
}
@charset "UTF-8";
@-webkit-keyframes swing {
    20% {
        -webkit-transform: rotate(15deg);
        transform: rotate(15deg);
    }
    40% {
        -webkit-transform: rotate(-10deg);
        transform: rotate(-10deg);
    }
    60% {
        -webkit-transform: rotate(5deg);
        transform: rotate(5deg);
    }
    80% {
        -webkit-transform: rotate(-5deg);
        transform: rotate(-5deg);
    }
    to {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
}
@keyframes swing {
    20% {
        -webkit-transform: rotate(15deg);
        transform: rotate(15deg);
    }
    40% {
        -webkit-transform: rotate(-10deg);
        transform: rotate(-10deg);
    }
    60% {
        -webkit-transform: rotate(5deg);
        transform: rotate(5deg);
    }
    80% {
        -webkit-transform: rotate(-5deg);
        transform: rotate(-5deg);
    }
    to {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
}
.swing {
    -webkit-animation-name: swing;
    -webkit-transform-origin: top center;
    animation-name: swing;
    transform-origin: top center;
}
@-webkit-keyframes fadeIn {
    0% {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
.fadeIn {
    -webkit-animation-name: fadeIn;
    animation-name: fadeIn;
}
@-webkit-keyframes fadeInLeft {
    0% {
        -webkit-transform: translate3d(-100%, 0, 0);
        opacity: 0;
        transform: translate3d(-100%, 0, 0);
    }
    to {
        -webkit-transform: translateZ(0);
        opacity: 1;
        transform: translateZ(0);
    }
}
@keyframes fadeInLeft {
    0% {
        -webkit-transform: translate3d(-100%, 0, 0);
        opacity: 0;
        transform: translate3d(-100%, 0, 0);
    }
    to {
        -webkit-transform: translateZ(0);
        opacity: 1;
        transform: translateZ(0);
    }
}
.fadeInLeft {
    -webkit-animation-name: fadeInLeft;
    animation-name: fadeInLeft;
}
@-webkit-keyframes fadeInRight {
    0% {
        -webkit-transform: translate3d(100%, 0, 0);
        opacity: 0;
        transform: translate3d(100%, 0, 0);
    }
    to {
        -webkit-transform: translateZ(0);
        opacity: 1;
        transform: translateZ(0);
    }
}
@keyframes fadeInRight {
    0% {
        -webkit-transform: translate3d(100%, 0, 0);
        opacity: 0;
        transform: translate3d(100%, 0, 0);
    }
    to {
        -webkit-transform: translateZ(0);
        opacity: 1;
        transform: translateZ(0);
    }
}
.fadeInRight {
    -webkit-animation-name: fadeInRight;
    animation-name: fadeInRight;
}
@-webkit-keyframes fadeInUp {
    0% {
        -webkit-transform: translate3d(0, 100%, 0);
        opacity: 0;
        transform: translate3d(0, 100%, 0);
    }
    to {
        -webkit-transform: translateZ(0);
        opacity: 1;
        transform: translateZ(0);
    }
}
@keyframes fadeInUp {
    0% {
        -webkit-transform: translate3d(0, 100%, 0);
        opacity: 0;
        transform: translate3d(0, 100%, 0);
    }
    to {
        -webkit-transform: translateZ(0);
        opacity: 1;
        transform: translateZ(0);
    }
}
.fadeInUp {
    -webkit-animation-name: fadeInUp;
    animation-name: fadeInUp;
}
@-webkit-keyframes fadeOut {
    0% {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}
@keyframes fadeOut {
    0% {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}
.fadeOut {
    -webkit-animation-name: fadeOut;
    animation-name: fadeOut;
}
@-webkit-keyframes flip {
    0% {
        -webkit-animation-timing-function: ease-out;
        -webkit-transform: perspective(400px) scaleX(1) translateZ(0) rotateY(-1turn);
        animation-timing-function: ease-out;
        transform: perspective(400px) scaleX(1) translateZ(0) rotateY(-1turn);
    }
    40% {
        -webkit-animation-timing-function: ease-out;
        -webkit-transform: perspective(400px) scaleX(1) translateZ(150px) rotateY(-190deg);
        animation-timing-function: ease-out;
        transform: perspective(400px) scaleX(1) translateZ(150px) rotateY(-190deg);
    }
    50% {
        -webkit-animation-timing-function: ease-in;
        -webkit-transform: perspective(400px) scaleX(1) translateZ(150px) rotateY(-170deg);
        animation-timing-function: ease-in;
        transform: perspective(400px) scaleX(1) translateZ(150px) rotateY(-170deg);
    }
    80% {
        -webkit-animation-timing-function: ease-in;
        -webkit-transform: perspective(400px) scale3d(0.95, 0.95, 0.95) translateZ(0) rotateY(0deg);
        animation-timing-function: ease-in;
        transform: perspective(400px) scale3d(0.95, 0.95, 0.95) translateZ(0) rotateY(0deg);
    }
    to {
        -webkit-animation-timing-function: ease-in;
        -webkit-transform: perspective(400px) scaleX(1) translateZ(0) rotateY(0deg);
        animation-timing-function: ease-in;
        transform: perspective(400px) scaleX(1) translateZ(0) rotateY(0deg);
    }
}
@keyframes flip {
    0% {
        -webkit-animation-timing-function: ease-out;
        -webkit-transform: perspective(400px) scaleX(1) translateZ(0) rotateY(-1turn);
        animation-timing-function: ease-out;
        transform: perspective(400px) scaleX(1) translateZ(0) rotateY(-1turn);
    }
    40% {
        -webkit-animation-timing-function: ease-out;
        -webkit-transform: perspective(400px) scaleX(1) translateZ(150px) rotateY(-190deg);
        animation-timing-function: ease-out;
        transform: perspective(400px) scaleX(1) translateZ(150px) rotateY(-190deg);
    }
    50% {
        -webkit-animation-timing-function: ease-in;
        -webkit-transform: perspective(400px) scaleX(1) translateZ(150px) rotateY(-170deg);
        animation-timing-function: ease-in;
        transform: perspective(400px) scaleX(1) translateZ(150px) rotateY(-170deg);
    }
    80% {
        -webkit-animation-timing-function: ease-in;
        -webkit-transform: perspective(400px) scale3d(0.95, 0.95, 0.95) translateZ(0) rotateY(0deg);
        animation-timing-function: ease-in;
        transform: perspective(400px) scale3d(0.95, 0.95, 0.95) translateZ(0) rotateY(0deg);
    }
    to {
        -webkit-animation-timing-function: ease-in;
        -webkit-transform: perspective(400px) scaleX(1) translateZ(0) rotateY(0deg);
        animation-timing-function: ease-in;
        transform: perspective(400px) scaleX(1) translateZ(0) rotateY(0deg);
    }
}
.animated.flip {
    -webkit-animation-name: flip;
    -webkit-backface-visibility: visible;
    animation-name: flip;
    backface-visibility: visible;
}
.animated {
    -webkit-animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-duration: 1s;
    animation-fill-mode: both;
}
.animated.fast {
    -webkit-animation-duration: 0.8s;
    animation-duration: 0.8s;
}
.animated.slow {
    -webkit-animation-duration: 2s;
    animation-duration: 2s;
}
@media (prefers-reduced-motion) {
    .animated {
        -webkit-animation: unset !important;
        -webkit-transition: none !important;
        animation: unset !important;
        transition: none !important;
    }
}
.kb-seo-h1 {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
/* BUG-YKEVB5／7P3NHQ／RNUJLW／C4NHGT（Neo 2026-11-01）：滑動圖。①箭頭外層已有白框圓，內層不再疊圓底（雙圈；前次只修了燈箱）②圖說上下留白，文字不貼底色③每張一律 16:9（與上方圖同比例）＝高度固定、不再因各張比例不同被垂直置中而在圖上下留一大片空白④平板以下寬度與上方圖同寬 */
.kb-sec-slider .carousel {
    min-height: 0;
    height: auto;
}
.kb-sec-slider .carousel {
    margin-bottom: 2.6rem;
}
.kb-sec-slider .carousel-indicators {
    bottom: -2.4rem;
    margin-bottom: 0 !important;
}
.kb-sec-slider .carousel-caption.p-0 {
    padding: 0.6rem 1rem !important;
}
.kb-sec-slider .carousel-item .item-wrapper img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
}
@media (max-width: 991px) {
    .kb-sec-slider .col-md-10 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}
/* BUG-YB6CPG（Neo 2026-11-01）：特效總開關。<html data-kb-fx="off"> 時，進場動畫直接顯示、所有動畫與過場歸零；決定邏輯在 kb-boot.js */
html[data-kb-fx="off"] .wow {
    visibility: visible !important;
    opacity: 1 !important;
    animation: none !important;
    transform: none !important;
}
html[data-kb-fx="off"] *,
html[data-kb-fx="off"] *::before,
html[data-kb-fx="off"] *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
}
/* BUG-KWSC8D（Neo 2026-11-02）：美容站首屏價格區塊新版。舊版仍在（KB_WEB_HERO=v1 換回；樣式與程式的備份 *.bak_20261102_pre_hero）。價格是主角，其餘退成小字；只有一個主按鈕，LINE 退為框線鈕；特效只有整塊淡入（受特效總開關管） */
.kb-offer {
    margin: 1.4rem 0 1.2rem;
    font-size: calc(1.4rem + 0.5vw);
}
.kb-offer__main {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.9rem 1.2rem;
}
.kb-offer__tag {
    font-size: 0.95em;
    letter-spacing: 0.08em;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 99px;
    padding: 0.2rem 1.1rem;
}
.kb-offer__price {
    font-size: 2.5em;
    font-weight: 700;
    line-height: 1;
    color: #ffffff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}
.kb-offer__price small {
    font-size: 0.4em;
    font-weight: 500;
    margin-right: 0.3em;
}
.kb-offer__meta {
    margin: 0.8rem 0 0;
    font-size: 1em;
    color: rgba(255, 255, 255, 0.88);
}
.kb-offer__meta s {
    opacity: 0.75;
}
.kb-offer__meta span::before {
    content: "・";
    margin: 0 0.6rem;
}
.kb-offer__plus {
    display: inline-block;
    margin: 0.9rem 0 0;
    padding-left: 0.9rem;
    border-left: 3px solid #ff6b6b;
    font-size: 0.95em;
    color: #ffffff;
}
.kb-hero-actions {
    font-size: calc(1.6rem + 0.5vw);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.4rem;
    margin-top: 1.6rem;
}
.kb-hero-actions > div {
    margin: 0;
}
.kb-offer__btn {
    font-size: 1.15em;
    font-weight: 700;
    padding: 0.8rem 2.6rem !important;
    border-radius: 12px !important;
    background-color: #ff5656 !important;
    border-color: #ff5656 !important;
    color: #ffffff !important;
    cursor: pointer;
}
.btn.kb-hero-line {
    background-color: transparent !important;
    border: 2px solid rgba(255, 255, 255, 0.85) !important;
    color: #ffffff !important;
    border-radius: 12px !important;
    font-weight: 500;
    font-size: 1.15em !important;
}
/* BUG-L44T83：左側目錄切換鈕下方加箭頭（目錄展開中＝按下去會收起＝「«」；收起時＝按下去會展開＝「»」） */
#kb-sectnav-toggle::after {
    content: "\00bb";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 1.4rem;
    writing-mode: horizontal-tb;
    letter-spacing: 0;
    font-size: 2.2rem;
    line-height: 1;
    text-align: center;
}
#kb-sectnav-toggle.open::after {
    content: "\00ab";
}
/* BUG-MZXJJ9：單鈕預約列上下留白（原本鈕幾乎貼滿整列）。列高 5.5→7.4rem，上方的捷徑橫列與回頂鈕同步上移 */
#kb-actionbar.kb-actionbar--single {
    height: 7.4rem;
}
body:has(#kb-actionbar.kb-actionbar--single) #kb-sectnav-bar {
    bottom: 11.4rem;
}
@media (max-width: 991px) {
    body:has(#kb-actionbar.kb-actionbar--single) #kb-totop {
        bottom: 17.4rem !important;
    }
}
/* BUG-PPFQ5J：目錄選中的那一項右上、右下也要圓角（原本只有滑過去才有，選中時是尖的） */
#kb-sectnav ul li a.is-current {
    border-radius: 0 25px 25px 0;
}
/* BUG-FXV5C5（Neo 2026-11-02）：首屏文字在不同背景圖上看不清。保持背景圖全幅不動：①文字側加一層由深到透明的漸層（桌機由左、手機由下）②價格區塊做成半透明毛玻璃線框卡片 ③標題與內文加柔和陰影。只套在有價格區塊的美容站首屏 */
.kb-sec-header:has(.kb-offer) {
    position: relative;
}
.kb-sec-header:has(.kb-offer)::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(10, 10, 14, 0.72) 0%, rgba(10, 10, 14, 0.45) 45%, rgba(10, 10, 14, 0) 78%);
}
.kb-sec-header:has(.kb-offer) > .container {
    position: relative;
    z-index: 1;
}
.kb-sec-header:has(.kb-offer) h2,
.kb-sec-header:has(.kb-offer) p {
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.55);
}
.kb-offer {
    display: inline-block;
    padding: 1.2rem 1.8rem 1.4rem;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}
@media (max-width: 767.98px) {
    .kb-sec-header:has(.kb-offer)::before {
        background: linear-gradient(180deg, rgba(10, 10, 14, 0) 20%, rgba(10, 10, 14, 0.78) 100%);
    }
}
/* BUG-YYXAXS：價格卡與按鈕不再縮在左側小小一塊——卡片放寬（左價格、右說明兩欄），兩顆按鈕等寬撐滿卡片寬度 */
.kb-offer {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas: "main meta" "main plus";
    align-items: center;
    gap: 0.5rem 2.4rem;
    width: 100%;
    max-width: 34em;
    padding: 1.6rem 2.4rem 1.8rem;
}
.kb-offer__main {
    grid-area: main;
}
.kb-offer__meta {
    grid-area: meta;
    margin: 0;
}
.kb-offer__plus {
    grid-area: plus;
    margin: 0;
}
.kb-hero-actions {
    width: 100%;
    max-width: 34em;
}
.kb-hero-actions > div {
    flex: 1 1 0;
}
.kb-offer__btn,
.btn.kb-hero-line {
    width: 100%;
    text-align: center;
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}
@media (max-width: 767.98px) {
    .kb-offer {
        grid-template-columns: 1fr;
        grid-template-areas: "main" "meta" "plus";
    }
}
/* NT$2,500+1：價格旁的「+1」小標，表示加 1 元多做一個項目（說明文字在下一行） */
.kb-offer__p1 {
    display: inline-block;
    margin-left: 0.35em;
    padding: 0 0.35em;
    font-size: 0.5em;
    font-weight: 700;
    line-height: 1.5;
    vertical-align: 0.55em;
    color: #ffffff;
    background: #ff5656;
    border-radius: 8px;
    text-shadow: none;
}

/* BUG-SWY2YV（Neo 2026-11-02）：首屏價格卡——「立即預約」併進卡片右側成為同一個方框；LINE 取消首屏鈕，改右下角 LINE 原廠綠（#06C755）「立即通訊」浮動鈕，位置在回頂鈕上方不疊 */
.kb-offer {
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "main meta btn" "main plus btn";
    max-width: 46em;
}
.kb-offer .kb-offer__btn {
    grid-area: btn;
    width: auto;
    margin: 0;
    padding: 1rem 2rem !important;
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}
@media (max-width: 767.98px) {
    .kb-offer {
        grid-template-columns: 1fr;
        grid-template-areas: "main" "meta" "plus" "btn";
    }
    .kb-offer .kb-offer__btn {
        width: 100%;
        margin-top: 0.4rem;
    }
}
#kb-line-fab {
    position: fixed;
    right: 2rem;
    bottom: 18.5rem;
    z-index: 1049;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.3rem 0.7rem 1rem;
    border-radius: 99px;
    background: #06c755;
    color: #ffffff;
    font-size: max(1.6rem, 15px);
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}
#kb-line-fab:hover {
    color: #ffffff;
    background: #05b34c;
}
#kb-line-fab svg {
    width: max(2.6rem, 24px);
    height: max(2.6rem, 24px);
}
@media (max-width: 991px) {
    #kb-line-fab {
        bottom: 16.4rem;
    }
    body:has(#kb-line-fab):has(#kb-actionbar.kb-actionbar--single) #kb-totop {
        bottom: 22.4rem !important;
    }
}
body.modal-open #kb-line-fab {
    display: none;
}

/* BUG-HT9RBW：手機底部捷徑列不顯示橫向滑軌（仍可手指左右滑動） */
#kb-sectnav-bar {
    scrollbar-width: none;
    -ms-overflow-style: none;
}
#kb-sectnav-bar::-webkit-scrollbar {
    display: none;
}

/* BUG-HT7WSH（Neo 2026-11-02）：紅色「立即預約」像膠囊，貼滿價格卡右側整個高度，與卡片合為同一個方框；卡內文字都不斷行（一行寫完）。手機改成鈕在卡片底部撐滿寬，說明字級隨寬度縮小以維持一行 */
.kb-offer {
    width: fit-content;
    max-width: 100%;
    white-space: nowrap;
}
.kb-offer .kb-offer__btn {
    margin: -1.6rem -2.4rem -1.8rem 0;
    padding: 1rem 2.4rem !important;
    border-radius: 0 15px 15px 0 !important;
}
@media (max-width: 767.98px) {
    .kb-offer {
        width: 100%;
    }
    .kb-offer .kb-offer__btn {
        margin: 0.6rem -2.4rem -1.8rem;
        width: auto;
        border-radius: 0 0 15px 15px !important;
    }
    .kb-offer__meta,
    .kb-offer__plus {
        font-size: min(1em, 3.1vw);
    }
}

/* BUG-HT7WSH 校正：膠囊鈕貼齊卡片邊框（卡片右側／手機底部不留內距，鈕以負邊距填滿上下）；價格列不換行 */
.kb-offer {
    padding-right: 0;
}
.kb-offer__main {
    flex-wrap: nowrap;
}
.kb-offer .kb-offer__btn {
    margin: -1.6rem 0 -1.8rem 0;
}
@media (max-width: 767.98px) {
    .kb-offer {
        padding: 1.6rem 2.4rem 0;
    }
    .kb-offer .kb-offer__btn {
        margin: 0.6rem -2.4rem 0;
        width: auto;
        justify-self: stretch;
    }
}

/* BUG-45HZMM（Neo 2026-11-02）：價格卡不能比上方文字寬；膠囊右側鈕的線條要對準。①卡片所在欄當作容器，卡片字級隨欄寬縮放，一行寫完也塞得進欄寬 ②卡片 overflow:hidden，紅鈕貼齊邊框內緣（不再蓋過邊框、圓角由卡片裁切）③卡片左右不超過 p 文字欄 */
.kb-sec-header:has(.kb-offer) .col-12 {
    container-type: inline-size;
}
.kb-offer {
    font-size: min(calc(1.4rem + 0.5vw), 1.62cqw);
    overflow: hidden;
    max-width: 100%;
}
.kb-offer .kb-offer__btn {
    border-radius: 0 !important;
    align-self: stretch;
}
@media (max-width: 767.98px) {
    .kb-offer {
        font-size: calc(1.4rem + 0.5vw);
    }
}

/* BUG-KW9L85：預約列浮出更靈敏（動畫縮短） */
#kb-actionbar.kb-actionbar--single {
    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}
/* BUG-XL7SSG（視窗拖曳變形）：價格卡的內距、間距全改 em，隨卡片字級一起縮放，窄視窗（平板寬度）紅鈕不再被切掉 */
@media (min-width: 768px) {
    .kb-offer {
        padding: 0.8em 0 0.9em 1.4em;
        gap: 0.3em 1.4em;
    }
    .kb-offer .kb-offer__btn {
        margin: -0.8em 0 -0.9em 0;
        padding: 0.5em 1.2em !important;
    }
}

/* BUG-3C8DW2／99CE98（Neo 2026-11-02）：底部浮出預約列採價格卡同一套樣式——深色毛玻璃底、淡邊框、圓角；左邊價格（標籤＋NT$＋+1），右邊貼滿整個高度的紅色「立即預約」。列本身透明，只有卡片接收點擊 */
#kb-actionbar.kb-actionbar--offer {
    background: transparent !important;
    box-shadow: none !important;
    pointer-events: none;
}
#kb-actionbar.kb-actionbar--offer .kb-ab-card {
    pointer-events: auto;
    display: flex;
    align-items: stretch;
    width: 100%;
    max-width: 52rem;
    height: 5.6rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 16px;
    background: rgba(28, 28, 32, 0.86);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.4);
}
#kb-actionbar.kb-actionbar--offer .kb-ab-price {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0 1.4rem;
    white-space: nowrap;
}
#kb-actionbar.kb-actionbar--offer .kb-offer__tag {
    font-size: 1.3rem;
    padding: 0.2rem 0.9rem;
}
#kb-actionbar.kb-actionbar--offer .kb-offer__price {
    font-size: 3rem;
}
#kb-actionbar.kb-actionbar--offer .kb-offer__p1 {
    font-size: 0.45em;
}
#kb-actionbar.kb-actionbar--offer .kb-cta-only {
    flex: 0 0 auto;
    max-width: none;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    padding: 0 2.2rem !important;
    border-radius: 0 !important;
    border: 0 !important;
    background-color: #d63a3a !important;
    color: #ffffff !important;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}
@media (max-width: 480px) {
    #kb-actionbar.kb-actionbar--offer .kb-offer__tag {
        display: none;
    }
    #kb-actionbar.kb-actionbar--offer .kb-offer__price {
        font-size: min(3rem, 7.4vw);
    }
    #kb-actionbar.kb-actionbar--offer .kb-cta-only {
        padding: 0 1.8rem !important;
        font-size: 1.8rem;
    }
}

/* BUG-S529WN：整張卡都是預約鈕（id／data-kb-booking 在卡片上）；紅鈕貼齊卡片邊框——卡片不吃動作列通用的 div 內距（原本 #kb-actionbar div 給了 .2rem 1rem，讓紅鈕離邊框上下 2px、右側 10px） */
#kb-actionbar.kb-actionbar--offer .kb-ab-card {
    padding: 0;
    cursor: pointer;
}

/* BUG-NUFXFD（Neo 2026-11-02）：手機左右兩欄卡片，左邊的圖撐滿整個左側（上下左都貼卡片邊、裁切鋪滿），不再是縮小一張置中的小圖 */
@media (max-width: 767.98px) {
    .features-image .item-wrapper {
        align-items: stretch;
        gap: 0;
        padding: 0;
        overflow: hidden;
    }
    .features-image .item-img {
        position: relative;
        flex: 0 0 36%;
        max-width: 36%;
        min-height: 11rem;
    }
    .features-image .item-img picture {
        position: absolute;
        inset: 0;
        display: block;
    }
    .features-image .item-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        aspect-ratio: auto !important;
        display: block;
    }
    .features-image .item-content {
        padding: 1rem 1.1rem !important;
    }
}

/* BUG-NC7GT8（Neo 2026-11-02）：只有圖、沒有文字的卡片（例如原廠認證中心）手機版直接三張左右排成一列，圖完整顯示不裁切；同時避開上一條「圖撐滿左側」的裁切規則 */
@media (max-width: 767.98px) {
    .features-image:has(.item-title strong:empty):has(p.display-8:empty) {
        flex: 0 0 33.3333%;
        max-width: 33.3333%;
        padding: 0.5rem 0.3rem !important;
    }
    .features-image:has(.item-title strong:empty):has(p.display-8:empty) .item-wrapper {
        display: block;
    }
    .features-image:has(.item-title strong:empty):has(p.display-8:empty) .item-img {
        position: static;
        flex: none;
        max-width: none;
        min-height: 0;
        width: 100%;
    }
    .features-image:has(.item-title strong:empty):has(p.display-8:empty) .item-img picture {
        position: static;
    }
    .features-image:has(.item-title strong:empty):has(p.display-8:empty) .item-img img {
        height: auto;
        aspect-ratio: 1050 / 590 !important;
        object-fit: contain;
    }
    .features-image:has(.item-title strong:empty):has(p.display-8:empty) .item-content {
        display: none;
    }
}

/* BUG-WFWDXU（Neo 2026-11-02）：桌機（≥768px）底部預約卡整塊與首屏價格卡一比一——標籤、價格＋「+1」、原價與分鐘、加 1 元說明、貼滿右側的紅色膠囊鈕；手機維持精簡版（隱藏原價與說明） */
#kb-actionbar.kb-actionbar--offer .kb-ab-price .kb-offer__main {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}
#kb-actionbar.kb-actionbar--offer .kb-ab-price .kb-offer__meta,
#kb-actionbar.kb-actionbar--offer .kb-ab-price .kb-offer__plus {
    display: none;
}
@media (min-width: 768px) {
    #kb-actionbar.kb-actionbar--offer .kb-ab-card {
        width: fit-content;
        max-width: calc(100% - 3.2rem);
        height: auto;
        margin: 0 auto;
        font-size: min(calc(1.4rem + 0.5vw), 18.5px);
    }
    #kb-actionbar.kb-actionbar--offer .kb-ab-price {
        display: grid;
        grid-template-columns: auto 1fr;
        grid-template-areas: "main meta" "main plus";
        align-items: center;
        gap: 0.3em 1.4em;
        padding: 0.7em 1.4em 0.8em;
    }
    #kb-actionbar.kb-actionbar--offer .kb-ab-price .kb-offer__main {
        gap: 1.2rem 1.2rem;
    }
    #kb-actionbar.kb-actionbar--offer .kb-ab-price .kb-offer__tag {
        font-size: 0.95em;
        padding: 0.2rem 1.1rem;
    }
    #kb-actionbar.kb-actionbar--offer .kb-ab-price .kb-offer__price {
        font-size: 2.5em;
    }
    #kb-actionbar.kb-actionbar--offer .kb-ab-price .kb-offer__p1 {
        font-size: 0.5em;
    }
    #kb-actionbar.kb-actionbar--offer .kb-ab-price .kb-offer__meta,
    #kb-actionbar.kb-actionbar--offer .kb-ab-price .kb-offer__plus {
        display: block;
    }
    #kb-actionbar.kb-actionbar--offer .kb-cta-only {
        padding: 0 1.2em !important;
        font-size: 1.15em;
    }
}

/* BUG-VD8RML：整張首屏價格卡都是預約鈕（點擊委派在 .kb-offer 上） */
.kb-offer {
    cursor: pointer;
}

/* BUG-HLZNRC（Neo 2026-11-02）：最上方時底部預約列隱藏；開始往下捲才由下往上淡入，回到最上方再淡出下滑。class 由 kbAtTopTick 切換，JS 沒跑時預約列照常顯示 */
#kb-actionbar.kb-actionbar--single {
    transition:
        opacity 0.35s ease,
        transform 0.35s ease;
}
body.kb-at-top #kb-actionbar.kb-actionbar--single {
    opacity: 0;
    transform: translateY(100%);
    pointer-events: none;
}
