.product-page {
    display: grid;
    gap: 26px;
}

.section-header-row {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: end;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.section-header-row p {
    margin: 0;
    color: #aeb4c0;
}

.detail-shell {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
}

.detail-card {
    background: #272a31;
    border: 1px solid #3b4048;
    border-radius: 14px;
    overflow: hidden;
}

.detail-media {
    min-height: 520px;
    background: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 82px;
}

.detail-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-content {
    padding: 24px;
    display: grid;
    gap: 18px;
}

.breadcrumbs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 14px;
    color: #a4aab6;
}

.breadcrumbs a {
    color: var(--primary-color);
    text-decoration: none;
}

.detail-title {
    font-size: clamp(30px, 4vw, 54px);
    line-height: 1.08;
    font-weight: 900;
    margin: 0;
    color: #f5f7fb;
    text-transform: uppercase;
}

.detail-grid {
    display: grid;
    gap: 8px;
}

.detail-meta-chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.detail-meta-chips span {
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(242, 169, 21, 0.12);
    color: #ffcf72;
    border: 1px solid rgba(242, 169, 21, 0.35);
    font-size: 12px;
    font-weight: 700;
}

.detail-row {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 14px;
    padding: 10px 0;
    border-bottom: 1px solid #3c4048;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    font-weight: 700;
    color: #a5acb9;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.04em;
}

.detail-value {
    color: #f1f4f9;
}

.price-box {
    background: linear-gradient(145deg, #2f2a20 0%, #262932 100%);
    border: 1px solid #504a3a;
    border-radius: 14px;
    padding: 18px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.price-box strong {
    display: block;
    font-size: 13px;
    color: #a8afbc;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.price-value {
    font-size: 48px;
    line-height: 1;
    font-weight: 900;
    color: var(--primary-color);
}

.status-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.status-pill.in-stock { background: #184f2f; color: #b7ffd7; }
.status-pill.on-order { background: #62420d; color: #ffe6b6; }
.status-pill.unavailable { background: #5f2424; color: #ffd2d2; }

.detail-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.detail-info-panels {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 18px;
}

.info-panel {
    background: #272a31;
    border: 1px solid #3b4048;
    border-radius: 14px;
    padding: 18px;
}

.info-panel h2 {
    font-size: 30px;
    margin-bottom: 12px;
    color: #f5f7fb;
    text-transform: uppercase;
}

.info-panel p {
    color: #b8bec9;
    margin-bottom: 0;
}

.spec-grid {
    display: grid;
    gap: 10px;
}

.spec-item {
    display: grid;
    grid-template-columns: 170px 1fr;
    gap: 12px;
    border-bottom: 1px solid #3c4048;
    padding-bottom: 10px;
}

.spec-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.spec-name {
    font-size: 12px;
    font-weight: 700;
    color: #a7aebb;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.spec-text {
    color: #f1f4f9;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.related-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: #2b2d33;
    border: 1px solid #3c4047;
    overflow: hidden;
}

.related-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-color);
    box-shadow: 0 18px 32px rgba(0, 0, 0, 0.24);
}

.related-image {
    height: 180px;
    background: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    overflow: hidden;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-body {
    padding: 14px;
}

@media (max-width: 960px) {
    .detail-shell {
        grid-template-columns: 1fr;
    }

    .detail-info-panels {
        grid-template-columns: 1fr;
    }

    .detail-media {
        min-height: 340px;
    }
}

@media (max-width: 640px) {
    .detail-row,
    .spec-item {
        grid-template-columns: 1fr;
        gap: 6px;
    }
}
