/* Quory go-live, parte 2 */
/* riga di fiducia sotto il pulsante */
.qt-trust { list-style: none; margin: 18px 0 6px; padding: 16px 0 0; border-top: 1px solid #eee; display: grid; gap: 11px; }
.qt-trust li { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; line-height: 1.45; color: #444; }
.qt-trust .qt-ico { flex: 0 0 18px; margin-top: 1px; color: #111; }
.qt-trust a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.qt-pay { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 7px; }
.qt-pay span { font-size: 10.5px; letter-spacing: .04em; border: 1px solid #d9d9d9; border-radius: 3px; padding: 3px 7px; color: #333; background: #fff; }

/* stelle */
.qt-rating { display: inline-flex; gap: 6px; align-items: center; font-size: 13px; color: #111; text-decoration: none; margin: 4px 0 14px; }
.qt-rating span:last-child { color: #888; }
.qt-stars { position: relative; color: #d6d6d6; letter-spacing: 2px; font-size: 14px; }
.qt-stars::before { content: "★★★★★"; position: absolute; inset: 0; width: var(--r); overflow: hidden; color: #111; letter-spacing: 2px; }

/* recensioni dentro la tendina */
#qt-reviews #reviews { padding: 6px 0 20px; font-size: 14px; }
#qt-reviews .woocommerce-Reviews-title { font-size: 15px; font-weight: 500; margin: 0 0 12px; }
#qt-reviews .commentlist { list-style: none; padding: 0; margin: 0 0 20px; }
#qt-reviews .commentlist li { border-bottom: 1px solid #eee; padding: 12px 0; }
#qt-reviews .avatar { display: none; }
#qt-reviews .comment-text { margin: 0 !important; border: 0 !important; padding: 0 !important; }
#qt-reviews textarea, #qt-reviews input[type="text"], #qt-reviews input[type="email"] { width: 100%; border: 1px solid #ddd; padding: 10px; font: inherit; }
#qt-reviews .form-submit input, #qt-reviews #submit { background: #111; color: #fff; border: 0; padding: 12px 24px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
#qt-reviews .woocommerce-verification-required, #qt-reviews .woocommerce-noreviews { color: #777; }

/* disponibilità della taglia ("Solo 2 rimasti") */
.product-page .woocommerce-variation-availability .stock { display: block; margin: 10px 0 0; font-size: 13px; }
.product-page .woocommerce-variation-availability .stock.in-stock { color: #a33b1f; }
.product-page .woocommerce-variation-availability .stock.out-of-stock { color: #888; }

/* percorso sopra il nome */
.qp-crumbs { font-size: 11.5px; letter-spacing: .03em; color: #888; margin: 0 0 12px; }
.qp-crumbs a { color: #888; text-decoration: none; }
.qp-crumbs a:hover { color: #111; }
.qp-sep { margin: 0 7px; opacity: .6; }

/* barra fissa su telefono */
.qsa { display: none; }
@media (max-width: 768px) {
  .qsa {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; align-items: center; gap: 12px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid #eee;
    box-shadow: 0 -6px 18px rgba(0, 0, 0, .06); transform: translateY(110%); transition: transform .3s ease;
  }
  .qsa.is-on { transform: none; }
  .qsa-img { width: 42px; height: 52px; object-fit: cover; background: #f4f4f4; flex: 0 0 auto; }
  .qsa-info { flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: 12.5px; line-height: 1.3; }
  .qsa-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #111; }
  .qsa-price, .qsa-price * { font-size: 12.5px !important; color: #555; }
  .qsa-btn { flex: 0 0 auto; background: #111; color: #fff; border: 0; padding: 13px 18px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
  .product-page form.cart.qsa-flash .variation-buttons { animation: qsa-flash 1.6s ease; }
}
@keyframes qsa-flash { 0%, 100% { box-shadow: none; } 30% { box-shadow: 0 0 0 3px rgba(17, 17, 17, .25); } }

/* carrello: spedizione gratuita */
.qfs { margin: 0 0 28px; padding: 16px 20px; background: #f6f5f3; max-width: 760px; }
.qfs-text { margin: 0 0 10px; font-size: 14px; }
.qfs-track { height: 4px; background: #e2e0dc; overflow: hidden; }
.qfs-fill { display: block; height: 100%; width: 0; background: #111; transition: width .5s ease; }
.qfs.is-free .qfs-fill { background: #2f6b3a; }
