/* Theme19 - Product Detail Supplementary Styles */

.t19-detail-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 28px;
    text-align: center;
}

.t19-detail-header h1 {
    margin-bottom: 0;
    padding-bottom: 0;
}

.t19-detail-header h1::before,
.t19-detail-header h1::after {
    display: none;
}

.t19-detail-meta {
    font-size: 0.9rem;
    color: var(--t19-text-light);
    margin-bottom: 36px;
    padding-bottom: 24px;
    border-bottom: 2px solid var(--t19-border);
    text-align: center;
    font-family: var(--t19-font-sans);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.t19-detail-content p {
    margin-bottom: 18px;
    line-height: 2;
}

.t19-detail-content h2,
.t19-detail-content h3,
.t19-detail-content h4 {
    margin-top: 36px;
    margin-bottom: 18px;
    color: var(--t19-secondary);
    text-align: center;
}

.t19-detail-content img {
    border: 2px solid var(--t19-border);
    margin: 20px 0;
}

.t19-related-section {
    margin-top: 64px;
}

.t19-related-section .t19-section-title {
    margin-bottom: 32px;
}

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

.t19-related-item {
    background: var(--t19-bg-card);
    overflow: hidden;
    border: 2px solid var(--t19-border);
    transition: all 0.4s ease;
    position: relative;
}

.t19-related-item::before {
    content: '';
    position: absolute;
    inset: -2px;
    border: 2px solid var(--t19-primary);
    opacity: 0;
    z-index: 1;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.t19-related-item:hover::before {
    opacity: 1;
}

.t19-related-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--t19-shadow-gold);
}

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

.t19-related-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    filter: sepia(10%);
    transition: all 0.4s ease;
}

.t19-related-item:hover img {
    filter: sepia(0%);
    transform: scale(1.05);
}

.t19-related-item span {
    display: block;
    padding: 16px;
    font-family: var(--t19-font-display);
    font-size: 0.95rem;
    color: var(--t19-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
    letter-spacing: 0.05em;
    background: var(--t19-bg-card);
    border-top: 1px solid var(--t19-border);
}

.t19-related-item:hover span {
    color: var(--t19-primary-dark);
}

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

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

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