.back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 32px;
    transition: color 0.2s;
    animation: fadeIn 0.3s ease;
}

.back:hover {
    color: #fff;
}

.product {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    animation: fadeIn 0.4s ease;
}

.product-img {
    width: 100%;
    border-radius: 16px;
    background: #1a1a1a;
    border: 1px solid #242424;
    object-fit: cover;
    aspect-ratio: 1 / 1;
    transition: transform 0.35s ease;
}

.product-img:hover {
    transform: scale(1.02);
}

.product-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.product-name {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stars-lg {
    color: #f5a623;
    font-size: 1.3rem;
    letter-spacing: 2px;
}

.rating-detail {
    color: #888;
    font-size: 0.9rem;
}

.product-price {
    font-size: 2rem;
    font-weight: 700;
    color: #6c63ff;
}

.product-desc {
    color: #888;
    line-height: 1.6;
    font-size: 0.95rem;
}

.btn-buy {
    display: inline-block;
    background: #6c63ff;
    color: #fff;
    padding: 14px 32px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: background 0.2s, transform 0.15s;
    text-align: center;
}

.btn-buy:hover {
    background: #574fd6;
    transform: translateY(-2px);
}

.btn-buy:active {
    transform: translateY(0);
}

.btn-buy:disabled {
    background: #444;
    cursor: default;
    transform: none;
}

.added-msg {
    color: #6c63ff;
    font-size: 0.9rem;
    display: none;
    animation: fadeIn 0.3s ease;
}

.reviews {
    margin-top: 64px;
    border-top: 1px solid #2a2a2a;
    padding-top: 40px;
}

.reviews-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 24px;
}

.review-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.review-card {
    background: #1a1a1a;
    border: 1px solid #242424;
    border-radius: 12px;
    padding: 20px;
    animation: slideUp 0.35s ease both;
}

.review-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.review-author {
    font-weight: 600;
    color: #ddd;
    font-size: 0.95rem;
}

.review-stars {
    color: #f5a623;
    letter-spacing: 1px;
}

.review-text {
    color: #888;
    line-height: 1.6;
    font-size: 0.9rem;
}

.reviews-empty {
    color: #555;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .product {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}
