/* TK Recensioni - Front styles */
.tkwr{margin:1rem 0}
.tkwr-head{display:flex;gap:.75rem;align-items:flex-start}
.tkwr-avatar img{width:48px;height:48px;border-radius:50%;object-fit:cover;box-shadow:0 0 0 1px rgba(0,0,0,.06)}
.tkwr-meta{display:flex;flex-direction:column;flex:1 1 auto;min-width:0}
.tkwr-row{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}
.tkwr-authorline{margin-top:.1rem;min-width:0}
.tkwr-author{font-weight:600;overflow-wrap:anywhere}
.tkwr-subrow{display:flex;align-items:center;flex-wrap:wrap;gap:.5rem;margin-top:.1rem;font-size:.85em;opacity:.8}
.tkwr-stars-wrap{font-size:1rem;letter-spacing:.02em;font-variant-numeric:tabular-nums}
.tkwr-verified{position:static;align-self:center;flex:0 0 auto;margin-left:auto;white-space:nowrap;background:#eef8f1;color:#137a3a;border:1px solid #cfead9;border-radius:999px;padding:.12rem .55rem;font-size:.72rem;line-height:1.5}
.tkwr-on-product a{text-decoration:none;border-bottom:1px dotted currentColor}
.tkwr-date{white-space:nowrap}
.tkwr-list{display:grid;grid-template-columns:1fr;gap:.9rem;align-items:stretch}
@media(min-width:680px){.tkwr-list{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1024px){.tkwr-list{grid-template-columns:repeat(3,1fr)}}
.tkwr-item{border:1px solid #e9e9ec;border-radius:12px;padding:.75rem .9rem;background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.03);height:100%;display:flex;flex-direction:column;}
.tkwr-content{margin:.35rem 0 .5rem;font-size:.95rem;line-height:1.5;color:#222;flex:1 1 auto}
/* Slider */
.tkwr-slider{position:relative;border-radius:10px;overflow:hidden;background:#f8f8fb;border:1px solid #ececf1;min-height:220px;max-height:220px;margin-top:.5rem}
.tkwr-track{display:flex;transition:transform .35s ease;will-change:transform;height:220px}
.tkwr-slide{min-width:100%;flex:0 0 100%;display:flex;align-items:center;justify-content:center;height:100%}
.tkwr-slide-media{width:100%;height:100%;object-fit:cover;display:block}
.tkwr-nav{position:absolute;top:50%;transform:translateY(-50%);background:rgba(0,0,0,.6);color:#fff;border:none;border-radius:10px;width:36px;height:36px;display:flex;align-items:center;justify-content:center;cursor:pointer;z-index:2}
.tkwr-prev{left:8px}
.tkwr-next{right:8px}
/* Se una sola immagine, nascondi frecce */
.tkwr-slider.tkwr-single .tkwr-nav{display:none}
/* Form */
.tkwr-form{margin-top:1rem;border:1px solid #ececf1;border-radius:12px;padding:1rem;background:#fff}
.tkwr-stars-select button{font-size:1.1rem;border:1px solid #ddd;border-radius:6px;margin-right:.25rem;cursor:pointer;background:#fff;padding:.2rem .35rem;line-height:1}
.tkwr-inline-gallery{margin-top:.5rem}
.tkwr-inline-thumb img{border-radius: 4px;display: inline-block !important;margin: 0 5px !important;height: 100px !important;}
/* Pagination */
.tkwr-pagination{margin-top:1rem;display:flex;justify-content:center}
.tkwr-pages{list-style:none;margin:0;padding:0;display:flex;gap:.4rem;align-items:center}
.tkwr-page a,.tkwr-page span{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border:1px solid #e0e0e5;border-radius:8px;text-decoration:none;color:#222;background:#fff}
.tkwr-page a:hover{border-color:#bbb}
.tkwr-current a{background:#111;color:#fff;border-color:#111}
.tkwr-disabled span{opacity:.4}
.tkwr-ellipsis{padding:0 .25rem;color:#666}
/* Form recensione via link-token (dalla mail post-acquisto) */
.tkwr-token-wrap{margin:1.5rem 0}
.tkwr-token-card{border:1px solid #e2e8f0;border-left:4px solid #7dbc90;border-radius:12px;padding:1.25rem 1.5rem;background:#f8fafc}
.tkwr-token-title{margin:0 0 .25rem;font-size:1.15rem;color:#0f172a}
.tkwr-token-sub{margin:0 0 1rem;color:#64748b;font-size:.92rem}
.tkwr-token-card .tkwr-form{margin-top:0;border:0;padding:0;background:transparent}
.tkwr-notice{padding:.75rem 1rem;border-radius:8px;margin-bottom:1rem;font-size:.95rem}
.tkwr-notice-ok{background:#eef8f1;color:#137a3a;border:1px solid #cfead9}
.tkwr-notice-pending{background:#fef9e7;color:#92650a;border:1px solid #f5e2a8}
.tkwr-form-row{margin-bottom:.85rem;display:flex;flex-direction:column;gap:.35rem}
.tkwr-form-rating{flex-direction:row;align-items:center;gap:.6rem}
.tkwr-form textarea,.tkwr-form select{border:1px solid #cbd5e1;border-radius:8px;padding:.5rem .7rem;font:inherit;width:100%;box-sizing:border-box}
.tkwr-form-rating select{width:auto}
.tkwr-form-submit{background:#7dbc90;color:#fff;border:0;border-radius:999px;padding:.7rem 1.6rem;font-weight:700;cursor:pointer;transition:background .18s ease,transform .18s ease}
.tkwr-form-submit:hover{background:#2d6b41;transform:translateY(-1px)}


/* ── Scheda attività ([tk_recensioni_dati]) ─────────────────────────────
   Card autonoma: eredita font e colore del testo dal tema, l'accento si
   cambia dallo shortcode (attributo accent) senza toccare il CSS.        */
.tkwr-nap{--tkr-accent:#0f172a;box-sizing:border-box;max-width:100%;background:#fff;border:1px solid #e8eef7;border-radius:18px;padding:28px 30px;box-shadow:0 1px 3px rgba(15,23,42,.05),0 12px 32px -18px rgba(15,23,42,.25);font:inherit;color:inherit}
.tkwr-nap-testa{border-bottom:1px solid #eef2f7;padding-bottom:16px;margin-bottom:20px}
.tkwr-nap-occhiello{display:block;font-size:11px;font-weight:700;letter-spacing:1.4px;text-transform:uppercase;color:var(--tkr-accent);opacity:.75;margin-bottom:6px}
.tkwr-nap-nome{margin:0;font-size:24px;line-height:1.2;font-weight:800;color:inherit}
.tkwr-nap-piva{display:inline-block;margin-top:8px;font-size:12px;color:#64748b;background:#f5f8fc;border-radius:50px;padding:3px 12px}

.tkwr-nap-griglia{display:grid;grid-template-columns:repeat(auto-fit,minmax(var(--tkr-min,190px),1fr));gap:14px}
.tkwr-nap *{box-sizing:border-box}
.tkwr-nap-tessera{position:relative;background:#f8fafc;border:1px solid #eef2f7;border-radius:14px;padding:16px 18px 16px 56px;transition:border-color .18s ease,transform .18s ease,box-shadow .18s ease}
.tkwr-nap-tessera:hover{border-color:var(--tkr-accent);transform:translateY(-2px);box-shadow:0 10px 24px -16px rgba(15,23,42,.45)}
.tkwr-nap-icona{position:absolute;left:14px;top:16px;width:30px;height:30px;display:flex;align-items:center;justify-content:center;font-size:15px;background:#fff;border:1px solid #e8eef7;border-radius:10px}
.tkwr-nap-eti{display:block;font-size:11px;font-weight:700;letter-spacing:.8px;text-transform:uppercase;color:#94a3b8;margin-bottom:3px}
.tkwr-nap-val{display:block;font-size:15px;font-weight:600;line-height:1.5;color:inherit;overflow-wrap:anywhere}
.tkwr-nap-val a{color:inherit;text-decoration:none;border-bottom:1px solid rgba(148,163,184,.5)}
.tkwr-nap-val a:hover{border-bottom-color:var(--tkr-accent);color:var(--tkr-accent)}

.tkwr-nap-zone{margin-top:20px}
.tkwr-nap-zone-eti{display:block;font-size:11px;font-weight:700;letter-spacing:.8px;text-transform:uppercase;color:#94a3b8;margin-bottom:8px}
.tkwr-nap-chip-riga{display:flex;flex-wrap:wrap;gap:7px}
.tkwr-nap-chip{font-size:13px;line-height:1;padding:8px 13px;border-radius:50px;background:#f1f5f9;border:1px solid #e8eef7;color:#475569;white-space:nowrap}

.tkwr-nap-azioni{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px;padding-top:20px;border-top:1px solid #eef2f7}
.tkwr-nap-btn{display:inline-flex;align-items:center;gap:6px;font-size:14px;font-weight:700;text-decoration:none;padding:11px 20px;border-radius:50px;border:1px solid #e2e8f0;background:#fff;color:inherit;transition:all .18s ease}
.tkwr-nap-btn:hover{border-color:var(--tkr-accent);color:var(--tkr-accent);transform:translateY(-1px)}
.tkwr-nap-btn-primario{background:var(--tkr-accent);border-color:var(--tkr-accent);color:#fff}
.tkwr-nap-btn-primario:hover{color:#fff;filter:brightness(1.12)}

@media(max-width:782px){
  .tkwr-nap{padding:22px 18px;border-radius:14px}
  .tkwr-nap-griglia{grid-template-columns:1fr}
  .tkwr-nap-nome{font-size:21px}
  .tkwr-nap-azioni .tkwr-nap-btn{flex:1 1 100%;justify-content:center}
}

/* ── Blocco recensioni prima del footer ─────────────────────────────────────
   Va in fondo a ogni pagina: intestazione con voto medio, recensioni e invito
   a scriverne una. Larghezza piena, contenuto incolonnato al centro. */
.tkwr-blocco { padding: 64px 20px; }
.tkwr-blocco-inner { max-width: 1140px; margin: 0 auto; }
.tkwr-blocco-testa { text-align: center; margin-bottom: 34px; }
.tkwr-blocco-stelle { font-size: 22px; letter-spacing: 3px; margin-bottom: 10px; }
.tkwr-blocco-titolo { font-size: 34px; font-weight: 800; margin: 0 0 10px; line-height: 1.2; }
.tkwr-blocco-sub { font-size: 17px; line-height: 1.7; margin: 0 auto; max-width: 620px; }
.tkwr-blocco-corpo .tkwr-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
}
.tkwr-blocco-corpo .tkwr-item {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 20px 22px;
    box-shadow: 0 1px 3px rgba(0,0,0,.05);
    margin: 0;
}
.tkwr-blocco-scuro .tkwr-blocco-corpo .tkwr-item { border-color: rgba(255,255,255,.12); }
/* La card è sempre bianca: il testo non deve ereditare il bianco del blocco scuro */
.tkwr-blocco .tkwr-item { color: #0f172a; }
.tkwr-blocco .tkwr-item .tkwr-author { color: #0f172a; }
.tkwr-blocco .tkwr-item .tkwr-subrow,
.tkwr-blocco .tkwr-item .tkwr-date { color: #64748b; }
.tkwr-blocco .tkwr-item .tkwr-on-product a { color: inherit; }
.tkwr-item .tkwr-stars-wrap { color: #f59e0b; }
.tkwr-avatar:empty { display: none; }

/* Avatar con le iniziali, quando WordPress non ne fornisce uno */
.tkwr-iniziali {
    width: 48px; height: 48px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 17px; letter-spacing: .5px; color: #fff;
    background: linear-gradient(135deg, hsl(var(--tkwr-tono, 210) 65% 55%), hsl(calc(var(--tkwr-tono, 210) + 40) 60% 38%));
    box-shadow: 0 0 0 3px #fff, 0 0 0 4px rgba(15,23,42,.08);
    flex: 0 0 auto;
}

/* ── Card del blocco: testimonianza ────────────────────────────────────────
   Barra nel colore dei pulsanti del sito, virgolette grandi di sfondo, ombra
   profonda e un piccolo sollevamento al passaggio del mouse. */
.tkwr-blocco .tkwr-blocco-corpo .tkwr-item {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    padding: 30px 28px 26px;
    border: 0;
    box-shadow: 0 18px 40px -22px rgba(2,6,23,.55), 0 2px 6px rgba(2,6,23,.06);
    transition: transform .25s cubic-bezier(.4,0,.2,1), box-shadow .25s cubic-bezier(.4,0,.2,1);
}
.tkwr-blocco .tkwr-blocco-corpo .tkwr-item::before {
    content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
    background: linear-gradient(90deg, var(--tkwr-accent, var(--global-palette-btn-bg, #f59e0b)), #f59e0b);
}
.tkwr-blocco .tkwr-blocco-corpo .tkwr-item::after {
    content: "\201C"; position: absolute; right: 18px; top: -6px;
    font: 700 120px/1 Georgia, "Times New Roman", serif;
    color: var(--tkwr-accent, var(--global-palette-btn-bg, #f59e0b));
    opacity: .14; pointer-events: none;
}
.tkwr-blocco .tkwr-blocco-corpo .tkwr-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 28px 50px -24px rgba(2,6,23,.6), 0 4px 10px rgba(2,6,23,.08);
}
.tkwr-blocco .tkwr-item .tkwr-head { gap: 14px; align-items: center; position: relative; z-index: 1; }
.tkwr-blocco .tkwr-item .tkwr-avatar img { width: 52px; height: 52px; box-shadow: 0 0 0 3px #fff, 0 0 0 4px rgba(15,23,42,.08); }
.tkwr-blocco .tkwr-item .tkwr-iniziali { width: 52px; height: 52px; font-size: 18px; }
.tkwr-blocco .tkwr-item .tkwr-author { font-size: 16px; font-weight: 700; }
.tkwr-blocco .tkwr-item .tkwr-stars-wrap { font-size: 17px; letter-spacing: 2px; }
.tkwr-blocco .tkwr-item .tkwr-subrow { font-size: 13px; opacity: 1; }
.tkwr-blocco .tkwr-item .tkwr-content {
    position: relative; z-index: 1;
    margin: 18px 0 0; padding-top: 16px; border-top: 1px solid #eef2f7;
    font-size: 16px; line-height: 1.7; color: #334155;
}
.tkwr-blocco .tkwr-item .tkwr-content p { margin: 0 0 .6em; }
.tkwr-blocco .tkwr-item .tkwr-content p:last-child { margin-bottom: 0; }
@media (prefers-reduced-motion: reduce) {
    .tkwr-blocco .tkwr-blocco-corpo .tkwr-item, .tkwr-blocco .tkwr-blocco-corpo .tkwr-item:hover { transition: none; transform: none; }
}
@media (max-width: 782px) {
    .tkwr-blocco .tkwr-blocco-corpo .tkwr-item { padding: 26px 22px 22px; }
}
.tkwr-blocco-azioni { margin-top: 30px; }
.tkwr-blocco .tkwr-form { max-width: 720px; margin: 28px auto 0; }
@media (max-width: 782px) {
    .tkwr-blocco { padding: 44px 16px; }
    .tkwr-blocco-titolo { font-size: 26px; }
    .tkwr-blocco-sub { font-size: 15px; }
}

/* ── Modulo "recensisci l'attività" ────────────────────────────────────────── */
.tkwr-form-sito { max-width: 720px; margin: 30px auto 0; background: #fff; border: 1px solid #e2e8f0;
    border-radius: 14px; padding: 26px 28px; box-shadow: 0 1px 3px rgba(0,0,0,.05); color: #0f172a; }
.tkwr-form-titolo { margin: 0 0 18px; font-size: 20px; font-weight: 700; text-align: center; color: #0f172a; }
.tkwr-form-sito .tkwr-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tkwr-form-sito label { display: block; font-weight: 600; font-size: 13px; margin-bottom: 12px; }
.tkwr-form-sito input[type=text], .tkwr-form-sito input[type=email], .tkwr-form-sito textarea {
    width: 100%; margin-top: 5px; padding: 10px 12px; border: 1px solid #cbd5e1; border-radius: 9px;
    font: inherit; font-weight: 400; background: #fff; box-sizing: border-box; }
.tkwr-form-sito input:focus, .tkwr-form-sito textarea:focus { outline: 0; border-color: #94a3b8; box-shadow: 0 0 0 3px rgba(148,163,184,.18); }
.tkwr-form-sito .tkwr-form-rating { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.tkwr-form-sito .tkwr-form-eti { font-weight: 600; font-size: 13px; }
/* Le stelle si scelgono cliccando: i radio stanno sotto, in ordine inverso per l'effetto hover */
.tkwr-stelle-scelta { display: inline-flex; flex-direction: row-reverse; gap: 2px; }
.tkwr-stelle-scelta input { position: absolute; opacity: 0; width: 0; height: 0; }
.tkwr-stelle-scelta label { font-size: 26px; line-height: 1; color: #cbd5e1; cursor: pointer; margin: 0; }
.tkwr-stelle-scelta input:checked ~ label,
.tkwr-stelle-scelta label:hover, .tkwr-stelle-scelta label:hover ~ label { color: #f59e0b; }
.tkwr-form-sito .tkwr-btn { background: #0f172a; color: #fff; border: 0; border-radius: 9px;
    padding: 12px 26px; font-weight: 700; font-size: 15px; cursor: pointer; }
.tkwr-form-sito .tkwr-btn:hover { background: #1e293b; }
.tkwr-form-sito .tkwr-form-submit { text-align: center; margin: 6px 0 0; }
.tkwr-esito { max-width: 720px; margin: 24px auto 0; padding: 16px 20px; border-radius: 12px; text-align: center; font-weight: 600; }
.tkwr-esito-ok { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.tkwr-esito-ko { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
@media (max-width: 640px) { .tkwr-form-sito .tkwr-form-row { grid-template-columns: 1fr; } }

/* Il tema colora i <p> dei form: qui il pulsante deve restare su sfondo pulito */
.tkwr-form-sito .tkwr-form-submit,
.tkwr-form-sito p { background: none !important; }
/* Riquadro Google dentro il blocco scuro: i colori fissi dello shortcode non si leggono */
.tkwr-blocco-scuro .tkwr-google-cta { border-color: rgba(255,255,255,.18) !important; }
.tkwr-blocco-scuro .tkwr-google-cta h3 { color: #fff !important; }
.tkwr-blocco-scuro .tkwr-google-cta p { color: rgba(255,255,255,.75) !important; }
.tkwr-blocco-scuro .tkwr-google-btn { background: #c9a227 !important; color: #111827 !important; }
/* Nessuna recensione ancora: il messaggio sta al centro, non buttato a sinistra */
.tkwr-blocco .tkwr-list > p { grid-column: 1 / -1; text-align: center; opacity: .75; margin: 0; }
/* Il blocco chiude la pagina: nessuno spazio residuo prima del footer */
.tkwr-blocco { margin-bottom: 0; }

/* ── Pulsanti del blocco ───────────────────────────────────────────────────── */
.tkwr-blocco-tasti { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.tkwr-tasto { display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 10px;
    padding: 15px 28px; font-size: 16px; font-weight: 700; cursor: pointer; text-decoration: none;
    line-height: 1.2; transition: transform .12s ease, box-shadow .12s ease; }
.tkwr-tasto:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0,0,0,.14); }
.tkwr-tasto-primario { background: #0f172a; color: #fff; }
.tkwr-tasto-google { background: #f59e0b; color: #111827; }
.tkwr-blocco-scuro .tkwr-tasto-primario { background: #fff; color: #0f172a; }

/* ── Finestra ──────────────────────────────────────────────────────────────── */
.tkwr-finestra[hidden] { display: none; }
.tkwr-finestra { position: fixed; inset: 0; z-index: 99999; display: flex; align-items: center;
    justify-content: center; padding: 20px; }
.tkwr-finestra-velo { position: absolute; inset: 0; background: rgba(8,12,20,.65); backdrop-filter: blur(2px); }
.tkwr-finestra-box { position: relative; width: 100%; max-width: 620px; max-height: 90vh; overflow: auto;
    background: #fff; border-radius: 16px; box-shadow: 0 24px 60px rgba(0,0,0,.35); padding: 8px; }
.tkwr-finestra-x { position: absolute; top: 10px; right: 12px; background: none; border: 0; font-size: 28px;
    line-height: 1; color: #94a3b8; cursor: pointer; padding: 4px 8px; }
.tkwr-finestra-x:hover { color: #0f172a; }
.tkwr-finestra .tkwr-form-sito { border: 0; box-shadow: none; margin: 0; }
body.tkwr-finestra-aperta { overflow: hidden; }
@media (max-width: 640px) { .tkwr-finestra-box { max-height: 94vh; } .tkwr-tasto { width: 100%; justify-content: center; } }

/* Sfondo e colori del blocco: prima stavano inline, ora vivono qui */
.tkwr-blocco { background: #f8fafc; color: #0f172a; }
.tkwr-blocco .tkwr-blocco-titolo { color: #0f172a; }
.tkwr-blocco .tkwr-blocco-sub { color: #64748b; }
.tkwr-blocco-scuro { background: #0b1222; color: #fff; }
.tkwr-blocco-scuro .tkwr-blocco-titolo { color: #fff; }
.tkwr-blocco-scuro .tkwr-blocco-sub { color: rgba(255,255,255,.75); }
/* I temi rimpiccioliscono i button: i due pulsanti devono restare grandi uguali */
.tkwr-blocco .tkwr-tasto {
    padding: 15px 28px !important;
    font-size: 16px !important;
    line-height: 1.2 !important;
    border-radius: 10px !important;
    min-height: 0 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

/* I temi colorano i link al passaggio del mouse (qui oro su arancione: illeggibile).
   I pulsanti tengono i loro colori in ogni stato; a muoversi è solo lo sfondo. */
.tkwr-blocco .tkwr-tasto-google,
.tkwr-blocco .tkwr-tasto-google:link,
.tkwr-blocco .tkwr-tasto-google:visited { background: #f59e0b !important; color: #111827 !important; }
.tkwr-blocco .tkwr-tasto-google:hover,
.tkwr-blocco .tkwr-tasto-google:focus,
.tkwr-blocco .tkwr-tasto-google:active { background: #d97706 !important; color: #111827 !important; }

.tkwr-blocco .tkwr-tasto-primario,
.tkwr-blocco .tkwr-tasto-primario:hover,
.tkwr-blocco .tkwr-tasto-primario:focus,
.tkwr-blocco .tkwr-tasto-primario:active { background: #0f172a !important; color: #ffffff !important; }
.tkwr-blocco-scuro .tkwr-tasto-primario,
.tkwr-blocco-scuro .tkwr-tasto-primario:hover,
.tkwr-blocco-scuro .tkwr-tasto-primario:focus,
.tkwr-blocco-scuro .tkwr-tasto-primario:active { background: #ffffff !important; color: #0f172a !important; }
.tkwr-blocco .tkwr-tasto:focus-visible { outline: 3px solid rgba(245,158,11,.55); outline-offset: 2px; }

/* ── Colori dei pulsanti ──────────────────────────────────────────────────────
   Di regola sono quelli dei pulsanti del sito (variabili del tema): il riquadro
   deve sembrare parte del sito, non un pezzo incollato. --tkwr-accent le sostituisce
   quando si sceglie un colore a mano. */
.tkwr-blocco .tkwr-tasto-google,
.tkwr-blocco .tkwr-tasto-google:link,
.tkwr-blocco .tkwr-tasto-google:visited {
    background: var(--tkwr-accent, var(--global-palette-btn-bg, var(--global-palette1, #f59e0b))) !important;
    color: var(--tkwr-accent-testo, var(--global-palette-btn, #111827)) !important;
}
.tkwr-blocco .tkwr-tasto-google:hover,
.tkwr-blocco .tkwr-tasto-google:focus,
.tkwr-blocco .tkwr-tasto-google:active {
    background: var(--tkwr-accent, var(--global-palette-btn-bg-hover, var(--global-palette2, #d97706))) !important;
    color: var(--tkwr-accent-testo, var(--global-palette-btn-hover, #111827)) !important;
    filter: brightness(.94);
}
/* Le recensioni: quante per riga lo decide l'impostazione */
.tkwr-blocco-corpo .tkwr-list {
    grid-template-columns: repeat(var(--tkwr-colonne, 3), minmax(0, 1fr));
}
@media (max-width: 1024px) { .tkwr-blocco-corpo .tkwr-list { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 680px)  { .tkwr-blocco-corpo .tkwr-list { grid-template-columns: 1fr; } }
/* Pagine della lista dentro il blocco */
.tkwr-blocco .tkwr-pagination { display: flex; gap: 8px; justify-content: center; margin-top: 22px; flex-wrap: wrap; }
.tkwr-blocco .tkwr-pagination a, .tkwr-blocco .tkwr-pagination span {
    min-width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center;
    border-radius: 9px; border: 1px solid rgba(148,163,184,.4); text-decoration: none; font-weight: 600; font-size: 14px;
}
.tkwr-blocco-scuro .tkwr-pagination a, .tkwr-blocco-scuro .tkwr-pagination span { color: #fff; border-color: rgba(255,255,255,.22); }
.tkwr-blocco .tkwr-pagination .tkwr-current {
    background: var(--tkwr-accent, var(--global-palette-btn-bg, #0f172a));
    color: var(--tkwr-accent-testo, var(--global-palette-btn, #fff));
    border-color: transparent;
}

/* Quando non c'è ancora nessuna recensione */
.tkwr-blocco-vuoto { text-align: center; opacity: .8; margin: 0 0 4px; font-size: 16px; }
