.main-content { max-width: 1200px; margin: 30px auto; padding: 0 20px; }
.product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-bottom: 40px; }
@media (max-width: 768px) { .product-layout { grid-template-columns: 1fr; } }
.gallery { background: linear-gradient(145deg, #221c3a, #100b1f); border-radius: var(--radius); padding: 15px; }
.main-image { width: 100%; aspect-ratio: 1/1; border-radius: 12px; overflow: hidden; background: rgba(0,0,0,0.3); display: flex; align-items: center; justify-content: center; }
.main-image img { width: 100%; height: 100%; object-fit: cover; }
.thumbnails { display: flex; gap: 10px; margin-top: 15px; overflow-x: auto; }
.thumb { width: 70px; height: 70px; border-radius: 10px; background: rgba(255,255,255,0.05); overflow: hidden; cursor: pointer; border: 2px solid transparent; flex-shrink: 0; }
.thumb.active { border-color: var(--accent); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.details { display: flex; flex-direction: column; gap: 16px; }
.title { font-size: 32px; font-weight: 700; line-height: 1.2; }
.rating { display: flex; align-items: center; gap: 8px; color: var(--text-muted); }
.stars { color: #ffb74d; }
.price-block { background: rgba(255,255,255,0.03); border-radius: var(--radius); padding: 20px; border: 1px solid var(--border); }
.price-current { font-size: 40px; font-weight: 800; }
.price-old { font-size: 18px; text-decoration: line-through; color: var(--text-muted); margin-left: 10px; }
.discount { background: var(--accent); padding: 4px 12px; border-radius: 20px; font-size: 12px; margin-left: 10px; }
.quantity-selector { display: flex; align-items: center; gap: 12px; margin: 20px 0; }
.qty-btn { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,0.05); color: #fff; font-size: 20px; border: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; }
.qty-input { width: 60px; height: 40px; text-align: center; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.15); border-radius: 10px; color: #fff; font-size: 16px; }
.buy-btn {
    width: 100%; background: linear-gradient(135deg, var(--accent), #4a3db8); color: #fff;
    border-radius: 12px; padding: 16px; font-weight: 600; font-size: 16px;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    box-shadow: 0 10px 20px rgba(108,92,231,0.4);
}
.buy-btn:hover { transform: translateY(-2px); }
.guarantees { display: flex; flex-wrap: wrap; gap: 15px; margin-top: 15px; }
.guarantee-item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-muted); }
.guarantee-item svg { color: var(--accent-light); }
.service-fields { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); }
.tabs { margin-top: 40px; }
.tab-headers { display: flex; border-bottom: 1px solid var(--border); margin-bottom: 20px; overflow-x: auto; }
.tab-btn { padding: 10px 20px; font-weight: 600; font-size: 15px; color: var(--text-muted); white-space: nowrap; border-bottom: 2px solid transparent; }
.tab-btn.active { color: #fff; border-bottom-color: var(--accent); }
.tab-panel { display: none; padding: 10px 0; }
.tab-panel.active { display: block; }
.desc-text { line-height: 1.6; color: var(--text-muted); }
.specs { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px,1fr)); gap: 10px; }
.spec-item { background: var(--card-bg); padding: 12px; border-radius: 10px; border: 1px solid var(--border); }
.related { margin-top: 40px; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px,1fr)); gap: 15px; }
.balance-warning { background: rgba(225,112,85,0.15); border: 1px solid rgba(225,112,85,0.4); padding: 12px; border-radius: 10px; font-size: 14px; margin-bottom: 12px; }
.balance-warning a { color: var(--accent-light); font-weight: 600; }
.review-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 15px; margin-bottom: 15px; }
.review-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; flex-wrap: wrap; gap: 8px; }
.review-stars { color: #ffb74d; }
.review-text { color: var(--text-muted); font-size: 14px; line-height: 1.5; }
