.bg-item {
    background-color: #f5fbfb;
    border-radius: 10px;
}


    /* 導航連結樣式 */
    .nav-link-item {
        text-decoration: none;
        color: inherit;
        display: block;
        transition: all 0.3s ease;
        cursor: pointer;
    }

        .nav-link-item:hover {
            text-decoration: none;
            color: inherit;
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
        }

            .nav-link-item:hover .bg-item {
                /* 移除底色變換和外框線 */
            }

            .nav-link-item:hover h4 {
                color: #28a745;
                font-weight: bold;
            }

    /* 旅遊卡片互動效果 */
    .card-link {
        text-decoration: none;
        color: inherit;
        display: block;
        transition: all 0.3s ease;
        cursor: pointer;
    }

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

    .tour-card {
        transition: all 0.3s ease;
        overflow: hidden;
    }

        .tour-card:hover {
            transform: scale(1.05) rotate(2deg);
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
        }

            .tour-card:hover .card-img-top {
                transform: scale(1.1);
                transition: transform 0.3s ease;
            }

        .tour-card .card-img-top {
            transition: transform 0.3s ease;
        }

/* 會員下拉選單樣式 */
.dropdown-menu {
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    padding: 0.5rem 0;
    min-width: 200px;
}

.dropdown-item {
    padding: 0.75rem 1.5rem;
    color: #666;
    transition: all 0.2s ease;
    font-weight: 500;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    color: #28a745;
    transform: translateX(5px);
}

.dropdown-item:hover i {
    color: #28a745;
}

.dropdown-item i {
    width: 16px;
    text-align: center;
    color: #28a745;
}

.dropdown-divider {
    margin: 0.5rem 0;
    border-color: #e9ecef;
}

.dropdown-toggle::after {
    margin-left: 0.5rem;
}

.dropdown-toggle:hover {
    background-color: #218838;
    border-color: #1e7e34;
}

/* 產品列表頁樣式 */
.page-header {
    
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* 產品卡片樣式 */
.product-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    /*box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);*/
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

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

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
    line-height: 1.3;
}

.product-tagline {
    color: #dc3545;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.product-price {
    margin-bottom: 1rem;
}

.price {
    font-size: 1.3rem;
    font-weight: bold;
    color: #28a745;
    margin-right: 0.5rem;
}

.original-price {
    font-size: 1rem;
    color: #999;
    text-decoration: line-through;
}

/* 視圖切換按鈕 */
.btn-group .btn {
    border-radius: 0;
}

.btn-group .btn:first-child {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

.btn-group .btn:last-child {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

/* 列表模式樣式 */
.product-list-item {
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.product-list-item:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.product-list-image {
    width: 200px;
    height: 150px;
    object-fit: cover;
    border-radius: 10px 0 0 10px;
}

.product-list-info {
    padding: 1.5rem;
    flex-grow: 1;
}

.product-list-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.product-list-tagline {
    color: #dc3545;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.product-list-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-list-price .price {
    font-size: 1.4rem;
    font-weight: bold;
    color: #28a745;
}

.product-list-price .original-price {
    font-size: 1.1rem;
    color: #999;
    text-decoration: line-through;
    margin-right: 1rem;
}

/* 響應式設計 */
@media (max-width: 768px) {
    .product-card {
        margin-bottom: 1rem;
    }
    
    .product-list-image {
        width: 100%;
        height: 200px;
        border-radius: 10px 10px 0 0;
    }
    
    .product-list-info {
        padding: 1rem;
    }
}

/* 產品詳情頁樣式 */
.product-banner {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.product-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6));
    display: flex;
    align-items: center;
}

.banner-overlay h1 {
    font-size: 3rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.banner-overlay p {
    font-size: 1.2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* 產品資訊卡片 */
.product-info-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    /*box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);*/
}

.product-meta {
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
}

.stars {
    display: inline-block;
}

.info-item {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.highlights-section {
    border-top: 1px solid #eee;
    padding-top: 1rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

/* 月曆樣式 */
.calendar-section {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.calendar-container {
    max-width: 100%;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    margin-top: 1rem;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eee;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.calendar-day:hover {
    background-color: #f8f9fa;
    border-color: #28a745;
}

.calendar-day.selected {
    background-color: #28a745;
    color: white;
    border-color: #28a745;
}

.calendar-day.disabled {
    color: #ccc;
    cursor: not-allowed;
    background-color: #f8f9fa;
}

.calendar-day.other-month {
    color: #ccc;
}

.calendar-day-header {
    font-weight: bold;
    background-color: #f8f9fa;
    border: 1px solid #eee;
}

/* 訂購卡片 */
.booking-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    /*box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);*/
    position: sticky;
    top: 100px;
    border: 1px solid #ccc;
}

.booking-card h5 {
    color: #333;
    font-weight: 600;
}

.form-label {
    font-weight: 500;
    color: #555;
}

.input-group .btn {
    border-radius: 0;
}

.input-group .btn:first-child {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

.input-group .btn:last-child {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

.price-display {
    font-size: 1.2rem;
    font-weight: bold;
    color: #28a745;
}

.original-price-display {
    font-size: 1rem;
    color: #999;
    text-decoration: line-through;
}

.total-price {
    border-top: 2px solid #eee;
    padding-top: 1rem;
}

.booking-notes {
    border-top: 1px solid #eee;
    padding-top: 1rem;
}

/* 行程說明區域 */
.tour-description {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
}

/* 手風琴樣式 */
.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
    /*box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);*/
}

.accordion-button {
    background-color: #f6f6f6;
    border: none;
    font-weight: 600;
    color: #333;
}

.accordion-button:not(.collapsed) {
    background-color: #28a745;
    color: white;
}

.accordion-button:focus {
    box-shadow: none;
    border: none;
}

.accordion-body {
    background: white;
    padding: 1.5rem;
}

.accordion-body h6 {
    color: #28a745;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.accordion-body ul {
    margin-bottom: 1rem;
}

.accordion-body li {
    margin-bottom: 0.3rem;
    color: #555;
}

/* 響應式設計 */
@media (max-width: 768px) {
    .product-banner {
        height: 250px;
    }
    
    .banner-overlay h1 {
        font-size: 2rem;
    }
    
    .banner-overlay p {
        font-size: 1rem;
    }
    
    .booking-card {
        position: static;
        margin-top: 2rem;
    }
    
    .calendar-grid {
        gap: 2px;
    }
    
    .calendar-day {
        font-size: 0.8rem;
    }
}

/* 其他說明標題設計 */
.section-header {
    position: relative;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 160px;
    height: 1px;
    background: linear-gradient(90deg, #28a745, #20c997);
    border-radius: 2px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: #28a745;
    border-radius: 1px;
}

.section-divider {
    width: 350px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #28a745, transparent);
    margin: 0 auto;
    border-radius: 2px;
    position: relative;
}

.section-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: #28a745;
    border-radius: 50%;
}

/* 響應式設計 */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
        letter-spacing: 1px;
    }
    
    .section-title::before {
        width: 150px;
        height: 1px;
    }
    
    .section-title::after {
        width: 30px;
        height: 2px;
    }
    
    .section-divider {
        width: 250px;
        height: 1px;
    }
}

/* 食宿資訊樣式 */
.accommodation-info {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-left: 4px solid #28a745;
}

.accommodation-info .info-item {
    transition: all 0.3s ease;
}

.accommodation-info .info-item:hover {
    transform: translateX(5px);
}

.accommodation-info .info-item i {
    transition: color 0.3s ease;
}

.accommodation-info .info-item:hover i {
    color: #28a745 !important;
}

.accommodation-info .info-item span {
    font-weight: 500;
    transition: color 0.3s ease;
}

.accommodation-info .info-item:hover span {
    color: #333 !important;
}

/* 響應式設計 */
@media (max-width: 768px) {
    .accommodation-info {
        padding: 1rem;
    }
    
    .accommodation-info .info-item {
        margin-bottom: 0.75rem;
    }
    
    .accommodation-info .info-item i {
        font-size: 1rem !important;
    }
}

/* Blogger 推薦卡片樣式 */
.blogger-recommendation {
    border-top: 1px solid #e9ecef;
    padding-top: 1.5rem;
}

.blogger-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.blogger-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.blogger-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #28a745;
}

.blogger-name {
    color: #333;
    font-weight: 600;
    margin: 0;
}

.blogger-stars {
    font-size: 0.9rem;
}

.blogger-stars i {
    margin-right: 2px;
}

.blogger-date {
    color: #666;
    font-size: 0.8rem;
    font-weight: 500;
}

.blogger-post-date {
    color: #999;
    font-size: 0.75rem;
}

.blogger-text {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
    font-style: italic;
}

.blogger-content {
    background: #f8f9fa;
    border-radius: 6px;
    padding: 1rem;
    margin-top: 0.5rem;
}

/* 響應式設計 */
@media (max-width: 768px) {
    .blogger-card {
        padding: 1rem;
    }
    
    .blogger-avatar {
        width: 40px;
        height: 40px;
    }
    
    .blogger-text {
        font-size: 0.85rem;
    }
}

/* 訂購確認彈窗樣式 */
.modal-content {
    border-radius: 12px;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.modal-header {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    border-radius: 12px 12px 0 0;
    border-bottom: none;
}

.modal-header .btn-close {
    filter: invert(1);
}

.form-check-label {
    font-size: 0.95rem;
    line-height: 1.5;
}

.form-check-label a {
    text-decoration: underline;
    font-weight: 500;
}

.form-check-label a:hover {
    color: #0056b3 !important;
}

.alert-info {
    background-color: #f8f9fa;
    border-color: #28a745;
    color: #155724;
}

#confirmOrder:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

#confirmOrder:not(:disabled) {
    background: linear-gradient(135deg, #28a745, #20c997);
    border: none;
    transition: all 0.3s ease;
}

#confirmOrder:not(:disabled):hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

/* Step1 頁面樣式 */
.progress-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: #e9ecef;
    z-index: 1;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    background: #fff;
    padding: 0 10px;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e9ecef;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.step.active .step-number {
    background: #792c0f;
    color: white;
}

.step-text {
    font-size: 0.85rem;
    color: #6c757d;
    text-align: center;
    font-weight: 500;
}

.step.active .step-text {
    color: #792c0f;
    font-weight: 600;
}

.product-info-card {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
}

.product-title {
    color: #333;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.product-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.detail-item {
    color: #666;
    font-size: 0.95rem;
}

.contact-form-card {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
}

.form-header {
    position: relative;
    margin-bottom: 2rem;
}

.form-title {
    color: #333;
    font-weight: 600;
    margin: 0;
    padding-left: 1rem;
    position: relative;
}

    .form-title::before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 4px;
        height: 20px;
        background: #792c0f;
        border-radius: 2px;
    }

.form-label {
    font-weight: 500;
    color: #333;
    margin-bottom: 0.5rem;
}

.form-control, .form-select {
    border-radius: 6px;
    border: 1px solid #ced4da;
    padding: 0.75rem;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: #28a745;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

.agreement-note {
    background: #f8f9fa;
    border-radius: 6px;
    padding: 1rem;
    margin-top: 1.5rem;
    border-left: 4px solid #28a745;
}

.step-indicator {
    display: inline-block;
    width: 20px;
    height: 20px;
    background: #28a745;
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-right: 0.5rem;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 付款資訊卡片樣式 */
.payment-info-card {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
}

.payment-options {
    margin-top: 1rem;
}

.payment-option {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    background: #f8f9fa;
}

.payment-option:hover {
    border-color: #28a745;
    background: #f0f8f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.15);
}

.payment-option input[type="radio"]:checked + label {
    color: #28a745;
}

.payment-option input[type="radio"]:checked ~ .payment-option {
    border-color: #28a745;
    background: #f0f8f0;
}

.payment-option .form-check-label {
    cursor: pointer;
    display: block;
    margin: 0;
    padding: 0;
}

.payment-option .form-check-label i {
    color: #28a745;
    font-size: 1.2rem;
}

.payment-option .form-check-label strong {
    font-size: 1.1rem;
    margin-left: 0.5rem;
}

.payment-details {
    margin-top: 1.5rem;
}

.payment-details .alert {
    border: none;
    border-radius: 8px;
    padding: 1.5rem;
}

.payment-details .alert-info {
    background: #e3f2fd;
    color: #0d47a1;
}

.payment-details .alert-warning {
    background: #fff3e0;
    color: #e65100;
}

.payment-details h6 {
    margin-bottom: 1rem;
    font-weight: 600;
}

.payment-details p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.payment-details strong {
    color: #333;
}

/* 確認頁面付款資訊卡片樣式 */
.payment-option.selected {
    border-color: #28a745 !important;
    background: #f0f8f0 !important;
}

.payment-option.selected .form-check-label {
    color: #28a745;
}

.payment-option input[disabled] + .form-check-label {
    opacity: 0.7;
    cursor: not-allowed;
}

.payment-option input[disabled] + .form-check-label i {
    color: #6c757d;
}

.payment-option input[disabled] + .form-check-label strong {
    color: #6c757d;
}

/* 響應式設計 */
@media (max-width: 768px) {
    .progress-steps {
        flex-direction: column;
        gap: 1rem;
    }
    
    .progress-steps::before {
        display: none;
    }
    
    .step {
        flex-direction: row;
        gap: 0.5rem;
    }
    
    .step-number {
        margin-bottom: 0;
    }
    
    .product-info-card,
    .contact-form-card,
    .payment-info-card {
        padding: 1.5rem;
    }
    
    .form-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .form-actions .btn {
        width: 100%;
    }
}

/* 旅客資料表單樣式 */
.traveler-form-card {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
}

.traveler-section {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    background: #f8f9fa;
}

.traveler-header {
    margin-bottom: 1.5rem;
}

.traveler-title {
    color: #333;
    font-weight: 600;
    margin: 0;
}

.traveler-type {
    background: #007bff;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

.nationality-options {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.nationality-options .form-check {
    margin-right: 1rem;
}

.nationality-options .form-check-label {
    font-weight: 500;
    color: #333;
}

.emergency-contact-section {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    background: #f8f9fa;
}

.emergency-note {
    color: #666;
    font-size: 0.9rem;
    margin: 0.5rem 0 0 0;
    font-style: italic;
}

.service-point-section {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    background: #f8f9fa;
}

/* 響應式設計 */
@media (max-width: 768px) {
    .traveler-form-card {
        padding: 1.5rem;
    }
    
    .traveler-section,
    .emergency-contact-section,
    .service-point-section {
        padding: 1rem;
    }
    
    .nationality-options {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .nationality-options .form-check {
        margin-right: 0;
    }
}

/* 產品分享功能樣式 */
.product-actions {
    gap: 0.5rem;
}

.share-icon {
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #666;
}

.fa-facebook-f {
    color: #1877f2;
}

.fa-line {
    color: #00b900;
}

.share-icon:hover {
    transform: scale(1.1);
}

.fa-facebook-f:hover {
    color: #1877f2 !important;
}

/* 上方 header 中的 Facebook icon 保持白色 */
.btn-outline-light .fa-facebook-f {
    color: inherit !important;
}

.fa-line:hover {
    color: #00b900 !important;
}

#favoriteBtn {
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

#favoriteBtn:hover {
    transform: scale(1.1);
    color: #dc3545 !important;
}

/* 響應式設計 */
@media (max-width: 768px) {
    .product-actions {
        flex-direction: row;
        gap: 0.5rem;
    }
    
    .share-icon {
        font-size: 1.3rem;
    }
    
    .blogger-card {
        padding: 1rem;
    }
}

/* 手風琴和特殊需求樣式 */
.accordion-section {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
    overflow: hidden;
}

.accordion-item {
    border: none;
    border-bottom: 1px solid #e9ecef;
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-button {
    background: #f8f9fa;
    border: none;
    color: #333;
    font-weight: 600;
    padding: 1.25rem 1.5rem;
    transition: all 0.3s ease;
}

.accordion-button:not(.collapsed) {
    background: #fd7e14;
    color: white;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border: none;
}

    .accordion-button:hover {
        background: #fd7e14;
        color: white;
    }

.accordion-button.collapsed:hover {
    background: #e9ecef;
    color: #333;
}

.accordion-body {
    padding: 1.5rem;
    background: white;
}

.special-needs-note {
    color: #fd7e14;
    font-size: 0.9rem;
    font-style: italic;
}

.special-needs-note .step-indicator {
    background: #fd7e14;
    color: white;
    display: inline-block;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    text-align: center;
    line-height: 18px;
    font-size: 0.7rem;
    font-weight: bold;
    margin-right: 0.5rem;
}

.receipt-options {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.receipt-options .form-check {
    margin-right: 1rem;
}

.receipt-options .form-check-label {
    font-weight: 500;
    color: #333;
}

#companyInfoSection {
    background: #f8f9fa;
    border-radius: 6px;
    padding: 1rem;
    margin-top: 1rem;
    border: 1px solid #e9ecef;
}

/* 響應式設計 */
@media (max-width: 768px) {
    .accordion-button {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    .accordion-body {
        padding: 1rem;
    }
    
    .receipt-options {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .receipt-options .form-check {
        margin-right: 0;
    }
}

/* 緊急聯絡人卡片和服務據點卡片樣式 */
.emergency-contact-card,
.service-point-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

    .emergency-contact-card .form-header,
    .service-point-card .form-header {

        padding-bottom: 0.75rem;
        margin-bottom: 1.5rem;
    }

.emergency-contact-card .form-title,
.service-point-card .form-title {
    color: #333;
    font-weight: 600;
    margin-bottom: 0;
}

.emergency-contact-card .emergency-note {
    color: #6c757d;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    margin-bottom: 0;
}

/* 響應式設計 */
@media (max-width: 768px) {
    .emergency-contact-card,
    .service-point-card {
        padding: 1rem;
    }
}

/* 確認頁面唯讀欄位樣式 */
.form-control[readonly],
.form-select[disabled],
input[type="radio"][disabled],
input[type="checkbox"][disabled] {
    background-color: #f8f9fa;
    color: #495057;
    border-color: #dee2e6;
    cursor: not-allowed;
}

.form-control[readonly]:focus,
.form-select[disabled]:focus {
    background-color: #f8f9fa;
    border-color: #dee2e6;
    box-shadow: none;
}

.form-check-input[disabled] + .form-check-label {
    color: #6c757d;
    cursor: not-allowed;
}

/* 確認頁面按鈕樣式 */
.btn-success.more {
    background-color: #28a745;
    border-color: #28a745;
    color: white;
    font-weight: 600;
    padding: 0.75rem 2rem;
    transition: all 0.3s ease;
}

.btn-success.more:hover {
    background-color: #218838;
    border-color: #1e7e34;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(40, 167, 69, 0.3);
}

/* 確認頁面進度條樣式 */
.progress-steps .step.active .step-number {
    background-color: #fd7e14;
    color: white;
}

.progress-steps .step.active .step-text {
    color: #fd7e14;
    font-weight: 600;
}

/* 完成訂購 Modal 樣式 */
#orderCompleteModal .modal-content {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

#orderCompleteModal .modal-header {
    border-radius: 15px 15px 0 0;
    border-bottom: none;
}

#orderCompleteModal .modal-body {
    padding: 2rem;
}

#orderCompleteModal .order-info {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1rem;
}

#orderCompleteModal .payment-info {
    border: 2px solid #e9ecef;
    background: #f8f9fa !important;
}

#orderCompleteModal .payment-info h6 {
    color: #495057;
    font-weight: 600;
}

#orderCompleteModal .alert-info {
    border-left: 4px solid #17a2b8;
    background-color: #d1ecf1;
    border-color: #bee5eb;
    color: #0c5460;
}

#orderCompleteModal .modal-footer {
    border-top: none;
    padding: 1.5rem 2rem;
}

#orderCompleteModal .btn {
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 8px;
}

#orderCompleteModal .btn-primary {
    background-color: #007bff;
    border-color: #007bff;
    transition: all 0.3s ease;
}

#orderCompleteModal .btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
}

/* 更寬敞的 Modal 樣式 */
#orderCompleteModal.modal-lg .modal-dialog {
    max-width: 800px;
}

#orderCompleteModal .modal-body {
    padding: 2.5rem;
}

#orderCompleteModal .order-info {
    padding: 2rem;
}

#orderCompleteModal .payment-info {
    padding: 1.5rem;
}

#orderCompleteModal .row {
    margin-bottom: 1.5rem;
}

#orderCompleteModal .col-md-6 {
    padding: 0 1rem;
}

/* 響應式設計 */
@media (max-width: 768px) {
    #orderCompleteModal .modal-body {
        padding: 1rem;
    }
    
    #orderCompleteModal .order-info {
        padding: 1rem;
    }
    
    #orderCompleteModal .modal-footer {
        padding: 1rem;
    }
}

/* 搜尋功能樣式 */
.search-container {
    position: relative;
}

.search-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 2px solid #009a3e;
    background: transparent;
    color: #009a3e;
}

.search-btn:hover {
    background: #009a3e;
    color: white;
    transform: scale(1.05);
}

.search-btn:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 154, 62, 0.25);
}

/* 搜尋 Modal 樣式 */
#searchModal .modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

#searchModal .modal-header {
    background: linear-gradient(135deg, #009a3e, #007a2e);
    color: white;
    border-radius: 15px 15px 0 0;
    padding: 1.5rem 2rem;
}

#searchModal .modal-title {
    font-weight: 600;
    font-size: 1.25rem;
}

#searchModal .modal-body {
    padding: 2rem;
}

#searchModal .form-control {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

#searchModal .form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

#searchModal .btn-primary {
    border-radius: 10px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

#searchModal .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
}

.search-suggestions .badge {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #dee2e6;
}

    .search-suggestions .badge:hover {
        background: #009a3e !important;
        color: white !important;
        border-color: #009a3e;
        transform: translateY(-1px);
    }

/* 響應式設計 */
@media (max-width: 768px) {
    .search-container {
        display: none;
    }
    
    #searchModal .modal-body {
        padding: 1.5rem;
    }
    
    #searchModal .modal-header {
        padding: 1rem 1.5rem;
    }
}

.title_main_color {
    color: #7e3419;
}

.lead {
    font-size: .85rem;
    font-weight: 400;
    line-height: 22px;
}