/* 产品详情页主样式 */
.product-detail {
    padding: 5rem 0 12rem;
    background-color: #FFFFFF;
}

.product-detail-wrapper {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 4rem;
}

/* 产品头部信息 */
.product-header {
    margin-bottom: 3rem;
}

.product-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--primary-color);
    line-height: 1.3;
    margin-bottom: 1rem;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #EEEEEE;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.rating-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent-color);
}

.stars {
    color: #FFC107;
}

.rating-count {
    color: var(--text-muted);
    font-size: 0.9375rem;
}

.product-share {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.product-share span {
    color: var(--text-muted);
    font-size: 0.9375rem;
}

.product-share a {
    color: var(--primary-color);
    transition: var(--transition);
}

.product-share a:hover {
    color: var(--secondary-color);
}

/* 产品图片画廊 */
.product-gallery {
    margin-bottom: 3rem;
}

.main-image {
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
}

.main-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: var(--transition);
}

.main-image:hover img {
    transform: scale(1.01);
}

.thumbnail-images {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.thumbnail-images img {
    width: 6.25rem;
    height: 4.6875rem;
    object-fit: cover;
    border-radius: var(--radius);
    cursor: pointer;
    opacity: 0.8;
    transition: var(--transition);
    flex-shrink: 0;
}

.thumbnail-images img:hover,
.thumbnail-images img.active {
    opacity: 1;
    box-shadow: var(--shadow-sm);
}

/* 产品核心信息 */
.product-essential-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    padding: 2rem;
    background-color: var(--light-color);
    border-radius: var(--radius);
    margin-bottom: 3rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.info-item i {
    color: var(--secondary-color);
    font-size: 1.25rem;
    margin-top: 0.25rem;
}

.info-item h4 {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.info-item p {
    color: var(--text-muted);
    font-size: 0.9375rem;
}

/* 详情区块通用样式 */
.detail-section {
    margin-bottom: 4rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #EEEEEE;
}

.detail-section:last-child {
    border-bottom: none;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.875rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 3rem;
    height: 2px;
    background-color: var(--secondary-color);
}

/* 行程详情样式 */
.itinerary-day {
    margin-bottom: 2.5rem;
}

.day-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.day-title::before {
    content: '';
    display: inline-block;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background-color: var(--secondary-color);
}

.day-content p {
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.day-content p.highlight {
    color: var(--secondary-color);
    font-weight: 500;
}

/* 费用说明样式 */
.cost-includes, .cost-excludes {
    margin-bottom: 2rem;
}

.cost-includes h3, .cost-excludes h3 {
    font-size: 1.125rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cost-includes ul, .cost-excludes ul {
    padding-left: 1.5rem;
}

.cost-includes li, .cost-excludes li {
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    position: relative;
    padding-left: 1.5rem;
}

.cost-includes li i {
    color: #28a745;
}

.cost-excludes li i {
    color: #dc3545;
}

.cost-includes li::before, .cost-excludes li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background-color: var(--light-gray);
}

.price-info {
    background-color: var(--light-color);
    padding: 1.5rem;
    border-radius: var(--radius);
    margin-top: 2rem;
}

.price-label {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.price-amount {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.price-unit {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: normal;
}

.price-note {
    font-size: 0.9375rem;
    color: var(--text-muted);
}

/* 为什么选择我们样式 */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-item {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
    background-color: #FFFFFF;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background-color: rgba(255, 153, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 1.25rem;
}

.feature-content h3 {
    font-size: 1.125rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.feature-content p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* 用户评价样式 */
.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2rem;
}

.review-item {
    padding: 1.5rem;
    background-color: #FFFFFF;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.review-header {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.reviewer-avatar img {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    object-fit: cover;
}

.reviewer-info h4 {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.review-date {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.review-rating {
    color: #FFC107;
}

.review-content p {
    color: var(--text-dark);
    line-height: 1.6;
}

.view-more-reviews {
    display: inline-block;
    margin-top: 1rem;
}

/* 相关产品推荐样式 */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card-link {
    display: block;
}

.product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: #FFFFFF;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.product-image {
    width: 100%;
    height: 15rem;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

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

.product-content .product-title {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-footer {
    margin-top: auto;
}

.product-price {
    display: flex;
    align-items: baseline;
}

/* 右侧边栏样式 */
.product-detail-sidebar {
    position: relative;
}

.sticky-sidebar {
    position: sticky;
    top: 8rem;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

/* 产品价格卡片 */
.product-price-card {
    background-color: #FFFFFF;
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.price-label {
    font-size: 0.9375rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.price-main {
    margin-bottom: 1.5rem;
}

.price-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
}

.price-person {
    color: var(--text-muted);
    font-size: 1rem;
    margin-left: 0.25rem;
}

/* 目录导航样式 */
.toc-section {
    background-color: #FFFFFF;
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.toc-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.toc-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 3rem;
    height: 2px;
    background-color: var(--secondary-color);
}

.toc-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.toc-list li a {
    display: block;
    color: var(--text-dark);
    transition: var(--transition);
    padding: 0.25rem 0;
}

.toc-h2 {
    font-weight: 600;
    padding-left: 0 !important;
}

.toc-h3 {
    font-size: 0.9375rem;
    padding-left: 1rem !important;
}

.toc-list li a:hover, .toc-list li a.active {
    color: var(--secondary-color);
    padding-left: 0.5rem;
}

/* 咨询客服样式 */
.consult-section {
    background-color: var(--primary-color);
    border-radius: var(--radius);
    padding: 2rem;
    color: var(--text-light);
    box-shadow: var(--shadow-sm);
}

.consult-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.consult-desc {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.phone-number {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-light);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.consult-btn {
    margin-bottom: 1rem;
    background-color: var(--text-light);
    color: var(--primary-color);
}

.consult-btn:hover {
    background-color: var(--secondary-color);
}

.working-hours {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

/* 响应式调整 */
@media (max-width: 1200px) {
    .product-detail-wrapper {
        grid-template-columns: 2fr 1fr;
    }
}

@media (max-width: 992px) {
    .product-detail-wrapper {
        grid-template-columns: 1fr;
    }
    
    .sticky-sidebar {
        position: static;
        margin-bottom: 3rem;
    }
}

@media (max-width: 768px) {
    .product-detail {
        padding: 3rem 0 8rem;
    }
    
    .product-title {
        font-size: 1.875rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .product-meta {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .toc-section,
    .product-price-card,
    .consult-section {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .product-title {
        font-size: 1.5rem;
    }
    
    .main-image {
        margin-bottom: 0.5rem;
    }
    
    .thumbnail-images {
        gap: 0.5rem;
    }
    
    .thumbnail-images img {
        width: 5rem;
        height: 3.75rem;
    }
    
    .section-title {
        font-size: 1.25rem;
    }
}


/* 产品分类Hero区域 */
/* --- 动态极光渐变 --- */

/* 定义动画关键帧 */
@keyframes auroraAnimation {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.products-hero {
    padding: 10rem 0;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;

    /* 1. 创建一个大型的多色线性渐变 */
    background: linear-gradient(
        125deg, 
        var(--primary-color), 
        #0f3460, /* 过渡色：蓝色 */
        #6d597a, /* 过渡色：锦葵紫 */
        var(--dark-color)
    );
    
    /* 2. 扩大背景尺寸，为动画提供移动空间 */
    background-size: 300% 300%;
    
    /* 3. 应用动画效果 */
    animation: auroraAnimation 18s ease infinite;
}

.products-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

/* 关键修改：将文字颜色改为浅色 */
.products-hero-title {
    color: var(--text-light);
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.products-hero-description {
    color: var(--text-light);
    font-size: 1.2rem;
    line-height: 1.6;
    opacity: 0.9;
}

/* 产品列表区域 */
.products-listing {
    padding: 4rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    color: var(--text-dark);
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-description {
    color: var(--text-medium);
    font-size: 1rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.products-wrapper {
    display: flex;
    gap: 2rem;
}

.products-main {
    flex: 1;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.product-card-link {
    text-decoration: none;
    display: block;
}

.product-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.product-card.featured {
    border: 2px solid var(--secondary-color);
}

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

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--secondary-color);
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.product-rating {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.7);
    color: var(--white);
    padding: 0.3rem 0.6rem;
    border-radius: 20px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    z-index: 2;
}

.rating-value {
    font-weight: 600;
    color: #FFD700;
}

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

.product-title {
    color: var(--text-dark);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
    transition: var(--transition);
}

.product-card-link:hover .product-title {
    color: var(--primary-color);
}

.product-description {
    color: var(--text-medium);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.25rem;
    flex: 1;
}

.product-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--border-color);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--text-light);
    font-size: 0.85rem;
}

.meta-item svg {
    width: 16px;
    height: 16px;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.product-price {
    text-align: left;
}

.price-label {
    color: var(--text-light);
    font-size: 0.8rem;
    display: block;
}

.price-amount {
    color: var(--secondary-color);
    font-size: 1.25rem;
    font-weight: 700;
}

.price-unit {
    color: var(--text-medium);
    font-size: 0.9rem;
}

/* 右侧边栏 */
.products-sidebar {
    width: 300px;
    flex-shrink: 0;
}

.sidebar-section {
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.sidebar-title {
    color: var(--text-dark);
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
    font-weight: 600;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-products {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sidebar-product-link {
    text-decoration: none;
    display: block;
}

.sidebar-product {
    display: flex;
    gap: 1rem;
    align-items: center;
    transition: var(--transition);
}

.sidebar-product-link:hover .sidebar-product {
    transform: translateX(5px);
}

.sidebar-product img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}

.sidebar-product-info {
    flex: 1;
}

.sidebar-product-info h4 {
    color: var(--text-dark);
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
    transition: var(--transition);
}

.sidebar-product-link:hover .sidebar-product-info h4 {
    color: var(--primary-color);
}

.sidebar-product-price {
    color: var(--secondary-color);
    font-size: 0.9rem;
    font-weight: 600;
}

/* 限时优惠广告 */
.promotion-link {
    text-decoration: none;
    display: block;
}

.promotion {
    background: linear-gradient(135deg, #FF7D00 0%, #FFB100 100%);
    color: var(--white);
    text-align: center;
    padding: 2rem 1.5rem;
}

.promotion-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.promotion-content p {
    margin-bottom: 1.25rem;
    opacity: 0.9;
}

.promotion .btn-secondary {
    background: var(--white);
    color: var(--secondary-color);
    border-color: var(--white);
}

.promotion .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

/* 旅行贴士 */
.travel-tips {
    list-style: none;
}

.travel-tips li {
    margin-bottom: 0.75rem;
}

.travel-tips li:last-child {
    margin-bottom: 0;
}

.travel-tips a {
    color: var(--text-medium);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition);
    display: inline-block;
}

.travel-tips a:hover {
    color: var(--primary-color);
    transform: translateX(3px);
}

/* 定制行程CTA */
.products-cta {
    background: var(--background-light);
    padding: 5rem 0;
    text-align: center;
    margin-top: 4rem;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--text-dark);
    font-size: 2rem;
    margin-bottom: 1.25rem;
    font-weight: 700;
}

.cta-content p {
    color: var(--text-medium);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.btn-lg {
    padding: 0.85rem 2rem;
    font-size: 1.1rem;
}

/* 按钮图标统一样式 */
.btn svg {
    width: 1.25rem;
    height: 1.25rem;
    margin-left: 0.5rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

/* 按钮悬停时图标微动画 */
.btn:hover svg {
    transform: translateX(3px);
}

/* 页脚联系信息图标 */
.contact-info svg {
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    color: var(--secondary-color);
    flex-shrink: 0;
}

/* 社交媒体图标 */
.social-links svg {
    width: 1.5rem;
    height: 1.5rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.05);
    color: var(--text-muted);
    margin-right: 0.75rem;
    transition: background-color 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.social-links a:hover svg {
    transform: scale(1.1);
}

/* 电话图标统一调整 */
.phone-icon {
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.5rem;
}

/* 修复服务卡片内的图标样式 */
.service-features svg {
    width: 1.125rem;
    height: 1.125rem;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .products-wrapper {
        flex-direction: column;
    }
    
    .products-sidebar {
        width: 100%;
    }
    
    .sidebar-section.promotion {
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .products-hero {
        padding: 4rem 0;
    }
    
    .products-hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .pagination {
        flex-wrap: wrap;
    }
    
    .products-cta {
        padding: 3.5rem 0;
    }
    
    .cta-content h2 {
        font-size: 1.75rem;
    }
}

@media (max-width: 576px) {
    .products-hero-title {
        font-size: 1.75rem;
    }
    
    .products-hero-description {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .product-footer {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .product-price {
        text-align: center;
    }
    
    .btn {
        width: 100%;
    }
    
    .page-number,
    .pagination-btn {
        width: 2rem;
        height: 2rem;
        padding: 0;
        font-size: 0.85rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    .cta-content h2 {
        font-size: 1.5rem;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}