/* assets/css/pages/partner.css */

.partner-summary {
    background-color: #f8f9fa;
    border-radius: .5rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid #dee2e6;
}

.partner-summary .rating {
    font-size: 1.1rem;
    color: #ffc107; /* Amarillo para estrellas */
}

.partner-summary .rating .rating-count {
    color: #6c757d;
    font-size: 0.9rem;
    margin-left: 0.5rem;
}

.partner-summary .partner-category {
    font-weight: 500;
    color: #0d6efd; /* Azul primario de Bootstrap */
}

.contact-info-icon {
    width: 24px;
    height: 24px;
    vertical-align: middle;
    margin-right: 0.75rem;
}

.btn-whatsapp {
    background-color: #25D366 !important;
    border-color: #25D366 !important;
}

/* Estilos para el formulario de calificación */
.star-rating-input {
    direction: rtl;
    display: inline-block;
    font-size: 2rem;
    color: #ffc107;
}

.star-rating-input > i {
    cursor: pointer;
    transition: color 0.2s;
}

.star-rating-input > i:hover,
.star-rating-input > i:hover ~ i {
    color: #ffc107;
}

/* Estilos para la sección de opiniones recientes */
.recent-reviews-container {
    max-height: 400px; /* O la altura que prefieras */
    overflow-y: auto;
    padding-right: 15px; /* Para que la barra de scroll no se pegue al texto */
}

.review-item {
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 1rem;
}

.review-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.review-item__rating {
    color: #ffc107; /* Mismo color que las estrellas del formulario */
}

.review-item__date {
    font-size: 0.85rem;
}

.review-item__body p {
    font-style: italic;
    color: #495057;
}

/* Estilos para Tarjeta de Producto */
.product-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
     
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.product-card__img {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.product-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-card__img img {
    transform: scale(1.05);
}

.product-card__content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-card__title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.3;
}

.product-card__title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-card__title a:hover {
    color: var(--theme-color);
}

.product-card__description {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 15px;
    flex-grow: 1;
}

.product-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.product-card__price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--theme-color);
}

/* Estilos para la página de detalle de producto */
.product-details-container { line-height: 1.7; }
.product-details__image img { max-height: 500px; object-fit: cover; }
.product-details__title { font-size: 2.5rem; font-weight: 700; color: #333; }
.product-details__price-wrapper { border-top: 1px solid #eee; border-bottom: 1px solid #eee; padding: 15px 0; }
.product-details__price { font-size: 2rem; font-weight: 700; color: var(--theme-color); }
.product-details__description h5 { font-weight: 600; color: #444; }
.product-details__description .text-justify { color: #555; }
.product-details__seller-info { border: 1px solid #e9ecef; }
.product-details__seller-info a { color: var(--theme-color); transition: color 0.3s ease; }
.product-details__seller-info a:hover { color: #333; }