@charset "utf-8";
/* CSS Document */
 :root { 
            --gold: #C5A059; 
            --navy: #12121c;
            --pink: #ff8fb1;
            --d-pink: #d6336c;
            --red: #C91F33;
            --white: #ffffff;
            --transition-slow: all 1.2s cubic-bezier(0.22, 1, 0.36, 1);
        }

        * { box-sizing: border-box; scroll-behavior: smooth; }
        body { margin: 0; font-family: 'Noto Sans TC', sans-serif; background: #fff; overflow-x: hidden; line-height: 1.8; }
        a { text-decoration: none; }

        /* ====== 華麗文字與特效 ====== */
        .text-gradient-red { background: linear-gradient(90deg, #C91F33, #8B1C28); -webkit-background-clip:text; -webkit-text-fill-color:transparent; }
        .text-gradient-light { background: linear-gradient(90deg, #ffffff, #cccccc); -webkit-background-clip:text; -webkit-text-fill-color:transparent; }
        .text-gradient-gold { background: linear-gradient(90deg, #ff8fb1, #ffd6e7); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

        .glow-mask { position:relative; display:inline-block; overflow:hidden; }
        .glow-mask::after {
            content:""; position:absolute; top:0; left:-100%; width:100%; height:100%;
            background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.6) 50%, transparent 100%);
            animation: shine 3s ease-in-out infinite;
        }
        @keyframes shine { 0%{left:-100%;} 50%{left:100%;} 100%{left:100%;} }

        .fade-item { opacity: 0; transition: var(--transition-slow); }
        .fade-up { transform: translateY(30px); }
        .fade-down { transform: translateY(-30px); }
        .fade-item.visible { opacity: 1; transform: translate(0, 0); }

       

  
    }/* =========================================
       2. 導覽列 (Navbar) - 含 Q 彈跳動特效
       ========================================= */
    .navbar {
      position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
      background: linear-gradient(to bottom, rgba(0,0,0,0.8), transparent);
      padding: 15px 40px; display: flex; justify-content: space-between; align-items: center; transition: all 0.4s ease;
    }
    .navbar.scrolled {
      background: rgba(23, 23, 33, 0.98); padding: 10px 30px; box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    }

    /* --- Logo 區域 (圖片與文字分離 + 跳動特效) --- */
    .logo { display: flex; align-items: center; gap: 12px; }

    /* 1. 圖片：旋轉 + 往上跳 */
    .logo-link-img { display: block; cursor: pointer; }
    .logo-link-img img {
      height: 55px; width: 55px; border-radius: 50%; object-fit: cover;
      box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
      /* 設定 Q 彈過渡效果 */
      transition: transform 0.6s cubic-bezier(0.68, -0.6, 0.32, 1.6);
    }
    .logo-link-img:hover img {
      /* 旋轉 360度 + 放大 1.1倍 + 往上跳 5px */
      transform: rotate(360deg) scale(1.1) translateY(-5px);
    }

    /* 2. 文字：單純往上跳 */
    .logo-link-text { text-decoration: none; cursor: pointer; }
    .logo-text {
      display: inline-block; /* 必須設為區塊才能跳動 */
      font-size: 1.5rem; font-weight: bold; color: #fff;
      font-family: "Noto Serif TC", serif; letter-spacing: 1px;
      text-shadow: 0 2px 4px rgba(0,0,0,0.6);
      /* 設定 Q 彈過渡效果 */
      transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }
    .logo-link-text:hover .logo-text {
      color: #ffd6e7;
      transform: translateY(-5px); /* 往上跳 5px */
    }

    /* --- 選單連結 (加入跳動特效) --- */
    .main-nav { display: flex; align-items: center; gap: 25px; }
    
    .main-nav li a {
      color: #fff; font-weight: 500; font-size: 1rem;
      position: relative; padding: 5px 0;
      text-shadow: 0 1px 2px rgba(0,0,0,0.5);
      display: inline-block; /* 必須設為區塊才能跳動 */
      /* 設定 Q 彈過渡效果 */
      transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.3s;
    }

    /* 滑鼠移過去：往上跳 + 變色 */
    .main-nav li a:hover {
      transform: translateY(-5px); /* 跳動效果 */
      color: #ffd6e7;
    }

  
    /* CTA 按鈕 (導覽列) */
    .cta-btn-nav {
      background-color: #C91F33;
      padding: 5px 16px !important;
      font-size: 0.9rem !important;
      border-radius: 50px;
      color: #fff !important;
      font-weight: bold;
      border: 1px solid #C91F33;
      box-shadow: 0 4px 10px rgba(201, 31, 51, 0.3);
      transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    }
    .cta-btn-nav:hover {
      background-color: transparent;
      color: #C91F33 !important;
      transform: translateY(-5px); /* 按鈕也一起跳 */
    }

    /* 漢堡選單 */
    .hamburger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 6px; }
    .hamburger span { display: block; width: 25px; height: 3px; background-color: #fff; border-radius: 3px; transition: 0.3s; }

        .main-nav { display: flex; list-style: none; gap: 15px; margin: 0; align-items: center; }
        .main-nav a { color: #fff; font-weight: 500; font-size: 0.9rem; transition: 0.3s; }
        .main-nav a:hover { color: var(--pink); }
        .cta-btn-nav { background: var(--pink); color: #fff !important; padding: 8px 16px; border-radius: 20px; font-weight: bold; }

        .hamburger { display: none; cursor: pointer; background: none; border: none; }
        .hamburger span { display: block; width: 25px; height: 2px; background: #fff; margin: 6px 0; }

        @media (max-width: 1024px) {
            .main-nav { position: fixed; top: 75px; left: -100%; width: 100%; background: #000; flex-direction: column; padding: 40px 0; transition: 0.5s; }
            .main-nav.active { left: 0; }
            .hamburger { display: block; }
        }

       

/* 為了確保在明亮的背景下文字依然清晰，我們幫文字加上一點陰影 */
.hero h1 { 
    font-size: 4rem; 
    margin-bottom: 20px; 
    font-family: 'Noto Serif TC', serif; 
    text-shadow: 2px 2px 15px rgba(0,0,0,0.5); /* 增加陰影確保清晰度 */
}

.hero p { 
    max-width: 650px; 
    font-size: 1.2rem; 
    margin-bottom: 35px; 
    text-shadow: 1px 1px 10px rgba(0,0,0,0.5); /* 增加陰影 */
}
        .hero h1 { font-size: 4rem; margin-bottom: 20px; font-family: 'Noto Serif TC', serif; }
        .hero p { max-width: 650px; font-size: 1.2rem; margin-bottom: 35px; }
        .hero-buttons { display: flex; gap: 20px; }
        .btn-primary { background: var(--red); color: #fff; padding: 12px 30px; border-radius: 6px; font-weight: bold; }
        .btn-ghost { border: 2px solid #fff; color: #fff; padding: 12px 30px; border-radius: 6px; font-weight: bold; }
        .scroll-down { margin-top:40px; width:40px; height:40px; border:2px solid #ccc; border-radius:50%; display:flex; align-items:center; justify-content:center; color:#ccc; cursor:pointer; animation:bounce 1.5s infinite; }
        @keyframes bounce { 0%,100%{transform:translateY(0);} 50%{transform:translateY(8px);} }

        /* ====== 豪華九宮格 (9圖版) ====== */
        .categories-grid {
            display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px;
            padding: 100px 5%; max-width: 1400px; margin: 0 auto;
        }
        .category-item {
            position: relative; height: 850px; overflow: hidden; border-radius: 12px;
            box-shadow: 0 20px 40px rgba(0,0,0,0.2);
        }
        .category-item img { width: 100%; height: 100%; object-fit: cover; transition: 1.5s; }
        .category-item:hover img { transform: scale(1.08); }
        .item-overlay {
            position: absolute; bottom: 0; width: 100%; padding: 50px 20px;
            background: linear-gradient(transparent, rgba(0,0,0,0.9) 80%); color: #fff; text-align: center;
        }

        /* ====== 歡迎區塊與彩色按鈕 ====== */
        .welcome-section { padding: 80px 10%; text-align: center; background: #fff; }
        .welcome-section h2 { font-family: 'Noto Serif TC', serif; font-size: 2.2rem; color: var(--d-pink); margin-bottom: 30px; }
        .cta-section { display: flex; justify-content: center; gap: 16px; margin-top: 40px; flex-wrap: wrap; }
        .cta-btn { padding: 12px 25px; border-radius: 8px; font-weight: 600; color: #fff; transition: 0.3s; }
        .cta-btn.booking { background: linear-gradient(135deg, #ff6f91, #ff3d6e); }
        .cta-btn.line { background: linear-gradient(135deg, #4caf50, #2e7d32); }
        .cta-btn.map { background: linear-gradient(135deg, #8d6e63, #5d4037); }

        /* ====== 浮動與 Footer ====== */
        .floating-group { position: fixed; bottom: 30px; right: 30px; z-index: 9999; display: flex; flex-direction: column; align-items: flex-end; gap: 15px; }
        .back-to-top { width: 50px; height: 50px; background: var(--pink); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; opacity: 0; visibility: hidden; transition: 0.4s; box-shadow: 0 4px 10px rgba(0,0,0,0.3); font-weight: bold; }
        .back-to-top.show { opacity: 1; visibility: visible; }
        .sub-btns { display: flex; flex-direction: column; gap: 12px; opacity: 0; pointer-events: none; transition: 0.4s; transform: translateY(20px); }
        .sub-btns.active { opacity: 1; pointer-events: auto; transform: translateY(0); }
        .sub-btns a { width: 50px; height: 50px; border-radius: 50%; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 10px rgba(0,0,0,0.2); font-weight: bold; }
        .f-fb { background: #1877F2; } .f-line { background: #06C755; } .f-tel { background: #E53935; }
        .main-contact-btn { width: 65px; height: 65px; border-radius: 50%; background: #000; color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; text-align: center; font-size: 0.8rem; border: 1px solid var(--pink); }

        .site-footer { background: linear-gradient(135deg, #171721, #000000); color: #eee; padding: 60px 5%; border-top: 4px solid var(--pink); }
        .footer-content { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 30px; }
        .footer-info h3 { color: var(--pink); margin-bottom: 15px; }
        .footer-social ul { list-style: none; padding: 0; display: flex; gap: 15px; flex-wrap: wrap; justify-content: center; margin: 30px 0; }
        .footer-social a { color: #eee; font-size: 0.9rem; border: 1px solid rgba(255,255,255,0.2); padding: 5px 12px; border-radius: 5px; }
        .footer-social a:hover { color: var(--pink); border-color: var(--pink); }
        .footer-qr { text-align: center; }
        .footer-qr img { width: 120px; border: 2px solid #fff; border-radius: 8px; margin-bottom: 10px; }

        @media (max-width: 1024px) { .categories-grid { grid-template-columns: repeat(2, 1fr); } }
        @media (max-width: 768px) { .categories-grid { grid-template-columns: 1fr; } .hero h1 { font-size: 2.5rem; } .footer-content { flex-direction: column; align-items: center; text-align: center; } }
		

@keyframes shineText {
    to { background-position: 200% center; }
}/* ====== LEEHI 旗艦版：Hero Banner 樣式整合 (3D金標題 + 瘦身紅副標) ====== */

/* 1. 標題：精緻 3D 金招牌 (已縮小比例) */
.hero h1 { 
    margin-top: 55vh !important; 
    margin-bottom: 25px !important;
    font-family: 'Noto Serif TC', serif; 
    font-size: 2.5rem !important; 
    font-weight: 900 !important; 
    letter-spacing: 4px !important; 
    color: #FFD700 !important;
    -webkit-text-fill-color: #FFD700 !important;
    background: none !important;

    /* 精細 3D 陰影堆疊 */
    text-shadow: 
        0 1px 0 #ccae00, 
        0 2px 0 #b39800, 
        0 3px 5px rgba(0,0,0,.5) !important;

    animation: goldenBlink 2.5s ease-in-out infinite !important;
}

/* 2. 副標題：清晰瘦身紅字 (27字內優化版) */
.hero p {
    max-width: 850px !important;
    margin: 0 auto !important;
    font-size: 1.6rem !important; 
    font-weight: 600 !important; /* 瘦身筆畫，不糊在一起 */
    line-height: 1.8 !important; 
    letter-spacing: 4px !important; /* 加大字距增加高級感 */
    color: #C91F33 !important; /* 真愛紅 */
    
    /* 淡淡的支撐陰影，確保紅色不變髒 */
    text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.8), 
                 2px 2px 4px rgba(0, 0, 0, 0.15) !important;
    filter: none !important;
}

/* 底部箭頭 */
.scroll-down { 
    position: absolute;
    bottom: 30px; 
    left: 50%;
    transform: translateX(-50%);
}

/* 金光閃爍動畫 */
@keyframes goldenBlink {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.2) drop-shadow(0 0 8px rgba(255, 215, 0, 0.5)); }
}

/* 手機版適配 (RWD) */
@media (max-width: 768px) {
    .hero h1 { 
        font-size: 1.8rem !important; 
        margin-top: 50vh !important; 
        letter-spacing: 2px !important;
    }
    .hero p { 
        font-size: 1.1rem !important; 
        line-height: 1.6 !important;
        padding: 0 15px !important; 
        letter-spacing: 2px !important;
    }
}/* 手機版適配 (RWD) - 縮減橫幅高度版本 */
@media (max-width: 768px) {
    .hero { 
        min-height: 65vh !important; /* 將高度從 100 縮減到 65，視覺更精悍 */
        background-attachment: scroll !important; /* 手機版關閉 fixed 效果，避免背景圖拉伸過大 */
        justify-content: center; /* 縮小後，讓文字居中排列更好看 */
    }

    .hero h1 { 
        font-size: 1.8rem !important; 
        margin-top: 0 !important; /* 高度縮小後，不再需要 50vh 的大間距 */
        margin-bottom: 15px !important;
        letter-spacing: 2px !important;
    }

    .hero p { 
        font-size: 1.1rem !important; 
        line-height: 1.6 !important;
        padding: 0 15px !important; 
        letter-spacing: 2px !important;
        margin-bottom: 20px !important;
    }

    /* 隱藏手機版的底部箭頭，因為高度已經縮小，不再需要導引 */
    .scroll-down { 
        display: none !important; 
    }
}/* 手機版最終修正：內容沉底 + 去除螢光霧化 */
@media (max-width: 768px) {
    .hero { 
        min-height: 80vh !important; /* 稍微拉高橫幅，讓下方有更多空間放字 */
        background-attachment: scroll !important; 
        
        /* 讓內容完全沉到底部 */
        justify-content: flex-end !important; 
        padding-bottom: 40px !important; 
        background-position: center 20% !important; /* 將模特兒圖片向上推，露出臉部 */
    }

    /* 標題：拿掉發光效果，改為紮實金屬色 */
    .hero h1 { 
        font-size: 1.7rem !important; 
        margin-bottom: 10px !important;
        letter-spacing: 2px !important;
        filter: none !important; /* 徹底移除螢光濾鏡 */
        -webkit-mask-image: none !important; /* 移除可能的遮罩 */
        
        /* 銳利化 3D 效果 */
        text-shadow: 1px 1px 0px #ccae00, 2px 2px 5px rgba(0,0,0,0.8) !important;
    }

    /* 副標題：拿掉螢光，改為清晰純紅 */
    .hero p { 
        font-size: 1rem !important; 
        line-height: 1.6 !important;
        padding: 0 25px !important; 
        margin-bottom: 25px !important;
        color: #C91F33 !important; /* 紮實紅色 */
        
        filter: none !important; /* 徹底移除螢光霧化 */
        font-weight: 700 !important;
        
        /* 使用清晰的白色極細邊框輔助，取代模糊的螢光 */
        text-shadow: 
            0.5px 0.5px 0px #FFFFFF, 
            -0.5px -0.5px 0px #FFFFFF,
            1px 1px 3px rgba(0,0,0,0.5) !important;
    }

    /* 按鈕也同步微調 */
    .hero-buttons {
        margin-bottom: 5px;
        gap: 10px;
    }
    
    .hero-buttons .btn-primary, 
    .hero-buttons .btn-ghost {
        padding: 6px 15px !important;
        font-size: 0.85rem !important;
        filter: none !important; /* 移除按鈕發光 */
    }

    .scroll-down { display: none !important; }
}/* ====== 導覽列底線動畫 (修復字體顏色版) ====== */

.main-nav {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    align-items: center;
}

.main-nav li {
    position: relative;
    margin: 0 15px;
}


/* 滑鼠靠近時：文字變色 (建議金黃色或真愛紅) */
.main-nav li a:hover {
    color: #FFD700 !important; /* 滑鼠靠近變金色，若要變紅改 #C91F33 */
}

/* 建立底線動畫 */
.main-nav li a::after {
    content: '';
    position: absolute;
    width: 0; 
    height: 2px; 
    bottom: 0; /* 貼齊底部 */
    left: 50%; 
    background: #FFD700; /* 線條顏色與字體變色同步 */
    transition: all 0.3s ease; 
    transform: translateX(-50%); 
}

/* 滑鼠靠近時：底線展開 */
.main-nav li a:hover::after {
    width: 100%; 
}

/* 保持「立即預約試穿」按鈕的樣式不受底線影響 */
.main-nav li a.cta-btn-nav {
    background: #C91F33; /* 真愛紅背景 */
    color: #FFFFFF !important;
    padding: 10px 20px !important;
    border-radius: 50px;
    margin-left: 10px;
}

.main-nav li a.cta-btn-nav::after {
    display: none !important; /* 按鈕下方不需要橫線 */
}

.main-nav li a.cta-btn-nav:hover {
    background: #FFD700; /* 按鈕 Hover 變金色 */
    color: #333 !important; /* 按鈕 Hover 文字變深色 */
}/* ====== 導覽列：精緻化預約按鈕樣式 ====== */

.main-nav li a.cta-btn-nav {
    /* 1. 縮減內邊距：由原本的大尺寸縮小為 6px 15px */
    padding: 6px 15px !important; 
    
    /* 2. 微調字體：稍微縮小一點，增加精緻感 */
    font-size: 0.95rem !important; 
    
    /* 3. 背景與圓角：維持真愛紅與膠囊外型 */
    background: #C91F33 !important; 
    color: #FFFFFF !important;
    border-radius: 30px !important; /* 稍微縮小圓角弧度更幹練 */
    
    /* 4. 字體與行高：確保文字置中且不臃腫 */
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    
    /* 5. 取消原本 li 的 margin 影響，讓它更靠右 */
    margin-left: 5px !important;
    transition: all 0.3s ease !important;
}

/* 移除按鈕底部的 Hover 橫線 (確保不會打架) */
.main-nav li a.cta-btn-nav::after {
    display: none !important;
}

/* 按鈕滑鼠靠近效果：變色但不放大 */
.main-nav li a.cta-btn-nav:hover {
    background: #FFD700 !important; /* 變品牌金 */
    color: #333 !important; 
    transform: translateY(-1px); /* 輕微上浮感 */
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* 手機版適配：在窄螢幕下更小巧 */
@media (max-width: 768px) {
    .main-nav li a.cta-btn-nav {
        padding: 4px 10px !important;
        font-size: 0.85rem !important;
    }
}/* ====== 交錯排版核心樣式 ====== */
.z-layout-container {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 5%;
}

.z-row {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 80px; /* 每一行之間的距離 */
}

/* 偶數行反轉：達成左圖右文、右圖左文 */
.z-row:nth-child(even) {
    flex-direction: row-reverse;
}

.z-img-box {
    flex: 1;
    height: 500px; /* 您最喜歡的直式黃金比例高度 */
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.z-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s ease;
}

.z-row:hover .z-img-box img {
    transform: scale(1.05);
}

.z-text-box {
    flex: 1;
    padding: 20px;
}

.z-text-box h2 {
    font-family: 'Noto Serif TC', serif;
    font-size: 2.2rem;
    color: #333;
    margin-bottom: 20px;
    position: relative;
}

.z-text-box h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: #C91F33; /* 真愛紅裝飾線 */
}

.z-row:nth-child(even) .z-text-box h2::after {
    left: auto;
    right: 0; /* 右圖左文時，裝飾線靠右 */
}

.z-text-box p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 30px;
}

/* 手機版適配 */
@media (max-width: 768px) {
    .z-row, .z-row:nth-child(even) {
        flex-direction: column;
        gap: 30px;
        margin-bottom: 60px;
    }
    .z-img-box {
        height: 350px;
        width: 100%;
    }
    .z-text-box {
        text-align: center;
    }
    .z-text-box h2::after {
        left: 50% !important;
        transform: translateX(-50%);
    }
}@media (max-width: 950px) {
    .main-nav {
        position: fixed;
        right: -100%; /* 平常藏在右邊 */
        transition: 0.5s;
        /* ...其他樣式... */
    }
    .main-nav.active {
        right: 0 !important; /* 點擊後強制滑出來 */
    }
}
<style>
    .main-nav a { 
        color: #333 !important; 
        font-weight: bold; 
        text-decoration: none; 
        position: relative; 
        transition: 0.4s; 
        font-size: 0.95rem; 
        /* 核心修正 1：確保寬度被內容撐開且可精確定位 */
        display: inline-block; 
        padding: 5px 0; /* 調整上下間距，控制槓的高度 */
        margin: 0 5px;  /* 增加左右間距，槓才不會黏在一起 */
    }

    /* 底槓：修正定位基準 */
    .main-nav a::after { 
        content: ''; 
        position: absolute; 
        /* 核心修正 2：鎖定在文字底部 */
        bottom: -2px;      
        left: 50%;         
        width: 0;          
        height: 3px; 
        background: var(--tl-gold); 
        /* 核心修正 3：確保展開中心點絕對對齊 */
        transform: translateX(-50%); 
        transition: width 0.4s ease-in-out; 
    }

    /* 滑鼠移入時：寬度從中間 0 變 100% */
    .main-nav a:hover::after { 
        width: 100%;       
    }

    /* 滑鼠移入時：文字微浮動 (選用) */
    .main-nav a:hover { 
        color: var(--red) !important; 
        transform: translateY(-2px); 
    }/* 1. 確保選單容器精準對齊 */
.main-nav {
    display: flex;
    list-style: none;
    gap: 15px;
    margin: 0;
    padding: 0;
    align-items: center;
}

/* 2. 核心修正：將 <a> 變成垂直容器 */
.main-nav a { 
    color: #333 !important; 
    font-weight: bold; 
    text-decoration: none; 
    position: relative; 
    /* 這裡最重要：用 flex 讓內容物（文字與底槓）強行中對齊 */
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    padding: 8px 12px;
    transition: 0.4s;
}

/* 3. 底槓優化：不再使用 absolute 漂浮，改用實體定位 */
.main-nav a::after { 
    content: ''; 
    /* 核心修正：槓不再漂浮，而是直接跟在文字正下方 */
    display: block; 
    width: 0; 
    height: 3px; 
    background: var(--tl-gold); 
    margin-top: 4px; /* 控制槓與文字的距離 */
    transition: width 0.4s ease-in-out; 
}

/* 4. 滑鼠移入：寬度從中心點向兩邊展開 */
.main-nav a:hover::after { 
    width: 100%;       
}

.main-nav a:hover { 
    color: var(--red) !important; 
    transform: translateY(-2px);
}<style>
    .main-nav a { 
        color: #333 !important; 
        font-weight: bold; 
        text-decoration: none; 
        position: relative; 
        display: inline-block; /* 確保寬度精準包覆文字 */
        padding: 8px 15px; 
        transition: 0.4s;
    }

    /* 核心修正：底槓強制鎖定 */
    .main-nav a::after { 
        content: ''; 
        position: absolute; 
        bottom: 0; 
        /* 1. 先把起點定在正中間 */
        left: 50%; 
        /* 2. 初始寬度為 0 */
        width: 0; 
        height: 3px; 
        background: var(--tl-gold); 
        /* 3. 關鍵修正：透過負位移讓中心點絕對重合 */
        transform: translateX(-50%); 
        /* 4. 設定寬度延伸的動畫 */
        transition: width 0.4s ease-in-out; 
    }

    /* 滑鼠移入：寬度展開，因為 transform 鎖死中心，它只能向兩邊延伸 */
    .main-nav a:hover::after { 
        width: 80%; /* 建議設為 80% 或 100%，看起來更精緻 */
    }

    .main-nav a:hover { 
        color: var(--red) !important; 
    }
  /* 職人專屬：導覽列底線延伸特效 */
    .hsu-nav-link {
        color: #FFFFFF !important;
        text-decoration: none;
        font-size: 0.95rem;
        font-weight: 500;
        padding: 8px 5px;
        position: relative;
        transition: all 0.3s ease;
        display: block;
        letter-spacing: 1px;
    }

    /* 底線動畫：由中心展開 */
    .hsu-nav-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        width: 0;
        height: 2px;
        background: #d4af37;
        transition: width 0.4s ease-in-out;
        transform: translateX(-50%);
    }

    .hsu-nav-link:hover {
        color: #fcf6ba !important;
        transform: translateY(-2px);
    }

    .hsu-nav-link:hover::after {
        width: 100%;
    }

    /* 禮服買賣按鈕特別閃爍特效 */
    .sale-btn {
        animation: pulseGlow 2s infinite;
    }

    @keyframes pulseGlow {
        0% { box-shadow: 0 0 5px rgba(201,31,51,0.4); }
        50% { box-shadow: 0 0 15px rgba(201,31,51,0.8); border-color: #ff8fb1; }
        100% { box-shadow: 0 0 5px rgba(201,31,51,0.4); }
    }

    /* 手機版自動調整間距 */
    @media (max-width: 1024px) {
        .main-nav { gap: 10px; }
        .hsu-nav-link { font-size: 0.85rem; padding: 8px 2px; }
    }
 :root { --gold: #C5A059; --red: #C91F33; --navy: #12121c; }
        body { margin: 0; padding: 0; background: #fdfaf5; font-family: 'Noto Sans TC', sans-serif; }
        
        /* 頁首：展現宗教莊嚴感 */
        .page-header { 
            background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url(https://www.dbsystem.tw/Academic-Photography/Nationa-Photography-Association/Nationa-Photography-Competition-0107.jpg');
            background-size: cover; background-position: center;
            height: 40vh; display: flex; flex-direction: column; justify-content: center; align-items: center; color: #fff;
        }
        .page-header h1 { font-size: 2.8rem; letter-spacing: 5px; margin: 0; text-shadow: 2px 2px 10px #000; }
        .page-header p { font-size: 1.2rem; margin-top: 15px; color: var(--gold); font-weight: bold; }

        .container { max-width: 1200px; margin: -50px auto 60px; padding: 0 20px; position: relative; z-index: 10; }

        /* 專案列表佈局 */
        .project-list { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
        @media (max-width: 768px) { .project-list { grid-template-columns: 1fr; } }

        .project-card {
            background: #fff; border-radius: 20px; overflow: hidden;
            box-shadow: 0 15px 35px rgba(0,0,0,0.1); display: flex; flex-direction: column;
            text-decoration: none; color: inherit; transition: 0.4s;
        }
        .project-card:hover { transform: translateY(-10px); box-shadow: 0 20px 45px rgba(0,0,0,0.2); }

        .project-img { height: 300px; overflow: hidden; position: relative; }
        .project-img img { width: 100%; height: 100%; object-fit: cover; }
        .project-tag { position: absolute; top: 20px; right: 20px; background: var(--red); color: #fff; padding: 5px 15px; border-radius: 5px; font-weight: bold; }

        .project-info { padding: 30px; }
        .project-info h2 { font-family: 'Noto Serif TC', serif; margin: 0; font-size: 1.8rem; color: #1a1a1a; }
        .project-info p { color: #555; line-height: 1.8; margin: 15px 0; }
        .project-meta { font-size: 0.9rem; color: #888; border-top: 1px solid #eee; padding-top: 15px; display: flex; justify-content: space-between; }

        /* 職人語錄區塊 */
        .philosophy { text-align: center; margin-top: 80px; padding: 40px; border: 2px solid var(--gold); border-radius: 15px; background: #fff; }
  :root { --gold: #C5A059; --red: #C91F33; --navy: #12121c; --tl-gold: #FFD700; }
        body { background: #000; color: #fff; font-family: 'Noto Sans TC', sans-serif; margin: 0; }
        
        /* 門戶 Hero 區塊 */
        .portal-hero { height: 50vh; background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.9)), url('https://www.suits.com.tw/images/Changhua-Association/Candice023.jpg') center/cover; display: flex; align-items: center; justify-content: center; text-align: center; border-bottom: 3px solid var(--red); }
        .logo-text-gold { font-family: 'Noto Serif TC'; font-size: 2.5rem; font-weight: 900; background: linear-gradient(to right, #bf953f, #fcf6ba, #b38728); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

        /* 頻道網格 */
        .channel-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 30px; padding: 60px 10%; }
        .channel-card { background: #111; border: 1px solid #333; border-radius: 20px; overflow: hidden; transition: 0.5s; position: relative; }
        .channel-card:hover { transform: translateY(-10px); border-color: var(--gold); box-shadow: 0 15px 45px rgba(197, 160, 89, 0.2); }
        .channel-img { height: 250px; background-size: cover; background-position: center; transition: 0.8s; }
        .channel-card:hover .channel-img { transform: scale(1.1); }
        .channel-info { padding: 30px; }
        .tag { display: inline-block; background: var(--red); color: #fff; padding: 5px 15px; border-radius: 30px; font-size: 0.8rem; margin-bottom: 15px; letter-spacing: 1px; }

        .btn-enter { display: block; background: linear-gradient(135deg, var(--gold), #8c6a2c); color: #fff; text-align: center; padding: 12px; border-radius: 50px; text-decoration: none; font-weight: bold; margin-top: 20px; }
/* --- 產品區塊：皇家流金動態優化 --- */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    padding: 20px 3% 50px;
    max-width: 1300px;
    margin: 0 auto;
}

.category {
    position: relative;
    transition: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

/* 1. 圖片容器：流金邊框預設透明 */
.img-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 3 / 4.5;
    border: 2px solid transparent;
    transition: 0.4s;
    background: #000;
}

/* 2. 滑鼠移入：邊框變流金色並發光 */
.category:hover .img-wrapper {
    transform: translateY(-10px);
    border-color: #d4af37;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
}

/* 3. 圖片微放大的職人對焦感 */
.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    transition: 0.6s ease;
}
.category:hover img {
    transform: scale(1.1);
    opacity: 1;
}

/* 4. 底部文字遮罩區 */
.overlay-text {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: #fff;
    padding: 20px 0;
    text-align: center;
    transition: 0.4s;
}

/* 5. 標題：流金漸層文字特效 (關鍵！) */
.main-tag {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 5px;
    transition: 0.3s;
}

.category:hover .main-tag {
    /* 滑過時文字變為皇家流金色 */
    background: linear-gradient(to bottom, #cf9e1d 0%, #fcf6ba 50%, #8b6d11 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.5));
}

/* 6. 副標籤：滑過時浮現 */
.sub-tag {
    font-size: 13px;
    color: #d4af37; /* 統一同色系 */
    opacity: 0;
    transform: translateY(10px);
    transition: 0.4s;
}

.category:hover .sub-tag {
    opacity: 1;
    transform: translateY(0);
}

/* 手機版 RWD 自動調整 */
@media screen and (max-width: 768px) {
    .categories-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .main-tag { font-size: 1rem; }
}
@media screen and (max-width: 480px) {
    .categories-grid { grid-template-columns: 1fr; padding: 15px 10%; }
}
</style><style>
/* --- 五福臨門：皇家流金 + 光芒閃過特效 --- */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    padding: 20px 3% 50px;
    max-width: 1300px;
    margin: 0 auto;
}

.category {
    position: relative;
    transition: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    overflow: hidden; /* 確保光芒不會跑出框外 */
}

/* 1. 圖片容器：流金邊框 */
.img-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 3 / 4.5;
    border: 2px solid transparent;
    transition: 0.4s;
    background: #000;
}

/* 2. 重點：光芒閃過遮罩 (Glow Mask) */
.img-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    left: -150%; /* 初始躲在左邊 */
    width: 100%;
    height: 100%;
    /* 強力白金閃光 */
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    transition: 0.6s ease-in-out;
    z-index: 5; /* 壓在圖片上面 */
    pointer-events: none;
}

/* 滑鼠移入：觸發光芒閃過 */
.category:hover .img-wrapper::after {
    left: 150%; /* 快速滑向右邊 */
}

/* 3. 懸浮後的邊框與投影 */
.category:hover .img-wrapper {
    transform: translateY(-10px);
    border-color: #d4af37;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.5);
}

.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: 0.6s ease;
}

.category:hover img {
    transform: scale(1.1);
    opacity: 1;
}

/* 4. 皇家流金文字標籤 */
.main-tag {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 5px;
    transition: 0.3s;
    color: #fff;
}

.category:hover .main-tag {
    background: linear-gradient(to bottom, #cf9e1d 0%, #fcf6ba 50%, #8b6d11 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.6));
}

.sub-tag {
    font-size: 13px;
    color: #d4af37;
    opacity: 0;
    transform: translateY(10px);
    transition: 0.4s;
}

.category:hover .sub-tag {
    opacity: 1;
    transform: translateY(0);
}

/* RWD 適配保持不變 */
@media screen and (max-width: 768px) {
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
}
   /* 基礎樣式 */
        body { background: #f4f7f6; font-family: "Microsoft JhengHei", sans-serif; margin: 0; padding: 0; color: #333; }
        .container { max-width: 1400px; margin: 0 auto; padding: 20px; }

        /* 活潑色框導覽按鈕 */
        .nav-box { 
            display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; 
            margin: 30px 0; position: sticky; top: 15px; z-index: 1000; 
        }
        .nav-btn { 
            padding: 10px 22px; border-radius: 50px; border: 2px solid #ddd; 
            background: #fff; cursor: pointer; font-weight: bold; transition: 0.3s;
            box-shadow: 0 4px 10px rgba(0,0,0,0.1); 
        }
        .btn-latest { border-color: #ffbe0b; color: #d4a017; }
        .btn-mother { border-color: #ff006e; color: #ff006e; }
        .btn-wedding { border-color: #8338ec; color: #8338ec; }
        .btn-suit { border-color: #2a9d8f; color: #2a9d8f; }
        .btn-all { border-color: #495057; color: #495057; }

        /* 按鈕啟動狀態 */
       /* 基礎按鈕樣式 */
.nav-btn {
    color: #444 !important; /* 預設沒點擊時，使用深灰色文字，不傷眼 */
    transition: all 0.3s ease;
}

/* --- 當前選中按鈕 (Active) 的文字對比優化 --- */

/* 1. 最新上市 (黃色背景)：配黑字 */
.btn-latest.active { 
    background: #ffbe0b !important; 
    color: #000000 !important; /* 純黑字，絕對清晰 */
    border-color: #d4a017;
}

/* 2. 媽媽禮服 (粉紅背景)：改用深紅黑字或純黑字 */
.btn-mother.active { 
    background: #ff006e !important; 
    color: #ffffff !important; /* 如果還是看不清白字，請改為 #000000 */
    text-shadow: 1px 1px 2px #88003d; /* 增加深色光暈 */
}

/* 3. 手工婚紗 (紫色背景)：配白字加重陰影 */
.btn-wedding.active { 
    background: #8338ec !important; 
    color: #ffffff !important;
    text-shadow: 1px 1px 3px #3c1a6d;
}

/* 4. 男士西服 (綠色背景)：配黑字或極深綠字 */
.btn-suit.active { 
    background: #2a9d8f !important; 
    color: #000000 !important; /* 綠色背景配黑字對比度最高 */
}

/* 5. 最新優惠 (橘紅背景)：配黑字 */
.btn-offer.active { 
    background: #f97316 !important; 
    color: #000000 !important; 
}

/* 6. 精品展示 (深藍灰背景)：這組背景深，必須配白字 */
.btn-boutique.active { 
    background: #495057 !important; 
    color: #ffffff !important;
}

/* 7. 顯示全部 (深灰色背景)：配白字 */
.btn-all.active { 
    background: #333333 !important; 
    color: #ffffff !important;
}

/* 選中時共同加粗 */
.nav-btn.active {
    font-weight: 900 !important;
    transform: scale(1.1) translateY(-5px);
}
        /* 內容區塊控制 */
        .group-container { display: none; margin-bottom: 60px; }
        #group1 { display: block; } /* 預設顯示第一區 */

        .group-header { 
            border-left: 6px solid #10b981; padding: 15px; 
            margin-bottom: 25px; background: #fff; border-radius: 4px; 
            box-shadow: 0 2px 5px rgba(0,0,0,0.05);
        }
        .group-header h2 { margin: 0; font-size: 1.5rem; }

        /* 關鍵：一列 4 張排版 */
        .leehi-grid { 
            display: grid; 
            grid-template-columns: repeat(4, 1fr); 
            gap: 20px; 
        }

        /* 響應式調整 */
        @media (max-width: 1100px) { .leehi-grid { grid-template-columns: repeat(3, 1fr); } }
        @media (max-width: 768px) { .leehi-grid { grid-template-columns: repeat(2, 1fr); } }
        @media (max-width: 500px) { .leehi-grid { grid-template-columns: 1fr; } }

        /* 卡片細節樣式 */
        .leehi-card { 
            background: #fff; border-radius: 12px; overflow: hidden; 
            box-shadow: 0 5px 15px rgba(0,0,0,0.08); transition: 0.3s; 
            height: 100%; display: flex; flex-direction: column; 
        }
        .leehi-card:hover { transform: translateY(-8px); }
        
        .leehi-img-container { position: relative; padding-top: 130%; overflow: hidden; background: #eee; }
        .leehi-img-container img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
        .card-id { position: absolute; top: 10px; left: 10px; background: rgba(0,0,0,0.5); color: #fff; padding: 2px 8px; border-radius: 4px; font-size: 12px; z-index: 2; }
        
        .leehi-info { padding: 15px; text-align: center; flex-grow: 1; display: flex; flex-direction: column; justify-content: space-between; }
        .leehi-info h3 { font-size: 0.95rem; margin: 0 0 12px; height: 42px; overflow: hidden; color: #333; line-height: 1.4; display: flex; align-items: center; justify-content: center; }
        .btn-story { display: block; background: #10b981; color: #fff; text-decoration: none; padding: 8px; border-radius: 6px; font-size: 0.85rem; font-weight: bold; }

        #toTop { 
            position: fixed; bottom: 30px; right: 30px; width: 50px; height: 50px; 
            background: #10b981; color: #fff; border: none; border-radius: 50%; 
            cursor: pointer; display: none; z-index: 2000; font-size: 24px; 
        }/* 2. 極輕薄底部遮罩：僅佔約 1/8 到 1/6 高度 */
.leehi-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    /* 高度再次減半，只保留最下方一小塊 */
    height: 18%; 
    /* 漸層更加輕透：從完全透明開始，到最底部才有一點點深色 */
    background: linear-gradient(to bottom, 
        rgba(0, 0, 0, 0) 0%, 
        rgba(0, 0, 0, 0.3) 40%, 
        rgba(0, 0, 0, 0.7) 100%
    );
    z-index: 1;
    pointer-events: none;
}

/* 3. 文字區塊微調：讓標題剛好落在這層薄霧上 */
.leehi-info {
    position: relative;
    z-index: 2; 
    padding: 10px 15px; /* 縮小內距，讓重心更靠下 */
    margin-top: -35px;  /* 讓文字稍微往上提一點，壓在圖片邊緣與遮罩上 */
}

/* 4. 標題文字：白字加深陰影，確保在任何底圖下都清晰 */
.leehi-info h3 {
    color: #ffffff !important; 
    text-shadow: 0px 2px 4px rgba(0,0,0,0.9); /* 加強陰影，即使遮罩很薄也看得清 */
    font-size: 1rem;
    font-weight: 600;
}/* 1. 讓卡片容器定位 */
.leehi-card {
    position: relative;
    background: #fff; /* 恢復白色基底，或根據您的模式切換 */
    overflow: hidden;
}

/* 2. 只在底部 1/4 處建立黑色漸層 */
.leehi-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    /* 設定高度為卡片的 35% 左右，視覺上約為底部的 1/4 到 1/3 */
    height: 35%; 
    /* 漸層：從上方完全透明 (0%) 變到下方半透明黑 (80%) */
    background: linear-gradient(to bottom, 
        rgba(0, 0, 0, 0) 0%, 
        rgba(0, 0, 0, 0.5) 50%, 
        rgba(0, 0, 0, 0.8) 100%
    );
    z-index: 1;
    pointer-events: none;
    transition: height 0.3s ease; /* 增加一個滑鼠移上去的動態效果 */
}

/* 3. 確保文字標題在遮罩上方 */
.leehi-info {
    position: relative;
    z-index: 2; /* 提高層級，讓文字壓在黑色漸層上面 */
    padding: 15px;
}

/* 4. 當滑鼠移上去時，遮罩可以稍微長高一點點，增加動態感 */
.leehi-card:hover::after {
    height: 45%;
}

/* 5. 標題文字優化：使用白字配上細微陰影 */
.leehi-info h3 {
    color: #ffffff !important; 
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
    font-size: 1.1rem;
    margin-bottom: 10px;
}/* 讓圖片容器具備相對定位，標籤才能定在裡面 */
.leehi-img-container {
    position: relative;
    overflow: hidden;
}

/* Sub-tag 核心樣式：確保它出現在圖片左下方 */
.sub-tag {
    position: absolute;
    bottom: 12px;     /* 距離底部一點點 */
    left: 12px;       /* 距離左邊一點點 */
    background: rgba(214, 51, 108, 0.85); /* 使用品牌粉色，帶點半透明 */
    color: #ffffff;
    padding: 4px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 4px;
    z-index: 10;      /* 確保它在圖片和遮罩的最上面 */
    letter-spacing: 1px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    pointer-events: none; /* 讓滑鼠可以穿過標籤點擊圖片 */
    transition: all 0.3s ease;
}

/* 當滑鼠移上去卡片時，標籤稍微發亮的動態感 */
.leehi-card:hover .sub-tag {
    background: #ffbe0b; /* 變換為亮黃色（最新上市色） */
    color: #000;
}/* 同時抓取 leehi-card 裡面與原本結構裡的 sub-tag */
.leehi-card .sub-tag, 
.img-wrapper .sub-tag, 
.sub-tag {
    display: block !important;
    visibility: visible !important;
    position: absolute !important;
    bottom: 12px !important;
    left: 12px !important;
    background-color: #ff006e !important; /* 亮眼的品牌紅 */
    color: #ffffff !important;
    padding: 5px 12px !important;
    font-size: 13px !important;
    font-weight: bold !important;
    border-radius: 4px !important;
    z-index: 99 !important;
    white-space: nowrap !important;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.3) !important;
}

/* 確保容器有定位，標籤才不會亂跑 */
.leehi-img-container, .img-wrapper {
    position: relative !important;
}  /* 關鍵置中樣式 */
    .flex-container {
        display: flex;
        flex-wrap: wrap;       /* 手機版會自動換行 */
        justify-content: center; /* 水平居中核心 */
        align-items: center;
        gap: 15px;             /* 按鈕之間的間距 */
        margin-bottom: 50px;
        width: 100%;
    }

    /* 針對手機端的優化：讓按鈕在小螢幕也能整齊 */
    @media screen and (max-width: 600px) {
        .flex-container {
            gap: 10px;         /* 手機版間距縮小一點點 */
        }
        .nav-btn {
            padding: 8px 15px; /* 手機版按鈕稍小，避免過度換行 */
            font-size: 14px;
        }
    }

    /* 確保按鈕本身沒有奇怪的 float 影響置中 */
    .nav-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 50px;
        cursor: pointer;
        /* ... 其他樣式保留 ... */
    }

    /* 確保切換時有「年輕跳動感」 */
    .nav-btn {
        padding: 12px 22px; border-radius: 50px; border: 2px solid var(--brand-pink);
        cursor: pointer; background: var(--card-bg); color: var(--text-color);
        font-weight: bold; transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }
    
    /* 當前選中按鈕：彈跳並發光 */

    .nav-btn.active {
        background: var(--brand-pink); color: white;
        transform: scale(1.1) translateY(-8px);
        box-shadow: 0 10px 25px rgba(214, 51, 108, 0.4);
    }

    .grid-container {
        display: grid; 
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        gap: 25px;
    }

    /* 產品卡片進入動畫 */
    .product-card {
        background: var(--card-bg); border-radius: 20px; overflow: hidden;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        display: none; /* 預設切換用 */
    }
    
    .product-card.show {
        display: block;
        animation: backInUp 0.6s ease; /* 向上彈入動畫 */
    }

    .product-card:hover {
        transform: translateY(-15px) rotate(2deg) scale(1.03);
        box-shadow: 0 15px 35px rgba(214, 51, 108, 0.2);
    } .testimonial-section { background: #fffafb; padding: 60px 0; overflow: hidden; }
    
    /* 跑馬燈外框 */
    .testimonial-container {
        width: 100%;
        overflow: hidden;
        padding: 40px 0;
        position: relative;
    }

    /* 跑馬燈軌道 */
    .testimonial-track {
        display: flex;
        width: calc(250px * 14); /* 根據卡片寬度計算 */
        animation: scrollReviews 30s linear infinite;
    }

    /* 評論卡片 */
    .review-card {
        width: 300px;
        flex-shrink: 0;
        background: #fff;
        padding: 25px;
        margin: 0 15px;
        border-radius: 20px;
        box-shadow: 0 8px 20px rgba(214, 51, 108, 0.08);
        text-align: left;
        transition: 0.3s;
    }

    .review-card.highlight {
        background: linear-gradient(135deg, #fff5f7, #ffffff);
        border: 1px solid #ff92ae;
    }

    .review-card p { color: #555; font-size: 15px; line-height: 1.6; margin-bottom: 15px; }
    .reviewer { color: #d6336c; font-weight: bold; font-size: 14px; text-align: right; }

    /* 滑鼠移入停止動畫並放大 */
    .testimonial-container:hover .testimonial-track { animation-play-state: paused; }
    .review-card:hover { transform: translateY(-10px); box-shadow: 0 12px 30px rgba(214, 51, 108, 0.15); }

    /* 跑馬燈動畫 */
    @keyframes scrollReviews {
        0% { transform: translateX(0); }
        100% { transform: translateX(calc(-330px * 5)); } /* 根據卡片寬度+間距 * 張數 */
    }
	/* 讓回到頂部的小箭頭現身 */
#back-to-top {
    position: fixed;
    bottom: 120px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #d6336c; /* 品牌粉色 */
    color: white;
    border-radius: 50%;
    display: none; /* 初始隱藏，捲動後顯示 */
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    font-size: 24px;
    font-weight: bold;
    transition: 0.3s;
}

#back-to-top:hover {
    background: #444;
    transform: translateY(-5px);
}/* 視差浮現與光暈樣式 */
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
    }
    .reveal.active {
        opacity: 1;
        transform: translateY(0);
    }
    #cursor-dot {
        width: 8px; height: 8px; background: #d6336c;
        position: fixed; border-radius: 50%; pointer-events: none; z-index: 9999;
        display: none;
    }
    #cursor-outline {
        width: 30px; height: 30px; border: 1px solid #ff92ae;
        position: fixed; border-radius: 50%; pointer-events: none; z-index: 9998;
        transition: all 0.15s ease-out; display: none;
    }

    /* --- 手機版最強修復區 (RWD) --- */
    @media screen and (max-width: 768px) {
        /* 圖片改為一排 1 張 */
        .categories-grid {
            display: grid !important;
            grid-template-columns: 1fr !important;
            gap: 20px !important;
            padding: 15px !important;
        }
        .category { opacity: 1 !important; transform: none !important; }

        /* 選單與文字修復 */
        .nav-menu.active {
            display: flex !important;
            flex-direction: column !important;
            background: #ffffff !important;
            position: absolute; top: 75px; left: 0; width: 100%;
        }
        .dropdown-content {
            position: static !important;
            display: block !important;
            visibility: visible !important;
            opacity: 1 !important;
            background: #f9f9f9 !important;
        }
        .dropdown-content a {
            color: #d6336c !important; /* 強制文字變粉紅 */
            padding: 12px 40px !important;
            display: block !important;
            border-bottom: 1px solid #eee;
        }

        /* 按鈕回歸 */
       <style>
/* 1. 總容器：右下角起飛 */
.floating-buttons {
    position: fixed !important;
    bottom: 30px;
    right: 30px;
    z-index: 2147483646;
    display: flex;
    flex-direction: column-reverse; /* 子按鈕在主按鈕上方 */
    align-items: center;
    gap: 15px;
}

/* 2. 子按鈕容器：平時縮小並隱藏 */
.sub-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(30px) scale(0.5); /* 從下方縮小彈出 */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* 3. 重要：滑鼠靠近整個區域就展開 */
.floating-buttons:hover .sub-buttons {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* 4. 主按鈕樣式：加入呼吸燈效果 */
.btn-main {
    width: 65px;
    height: 65px;
    background: #ff006e;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    line-height: 1.2;
    text-decoration: none !important;
    box-shadow: 0 5px 20px rgba(255, 0, 110, 0.5);
    border: 2px solid white;
    transition: 0.3s;
}

/* 滑鼠碰到主按鈕的變化 */
.floating-buttons:hover .btn-main {
    background: #ffbe0b;
    color: #000;
    transform: rotate(360deg); /* 轉一圈，增加趣味感 */
}

/* 子按鈕細節 */
.sub-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none !important;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transition: 0.3s;
}
.btn-fb { background: #1877F2; }
.btn-line { background: #06C755; }
.btn-phone { background: #34b7f1; font-size: 22px; }

.sub-btn:hover { transform: scale(1.2); }
</style>
        }
    }<style>
    /* 1. 基礎設定 */
    body { margin: 0; font-family: sans-serif; padding-top: 75px; }
    
    /* 2. 導覽列與選單 (桌機) */
    .navbar { position: fixed; top: 0; width: 100%; height: 75px; background: #fff; display: flex; justify-content: space-between; align-items: center; padding: 0 5%; z-index: 9999; box-shadow: 0 2px 5px rgba(0,0,0,0.1); box-sizing: border-box; }
    .nav-menu { display: flex; list-style: none; }
    .nav-menu li { position: relative; margin: 0 15px; }
    .nav-menu li a { text-decoration: none; color: #333; font-weight: bold; }
    
    /* 下拉選單 (桌機隱藏) */
    .dropdown-content { position: absolute; top: 100%; left: 0; background: #fff; display: none; min-width: 150px; box-shadow: 0 5px 10px rgba(0,0,0,0.1); }
    .nav-menu li:hover .dropdown-content { display: block; }
    .dropdown-content a { display: block; padding: 10px; color: #666; border-bottom: 1px solid #eee; }

    /* 3. 產品圖片區 (關鍵修正：找回圖片) */
    .categories-grid { 
        display: grid !important; 
        grid-template-columns: repeat(5, 1fr); 
        gap: 15px; 
        padding: 20px; 
        max-width: 1200px; 
        margin: 0 auto;
        opacity: 1 !important; 
        visibility: visible !important;
    }
    .category { display: block !important; opacity: 1 !important; } /* 強制顯示每一張圖 */
    .img-wrapper { border-radius: 10px; overflow: hidden; aspect-ratio: 3/4; background: #f0f0f0; }
    .img-wrapper img { width: 100%; height: 100%; object-fit: cover; }

    /* 4. 手機版 RWD (蘋果手機專用強力修復) */
    @media screen and (max-width: 768px) {
        /* 圖片強制變 1 欄 */
        .categories-grid { grid-template-columns: 1fr !important; }
        
        /* 選單開合樣式 */
        .nav-menu { display: none; flex-direction: column; position: absolute; top: 75px; left: 0; width: 100%; background: #fff; padding: 0; }
        .nav-menu.active { display: flex !important; }
        
        /* 強制顯示下拉文字 (春/夏/秋/冬) */
        .nav-menu .dropdown-content { 
            display: block !important; 
            position: static !important; 
            box-shadow: none !important; 
            visibility: visible !important;
            opacity: 1 !important;
        }
        .dropdown-content a { 
            color: #d6336c !important; /* 強制文字變紅/粉 */
            padding-left: 30px !important;
            font-size: 18px !important;
        }
    }

    /* 5. 快速聯絡按鈕 */
    .floating-buttons { position: fixed; bottom: 20px; right: 20px; z-index: 10000; }
    .btn-main { width: 60px; height: 60px; background: #d6336c; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; text-decoration: none; font-size: 14px; text-align: center; }
	/* 讓瀑布流卡片一張一張浮現的動畫 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 套用到所有卡片，讓它們進場時更有活力 */
.leehi-card {
    animation: fadeInUp 0.8s ease backwards;
}

/* 增加 12 張主打與 30 張精選之間的呼吸感 */
#group-all {
    margin-top: 80px; /* 讓兩個區塊中間有一點空間，不會太擠 */
    padding-top: 40px;
    border-top: 1px dashed #ddd; /* 加一條淡淡的虛線，增加設計感 */
}
