
/* titolo sopra, a sinistra; il vecchio riquadro del banner non c'e' piu' */
body.ptop-sn .hero-section .ct-entry-content-block,
body.ptop-sn .hero-section .ptop-hrt-prod{display:none!important}
body.ptop-sn .hero-section .ct-breadcrumbs{text-align:left!important}
body.ptop-sn .hero-section .page-title{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;margin:0 0 6px!important;text-align:left!important;white-space:normal!important;color:#1a1433;font-size:clamp(20px,2.2vw,30px)!important;line-height:1.2!important;font-weight:800!important;letter-spacing:-.01em}
/* colonna del prodotto: specifiche chiave in cima, poi il resto */
body.ptop-sn #main .summary{display:flex!important;flex-direction:column}
body.ptop-sn #main .summary>.ct-product-content-block{order:-2;margin:0 0 14px!important}
body.ptop-sn #main .summary>p.price,
body.ptop-sn #main .summary>.ct-product-content-block>p{display:none!important}
body.ptop-sn #main .summary .pd-sx{margin:0!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important}
body.ptop-sn #main .summary .pd-sx .pd-sx-l{display:none!important}
body.ptop-sn #main .summary .pd-sx p{display:flex;flex-wrap:wrap;gap:8px;margin:0!important;font-size:0!important;line-height:0!important}
body.ptop-sn #main .summary .pd-sx .pd-sx-k{padding:8px 12px!important;border:0!important;border-radius:10px!important;background:#f4f2f7!important;color:#1a1433!important;font-size:13px!important;line-height:1.2!important;font-weight:600!important}
body.ptop-sn #main .summary>.cegg-offers_logo_btn:not(:has(.cegg-list-card + .cegg-list-card)){display:none!important}
body.ptop-sn #main .summary>.cegg-offers_logo_btn:has(.cegg-list-card + .cegg-list-card)::before{content:"Tutte le offerte";display:block;margin:6px 0 10px;color:#1a1433;font-size:18px;font-weight:800}
/* la testata nuova */
.ptop-sn-cima{display:flex;flex-direction:column;gap:14px;box-sizing:border-box;margin-top:8px!important;margin-bottom:24px!important}
.ptop-sn-cima>.ptop-sn-top,.ptop-sn-cima>.ptop-sn-eti{margin:0!important}
.ptop-sn-top{display:flex;flex-direction:column;gap:16px;box-sizing:border-box;margin-top:8px!important;margin-bottom:24px!important;padding:16px;border:1px solid #e6e2ee;border-radius:20px;background:#fff;color:#1a1433}
@media (min-width:1000px){
  .ptop-sn-top{display:grid;grid-template-columns:minmax(0,1.6fr) auto minmax(260px,1fr);align-items:center;gap:14px 28px;padding:18px}
  .ptop-sn-top .ptop-sn-prezzo{flex-direction:column;align-items:flex-start;gap:6px}
  .ptop-sn-top .ptop-sn-azioni{flex-direction:column;flex-wrap:nowrap;gap:10px}
  .ptop-sn-top .ptop-sn-azioni .ptop-sn-btn{flex:0 0 auto}
  .ptop-sn-top .ptop-sn-azioni .ptop-hrt-prod{justify-content:center;width:100%;min-height:46px!important}
  .ptop-sn-top .ptop-sn-nota{grid-column:1/-1}
}
.ptop-sn-ix{display:flex;align-items:center;gap:16px;padding:14px 18px;border-radius:16px;background:#f1f8f4;background:color-mix(in srgb,var(--ptop-c) 9%,#fff)}
.ptop-sn-ix .ptop-bn-tach3{flex:0 0 150px!important;width:150px!important;margin:0!important;align-self:center}
.ptop-sn-ix-t{flex:1;min-width:0}
.ptop-sn-ix .ptop-bn-ix>summary{display:flex;align-items:center;justify-content:center;gap:6px;margin:0 0 2px;list-style:none;cursor:pointer;color:#5f5a70;font-size:11px;line-height:1.2;font-weight:700;letter-spacing:.02em}
.ptop-sn-ix .ptop-bn-ix>summary::-webkit-details-marker{display:none}
.ptop-sn-ix .ptop-bn-ix>summary::marker{content:""}
.ptop-sn-ix .ptop-bn-ixq{display:inline-flex;align-items:center;justify-content:center;flex:none;width:16px;height:16px;border-radius:50%;background:#570C84;color:#fff;font-size:10px;font-weight:800}
/* legenda del "?": finestra propria (dialog). Il contenuto e' quello del plugin dell'Indice, copiato cosi' com'e' */
.ptop-sn-ix .ptop-bn-ix>summary{min-height:28px;padding:4px 6px;margin:-4px -6px 0;border-radius:8px;white-space:nowrap}
.ptop-sn-ix .ptop-bn-ix>summary:focus-visible{outline:2px solid #570C84;outline-offset:2px}
.ptop-sn-leg{box-sizing:border-box;width:min(460px,calc(100vw - 24px));max-height:min(82vh,660px);margin:auto;padding:0;border:0;border-radius:18px;overflow:auto;background:#fff;color:#1a1433;box-shadow:0 20px 60px rgba(26,20,51,.35)}
.ptop-sn-leg::backdrop{background:rgba(18,16,26,.5)}
.ptop-sn-leg-h{position:sticky;top:0;z-index:1;display:flex;align-items:center;gap:12px;padding:12px 12px 12px 16px;border-bottom:1px solid #e6e2ee;background:#fff}
.ptop-sn-leg-h h2{flex:1;margin:0!important;color:#1a1433;font-size:16px!important;line-height:1.3!important;font-weight:800!important}
.ptop-sn-leg-x{flex:none;width:44px;height:44px;padding:0;border:0;border-radius:12px;background:#f4f2f7;color:#1a1433;font-size:26px;line-height:1;cursor:pointer}
.ptop-sn-leg-c{padding:16px;font-size:14px;line-height:1.5}
.ptop-sn-leg-c p{margin:0 0 12px!important}
.ptop-sn-leg-c ul{list-style:none!important;margin:0 0 14px!important;padding:0!important;display:grid;gap:6px}
.ptop-sn-leg-c li{display:flex;align-items:center;gap:10px;margin:0!important;padding:6px 8px;border-radius:10px}
.ptop-sn-leg-c li.on{background:#f1edf7;font-weight:700}
.ptop-sn-leg-c .ptop-bn-ixs li>i{flex:none;width:10px;height:10px;border-radius:50%}
.ptop-sn-leg-c .ptop-bn-ixs li>b{min-width:58px}
.ptop-sn-leg-c .ptop-bn-ixp>b{display:block;margin:0 0 6px}
.ptop-sn-leg-c .ptop-bn-ixp li>svg{flex:none;width:32px;height:32px}
.ptop-sn-leg-c .ptop-bn-ixp li strong{display:block}
.ptop-sn-leg-c .ptop-bn-ixlogo{position:relative!important;left:auto!important;top:auto!important;flex:none;display:block;width:64px!important;height:12px!important;opacity:1!important;transform:none!important}
@media (max-width:600px){.ptop-sn-leg{width:100vw;max-width:100vw;margin:auto 0 0;border-radius:18px 18px 0 0}}
.ptop-sn-top .ptop-sn-frase{margin:0!important;font-size:19px;line-height:1.25;font-weight:800;color:#1a1433}
.ptop-sn-top .ptop-sn-sub{margin:4px 0 0!important;font-size:14px;line-height:1.45;color:#3a3550}
.ptop-sn-prezzo{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 12px}
.ptop-sn-val{font-size:44px;line-height:1;font-weight:800;letter-spacing:-.02em;font-variant-numeric:tabular-nums;color:#1a1433}
.ptop-sn-da{font-size:14px;color:#5f5a70}
.ptop-sn-altri{flex:0 0 100%;min-height:44px;margin:0;padding:0;border:0;background:none;color:#5b3d8f;font:inherit;font-size:14px;font-weight:700;text-align:left;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.ptop-sn-altri[hidden]{display:none!important}
body.ptop-sn #main .summary>.cegg-offers_logo_btn{scroll-margin-top:96px}
.ptop-sn-azioni{display:flex;flex-wrap:wrap;gap:12px}
.ptop-sn-btn{flex:1 1 240px;display:flex;align-items:center;justify-content:center;min-height:56px;padding:0 20px;border-radius:14px;font-size:17px;line-height:1.2;font-weight:800;text-align:center;text-decoration:none!important;transition:filter .15s}
.ptop-sn-btn:hover,.ptop-sn-btn:focus-visible{filter:brightness(.93)}
.ptop-sn-azioni .ptop-hrt-prod{flex:0 0 auto;margin:0!important;min-height:56px!important;padding:0 20px!important;border-radius:14px!important}
.ptop-sn-azioni .ptop-hrt-prod[hidden]{display:none!important}
.ptop-sn-top .ptop-sn-nota{margin:0!important;font-size:12px;line-height:1.5;color:#5f5a70}
@media (max-width:600px){
  /* senza bollini: tachimetro e testo affiancati */
  .ptop-sn-ix{gap:12px;padding:12px}
  .ptop-sn-ix .ptop-bn-tach3{flex-basis:136px!important;width:136px!important}
  .ptop-sn-ix .ptop-bn-ix>summary{font-size:10px}
  /* con un bollino accanto al tachimetro (Eco e simili): tachimetro e bollino sopra, testo sotto a tutta larghezza */
  .ptop-sn-ix:has(>:not(.ptop-bn-tach3):not(.ptop-sn-ix-t):not(script):not(style)){flex-wrap:wrap;justify-content:center;gap:10px 16px}
  .ptop-sn-ix:has(>:not(.ptop-bn-tach3):not(.ptop-sn-ix-t):not(script):not(style)) .ptop-bn-tach3{flex-basis:156px!important;width:156px!important}
  .ptop-sn-ix:has(>:not(.ptop-bn-tach3):not(.ptop-sn-ix-t):not(script):not(style)) .ptop-bn-ix>summary{font-size:11px}
  .ptop-sn-ix:has(>:not(.ptop-bn-tach3):not(.ptop-sn-ix-t):not(script):not(style)) .ptop-sn-ix-t{flex:1 1 100%}
  .ptop-sn-top .ptop-sn-frase{font-size:17px}
  .ptop-sn-val{font-size:30px}
}
/* grafico dei prezzi sotto la testata */
.ptop-sn-prezzi{margin:8px 0 28px;padding:20px;border:1px solid #e6e2ee;border-radius:16px;background:#fff}
.ptop-sn-prezzi>h2{margin:0 0 8px!important;color:#1a1433;font-size:20px!important;line-height:1.2!important;font-weight:800!important}
.ptop-sn-prezzi .container{max-width:none!important;margin:0!important;padding:0!important}
.ptop-sn-prezzi canvas{max-height:240px}
/* scheda a tutta larghezza: la colonna destra scende in fondo e diventa la riga "Alternative" (podio, poi i banner della colonna affiancati al centro; i riquadri di solo testo restano nascosti) */
body.ptop-sn #main .ct-container{grid-template-columns:minmax(0,1fr)!important}
body.ptop-sn #sidebar{grid-column:1/-1;width:auto!important;max-width:none!important;margin:32px 0 0!important}
body.ptop-sn #sidebar::before,body.ptop-sn #sidebar::after{content:none!important}
body.ptop-sn #sidebar .ct-sidebar{position:relative!important;top:auto!important;z-index:1;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:20px;width:auto!important;max-width:none!important}
body.ptop-sn #sidebar .ct-widget{display:none!important;margin:0!important}
body.ptop-sn #sidebar #ptop_podio_widget-2{display:block!important;order:1;flex:1 1 100%;min-width:0}
body.ptop-sn #sidebar .ct-widget.widget_block:not(.widget_text){display:block!important;order:2;flex:none;max-width:100%}
body.ptop-sn #sidebar .ptop-compact-list{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px}
body.ptop-sn #sidebar .ptop-compact-card{margin:0!important}
body.ptop-sn #sidebar .ptop-compact-card:has(a[href^="https://www.prezzotop.com/prodotto/logitech-pebble-2-m350s-mouse-bluetooth-rosa/"]){display:none!important}
/* telefono: barra fissa con il pulsante e, accanto, il cuore "Segui il prezzo" */
.ptop-sn-bar{display:none}
@keyframes ptopSnFoto{0%{opacity:0;transform:translateY(64px) scale(.6)}70%{opacity:1;transform:translateY(-6px) scale(1.04)}100%{opacity:1;transform:none}}
@media (max-width:768px){
  .ptop-sn-bar{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:990;align-items:center;gap:10px;padding:10px 14px calc(10px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid #e6e2ee;box-shadow:0 -4px 16px rgba(26,20,51,.08)}
  .ptop-sn-bar .ptop-sn-btn{flex:1 1 auto;min-width:0;min-height:50px;font-size:16px}
  .ptop-sn-bar--foto .ptop-sn-btn{padding:0 10px;font-size:15px}
  .ptop-sn-bar-foto{position:relative;flex:none;width:64px;height:50px}
  .ptop-sn-bar-foto>span{position:absolute;left:0;bottom:0;box-sizing:border-box;width:64px;height:80px;padding:3px;border:1px solid #e6e2ee;border-radius:14px;background:#fff;box-shadow:0 6px 18px rgba(26,20,51,.2);transform-origin:bottom center;animation:ptopSnFoto .7s cubic-bezier(.2,1.3,.4,1) .5s both}
  .ptop-sn-bar-foto .ptop-sn-foto-i{display:block;width:100%!important;height:100%!important;max-width:none;object-fit:contain;border-radius:10px}
  body.ptop-sn:has(.ptop-sn-bar) .ptop-sn-top .ptop-sn-azioni{display:none!important}
  body.ptop-sn:has(.ptop-sn-bar){padding-bottom:calc(72px + env(safe-area-inset-bottom))!important}
  body.ptop-sn:has(.ptop-tab.on) .ptop-sn-bar{padding-left:72px}
  body.ptop-sn:has(.ptop-tab.on) .ptop-sn-bar--foto{padding-left:14px}
  body.ptop-sn:has(.ptop-tab.on) .ptop-sn-bar--foto .ptop-sn-bar-foto{margin-right:56px}
  body.ptop-sn:has(.ptop-sn-bar) .ptop-tab{top:auto!important;right:auto!important;left:14px!important;bottom:calc(12px + env(safe-area-inset-bottom))!important;width:46px!important;height:46px!important;border:1.5px solid #570C84!important;border-radius:14px!important;box-shadow:none!important;transform:none!important;opacity:1!important}
  body.ptop-sn:has(.ptop-sn-bar) .ptop-tab .ptop-hrt{width:46px!important;height:46px!important;border-radius:14px!important}
  body.ptop-sn:has(.ptop-sn-bar) .ptop-tab .ptop-hrt svg{width:22px!important;height:22px!important}
  body.ptop-sn:has(.ptop-sn-bar) .ptop-tab .ptop-hrt:after{left:0!important}
  body.ptop-sn:has(.ptop-sn-bar) .ptop-tab .ptop-tab-l{top:auto!important;right:auto!important;left:0!important;bottom:100%!important;margin:0 0 10px!important;transform:none!important}
  body.ptop-sn:has(.ptop-sn-bar) .ptop-tab.on~.ptop-tab2{top:56%!important}
  body.ptop-sn:has(.ptop-sn-bar--foto) .ptop-tab{left:88px!important}
  @media (prefers-reduced-motion:reduce){.ptop-sn-bar-foto>span{animation:none}}
}
