/* Floating button + hover panel */
.attiva-compare-fab{
  position:fixed;
  right:18px;
  bottom:18px;
  z-index:99999;
  display:none;
  font-family: inherit;
}
.attiva-compare-fab.is-visible{ display:block; }

.attiva-compare-fab-inner{
  display:flex;
  align-items:stretch;
  /*border-radius:999px;*/
  overflow:hidden;
  /*box-shadow:0 16px 40px rgba(0,0,0,.20);*/
  background:#111;
  color:#fff;
}

.attiva-compare-fab-link{
  font-size: 0.9rem;
  /*border-radius: 2px;*/
  color: #fff;
  position: absolute;
  bottom: 68px;
  right: 8px;
  cursor: pointer;
  font-weight: 500;
  height: 40px;
  line-height: 20px;
  width: 144px;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.2);
  background-color: #D70926;
  transition: all 0.4s ease;
}
.attiva-compare-fab-link-popup{
  bottom: 14px!important;
}
.attiva-compare-fab-link:hover{
  color: #243063;
  opacity: .8;
  color: #fff;
  text-decoration: none;
}
.attiva-compare-fab-link:focus{
  color: #fff!important;
}

.attiva-compare-fab-text{
  display: inline-block;
  padding-left: 15px;
  padding-top: 11px;
  text-transform: uppercase;
}

.attiva-compare-fab-count{
  display:inline-flex;
  min-width:22px;
  height:22px;
  padding:0 6px;
  align-items:center;
  justify-content:center;
  background:rgba(255,255,255,1);
  font-weight:700;
  margin-left: 4px;
  color: #243063;
}

.attiva-compare-fab-toggle{
  border:none;
  background:rgba(255,255,255,.10);
  color:#fff;
  padding:0 12px;
  cursor:pointer;
  font-size:14px;
}

.attiva-compare-panel{
  position:absolute;
  right:0;
  bottom:54px;
  width:min(560px, calc(100vw - 36px));
  background:#fff;
  color:#111;
  box-shadow:0 24px 60px rgba(0,0,0,.25);
  padding:12px;
  display:none;
}

.attiva-compare-fab:hover .attiva-compare-panel,
.attiva-compare-fab:focus-within .attiva-compare-panel,
.attiva-compare-fab.is-open .attiva-compare-panel{
  display:block;
}

.attiva-compare-panel-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:4px 4px 10px 4px;
  border-bottom:1px solid #eee;
  margin-bottom:10px;
}

.attiva-compare-clear{
  /*border:1px solid #ddd;*/
  background:#fff;
  padding:6px 10px;
  /*border-radius:999px;*/
  cursor:pointer;
  white-space:nowrap;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.attiva-compare-items{
  list-style:none;
  padding-top:0;
  padding-left:0;
  padding-right:0;
  padding-bottom:15px;
  margin:0;
  display:flex;
  flex-direction:row;
  gap:10px;
  max-height:400px;
  overflow:auto;
  text-align: center;
}

.attiva-compare-item{
  /*border:1px solid #eee;
  border-radius:12px;*/
  overflow:hidden;
  display:flex;
  flex-direction:column;
  gap:10px;
  padding:10px;
  align-items:center;
  max-width: 170px;
  min-width: 170px;
}

.attiva-compare-thumb img{
  width:112px; object-fit:cover;
  /*border-radius:10px;
  display:block;*/
}
.attiva-compare-noimg{ width:54px; height:54px; border-radius:10px; background:#f2f2f2; }

.attiva-compare-meta{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:8px;
}
.attiva-compare-title{
  font-size: 14px;
  width: 100%;
  white-space: inherit;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: uppercase;
  text-align: center;
}
.attiva-compare-remove{
  cursor: pointer;
  width: 20px;
  font-size: 16px;
  font-weight: 500;
  color: #0a58ca!important;
  background-color: transparent!important;
  text-align: center;
  padding: 0px;
  border:0px!important;
}
.attiva-compare-remove:hover{
  color: #243063!important;
  border:0px!important;
}

.attiva-compare-hint{
  margin:10px 0 0;
  color:#666;
  font-size:13px;
}

/* Compare table */
.attiva-compare-table-wrap{ width:100%; }
.attiva-compare-table-scroll{
  width:100%;
  overflow:auto;
  /*border:1px solid #eee;
  border-radius:14px;*/
  -webkit-overflow-scrolling: touch;
}
.attiva-compare-table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  min-width:820px;
}
.attiva-compare-table th,
.attiva-compare-table td{
  padding:12px 14px;
  border-bottom:1px solid #eee;
  /*border-right:1px solid #eee;*/
  vertical-align:top;
  background:#fff;
}
.attiva-compare-table td {
  font-size: 1rem;
}
.attiva-compare-table thead th{
  position:sticky;
  top:0;
  background:#fafafa;
  z-index:2;
}
.attiva-compare-table tr:last-child td{ border-bottom:none; }
.attiva-compare-table th:last-child,
.attiva-compare-table td:last-child{ border-right:none; }
.attiva-sticky-col{
  z-index:3;
  min-width:220px;
}
.attiva-compare-table thead .attiva-sticky-col{
  background:#fafafa;
  z-index:4;
}
.attiva-field-label{ font-weight:600; background:transparent!important; border: 0px!important; text-align: right;text-transform: uppercase; }
.attiva-compare-prod{
  display:flex;
  gap:10px;
  align-items:center;
  text-decoration:none;
  color:#111;
}
.attiva-compare-prod img{
  width:44px;
  height:44px;
  object-fit:cover;
  border-radius:10px;
  flex:0 0 auto;
}
.attiva-compare-cellimg{
  width:120px;
  height:auto;
  margin-top:10px;
  margin-bottom:20px;
}
.attiva-compare-linkbtn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:8px 12px;
  border-radius:12px;
  border:1px solid #ddd;
  text-decoration:none;
  color:#111;
}
.attiva-compare-bullets{ margin:0; list-style: none;padding: 0px; }
.attiva-compare-bullets li{ border-bottom: 1px solid rgb(36, 48, 99);padding: 12px; height: 70px; }
.attiva-compare-bullets li:last-child { border-bottom:none; }

@media (max-width: 720px){
  .attiva-compare-fab{ right:12px; bottom:12px; }
  .attiva-compare-panel{ bottom:52px; }
  .attiva-sticky-col{ min-width:180px; }
  .attiva-compare-table{ min-width:760px; }
  .attiva-compare-cellimg{ width:84px; }
  .attiva-compare-bullets li{height: inherit;}
}
.certification-img-compare{
  width: 70px!important;
  margin-right:5px;
}
.attiva-compare-table h2{
  text-transform: uppercase;
  font-family: 'Montserrat';
  font-weight: 700;
  font-size: 1.7rem;
  line-height: 1.5;
}
.box-condividi-confrontaprodotti {
  text-align: right;
  margin-top: 70px;
  padding-right: 10px;
}