/* Theme12 - Product Detail Supplementary Styles */

.t12-detail-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.t12-detail-header h1 {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.t12-detail-meta {
    font-size: 0.85rem;
    color: var(--t12-text-light);
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--t12-card-border);
}

.t12-detail-content p {
    margin-bottom: 16px;
}

.t12-detail-content h2,
.t12-detail-content h3,
.t12-detail-content h4 {
    margin-top: 28px;
    margin-bottom: 16px;
}

.t12-related-section {
    margin-top: 48px;
}

.t12-related-section .t12-section-title {
    margin-bottom: 28px;
}

.t12-related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.t12-related-item {
    background: var(--t12-card-bg);
    backdrop-filter: var(--t12-glass-blur);
    border: 1px solid var(--t12-card-border);
    border-radius: var(--t12-radius);
    overflow: hidden;
    box-shadow: var(--t12-card-shadow);
    transition: all 0.3s ease;
}

.t12-related-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(31, 38, 135, 0.2);
}

.t12-related-item a {
    display: block;
    text-decoration: none;
}

.t12-related-item img {
    width: 100%;
    height: 140px;
    object-fit: cover;
}

.t12-related-item span {
    display: block;
    padding: 12px 14px;
    font-size: 0.85rem;
    color: var(--t12-text);
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 1024px) {
    .t12-related-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .t12-related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .t12-related-item img {
        height: 120px;
    }
}

@media (max-width: 480px) {
    .t12-related-grid {
        grid-template-columns: 1fr;
    }
}
