* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #f8f8f8;
    color: #333;
    line-height: 1.6;
}

.prod-cont {
    max-width: 1300px;
    margin: 40px auto;
    padding: 0 20px;
}

.product-wrapper {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
}

/* 左侧图片区域 */
.product-images {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.main-image-container {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    background: #f9f9f9;
}

.main-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s;
}

.main-image:hover {
    transform: scale(1.05);
}

.thumbnail-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.thumbnail-item {
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
    background: #f9f9f9;
}

.thumbnail-item:hover {
    border-color: #fbbe7b;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(251, 190, 123, 0.3);
}

.thumbnail-item.active {
    border-color: #fbbe7b;
    box-shadow: 0 0 0 2px rgba(251, 190, 123, 0.2);
}

.thumbnail-img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    display: block;
}

/* 右侧产品信息 */
.product-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.product-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.product-title h1 {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.rating {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stars {
    color: #fbbe7b;
    font-size: 16px;
}

.review-text {
    color: #666;
    font-size: 16px;
    font-weight: 700;
}

.price-box {
    display: flex;
    align-items: center;
    gap: 15px;
}

.current-price {
    font-size: 32px;
    font-weight: bold;
    color: #333;
}

.original-price {
    font-size: 20px;
    color: #999;
    text-decoration: line-through;
}

.product-description {
    color: #666;
    line-height: 1.8;
    padding: 20px 0;
    border-bottom: 1px solid #e0e0e0;
}

.available-options h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
}

.option-group {
    margin-bottom: 25px;
}

.option-label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #555;
}

.color-options {
    display: flex;
    gap: 10px;
}

.color-item {
    width: 40px;
    height: 40px;
    border: 2px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
}

.color-item:hover {
    transform: scale(1.1);
    border-color: #fbbe7b;
}

.color-item.active {
    border-color: #fbbe7b;
    box-shadow: 0 0 0 2px rgba(251, 190, 123, 0.3);
}

.color-black { background: #000; }
.color-gray { background: #999; }
.color-red { background: #e74c3c; }
.color-yellow { background: #f1c40f; }

.size-select {
    padding: 12px 20px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    background: white;
    cursor: pointer;
    min-width: 200px;
}

.quantity-box {
    display: flex;
    align-items: center;
    gap: 20px;
}

.quantity-input {
    width: 100px;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    text-align: center;
    font-size: 16px;
}

.add-to-cart {
    padding: 15px 40px;
    background: #fbbe7b;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.add-to-cart:hover {
    background: #f9a95a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(251, 190, 123, 0.4);
}

.extra-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.action-link {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.action-link:hover {
    color: #fbbe7b;
}

.product-meta {
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
    font-size: 14px;
    color: #666;
}

.meta-item {
    margin-bottom: 8px;
}

.meta-label {
    font-weight: 600;
    color: #333;
}

.social-share {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.social-btn {
    padding: 8px 16px;
    border-radius: 4px;
    color: white;
    text-decoration: none;
    font-size: 13px;
    transition: transform 0.3s;
}

.social-btn:hover {
    transform: translateY(-2px);
}

.facebook { background: #3b5998; }
.twitter { background: #1da1f2; }
.pinterest { background: #bd081c; }
.google { background: #db4437; }
.linkedin { background: #0077b5; }

.navigation-arrows {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
}

.nav-arrow {
    width: 36px;
    height: 36px;
    background: #fbbe7b;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s;
}

.nav-arrow:hover {
    background: #f9a95a;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: 1fr;
    }

    .thumbnail-list {
        grid-template-columns: repeat(4, 1fr);
    }

    .product-header {
        flex-direction: column;
        gap: 15px;
    }
}