/* 鲸选物志页面特定样式 */

/* 筛选动画效果 */
@keyframes filterFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.filter-show {
    animation: filterFadeIn 0.3s ease-out;
}

/* 鲸选物志英雄区域特定样式 */
.products-hero {
    background: url('../img/bg/bg (40).JPG');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.products-hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(232, 197, 161, 0.3) 0%, rgba(232, 197, 161, 0) 70%);
    transform: translate(-50%, -50%);
    animation: pulse 4s infinite;
}

.hero-title {
    font-size: 4.5rem;
}

.hero-subtitle {
    font-size: 1.8rem;
}

.hero-description {
    font-size: 1.3rem;
}

/* 灯塔书单区域 */
.featured-books {
    padding: 100px 0;
    background-color: var(--background-color);
}

.books-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(300px, 360px));
    gap: 3rem;
    margin-top: 3rem;
    justify-content: center;
}

.book-card {
    background-color: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    animation: fadeIn 1s ease;
    position: relative;
    overflow: hidden;
}



.book-card:nth-child(2) {
    animation-delay: 0.1s;
}

.book-card:nth-child(3) {
    animation-delay: 0.2s;
}

.book-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.book-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 1;
}

.book-image {
    height: 400px;
    overflow: hidden;
    position: relative;
}

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

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

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

.book-info {
    padding: 2rem;
}

.book-title {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.book-card:hover .book-title {
    color: var(--secondary-color);
}

.book-author {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.book-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--light-text);
    margin-bottom: 1.5rem;
}

.book-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    color: var(--light-text);
}

.book-price {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    display: block;
}

/* 书籍卡片详细样式 */
.book-card-image {
    position: relative;
    overflow: hidden;
    height: 280px;
    background-color: #f5f5f5;
}

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

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

.book-card-content {
    padding: 18px;
    background-color: white;
    border-radius: 0 0 8px 8px;
    display: flex;
    flex-direction: column;
    height: auto; /* 改为自适应高度 */
}

.book-card-title {
    margin-top: 0;
    margin-bottom: 8px;
    color: #333;
    font-size: 16px;
    font-weight: 600;
    height: auto; /* 改为自适应高度 */
    overflow: visible;
    display: block;
}

.book-card-author {
    margin-bottom: 12px;
    color: #666;
    font-size: 14px;
    height: 20px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.book-card-rating {
    margin-bottom: 12px;
    color: #e8c5a1;
    font-size: 14px;
    height: 20px;
}

.book-card-price {
    margin-bottom: 14px;
    color: #e8c5a1;
    font-size: 20px;
    font-weight: bold;
    height: 30px;
}

.book-card-description {
    margin-bottom: 16px;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    height: auto; /* 改为自适应高度 */
    overflow: visible;
    display: block;
    flex-shrink: 0;
}

.book-card-excerpt {
    margin-bottom: 18px;
    padding: 12px;
    background-color: #f8f8f8;
    border-radius: 6px;
    max-height: 120px; /* 设置最大高度 */
    overflow-y: auto; /* 允许垂直滚动 */
    flex-shrink: 0;
    /* 隐藏滚动条但保持滚动功能 */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE 和 Edge */
}

/* WebKit 浏览器 (Chrome, Safari) */
.book-card-excerpt::-webkit-scrollbar {
    display: none;
}

.book-card-excerpt h4 {
    margin-top: 0;
    margin-bottom: 8px;
    color: #333;
    font-size: 14px;
    font-weight: 600;
    height: 20px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.book-card-excerpt p {
    margin: 0;
    color: #666;
    font-size: 13px;
    font-style: italic;
    line-height: 1.4;
}

.book-card-actions {
    display: flex;
    gap: 10px;
    margin-top: auto; /* 推到容器底部 */
}

.book-card-actions .btn-primary, .book-card-actions .btn-secondary {
    flex: 1;
    transition: background-color 0.3s ease;
}

/* 灵感造物区域 */
.inspiration-products {
    padding: 100px 0;
    background-color: var(--white);
}

.creative-products {
    padding: 100px 0;
    background-color: var(--white);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(250px, 300px));
    gap: 2.5rem;
    margin-top: 3rem;
    justify-content: center;
}

.product-card {
    background-color: var(--background-color);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    animation: fadeIn 1s ease;
    position: relative;
    overflow: hidden;
}



.product-card:nth-child(2) {
    animation-delay: 0.1s;
}

.product-card:nth-child(3) {
    animation-delay: 0.2s;
}

.product-card:nth-child(4) {
    animation-delay: 0.3s;
}

.product-card:nth-child(5) {
    animation-delay: 0.4s;
}

.product-card:nth-child(6) {
    animation-delay: 0.5s;
}

.product-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

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

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

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

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

.product-info {
    padding: 1.5rem;
}

.product-title {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.product-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--light-text);
    margin-bottom: 1rem;
}

.product-price {
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    display: block;
}

/* 产品卡片详细样式 */
.product-card-image {
    position: relative;
    overflow: hidden;
    height: 280px;
    background-color: #f5f5f5;
}

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

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

.product-card-content {
    padding: 18px;
    background-color: white;
    border-radius: 0 0 8px 8px;
    display: flex;
    flex-direction: column;
    height: 220px; /* 固定内容区域高度 */
}

.product-card-title {
    margin-top: 0;
    margin-bottom: 8px;
    color: #333;
    font-size: 16px;
    font-weight: 600;
    height: 40px; /* 固定标题高度 */
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

.product-card-price {
    margin-bottom: 14px;
    color: #e8c5a1;
    font-size: 20px;
    font-weight: bold;
    height: 30px;
}

.product-card-description {
    margin-bottom: 16px;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    height: 80px; /* 固定描述高度 */
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    flex-shrink: 0;
}

.product-card-actions {
    display: flex;
    gap: 10px;
    margin-top: auto; /* 推到容器底部 */
}

.product-card-actions .btn-primary, .product-card-actions .btn-secondary {
    flex: 1;
    transition: background-color 0.3s ease;
}

/* 风味海域区域 */
.coffee-section {
    padding: 100px 0;
    background-color: var(--background-color);
}

.coffee-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.coffee-card {
    background-color: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    animation: fadeIn 1s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}



.coffee-card:nth-child(2) {
    animation-delay: 0.1s;
}

.coffee-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.coffee-image {
    height: 300px;
    overflow: hidden;
    position: relative;
}

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

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

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

.coffee-info {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    height: auto; /* 改为自适应高度 */
}

.coffee-title {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    height: 40px; /* 固定标题高度 */
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
}

.coffee-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--light-text);
    margin-bottom: 1.5rem;
    flex-shrink: 0;
    height: 120px; /* 固定描述高度 */
    overflow: hidden;
    text-overflow: ellipsis;
   
    -webkit-box-orient: vertical;
}

.coffee-price {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    display: block;
    height: 30px;
}

/* 智能推荐区域 */
.recommended-products {
    padding: 100px 0;
    background-color: var(--white);
}

.recommended-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.recommended-card {
    background-color: var(--background-color);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    animation: fadeIn 1s ease;
    position: relative;
    overflow: hidden;
}



.recommended-card:nth-child(2) {
    animation-delay: 0.1s;
}

.recommended-card:nth-child(3) {
    animation-delay: 0.2s;
}

.recommended-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.recommended-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

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

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

.recommended-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    height: 120px; /* 固定内容区域高度 */
}

.recommended-title {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    height: 40px; /* 固定标题高度 */
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

.recommended-price {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    display: block;
    height: 30px;
    margin-top: auto;
}

/* 购物车侧边栏 */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background-color: var(--white);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: var(--transition);
    overflow-y: auto;
}

.cart-sidebar.open {
    right: 0;
}

.cart-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--secondary-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-title {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: 0;
}

.close-cart {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--light-text);
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-items {
    padding: 1.5rem;
}

.cart-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.cart-item-image {
    width: 80px;
    height: 80px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-info {
    flex: 1;
}

.cart-item-title {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.cart-item-price {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quantity-btn {
    background-color: var(--background-color);
    border: none;
    width: 25px;
    height: 25px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: var(--text-color);
    transition: var(--transition);
}

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

.cart-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--secondary-color);
    position: sticky;
    bottom: 0;
    background-color: var(--white);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.cart-overlay.visible {
    opacity: 1;
    visibility: visible;
}

/* 风味海域 - 饮品卡片样式 */
.drinks-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(350px, 400px));
    gap: 20px;
    margin-top: 30px;
    justify-content: center;
}

.drink-card {
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.drink-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.drink-card-image {
    position: relative;
    overflow: hidden;
    height: 280px;
    background-color: #f5f5f5;
}

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

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

.drink-card-content {
    padding: 18px;
    background-color: white;
    border-radius: 0 0 8px 8px;
}

.drink-card-title {
    margin-top: 0;
    margin-bottom: 8px;
    color: #333;
    font-size: 16px;
    font-weight: 600;
}

.drink-card-price {
    margin-bottom: 14px;
    color: #e8c5a1;
    font-size: 20px;
    font-weight: bold;
}

.drink-card-description {
    margin-bottom: 16px;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

.drink-card-actions {
    display: flex;
    gap: 10px;
}

/* 智能推荐 - 推荐卡片样式 */
.recommendations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.recommendation-card {
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.recommendation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.recommendation-card-image {
    position: relative;
    overflow: hidden;
    height: 280px;
    background-color: #f5f5f5;
}

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

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

.recommendation-card-content {
    padding: 18px;
    background-color: white;
    border-radius: 0 0 8px 8px;
}

.recommendation-card-title {
    margin-top: 0;
    margin-bottom: 8px;
    color: #333;
    font-size: 16px;
    font-weight: 600;
}

.recommendation-card-type {
    margin-bottom: 8px;
    color: #999;
    font-size: 13px;
}

.recommendation-card-price {
    margin-bottom: 14px;
    color: #e8c5a1;
    font-size: 20px;
    font-weight: bold;
}

.recommendation-card-description {
    margin-bottom: 16px;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

.recommendation-card-reason {
    margin-bottom: 18px;
    padding: 12px;
    background-color: #f8f8f8;
    border-radius: 6px;
}

.recommendation-card-reason h4 {
    margin-top: 0;
    margin-bottom: 8px;
    color: #333;
    font-size: 14px;
    font-weight: 600;
}

.recommendation-card-reason p {
    margin: 0;
    color: #666;
    font-size: 13px;
}

.recommendation-card-actions {
    display: flex;
    gap: 10px;
}

/* 新增功能样式 */

/* 文具卡片样式 */
.stationery-card {
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stationery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.stationery-card-image {
    position: relative;
    overflow: hidden;
    height: 280px;
    background-color: #f5f5f5;
}

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

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

.stationery-card-content {
    padding: 18px;
    background-color: white;
    border-radius: 0 0 8px 8px;
    display: flex;
    flex-direction: column;
    height: auto; /* 改为自适应高度 */
}

.stationery-card-title {
    margin-top: 0;
    margin-bottom: 8px;
    color: #333;
    font-size: 16px;
    font-weight: 600;
    height: 40px; /* 固定标题高度 */
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

.stationery-card-price {
    margin-bottom: 14px;
    color: #e8c5a1;
    font-size: 20px;
    font-weight: bold;
    height: 30px;
}

.stationery-card-description {
    margin-bottom: 16px;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    height: auto; /* 改为自适应高度 */
    overflow: visible;
    text-overflow: ellipsis;
    display: block;
    -webkit-box-orient: vertical;
    flex-shrink: 0;
}

.stationery-card-actions {
    display: flex;
    gap: 10px;
    margin-top: auto; /* 推到容器底部 */
}

/* 文具横向滚动布局 */
.stationery-grid {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 10px 0 20px;
    scrollbar-width: thin;
    scrollbar-color: #e8c5a1 transparent;
}

.stationery-grid::-webkit-scrollbar {
    height: 6px;
}
.btn-primary{
    padding: 12px;
}
.stationery-grid::-webkit-scrollbar-track {
    background: transparent;
}

.stationery-grid::-webkit-scrollbar-thumb {
    background-color: #e8c5a1;
    border-radius: 3px;
}

.stationery-card {
    flex: 0 0 300px;
    min-width: 300px;
}

/* 品类筛选 */
.category-filters {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.filter-btn {
    background-color: #f5f5f5;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background-color: #e8c5a1;
    color: #1e293b;
}

.filter-btn.active {
    background-color: #e8c5a1;
    color: #1e293b;
    font-weight: 600;
}

/* 商品标签 */
.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #e8c5a1;
    color: #1e293b;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

/* 线上券码说明 */
.voucher-rules {
    background-color: #f8f8f8;
    padding: 20px;
    border-radius: 8px;
    margin-top: 30px;
}

.voucher-rules h3 {
    margin-top: 0;
    color: #1e293b;
    font-size: 18px;
    margin-bottom: 15px;
}

.voucher-rules ul {
    margin: 0;
    padding-left: 20px;
}

.voucher-rules li {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 8px;
}

/* 商品详情模态框 */
.product-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.product-modal.show {
    display: block;
}

.product-modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 20px;
    border-radius: 10px;
    width: 90%;
    max-width: 900px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 15px;
    right: 20px;
}

.close-modal:hover {
    color: #000;
}

.product-modal-body {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.modal-product-image {
    flex: 1;
    min-width: 300px;
}

.modal-product-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.modal-product-info {
    flex: 1;
    min-width: 300px;
}

.modal-product-title {
    margin-top: 0;
    color: #1e293b;
    font-size: 24px;
    margin-bottom: 10px;
}

.modal-product-price {
    color: #e8c5a1;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
}

.modal-product-description {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* 文化关联模块 */
.cultural-connection {
    background-color: #f8f8f8;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.cultural-connection h3 {
    margin-top: 0;
    color: #1e293b;
    font-size: 18px;
    margin-bottom: 15px;
}

.cultural-connection p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* 购买方式选项 */
.order-options {
    margin-bottom: 30px;
}

.order-options h3 {
    margin-top: 0;
    color: #1e293b;
    font-size: 18px;
    margin-bottom: 15px;
}

.order-type {
    margin-bottom: 15px;
}

.order-type input[type="radio"] {
    margin-right: 8px;
}

.order-type label {
    font-size: 16px;
    color: #1e293b;
    cursor: pointer;
}

.order-note {
    margin-top: 5px;
    margin-left: 22px;
    color: #666;
    font-size: 14px;
}

/* 模态框按钮 */
.modal-product-actions {
    display: flex;
    gap: 15px;
}

.modal-product-actions .btn {
    flex: 1;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .product-modal-body {
        flex-direction: column;
    }
    
    .modal-product-image,
    .modal-product-info {
        min-width: 100%;
    }
    
    .modal-product-actions {
        flex-direction: column;
    }
    
    .category-filters {
        justify-content: center;
    }
}