/* === Treatment Single Base === */
.treatment-single .container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
}

.muted {
  opacity: 0.7;
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  font-size: 14px;
  line-height: 1;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 0.12s ease,
    opacity 0.12s ease;
}

.btn:hover {
  transform: translateY(-1px);
}
.btn-primary {
  background: #8b6749;
  color: #faf4ef !important;
}
.btn-outline {
  background: transparent;
  border-color: #8b6749;
  color: #8b6749;
}

/* === Banner === */
.treatment-banner {
  padding: 0 0 88px 0;
  color: #fff;
  background:
    linear-gradient(216deg, rgba(0, 0, 0, 0) 33%, rgba(0, 0, 0, 0.6) 76%),
    linear-gradient(0deg, rgba(59, 43, 30, 0.5), rgba(59, 43, 30, 0.5)),
    url("/wp-content/themes/hello-theme-child-master/assets/imgs/banners/treatments-banner.webp");
  background-size: cover;
  background-position: center;
  min-height: clamp(360px, 55vh, 579px);
  display: flex;
  align-items: flex-end;
}

.treatment-breadcrumbs a,
.treatment-breadcrumbs {
  color: #ededed !important;
  font-size: 20px !important;
  text-decoration: none;
  font-style: normal;
  font-weight: 400 !important;
  line-height: 150%;
}

.treatment-title {
  font-size: 54px;
  line-height: 1.05;
  margin: 32px 0 64px;
}
.treatment-banner__actions {
  margin-top: 6px;
}
.treatment-banner__inner {
  width: 100%;
}
/* === About header === */
.treatment-about {
  padding: 64px 0;
  background: #fff;
}
.treatment-about__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.treatment-about__heading {
  font-size: 56px;
  margin: 0;
}

/* === Tabs === */
.treatment-tabs__controls {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 64px 0 40px;
}
.tab {
  background: #f2e5da;
  color: #5e5243;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 14px;
  border: none;
  border-radius: 8px;
}
.tab.is-active {
  background-color: #e6ceb9;
  color: #3b2b1e;
  font-weight: 600;
  border: none;
}
.tab:hover {
  background-color: #e6ceb9;
  color: #3b2b1e;
  border: none;
}

/* === Grid === */
.treatment-about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 39px;
  align-items: start;
}
#tab-desc .wysiwyg-first {
  padding: 40px;
  background-color: #faf4ef;
  color: #3b2b1e;
  border-radius: 20px;
  font-size: 16px;
}
#tab-desc .wysiwyg-first h2,
#tab-desc .wysiwyg-first h3 {
  font-size: 24px;
  font-weight: 400;
}
#tab-desc .wysiwyg-second {
  padding: 40px;
  background-color: #563a1f;
  color: #ededed;
  border-radius: 20px;
  font-size: 16px;
}
#tab-desc .wysiwyg-second h2,
#tab-desc .wysiwyg-second h3 {
  font-size: 24px;
  font-weight: 400;
}
#tab-desc.panel.is-active {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
#tab-areas {
  background-color: #faf4ef;
  color: #5b4c40;
  padding: 56px 60px;
  font-size: 16px;
  border-radius: 20px;
}
/* === Image card === */
.treatment-media__figure {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: #eee;
  aspect-ratio: 4 / 5;
}
.treatment-media__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.treatment-media__price {
  display: flex;
  gap: 8px;
  position: absolute;
  right: 16px;
  bottom: 16px;
}
.treatment-media__price-inner {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 12px 20px;
  border-radius: 40px;
  background-color: #563a1f80;
  color: #ffffff;
  font-size: 16px;
  & .value {
    background-color: #eeddcc;
    color: #5b4c40;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 25px;
  }
}
/* === Panels === */
.panel {
  animation: fadeIn 0.16s ease;
}
@keyframes fadeIn {
  from {
    opacity: 0.4;
    transform: translateY(2px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.wysiwyg p {
  margin: 0 0 12px;
}
.wysiwyg ul {
  margin: 0;
  padding-left: 18px;
}
.wysiwyg li {
  margin: 6px 0;
}

/* Other info cards inside panel */
.other-info {
  gap: 24px;
  display: flex;
  flex-direction: column;
}
.other-info__item {
  background-color: #faf4ef;
  border-radius: 40px;
  padding: 24px 20px;
  display: flex;
  align-self: stretch;
  align-items: flex-start;
  gap: 24px;
}
.other-info__item-inner {
  & h3 {
    font-size: 16px;
    font-weight: 600;
    color: #563a1f;
    margin: 0;
  }
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-weight: 500;
  justify-content: center;
}

/* Footer buttons */
.treatment-about__footer {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 64px;
}

/* Responsive */
@media (max-width: 980px) {
  .treatment-title {
    font-size: 40px;
  }
  .treatment-about__grid {
    grid-template-columns: 1fr;
  }
  .treatment-about__header {
    flex-direction: column;
  }
  .treatment-about__heading {
    font-size: 28px;
  }
  .treatment-media {
    order: 2;
  }
  .treatment-panels {
    order: 1;
  }
  .other-info {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 420px) {
  .treatment-about__footer {
    flex-direction: column;
  }
  .treatment-about__badge img {
    width: 100%;
    max-width: 280px;
  }
  .treatment-tabs__controls {
    margin: 30px 0 30px;
  }
  #tab-desc .wysiwyg-first,
  #tab-desc .wysiwyg-second {
    padding: 20px;
  }
  #tab-areas {
    padding: 20px;
  }
  .other-info__item {
    padding: 20px 15px;
  }
  .treatment-media__price-inner {
    padding: 10px 10px;
  }
  .treatment-media__price-inner .value {
    padding: 10px 13px;
  }
}
/* Locations */
.locations {
  background-color: #FAF4EF;
    padding-top: 120px;
    padding-bottom: 120px;
}
@media (max-width: 780px) {
  .locations {
  background-color: #FAF4EF;
    padding-top: 40px;
    padding-bottom: 40px;
}
}
/* Single treatment FAQ */
.single-treatment-faq {
  margin-top: clamp(56px, 8vw, 96px);
  padding: clamp(28px, 4vw, 40px);
  background: #FAF4EF;
}
.single-treatment-faq__background {
max-width: 1440px;
margin: 0 auto;
}

.single-treatment-faq__header {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.single-treatment-faq__title {
  margin: 0;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.05;
  color: #3b2b1e;
}

.single-treatment-faq__accordion {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.single-treatment-faq__item {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.single-treatment-faq__question {
  margin: 0;
}

.single-treatment-faq__trigger {
  width: 100%;
  border: 0;
  cursor: pointer;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 20px;
  border-radius: 25px;
  background: #EFE1D3;
  color: #3B2B1E;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.single-treatment-faq__trigger:hover {
  transform: translateY(-1px);
}

.single-treatment-faq__trigger:focus-visible {
  outline: 2px solid #8b6749;
  outline-offset: 4px;
}

.single-treatment-faq__trigger-text {
  font-size: 18px;
  line-height: 150%;
}

.single-treatment-faq__icon {
  position: relative;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
}

.single-treatment-faq__icon-line {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 999px;
  background-color: currentColor;
  transform: translate(-50%, -50%);
  transition: opacity 0.2s ease;
}

.single-treatment-faq__icon-line--horizontal {
  width: 20px;
  height: 2px;
}

.single-treatment-faq__icon-line--vertical {
  width: 2px;
  height: 20px;
}

.single-treatment-faq__item.is-open .single-treatment-faq__icon-line--vertical {
  opacity: 0;
}

.single-treatment-faq__answer-inner {
  padding: 20px;
  border-radius: 36px;
  background-color: #ffffff;
  color: #3B2B1E;
}

.single-treatment-faq__answer-inner p,
.single-treatment-faq__answer-inner ul,
.single-treatment-faq__answer-inner ol {
  margin-top: 0;
}

.single-treatment-faq__answer-inner > *:last-child {
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .single-treatment-faq {
    padding: 32px 20px;
  }

  .single-treatment-faq__header {
    margin-bottom: 20px;
    align-items: center;
  }

  .single-treatment-faq__trigger {
    padding: 10px 20px;
  }

  .single-treatment-faq__answer-inner {
    padding: 16px 16px;
  }
}