/* PrestAI Engagement 2.11.0 — the page « Mes avis », the card of the account, the block of an order, the line under the
 * product reviews and the report form. Colors from the theme (currentColor, Bootstrap variables when they exist).
 * 2.13.0: the secondary texts in a color of their own, --pa-review-muted (else the secondary color of Bootstrap, else a
 * grey of 6:1 on white), not by an opacity; the page « Comment nous recueillons les avis » as wide as its container, or
 * --pa-review-policy-width. */
.pa-myreviews { display: grid; gap: 1.5rem; }
.pa-myreviews__intro { margin: 0; font-weight: 600; }
.pa-myreviews__section { display: grid; gap: .75rem; }
.pa-myreviews__section h2 { font-size: 1.25rem; margin: 0; }
.pa-myreviews__section h3 { font-size: 1rem; margin: .75rem 0 0; }
.pa-myreviews__errors { margin: 0; padding-left: 1.2rem; }
.pa-myreviews__review { border: 1px solid rgba(0, 0, 0, .12); border-radius: .5rem; padding: .9rem 1rem; display: grid; gap: .4rem; }
.pa-myreviews__review-top { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; justify-content: space-between; }
.pa-myreviews__comment, .pa-myreviews__dates, .pa-myreviews__refusal { margin: 0; }
.pa-myreviews__dates { font-size: .875rem; color: var(--pa-review-muted, var(--bs-secondary-color, #5f6368)); }
.pa-myreviews__refusal { font-size: .875rem; }
.pa-myreviews__stars span { color: rgba(0, 0, 0, .2); }
.pa-myreviews__stars span.is-filled { color: var(--pa-sr-star-color, #F4B400); }
.pa-myreviews__state { font-size: .8125rem; font-weight: 600; padding: .1rem .5rem; border-radius: 999px; background: rgba(0, 0, 0, .06); }
.pa-myreviews__state--ok { background: rgba(25, 135, 84, .12); color: #146c43; }
.pa-myreviews__state--no { background: rgba(220, 53, 69, .12); color: #b02a37; }
.pa-myreviews__form-wrap > summary { display: inline-block; cursor: pointer; list-style: none; }
.pa-myreviews__form-wrap > summary::-webkit-details-marker { display: none; }
.pa-myreviews__form { display: grid; gap: .75rem; margin-top: .75rem; max-width: 40rem; }
.pa-myreviews__order-note { margin: 0; font-size: .875rem; color: var(--pa-review-muted, var(--bs-secondary-color, #5f6368)); }
.pa-myreviews__fieldset { border: 0; padding: 0; margin: 0; }
.pa-myreviews__fieldset legend { font-size: 1rem; margin-bottom: .25rem; }
.pa-myreviews__rating-input { display: inline-flex; flex-direction: row-reverse; gap: .15rem; }
.pa-myreviews__rating-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pa-myreviews__rating-input label { font-size: 1.75rem; line-height: 1; cursor: pointer; color: rgba(0, 0, 0, .2); }
.pa-myreviews__rating-input input:checked ~ label,
.pa-myreviews__rating-input label:hover,
.pa-myreviews__rating-input label:hover ~ label { color: var(--pa-sr-star-color, #F4B400); }
.pa-myreviews__rating-input input:focus-visible + label { outline: 2px solid currentColor; outline-offset: 2px; }
.pa-myreviews__products { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.pa-myreviews__product { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: .75rem; align-items: center; border: 1px solid rgba(0, 0, 0, .1); border-radius: .5rem; padding: .5rem .75rem; }
.pa-myreviews__products--done .pa-myreviews__product { grid-template-columns: 64px minmax(0, 1fr); }
.pa-myreviews__product-image { width: 64px; height: 64px; object-fit: contain; border-radius: .25rem; background: rgba(0, 0, 0, .04); display: block; }
.pa-myreviews__product-body { display: grid; gap: .15rem; min-width: 0; }
.pa-myreviews__product-name { font-weight: 600; overflow-wrap: anywhere; }
.pa-myreviews__product-meta { font-size: .875rem; color: var(--pa-review-muted, var(--bs-secondary-color, #5f6368)); }
.pa-myreviews__refusals { margin: 0; padding-left: 1.2rem; font-size: .9375rem; }
.pa-myreviews__waiting { margin: 0; }
.pa-myreviews__policy { margin: 0; font-size: .875rem; }
@media (max-width: 575px) {
  .pa-myreviews__product { grid-template-columns: 48px minmax(0, 1fr); }
  .pa-myreviews__product .btn { grid-column: 1 / -1; justify-self: start; }
  .pa-myreviews__product-image { width: 48px; height: 48px; }
}

/* The card « Mes avis » in the account (displayCustomerAccount), with the count of reviews to give. */
.pa-myreviews-card__badge { display: inline-block; min-width: 1.4em; padding: 0 .4em; margin-left: .35em; border-radius: 999px; font-size: .75rem; font-weight: 700; line-height: 1.5; text-align: center; background: var(--bs-primary, #24b9d7); color: #fff; vertical-align: middle; }

/* The block « Vos produits à noter » of an order (displayOrderDetail). */
.pa-order-reviews { margin: 1.5rem 0; display: grid; gap: .75rem; }
.pa-order-reviews h3 { font-size: 1.125rem; margin: 0; }

/* The experience date and the report link added to each review of productcomments, the line under the block. */
.pa-review-experience { font-size: .8125rem; color: var(--pa-review-muted, var(--bs-secondary-color, #5f6368)); }
.pa-review-report { background: none; border: 0; padding: 0; font: inherit; font-size: .8125rem; text-decoration: underline; cursor: pointer; color: var(--pa-review-muted, var(--bs-secondary-color, #5f6368)); }
.pa-review-transparency { font-size: .875rem; margin: .75rem 0; color: var(--pa-review-muted, var(--bs-secondary-color, #5f6368)); }

/* The report form, a dialog opened from a review (shop or product). */
.pa-report-dialog { border: 0; border-radius: .75rem; padding: 0; max-width: min(32rem, calc(100vw - 2rem)); width: 100%; box-shadow: 0 1rem 3rem rgba(0, 0, 0, .25); }
.pa-report-dialog::backdrop { background: rgba(0, 0, 0, .45); }
.pa-report-dialog form { display: grid; gap: .75rem; padding: 1.25rem; }
.pa-report-dialog h2 { font-size: 1.125rem; margin: 0; }
.pa-report-dialog__actions { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: flex-end; }
.pa-report-dialog__status { margin: 0; font-size: .9375rem; }
.pa-report-dialog .pa-report-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* The page « Comment nous recueillons les avis » (controller reviewpolicy). */
.pa-review-policy { display: grid; gap: 1.5rem; max-width: var(--pa-review-policy-width, none); }
.pa-review-policy__section { display: grid; gap: .5rem; }
.pa-review-policy__section h2 { font-size: 1.25rem; margin: 0; }
.pa-review-policy__section p, .pa-review-policy__section ul { margin: 0; }
.pa-report-dialog__intro { margin: 0; font-size: .9375rem; }

/* The shop reviews (page, block, badge): the control and the link to the policy, the dates of each review. */
.pa-shopreviews-transparency { font-size: .8125rem; margin: .5rem 0 0; color: var(--pa-review-muted, var(--bs-secondary-color, #5f6368)); }
.pa-shopreviews-transparency a { text-decoration: underline; }
/* On the page of the reviews, the line is in the header, whose paragraphs take the grey of the page (--pa-sr-muted):
 * --pa-review-muted first there too. */
.pa-shopreviews-hero .pa-shopreviews-transparency { color: var(--pa-review-muted, var(--pa-sr-muted, #697386)); }
.pa-shopreviews-card__dates { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .75rem; margin: .25rem 0 0; font-size: .8125rem; color: var(--pa-review-muted, var(--bs-secondary-color, #5f6368)); }
.pa-shopreviews-card__dates .pa-review-report { margin-left: auto; }
.pa-shopreviews-hook-slider__experience, .pa-shopreviews-badge-popup__experience { font-size: .75rem; margin: 0; color: var(--pa-review-muted, var(--bs-secondary-color, #5f6368)); }

/* 2.12.0: the platform an imported review was copied from (card, block, popup), the reviews by origin, the links to the
   pages of the platforms. A neutral icon, no logo of a brand. */
.pa-shopreviews-platform, .pa-shopreviews-hook-slider__platform { display: inline-flex; align-items: center; gap: .3rem; min-height: 1.5rem; padding: .2rem .5rem; border: 1px solid #d5dae2; border-radius: 999px; background: #f7f8fa; color: #3f4b5c; font-size: .72rem; font-weight: 600; line-height: 1.1; white-space: nowrap; }
.pa-shopreviews-platform__icon { display: inline-flex; width: .8rem; height: .8rem; }
.pa-shopreviews-platform__icon svg { display: block; width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pa-shopreviews-badge-popup__platform { font-size: .72rem; margin: 0; color: var(--pa-review-muted, var(--bs-secondary-color, #5f6368)); }
.pa-shopreviews-sources-line, .pa-shopreviews-hook-slider__sources { display: block; margin-top: .25rem; font-size: .75rem; color: var(--pa-review-muted, var(--bs-secondary-color, #5f6368)); }
.pa-shopreviews-sources { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid #e5e7eb; }
.pa-shopreviews-sources h3 { font-size: .9375rem; margin: 0 0 .5rem; }
.pa-shopreviews-sources__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem .75rem; margin: .35rem 0; font-size: .8125rem; }
.pa-shopreviews-platform-links a, .pa-review-policy__platform a { text-decoration: underline; }
/* 2.13.0: a published review that can no longer be changed, and a change reopened at the request of its author. */
.pa-myreviews__locked, .pa-myreviews__reopened { margin: 0; font-size: .875rem; }
.pa-myreviews__reopened { font-weight: 600; }
