/* ===== OurValue Info - Stile Completo ===== */

.ovi__wrap {
  display: flex;
  gap: 50px;
  align-items: flex-start;
}

.ovi__list {
  width: 450px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}


.ovi__panels {
  width: 60%;
  min-height: 140px;
  position: relative;
  display: none; 
}


.ovi.has-active .ovi__panels {
  display: block;
}


.ovi__item {
  appearance: none;
  border: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  max-width: 350px;
  padding: 5px 10px;
  background: transparent;
  cursor: pointer;
  text-align: left;
  line-height: 1.2;
  transition: background 0.25s ease, color 0.25s ease;
}


.ovi__num {
  font-variant-numeric: tabular-nums;
  opacity: 0.9;
  font-weight: 900;
  font-size: 18px;
  letter-spacing: 0px;
  text-transform: uppercase;
  align-self: flex-start;
  line-height: 1;
  margin-top: var(--ovi-num-offset, 0);
  color: #000;
}


.ovi__label {
  color: #B6B6B6;
  transition: color 0.25s ease;
  font-weight: 400;
  font-size: 40px;
  line-height: 38px;
}


.ovi__toggle::before {
  content: '+';
  font-weight: 600;
  transition: transform 0.25s ease, color 0.25s ease;
  font-weight: 400;
  font-style: Regular;
  font-size: 40px;
  color: #000;
}


.ovi__item:hover,
.ovi__item.is-active {
  background: #E4CDA8;
}

.ovi__item:hover .ovi__label,
.ovi__item.is-active .ovi__label {
  color: #000;
}

.ovi__item.is-active .ovi__toggle::before {
  content: 'x';
}


.ovi__panel {
  display: none;
}

.ovi__panel.is-active {
  display: block;
}

.ovi__panel__inner {
  animation: fadeIn 0.3s ease;
}

/* Animazione comparsa pannello */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===== Mobile ===== */
@media (max-width: 1024px) {
  .ovi__wrap {
    flex-direction: column;
    gap: 18px;
  }

  .ovi__list,
  .ovi__panels {
    width: 100%;
  }

  .ovi__list {
    gap: 14px;
  }
  .ovi__item{
     max-width:none;
     border-top:1px solid #000000;
     border-bottom:1px solid #000000;
     padding: 30px;
  }
  .ovi__panel__inner{
    padding:80px 30px 0;
    
  }
}
