/*
 * Reusable S Touch pricing sections.
 */

.st_pricing_page.e-con,
.st_pricing_page .elementor-widget-shortcode,
.st_pricing_page .elementor-widget-container {
  --width: 100%;
  --content-width: 100%;
  --container-widget-width: 100%;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.st_pricing_page.e-con {
  max-width: 100vw;
  overflow: hidden;
}

.page-template-default:has(.st_pricing_page) .entry-header {
  display: none;
}

.page-template-default:has(.st_pricing_page) article.entry {
  width: 100%;
  max-width: 100%;
  margin-inline: 0;
  box-sizing: border-box;
}

.page-template-default:has(.st_pricing_page) .content-area,
.page-template-default:has(.st_pricing_page) .site-main,
.page-template-default:has(.st_pricing_page) .content-container,
.page-template-default:has(.st_pricing_page) .entry-content-wrap,
.page-template-default:has(.st_pricing_page) .entry-content,
.page-template-default:has(.st_pricing_page) .elementor {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.st_pricing_container {
  width: min(calc(100% - 3rem), 75rem);
  margin-inline: auto;
}

.st_pricing_heading {
  max-width: 48rem;
  margin: 0 auto clamp(3rem, 6vw, 5rem);
  text-align: center;
}

.st_pricing_heading__mark {
  display: grid;
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1.4rem;
  border-bottom: 1px solid var(--st-color-primary);
  color: var(--st-color-primary);
  font-size: 1.5rem;
  place-items: center;
}

.st_pricing_heading h2 {
  margin: 0;
  font-family: var(--st-font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.st_pricing_heading p {
  margin: 1.25rem auto 0;
  color: var(--st-color-muted);
  font-weight: 300;
  line-height: 1.8;
}

.st_packages {
  padding: clamp(6rem, 10vw, 9rem) 0;
  background: #fff
    url("../../../../uploads/2026/06/s-touch-home/st-pricing-flowers.jpg")
    center / cover no-repeat;
}

.st_packages__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 1.5rem;
}

.st_package {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 31rem;
  border: 1px solid rgba(218, 183, 116, 0.65);
  padding: 0 2.25rem 2.5rem;
  background: rgba(255, 255, 255, 0.94);
  text-align: center;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease;
}

.st_package:hover,
.st_package--featured {
  box-shadow: 0 1.5rem 4rem rgba(83, 72, 59, 0.1);
  transform: translateY(-0.5rem);
}

.st_package__badge {
  margin: 0 -2.25rem 2rem;
  padding: 1.25rem;
  background: var(--st-color-primary);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.st_package h3 {
  margin: 0;
  font-family: var(--st-font-display);
  font-size: 1.55rem;
  font-weight: 400;
}

.st_package__price {
  margin: 1.25rem 0;
  color: var(--st-color-text);
  font-family: var(--st-font-display);
  font-size: 2.7rem;
}

.st_package__anchor {
  margin: -0.5rem 0 1.5rem;
  color: var(--st-color-muted);
  font-size: 0.8rem;
  line-height: 1.6;
}

.st_package__anchor span {
  color: var(--st-color-text);
  font-weight: 600;
}

.st_package__features {
  flex: 1;
  border-top: 1px solid var(--st-color-border);
  padding-top: 1.6rem;
  color: var(--st-color-muted);
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.8;
}

.st_package__features ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.st_package__features li + li {
  margin-top: 0.6rem;
}

.st_package__link {
  align-self: center;
  margin-top: 1.75rem;
  border-bottom: 1px solid var(--st-color-primary);
  color: var(--st-color-text);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.st_price_list {
  padding: clamp(6rem, 10vw, 9rem) 0;
  background: #faf9f7;
}

.st_price_list__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin: -1rem 0 2.5rem;
  padding: 1.2rem 1.4rem;
  border: 1px solid rgba(218, 183, 116, 0.45);
  background: rgba(255, 255, 255, 0.8);
}

.st_price_list__anchor-note {
  margin: 0;
  color: var(--st-color-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.st_price_list__download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.8rem 1.35rem;
  border: 1px solid var(--st-color-primary);
  color: var(--st-color-text);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.st_price_list__download:hover,
.st_price_list__download:focus-visible {
  border-color: var(--st-color-text);
  background: var(--st-color-primary);
  color: #fff;
}

.st_price_list__groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.25rem;
}

@media (max-width: 1380px) {
  .st_price_list__groups {
    grid-template-columns: 1fr;
  }
}

.st_price_group {
  border: 1px solid var(--st-color-border);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: #fff;
}

.st_price_group h3 {
  margin: 0 0 1.75rem;
  border-bottom: 1px solid var(--st-color-primary);
  padding-bottom: 1rem;
  font-family: var(--st-font-display);
  font-size: 1.55rem;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.st_price_group .st_price_row {
  display: grid;
  grid-template-columns:
    minmax(11rem, 1.7fr) 4.5rem minmax(0.5rem, 0.4fr)
    minmax(5.5rem, 6.25rem) minmax(5.75rem, 6.5rem);
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 0;
}

.st_price_group .st_price_row--head {
  padding-top: 0;
  border-top: 0;
  color: var(--st-color-muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  align-items: start;
}

.st_price_group .st_price_row--head .st_price_row__content,
.st_price_group .st_price_row--head .st_price_row__duration,
.st_price_group .st_price_row--head .st_price_row__anchor-label,
.st_price_group .st_price_row--head .st_price_row__current-label {
  color: var(--st-color-muted);
  font-size: 0.72rem;
  font-weight: 600;
  white-space: normal;
  line-height: 1.35;
}

.st_price_group .st_price_row--head .st_price_row__duration,
.st_price_group .st_price_row--head .st_price_row__anchor-label,
.st_price_group .st_price_row--head .st_price_row__current-label {
  text-align: right;
  justify-self: end;
}

.st_price_row__anchor-label,
.st_price_row__current-label {
  display: grid;
  gap: 0.1rem;
  max-width: 7.5rem;
  text-wrap: balance;
}

.st_price_group .st_price_row + .st_price_row {
  border-top: 1px solid #eeeae4;
}

.st_price_row__content h4 {
  margin: 0;
  font-family: var(--st-font-body);
  font-size: 0.95rem;
  font-weight: 500;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: auto;
  text-wrap: pretty;
}

.st_price_row__content p {
  margin: 0.35rem 0 0;
  color: var(--st-color-muted);
  font-size: 0.78rem;
  font-weight: 300;
  line-height: 1.5;
}

.st_price_row__duration {
  color: var(--st-color-muted);
  font-size: 0.78rem;
  white-space: nowrap;
  text-align: right;
  justify-self: end;
  font-variant-numeric: tabular-nums;
}

.st_price_group .st_price_row__dots {
  border-bottom: 1px dotted #c9c1b6;
}

.st_price_group .st_price_row strong {
  color: var(--st-color-primary);
  font-size: 1.02rem;
  white-space: nowrap;
  text-align: right;
  justify-self: end;
  font-variant-numeric: tabular-nums;
}

.st_price_row__price {
  display: grid;
  gap: 0.18rem;
  justify-items: end;
  min-width: 0;
}

.st_price_row__price-label {
  display: none;
  color: var(--st-color-muted);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
}

.st_price_row__anchor {
  color: var(--st-color-muted);
  font-weight: 500;
  font-size: 0.86rem;
}

.st_price_list__note {
  margin: 2.5rem 0 0;
  color: var(--st-color-muted);
  font-size: 0.85rem;
  text-align: center;
}

.st_special_offers {
  padding: clamp(6rem, 10vw, 9rem) 0;
  background: #fff;
}

.st_special_offers__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.st_special_offer {
  border: 1px solid var(--st-color-border);
  padding: 2.5rem;
  text-align: center;
}

.st_special_offer > p {
  color: var(--st-color-primary);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.st_special_offer h3 {
  margin: 1rem 0;
  font-family: var(--st-font-display);
  font-size: 1.45rem;
  font-weight: 400;
}

.st_special_offer div {
  min-height: 5rem;
  color: var(--st-color-muted);
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.7;
}

.st_special_offer strong {
  display: block;
  margin-top: 1rem;
  color: var(--st-color-primary);
  font-family: var(--st-font-display);
  font-size: 1.6rem;
}

.st_special_offer__anchor {
  margin: 1.4rem 0 0;
  color: var(--st-color-muted);
  font-size: 0.8rem;
  line-height: 1.6;
}

.st_special_offer__anchor span {
  color: var(--st-color-text);
  font-weight: 600;
}

.st_pricing_hero {
  display: grid;
  min-height: clamp(26rem, 46vw, 40rem);
  padding: 2rem;
  background: url("../../../../uploads/2026/06/s-touch-home/st-pricing-hero.jpg")
    center / cover no-repeat;
  place-items: center;
}

.st_pricing_hero__box {
  width: min(100%, 45rem);
  border: 1px solid var(--st-color-primary);
  padding: clamp(3rem, 7vw, 6rem) 1.5rem;
  background: rgba(255, 255, 255, 0.88);
  text-align: center;
}

.st_pricing_hero__box p {
  margin: 0 0 1rem;
  color: var(--st-color-primary);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.st_pricing_hero__box h1 {
  margin: 0;
  font-family: var(--st-font-display);
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .st_packages,
  .st_price_list,
  .st_special_offers {
    padding-inline: clamp(1rem, 4vw, 2rem);
    box-sizing: border-box;
  }

  .st_pricing_container {
    width: 100%;
    max-width: 75rem;
  }

  .st_packages__grid,
  .st_special_offers__grid {
    grid-template-columns: 1fr;
  }

  .st_price_list__groups {
    grid-template-columns: 1fr;
  }

  .st_price_list__actions {
    align-items: flex-start;
  }

  .st_package {
    min-height: auto;
  }
}

@media (max-width: 600px) {
  .st_pricing_page,
  .st_pricing_page .elementor-widget-shortcode,
  .st_pricing_page .elementor-widget-container {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }

  .st_packages,
  .st_price_list,
  .st_special_offers {
    width: 100%;
    max-width: 100%;
    padding-inline: 1rem;
    box-sizing: border-box;
    overflow: hidden;
  }

  .st_pricing_container {
    width: 100%;
    max-width: 75rem;
    margin-inline: auto;
    box-sizing: border-box;
  }

  .st_packages__grid,
  .st_price_list__groups,
  .st_special_offers__grid,
  .st_package,
  .st_price_group,
  .st_special_offer {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-inline: auto;
    box-sizing: border-box;
  }

  .st_pricing_heading {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .st_pricing_heading h2 {
    width: 100%;
    font-size: clamp(1.65rem, 7.5vw, 2.1rem);
    letter-spacing: 0.04em;
    line-height: 1.25;
    overflow-wrap: anywhere;
    white-space: normal;
  }

  .st_pricing_heading p {
    width: 100%;
    max-width: 20rem;
    margin-inline: auto;
    padding-inline: 0.5rem;
    overflow-wrap: anywhere;
    white-space: normal;
  }

  .st_price_group .st_price_row {
    grid-template-columns: minmax(0, 1fr) auto;
    min-width: 0;
    align-items: start;
    gap: 0.45rem 1rem;
  }

  .st_price_group .st_price_row--head {
    display: none;
  }

  .st_price_row__content,
  .st_price_row__content h4,
  .st_price_row__content p,
  .st_price_row__price,
  .st_package li,
  .st_special_offer p,
  .st_special_offer h3,
  .st_package h3 {
    min-width: 0;
    overflow-wrap: normal;
  }

  .st_price_group .st_price_row__dots {
    display: none;
  }

  .st_price_row__duration {
    grid-column: 1;
    grid-row: 2;
    justify-self: start;
    text-align: left;
  }

  .st_price_row__price-label {
    display: block;
  }

  .st_price_row__price--anchor {
    grid-column: 2;
    grid-row: 2;
    justify-self: end;
    text-align: right;
    justify-items: end;
  }

  .st_price_row__price--anchor .st_price_row__price-label {
    font-size: 0.6rem;
    letter-spacing: 0.07em;
  }

  .st_price_row__anchor {
    font-size: 0.72rem;
    text-align: right;
    justify-self: end;
    white-space: normal;
  }

  .st_price_row__price--current {
    grid-column: 2;
    grid-row: 1;
    justify-items: end;
    align-self: start;
  }

  .st_price_row__current {
    justify-self: end;
    font-size: 1.12rem;
    line-height: 1.1;
    text-align: right;
  }

  .st_price_row__content h4 {
    font-size: 0.98rem;
    line-height: 1.45;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: manual;
    text-wrap: pretty;
  }
}
