/* 产品详情页面样式 */
.product-detail-container {
    max-width: 1280px;
    margin: 100px auto 0;
    padding: 0 20px;
}

/* 图片展示区域 */
.image-gallery {
    margin-bottom: 40px;
}

.gallery-container {
    display: flex;
    gap: 20px;
}

.main-image {
    width: 850px;
    height: 494px;
    border-radius: 10px 0 0 10px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.side-images {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.top-image, .bottom-image {
    width: 416px;
    height: 237px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.top-image {
    border-radius: 0 10px 0 0;
}

.bottom-image {
    border-radius: 0 0 10px 0;
}

.side-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s;
}

.main-image:hover .image-overlay,
.side-images .image-overlay:hover {
    opacity: 1;
}

/* 产品概览区域 */
.product-overview {
    margin-bottom: 40px;
}

.product-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
    /* margin-bottom: 8px; */
}

.product-price-info {
    display: flex;
    /* flex-direction: column; */
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    max-width: 430px;
}

.product-price {
    font-size: 40px;
    font-weight: 700;
    color: #e74c3c;
    text-align: left;
    margin-right: auto;
}

.product-price-word {
    font-size: 20px;
    font-weight: 700;
    color: #e74c3c;
}

.product-price-notice {
    font-size: 15px;
    font-weight: 200;
    color: #18100f;
    flex-basis: 100%;
    text-align: left;
}

.cta-button-query {
    margin-left: auto;
    background-color: transparent;
    color: #1a73e8;
    border: 2px solid #1a73e8;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    margin-top: auto;
    transition: background-color 0.3s;
}

.cta-button-query:hover {
    background-color: rgba(95, 92, 92, 0.2);
    /* transform: translateY(-2px); */
}

.product-title {
    font-size: 32px;
    color: #1a73e8;
    margin-bottom: 10px;
}

.product-subtitle {
    font-size: 18px;
    color: #666;
    font-weight: 300;
    margin-bottom: 20px;
}

.product-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.tag {
    background: #e3f2fd;
    color: #1a73e8;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.divider {
    height: 1px;
    background: #e0e0e0;
    margin: 20px 0;
}

.overview-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.overview-item i {
    color: #1a73e8;
    font-size: 18px;
}

.location-info {
    display: flex;
    gap: 40px;
    margin-bottom: 20px;
    max-width: 800px;
}

.location-item {
    display: flex;
    align-items: center;
    gap: 15px;
    width: calc(50% - 30px); /* 每个项目占一半宽度减去间距 */ 
    margin-right: 60px;      /* 间距 */
}

.location-item i {
    color: #1a73e8;
    font-size: 20px;
}

.location-label {
    font-weight: 500;
    margin-bottom: 5px;
}

.location-name {
    color: #666;
}

/* 详细说明导航 */
.detail-nav {
    margin-bottom: 50px;
    
}

.nav-tabs {
    display: flex;
    gap: 0;
    width: 50%;
}

.tab-btn {
    flex: 1;
    padding: 12px 0;
    background: #f5f5f5;
    border: none;
    border-bottom: 3px solid transparent;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

.tab-btn.active {
    background: #fff;
    border-bottom: 3px solid #1a73e8;
    color: #1a73e8;
    font-weight: 500;
}

.tab-btn:hover:not(.active) {
    background: #e8f0fe;
}

/* 标签内容区域 */
.tab-content {
    display: none;
    margin-bottom: 50px;
}

.tab-content.active {
    display: block;
}

/* 行程亮点区域 */
.highlight-image {   
    margin-bottom: 30px;
}

.highlight-image img {
    width: 100%;
    height: 678px;
    object-fit: cover;
    border-radius: 10px;
}

.highlight-Sec-image {
    margin-bottom: 1px;
}

.highlight-Sec-image img {
    width: 100%;
    height: 478px;
    object-fit: cover;
    border-radius: 10px;
}

.highlight-thr-image {
    margin-bottom: 1px;
}

.highlight-thr-image img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    border-radius: 10px;
}

.short-image img {
    height: 278px;
}

.highlight-text {
    margin-bottom: 30px;
    line-height: 1.8;
    font-size: 16px;
    color: #444;
    text-indent: 2em;
}

.rating-section {
            display: flex;
            align-items: center;
            margin-top: 16px;
            padding-top: 16px;
            border-top: 1px solid #e2e8f0;
        }

.star-rating {
            display: flex;
            gap: 4px;
            
        }

.star-rating .fas {
   margin-left: -30px;
}

.fa-star {
            color: #ffd700;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
        }

.fa-star-half {
            color: #ffd700;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
        }

.section-title {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 30px 0 20px;
}

.title-decoration {
    width: 5px;
    height: 25px;
    background: #1a73e8;
    border-radius: 3px;
}

.section-title h2 {
    font-size: 24px;
    color: #333;
}

.sub-title h3 {
    font-size: 20px;
    color: #1a73e8;
    margin-bottom: 15px;
}

.highlight-list {
    margin: 0 0 30px;
    background-color: #f7f6f6;
    border-radius: 10px;
    padding: 10px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 6px 34px;
    /* border-bottom: 1px solid #f0f0f0; */
}

.highlight-bullet {
    width: 8px;
    height: 8px;
    background: #1a73e8;
    border-radius: 50%;
}

.note-text {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 15px 0 30px;
    font-size: 14px;
    color: #999;
}

.note-text i {
    color: #ff9800;
}

.gathering-info h4 {
    font-size: 18px;
    color: #333;
    margin: 20px 0 10px;
}

.gathering-info .sub-title {
    font-size: 16px;
    color: #1a73e8;
    margin-bottom: 10px;
}

.gathering-info p {
    line-height: 1.6;
    margin-bottom: 15px;
}

/* 行程明细区域 */
.itinerary-container {
    display: flex;
    gap: 20px;
}

.day-nav {
    width: 80px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: sticky;
    top: 170px;
    align-self: flex-start;
}

.day-btn {
    width: 80px;
    height: 50px;
    background: #f5f5f5;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.day-btn.active {
    background: #1a73e8;
    color: white;
}

.day-btn:hover:not(.active) {
    background: #e8f0fe;
}

.day-content {
    flex: 1;
}

.day-detail {
    display: block !important; /* 强制显示所有天的内容 */
    margin-bottom: 60px; /* 添加间距 */
    padding: 30px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* .day-detail.active {
    display: block;
} */

.day-title {
    font-size: 24px;
    color: #1a73e8;
    margin-bottom: 5px;
}

.day-subtitle {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}

.day-carousel {
    margin-bottom: 20px;
    position: relative;
}

.carousel-container {
    position: relative;
    width: 100%;
    /* height: 438px; */
    height: 678px;
    border-radius: 10px;
    overflow: hidden;
}

.carousel-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s;
}

.carousel-img.active {
    opacity: 1;
}

.carousel-prev, .carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    z-index: 10;
}

.carousel-prev {
    left: 15px;
}

.carousel-next {
    right: 15px;
}

.day-text {
    font-size: 18px;
    font-weight: 500;
    margin: 15px 0 10px;
}

.day-info {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.day-info i {
    color: #1a73e8;
}

.day-specials {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
}

.special-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.special-item i {
    color: #4caf50;
}

.day-description {
    line-height: 1.8;
    margin-bottom: 20px;
}

.day-highlights {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
}

.highlight-point {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.highlight-point i {
    color: #ff9800;
}

/* Q&A区域 */
.qa-container {
    background: #f9f9f9;
    border-radius: 10px;
    overflow: hidden;
}

.qa-item {
    border-bottom: 1px solid #e0e0e0;
}

.qa-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s;
}

.qa-question:hover {
    background: #f0f0f0;
}

.qa-answer {
    display: none;
    padding: 20px 20px 20px;
    line-height: 1.6;
}

.qa-item.active .qa-answer {
    display: block;
}

.qa-item.active .qa-question i {
    transform: rotate(90deg);
}

.qa-question i {
    transition: transform 0.3s;
}

/* 费用说明区域 */
.price-table {
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.table-header {
    background: #1a73e8;
    color: white;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.table-row {
    display: flex;
    border-bottom: 1px solid #e0e0e0;
}

.table-row:last-child {
    border-bottom: none;
}

.table-cell {
    padding: 15px 20px;
}

.table-cell:first-child {
    width: 200px;
    font-weight: 500;
    background: #f9f9f9;
}

.table-cell:last-child {
    flex: 1;
}

.refund-tabs {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.refund-tab {
    padding: 12px 20px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s;
}

.refund-tab.active {
    border-bottom: 3px solid #1a73e8;
    color: #1a73e8;
    font-weight: 500;
}

.refund-content {
    display: none;
}

.refund-content.active {
    display: block;
}

.refund-section {
    margin-bottom: 30px;
}

.refund-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 500;
}

.refund-title i {
    color: #1a73e8;
}

.refund-table {
    border-radius: 5px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    margin: 15px 0;
}

.refund-row {
    display: flex;
}

.refund-row:first-child {
    background: #f5f5f5;
    font-weight: 500;
}

.refund-cell {
    flex: 1;
    padding: 12px 15px;
    border-right: 1px solid #e0e0e0;
}

.refund-cell:last-child {
    border-right: none;
}

.refund-row:not(:first-child) {
    border-top: 1px solid #e0e0e0;
}

.refund-cell:nth-child(1) {
    flex: 0 0 30%;  /* 第一列固定30%宽度 */
}

.refund-cell:nth-child(2) {
    flex: 1;        /* 第二列占据剩余空间 */
}

/* 行前必看区域 */
#notes{
     padding: 0 0 30px;
}
.notes-container {
    background: #f9f9f9;
    border-radius: 10px;
    overflow: hidden;
}

.note-item {
    border-bottom: 1px solid #e0e0e0;
}

.note-question {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s;
}

.note-question:hover {
    background: #f0f0f0;
}

.note-question i:first-child {
    color: #1a73e8;
    font-size: 18px;
}

.note-answer {
    display: none;
    padding: 0 20px 20px;
    line-height: 1.6;
}

.note-item.active .note-answer {
    display: block;
}

.note-item.active .note-question i:last-child {
    transform: rotate(180deg);
}

.note-question i:last-child {
    margin-left: auto;
    transition: transform 0.3s;
}

/* 图片预览模态框 */
.image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.close-modal {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 30px;
    cursor: pointer;
}

.modal-image-container {
    position: relative;
    max-width: 100%;
    max-height: 80vh;
}

.modal-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
}

.modal-prev, .modal-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
}

.modal-prev {
    left: 20px;
}

.modal-next {
    right: 20px;
}

.image-counter {
    position: absolute;
    bottom: -40px;
    left: 0;
    width: 100%;
    text-align: center;
    color: white;
    font-size: 18px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .product-detail-container {
        margin-top: 80px;
        padding: 0 15px;
    }
    
    .gallery-container {
        flex-direction: column;
    }
    
    .main-image, .top-image, .bottom-image {
        width: 100%;
        border-radius: 10px;
    }
    
    .nav-tabs {
        width: 100%;
    }
    
    .itinerary-container {
        flex-direction: column;
    }
    
    .day-nav {
        width: 100%;
        flex-direction: row;
        overflow-x: auto;
        position: static;
        margin-bottom: 40px;
    }
    
    .day-btn {
        min-width: 60px;
    }
    
    .table-row {
        flex-direction: column;
    }
    
    .table-cell:first-child {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .product-title {
        font-size: 24px;
    }
    
    .section-title h2 {
        font-size: 20px;
    }
    
    .highlight-image img {
        height: 250px;
    }
    
    .short-image img {
        height: 150px;
    }
    
    .carousel-container {
        height: 250px;
    }
}

/* 详细说明导航 - 固定在顶部 */
.detail-nav {
    position: sticky;
    top: 80px; /* 距离顶部80px，在导航栏下方 */
    z-index: 999;
    background: white;
    transition: all 0.3s ease;
    width: 100%; /* 修改为100%宽度 */
    max-width: 1075rem; /* 添加最大宽度限制 */
    padding: 10px 0;
    margin-top: -10px;
}

/* 当滚动时添加阴影效果和缩小宽度 */
.detail-nav.sticky {
    /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); */
    padding: 10px 0;
    margin-top: -10px; /* 补偿padding，保持位置不变 */
    /* width: 1075rem; 固定时缩小宽度 */
    max-width: 1075rem; /* 同时修改最大宽度 */
    left: 20px; /* 保持左侧位置，不居中 */
}

/* 导航标签容器 */
.nav-tabs {
    display: flex;
    gap: 0;
    width: 50%; /* 保持按钮容器相对宽度不变 */
    /* 移除margin: 0 auto; 不居中 */
}

/* 导航按钮样式保持不变 */
.tab-btn {
    flex: 1; /* 保持按钮等分容器宽度 */
    padding: 12px 0;
    background: #f5f5f5;
    border: none;
    border-bottom: 3px solid transparent;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    min-width: 120px; /* 添加最小宽度确保按钮大小不变 */
}

/* 响应式设计调整 */
@media (max-width: 768px) {
    .detail-nav {
        width: 100%;
        max-width: 100%;
        left: 0;
    }
    
    .detail-nav.sticky {
        width: 100%;
        max-width: 100%;
        left: 0;
        margin-top: -10px;
    }
    
    .nav-tabs {
        width: 100%;
    }
    
    .tab-btn {
        min-width: auto; /* 在小屏幕上取消最小宽度限制 */
    }
}

.highlight-Notice{
    font-family: 'Courier New', Courier, monospace;
    font-size: small;
    color: #999;
}

/* 退款列表样式 */
.refund-list {
    margin: 15px 0;
    padding-left: 20px;
}

.refund-list li {
    margin-bottom: 8px;
    line-height: 1.6;
    color: #555;
}

.refund-list li:before {
    content: "•";
    color: #1a73e8;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

/* 退款表格响应式设计 */
@media (max-width: 768px) {
    .refund-table .refund-row {
        flex-direction: column;
    }
    
    .refund-table .refund-cell {
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
    }
    
    .refund-table .refund-row:last-child .refund-cell:last-child {
        border-bottom: none;
    }
}

/* 退款内容动画 */
.refund-content {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

