@import 'common.css';
@import 'detail-recommend.css';

.product-detail {
    background: rgba(255, 252, 254, 0.55);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-radius: 24px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.78);
    box-shadow: 0 8px 40px rgba(199, 91, 122, 0.1), 0 1px 0 rgba(255, 255, 255, 0.85) inset;
}
.detail-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 48px; }
@media (max-width: 768px) { .detail-grid { grid-template-columns: 1fr; } }
.product-gallery {
    border-radius: 18px;
    overflow: hidden;
    background: rgba(255, 240, 248, 0.65);
    min-height: 300px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: flex-start;
}
.product-gallery img { max-width: 100%; max-height: 300px; object-fit: contain; }
.no-image { display: flex; align-items: center; justify-content: center; height: 300px; color: var(--color-ink-muted); }
.product-main h1 { font-family: var(--font-heading); font-size: 26px; margin-bottom: 14px; color: var(--color-ink); }
.product-main .price { font-size: 28px; color: var(--color-price); font-weight: 700; margin-bottom: 18px; }
.meta { color: var(--color-ink-muted); font-size: 14px; margin-bottom: 28px; }
.meta span { margin-right: 24px; }
.description, .seller-info { margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--color-border); }
.description h3, .seller-info h3 { font-size: 16px; margin-bottom: 14px; font-family: var(--font-heading); color: var(--color-ink); }
.seller-info .btn { margin-top: 14px; margin-right: 10px; }
.status-badge { display: inline-block; padding: 6px 16px; border-radius: 6px; font-size: 14px; font-weight: 600; margin-bottom: 18px; }
.status-badge.sold { background: #f5e6d3; color: #b85344; }
.comments-section { margin-top: 44px; padding-top: 36px; border-top: 1px solid var(--color-border); }
.comments-section h3 { margin-bottom: 24px; font-size: 18px; font-family: var(--font-heading); }
.comment-item { padding: 18px; background: rgba(255, 252, 254, 0.72); backdrop-filter: blur(8px); border-radius: 14px; margin-bottom: 14px; border: 1px solid var(--light-border); }
.comment-item.reply { margin-left: 28px; background: rgba(255, 248, 252, 0.85); }
.comment-replies { margin-top: 14px; }
.comment-item strong { display: block; margin-bottom: 8px; }
.comment-time { font-size: 12px; color: var(--color-ink-muted); }
.btn-reply { font-size: 13px; color: var(--color-primary); background: none; border: none; cursor: pointer; padding: 0; margin-top: 10px; font-weight: 500; }
.comment-form { margin-top: 28px; }
.comment-form textarea { width: 100%; padding: 14px; border: 1px solid var(--color-border); border-radius: var(--radius-sm); min-height: 88px; margin-bottom: 14px; font-family: inherit; background: var(--color-paper); }
.comment-form button { padding: 10px 24px; background: var(--color-primary); color: #fff; border: none; border-radius: var(--radius-sm); cursor: pointer; margin-right: 10px; font-family: inherit; }
