.product-detail-main {
    background: #f4f6f8;
}

.product-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 30px;
    align-items: start;
}

.product-article,
.product-side-card,
.product-detail-empty {
    background: #fff;
    border: 1px solid #e7ecf0;
    border-radius: 4px;
}

.product-article {
    padding: 30px;
}

.product-article-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
}

.product-back-link,
.product-side-link {
    font-size: 13px;
    color: var(--primary);
}

.product-category-badge {
    display: inline-flex;
    align-items: center;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(0, 168, 159, 0.08);
    color: var(--primary);
    font-size: 12px;
    font-weight: 600;
}

.product-article-header h1 {
    font-size: clamp(24px, 2.8vw, 34px);
    line-height: 1.4;
    color: #25313c;
}

.product-article-header p {
    margin-top: 16px;
    color: #596673;
    font-size: 15px;
    line-height: 1.9;
}

.product-showcase {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
    gap: 26px;
    margin-top: 28px;
}

.product-showcase-media {
    min-height: 460px;
    border: 1px solid #e7edf1;
    background: linear-gradient(180deg, #f8fbfc 0%, #eff4f7 100%);
    padding: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-showcase-media img {
    display: block;
    width: 100%;
    max-height: 404px;
    object-fit: contain;
}

.product-showcase-panel {
    display: grid;
    gap: 18px;
}

.product-showcase-card {
    background: #f7f9fb;
    border: 1px solid #e5ebf0;
    padding: 18px 20px;
}

.product-showcase-card h2,
.product-side-card h2,
.product-section-heading h2 {
    color: #25313c;
}

.product-showcase-card h2,
.product-side-card h2 {
    font-size: 18px;
}

.product-specs-table {
    width: 100%;
    margin-top: 14px;
    border-collapse: collapse;
    background: #fff;
}

.product-specs-table tr + tr {
    border-top: 1px solid #eef2f5;
}

.product-specs-table th,
.product-specs-table td {
    padding: 14px 16px;
    font-size: 14px;
    line-height: 1.65;
    vertical-align: top;
    text-align: left;
}

.product-specs-table th {
    width: 156px;
    background: #fbfcfd;
    color: #5a6570;
    font-weight: 500;
}

.product-specs-table td {
    color: #28313a;
    word-break: break-word;
}

.product-model-list {
    margin-top: 14px;
    display: grid;
    gap: 14px;
}

.product-model-item {
    padding: 14px 16px;
    background: #fff;
    border: 1px solid #e7edf1;
}

.product-model-title {
    color: #25313c;
    font-size: 16px;
    font-weight: 700;
}

.product-model-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    margin-top: 10px;
}

.product-model-grid span {
    color: #4f5d6a;
    font-size: 14px;
    line-height: 1.8;
}

.product-model-grid strong {
    color: #25313c;
    font-weight: 600;
}

.product-feature-list {
    list-style: none;
    margin-top: 14px;
}

.product-feature-list li {
    position: relative;
    padding-left: 15px;
    color: #53606d;
    font-size: 14px;
    line-height: 1.75;
}

.product-feature-list li + li {
    margin-top: 10px;
}

.product-feature-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--primary);
}

.product-body-card {
    margin-top: 28px;
    border: 1px solid #e7ecf0;
    background: #fff;
    padding: 28px 30px;
}

.product-section-heading span {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--primary);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.product-section-heading h2 {
    font-size: 24px;
}

.product-article-body {
    margin-top: 22px;
    color: #495560;
    font-size: 16px;
    line-height: 1.95;
}

.product-article-body > * + * {
    margin-top: 18px;
}

.product-article-body img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 20px auto;
    border-radius: 4px;
}

.product-article-body table {
    width: 100%;
    border-collapse: collapse;
}

.product-article-body table td,
.product-article-body table th {
    border: 1px solid #e4eaef;
    padding: 10px 12px;
}

.product-article-body ul,
.product-article-body ol {
    padding-left: 20px;
}

.product-side-card {
    padding: 24px;
}

.product-side-card.compact {
    position: sticky;
    top: 116px;
}

.product-side-meta {
    margin-top: 18px;
    display: grid;
    gap: 14px;
}

.product-side-meta dt {
    color: var(--text-muted);
    font-size: 12px;
}

.product-side-meta dd {
    margin-top: 6px;
    color: #2a3641;
    font-size: 14px;
    line-height: 1.6;
}

.product-related-list {
    margin-top: 18px;
}

.product-related-item {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid #edf1f4;
}

.product-related-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.product-related-item img {
    width: 74px;
    height: 74px;
    object-fit: cover;
    border-radius: 4px;
    background: #eef3f6;
}

.product-related-item strong {
    display: block;
    color: #2b3742;
    font-size: 14px;
    line-height: 1.6;
}

.product-related-item span,
.product-related-empty,
.product-empty-note {
    display: block;
    margin-top: 8px;
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.7;
}

.product-detail-empty {
    padding: 60px 30px;
    text-align: center;
}

.product-detail-empty h2 {
    font-size: 30px;
    color: #25313c;
}

.product-detail-empty p {
    margin: 14px 0 24px;
    color: #66727f;
}

@media (max-width: 1024px) {
    .product-detail-layout,
    .product-showcase {
        grid-template-columns: 1fr;
    }

    .product-side-card.compact {
        position: static;
    }
}

@media (max-width: 640px) {
    .product-article,
    .product-body-card,
    .product-side-card {
        padding: 20px 16px;
    }

    .product-article-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .product-showcase-media {
        min-height: 240px;
        padding: 16px;
    }

    .product-specs-table th,
    .product-specs-table td {
        display: block;
        width: 100%;
        padding: 10px 12px;
    }

    .product-specs-table th {
        border-bottom: 1px solid #eef2f5;
    }
}
