/* Coupon Hub · righe "Dove usare il coupon" (pannello in /coupon/ e tendina della ricerca) */
/* ── 1.20.0 · "Usa il coupon" in più negozi: contatore sul pulsante + pannello "Dove usare il coupon" ── */
html body .tk-pch-t2-more.is-multi{gap:8px}
html body .tk-pch-nneg{display:inline-flex;align-items:center;margin-left:8px;padding:3px 8px;border-radius:99px;background:rgba(255,255,255,.25);font-size:11px;font-weight:800;letter-spacing:.02em;line-height:1}
html.tk-pch-dove-aperto,html.tk-pch-dove-aperto body{overflow:hidden!important}
.tk-pch-dove{position:fixed;inset:0;z-index:999999;display:flex;align-items:center;justify-content:center;padding:20px;background:rgba(12,8,40,.62);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);opacity:0;transition:opacity .2s}
.tk-pch-dove.is-on{opacity:1}
.tk-pch-dove-box{position:relative;width:min(760px,100%);max-height:calc(100vh - 40px);overflow:auto;border-radius:26px;background:#fff;color:#0f172a;box-shadow:0 40px 90px -30px rgba(8,6,40,.85);transform:translateY(14px) scale(.98);transition:transform .25s cubic-bezier(.2,.8,.2,1);font-family:Montserrat,sans-serif}
.tk-pch-dove.is-on .tk-pch-dove-box{transform:none}
.tk-pch-dove-x{position:absolute;top:14px;right:14px;z-index:2;width:38px;height:38px;border-radius:50%;border:0!important;background:rgba(255,255,255,.18)!important;color:#fff!important;font-size:24px;line-height:1;cursor:pointer;padding:0!important;display:flex;align-items:center;justify-content:center}
.tk-pch-dove-x:hover{background:rgba(255,255,255,.3)!important}
.tk-pch-dove-head{padding:26px 64px 22px 26px;border-radius:26px 26px 0 0;color:#fff;background:radial-gradient(260px 140px at 10% 0%,rgba(167,139,250,.55),transparent 70%),radial-gradient(300px 160px at 100% 120%,rgba(94,234,212,.4),transparent 70%),linear-gradient(135deg,#2b1f7a,#4c1d95 55%,#0e7490)}
.tk-pch-dove-cod{display:inline-flex;padding:5px 12px;border-radius:99px;border:1.5px dashed rgba(255,255,255,.6);font:800 13px/1 monospace;letter-spacing:.12em}
.tk-pch-dove-head h3{margin:12px 0 6px!important;color:#fff!important;font:900 clamp(22px,3vw,28px)/1.15 Montserrat,sans-serif!important}
.tk-pch-dove-head h3 em{font-style:normal;background:linear-gradient(120deg,#c4b5fd,#5eead4);-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent}
.tk-pch-dove-head p{margin:0!important;color:rgba(255,255,255,.88)!important;font-size:14.5px;line-height:1.5}
.tk-pch-dove-head p b{color:#5eead4}
.tk-pch-dove-min{display:inline-block;margin-top:10px;padding:4px 10px;border-radius:99px;background:rgba(255,255,255,.14);font-size:12px;font-weight:700}
.tk-pch-dove-lista{list-style:none;margin:0!important;padding:16px!important;display:flex;flex-direction:column;gap:12px}
.tk-pch-dove-riga{position:relative;margin:0!important;display:grid;grid-template-columns:56px minmax(0,1fr) auto auto auto;align-items:center;gap:16px;padding:16px 18px;border-radius:18px;background:linear-gradient(135deg,#faf8ff,#f3f7ff 60%,#effdfb);border:1px solid #e6e1fb;transition:transform .2s,box-shadow .2s}
.tk-pch-dove-riga:hover{transform:translateY(-2px);box-shadow:0 14px 30px -16px rgba(76,29,149,.45)}
.tk-pch-dove-riga:first-child:not(.is-esaurito){border:1.5px solid transparent;background:linear-gradient(135deg,#faf8ff,#f3f7ff 60%,#effdfb) padding-box,linear-gradient(120deg,#a78bfa,#5eead4) border-box}
.tk-pch-dove-top{position:absolute;top:-10px;left:18px;padding:3px 10px;border-radius:99px;background:linear-gradient(120deg,#7c3aed,#22b8c9);color:#fff;font-size:11px;font-weight:800;letter-spacing:.04em;box-shadow:0 6px 14px -4px rgba(124,58,237,.6)}
.tk-pch-dove-logo{width:56px;height:56px;border-radius:16px;overflow:hidden;background:#fff;box-shadow:0 6px 16px -6px rgba(15,23,42,.35);display:flex;align-items:center;justify-content:center}
.tk-pch-dove-logo img{width:100%;height:100%;object-fit:contain;padding:6px}
.tk-pch-dove-logo em{font-style:normal;font-weight:900;font-size:22px;color:#6d28d9}
.tk-pch-dove-neg{min-width:0;display:flex;flex-direction:column;gap:3px}
.tk-pch-dove-neg b{font-size:15.5px;font-weight:800;color:#0f172a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tk-pch-dove-neg small{font-size:12.5px;color:#64748b}
.tk-pch-dove-neg small i{font-style:normal;font-weight:700}
.tk-pch-dove-neg small i.ok{color:#059669}
.tk-pch-dove-neg small i.no{color:#dc2626}
.tk-pch-dove-partner{align-self:flex-start;margin-top:2px;padding:2px 8px;border-radius:99px;background:linear-gradient(135deg,#fdba2d,#f97316);color:#fff;font-size:10.5px;font-weight:800}
.tk-pch-dove-prezzo{display:flex;flex-direction:column;align-items:flex-end;line-height:1.15}
.tk-pch-dove-prezzo del{font-size:12.5px;color:#94a3b8}
.tk-pch-dove-prezzo strong{font:900 22px/1.1 Montserrat,sans-serif;background:linear-gradient(120deg,#7c3aed,#22b8c9);-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent}
.tk-pch-dove-prezzo small{font-size:11.5px;font-weight:700;color:#059669}
.tk-pch-dove-cb{display:flex;flex-direction:column;align-items:center;padding:7px 12px;border-radius:14px;background:#ecfdf5;border:1px solid #a7f3d0;line-height:1.15;text-align:center}
.tk-pch-dove-cb b{font-size:15px;font-weight:900;color:#047857}
.tk-pch-dove-cb small{font-size:10.5px;font-weight:700;color:#10b981}
.tk-pch-dove-vai{display:inline-flex;align-items:center;justify-content:center;padding:12px 18px;border-radius:14px;background:linear-gradient(120deg,#7c3aed,#4f46e5 55%,#22b8c9);color:#fff!important;font-size:14px;font-weight:800;text-decoration:none!important;white-space:nowrap;box-shadow:0 10px 22px -10px rgba(79,70,229,.8);transition:transform .2s,filter .2s}
.tk-pch-dove-vai:hover{transform:translateY(-2px);filter:brightness(1.08)}
.tk-pch-dove-vai.is-off{background:#e2e8f0;color:#64748b!important;box-shadow:none}
.tk-pch-dove-riga.is-esaurito{opacity:.7}
@media (max-width:720px){
  .tk-pch-dove{padding:0;align-items:flex-end}
  .tk-pch-dove-box{border-radius:24px 24px 0 0;max-height:92vh}
  .tk-pch-dove-head{border-radius:24px 24px 0 0;padding:22px 58px 18px 18px}
  .tk-pch-dove-lista{padding:14px 12px 20px!important}
  .tk-pch-dove-riga{grid-template-columns:48px minmax(0,1fr) auto;gap:10px 12px;padding:16px 14px 14px}
  .tk-pch-dove-logo{width:48px;height:48px;border-radius:14px}
  .tk-pch-dove-cb{grid-column:1 / 3;flex-direction:row;gap:6px;justify-self:start}
  .tk-pch-dove-vai{grid-column:1 / -1}
  .tk-pch-dove-cb{grid-column:1 / -1;justify-self:stretch;justify-content:center}
}
/* pulsante con il contatore negozi: su una riga, centrato */
html body .tk-pch-t2w .tk-pch-t2-more.is-multi{display:flex!important;align-items:center;justify-content:center;flex-wrap:nowrap;white-space:nowrap;text-align:center;line-height:1}
html body .tk-pch-t2-more.is-multi .tk-pch-nneg{flex:none;margin-left:7px;padding:3px 7px;font-size:10.5px;white-space:nowrap}
/* loghi dei negozi spesso bianchi (pensati per l'header scuro): fondo sfumato scuro */
.tk-pch-dove-logo{background:linear-gradient(135deg,#2b1f7a,#4c1d95 60%,#0e7490)!important}
.tk-pch-dove-logo em{color:#fff!important}
html body .tk-pch-t2w .tk-pch-t2-more.is-multi{padding-left:10px!important;padding-right:10px!important;gap:0}
/* contatore negozi: tondino con icona negozio + numero (il testo "2 negozi" stringeva il pulsante) */
html body .tk-pch-t2-more.is-multi .tk-pch-nneg{gap:3px;margin-left:8px;padding:3px 7px 3px 5px;font-size:11.5px;font-weight:900;background:rgba(255,255,255,.28);box-shadow:inset 0 0 0 1px rgba(255,255,255,.35)}
html body .tk-pch-t2-more.is-multi .tk-pch-nneg::before{content:"";width:13px;height:13px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9l1.5-5h15L21 9M3 9h18M3 9v1a3 3 0 0 0 6 0 3 3 0 0 0 6 0 3 3 0 0 0 6 0V9M5 13v7h14v-7'/%3E%3C/svg%3E") center/contain no-repeat}

/* Tendina della ricerca (codice coupon digitato): stesse righe del pannello, in versione compatta */
.tkpch-sc-dove{padding:4px 0 2px!important;gap:12px}
.tkpch-sc-dove .tk-pch-dove-riga{grid-template-columns:48px minmax(0,1fr) auto auto;gap:8px 12px;padding:14px 14px 12px}
.tkpch-sc-dove .tk-pch-dove-logo{width:48px;height:48px;border-radius:14px}
.tkpch-sc-dove .tk-pch-dove-cb{grid-column:2 / 4;flex-direction:row;gap:6px;justify-self:start;padding:5px 10px}
.tkpch-sc-dove .tk-pch-dove-vai{grid-column:4;grid-row:2;padding:10px 14px;font-size:13px}
.tkpch-sc-dove .tk-pch-dove-prezzo{grid-column:3 / 5}
.tkpch-sc-dove .tk-pch-dove-prezzo strong{font-size:19px}
@media (max-width:560px){
  .tkpch-sc-dove .tk-pch-dove-riga{grid-template-columns:44px minmax(0,1fr) auto}
  .tkpch-sc-dove .tk-pch-dove-prezzo{grid-column:3}
  .tkpch-sc-dove .tk-pch-dove-cb{grid-column:1 / -1;justify-self:stretch;justify-content:center}
  .tkpch-sc-dove .tk-pch-dove-vai{grid-column:1 / -1;grid-row:auto}
}
.tkpch-sc-dove{padding-top:16px!important}
