:root {
    --base-font-size: 16px;
    --mobile-font-size: 16px;
    --primary-color: #604C3F;
    --primary-color-rgb: 96, 76, 63;
    --secondary-color: #C9BAAE;
    /*#BFB9AF*/
    --link-color: #604C3F;
    --link-hover-color: #968880;
    --header-bg-color: transparent;
    --header-text-color: #ffffff;
    --header-link-color: #ffffff;
    --header-link-hover-color: #ffffff;
    --header-link-hover-bg-color: transparent;
    --header-icon-color: #726649;
    --header-icon-hover-color: #726649;
    --header-mobile-icon-color: #604C3F;
    --button-bg-color: #726649;
    --button-text-color: #ffffff;
    --button-bg-hover-color: #968880;
    --button-text-hover-color: #ffffff;
    --outline-button-border-color: #726649;
    --outline-button-text-color: #726649;
    --outline-button-bg-color: transparent;
    --outline-button-border-hover-color: #726649;
    --outline-button-text-hover-color: #ffffff;
    --outline-button-bg-hover-color: #726649;
    --footer-bg-color: #C9BAAE;
    /*#BFB9AF*/
    --footer-text-color: #604C3F;
    --footer-link-color: #604C3F;
    --footer-link-hover-color: #fff;
    --light-gray: #F5F5F5;
    --bg-color: #DBD5CC;
    --bg-light-color: #FAFAFA;
    --sub-color: #968880;
    --accent-color: #C5AE92;
    --highlight: #C5AE92;
    --gray: #C2C2C2;
    --font-family-base: "Noto Serif TC", serif;
    --font-family-heading: "Italiana", sans-serif;
    --font-family-secondary: "Noto Sans TC", sans-serif;
    --font-family-english: "Nunito", sans-serif;
    --text-color: #333;
}

/*選單調整*/
body {
    font-family: var(--font-family-base) !important;
    font-weight: 500;
    overflow-x: hidden;
    max-width: 100vw;
}

html {
    overflow-x: hidden;
    max-width: 100vw;
}

/* ============================================
   捲軸美化樣式
   ============================================ */
/* Firefox 捲軸樣式 */
* {
    scrollbar-width: thin;
    scrollbar-color: #cfc9c5 #f5f5f5;
}

/* Webkit 瀏覽器捲軸樣式（Chrome, Safari, Edge） */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: #f5f5f5;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #cfc9c5 #f5f5f5;
    border-radius: 10px;
    transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: #bfb7b2;
}

::-webkit-scrollbar-thumb:active {
    background: #bfb7b2;
}

/* 橫向捲軸 */
::-webkit-scrollbar-horizontal {
    height: 6px;
}

/* 捲軸角落 */
::-webkit-scrollbar-corner {
    background: #f5f5f5;
}

footer .small-title,
.navi-item ul li a span {
    font-family: var(--font-family-base);
    font-weight: 500;
    font-size: 1.02rem;
}

.navi-item ul li a span {
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.navi-item {
    width: auto;
}

.navbar {
    background-color: var(--secondary-color);
    padding: 10px;
    border-radius: 50px;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
    top: 60px;
    z-index: 99;
}

a {
    text-decoration: none;
    transition: transform 0.3s ease;
}

ol {
    list-style: decimal;
    padding-left: 20px;
    margin: 0;
}

ul {
    margin: 0;
    padding: 0;
    list-style-position: outside;
    padding-left: 20px;
}

h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.btn {
    min-width: 80px;
}

.bg-light {
    background-color: var(--light-gray) !important;
}

.pagging-title {
    font-family: var(--font-family-heading);
}

.pagging-title span {
    font-family: var(--font-family-base);
}

.text-gray {
    color: #828282;
}

.deco-color {
    color: var(--accent-color);
}

section.style404 {
    height: auto;
    padding-top: 150px;
    padding-bottom: 50px;
}

.style404 .title {
    color: var(--sub-color);
    margin-bottom: 10px;
    font-family: var(--font-family-base);
    text-align: center;
    font-weight: 400;
}

.style404 .title span {
    font-size: 2rem;
}

.style404 .middle-title {
    font-size: 1rem;
}

.html-info.small p {
    font-size: 1rem;
}

@media (max-width: 1199px) {
    section.style404 {
        padding-top: 0px;
    }
}

@media (max-width: 768px) {
    section.style404 {
        padding-top: 2rem;
        height: auto;
        min-height: inherit;
    }

    .style404 .title {
        font-size: 6rem;
    }

    .style404 .title span {
        font-size: 1.5rem;
    }
}

@media (min-width: 1221px) {
    .navbar {
        max-width: 1300px;
    }

    .nav-logo .overlayer.active {
        display: none;
    }
}

@media (max-width: 1220px) {
    .navbar {
        display: none !important;
    }

    .mobile-menu {
        position: fixed;
        top: 0;
        display: flex;
        width: 100%;
        padding: 1rem 0;
        z-index: 1000;
        height: 67px;
    }

    .mobile-nav {
        display: block;
    }

    body {
        padding-top: 67px;
    }
}

.navbar.fixed {
    padding-top: 10px;
    top: 40px;
}

.navbar.fixed::after {
    display: none;
}

.navi-item:first-child,
.navbar.fixed .navi-item:first-child {
    position: absolute;
    top: -56px;
    right: 4px;
    z-index: 10;
    display: flex;
    align-items: flex-end;
    height: auto;
}

.navbar.fixed .navi-item.naviMain {
    -ms-flex-preferred-size: 0;
    flex-basis: auto;
    -ms-flex-positive: 1;
    -webkit-box-flex: 1;
    flex-grow: inherit;
    max-width: inherit;
    -webkit-box-ordinal-group: 2;
    -ms-flex-order: 1;
    order: inherit;
}

.naviMain {
    position: relative;
}

.naviMain ul {
    justify-content: space-around;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.naviMain ul li {
    position: relative;
    padding: 0px 20px;
    margin-bottom: 0;
}

.naviMain ul li a::after {
    content: '/';
    position: absolute;
    right: -2px;
    top: 50%;
    transform: translateY(-50%) scaleY(1.5);
    color: rgba(255, 255, 255, 0.5);
    font-weight: 200;
    font-size: 1.2rem;
}

.naviMain ul li:last-child a::after {
    display: none;
}

.mobile-menu {
    background-color: var(--secondary-color);
}

.hamburger .line {
    background-color: var(--primary-color);
}

.mobile-nav,
.mobile-nav .submenu {
    background-color: #f5f5f4;
    color: #5a5a5a;
}

.zeynep ul>li:not(:last-child)>a,
.mobile-nav ul>li:not(:last-child)>a {
    border-bottom: 1px solid #e8e8e8;
}

.mobile-nav ul>li>a:hover {
    background-color: #f5f5f4;
    color: var(--primary-color);
}

.zeynep ul>li>a {
    font-weight: 500;
    padding: 18px 0px;
}

.zeynep .submenu>label {
    padding-left: 20px;
}

/* ============================================
   手機版選單 - 第三階層選單樣式
   ============================================ */

.mobile-submenu-item {
    margin-top: 0;
}

.mobile-submenu-group {
    border-bottom: 1px solid #e8e8e8;
    transition: all 0.3s ease;
}

.mobile-submenu-group:last-child {
    border-bottom: none;
}

.mobile-submenu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.mobile-submenu-header:hover {
    background-color: rgba(var(--primary-color-rgb), 0.05);
}

.mobile-submenu-group.is-open .mobile-submenu-header {
    background-color: rgba(var(--primary-color-rgb), 0.08);
}

.mobile-submenu-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-color);
}

.mobile-submenu-icon {
    font-size: 0.85rem;
    color: var(--sub-color);
    transition: transform 0.3s ease, color 0.3s ease;
}

.mobile-submenu-group.is-open .mobile-submenu-icon {
    transform: rotate(180deg);
}

.mobile-submenu-content {
    display: none;
}

.mobile-submenu-link {
    display: block;
    padding: 10px 20px 10px 36px;
    color: #5a5a5a;
    font-size: 0.88rem;
    text-decoration: none;
    position: relative;
    transition: all 0.2s ease;
}

.mobile-submenu-link::before {
    content: '';
    position: absolute;
    left: 22px;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 5px;
    background-color: var(--sub-color);
    border-radius: 50%;
    opacity: 0.5;
    transition: all 0.2s ease;
}

.mobile-submenu-link:hover {
    background-color: rgba(var(--primary-color-rgb), 0.08);
    color: var(--primary-color);
    padding-left: 40px;
}

.mobile-submenu-link:hover::before {
    opacity: 1;
    background-color: var(--primary-color);
}

.social-link {
    margin-bottom: 10px;
}

.social-link>li>a {
    width: 40px;
    height: 40px;
    border: none;
    background-color: transparent;
    color: var(--sub-color);
    font-size: 28px;
}

#share-btn {
    color: #fff;
    background-color: var(--sub-color);
    border: 1px solid transparent;
    width: 30px;
    height: 30px;
    padding: 0;
    font-size: 1rem;
    display: none;
}

#gotop {
    border: none;
    background-color: transparent;
    color: var(--sub-color);
}

/* 搜尋框樣式 */
.navSearch {
    display: flex;
    align-items: center;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
    background-color: #ffffff;
    border-radius: 50px;
    padding: 0px 10px;
    width: 100%;
    max-width: 180px;
    box-sizing: border-box;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.search-box input[type="text"] {
    flex: 1;
    min-width: 0;
    border: none;
    outline: none;
    background: transparent;
    padding: 8px 8px 8px 0;
    color: #333;
    font-family: var(--font-family-base);
    font-size: 14px;
}

.search-box input[type="text"]::placeholder {
    color: #999;
}

.search-box .search-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: 4px;
    transition: opacity 0.3s ease;
}

.search-box .search-btn:hover {
    opacity: 0.7;
}

.search-box .search-icon {
    width: 20px;
    height: 20px;
    display: block;
    flex-shrink: 0;
}

.mobile-nav .search-box {
    margin-left: 20px;
    max-width: 80%;
}

/* 手機選單底部搜尋框 */
.mobile-nav .mobile-search-bottom {
    margin: 20px 20px 15px 20px;
    max-width: calc(100% - 40px);
    border: 1px solid #e8e8e8;
    transition: opacity 0.2s ease;
}

.mobile-nav .mobile-search-bottom:hover {
    border-color: var(--sub-color);
    box-shadow: 0 2px 8px rgba(var(--primary-color-rgb), 0.15);
}

.btn-reservation {
    background-color: var(--button-bg-color);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 20px 20px 0 0;
    text-decoration: none;
    font-weight: 500;
    height: auto;
    white-space: nowrap;
    box-shadow: 0 2px 4px rgba(50, 43, 43, 0.1);
    transition: all 0.3s ease;
    margin-bottom: -1px;
    width: 160px;
    text-align: center;
}

.btn-reservation:hover {
    background-color: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);

}

.mobile-nav .btn-reservation {
    padding: 8px 16px;
    border-radius: 20px;
    width: 80%;
    display: block;
    margin-left: 19px;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

footer {
    border-top: 10px solid var(--primary-color);
}

/* 輪播圖弧形遮罩 */
.index-banner-slider {
    position: relative;
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
}

.index-banner-for {
    max-height: 100vh;
    overflow: hidden;
    background-color: var(--bg-light-color);
    width: 100%;
    position: relative;
}

.index-banner-for .slick-list {
    overflow: hidden;
}

.index-banner-for .slick-slide {
    float: left;
}

.index-banner-for .slick-item {
    height: 100%;
    width: 100%;
    position: relative;
}

.index-banner-for .slick-item picture,
.index-banner-for .slick-item img {
    height: 100%;
    object-fit: cover;
    width: 100%;
    display: block;
    max-width: 100%;
}

.banner-arc-mask {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    z-index: 2;
    pointer-events: none;
    display: block;
}

.index-banner-slider .slick-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    width: auto;
}

.slick-dots li button::before {
    background-color: var(--secondary-color);
    opacity: 1;
}

.slick-dots li.slick-active button::before {
    background-color: var(--primary-color);
    opacity: 1;
}

.slick-dotted.slick-slider {
    margin-bottom: 0;
}

/* 響應式設計：手機版調整 */
@media (max-width: 768px) {
    .index-banner-slider {
        width: 100%;
        overflow: hidden;
    }

    .index-banner-for {
        max-height: none;
        height: auto;
        width: 100%;
    }

    .index-banner-for .slick-list {
        overflow: hidden;
    }

    .index-banner-for .slick-slide {
        float: left;
    }

    .index-banner-for .slick-item {
        height: auto;
        min-height: 300px;
    }

    .index-banner-for .slick-item picture,
    .index-banner-for .slick-item img {
        width: 100%;
        height: auto;
        min-height: 300px;
        max-height: 50vh;
        object-fit: cover;
        object-position: center;
    }

    .banner-arc-mask {
        bottom: 0;
    }

    .index-banner-slider .slick-dots {
        bottom: 15px;
    }

}

/*文字樣式*/
.title {
    color: var(--sub-color);
    font-size: 4rem;
    text-align: left;
    display: inline-block;
    margin-bottom: 40px;
    font-family: var(--font-family-heading);
    border: none;
    padding: 0;
    line-height: 1;
}

.title>span:nth-child(2) {
    font-size: 1.2rem;
    display: block;
    color: var(--sub-color);
    position: relative;
    z-index: 0;
    padding-top: 15px;
    font-family: var(--font-family-base);
}

.page-title {
    text-align: left;
}

.middle-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    margin-top: 0.5rem;
}

p {
    color: var(--text-color);
    font-weight: 500;
}

.title>span:nth-child(2)::before {
    display: none;
}

.title b {
    font-weight: 500;
}

.page-title-text {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    line-height: 1.3;

}

h1.page-title-text {
    font-size: 2rem;
}

.page-title-hr {
    border: 0.7px solid var(--sub-color);
}

/* 文字區塊內的段落最多顯示三行 */
.text-box p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.5;
}

/*首頁News列表*/
.index-news li a {
    font-size: 1rem;
    padding: 20px 0;
    display: block;
}

.index-news li a span {
    margin-right: 20px;
    color: var(--primary-color);
}

.index-news li {
    border-bottom: 1px solid var(--secondary-color);
}

.index-news-btn .btn-small {
    font-family: var(--font-family-english);
}

.index-news li a:hover,
.index-news li a:hover span {
    color: var(--sub-color);
}


.news-date,
.showcase-date {
    color: var(--primary-color);
    display: block;
    margin: 10px 0;
    font-size: 0.9rem;
    font-family: var(--font-family-english);
}

/* news-block 圖片固定比例 433px × 297px (約 1.46:1) */
.news-block .img-box {
    position: relative;
    width: 100%;
    overflow: hidden;
    aspect-ratio: 433 / 297;
    /* 相容舊瀏覽器的備用方案 */
    padding-bottom: 68.59%;
    /* 297 / 433 × 100% */
}

.news-block .img-box>img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

/* hover 時圖片放大 */
a:hover .news-block .img-box>img {
    transform: scale(1.1);
}

/* 使用 aspect-ratio 時不需要 padding-bottom */
@supports (aspect-ratio: 1) {
    .news-block .img-box {
        padding-bottom: 0;
    }
}

/* More 按鈕樣式*/
.more-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    color: var(--primary-color);
    font-family: var(--font-family-english);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}

.more-btn::before {
    content: '';
    position: absolute;
    left: 0;
    top: 65%;
    transform: translateY(-50%);
    width: calc(100% - 60px);
    height: 1px;
    background-color: var(--secondary-color);
}

.news-slider .slider-item {
    margin-bottom: 30px;
    padding: 10px;
}

.news-slider {
    margin-left: -10px;
    position: relative;
}

/* 輪播箭頭樣式 */
.news-slider .slick-prev,
.news-slider .slick-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 50px;
    height: 50px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    font-size: 0;
    line-height: 0;
    opacity: 1;
}

.news-slider .slick-prev {
    left: -60px;
}

.news-slider .slick-next {
    right: -60px;
}

.news-slider .slick-prev:before,
.news-slider .slick-next:before {
    content: '';
    display: block;
    width: 50px;
    height: 50px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.news-slider .slick-prev:before {
    background-image: url('../images/customize/arrow-prev.svg');
}

.news-slider .slick-next:before {
    background-image: url('../images/customize/arrow-next.svg');
}

.news-slider .slick-prev:hover,
.news-slider .slick-next:hover {
    opacity: 0.8;
}

/* 響應式設計：小螢幕時調整箭頭位置 */
@media (max-width: 1200px) {
    .news-slider .slick-prev {
        left: -40px;
    }

    .news-slider .slick-next {
        right: -40px;
    }
}

@media (max-width: 768px) {

    .news-slider .slick-prev,
    .news-slider .slick-next {
        display: none !important;
    }

    .news-slider {
        margin-left: 0px;
    }
}

#index-news-image,
#index-news {
    background-color: var(--bg-light-color);
}

#index-news-image .middle-title,
.news-list-block .middle-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    margin-top: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.5;
    min-height: 88px;
}

/* index-about */
.index-about-bg {
    background-color: var(--bg-light-color);
}

#index-about {
    background-color: #fff;
    position: relative;
    border-top: 1px solid var(--secondary-color);
    border-radius: 0 200px 0px 0px;
}

#index-about .row {
    align-items: stretch;
}

#index-about .col-md-5,
#index-about .col-md-7 {
    display: flex;
}

.about-title-section {
    padding-right: 2rem;
    padding-left: 2rem;
    display: flex;
    flex-direction: column;
    width: 100%;
    position: relative;
}

#index-about .col-md-5 {
    border-left: 1px solid var(--secondary-color);
}

#index-about .col-md-3 {
    border-radius: 0 150px 0;
    border-left: 1px solid var(--secondary-color);
    border-bottom: 1px solid var(--secondary-color);
    width: 10%;
    min-height: 150px;
}

.about-subtitle {
    color: var(--sub-color);
    font-size: 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 0;
    line-height: 1.6;
    margin-top: auto;
}

.about-content-section {
    padding-left: 2rem;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.about-description {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    flex: 1;
}

.about-content-section .more-btn {
    margin-top: auto;
    margin-bottom: 0;
}

/* 響應式設計 */
@media (max-width: 768px) {
    .about-title-section {
        padding-right: 0;
        margin-bottom: 2rem;
    }

    .about-content-section {
        padding-left: 0;
    }
}

/*熱門影音*/
.video-section {
    padding: 0px 0 40px 0;
    position: relative;
    top: -40px;
}

#videoDesc p,
.text-box p {
    color: #828282;
}

.title-decoration {
    position: relative;
}

.title-decoration::after {
    content: '';
    position: absolute;
    top: 50px;
    left: 0;
    width: 100%;
    height: 150px;
    border-top: 1px solid var(--secondary-color);
    border-left: 1px solid var(--secondary-color);
    border-right: 1px solid var(--secondary-color);
    border-radius: 150px 150px 0 0;
}

.title-decoration .title,
.title-decoration .title span {
    position: relative;
    z-index: 1;
}

.title-decoration .title:before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 700px;
    height: 100%;
    background-color: #fff;
    z-index: 0;
    transform: translateX(-50%);
}

.video-section-content {
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (max-width: 1200px) {
    .title-decoration::after {
        display: none;
    }

    .video-section {
        top: 0;
        padding-top: 80px;
    }

    .video-section-content {
        padding-left: 0;
        padding-right: 0;
    }
}

/* 主影片區域樣式 */
.main-video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    /* 16:9 比例 */
    background: #000;
    overflow: hidden;
    /* 移除圓角與陰影，讓接合處無縫 */
    border-radius: 0;
    box-shadow: none;
}

.main-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* 覆蓋在影片上的圖片 (封面圖) */
.video-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    z-index: 2;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-cover.hidden {
    opacity: 0;
    pointer-events: none;
    /* 隱藏後不阻擋點擊 iframe */
    z-index: 0;
}

/* 播放按鈕圖示 */
.play-btn {
    width: 70px;
    height: 70px;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.play-btn::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 12px 0 12px 20px;
    border-color: transparent transparent transparent #fff;
    margin-left: 5px;
    /* 視覺修正 */
}

.video-cover:hover .play-btn {
    background-color: var(--accent-color);
    transform: scale(1.1);
}

/* 右側資訊區塊 */
.video-info-box {
    background-color: var(--bg-color);
    padding: 30px;
    height: 100%;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.video-info-box h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 600;
}

/* 下方縮圖輪播區塊 */
.thumbnail-slider-container {
    position: relative;
    padding: 20px 60px;
    border-top: 1px solid var(--secondary-color);
}

.thumbnail-slider,
.video-list {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
    gap: 15px;
    padding: 5px 0;
    list-style: none;
    margin: 0;
}

.thumbnail-slider::-webkit-scrollbar,
.video-list::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}

.thumb-item,
.video-list-item {
    flex: 0 0 220px;
    cursor: pointer;
    position: relative;
    transition: all 0.2s;
    min-width: 220px;
    overflow: hidden;
}

.thumb-item img,
.video-list-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
    border: 2px solid transparent;
    aspect-ratio: 16/9;
    object-fit: cover;
    /* 確保圖片有最小尺寸 */
    min-height: 100px;
    background-color: #f0f0f0;
    transition: transform 0.3s ease;
}

.thumb-item.active img,
.video-list-item.is-active img {
    border-color: var(--highlight);
    box-shadow: 0 0 8px rgba(212, 160, 23, 0.5);
}

.thumb-item:hover,
.video-list-item:hover {
    opacity: 1;
}

.thumb-item:hover img,
.video-list-item:hover img {
    transform: scale(1.05);
}

/* 縮圖播放按鈕 */
.thumb-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2;
    pointer-events: none;
}

.thumb-play-btn::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 8px 0 8px 14px;
    border-color: transparent transparent transparent #fff;
    margin-left: 3px;
}

.thumb-item:hover .thumb-play-btn,
.video-list-item:hover .thumb-play-btn {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.thumb-item:hover .thumb-play-btn:hover,
.video-list-item:hover .thumb-play-btn:hover {
    background-color: var(--accent-color);
    transform: translate(-50%, -50%) scale(1.1);
}

/* 隱藏影片內容（用於 JS 提取） */
.video-content-hidden {
    display: none;
}

/* 精選案例區塊 */
.featured-cases-section {
    background-color: #fff;
    position: relative;
    border-top: 1px solid var(--secondary-color);
    border-bottom: 1px solid var(--secondary-color);
}

.featured-cases-section .page-title {
    margin-bottom: 0;
    padding-bottom: 0;
}

.case-row-1 {
    align-items: center;
}

.case-item {
    display: block;
    text-align: center;
    margin-bottom: 15px;
    margin-top: 15px;
    text-decoration: none;
    color: inherit;
    border: 1px solid var(--secondary-color);
}

.case-item:hover {
    text-decoration: none;
    color: inherit;
}

.case-img-box {
    position: relative;
    width: 100%;
    overflow: hidden;
    aspect-ratio: 396 / 368;
    /* 參考 case1.png 的比例 396x368 */
}

.case-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.case-item:hover .case-img-box img {
    transform: scale(1.05);
}

.case-item h3 {
    color: var(--sub-color);
    font-size: 1.2rem;
    display: block;
    border-top: 1px solid var(--secondary-color);
    padding: 10px 0 5px 0;
}

/* 案例分隔線 */
.case-divider {
    height: 1px;
    background-color: var(--secondary-color);
    margin: 20px 0;
}

/* 響應式設計 */
@media (max-width: 768px) {
    .featured-cases-section .page-title {
        margin-bottom: 20px;
    }

    .case-img-box {
        aspect-ratio: 396 / 368;
    }

    .case-item {
        margin-bottom: 20px;
    }
}

/* 醫師團隊區塊 */
.physician-team-section {
    position: relative;
}

.physician-slider {
    margin-left: -10px;
    position: relative;
}

.physician-item {
    display: block;
    text-decoration: none;
    border: 1px solid #e1dcd4;
    margin: 10px 10px 30px 10px;
}

.physician-item:hover {
    text-decoration: none;
    color: inherit;
}

.physician-img-box {
    position: relative;
    width: 100%;
    aspect-ratio: 440 / 400;
    overflow: hidden;
}

.physician-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.physician-item:hover .physician-photo {
    transform: scale(1.05);
}

.physician-name {
    color: var(--primary-color);
    font-size: 1.2rem;
    border-top: 1px solid #e1dcd4;
    padding: 10px;
}

/* 醫師團隊輪播箭頭樣式 - 使用 gray 版本 */
.physician-slider .slick-prev,
.physician-slider .slick-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 50px;
    height: 50px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    font-size: 0;
    line-height: 0;
    opacity: 1;
}

.physician-slider .slick-prev {
    left: -60px;
}

.physician-slider .slick-next {
    right: -60px;
}

.physician-slider .slick-prev:before,
.physician-slider .slick-next:before {
    content: '';
    display: block;
    width: 50px;
    height: 50px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.physician-slider .slick-prev:before {
    background-image: url('../images/customize/arrow-prev-gray.svg');
}

.physician-slider .slick-next:before {
    background-image: url('../images/customize/arrow-next-gray.svg');
}

.physician-slider .slick-prev:hover,
.physician-slider .slick-next:hover {
    opacity: 0.8;
}

/* 響應式設計 */
@media (max-width: 1200px) {
    .physician-slider .slick-prev {
        left: -40px;
    }

    .physician-slider .slick-next {
        right: -40px;
    }
}


@media (max-width: 768px) {

    .physician-slider .slick-prev,
    .physician-slider .slick-next {
        display: none !important;
    }

    .physician-slider .slider-item {
        padding: 0px;
    }

    .physician-slider {
        margin-left: 0px;
    }

}


/* 輪播控制按鈕 - 使用與 news-slider 相同的樣式 */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 50px;
    height: 50px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    font-size: 0;
    line-height: 0;
    opacity: 1;
}

.slider-prev {
    left: 5px;
}

.slider-next {
    right: 5px;
}

.slider-prev:before,
.slider-next:before {
    content: '';
    display: block;
    width: 50px;
    height: 50px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.slider-prev:before {
    background-image: url('../images/customize/arrow-prev.svg');
}

.slider-next:before {
    background-image: url('../images/customize/arrow-next.svg');
}

.slider-prev:hover,
.slider-next:hover {
    opacity: 0.8;
}

/* 手機版適配 */
@media (max-width: 991px) {
    .video-info-box {
        /* 手機版時，資訊區塊也不要有間距，緊貼影片下方 */
        margin-top: 0;
        height: auto;
        padding: 20px;
    }

    .thumb-item {
        flex: 0 0 140px;
    }
}

/* page_banner 樣式調整 */
.pagging-header {
    position: relative;
    height: 56vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: 500px;
}

.pagging-header picture {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.pagging-header picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
    display: block;
}

/* 黑色遮罩 40% 透明度 */
.pagging-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

/* top-text 靠左對齊 */
.pagging-header .top-text {
    position: relative;
    z-index: 2;
    color: #ffffff;
    text-align: left;
}

.top-text h2 {
    font-size: 2.8rem;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.top-text p {
    color: #fff;
    position: relative;
    padding-left: 33%;
    font-size: 1.1rem;
}

/* 白色裝飾線 */
.top-text p::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 31%;
    height: 1px;
    background-color: #fff;
}

/* 手機版適配 */
@media (max-width: 768px) {
    .pagging-header {
        height: 50vh;
    }

    .pagging-header .top-text {
        padding: 1.5rem;
    }
}

@media (max-width: 479px) {
    .top-text p::before {
        top: 0;
        width: 50%;
    }

    .top-text p {
        padding-left: 0;
        padding-top: 10px;
        margin-top: 30px;
    }
}

/*最新消息 關於我們*/
.news-list {
    padding: 0;
}

.news-list li,
.info-list li {
    border-bottom: 0.7px solid var(--sub-color);
}

.news-list li,
.info-list li {
    padding-top: 20px;
    padding-bottom: 20px;
    margin-bottom: 0;
}

.news-list li a span {
    color: var(--primary-color);
}

.news-list li a:hover,
.news-list li a:hover span {
    color: var(--sub-color);
}

/* 醫師團隊 */
.doctor-list {
    margin-top: 1.5rem;
    margin-bottom: 3rem;
}

.doctor-card {
    display: block;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    transition: all 0.3s ease;
}

.doctor-image-wrapper {
    width: 100%;
    aspect-ratio: 326 / 276;
    background-color: #EFEFEF;
    overflow: hidden;
    position: relative;
}

.doctor-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

/* hover 時圖片放大 */
.doctor-card:hover .doctor-image,
.doctor-card:hover .doctor-arrow img {
    transform: scale(1.05);
}

.doctor-info {
    background-color: #968880;
    padding: 1rem;
    color: #fff;
    display: flex;
    flex-direction: column;
}

.doctor-name {
    font-size: 1.3rem;
    font-weight: 400;
    color: #fff;
    margin: 0 0 0.5rem 0;
    letter-spacing: 2px;
}

.doctor-divider {
    width: 80%;
    height: 1px;
    background-color: #fff;
    margin: 0.5rem 0;
}

.doctor-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.doctor-title {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.94);
    margin: 0;
    letter-spacing: 1.1px;
}

.doctor-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    flex-shrink: 0;

}

.doctor-arrow img {
    width: 30px;
    height: auto;
    transition: transform 0.3s ease;
}

/* 醫師介紹內頁 */
/* 1. 醫師介紹區塊 */
.doctor-intro-section {
    margin-bottom: 1rem;
}

.doctor-intro-wrapper {
    padding: 0;
    margin: 0;
}

.doctor-intro-image {
    aspect-ratio: 489 / 559;
    max-height: 559px;
    max-width: 489px;
    position: relative;
    overflow: hidden;
    background-color: var(--sub-color);
    border-top-left-radius: 30%;
    border-bottom-right-radius: 30%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin-bottom: 2rem;
}

.doctor-intro-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    border-top-left-radius: 30%;
    border-bottom-right-radius: 30%;
}

.doctor-intro-content {
    display: flex;
    flex-direction: column;
    padding-left: 4%;
}

.doctor-intro-name-wrapper {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.doctor-intro-name {
    font-size: 2rem;
    color: var(--primary-color);
    letter-spacing: 3px;
}

.doctor-intro-title {
    font-size: 1.4rem;
    color: var(--primary-color);
    letter-spacing: 2px;
}

.divider {
    border: 0;
    border-top: 0.7px solid var(--primary-color);
    width: 100%;
    margin-top: 0;
}

.doctor-intro-sections {
    display: flex;
    gap: 1rem;
    flex: 1;
    justify-content: space-between;
}

.section-title-text {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.doctor-intro-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.doctor-intro-list li {
    position: relative;
    padding-left: 1.2rem;
    margin-bottom: 0;
    letter-spacing: 1px;
}

.doctor-intro-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 5px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

/* 2. 專業證書區塊 */

.doctor-certificate-section {
    background-color: var(--light-gray);
}

.section-title {
    font-size: 1.75rem;
    color: #000;
    margin-bottom: 2rem;
}

.english-title {
    font-family: var(--font-family-heading);
    display: inline-block;
}

.certificate-slider {
    margin: 0 -10px;
}

.certificate-item {
    padding: 0 10px;
    margin-bottom: 30px;
}

.certificate-item a {
    display: block;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.certificate-item img {
    width: 100%;
    height: auto;
    aspect-ratio: 287 / 203;
    object-fit: cover;
    display: block;
}

/* 專業證書和醫師專欄的 middle-title 樣式 */
.certificate-item .middle-title,
.column-content .middle-title,
.clinic-info .middle-title,
.showcase-info .middle-title,
.card-content .middle-title {
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 1rem 0 0 0;
    line-height: 1.5;
    color: rgba(51, 51, 51, 0.9);
}

.certificate-item a:hover .middle-title,
.column-item a:hover .middle-title,
.clinic-card:hover .middle-title,
.showcase-card:hover .middle-title,
.card-link:hover .middle-title {
    color: var(--primary-color);
}

.clinic-info .middle-title,
.showcase-info .middle-title {
    text-align: left;
    margin-bottom: 1rem;
    margin-top: 0;

}

.showcase-info .middle-title {
    min-height: 60px;
}

/* 輪播箭頭樣式（證書、專欄、卡片共用） */
.certificate-slider .slick-prev,
.certificate-slider .slick-next,
.column-slider .slick-prev,
.column-slider .slick-next,
.card-slider .slick-prev,
.card-slider .slick-next {
    width: 30px;
    height: 30px;
    z-index: 10;
    background: transparent;
    border: none;
    display: flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.certificate-slider .slick-prev,
.column-slider .slick-prev,
.card-slider .slick-prev {
    left: -40px;
    top: 40%;
}

.certificate-slider .slick-next,
.column-slider .slick-next,
.card-slider .slick-next {
    right: -40px;
    top: 40%;
}

.certificate-slider .slick-prev::before,
.certificate-slider .slick-next::before,
.column-slider .slick-prev::before,
.column-slider .slick-next::before,
.card-slider .slick-prev::before,
.card-slider .slick-next::before {
    display: none;
}

.certificate-slider .slick-prev img,
.certificate-slider .slick-next img,
.column-slider .slick-prev img,
.column-slider .slick-next img,
.card-slider .slick-prev img,
.card-slider .slick-next img {
    width: 30px !important;
    height: 30px !important;
    object-fit: contain;
    display: block !important;
}

/* 3. 醫師專欄區塊 */
.column-slider {
    margin: 0 -15px;
}

/* 4. 通用 4 欄卡片輪播 */
.card-slider {
    margin: 0 -10px;
}

.card-slider .card-item {
    padding: 0 10px;
}

.card-slider .card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
}

.card-slider .card-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    /* 預設 1:1，可用 .ratio-* class 覆蓋 */
    overflow: hidden;
    margin-bottom: 15px;
}

/* 圖片比例變體 */
.card-slider .card-image.ratio-4-3 {
    aspect-ratio: 4 / 3;
}

.card-slider .card-image.ratio-3-4 {
    aspect-ratio: 3 / 4;
}

.card-slider .card-image.ratio-16-9 {
    aspect-ratio: 16 / 9;
}

.card-slider .card-image.ratio-auto {
    aspect-ratio: auto;
    /* 依照圖片原始比例 */
}

.card-slider .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.card-slider .card-link:hover .card-image img {
    transform: scale(1.05);
}

.card-slider .card-content {
    padding: 0 5px;
}

/* card-slider 響應式調整 */
@media (max-width: 576px) {
    .card-slider .slick-dots {
        bottom: -30px;
    }

    .card-slider .slick-dots li button:before {
        font-size: 10px;
        color: var(--primary-color);
    }

    .card-slider .slick-dots li.slick-active button:before {
        color: var(--primary-color);
    }
}

.column-item {
    margin-bottom: 30px;
}

.column-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
    padding: 10px;
}

.column-image {
    width: 100%;
    margin-bottom: 1rem;
    overflow: hidden;
}

.column-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.column-link:hover .column-image img {
    transform: scale(1.05);
}

.column-content {
    padding: 0 0.5rem;
}


/* 響應式設計 */
@media (max-width: 991px) {

    .doctor-intro-sections {
        flex-direction: column;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .doctor-intro-content {
        padding-left: 0;
    }
}

/* ========== 療程詳情頁面樣式 ========== */

/* 療程介紹區塊 */
.page-top-section {
    padding-top: 150px;
}

.treatment-detail-content ol li,
.treatment-detail-content ul li {
    margin-bottom: 10px;
}

@media (max-width: 1199px) {
    .page-top-section {
        padding-top: 0px;
    }
}

.treatment-intro-section {
    margin-bottom: 0;
    scroll-margin-top: 200px;
    color: var(--primary-color);
}

.treatment-intro-section p {
    color: var(--primary-color);
}

/* 作用原理區塊 */
.treatment-principle-section {
    scroll-margin-top: 200px;
}

/* 適應症區塊 */
.treatment-indications-section {
    scroll-margin-top: 200px;
}

/* 注意事項區塊 */
.treatment-precaution-section {
    scroll-margin-top: 200px;
}

/* 常見問題區塊 */
.treatment-faq-section {
    scroll-margin-top: 200px;
}

/* 固定導航按鈕 */
.treatment-nav-section {
    margin-bottom: 0;
    padding: 0;
    position: sticky;
    top: 115px;
    z-index: 999;
}

@media (max-width: 1199px) {
    .treatment-nav-section {
        top: 67px;
    }
}

.treatment-nav-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 15px 20px;
    background: #fff;
    transition: all 0.3s ease;
}

.nav-btn {
    background-color: var(--gray);
    color: white;
    border: none;
    border-radius: 35px;
    padding: 10px 30px;
    font-size: 1.1rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background-color: var(--sub-color);
}

.nav-btn.active {
    background-color: var(--sub-color);
}

@media (max-width: 768px) {
    .treatment-nav-buttons {
        gap: 10px;
        flex-wrap: wrap;
    }

    .nav-btn {
        border-radius: 35px;
        padding: 4px 10px;
        font-size: 0.9rem;
    }
}

/* 建議搭配療程區塊 */
.treatment-combo-section {
    padding: 60px 0px;
    scroll-margin-top: 200px;
}

.treatment-combo-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.treatment-combo-item {
    position: relative;
}

.treatment-combo-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
}

.treatment-combo-link:hover {
    transform: translateY(-5px);
}

.combo-item-img {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    /* 1:1 比例 */
    overflow: hidden;
    margin-bottom: 20px;
}

.combo-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.treatment-combo-link:hover .combo-item-img img {
    transform: scale(1.1);
}

/* 遮罩層 - hover 時覆蓋整個圖片 */
.combo-item-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

.treatment-combo-link:hover .combo-item-img::before {
    opacity: 1;
}

.combo-btn-more {
    position: absolute;
    bottom: 0px;
    left: 0px;
    right: 0px;
    top: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2;
    width: 100%;
    height: 100%;
}

.treatment-combo-link:hover .combo-btn-more {
    opacity: 1;
    transform: translateY(0);
}

.combo-btn-text {
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.combo-btn-more img {
    width: 30px;
    height: 30px;
    display: block;
}

.treatment-combo-link:hover h3 {
    color: var(--sub-color);
}

/* 響應式設計 - 建議搭配療程 */
@media (max-width: 991px) {
    .treatment-combo-items {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 575px) {
    .treatment-combo-items {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .treatment-combo-section {
        padding: 40px 0px;
    }
}

/* ============================================
   諮詢表單樣式 - 參考 dr-shine.com.tw
   ============================================ */

/* 表單區塊容器 */
.contact-us-form {
    max-width: 100%;
}

/* 基本表單欄位 */
.contact-us-form .form-group {
    margin-bottom: 20px;
}

/* 浮動標籤容器 */
.floating-label-wrapper {
    position: relative;
}

.contact-us-form .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--sub-color);
}

.contact-us-form .form-group label abbr {
    color: #dc3545;
    text-decoration: none;
}

/* 浮動標籤樣式 */
.floating-label {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1rem;
    color: var(--sub-color);
    pointer-events: none;
    transition: all 0.3s ease;
    background-color: white;
    padding: 0 5px;
    z-index: 1;
    white-space: nowrap;
}

.floating-label abbr,
h4 abbr {
    color: #dc3545;
    text-decoration: none !important;
}

/* 當 input focus 或有值時，label 上移並縮小 */
.floating-input:focus+.floating-label,
.floating-input.has-value+.floating-label {
    top: 0;
    font-size: 0.85rem;
    color: var(--primary-color, #0094cb);
    transform: translateY(-50%);
}

/* 移除 :not(:placeholder-shown) 以避免初始就觸發 */

/* select 特殊處理 */
.floating-input[multiple],
.floating-input select {
    padding-top: 10px;
}

/* textarea 特殊處理 */
.floating-input[rows]+.floating-label {
    top: 25px;
}

.floating-input[rows]:focus+.floating-label,
.floating-input[rows].has-value+.floating-label {
    top: 0;
    font-size: 0.85rem;
    transform: translateY(-50%);
}

/* placeholder 處理：只在 focus 時顯示，且沒有值時 */
.floating-input::placeholder {
    opacity: 0 !important;
    visibility: hidden !important;
    transition: opacity 0.3s ease 0.2s, visibility 0s 0.2s;
    /* 延遲 0.2s 等 label 先移走 */
}

/* 只有當 focus 且沒有值且設置了 data-show-placeholder 時才顯示 */
.floating-input:focus:not(.has-value)[data-show-placeholder="true"]::placeholder {
    opacity: 1 !important;
    visibility: visible !important;
    transition-delay: 0.2s;
    transition-duration: 0.3s;
    /* 確保 label 移走後才顯示 */
}

/* 當有值時隱藏 placeholder */
.floating-input.has-value::placeholder {
    opacity: 0 !important;
    visibility: hidden !important;
}

/* 確保初始狀態不顯示 placeholder */
.contact-us-form .floating-input::placeholder {
    opacity: 0 !important;
    visibility: hidden !important;
}

/* Radio 選項群組 - 包在 input 樣式裡，欄位文字在框內 */
.radio-input-wrapper {
    position: relative;
    margin-bottom: 20px;
    border: 1px solid #707070;
    border-radius: 35px;
    background-color: white;
    padding: 10px 20px;
    min-height: 50px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.radio-field-label {
    color: var(--sub-color);
    font-size: 1rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.radio-field-label abbr {
    color: #dc3545;
    text-decoration: none;
}

.radio-input-wrapper .form-input-group {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
    margin: 0;
}

.form-input-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.form-input-group.group-all {
    gap: 20px;
}

.form-input-group .radio {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin: 0;
}

.form-input-group .radio input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    width: 0;
    height: 0;
}

.form-input-group .radio label {
    display: flex;
    align-items: center;
    cursor: pointer;
    margin: 0;
    padding-left: 25px;
    position: relative;
    font-weight: normal;
}

.form-input-group .radio label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    border: 2px solid #ccc;
    border-radius: 50%;
    background-color: #fff;
    transition: all 0.3s ease;
}

.form-input-group .radio input[type="radio"]:checked+label::before {
    border-color: var(--primary-color, #0094cb);
    background-color: #fff;
}

.form-input-group .radio input[type="radio"]:checked+label::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--primary-color, #0094cb);
}

/* 並排表單欄位（聯繫方式） */
.form-input-group .form-group.flex-2 {
    flex: 0 0 calc(40% - 7.5px);
}

.form-input-group .form-group.flex-3 {
    flex: 0 0 calc(60% - 7.5px);
}

/* 表單輸入框 - 保留原本樣式，只調整必要部分 */
.contact-us-form .form-control {
    /* 保留原本的所有樣式，不覆蓋 */
    border: 1px solid #707070;
    background-color: white;
    color: var(--sub-color);
}

/* textarea 高度調整 */
.contact-us-form textarea.form-control {
    min-height: 120px;
    height: auto;
}

/* Placeholder 樣式 - 保留原本樣式 */
/* 一般表單控制項的 placeholder（排除 floating-input） */
.contact-us-form .form-control:not(.floating-input)::placeholder {
    color: var(--sub-color) !important;
    opacity: 1 !important;
    font-size: 1rem !important;
}

.contact-us-form .form-control:not(.floating-input)::-webkit-input-placeholder {
    color: var(--sub-color) !important;
    opacity: 1 !important;
    font-size: 1rem !important;
}

.contact-us-form .form-control:not(.floating-input)::-moz-placeholder {
    color: var(--sub-color) !important;
    opacity: 1 !important;
    font-size: 1rem !important;
}

.contact-us-form .form-control:not(.floating-input):-ms-input-placeholder {
    color: var(--sub-color) !important;
    opacity: 1 !important;
    font-size: 1rem !important;
}

.contact-us-form .form-control:not(.floating-input)::-ms-input-placeholder {
    color: var(--sub-color) !important;
    opacity: 1 !important;
    font-size: 1rem !important;
}

/* 響應式設計 - 諮詢表單 */
@media (max-width: 768px) {

    .form-input-group .form-group.flex-2,
    .form-input-group .form-group.flex-3 {
        flex: 0 0 100%;
    }

    .form-input-group {
        gap: 0;
    }

    .form-submit {
        max-width: 100%;
    }
}

@media (max-width: 320px) {
    .treatment-combo-items {
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
    }
}

/* 常見問題區塊 */
.faq-item {
    border-bottom: 1px solid #bcbcbc;
    margin-bottom: 0;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    cursor: pointer;
}

.faq-text {
    font-size: 1.2rem;
    color: black;
    transition: color 0.3s ease;
}

.faq-toggle {
    font-size: 1.2rem;
    color: black;
    transition: color 0.3s ease;
}

/* 展開狀態：文字和圖示變為主色 */
.faq-item.active .faq-text,
.faq-item.active .faq-toggle {
    color: var(--primary-color);
}

.faq-answer {
    display: none;
    padding-bottom: 20px;
}

.faq-answer.active {
    display: block;
}

.faq-answer p {
    color: #333;
}

/* 相關影片區塊 */
.videos-section .column-slider {
    margin: 0 -15px;
}

/* 影片區塊 - 只顯示影片，獨立容器（療程影片專用） */
.column-video {
    width: 100%;
    margin-bottom: 1rem;
}

.embed-responsive-item,
.embed-responsive iframe,
.embed-responsive embed,
.embed-responsive object,
.embed-responsive video {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* 諮詢表單區塊 */
.btn {
    border-radius: 35px;
    font-size: 1.1rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    width: 100%;
    padding: 10px 20px;
    border: 1px solid #707070;
    border-radius: 35px;
    background-color: white;
    font-size: 1rem;
    color: var(--sub-color);
    height: 50px;
}

/* Placeholder 樣式 - 支援所有瀏覽器 */
.form-control::-webkit-input-placeholder {
    color: var(--sub-color) !important;
    opacity: 1 !important;
    font-size: 1rem !important;
}

.form-control::-moz-placeholder {
    color: var(--sub-color) !important;
    opacity: 1 !important;
    font-size: 1rem !important;
}

.form-control:-ms-input-placeholder {
    color: var(--sub-color) !important;
    opacity: 1 !important;
    font-size: 1rem !important;
}

.form-control::-ms-input-placeholder {
    color: var(--sub-color) !important;
    opacity: 1 !important;
    font-size: 1rem !important;
}

.form-control::placeholder {
    color: var(--sub-color) !important;
    opacity: 1 !important;
    font-size: 1rem !important;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-control:focus::placeholder {
    color: #999;
}

/* Select 下拉選單樣式 */
select.form-control {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23968880' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 12px 8px;
    padding-right: 45px;
    cursor: pointer;
    overflow: visible;
    white-space: nowrap;
    padding: 0 20px;
}

select.form-control option {
    color: black;
    white-space: normal;
}

select.form-control option:first-child {
    color: var(--sub-color);
    font-size: 1rem;
}

/* select 第一個選項（placeholder）樣式 */
select.form-control option[value=""] {
    color: var(--sub-color);
}

textarea.form-control {
    border-radius: 30px;
    resize: vertical;
}

.contact-info-text {
    font-size: 0.9rem;
    color: var(--sub-color);
    text-align: center;
}

/* 響應式設計 */
@media (max-width: 1199px) {

    /* 響應式調整 scroll-margin-top */
    .treatment-intro-section,
    .treatment-principle-section,
    .treatment-indications-section,
    .treatment-precaution-section,
    .treatment-faq-section {
        scroll-margin-top: 140px;
    }

}

.about-image-row {
    display: flex;
    flex-wrap: wrap;
}

.about-image-row img {
    width: 25%;
}

.bg-rounded-top {
    background-color: #fff;
    position: relative;
    border-top: 1px solid var(--secondary-color);
    border-radius: 0 200px 0px 0px;
}

.border-color-top {
    border-top: 1px solid var(--secondary-color);
}

/* ============================================
   醫師門診表區塊
   ============================================ */
.doctor-schedule-section {
    padding: 60px 0 80px 0;
    border-top: 1px solid var(--secondary-color);
    border-bottom: 1px solid var(--secondary-color);
}

/* 診所切換頁籤 */
.schedule-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.schedule-tab {
    padding: 8px 15px;
    border: 1px solid var(--secondary-color);
    background-color: #fff;
    color: #333;
    border-radius: 35px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.schedule-tab:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: #fff;
}

.schedule-tab.active {
    background-color: var(--accent-color);
    color: #fff;
    border-color: var(--accent-color);
}

/* 門診表內容 */
.clinic-hours {
    display: none;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.clinic-hours.active {
    display: grid;
}

/* 桌面版（960px 以上）才使用等高效果 */
@media (min-width: 960px) {
    .clinic-hours.active {
        align-items: stretch;
        grid-auto-rows: 1fr;
    }

    .week-schedule {
        height: 100%;
    }
}

.week-schedule {
    display: flex;
    flex-direction: column;
}

.week-title {
    font-size: 1.1rem;
    font-weight: bold;
    border-bottom: 2px solid var(--secondary-color);
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    flex-shrink: 0;
    padding-bottom: 5px;
    margin-bottom: 0;
}

.week-title .en {
    display: inline-block;
    font-family: var(--font-family-heading);
    color: var(--primary-color);
    letter-spacing: 2px;
}

.week-title .cn {
    display: inline-block;
    margin-right: 5px;
    color: var(--primary-color);
}

.clinic-hours-items {
    display: flex;
    flex-direction: column;
    gap: 0px;
    flex: 1;
    min-height: 0;
    background-color: var(--light-gray);
}

.clinic-hours-item {
    padding: 10px;
    background-color: var(--light-gray);
    transition: background-color 0.3s ease;
    border-top: 4px solid #fff;
}

.clinic-hours-item:first-child {
    border-top: none;
}

.clinic-hours-items.clinic-hours-closed {
    display: flex;
    align-items: center;
    justify-content: center;
}

.clinic-hours-item.closed {
    font-size: 1rem;
    color: var(--sub-color);
}

.item-doctor {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 2px;
}

.item-doctor a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.item-doctor a:hover {
    color: var(--sub-color);
}

.item-time p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.note-text {
    color: var(--accent-color);
    font-size: 0.8rem !important;
}

.note-text i {
    margin-right: 5px;
}

/* 響應式設計 - 門診表 */
@media (max-width: 959px) {
    .clinic-hours.active {
        grid-template-columns: 1fr;
        gap: 0;
        align-items: normal;
    }

    .clinic-hours-items.clinic-hours-closed {
        align-items: flex-start;
    }

    .week-schedule {
        flex-direction: row;
        border-bottom: 1px solid #f5f5f5;
        padding: 10px 0;
        height: auto;
        min-height: auto;
    }

    .week-title {
        text-orientation: mixed;
        margin-bottom: 0;
        margin-right: 5px;
        padding-bottom: 0;
        padding-right: 0;
        border-bottom: none;
        border-right: none;
        min-width: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: var(--accent-color);
        color: #fff;
        padding: 10px 0;
        font-size: 1rem;
        flex-shrink: 0;
        flex-direction: column-reverse;
    }

    .week-title .en {
        transform: rotate(0deg);
        margin-right: 0;
        color: #fff;
    }

    .week-title .cn {
        transform: rotate(0deg);
        margin-right: 0;
        color: #fff;
    }

    .clinic-hours-items {
        flex: 1;
        gap: 5px;
    }

    .clinic-hours-item {
        padding: 12px;
        margin-bottom: 0;
    }
}

/* ============================================
   範例選單樣式
   ============================================ */

/* 主選單容器 */
.naviMain .main-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.naviMain .main-menu .menu-item {
    position: relative;
    margin: 0;
    padding: 0;
}


/* 主選單連結 */
.naviMain .main-menu .menu-link {
    display: block;
    padding: 10px 20px;
    color: #ffffff;
    text-decoration: none;
    font-size: 1.02rem;
    font-weight: 500;
    transition: color 0.3s ease;
    white-space: nowrap;
    line-height: normal;
    height: auto;
}

.naviMain .main-menu .menu-link:hover {
    color: var(--primary-color);
}

/* 有子選單的項目 */
.naviMain .main-menu .menu-item.has-submenu {
    position: static;
}

/* 讓子選單相對於 container 定位 */
.naviMain .container {
    position: relative;
}

/* 子選單容器 */
.submenu-wrapper {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 0px 5px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08);
    border-radius: 0 0 12px 12px;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
    z-index: 999;
    overflow: hidden;
    pointer-events: none;
}

/* 讓子選單相對於 container 定位 */
.naviMain .container {
    position: relative;
}

.naviMain .main-menu .menu-item.has-submenu {
    position: static;
}

/* 點擊後顯示子選單 */
.naviMain .main-menu .menu-item.has-submenu.is-open .submenu-wrapper {
    opacity: 1;
    visibility: visible;
    transform: translateY(18px);
    pointer-events: auto;
}

.navbar.fixed .submenu-wrapper {
    transform: translateY(15px) !important;
}

/* 選單項目在開啟時的樣式 */
.naviMain .main-menu .menu-item.has-submenu.is-open>.menu-link {
    color: var(--primary-color);
}

/* 子選單頁籤容器 */
.submenu-tabs {
    display: flex;
    gap: 0;
    background: linear-gradient(to bottom, #fafafa, #ffffff);
    border-bottom: 1px solid #e8e8e8;
    margin-bottom: 0;
    flex-wrap: nowrap;
    padding: 0 20px;
    justify-content: space-between;
}

/* 子選單頁籤按鈕 */
.submenu-tab {
    background: none;
    border: none;
    padding: 16px 24px;
    font-size: 0.95rem;
    color: #666;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    font-family: var(--font-family-base);
    font-weight: 500;
    white-space: nowrap;
    letter-spacing: 0.5px;
}

.submenu-tab::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background-color: var(--sub-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 3px 3px 0 0;
}

.submenu-tab:hover {
    color: var(--primary-color);
    background-color: rgba(var(--primary-color-rgb), 0.05);
}

.submenu-tab:hover::before {
    width: 30%;
}

.submenu-tab.active {
    color: var(--sub-color);
    font-weight: 600;
    background-color: rgba(var(--primary-color-rgb), 0.05);
}

.submenu-tab.active::before {
    width: 100%;
}

/* 子選單內容容器 */
.submenu-content {
    position: relative;
    min-height: 180px;
    padding: 24px 30px 30px;
    background: #fff;
}

/* 子選單面板 */
.submenu-panel {
    display: none;
    animation: submenuFadeIn 0.35s ease;
}

.submenu-panel.active {
    display: block;
}

@keyframes submenuFadeIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 子選單欄位容器 */
.submenu-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    width: 100%;
}

/* 子選單欄位 */
.submenu-column {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* 子選單項目 */
.submenu-item {
    display: flex;
    align-items: center;
    padding: 8px 4px;
    color: #4a4a4a;
    text-decoration: none;
    font-size: 0.92rem;
    transition: all 0.25s ease;
    position: relative;
    padding-left: 28px;
    border-radius: 6px;
    line-height: 1.4;
}

.submenu-item::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #d4a574 100%);
    border-radius: 50%;
    transition: all 0.25s ease;
    opacity: 0.7;
}

.submenu-item:hover {
    color: var(--primary-color);
    background-color: rgba(var(--primary-color-rgb), 0.08);
    padding-left: 32px;
}

.submenu-item:hover::before {
    opacity: 1;
}

/* 響應式設計 */
@media (max-width: 1200px) {
    .submenu-columns {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px 30px;
    }
}

@media (max-width: 992px) {
    .submenu-columns {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px 24px;
    }

    .submenu-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 0 15px;
    }

    .submenu-tab {
        flex-shrink: 0;
        padding: 14px 18px;
        font-size: 0.9rem;
    }

    .submenu-content {
        padding: 20px;
    }

    .submenu-item {
        padding: 8px 10px 8px 24px;
        font-size: 0.88rem;
    }

    .submenu-item::before {
        left: 8px;
        width: 6px;
        height: 6px;
    }
}

@media (max-width: 768px) {
    .naviMain .main-menu {
        flex-direction: column;
        align-items: stretch;
    }

    .naviMain .main-menu .menu-item::after {
        display: none;
    }

    .submenu-wrapper {
        position: static;
        min-width: 100%;
        transform: none;
        margin-top: 0;
        border-radius: 0;
        box-shadow: none;
        border-top: none;
    }

    .submenu-columns {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .submenu-tabs {
        background: #f5f5f5;
    }
}

/* ============================================
   院所資訊列表頁面樣式
   ============================================ */

/* 診所列表區塊 */
.clinic-list-section {
    padding: 0 0 80px 0;
}

/* 診所卡片 */
.clinic-card {
    display: block;
    text-decoration: none;
    color: inherit;
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}

.clinic-card:hover {
    text-decoration: none;
    color: inherit;
}

/* 診所圖片區塊 */
.clinic-img-box {
    position: relative;
    width: 100%;
    aspect-ratio: 480 / 300;
    overflow: hidden;
}

.clinic-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.clinic-card:hover .clinic-img-box img {
    transform: scale(1.1);
}

/* 遮罩層 - hover 時覆蓋整個圖片 */
.clinic-img-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

.clinic-card:hover .clinic-img-box::before {
    opacity: 1;
}

/* MORE 按鈕 - 與建議搭配療程相同效果 */
.clinic-btn-more {
    position: absolute;
    bottom: 0px;
    left: 0px;
    right: 0px;
    top: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2;
    width: 100%;
    height: 100%;
}

.clinic-card:hover .clinic-btn-more {
    opacity: 1;
    transform: translateY(0);
}

.clinic-btn-text {
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.clinic-btn-more img {
    width: 30px;
    height: 30px;
    display: block;
}

/* 診所資訊區塊 */
.clinic-info {
    padding: 20px 0;
}

/* 診所詳細資訊 */
.clinic-detail {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.clinic-address,
.clinic-phone {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 0;
    font-size: 0.95rem;
    color: #666;
}

.clinic-address i,
.clinic-phone i {
    color: var(--accent-color);
    font-size: 1rem;
    min-width: 18px;
    margin-top: 3px;
}

.clinic-address span,
.clinic-phone span {
    flex: 1;
    line-height: 1.5;
}

/* 響應式設計 - 院所資訊 */
@media (max-width: 991px) {
    .clinic-list-section {
        padding: 0 0 60px 0;
    }

    .clinic-card {
        margin-bottom: 25px;
    }
}

@media (max-width: 575px) {

    .clinic-address,
    .clinic-phone {
        font-size: 0.9rem;
    }
}

/* ============================================
   院所內頁樣式
   ============================================ */

/* 1. 院所資訊 + 圖片輪播區塊 */
.clinic-detail-section {
    padding: 0px 0 60px 0;
}

.clinic-detail-info {
    padding-right: 2rem;
}

.clinic-detail-name {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
    letter-spacing: 2px;
}

.clinic-detail-info {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.clinic-detail-info .divider {
    border-top: 1px solid var(--secondary-color);
    margin: 1.5rem 0;
}

/* 院所資訊項目 */
.clinic-info-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 2rem;
}

.clinic-info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.clinic-info-item i {
    color: var(--accent-color);
    font-size: 1.2rem;
    min-width: 25px;
    margin-top: 3px;
}

.clinic-info-item .info-content {
    display: flex;
    flex-direction: column;
}

.clinic-info-item .info-label {
    font-size: 0.9rem;
    color: var(--sub-color);
    margin-bottom: 2px;
}

.clinic-info-item .info-text {
    font-size: 1.05rem;
    color: var(--primary-color);
    font-weight: 500;
}

/* 社群媒體連結 */
.clinic-social-links {
    display: flex;
    gap: 15px;
    margin-top: 1.5rem;
}

.clinic-social-links .social-link-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--sub-color);
    color: #fff;
    font-size: 1.4rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.clinic-social-links .social-link-item:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* 圖片輪播區塊 */
.clinic-gallery-wrapper {
    position: relative;
    width: 100%;
}

.clinic-main-slider {
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.clinic-main-slider .slick-list,
.clinic-main-slider .slick-track {
    width: 100%;
}

.clinic-main-slider .slide-item {
    width: 100%;
}

.clinic-main-slider .slide-item img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
}

/* 主圖輪播箭頭 - 已移除，改用縮圖區域的箭頭 */

/* 縮圖導航 - 使用純 CSS flexbox */
.clinic-thumb-nav-wrapper {
    position: relative;
    margin-top: 15px;
}

.clinic-thumb-nav {
    display: flex;
    gap: 10px;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
    padding: 5px 0;
}

.clinic-thumb-nav::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}

.clinic-thumb-nav .thumb-item {
    flex: 0 0 calc(25% - 7.5px);
    cursor: pointer;
    outline: none;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    min-width: 0;
}

.clinic-thumb-nav .thumb-item img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 8px;
    border: 3px solid #e0e0e0;
    transition: all 0.3s ease;
    opacity: 0.7;
    display: block;
}

.clinic-thumb-nav .thumb-item:hover img {
    opacity: 0.9;
    border-color: var(--sub-color);
}

.clinic-thumb-nav .thumb-item.active img {
    border-color: var(--accent-color);
    opacity: 1;
    box-shadow: 0 2px 8px rgba(197, 174, 146, 0.4);
}

/* 縮圖導航箭頭 */
.thumb-nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.thumb-nav-arrow.prev {
    left: -15px;
}

.thumb-nav-arrow.next {
    right: -15px;
}

.thumb-nav-arrow:hover {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.thumb-nav-arrow img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

/* 2. 門診表區塊（院所專用） */
.clinic-schedule-section {
    padding: 60px 0;
    border-top: 1px solid var(--secondary-color);
}

.clinic-schedule-section .clinic-hours {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

/* 門診表備註 */
.schedule-notes {
    padding: 15px 0;
    max-width: 800px;
    margin: 0 auto;
}

.schedule-notes .note-text {
    font-size: 0.9rem !important;
    color: #666;
    margin-bottom: 8px;
    line-height: 1.6;
    display: flex;
}

.schedule-notes .note-text i {
    color: var(--accent-color);
    margin-right: 8px;
    position: relative;
    top: 5px;
}

/* 3. 交通資訊區塊 */
.clinic-traffic-section {
    padding: 60px 0;
}

.traffic-info-wrapper {
    margin-bottom: 2rem;
}

.traffic-method {
    margin-bottom: 25px;
}

.traffic-method h4 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 12px;
    font-weight: 600;
}

.traffic-method h4 i {
    color: var(--accent-color);
    margin-right: 10px;
    width: 20px;
}

.traffic-list {
    list-style: none;
    padding: 0;
    margin: 0;
    padding-left: 30px;
}

.traffic-list li {
    position: relative;
    padding-left: 15px;
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
}

.traffic-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--sub-color);
}

/* Google 地圖容器 */
.clinic-map-wrapper {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
    min-height: 400px;
}

.clinic-map-wrapper iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
    display: block;
}

/* 4. 推薦療程區塊 */
.clinic-recommend-section {
    padding: 60px 0 80px 0;
    border-top: 1px solid var(--secondary-color);
}

/* 響應式設計 - 院所內頁 */
@media (max-width: 991px) {
    .clinic-detail-info {
        padding-right: 0;
        margin-bottom: 2rem;
    }

    .clinic-schedule-section .clinic-hours {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .clinic-schedule-section .week-schedule {
        flex-direction: row;
        border-bottom: 1px solid #f5f5f5;
        padding: 10px 0;
    }

    .clinic-schedule-section .week-title {
        text-orientation: mixed;
        margin-bottom: 0;
        margin-right: 5px;
        padding-bottom: 0;
        border-bottom: none;
        min-width: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: var(--accent-color);
        color: #fff;
        padding: 10px 0;
        font-size: 1rem;
        flex-shrink: 0;
        flex-direction: column-reverse;
    }

    .clinic-schedule-section .week-title .en,
    .clinic-schedule-section .week-title .cn {
        transform: rotate(0deg);
        margin-right: 0;
        color: #fff;
    }

    .clinic-map-wrapper {
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .clinic-detail-section {
        padding: 0px 0 40px 0;
    }

    .clinic-detail-name {
        font-size: 1.6rem;
    }

    .clinic-schedule-section,
    .clinic-traffic-section,
    .clinic-recommend-section {
        padding: 40px 0;
    }

    .clinic-notice-box {
        padding: 15px;
    }

    .clinic-notice-box .notice-list li {
        font-size: 0.9rem;
    }
}

@media (max-width: 991px) {
    .clinic-thumb-nav .thumb-item {
        flex: 0 0 calc(33.333% - 7px);
        /* 顯示 3 張 */
    }

    .thumb-nav-arrow {
        display: flex;
    }
}

@media (max-width: 768px) {
    .clinic-thumb-nav {
        gap: 8px;
    }

    .clinic-thumb-nav .thumb-item {
        flex: 0 0 calc(33.333% - 6px);
        /* 顯示 3 張 */
    }

    .clinic-thumb-nav .thumb-item img {
        border-width: 2px;
    }

    .thumb-nav-arrow {
        width: 30px;
        height: 30px;
    }

    .thumb-nav-arrow img {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 575px) {
    .clinic-detail-name {
        font-size: 1.4rem;
    }

    .clinic-info-item .info-text {
        font-size: 1rem;
    }

    .clinic-thumb-nav {
        gap: 6px;
    }

    .clinic-thumb-nav .thumb-item {
        flex: 0 0 calc(33.333% - 5px);
        /* 顯示 3 張 */
    }

    .clinic-thumb-nav .thumb-item img {
        border-width: 2px;
        border-radius: 5px;
    }

    .thumb-nav-arrow {
        width: 28px;
        height: 28px;
    }

    .thumb-nav-arrow.prev {
        left: -10px;
    }

    .thumb-nav-arrow.next {
        right: -10px;
    }

    .thumb-nav-arrow img {
        width: 16px;
        height: 16px;
    }
}

/* ============================================
   美麗分享 - 列表頁樣式
   ============================================ */

/* 搜尋區塊 */

.showcase-search-bar {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    flex-wrap: wrap;
}

/* 下拉選單包裝器 */
.search-select-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 50px;
    padding: 0 20px;
    min-width: 280px;
    height: 50px;
    transition: all 0.3s ease;
}

.search-select-wrapper:hover {
    border-color: var(--primary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.search-select-wrapper:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(var(--primary-color-rgb), 0.15);
}

/* 選單圖標 */
.search-select-icon {
    width: 24px;
    height: 24px;
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

.search-select-icon img {
    width: 20px;
    height: 20px;
    opacity: 0.6;
}

/* 下拉選單 */
.search-select {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 1rem;
    color: var(--sub-color);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 30px;
    height: 100%;
}

.search-select:focus {
    outline: none;
}

/* 下拉箭頭 */
.search-select-arrow {
    position: absolute;
    right: 20px;
    pointer-events: none;
    display: flex;
    align-items: center;
}

/* 搜尋按鈕 */
.showcase-search-btn {
    background: var(--button-bg-color);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 0 40px;
    height: 50px;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.showcase-search-btn:hover {
    background: var(--button-bg-hover-color);
}

/* 案例列表區塊 */

.showcase-list-section .col-lg-6 {
    padding-bottom: 20px;
}

/* 案例卡片 */
.showcase-card {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
    background: #fff;
    overflow: visible;
    padding: 10px;
}

.showcase-card:hover {
    transform: translateY(-5px);
}

/* 卡片內部 - 左右排列 */
.showcase-card-inner {
    display: flex;
    align-items: stretch;
    background: #fff;
}

/* 圖片區塊 - 左側 */
.showcase-img-box {
    position: relative;
    flex: 0 0 50%;
    max-width: 50%;
    aspect-ratio: 1 / 1;
    overflow: visible;
}

.showcase-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.4s ease;
}

/* 時尚雜誌風格 Before/After 設計 */
.showcase-label {
    position: absolute;
    font-family: var(--font-family-heading);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 4px 12px;
    z-index: 4;
    backdrop-filter: blur(4px);
}

/* 時尚框架術前小圖 */
.showcase-before-frame {
    position: absolute;
    right: -15px;
    bottom: -10px;
    width: 100px;
    padding: 4px;
    background: #fff;
    box-shadow: 0 8px 10px rgba(0, 0, 0, 0.15), 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 10;
    transform: rotate(-5deg);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.showcase-before-inner {
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #f5f5f5;
}

.showcase-before-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

/* Before 標籤 */
.showcase-label-before {
    position: relative;
    display: block;
    text-align: center;
    background: transparent;
    color: var(--sub-color);
    font-size: 0.7rem;
    padding: 2px 0;
    border: none;
}

/* Hover 效果 */
.showcase-card:hover .showcase-before-frame {
    box-shadow: 0 9px 12px rgba(0, 0, 0, 0.2), 0 3px 10px rgba(0, 0, 0, 0.1);
}

/* 遮罩層 */
.showcase-img-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

.showcase-card:hover .showcase-img-box::before {
    opacity: 1;
}

/* MORE 按鈕 */
.showcase-btn-more {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2;
}

.showcase-card:hover .showcase-btn-more {
    opacity: 1;
}

.showcase-btn-text {
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.showcase-btn-more img {
    width: 30px;
    height: 30px;
    display: block;
}

/* 案例資訊區塊 - 右側 */
.showcase-info {
    flex: 1;
    padding: 10px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

/* 案例摘要 */
.showcase-excerpt {
    font-size: 0.9rem;
    color: #777;
    line-height: 1.7;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 72px;
}

/* 案例 meta 資訊 */
.showcase-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
}

.showcase-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #666;
    font-size: 0.85rem;
    background: #f8f8f8;
    padding: 5px 12px;
    border-radius: 20px;
}

.showcase-meta-icon {
    width: 16px;
    height: 16px;
    opacity: 0.7;
}

.showcase-meta-item i.showcase-meta-icon {
    font-size: 12px;
    color: var(--primary-color);
    width: 16px;
    text-align: center;
}

/* ============================================
   美麗分享 - 內頁樣式
   ============================================ */

/* 頂部資訊區塊 - 白光呼吸效果 */
.showcase-header-section {
    padding: 170px 0 0px 0;
    position: relative;
    overflow: hidden;
}


@media (max-width: 1199px) {
    .showcase-header-section {
        padding-top: 0px;
    }
}

/* Meta 連結 */
.showcase-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.showcase-meta-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: #f8f8f8;
    border-radius: 30px;
    color: #666;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.showcase-meta-link:hover {
    background: var(--primary-color);
    color: #fff;
}

.showcase-meta-link .meta-icon {
    width: 18px;
    height: 18px;
    opacity: 0.7;
}

.showcase-meta-link:hover .meta-icon {
    opacity: 1;
    filter: brightness(10);
}

.showcase-meta-link i.meta-icon {
    font-size: 14px;
    width: 18px;
}

/* Before/After 對比區塊 */
.showcase-compare-section {
    padding: 50px 0;
    background: var(--bg-light-color, #faf9f7);
}

.compare-container {
    display: flex;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.compare-item {
    flex: 1;
    position: relative;
}

/* 標籤移到圖片外上方 */
.compare-label {
    display: block;
    text-align: center;
    font-family: var(--font-family-heading, 'Playfair Display', serif);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--sub-color);
    padding: 15px 0;
    background: #fff;
}

/* 圖片比例 1:1 */
.compare-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.compare-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

/* 分隔線 - 簡潔版 */
.compare-divider {
    width: 1px;
    background: #e5e5e5;
}

/* 相關案例區塊 */
.related-cases-section {
    padding: 60px 0;
    background: var(--bg-light-color, #faf9f7);
}

.related-cases-section .section-title {
    margin-bottom: 30px;
}

/* 推薦療程區塊 */
.showcase-recommend-section {
    padding: 60px 0 80px;
    background: #fff;
}

/* ============================================
   美麗分享 - 響應式設計
   ============================================ */

@media (max-width: 991px) {

    .showcase-img-box {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .showcase-info {
        padding: 20px;
    }

    .showcase-excerpt {
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }
}

@media (max-width: 767px) {

    .showcase-search-bar {
        gap: 15px;
    }

    /* 手機：卡片變成上下排列 */
    .showcase-card-inner {
        flex-direction: column;
    }

    .showcase-img-box {
        flex: none;
        max-width: 100%;
        width: 100%;
        aspect-ratio: 4 / 3;
    }

    .showcase-info {
        padding: 20px;
    }

    /* 時尚框架響應式 */
    .showcase-before-frame {
        width: 85px;
        padding: 5px;
        right: -5px;
        bottom: -10px;
    }

    .showcase-label {
        font-size: 0.65rem;
        padding: 4px 10px;
    }

    .showcase-label-before {
        font-size: 0.55rem;
        margin-top: 4px;
    }

    .showcase-excerpt {
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }

    .compare-container {
        flex-direction: column;
        border-radius: 15px;
    }

    .compare-divider {
        width: 100%;
        height: 1px;
    }

    .compare-label {
        font-size: 0.9rem;
        padding: 12px 0;
    }

    .search-select-wrapper {
        min-width: 100%;
    }

    .showcase-search-btn {
        width: 100%;
    }
}

@media (max-width: 575px) {

    .showcase-info {
        padding: 20px 0;
    }

    .showcase-meta {
        gap: 10px;
    }

    .showcase-meta-item {
        padding: 4px 10px;
        font-size: 0.8rem;
    }

    .showcase-before-frame {
        width: 65px;
        padding: 2px;
        right: -8px;
        bottom: -10px;
    }

    .showcase-label {
        padding: 0;
    }

    .showcase-detail-meta {
        gap: 10px;
    }

    .showcase-meta-link {
        padding: 6px 14px;
        font-size: 0.85rem;
    }

    .showcase-compare-section,
    .showcase-content-section,
    .showcase-recommend-section {
        padding: 40px 0;
    }

    h1.page-title-text {
        font-size: 1.7rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

}

/* ============================================
   側邊欄線上諮詢按鈕
   ============================================ */

/* 線上諮詢按鈕樣式 */
.fixed-bottom-contant .booking-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 8px 15px 8px;
    background: linear-gradient(to bottom, #efe8e2 0%, #e4d8cf 100%);
    border-radius: 30px;
    text-decoration: none;
    box-shadow: 0 0px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    width: 50px;
    margin-bottom: 30px;
}

.fixed-bottom-contant .booking-btn:hover {
    background: linear-gradient(to bottom, #e4d8cf 0%, #d4c4b7 100%);
    box-shadow: 0 0px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-3px);
}

/* 圖示樣式 */
.fixed-bottom-contant .booking-icon {
    width: 26px;
    height: auto;
    margin-bottom: 8px;
    display: block;
}

/* 文字樣式 - 直式排列 */
.fixed-bottom-contant .booking-text {
    writing-mode: vertical-rl;
    text-orientation: upright;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: 4px;
    line-height: 1.2;
}

@media (max-width: 992px) {

    .social-link>li>a:hover,
    .social-link>li>a:active {
        background-color: transparent;
        color: var(--primary-color);
    }
}

/* 響應式調整 */
@media (max-width: 768px) {
    .fixed-bottom-contant .booking-btn {
        border-radius: 30px 0 0 30px;
        width: 50px;
    }

    .fixed-bottom-contant .booking-text {
        font-size: 14px;
        letter-spacing: 3px;
    }

    .fixed-bottom-contant {
        width: 50px;
    }
}

/* ============================================
   Cookie Consent 同意通知樣式
   ============================================ */

/* Cookie 通知容器 - 固定在左下角 */
.cookie-consent {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 9999;
    max-width: 420px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

/* 顯示狀態 */
.cookie-consent.show {
    opacity: 1;
    pointer-events: auto;
}

/* 內容容器 */
.cookie-consent-content {
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* 文字樣式 */
.cookie-consent-content p {
    color: #666;
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.5;
}

/* 連結樣式 */
.cookie-consent-content a {
    color: var(--primary-color);
    text-decoration: underline !important;
    font-weight: 600;
    transition: color 0.3s ease;
}

.cookie-consent-content a:hover {
    color: var(--sub-color);
    text-decoration: underline;
}

/* 同意按鈕 */
.cookie-consent-btn {
    background-color: var(--primary-color);
    color: #fff;
    border: 2px solid var(--primary-color);
    border-radius: 25px;
    padding: 4px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    letter-spacing: 1px;
    align-self: flex-end;
}

.cookie-consent-btn:hover {
    background-color: var(--sub-color);
    color: #fff;
    border-color: var(--sub-color);
    transform: translateY(-2px);
}

.cookie-consent-btn:active {
    transform: translateY(0);
}

/* 響應式設計 - 平板 */
@media (max-width: 768px) {
    .cookie-consent {
        bottom: 15px;
        left: 15px;
        right: 15px;
        max-width: calc(100% - 30px);
    }

    .cookie-consent-content {
        padding: 15px;
    }

    .cookie-consent-content p {
        font-size: 0.8rem;
    }

    .cookie-consent-btn {
        align-self: stretch;
        text-align: center;
    }
}

/* 響應式設計 - 手機 */
@media (max-width: 479px) {
    .cookie-consent {
        bottom: 10px;
        left: 10px;
        right: 10px;
        max-width: calc(100% - 20px);
    }

    .cookie-consent-content {
        padding: 12px 15px;
        gap: 12px;
    }

    .cookie-consent-content p {
        font-size: 0.8rem;
        line-height: 1.4;
    }

    .cookie-consent-btn {
        padding: 7px 20px;
        font-size: 0.85rem;
    }
}