.product-page {
    margin-top: 24px;
}

.product-hero {
    border-radius: 22px;
    background:
            radial-gradient(circle at 86% 18%, rgba(255,255,255,.18), transparent 30%),
            linear-gradient(135deg, #0F3D91 0%, #1E5BB8 55%, #2A6BD6 100%);
    color: #fff;
    padding: 42px;
    margin-bottom: 24px;
}

.product-hero h1 {
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 12px;
}

.product-hero p {
    max-width: 760px;
    opacity: .88;
    line-height: 1.8;
    margin-bottom: 0;
}

.product-filter-card,
.product-card,
.product-detail-card,
.product-side-card {
    background: #fff;
    border: 1px solid var(--zz-border, #E5E7EB);
    border-radius: 18px;
    box-shadow: var(--zz-shadow-sm, 0 2px 8px rgba(15,23,42,.04));
    overflow: hidden;
}

.product-filter-card {
    padding: 18px;
    margin-bottom: 20px;
}

.product-category-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.product-category-tabs a {
    display: inline-flex;
    align-items: center;
    height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--zz-border, #E5E7EB);
    color: var(--zz-text-body, #4B5563);
    font-size: 13px;
}

.product-category-tabs a.active,
.product-category-tabs a:hover {
    background: var(--zz-primary, #1E5BB8);
    color: #fff;
    border-color: var(--zz-primary, #1E5BB8);
}

.product-card {
    height: 100%;
    transition: all .22s ease;
}

.product-card:hover {
    border-color: var(--zz-primary, #1E5BB8);
    box-shadow: var(--zz-shadow-md, 0 8px 22px rgba(30,91,184,.10));
    transform: translateY(-2px);
}

.product-card-img {
    height: 180px;
    background: var(--zz-bg-soft, #F3F4F6);
    color: var(--zz-text-light, #9CA3AF);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card-body {
    padding: 15px;
}

.product-gallery {
    height: 100%;
    padding: 20px;
    background: #f8fafc;
}

.product-gallery .main-image {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border: 1px solid var(--zz-border, #e5e7eb);
    border-radius: 8px;
    background: #fff;
}

.product-main-image,
.product-image-placeholder {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    object-fit: contain;
    color: var(--zz-text-light, #9ca3af);
}

.thumb-list {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    margin-top: 12px;
}

.thumb-list .thumb {
    aspect-ratio: 1;
    padding: 2px;
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: 6px;
    background: #fff;
}

.thumb-list .thumb.active,
.thumb-list .thumb:hover {
    border-color: var(--zz-primary, #1e5bb8);
}

.thumb-list .thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 3px;
}

.product-card-title {
    color: var(--zz-text-main, #1F2937);
    font-size: 15px;
    font-weight: 900;
    line-height: 1.5;
    display: block;
    min-height: 44px;
}

.product-card-title:hover {
    color: var(--zz-primary, #1E5BB8);
}

.product-card-summary {
    color: var(--zz-text-muted, #6B7280);
    font-size: 13px;
    line-height: 1.6;
    height: 42px;
    overflow: hidden;
    margin-top: 8px;
}

.product-price {
    color: var(--zz-price, #E53935);
    font-weight: 900;
}

.product-enterprise {
    color: var(--zz-text-muted, #6B7280);
    font-size: 12px;
    margin-top: 10px;
}

.product-detail-body {
    padding: 28px;
}

.product-detail-title {
    color: var(--zz-text-main, #1F2937);
    font-size: 32px;
    font-weight: 900;
    line-height: 1.38;
    margin-bottom: 12px;
}

.product-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    color: var(--zz-text-muted, #6B7280);
    font-size: 13px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--zz-border, #E5E7EB);
}

.product-detail-layout {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 28px;
    margin-top: 24px;
}

.product-detail-image {
    border-radius: 16px;
    background: var(--zz-bg-soft, #F3F4F6);
    min-height: 320px;
    color: var(--zz-text-light, #9CA3AF);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info-table th {
    width: 120px;
    color: var(--zz-text-muted, #6B7280);
    font-weight: 600;
}

.product-section-title {
    color: var(--zz-text-main, #1F2937);
    font-size: 20px;
    font-weight: 900;
    margin-top: 30px;
    margin-bottom: 14px;
    position: relative;
    padding-left: 12px;
}

.product-section-title::before {
    content: "";
    width: 4px;
    height: 18px;
    background: var(--zz-primary, #1E5BB8);
    border-radius: 4px;
    position: absolute;
    left: 0;
    top: 5px;
}

.product-content {
    color: var(--zz-text-body, #4B5563);
    font-size: 15px;
    line-height: 2;
}

.product-side-card {
    margin-bottom: 18px;
}

.product-side-header {
    height: 50px;
    padding: 0 16px;
    border-bottom: 1px solid var(--zz-border, #E5E7EB);
    display: flex;
    align-items: center;
}

.product-side-title {
    font-size: 16px;
    font-weight: 900;
    margin: 0;
    color: var(--zz-text-main, #1F2937);
}

.product-side-body {
    padding: 16px;
}

.product-side-company__intro {
    display: -webkit-box;
    overflow: hidden;
    line-height: 1.65;
    max-height: calc(1.65em * 5);
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
}

.product-related a {
    display: block;
    color: var(--zz-text-body, #4B5563);
    font-size: 13px;
    line-height: 1.6;
    padding: 10px 0;
    border-bottom: 1px solid var(--zz-bg-soft, #F3F4F6);
}

.product-related a:last-child {
    border-bottom: none;
}

.product-related a:hover {
    color: var(--zz-primary, #1E5BB8);
}

@media (max-width: 991.98px) {
    .product-detail-layout {
        grid-template-columns: 1fr;
    }

    .product-detail-title {
        font-size: 26px;
    }
}

@media (max-width: 575.98px) {
    .product-hero {
        padding: 28px 20px;
    }

    .product-hero h1 {
        font-size: 28px;
    }

    .product-detail-body {
        padding: 20px;
    }
}
