/* Yaxché · Calificaciones de productos (solo compradores) */

/* Aviso bajo las estrellas: solo se muestra con el producto expandido
   para no repetir el mismo texto en todas las tarjetas del catálogo. */
.yx-calif-aviso {
    display: none;
    margin: 4px 0 10px;
    font-size: .78rem;
    line-height: 1.45;
    color: #8b9686;
}

.store-product.is-expanded .yx-calif-aviso {
    display: block;
}

/* Quien no puede calificar solo ve el promedio. */
.store-product-rating .stars.is-disabled .star-wrapper {
    cursor: default;
}

/* ---- Ventana de 1–2 estrellas ---- */
.yx-feedback-box {
    position: relative;
}

.yx-feedback-box [hidden] {
    display: none !important;
}

.yx-feedback-box h3 {
    padding-right: 28px;
}

.yx-feedback-close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #72756f;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}

.yx-feedback-close:hover {
    background: #f0efe9;
    color: #2f3330;
}

.yx-feedback-kicker {
    margin: 0 0 6px;
    font-size: .8rem;
    font-weight: 600;
    color: #8c6a22;
}

.yx-feedback-field {
    margin: 14px 0 0;
    text-align: left;
}

.yx-feedback-field label {
    display: block;
    margin-bottom: 6px;
    font-size: .86rem;
    font-weight: 600;
    color: #2f4a27;
}

.yx-feedback-field textarea,
.yx-feedback-field input {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    border: 1px solid #d9d6ca;
    border-radius: 10px;
    background: #fff;
    font: inherit;
    font-size: .92rem;
    color: #2f3330;
}

.yx-feedback-field textarea {
    min-height: 96px;
    resize: vertical;
}

.yx-feedback-field small {
    display: block;
    margin-top: 5px;
    font-size: .76rem;
    color: #8b9686;
}

.yx-feedback-close:focus-visible,
.yx-feedback-field textarea:focus-visible,
.yx-feedback-field input:focus-visible {
    outline: 2px solid #3d7a3f;
    outline-offset: 2px;
}

.yx-feedback-error {
    margin: 12px 0 0;
    padding: 9px 12px;
    border-radius: 8px;
    background: #fdecea;
    color: #a63a2b;
    font-size: .84rem;
    text-align: left;
}

.yx-feedback-box .yx-modal-actions button:disabled {
    opacity: .6;
    cursor: wait;
}