

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Inter', sans-serif;
}

body {
    background-color: #FAFAFA;
    color: #1D2939;
    line-height: 1.6;
    padding-bottom: 60px;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}



/* 商品主体内容 */
.product-main {
    padding: 40px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

/* 商品图片区域 */
.product-gallery {
    position: relative;
}

.main-image {
    width: 100%;
    height: 500px;
    background-color: #E8F3FF;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-image img{
    max-width: 90%;
}


.main-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(22, 93, 255, 0.1);;
}

.image-zoom {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.image-zoom:hover {
    transform: scale(1.1);
}

.thumbnail-images {
    display: flex;
    gap: 15px;
    padding-top: 10px;
    margin-top: 20px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.thumbnail {
    width: 80px;
    height: 80px;
    background-color: #F2F4F7;
    border-radius: 8px;
    flex-shrink: 0;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

.thumbnail img{
    width: 100%;
    height: 100%;
}

.thumbnail.active {
    border-color: #165DFF;
}

.thumbnail:hover {
    transform: scale(1.05);
}

/* 商品信息区域 */
.product-info {
    display: flex;
    flex-direction: column;
}

.product-tag {
    display: inline-block;
    background-color: #E8F3FF;
    color: #165DFF;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 15px;
    width: fit-content;
}

.product-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
}

.stars {
    color: #FFB547;
    letter-spacing: 2px;
}

.rating-count {
    color: #667085;
    font-size: 14px;
}

.product-pricing {
    background-color: #F2F4F7;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: -10px;
}

.price-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.current-price {
    font-size: 32px;
    font-weight: 700;
    color: #FF6B35;
}

.original-price {
    font-size: 18px;
    color: #667085;
    text-decoration: line-through;
}

.discount {
    background-color: #FF6B35;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
}

.price-note {
    font-size: 14px;
    color: #667085;
}

.product-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 35px;
}

.btn {
    padding: 15px 0;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.buy-now {
    background-color: #FF6B35;
    color: white;
}

.buy-now:hover {
    background-color: #e05a25;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(255, 107, 53, 0.2);
}

.add-to-cart {
    background-color: #165DFF;
    color: white;
}

.add-to-cart:hover {
    background-color: #0f4cd2;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(22, 93, 255, 0.2);
}

.wishlist-btn {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    border: 1px solid #E4E7EC;
    background-color: white;
    color: #667085;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.wishlist-btn:hover, .wishlist-btn.active {
    color: #F53F3F;
    border-color: #F53F3F;
    background-color: rgba(245, 63, 63, 0.05);
}

.product-meta {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.meta-item {
    display: flex;
    flex-direction: column;
}

.meta-label {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 0px;
}

.meta-value {
    font-size: 18px;
    color: #ff0000;
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dashed #e4e7ec;
    font-weight: 500;
}

.product-details {
    border-top: 1px solid #E4E7EC;
    padding-top: 30px;
}

.details-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dashed #E4E7EC;
}

.detail-key {
    color: #667085;
}

.detail-value {
    font-weight: 500;
}

.keywords {
    margin-top: 30px;
}

.keywords-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
}

.keywords-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.keyword {
    background-color: #F2F4F7;
    color: #1D2939;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.keyword:hover {
    background-color: #E8F3FF;
    color: #165DFF;
    transform: translateY(-2px);
}

/* 商家信息卡片 */
.seller-card {
    background-color: white;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(22, 93, 255, 0.1);
    margin-top: -10px;
}

.seller-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.seller-avatar {
    width: 60px;
    height: 60px;
    background-color: #E8F3FF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #165DFF;
    font-size: 24px;
    font-weight: bold;
}

.seller-avatar img{
    width: 100%;
    height: 100%;
}

.seller-info {
    flex: 1;
}

.seller-name {
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 5px;
}

.seller-rating {
    font-size: 14px;
    color: #667085;
}

.seller-badge {
    background-color: #E8F3FF;
    color: #165DFF;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.seller-actions {
    display: flex;
    gap: 10px;
}

.seller-btn {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #E4E7EC;
    background-color: white;
    color: #1D2939;
    cursor: pointer;
}

.seller-btn:hover {
    border-color: #165DFF;
    color: #165DFF;
}

/* 动画与交互效果 */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.pulse {
    animation: pulse 2s infinite;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .product-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .main-image {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .product-actions {
        flex-wrap: wrap;
    }
    .wishlist-btn {
        flex: 1;
    }
    .details-grid {
        grid-template-columns: 1fr;
    }
    .product-meta {
        grid-template-columns: 1fr;
    }
    .current-price {
        font-size: 28px;
    }
}

@media (max-width: 576px) {
    .product-title {
        font-size: 24px;
    }
    .main-image {
        height: 300px;
    }
    .product-actions {
        flex-direction: column;
    }
    .btn {
        width: 100%;
    }
    .seller-actions {
        flex-direction: column;
    }
    .seller-btn {
        width: 100%;
    }
}

.bx-viewport{
    height: 125px !important;
}

.bx-wrapper{
    display: none
}