.tab {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  padding: 1rem;
  gap: 0px;
}

.tab-inline {
  gap: 5px;
}

.tab input[type="radio"] {
  display: none;
}

.tab label {
  padding: 10px;
  min-width: 103px;
  text-align: center;
  background-color: #DFDFDF;
  color: #636363;
  border-right: 1px solid #636363;
  transition: all 0.2s ease-in;
}
.tab-inline label {
  background-color: transparent;
  border-bottom: 1px solid #636363;
  border-right: 0;
}
.tab img {
  width: calc(14vw + 10rem);
}

.tab .tab-container {
  width: 100%;
  padding: 20px;
  background: #fff;
  order: 1;
  display: none;
  transition: all 1s ease;
}


.tab input[type='radio'] + label{
  display: flex;
  cursor: pointer;
  gap: 10px;
  justify-content: center;
  align-items: center;
}

.tab input[type='radio']:checked + label + .tab-container {
  display: block;
}

.tab input[type="radio"]:hover + label {
  opacity: 0.6;
}

.tab input[type="radio"]:hover + label {
  opacity: 0.6;
  border-right: none;
}

.tab-inline input[type="radio"]:disabled + label {
  opacity: 0.2;
  border-bottom: 1px solid #636363;
}

.tab input[type="radio"]:disabled + label {
  opacity: 0.2;
  border-bottom: 1px solid #636363;
}

.tab input[type="radio"]:checked + label {
  background: #fff;
  color: #191919;
  border-top: 2px solid #F66902;
  border-bottom: none;
}

.tab-inline input[type="radio"]:checked + label {
  background: #fff;
  color: #191919;
  border-top: none;
  border-bottom: 2px solid #F66902;
}

@media screen and (max-width: 992px) {
  .tab label{
    width: 103px;
  }
}




@media screen and (min-width: 325px) {
  .tab label{
    width: 100%;
  }

}


@media screen and (min-width: 768px) {
  .tab label{
    min-width: 103px;
    width: max-content;
  }
}
