/* 详情页主体 — 与 mall-new-ui/detail-page.html 产品区一致，依赖 mall-theme-v2.css 的 :root 变量 */

.joyee-detail-hero-wrap {
    max-width: 1600px;
    margin: 0 auto;
    padding: 24px 5% 48px;
}

.joyee-detail-hero .product-detail {
    display: flex;
    gap: 40px;
    margin-top: 0;
}

.joyee-detail-hero .product-gallery {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.joyee-detail-hero .main-image {
    grid-column: span 4;
    background: linear-gradient(135deg, #1a1a1a, #2c2c2c);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 500px;
    position: relative;
    overflow: hidden;
}

.joyee-detail-hero .main-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.joyee-detail-hero .thumbnail {
    height: 100px;
    background: #2c2c2c;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    overflow: hidden;
    border: 2px solid transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.joyee-detail-hero .thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.joyee-detail-hero .thumbnail:hover {
    transform: scale(1.03);
    border-color: rgba(212, 175, 55, 0.5);
}

.joyee-detail-hero .thumbnail.active {
    border-color: var(--highlight);
}

.joyee-detail-hero .product-info {
    flex: 1;
    padding: 20px;
    min-width: 0;
}

.joyee-detail-hero .product-title {
    font-size: 32px;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.25;
}

.joyee-detail-hero .product-price {
    font-size: 28px;
    color: var(--highlight);
    margin-bottom: 25px;
    font-weight: 600;
}

.joyee-detail-hero .product-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 40px;
}

.joyee-detail-hero .btn {
    padding: 14px 30px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    font-size: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    font-family: inherit;
}

.joyee-detail-hero .btn-primary {
    background: linear-gradient(135deg, var(--highlight), #e8c252);
    color: var(--text-dark);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.joyee-detail-hero .btn-primary:hover {
    filter: brightness(1.05);
}

.joyee-detail-hero .btn-secondary {
    background: transparent;
    color: var(--highlight);
    border: 1px solid var(--highlight);
}

.joyee-detail-hero .btn-secondary:hover {
    background: rgba(212, 175, 55, 0.08);
}

@media (max-width: 992px) {
    .joyee-detail-hero .product-detail {
        flex-direction: column;
    }

    .joyee-detail-hero .main-image {
        height: 400px;
    }

    .joyee-detail-hero .product-title {
        font-size: 26px;
    }
}

@media (max-width: 768px) {
    .joyee-detail-hero .main-image {
        height: 300px;
    }

    .joyee-detail-hero .product-actions {
        flex-direction: column;
    }

    .joyee-detail-hero .btn {
        width: 100%;
    }
}
