:root {
    --star-color: #f5a623;
    --success-color: #2ecca1;
}

        /* ================= 詳情頁頂部 Banner ================= */
        .hero-inner { position: relative; height: 350px; background: url("../../picture/微信图片_20260404151046_13_12-1024x971.jpg") no-repeat center center/cover; display: flex; align-items: flex-end; padding-bottom: 40px; }
        .hero-inner::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 100%); }
        .hero-content { position: relative; z-index: 2; color: #fff; width: 100%; }
        .hero-title { font-size: 36px; font-weight: bold; margin-bottom: 10px; letter-spacing: 1px; }
        .breadcrumbs { font-size: 14px; color: #fff; font-weight: 700; }

        /* ================= 圖集區域 ================= */
        .gallery-section { padding: 30px 0 10px; background: #fff; }
        .gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
        .gallery-grid img { height: 240px; width: 100%; object-fit: cover; border-radius: 8px; cursor: pointer; transition: 0.3s; }
        .gallery-grid img:hover { filter: brightness(0.9); }

        /* ================= 主體內容 (左右分欄) ================= */
        .main-content { padding: 40px 0; display: grid; grid-template-columns: 2fr 1fr; gap: 40px; align-items: start; background: #fff; }

        /* ---- 左側：租車信息 ---- */
        .details-left { padding: 10px 20px; }
        
        /* 評分與收藏 */
        .details-header { display: flex; justify-content: space-between; align-items: center; padding-bottom: 20px; border-bottom: 1px solid var(--border-color); margin-bottom: 30px; }
        .rating-left { display: flex; flex-direction: row; align-items: center; gap: 10px; }
        .rating-left .stars { color: var(--star-color); font-size: 16px; letter-spacing: 2px; }
        .rating-left .score { display: flex; align-items: center; gap: 10px; font-size: 14px; }
        .score-badge { border: 1px solid #ddd; padding: 2px 8px; border-radius: 4px; font-weight: bold; color: var(--primary-color); }
        .score-text { font-weight: bold; color: var(--primary-color); font-size: 15px; }
        .score-count { color: #999; }
        .btn-favorite { border: 1px solid #ddd; background: #fff; padding: 8px 16px; border-radius: 6px; cursor: pointer; font-size: 14px; color: var(--primary-color); transition: 0.3s; }
        .btn-favorite:hover { border-color: var(--primary-color); box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
        
        /* 車輛特色標籤 */
        .feature-tags { display: flex; flex-wrap: wrap; gap: 15px 50px; padding: 0; border-bottom: none; margin-bottom: 0; }
        .tag-item { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #5E6D77; }
        .tag-icon { width: 22px; height: 22px; flex-shrink: 0; }

        /* 內容區塊 */
        .content-block { margin-bottom: 40px; padding-bottom: 25px; border-bottom: 1px solid #e0e0e0; }
        .content-block h3 { font-size: 20px; color: #222; margin-bottom: 15px; font-weight: 600; }
        .content-block p { color: #555; font-size: 15px; line-height: 1.8; }

        /* 評論區塊 */
        .reviews-section { margin-top: 10px; padding-top: 25px; }
        .reviews-title { font-size: 20px; font-weight: 700; color: #222; margin-bottom: 25px; }
        .review-item { padding: 25px 0; border-bottom: 1px solid #e0e0e0; }
        .review-item:last-child { border-bottom: none; }
        .review-user { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
        .review-avatar { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; }
        .review-user-info { display: flex; flex-direction: column; }
        .review-user-info strong { font-size: 15px; color: #222; }
        .review-user-info span { font-size: 13px; color: #888; }
        .review-stars { color: var(--star-color); font-size: 14px; letter-spacing: 2px; margin-bottom: 12px; }
        .review-detail-title { font-size: 14px; font-weight: 700; color: var(--primary-color, #1e3a5f); margin-bottom: 8px; }
        .review-detail-content { font-size: 14px; color: #555; line-height: 1.7; margin: 0; }

        /* ---- 右側：預訂表單 (側邊欄) ---- */
        .sidebar-right { position: sticky; top: 20px; }
        .booking-card { background: #fff; padding: 25px; border-radius: 12px; box-shadow: 0 4px 25px rgba(0,0,0,0.06); border: 1px solid #f0f0f0; }
        
        .booking-tabs { display: flex; border-radius: 25px; overflow: hidden; margin-bottom: 25px; border: 1px solid #ddd; }
        .booking-tabs .tab-btn { flex: 1; text-align: center; padding: 10px; font-size: 15px; font-weight: 600; cursor: pointer; transition: 0.3s; }
        .booking-tabs .tab-btn.active { background: var(--primary-color, #1e3a5f); color: #fff; }
        .booking-tabs .tab-btn:not(.active) { background: #fff; color: #333; }

        /* 表單控件 */
        .form-group { margin-bottom: 18px; }
        .form-group label { display: block; font-size: 14px; font-weight: 700; color: #333; margin-bottom: 8px; }
        .form-group label .req { color: #e53e3e; }
        .form-control { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 4px; font-size: 14px; outline: none; box-sizing: border-box; }
        .form-control:focus { border-color: var(--primary-color, #1e3a5f); }
        textarea.form-control { resize: vertical; min-height: 80px; }
        .form-hint { display: block; font-size: 12px; color: #888; margin-top: 4px; }


        /* 支付按鈕群 */
        .pay-btn { width: 100%; padding: 14px; border: none; border-radius: 6px; color: #fff; font-size: 15px; font-weight: bold; cursor: pointer; margin-bottom: 12px; display: flex; justify-content: center; align-items: center; gap: 8px; }
        .btn-apple { background: #000; }
        .btn-google { background: #333; }
        .btn-paypal { background: #0070ba; }
        .btn-paylater { background: #0070ba; }
        .btn-card { background: #2c3e50; }
        .power-by { text-align: center; font-size: 12px; color: #999; margin-top: 15px; }



        /* 響應式 - 平板 */
        @media (max-width: 992px) {
            .main-content { grid-template-columns: 1fr; padding: 20px 15px; }
            .gallery-grid { grid-template-columns: repeat(2, 1fr); padding: 0 15px; }
            .sidebar-right { position: relative; top: 0; }
            .details-left { padding: 10px 15px; }
        }

        /* 響應式 - 手機 */
        @media (max-width: 768px) {
            .hero-inner { height: 220px; padding-bottom: 20px; }
            .hero-title { font-size: 24px; }
            .breadcrumbs { font-size: 12px; }

            .gallery-section { padding: 15px 0; }
            .gallery-grid { grid-template-columns: 1fr; gap: 10px; padding: 0 15px; }
            .gallery-grid img { height: 200px; }

            .main-content { padding: 15px; gap: 20px; }
            .details-left { padding: 10px; }

            .details-header { padding-bottom: 12px; margin-bottom: 12px; }
            .rating-left { flex-wrap: wrap; gap: 6px; }
            .rating-left .stars { font-size: 14px; }

            .feature-tags { gap: 10px 25px; }
            .tag-item { font-size: 13px; }
            .tag-icon { width: 18px; height: 18px; }

            .content-block h3 { font-size: 18px; }
            .content-block p { font-size: 14px; }

            .review-avatar { width: 40px; height: 40px; }
            .review-user-info strong { font-size: 14px; }

            .booking-card { padding: 18px; border-radius: 8px; }
            .nav-links { display: none; }
        }

        /* 響應式 - 小螢幕手機 */
        @media (max-width: 480px) {
            .hero-inner { height: 180px; }
            .hero-title { font-size: 20px; }
            .feature-tags { gap: 8px 20px; }
            .details-header { gap: 8px; }
            .btn-favorite { padding: 6px 12px; font-size: 13px; }
            .hotel-meta-wrapper { padding-bottom: 15px !important; margin-bottom: 15px !important; }
        }

/* EyouCMS dynamic helpers */
.nav-links .is-current,
.nav-links a.active,
.nav-links a:hover { color: #f5a623; }
.cms-content img { max-width: 100%; height: auto; }
.cms-content table { max-width: 100%; border-collapse: collapse; }
.cms-content p { margin-bottom: 12px; }
.pagination { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-top: 36px; }
.pagination a,
.pagination span { min-width: 36px; padding: 8px 12px; border: 1px solid #ddd; border-radius: 4px; background: #fff; color: #333; text-align: center; }
.pagination a:hover,
.pagination .active { background: var(--primary-color, #1e3a8a); border-color: var(--primary-color, #1e3a8a); color: #fff; }
.logo a { color: inherit; }
.header-actions a { color: inherit; }
.subscribe-box form { display: flex; width: 100%; }
.empty-tip { grid-column: 1 / -1; padding: 48px 20px; text-align: center; color: #888; background: #fff; border-radius: 8px; }
/* Extracted common helpers */
.footer-logo { color: #f5a623; margin-bottom: 15px; }
.detail-side-image { box-shadow: 0 4px 15px rgba(0,0,0,0.1); }
