:root {
    --primary-color: #b3202c;
    --secondary-color: #ffffff;
    --section-bg: #f5f5f5;
    --transition: all 0.3s ease-in-out;

    --tcm-cream: #fdf8f8;
    --tcm-paper: #f2ebe0;
    --tcm-ink: #2c2416;
    --tcm-green: #4a6b52;
    --tcm-green-light: #e8f0ea;
    --tcm-gold: #c9a45c;
    --tcm-gold-light: rgba(201, 164, 92, 0.12);
    --tcm-red-light: rgba(179, 32, 44, 0.06);
    --tcm-border: #f1efeb;
    --tcm-shadow: 0 4px 10px -4px rgba(44, 36, 22, 0.08);

    --family-font: ZhuqueFangsong, sans-serif;
    --family-font-secondary: NotoSansHK, sans-serif;

    --foot-tabbar-height: 70px;
}

#think_page_trace,#think_page_trace_open{
    display: none;
}


/* 標題字體（全站用字子集，完整包見 *.full.woff2） */
@font-face {
    font-family: 'ZhuqueFangsong';
    src: url('/static/fonts/ZhuqueFangsong-Regular.woff2?v=subset1') format('woff2');
    font-weight: 500;
    font-display: swap;
}

/* 正文（全站用字子集，完整包見 *.full.woff2） */
@font-face {
    font-family: 'NotoSansHK';
    src: url('/static/fonts/NotoSansHK.woff2?v=subset1') format('woff2');
    font-weight: 400;
    font-display: swap;
}

.container {
    margin: 0 auto;
    max-width: 1696px;
    padding: 0 48px;
    width: 100%;
    box-sizing: border-box;
}


* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--family-font-secondary);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    /* overflow-x: hidden; */
    width: 100%;
    position: relative;

    height: 100vh;
}

ul {
    padding-left: 0;
    margin: 0;
}

ul li {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    text-decoration: none;
}



/* header */
.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 90px;
    background-color: #fff;
    transition: all 0.3s ease;
}

.header-content {
    background-color: #fff;
    transition: all 0.3s ease;
}

.header-content.fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: #fff;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
}

.header-logo {
    display: block;
    width: 330px;
}

.header-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.header-menu {
    display: flex;
    align-items: center;
    gap: 40px;
}

.header-menu>ul {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.header-menu>ul>li {
    position: relative;
    /* padding: 25px 0; */
    height: 90px;
    display: flex;
    align-items: center;
}

.header-menu>ul>li>a {
    font-size: 18px;
    /* font-family: var(--family-font); */
    font-weight: 500;
    color: #000;
    position: relative;
}

.header-menu>ul>li:hover>a {
    color: var(--primary-color);
}

.header-menu>ul>li.active>a {
    color: var(--primary-color);
}

.header-menu>ul>li.has-sub>a {
    cursor: default;
}

.header-menu>ul>li.has-sub>a.active{
    color: var(--primary-color);
}


.header-menu>ul>li.has-sub>a::after {
    content: '';
    background-image: url('/static/images/arrow-down.png');
    background-size: cover;
    background-repeat: no-repeat;
    width: 9px;
    height: 9px;
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease-in-out;
}

.sub-menu {
    position: absolute;
    top: 100%;
    left: -20px;
    background-color: #fff;
    box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.1);
    z-index: 1000;
    min-width: 200px;

    opacity: 0;
    visibility: hidden;
    transform: scaleY(0);
    /* Ã¥Å¾â€šÃ§â€ºÂ´Ã¦â€“Â¹Ã¥Ââ€˜Ã§Â¸Â®Ã¥Â°ÂÃ¥Ë†? */
    transform-origin: top center;
    /* Ã¥Â¾Å¾Ã©Â â€šÃ©Æ’Â¨Ã¤Â¸Â­Ã¥Â¿Æ’Ã©â€“â€¹Ã¥Â§â€¹Ã§Â¸Â®Ã¦â€?*/
    transition: all 0.3s ease;
}

.header-menu>ul>li.has-sub:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: scaleY(1);
}

.sub-menu ul {
    display: flex;
    flex-direction: column;
}

.sub-menu ul li {
    width: 100%;
    text-align: left;
    transition: all 0.2s ease;
}

.sub-menu ul li:hover {
    background-color: var(--primary-color);
}

.sub-menu ul li a {
    font-size: 16px;
    font-family: var(--family-font-secondary);
    font-weight: 400;
    color: #000;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 15px 20px;
}

.sub-menu ul li a span {
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sub-menu ul li a span svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.sub-menu ul li a span svg path {
    fill: #000;
    transition: all 0.2s ease;
}

.sub-menu ul li:hover a {
    color: #fff;
}

.sub-menu ul li:hover a span svg path {
    fill: #fff;
}


/* footer */
.footer-section {
    position: relative;
}

.footer-content {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 30px;
    padding-bottom: 40px;
    padding-top: 50px;
}

.footer-logo {
    display: block;
    width: 350px;
}

.footer-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer-tagline {
    margin-top: 40px;
    font-size: 16px;
    line-height: 1.7;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.65);
    text-align: center;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
    justify-content: center;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    /* background-color: var(--primary-color); */
    transition: all 0.3s ease-in-out;
    position: relative;
}

.social-links a::before {
    content: '';
    position: absolute;
    bottom: -1px;
    right: 0px;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border-right: 1px solid var(--primary-color);
    /* border-bottom: 1px solid var(--primary-color); */
    /* display: none; */
}

.social-links a::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -1px;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border-top: 2px solid var(--primary-color);
    border-left: 2px solid var(--primary-color);
    /* display: none; */
}

.social-links a span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    transition: all 0.3s ease-in-out;
    background-color: #fff;
}

.social-links a span svg {
    width: 60%;
    height: 60%;
    object-fit: contain;
}

.social-links a span svg path {
    fill: var(--primary-color);
}

.social-links a:hover span {
    background-color: #fff;
}

.social-links a:hover {
    transform: translateY(-3px);
}

.social-links a:hover span svg path {
    fill: var(--primary-color);
}

.social-links a:hover::before {
    display: block;
}

.social-links a:hover::after {
    display: block;
}

.footer-column {
    width: 70%;
    display: grid;
    grid-template-columns: 0.8fr 1.6fr 1.5fr 1.2fr;
    align-items: flex-start;
    justify-content: space-between;
    gap: 25px;
}

.footer-col h3 {
    font-size: 18px;
    font-weight: 500;
    color: #000;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

.footer-col--nav ul li {
    position: relative;
    padding-left: 20px;
}

.footer-col--nav ul li::after {
    content: '>>';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 11px;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.8);
    transition: all 0.3s ease-in-out;
}


.footer-col ul li a {
    font-size: 15px;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease-in-out;
}

.footer-col ul li a:hover {
    color: var(--primary-color);
    font-weight: 500;
    transform: translateX(3px);
}

.footer-col ul li a span {
    width: 14px;
    height: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.footer-col ul li a span svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer-col--info ul {
    margin-top: 15px;
}

.footer-col--info ul li {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.footer-col--info ul li:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: none;
}

.footer-col--info ul li .info-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--primary-color);
}

.footer-col--info ul li .info-value {
    font-size: 14px;
    line-height: 1.6;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.75);
}

.footer-col-desc {
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(0, 0, 0, 0.6);
}

.footer-service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.footer-service-tags .service-tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    justify-content: center;
    width: 48%;
    font-size: 13px;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.75);
    background-color: var(--tcm-red-light);
    border: 1px solid rgba(179, 32, 44, 0.12);
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
}

.footer-service-tags .service-tag:hover {
    color: #fff;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.appoint-btn a {
    width: auto;
    height: 43px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: #fff;
    padding: 0 20px;
    margin-top: 20px;
    transition: all 0.3s ease-in-out;
}


.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-bottom .bottom-left ul {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-bottom .bottom-left ul li {
    list-style: none;
    position: relative;
    padding-right: 15px;
}

.footer-bottom .bottom-left ul li::before {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
    width: 1px;
    height: 80%;
    background-color: rgba(0, 0, 0, 0.1);
}

.footer-bottom .bottom-left ul li:last-child {
    padding-right: 0;
}

.footer-bottom .bottom-left ul li:last-child::before {
    display: none;
}

.footer-bottom .bottom-left ul li a {
    font-size: 13px;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.8);
}

.footer-bottom .bottom-left ul li a:hover {
    color: var(--primary-color);
}

.footer-bottom p {
    font-size: 13px;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.8);
    text-align: center;
}

.footer-bottom p a:hover {
    color: var(--primary-color);
}

.bottom-img {
    width: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bottom-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* title */
.section-header {
    text-align: center;
    margin-bottom: 30px;
}

.section-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.28em;
    color: var(--primary-color);
    margin-bottom: 12px;
    position: relative;
    padding: 0 24px;
    text-transform: uppercase;
}

.section-eyebrow::before,
.section-eyebrow::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 16px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--tcm-gold));
}

.section-eyebrow::before {
    left: 0;
}

.section-eyebrow::after {
    right: 0;
    background: linear-gradient(90deg, var(--tcm-gold), transparent);
}

.section-divider {
    width: 48px;
    height: 3px;
    margin: 16px auto 0;
    background: linear-gradient(90deg, var(--primary-color), var(--tcm-gold));
    border-radius: 2px;
}

.section-title {
    font-size: 48px;
    font-family: var(--family-font);
    font-weight: 500;
    color: var(--tcm-ink);
    margin-bottom: 0;
    letter-spacing: 0.04em;
}

.section-header .section-title {
    margin-bottom: 0;
}

.section-header+.sub-title,
.section-header+.advantages-intro,
.section-header+.advantages-swiper,
.section-header+.diseases-list,
.section-header+.service-grid,
.section-header+.team-grid,
.section-header+.real-swiper,
.section-header+.locations-panel,
.section-header+.blog-swiper,
.section-header+.doctor-swiper,
.section-header+.row-box {
    margin-top: 0;
}

.big-title {
    font-size: 40px;
    font-family: var(--family-font);
    font-weight: 500;
    color: var(--tcm-ink);
    margin-bottom: 20px;
    letter-spacing: 0.04em;
}

.sub-title {
    margin-bottom: 40px;
}

.sub-title p {
    font-size: 16px;
    font-weight: 400;
    color: rgba(44, 36, 22, 0.75);
    line-height: 1.7;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}


/* button */
.primary-btn {
    display: inline-block;
    padding: 11px 30px;
    background-color: var(--primary-color);
    color: #fff;
    transition: all 0.3s ease-in-out;
    width: 190px;
    text-align: center;
    font-size: 15px;
    position: relative;
    border: 2px solid transparent;
}

.primary-btn span {
    position: relative;
    z-index: 1;
}

.primary-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 0;
    height: 100%;
    background-color: #fff;
    transition: all 0.3s ease;
    z-index: -1;
    transform: translateX(-50%);
}

.primary-btn:hover::before {
    width: 100%;
}

.primary-btn:hover {
    transform: translateY(0px);
    color: var(--primary-color);
    font-weight: 500;
}

.secondary-btn {
    display: inline-block;
    padding: 11px 30px;
    background-color: #fff;
    color: var(--primary-color);
    transition: all 0.3s ease-in-out;
    width: 190px;
    text-align: center;
    font-size: 15px;
    position: relative;
    border: 2px solid var(--primary-color);
}

.secondary-btn span {
    position: relative;
    z-index: 1;
}

.secondary-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 0;
    height: 100%;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    z-index: -1;
    transform: translateX(-50%);
}

.secondary-btn:hover::before {
    width: 100%;
}

.secondary-btn:hover {
    transform: translateY(0px);
    color: #fff;
    font-weight: 500;
}


/* Ã¦â€¡Â¸Ã¦ÂµÂ®Ã¦Å’â€°Ã©Ë†â€¢ */
.floating-actions {
    position: fixed;
    bottom: 40px;
    right: 20px;
    z-index: 99;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 35px;
    transition: transform 0.35s ease;
}

.floating-actions.is-scrolling {
    transform: translateX(calc(100% - 0px));
    opacity: 0.5;
}

.fix-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.fix-wrapper::before {
    content: '';
    width: 25px;
    height: 25px;
    border: 2px solid var(--primary-color);
    top: -10px;
    right: -10px;
    position: absolute;
    border-left: none;
    border-bottom: none;
}

.fix-wrapper::after {
    content: '';
    width: 25px;
    height: 25px;
    border: 2px solid var(--primary-color);
    bottom: -10px;
    left: -10px;
    position: absolute;
    border-right: none;
    border-top: none;
}

.fix-btn {
    display: flex;
    align-items: center;
    justify-content: center;
}

.fix-btn .primary-btn {
    width: 45px;
    height: 45px;
    padding: 0;
    border-radius: 0px;
}

.fix-btn .primary-btn span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.fix-btn .primary-btn span svg {
    width: 25px;
    height: 25px;
    object-fit: contain;
}

.fix-btn .primary-btn span svg path {
    fill: #fff;
}

.fix-btn .primary-btn:hover span svg path {
    fill: var(--primary-color);
}

.header-btn .primary-btn {
    width: 120px;
    padding: 0;
    height: 43px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Ã¥â€ºÅ¾Ã¥Ë†Â°Ã©Â â€šÃ©Æ’Â¨ */
.back-to-top {
    position: relative;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
    pointer-events: none;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.back-to-top .primary-btn {
    width: 45px;
    height: 45px;
    padding: 0;
    border-radius: 0px;
}

.back-to-top .primary-btn span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.back-to-top .primary-btn span svg {
    width: 25px;
    height: 25px;
    object-fit: contain;
}

.back-to-top .primary-btn span svg path {
    fill: #fff;
}

.back-to-top .primary-btn:hover span svg path {
    fill: var(--primary-color);
}

/* mobile header */
.header-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    flex-shrink: 0;
    z-index: 1003;
}

.header-toggle-line {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--tcm-ink);
    transition: var(--transition);
    transform-origin: center;
}

.header-overlay {
    display: none;
}

html.menu-open,
body.menu-open {
    overflow: hidden;
    height: 100%;
}

@media (min-width: 1201px) and (max-width: 1500px) {
    .header-logo {
        width: 220px;
    }

    .header-menu>ul {
        gap: 30px;
    }

    .header-menu>ul>li>a {
        font-size: 17px;
    }

    .header-menu {
        gap: 20px;
    }

    .header-btn .primary-btn {
        width: 70px;
        font-size: 14px;
    }
}

@media (min-width: 992px) and (max-width: 1200px) {
    .header-logo {
        width: 200px;
    }

    .header-menu>ul {
        gap: 15px;
    }

    .header-menu>ul>li>a {
        font-size: 15px;
    }

    .header-menu {
        gap: 20px;
    }

    .header-btn .primary-btn {
        width: 70px;
        font-size: 14px;
    }
}

@media (max-width: 992px) {
    .main {
        padding-top: 64px;
    }

    .header-container {
        height: 64px;
        position: relative;
        z-index: 1002;
    }

    .header-logo {
        width: 239px;
    }

    .header-toggle {
        display: flex;
    }

    .header-content {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 999;
    }

    .header-content.menu-open .header-toggle-line:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
        border-radius: 50%;
    }

    .header-content.menu-open .header-toggle-line:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
        border-radius: 50%;
    }

    .header-content.menu-open .header-toggle-line:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
        border-radius: 50%;
    }

    .header-content.menu-open .header-container {
        border-bottom: 1px solid #e8e4de;
    }

    .header-overlay {
        display: block;
        position: fixed;
        inset: 0;
        top: 64px;
        background: transparent;
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }

    .header-content.menu-open .header-overlay {
        opacity: 1;
        visibility: visible;
    }

    .header-menu {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        width: 100%;
        height: calc(100vh - 64px);
        height: calc(100dvh - 64px);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0;
        background-color: var(--tcm-cream);
        box-shadow: none;
        z-index: 1001;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .header-content.menu-open .header-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        padding: 15px;
    }

    .header-menu>ul {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0;
    }

    .header-menu>ul>li {
        height: auto;
        flex-direction: column;
        align-items: stretch;
        border-bottom: 1px solid #e8e4de;
    }

    .header-menu>ul>li>a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 18px 20px;
        font-size: 16px;
        /* font-family: var(--family-font); */
        font-weight: 400;
        color: var(--tcm-ink);
        letter-spacing: 0.02em;
    }

    .header-menu>ul>li.has-sub>a::after {
        content: '';
        background: none;
        width: 7px;
        height: 7px;
        border-right: 1px solid currentColor;
        border-bottom: 1px solid currentColor;
        position: static;
        transform: rotate(45deg);
        flex-shrink: 0;
        margin-left: 12px;
        margin-right: 4px;
        transition: transform 0.3s ease, color 0.3s ease;
    }

    .header-menu>ul>li.has-sub.is-open>a {
        color: var(--primary-color);
    }

    .header-menu>ul>li.has-sub.is-open>a::after {
        transform: rotate(-135deg);
    }

    .header-menu>ul>li.has-sub:hover .sub-menu {
        opacity: 1;
        visibility: hidden;
        transform: none;
        max-height: 0;
    }

    .sub-menu {
        position: static;
        left: auto;
        min-width: 0;
        box-shadow: none;
        opacity: 1;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        transform: none;
        transform-origin: unset;
        transition: max-height 0.35s ease, visibility 0.35s ease;
        background-color: transparent;
    }

    .header-menu>ul>li.has-sub.is-open .sub-menu,
    .header-menu>ul>li.has-sub.is-open:hover .sub-menu {
        visibility: visible;
        max-height: 600px;
    }

    .sub-menu ul li {
        border-bottom: none;
        height: 40px;
        position: relative;
    }

    .sub-menu ul li:hover {
        background-color: transparent;
    }

    .sub-menu ul li a {
        font-size: 15px;
        padding: 0 30px 0 35px;
        /* font-family: var(--family-font); */
        color: var(--tcm-ink);
        gap: 0;
        position: relative;
    }

    .sub-menu ul li a::after {
        content: '>';
        position: absolute;
        left: 20px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 11px;
        font-weight: 400;
    }

    .sub-menu ul li a span {
        display: none;
    }

    .sub-menu ul li:hover a {
        color: var(--primary-color);
    }

    .sub-menu ul li:hover a span svg path {
        fill: var(--tcm-ink);
    }

    .header-btn {
        padding: 0;
        background-color: transparent;
        margin-top: 30px;
    }

    .header-btn .primary-btn {
        width: 100%;
        height: 55px;
        padding: 0px 20px;
        border: none;
        border-radius: 0;
        font-size: 16px;
        font-weight: 400;
        text-align: left;
        letter-spacing: 0.02em;
    }

    .header-btn .primary-btn::before {
        display: none;
    }

    .header-btn .primary-btn:hover {
        color: var(--primary-color);
        background: transparent;
    }
}





@media screen and (max-width: 992px) {
    .container {
        padding: 0 15px;
    }

    .big-title {
        font-size: 36px;
        margin-bottom: 10px;
    }

    .primary-btn {
        width: 150px;
        padding: 8px 15px;
    }

    .secondary-btn {
        width: 150px;
        padding: 8px 15px;
    }

    .section-title {
        font-size: 38px;
    }

    .sub-title {
        margin-bottom: 20px;
    }

    .section-eyebrow {
        margin-bottom: 8px;
    }

    .sub-title p {
        font-size: 14px;
    }

    .section-header {
        margin-bottom: 10px;
    }

    .footer-content {
        flex-direction: column;
        padding-bottom: 25px;
    }

    .footer-column {
        width: 100%;
        gap: 20px;
        display: flex;
        flex-wrap: wrap;
    }

    .footer-col {
        order: 4;
    }

    .footer-col--nav {
        order: 1;
    }

    .footer-col--info {
        order: 2;
    }

    .footer-col--services {
        order: 3;
    }

    .footer-tagline {
        margin-top: 20px;
    }

    .social-links {
        justify-content: flex-start;
        margin-top: 20px;
    }

    .footer-logo {
        width: 300px;
    }

    .social-links a {
        width: 35px;
        height: 35px;
    }

    .footer-col h3 {
        font-size: 17px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        padding-top: 20px;
    }

    .bottom-img {
        display: none;
    }

    .fix-btn .primary-btn {
        width: 35px;
        height: 35px;
    }

    .fix-btn .primary-btn span {
        width: 100%;
        height: 100%;
    }

    .fix-btn .primary-btn span svg,
    .back-to-top .primary-btn span svg {
        width: 18px;
        height: 18px;
    }

    .fix-wrapper::before {
        width: 15px;
        height: 15px;
        top: -5px;
        right: -5px;
        border-width: 1px;
    }

    .fix-wrapper::after {
        width: 15px;
        height: 15px;
        bottom: -5px;
        left: -5px;
        border-width: 1px;
    }

    .back-to-top .primary-btn {
        width: 35px;
        height: 35px;
    }
}

/* 懶加載圖片-start */
img.lazy-load {
    opacity: 0;
    background-color: var(--tcm-paper);
    transition: opacity 0.45s ease, background-color 0.45s ease;
}

img.lazy-load.is-loading {
    opacity: 0.35;
}

img.lazy-load.is-loaded,
img.lazy-load[data-lazy="eager"] {
    opacity: 1;
    background-color: transparent;
}

/* 懶加載圖片-end */

/* Layui layer.msg — 網站風格提示 */
.layui-layer-msg,
.layui-layer-hui {
    min-width: 280px;
    max-width: 90vw;
    border: 1px solid rgba(179, 32, 44, 0.28);
    box-shadow: var(--tcm-shadow);
    background: #fff !important;
    border-radius: 0;
    overflow: hidden;
}

.layui-layer-msg .layui-layer-content,
.layui-layer-hui .layui-layer-content {
    font-family: var(--family-font-secondary);
    font-size: 15px;
    color: var(--tcm-ink);
    line-height: 1.5;
    height: auto !important;
    overflow: hidden;
}

.layui-layer-msg .layui-layer-padding,
.layui-layer-hui .layui-layer-padding {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    text-align: left;
}

.layui-layer-hui .layui-layer-content {
    padding: 14px 20px;
    text-align: center;
}

.layui-layer-dialog .layui-layer-content .layui-layer-face {
    display: none;
}

.layui-form-radio:hover>*,
.layui-form-radioed,
.layui-form-radioed>i {
    color: var(--primary-color);
}

.layui-laydate .layui-this,
.layui-laydate .layui-this>div {
    background-color: var(--primary-color) !important;
}

.layui-laydate-footer span:hover {
    color: var(--primary-color);
}

.layui-form-checked[lay-skin=primary]>i {
    border-color: var(--primary-color) !important;
    background-color: var(--primary-color);
}

.layui-form-checkbox[lay-skin=primary]:hover>i {
    border-color: var(--primary-color);
}

.layui-laypage a:hover {
    color: var(--primary-color);
}

.layui-laypage-count {
    background-color: transparent !important;
}

/* 分頁 */

.layui-laypage {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 16px 28px;
    margin: 0;
    background: #fff;
    border: 1px solid var(--tcm-border);
    box-shadow: var(--tcm-shadow);
    position: relative;
}

.layui-laypage::before,
.layui-laypage::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    pointer-events: none;
}

.layui-laypage::before {
    top: 10px;
    left: 10px;
    border-top: 1px solid var(--tcm-gold);
    border-left: 1px solid var(--tcm-gold);
}

.layui-laypage::after {
    right: 10px;
    bottom: 10px;
    border-right: 1px solid var(--tcm-gold);
    border-bottom: 1px solid var(--tcm-gold);
}

.layui-laypage>* {
    float: none !important;
    margin: 0 !important;
}

.layui-laypage a,
.layui-laypage span:not(.layui-laypage-count) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 35px;
    height: 35px;
    padding: 0 10px;
    line-height: 35px;
    border: 1px solid var(--tcm-border) !important;
    border-radius: 2px;
    background: #fff !important;
    color: var(--tcm-ink) !important;
    font-size: 13px;
    font-weight: 500;
    transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.layui-laypage a:hover {
    color: var(--primary-color) !important;
    border-color: rgba(179, 32, 44, 0.35) !important;
    background: var(--tcm-red-light) !important;
}

.layui-laypage .layui-laypage-curr {
    position: relative;
    border-color: var(--primary-color) !important;
    box-shadow: 0 4px 14px rgba(179, 32, 44, 0.18);
}

.layui-laypage .layui-laypage-curr .layui-laypage-em {
    background-color: var(--primary-color) !important;
    border-radius: 0px;
}

.layui-laypage .layui-laypage-curr em:last-child {
    position: relative;
    z-index: 1;
    color: #fff !important;
    font-weight: 500;
}

.layui-laypage-prev,
.layui-laypage-next {
    min-width: auto !important;
    padding: 0 15px !important;
    letter-spacing: 0.06em;
}

.layui-laypage-prev.layui-disabled,
.layui-laypage-next.layui-disabled {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
    background: rgba(44, 36, 22, 0.03) !important;
}

.layui-laypage-count {
    display: inline-flex;
    align-items: center;
    height: 42px;
    margin-left: 10px !important;
    padding: 0 0 0 18px !important;
    border: none !important;
    border-left: 1px solid var(--tcm-border) !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: rgba(44, 36, 22, 0.58) !important;
    font-family: var(--family-font-secondary);
    font-size: 13px;
    letter-spacing: 0.08em;
    white-space: nowrap;
}

.layui-laypage>:last-child {
    position: relative;
}

.layui-laypage-count::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    margin-right: 8px;
    background: rgba(179, 32, 44, 0.85);
    border-radius: 50%;
    flex-shrink: 0;
    position: absolute;
    top: 51%;
    transform: translateY(-50%);
    left: 6px;
    display: none;
}

@media screen and (max-width: 992px) {

    .layui-laypage-prev,
    .layui-laypage-next {
        padding: 0 10px !important;
        letter-spacing: 0;
    }

    .layui-laypage a,
    .layui-laypage span:not(.layui-laypage-count) {
        min-width: 30px;
        height: 30px;
        line-height: 30px;
        font-size: 12px;
    }
}


/* 移動端 App 元素 — 桌面端隱藏 */
.app-tabbar,
.app-sheet,
.app-quick-section,
.app-home-top,
.app-home-bottom,
.app-bar-title,
.app-bar-action,
.foot-tabbar,
.foot-sheet {
    display: none;
}

.mobile-main {
    display: none;
}

@media screen and (max-width: 768px) {
    body {
        padding-bottom: calc(var(--foot-tabbar-height) + 22px + env(safe-area-inset-bottom, 0px));
        background-color: var(--tcm-cream);

        padding-bottom: 100px;
        height: auto;
    }

    /* 底部導航 */
    .foot-tabbar {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        overflow: visible;
        height: calc(var(--foot-tabbar-height) + env(safe-area-inset-bottom, 0px));
        padding-bottom: env(safe-area-inset-bottom, 0px);
        background: #fff;
        border-top: 1px solid #eee;
    }

    .foot-tabbar ul {
        display: flex;
        align-items: flex-end;
        justify-content: space-around;
        height: var(--foot-tabbar-height);
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .tabbar-item,
    .tabbar-middle {
        flex: 1;
    }

    .tabbar-item a,
    .tabbar-middle a {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 10px;
        min-height: var(--foot-tabbar-height);
        padding: 10px 0;
        text-decoration: none;
        color: #999;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }

    .tabbar-item .app-tab-icon {
        width: 28px;
        height: 28px;
        fill: currentColor;
    }

    .tabbar-item .app-tab-label,
    .tabbar-middle .app-tab-label {
        font-size: 15px;
        line-height: 1;
        font-family: var(--family-font);
    }

    .tabbar-item.is-active a {
        color: var(--primary-color);
    }

    .tabbar-item.is-active .app-tab-label {
        font-weight: 500;
    }

    .tabbar-item.is-active svg path{
        fill: var(--primary-color);
    }

    /* 中間預約*/
    .tabbar-middle a {
        gap: 18px;
        padding-bottom: 0px;
    }

    .tabbar-center {
        position: relative;
        margin-top: -45px;
    }

    .tabbar-center__btn {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 50px;
        height: 50px;
        background: var(--primary-color);
        box-shadow: 0 3px 12px rgba(179, 32, 44, 0.25);
    }

    .tabbar-center__btn svg {
        width: 30px;
        height: 30px;

    }

    .tabbar-center__btn svg path {
        fill: rgba(255, 255, 255, 1);
    }

    .tabbar-center__btn::before {
        content: '';
        position: absolute;
        width: 10px;
        height: 10px;
        top: -3px;
        right: -3px;
        border: 1px solid var(--primary-color);
        border-left: none;
        border-bottom: none;
    }

    .tabbar-center__btn::after {
        content: '';
        position: absolute;
        width: 10px;
        height: 10px;
        bottom: -3px;
        left: -3px;
        border: 1px solid var(--primary-color);
        border-right: none;
        border-top: none;
    }

    .tabbar-center::before {
        content: '';
        position: absolute;
        width: 10px;
        height: 10px;
        top: -3px;
        left: -3px;
        border: 1px solid var(--primary-color);
        border-right: none;
        border-bottom: none;
    }

    .tabbar-center::after {
        content: '';
        position: absolute;
        width: 10px;
        height: 10px;
        bottom: -3px;
        right: -3px;
        border: 1px solid var(--primary-color);
        border-left: none;
        border-top: none;
    }

    .tabbar-middle .app-tab-label {
        color: var(--primary-color);
        font-weight: 500;
        font-size: 16px;
    }

    /* 懸浮按鈕避開底部導航 */
    .floating-actions {
        bottom: calc(var(--foot-tabbar-height) + 22px + env(safe-area-inset-bottom, 0px) + 8px);
        right: 12px;
        gap: 20px;
    }


    .pc-main {
        display: none;
    }

    .mobile-main {
        display: block;
    }

    /* .footer-content {
        display: none;
    } */

    .footer-bottom .bottom-left {
        display: none;
    }



    /* ----- 底部「更多」彈出選單 ----- */
    .foot-sheet {
        position: fixed;
        inset: 0;
        z-index: 99;
        pointer-events: none;
        visibility: hidden;
        transition: visibility 0.3s ease;
        display: block;
    }

    .foot-sheet.is-open {
        pointer-events: auto;
        visibility: visible;
    }

    .foot-sheet-backdrop {
        position: absolute;
        inset: 0;
        background: rgba(32, 32, 32, 0.15);
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .foot-sheet.is-open .foot-sheet-backdrop {
        opacity: 1;
    }

    .foot-sheet-panel {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        max-height: 75vh;
        padding: 10px 16px calc(16px + env(safe-area-inset-bottom, 0px));
        background: #fff;
        border-radius: 6px 6px 0 0;
        transform: translateY(100%);
        transition: transform 0.32s cubic-bezier(0.32, 0.72, 0, 1);
        overflow-y: auto;
        padding-bottom: 120px;
    }

    .foot-sheet.is-open .foot-sheet-panel {
        transform: translateY(0);
    }

    .foot-sheet-handle {
        width: 40px;
        height: 4px;
        margin: 0 auto 12px;
        border-radius: 2px;
        background: #e0e0e0;
    }

    .foot-sheet-title {
        margin: 0 0 16px;
        font-size: 20px;
        font-weight: 500;
        text-align: center;
        color: var(--tcm-ink);
        font-family: var(--family-font);
    }

    .foot-sheet-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .foot-sheet-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 10px;
        min-height: 96px;
        padding: 12px 8px;
        border-radius: 4px;
        background: var(--tcm-cream);
        text-decoration: none;
        color: var(--tcm-ink);
        -webkit-tap-highlight-color: transparent;
        transition: background 0.2s ease;
    }


    .foot-sheet-item__icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
    }

    .foot-sheet-item__icon svg {
        width: 30px;
        height: 30px;
        fill: var(--primary-color);
    }

    .foot-sheet-item__icon svg path {
        fill: var(--primary-color);
    }

    .foot-sheet-item__label {
        font-size: 16px;
        font-weight: 500;
        line-height: 1.2;
        text-align: center;
        font-family: var(--family-font);
    }

    body.foot-sheet-open {
        overflow: hidden;
    }

    #footTabMore[aria-expanded="true"] {
        color: var(--primary-color);
    }

    #footTabMore[aria-expanded="true"] .app-tab-label {
        font-weight: 500;
    }

    #footTabMore[aria-expanded="true"] svg path{
        fill: var(--primary-color);
    }



    .header-toggle {
        display: none;
    }

    .header-container {
        justify-content: center;
    }

    .footer-bottom{
        border-top: none;
    }
}

/* ── 分頁（對應 .dv-laypage + base.css .layui-laypage）── */
#pages {
    margin-top: 48px;
    text-align: center;
}

#pages .pagination {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 16px 28px;
    margin: 0;
    list-style: none;
    background: #fff;
    border: 1px solid var(--tcm-border);
    box-shadow: var(--tcm-shadow);
    position: relative;
}

#pages .pagination::before,
#pages .pagination::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    pointer-events: none;
}

#pages .pagination::before {
    top: 10px;
    left: 10px;
    border-top: 1px solid var(--tcm-gold);
    border-left: 1px solid var(--tcm-gold);
}

#pages .pagination::after {
    right: 10px;
    bottom: 10px;
    border-right: 1px solid var(--tcm-gold);
    border-bottom: 1px solid var(--tcm-gold);
}

#pages .pagination li {
    float: none;
    margin: 0;
}

#pages .pagination li a,
#pages .pagination li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 35px;
    height: 35px;
    padding: 0 10px;
    line-height: 35px;
    border: 1px solid var(--tcm-border);
    border-radius: 2px;
    background: #fff;
    color: var(--tcm-ink);
    font-family: var(--family-font-secondary);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

#pages .pagination li a:hover {
    color: var(--primary-color);
    border-color: rgba(179, 32, 44, 0.35);
    background: var(--tcm-red-light);
}

#pages .pagination li.active span {
    position: relative;
    z-index: 1;
    border-color: var(--primary-color);
    background-color: var(--primary-color);
    color: #fff;
    font-weight: 500;
    box-shadow: 0 4px 14px rgba(179, 32, 44, 0.18);
}

#pages .pagination li.disabled span {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
    background: rgba(44, 36, 22, 0.03);
}

#pages .pagination li:first-child a,
#pages .pagination li:first-child span,
#pages .pagination li:last-child a,
#pages .pagination li:last-child span {
    min-width: auto;
    padding: 0 15px;
    letter-spacing: 0.06em;
}

@media (max-width: 992px) {
    #pages {
        margin-top: 30px;
    }

    #pages .pagination li:first-child a,
    #pages .pagination li:first-child span,
    #pages .pagination li:last-child a,
    #pages .pagination li:last-child span {
        padding: 0 10px;
        letter-spacing: 0;
    }

    #pages .pagination li a,
    #pages .pagination li span {
        min-width: 30px;
        height: 30px;
        line-height: 30px;
        font-size: 12px;
    }
}