/* ── Shared Component Styles ─────────────────────────── */

/* Detail Pages Title */
.item-detail-title {
    color: #fff;
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 25px;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #fff 0%, #d4af37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.item-detail-description {
    color: var(--text-muted);
    font-size: 1.1rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 30px;
}

/* Detail Box Container */
.item-detail-box {
    background: linear-gradient(145deg, rgba(26, 26, 46, 0.95), rgba(15, 15, 35, 0.98));
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.item-detail-header {
    background: rgba(212, 175, 55, 0.1);
    padding: 30px;
    text-align: center;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.item-detail-image-wrap {
    position: relative;
    display: inline-block;
}

.item-detail-image-wrap img {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    border: 3px solid #d4af37;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

.item-detail-badges {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.badge-gold { background: rgba(245, 158, 11, 0.15); color: #fbbf24; padding: 6px 16px; border-radius: 20px; font-weight: 700; border: 1px solid rgba(245, 158, 11, 0.3); display: inline-flex; align-items: center; gap: 6px; }
.badge-green { background: rgba(16, 185, 129, 0.15); color: #34d399; padding: 6px 16px; border-radius: 20px; font-weight: 700; border: 1px solid rgba(16, 185, 129, 0.3); display: inline-flex; align-items: center; gap: 6px; }

.item-description-content {
    padding: 30px;
    color: #e2e8f0;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Related Items/Grid */
.box_other { margin-top: 50px; }
.box_other h2 {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 700;
    border-bottom: 2px solid #d4af37;
    padding-bottom: 10px;
    margin-bottom: 25px;
    display: inline-block;
}

.item-wrapper { position: relative; }

.item-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 10px;
    text-align: center;
    transition: all 0.2s;
    height: 100%;
}

.item-card:hover {
    border-color: rgba(212, 175, 55, 0.4);
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-3px);
}

.item-card img {
    width: 100%;
    max-width: 50px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 8px;
    border: 1px solid rgba(0,0,0,0.3);
}

.item-card-name {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.2;
}

/* Item Card Tooltip (Legacy for hover) */
.item-tooltip {
    position: absolute;
    bottom: 110%;
    left: 50%;
    transform: translateX(-50%);
    background: #111827;
    border: 1px solid #d4af37;
    border-radius: 8px;
    padding: 10px;
    width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s;
    z-index: 100;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}
.item-wrapper:hover .item-tooltip { opacity: 1; visibility: visible; bottom: 120%; }
.item-tooltip-title { color: #d4af37; font-weight: 700; margin-bottom: 5px; font-size: 13px; }
.item-tooltip-price { font-size: 12px; color: #fff; }
.item-tooltip-arrow {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #d4af37;
}

@media (max-width: 768px) {
    .item-detail-title { font-size: 2rem; }
    .item-card img { max-width: 40px; }
}
