section {
  text-align: justify !important;
}
/* وقتی هر تب فعال شد */
#tab1:checked ~ .tab-contain-all label[for="tab1"],
#tab2:checked ~ .tab-contain-all label[for="tab2"],
#tab3:checked ~ .tab-contain-all label[for="tab3"],
#tab4:checked ~ .tab-contain-all label[for="tab4"],
#tab5:checked ~ .tab-contain-all label[for="tab5"],
#tab6:checked ~ .tab-contain-all label[for="tab6"] {
  background: white;
  font-weight: bold;
  color: black;
  border-right: 1px solid #ccc;
  border-left: 1px solid #ccc;
  border-top: 4px solid #2196f3;
}

#tab1:checked ~ #content1,
#tab2:checked ~ #content2,
#tab3:checked ~ #content3,
#tab4:checked ~ #content4,
#tab5:checked ~ #content5,
#tab6:checked ~ #content6 {
  display: block;
}
/* ورودی‌ها مخفی می‌شن */
.tab-container input[type="radio"] {
 display: none;
}
.takhfif{
    background: #2196f3;
    padding: 6px;
    color: white;
    margin: 0px 10px;
    border-radius: 100%;
}

.p-takhfif{
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
    gap: 2px;
    justify-content: center;
}

.tab-contain-all{
    display: flex;
    flex-wrap: wrap;
    border-bottom: 1px solid #ccc;
}
.tab-price-list {
  display: inline-block;
  padding: 10px 20px;
  cursor: pointer;
  background: #f3f3f3;
  border-left: 1px solid #ccc;
  border-top: 1px solid #ccc;
  border-bottom: none;
  transition: 0.3s;
}

.tab-price-list.active-tab-price {
  background: white;
  font-weight: bold;
  color: black;
  border-right: 1px solid #ccc;
  border-left: 1px solid #ccc;
  border-top: 4px solid #2196f3;
}

.tab-content {
  display: none;
  padding: 20px;
  border: 1px solid #ccc;
  background: white;
  margin-top: -1px;
}

.tab-content.active-tab-price {
  display: block;
}

.price-container {
  column-gap: 20px;
  row-gap: 20px;
  padding: 20px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.price-box {
  position: relative;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  width: 23%;
  min-height: 300px;
}

.price-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.price-box img {
  width: 100%;
  display: block;
  border-bottom: 1px solid #ddd;
}

.text-overlay {
  position: absolute;
  top: 32px;
  left: -55px;
  background: #2196f3;
  color: #fff;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 12px;
  rotate: -45deg;
  width: 200px;
  text-align: center;
}

.box-content {
  padding: 15px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: aliceblue;
  height: 100%;
}

.box-content h4 {
  font-size: 16px;
  color: #333;
}

.box-content p {
  margin-top: 0px !important;
  margin-bottom: 0px !important;
  text-wrap: nowrap;
}

.price-box p{
    margin-top: 0px !important;
    margin-bottom: 0px !important;
}

.inv-btn {
  display: inline-block;
  background: #56c45f;
  color: #fff;
  padding: 8px 15px;
  border: none;
  border-radius: 5px;
  font-size: 14px;
  cursor: pointer;
  margin-top: 20px;
  transition: background 0.3s;
}

.inv-btn:hover {
  background: #469e4d;
}

.inv-btn a {
  color: #fff;
  text-decoration: none;
}

@media (max-width: 1000px) {
  .price-box {
    width: 48% !important;
  }
  .price-container {
    column-gap: 10px;
    row-gap: 20px;
    justify-content: space-between;
    padding: 5px;
  }
  .tab-price-list {
    width: 92%;
    text-align: center !important;
    margin-top: 10px;
    border-radius: 5px;
    border-bottom: 1px solid #ccc;
  }
  .tab-container {
    margin-top: 46px !important;
  }
  .tab-content {
    margin-top: 10px;
    padding: 5px;
  }
  .takhfif{
    margin: 0px 1px;
}
.p-takhfif{
    flex-direction: column-reverse;
}
.tab-contain-all{
  border-bottom: none;
  justify-content: center;
}
}
