@import 'variables.css';

.product-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.product-info__title {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    color: var(--text-color);
    margin: 0;
    line-height: 1.3;
}


.product-info__rating {
    display: flex;
    align-items: center;
}

.product-info__stars {
    display: flex;
    gap: var(--spacing-xs);
}

.product-info__consultation {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-lg);
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.product-info__consultation:hover {
    background-color: #F8F9FA;
    border-color: var(--primary-color);
}

.product-info__consultation span:first-of-type {
    font-weight: var(--font-weight-medium);
}

.product-info__consultation span:last-of-type {
    color: #666;
    font-size: var(--font-size-sm);
}

.product-info__description {
    line-height: 1.6;
    color: var(--text-color);
}

.product-info__description p {
    margin-bottom: var(--spacing-md);
}

.product-info__description p:last-child {
    margin-bottom: 0;
}

/* Mobile version */
.product-info--mobile {
    gap: var(--spacing-sm);
}

.product-info--mobile .product-info__title {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-xs);
}

.product-info--mobile .product-info__rating {
    margin-bottom: var(--spacing-sm);
}

.product-info--mobile .product-info__description {
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    .product-info__title {
        font-size: var(--font-size-lg);
    }


    .product-info__consultation {
        padding: var(--spacing-sm) var(--spacing-md);
        flex-wrap: wrap;
    }
}
