.ivtf-app {
    max-width: 760px;
    margin: 50px auto;
    position: relative;
    z-index: 10;
    color: #333;
}
.ivtf-app h2,
.ivtf-app h3,
.ivtf-app h4 {
    font-family: "Bebas Neue", sans-serif;
    text-align: center;
    color: #0b3507;
    font-weight: bold;
}
.ivtf-step {
    text-align: center;
    margin-bottom: 25px;
}
.ivtf-step h2 {
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 30px;
}
.ivtf-step p {
    color: #6f7a63;
    line-height: 1.6;
}
.ivtf-input {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 14px 16px;
    margin: 14px 0;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
}
.ivtf-options {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin: 20px 0;
}
.ivtf-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    border: 1px solid #e6e6e6;
    border-radius: 50px;
    cursor: pointer;
    background: #fff;
    transition: 0.25s;
    font-size: 16px;
}
.ivtf-option:hover {
    border-color: #d3a126;
    background: #fbfcf4;
}
.ivtf-option input {
    accent-color: #d3a126;
}
.ivtf-btn {
    background: #d3a126;
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 14px 36px;
    font-size: 16px;
    cursor: pointer;
    font-weight: bold;
    margin: 6px;
}
.ivtf-btn:hover {
    background: #b88917;
}
.ivtf-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
.ivtf-choose-treatment {
  white-space: normal;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: bold;
  margin-top: 10px;
}
.ivtf-secondary {
    background: #fff;
    color: #0b3507;
    border: 1px solid #d7d7d7;
}
.ivtf-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 25px;
    flex-wrap: wrap;
}
.ivtf-card {
    display: flex;
    gap: 20px;
    align-items: center;
    padding: 20px;
    border-radius: 20px;
    background: #fbfcf4;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
    text-align: left;
}
.ivtf-card img {
    width: 280px;
    height: 280px;
    object-fit: cover;
    border-radius: 16px;
}
.ivtf-card h3 {
    text-align: left;
    font-size: 28px;
}
.ivtf-addon-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
    margin: 20px auto;
    max-width: 500px;
}
.ivtf-addon-list label {
    display: flex;
    gap: 10px;
    align-items: center;
}
.ivtf-note {
    font-size: 13px;
}
/* Treatment Finder image option cards */
.ivtf-option-card {
  position: relative;
  display: block;
  cursor: pointer;
  overflow: hidden;
}

.ivtf-option-card > input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.ivtf-option-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.ivtf-option-image {
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: 14px;
}

.ivtf-option-image img {
  display: block;
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 14px;
}

.ivtf-option-label {
  display: block;
  width: 100%;
  padding: 14px 10px 6px;
  text-align: center;
  font-weight: 700;
}

/* Selected option */
.ivtf-option-card:has(input:checked) {
  border-color: #dca51d;
  box-shadow: 0 0 0 2px rgba(220, 165, 29, 0.25);
}

.ivtf-option-card:has(input:checked) .ivtf-option-image img {
  outline: 3px solid #dca51d;
  outline-offset: -3px;
}
/* =========================================
   Treatment Preview
   ========================================= */

.ivtf-treatment-preview {
  margin-top: 45px;
  width: 100%;
}

.ivtf-treatment-preview h3 {
  margin: 0 0 25px;
  text-align: center;
  font-size: 28px;
  font-weight: 700;
}

.ivtf-treatment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  width: 100%;
  margin-bottom: 30px;
}

.ivtf-treatment-card {
  border: 1px solid #ececec;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  transition: 0.25s;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  box-sizing: border-box;
}

.ivtf-treatment-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.ivtf-treatment-image {
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
}

.ivtf-treatment-image img {
  display: block;
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 12px;
}

.ivtf-treatment-card h4 {
  margin: 10px 0 0;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  min-height: 38px;
  color: #0b3507;
}

.ivtf-no-treatments {
  text-align: center;
  width: 100%;
}

.ivtf-recommendation {
  text-align: center;
}

.ivtf-recommendation > h2 {
  margin-bottom: 35px;
}

.ivtf-recommendation-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
  max-width: 900px;
  margin: 0 auto 30px;
}

.ivtf-recommendation-card {
  display: flex;
  align-items: center;
  gap: 40px;
  background: #ffffff;
  border-radius: 28px;
  padding: 24px;
  text-align: left;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.10);
}

.ivtf-recommendation-image {
  flex: 0 0 240px;
}

.ivtf-recommendation-image img {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 20px;
}

.ivtf-recommendation-content {
  flex: 1;
}

.ivtf-recommendation-content h3 {
  margin: 0 0 15px;
}

.ivtf-recommendation-content p {
  margin: 0;
  text-align: center;
}
.ivtf-plan-addons,
p.ivtf-plan-bag {
  margin-top: 30px;
}
.ivtf-plan-addons ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-left: 0;
}
.ivtf-plan-addons h4 {
  margin-bottom: 0;
}
.ivtf-addon-suggestions {
  max-width: 420px;
  margin: 20px auto 30px;
  padding-left: 22px;
  text-align: left;
}

.ivtf-addon-suggestions li {
  margin: 8px 0;
  font-weight: 600;
}
/* Tablet */
@media (max-width: 900px) {

  .ivtf-treatment-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}
/* Mobile */
@media (max-width: 767px) {
  .ivtf-option-image img {
    height: 150px;
  }
  .ivtf-recommendation-card {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .ivtf-recommendation-image {
    width: 100%;
    max-width: 320px;
    flex-basis: auto;
  }

  .ivtf-recommendation-image img {
    height: 260px;
  }
  .ivtf-treatment-card {
    padding: 14px;
  }

  .ivtf-treatment-image img {
    height: 150px;
  }

  .ivtf-treatment-card h4 {
    font-size: 14px;
    min-height: 34px;
  }

  .ivtf-choose-treatment {
    padding: 10px;
    font-size: 12px;
    border-radius: 10px;
    margin-top: 10px;
    width: 100%;
  }
}
@media (max-width: 600px) {
    .ivtf-app {
        margin: 30px 15px;
    }
    .ivtf-step h2 {
        font-size: 32px;
    }
    .ivtf-card {
        flex-direction: column;
    }
    .ivtf-card img {
        width: 100%;
        height: auto;
    }
    .ivtf-option {
        width: 100%;
        justify-content: center;
        box-sizing: border-box;
    }
    .ivtf-treatment-grid {
        grid-template-columns: 1fr;
    }

    .ivtf-treatment-preview {
        margin-top: 35px;
    }
}
