/* S2 Spa — late rules: where a Flatsome element prints its own markup (button, banner, slider, image,
   product repeater), map it onto the reference's look. Loaded last. */

/* ---------- Buttons = .spa-button (index.css) ---------- */
.button.spa-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  min-height: 0;
  max-width: none;
  line-height: inherit;
  font-family: var(--font-family-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  padding: 1rem 2.5rem;
  border-radius: 9999px;
  text-transform: uppercase;
  text-shadow: none;
  vertical-align: middle;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.button.spa-button span { line-height: inherit; }
.button.spa-button--primary { background-color: var(--spa-text-secondary); border: 1px solid var(--spa-text-secondary); color: #fff; box-shadow: 0 4px 15px rgba(142, 76, 53, 0.15); }
.button.spa-button--outline-light { background-color: rgba(255, 255, 255, 0.04); color: #fff; border: 1px solid rgba(255, 255, 255, 0.4); backdrop-filter: blur(8px); }
.button.spa-button--outline-dark { background-color: transparent; color: var(--spa-text-primary); border: 1px solid rgba(31, 26, 23, 0.4); }
@media (min-width: 992px) and (hover: hover) and (pointer: fine) {
  .button.spa-button--primary:hover { background-color: #6d3825; border-color: #6d3825; color: #fff; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(142, 76, 53, 0.25); }
  .button.spa-button--outline-light:hover { background-color: #fff; color: var(--spa-text-primary); border-color: #fff; transform: translateY(-2px); box-shadow: none; }
  .button.spa-button--outline-dark:hover { background-color: var(--spa-text-primary); color: #fff; border-color: var(--spa-text-primary); transform: translateY(-2px); box-shadow: none; }
}

/* ---------- 1. Hero: [ux_slider] of [ux_banner] ---------- */
#content > .section.spa-home-hero { display: block; padding: 0; height: auto; min-height: 0; max-height: none; }
.spa-home-hero .slider-wrapper, .spa-home-hero .slider { margin: 0; }
.spa-home-hero .banner {
  height: calc(100vh - var(--header-height, 4.5rem)) !important;
  max-height: 58rem;
  min-height: 44rem;
  padding-top: 0 !important;
  background: var(--spa-bg-dark);
}
.spa-home-hero .banner .bg { object-fit: cover; object-position: center; }
.spa-home-hero .banner .overlay {
  background: radial-gradient(circle at center, rgba(31, 26, 23, 0.2) 0%, rgba(31, 26, 23, 0.65) 100%),
              linear-gradient(180deg, rgba(31, 26, 23, 0.3) 0%, rgba(31, 26, 23, 0.7) 100%) !important;
}
.spa-home-hero .banner-layers { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--bed-gutter); }
.spa-home-hero .text-box { width: 100% !important; max-width: none; }
.spa-home-hero .text-box-content { width: 100%; }
.spa-home-hero .text-inner {
  max-width: 52rem;
  margin: 0 auto;
  padding: 2rem 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  text-align: center;
}
.spa-home-hero .text-inner > .text { flex: 0 0 100%; max-width: 100%; margin: 0; padding: 0; }
.spa-home-hero .spa-home-hero__content p { margin-bottom: 2rem; }
.spa-home-hero .spa-home-hero__content .spa-hero-title {
  font-family: var(--font-family-heading);
  font-size: clamp(2.75rem, 5.5vw, 4.75rem);
  line-height: 1.12;
  margin-bottom: 1.75rem;
  color: #fff;
  font-weight: 300;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.25);
}
.spa-home-hero .spa-home-hero__content .spa-hero-title em { font-style: italic; font-weight: 300; color: #EFEAE1; }
.spa-home-hero .flickity-page-dots {
  bottom: 1.75rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  height: 2.75rem;
  margin: 0;
}
.spa-home-hero .flickity-page-dots .dot {
  width: 0.5rem;
  height: 0.5rem;
  margin: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  opacity: 1;
  transition: width 0.3s ease, background-color 0.3s ease;
}
.spa-home-hero .flickity-page-dots .dot.is-selected { width: 1.75rem; background: #fff; }
.spa-home-hero .s2-hero-pause {
  display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
  width: 2.75rem; height: 2.75rem; padding: 0; margin: 0; min-height: 0;
  border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 999px;
  background: rgba(31, 26, 23, 0.35); color: #fff; cursor: pointer;
}
.spa-home-hero .s2-hero-pause svg { display: block; }

/* ---------- Section heading rows ---------- */
.row.spa-section-heading--center > .col { width: 100%; flex: 0 0 100%; }

/* ---------- Product sliders: Swiper's slidesPerView/spaceBetween of the reference ---------- */
.s2-product-slider.row { max-width: none; width: auto; margin: 0 -15px; padding: 0; }
.s2-product-slider .product-small.col { padding: 0 15px; width: 25%; max-width: 25%; flex-basis: 25%; }
.s2-product-slider .flickity-viewport { overflow: visible; }
@media (max-width: 1279px) {
  .s2-product-slider.row { margin: 0 -14px; }
  .s2-product-slider .product-small.col { padding: 0 14px; width: calc(100% / 3.1); max-width: none; flex-basis: auto; }
}
@media (max-width: 991px) {
  .s2-product-slider.row { margin: 0 -12px; }
  .s2-product-slider .product-small.col { padding: 0 12px; width: calc(100% / 2.1); }
}
@media (max-width: 639px) {
  .s2-product-slider.row { margin: 0 -10px; }
  .s2-product-slider .product-small.col { padding: 0 10px; width: calc(100% / 1.1); }
}
.s2-product-slider .flickity-prev-next-button { display: none; }
.s2-product-slider .flickity-page-dots { position: static; display: flex; justify-content: center; align-items: center; gap: 0.5rem; margin-top: 3rem; }
.s2-product-slider .flickity-page-dots .dot { width: 24px; height: 3px; border-radius: 2px; margin: 0; border: 0; background: rgba(184, 149, 104, 0.3); opacity: 1; transition: width 0.4s ease, background-color 0.4s ease; }
.s2-product-slider .flickity-page-dots .dot.is-selected { width: 44px; background: var(--spa-text-gold); }
@media (max-width: 767px) { .s2-product-slider .flickity-page-dots { margin-top: 1.5rem; } }
.spa-home-flash__footer .col-inner { display: flex; justify-content: center; align-items: center; width: 100%; }

/* ---------- Trust strip ---------- */
.spa-home-trust__item .col-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.spa-home-trust .img.spa-home-trust__icon-wrap { width: 48px !important; height: 48px; margin: 0 auto 1.1rem; }
.spa-home-trust .img.spa-home-trust__icon-wrap img { width: 100%; height: 100%; object-fit: contain; }

/* ---------- Image columns ---------- */
.spa-home-intro__media .img, .spa-home-intro__media .img-inner { height: 100%; }
.spa-home-intro__media .img .img-inner { overflow: visible; }

/* ---------- Content columns with a button + price footer ---------- */
.spa-home-spotlight__content .col-inner,
.spa-home-botanical__content .col-inner { display: flex; flex-wrap: wrap; align-items: center; column-gap: 2.5rem; }
.spa-home-botanical__content .col-inner { column-gap: 2.25rem; }
.spa-home-spotlight__content .col-inner > .text:first-child,
.spa-home-botanical__content .col-inner > .text:first-child { flex: 0 0 100%; }
.spa-home-spotlight__price, .spa-home-botanical__price { margin: 0; }
.spa-home-space__content .button { margin: 0; }

/* ---------- Before / after ---------- */
.spa-home-ba__text p { font-size: 0.9375rem; line-height: 1.8; color: var(--spa-text-secondary); font-weight: 300; max-width: 32rem; }
.spa-home-ba__cases .col-inner { width: 100%; }
.s2-compare[hidden] { display: none; }
.spa-home-ba__frame img { max-width: none; }
.spa-home-ba__handle svg { display: block; }

/* ---------- Testimonials: [ux_slider] of Text cards ---------- */
.spa-home-testimonials__slider .flickity-slider > .spa-testimonial-card,
.spa-home-testimonials__slider .slider > .spa-testimonial-card { width: calc((100% - 64px) / 3); margin-right: 32px; height: auto; min-height: 100%; }
@media (max-width: 1279px) {
  .spa-home-testimonials__slider .flickity-slider > .spa-testimonial-card,
  .spa-home-testimonials__slider .slider > .spa-testimonial-card { width: calc((100% - 28px) / 2); margin-right: 28px; }
}
@media (max-width: 991px) {
  .spa-home-testimonials__slider .flickity-slider > .spa-testimonial-card,
  .spa-home-testimonials__slider .slider > .spa-testimonial-card { width: calc((100% - 12px) / 1.5); margin-right: 24px; }
}
@media (max-width: 639px) {
  .spa-home-testimonials__slider .flickity-slider > .spa-testimonial-card,
  .spa-home-testimonials__slider .slider > .spa-testimonial-card { width: 100%; margin-right: 20px; }
}
.spa-home-testimonials__slider .flickity-viewport { overflow: hidden; }
.spa-testimonial-card__footer { display: flex; align-items: center; gap: 1rem; border-top: 1px solid rgba(184, 149, 104, 0.2); padding-top: 1.5rem; }
.spa-testimonial-card__footer strong { display: block; font-size: 1.375rem; font-family: var(--font-family-heading, 'EB Garamond', serif); color: #ffffff; font-weight: 300; }
.spa-testimonial-card__footer span { display: block; font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--spa-text-gold); margin-top: 0.35rem; }

/* ---------- Booking band: the column is the glass box ---------- */
.spa-home-booking__inner .col-inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; }
.spa-home-booking__inner .col-inner > .text { flex: 0 0 100%; }
.spa-home-booking__inner .button { margin: 0; }

/* ---------- Journal ---------- */
.spa-home-journal__top { align-items: flex-end; justify-content: space-between; }

/* ---------- Footer block ---------- */
#footer .section.spa-footer { padding-bottom: 3.5rem !important; display: block; }
.s2-contents > .col-inner { display: contents; }
:where(.s2-footer) .row.s2-wrap > .col { width: 100%; flex: 0 0 100%; }
.spa-footer .button.spa-footer__cta { margin: 0; min-height: 0; line-height: 1.2; letter-spacing: 0.18em; }
.spa-footer .spa-footer__logo { width: auto !important; max-width: 220px; margin-bottom: 1.25rem; }
.spa-footer .spa-footer__logo img { width: 220px; height: auto; }
.spa-footer .spa-footer__legal > div { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; }
.spa-footer .spa-footer__copy p { margin: 0; font-size: inherit; color: inherit; }
.s2-ico::before {
  content: ""; flex: 0 0 16px; width: 16px; height: 16px; margin-top: 0.2rem; background-color: #B89568;
  -webkit-mask: var(--s2-icon) center / contain no-repeat; mask: var(--s2-icon) center / contain no-repeat;
}
.s2-ico--location { --s2-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6'%3E%3Cpath d='M12 21s-7-6.2-7-11.5A7 7 0 0 1 19 9.5C19 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E"); }
.s2-ico--phone { --s2-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6'%3E%3Cpath d='M5 4h4l2 5-2.5 1.5a11 11 0 0 0 5 5L15 13l5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 3 6a2 2 0 0 1 2-2z'/%3E%3C/svg%3E"); }
.s2-ico--email { --s2-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3 7l9 6 9-6'/%3E%3C/svg%3E"); }
.s2-ico--calendar { --s2-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E"); }
.s2-chevron::before { content: ""; display: block; width: 14px; height: 14px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) scale(0.6); }
#footer { background: #1F1A17; }

/* ---------- Before / after built from Flatsome elements ---------- */
.s2-ba-list { counter-reset: s2ba; list-style: none; padding: 0; }
.s2-ba-list li { counter-increment: s2ba; margin: 0; list-style: none; }
.s2-ba-list li::before {
  content: counter(s2ba, decimal-leading-zero);
  font-family: var(--font-family-body, 'DM Sans', sans-serif);
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  color: var(--spa-text-gold);
}
.row.s2-ba-case { margin: 0; width: 100%; max-width: none; padding: 0; }
.row.s2-ba-case > .col { padding: 0; flex-basis: 100%; max-width: 100%; width: 100%; }
.spa-home-ba__note p { font-size: inherit; line-height: inherit; color: inherit; margin: 0; }
.spa-home-ba__frame .spa-home-ba__img { max-width: none; }
.spa-home-flash__heading .ux-timer { display: none; }

/* Heading rows keep the container gutter (theme.css resets padding-inline-start of .spa-section-heading) */
.section-content > .row.spa-section-heading { padding-left: var(--bed-gutter); padding-right: var(--bed-gutter); }

/* Testimonials: card widths of the reference's Swiper (1 / 1.5 / 2 / 3 per view) */
.spa-home-testimonials__slider .flickity-slider > .text.spa-testimonial-card { width: calc((100% - 64px) / 3) !important; margin-right: 32px; }
@media (max-width: 1279px) { .spa-home-testimonials__slider .flickity-slider > .text.spa-testimonial-card { width: calc((100% - 28px) / 2) !important; margin-right: 28px; } }
@media (max-width: 991px) { .spa-home-testimonials__slider .flickity-slider > .text.spa-testimonial-card { width: calc((100% - 12px) / 1.5) !important; margin-right: 24px; } }
@media (max-width: 639px) { .spa-home-testimonials__slider .flickity-slider > .text.spa-testimonial-card { width: 100% !important; margin-right: 20px; } }
.spa-home-testimonials__slider .flickity-prev-next-button { display: none; }
.spa-home-testimonials__slider .flickity-page-dots,
.spa-home-journal__slider .flickity-page-dots { position: static; display: flex; justify-content: center; align-items: center; gap: 0.5rem; margin-top: 3rem; }
.spa-home-testimonials__slider .flickity-page-dots .dot,
.spa-home-journal__slider .flickity-page-dots .dot { width: 24px; height: 3px; border-radius: 2px; margin: 0; border: 0; background: rgba(184, 149, 104, 0.3); opacity: 1; }
.spa-home-testimonials__slider .flickity-page-dots .dot.is-selected,
.spa-home-journal__slider .flickity-page-dots .dot.is-selected { width: 44px; background: var(--spa-text-gold); }
@media (max-width: 767px) {
  .spa-home-testimonials__slider .flickity-page-dots, .spa-home-journal__slider .flickity-page-dots { margin-top: 1.5rem; }
}

/* Nested rows (row_inner) never take Flatsome's negative gutters here */
.row .row.s2-ba-case { margin-left: 0 !important; margin-right: 0 !important; width: 100% !important; max-width: none !important; }

/* Flatsome zeroes the bottom margin of the last element of a Text: give back the reference's spacing */
.s2-site .spa-home-spotlight__text > ul:last-child { margin-bottom: 2.75rem; }
.s2-site .spa-home-space__text > p:last-child { margin-bottom: 2.5rem; }
.s2-site .spa-home-botanical__text > div:last-child { margin-bottom: 2.75rem; }
.s2-site .spa-home-booking__text > p:last-child { margin-bottom: 3.25rem; }
@media (max-width: 767px) { .s2-site .spa-home-booking__text > p:last-child { margin-bottom: 1.75rem; } }
.s2-site .spa-home-intro__text > span:last-child { margin-bottom: 0; }

/* Flash: the reference keeps an (empty) pagination row above the footer */
.spa-home-flash__footer { margin-top: calc(2.5rem + 3rem + 3px); }
@media (max-width: 767px) { .spa-home-flash__footer { margin-top: calc(2.5rem + 1.5rem + 3px); } }

/* ---------- Inner pages ---------- */
.button.spa-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; max-width: 100%;
  margin: 0; padding: 0.625rem 1.25rem; border: 1px solid transparent; border-radius: var(--radius-sm, 8px);
  font-family: var(--font-family-body); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.06em;
  line-height: 1.5; text-transform: uppercase; box-shadow: none;
}
.button.spa-btn--primary { background: var(--bed-deep, #8E4C35); border-color: var(--bed-deep, #8E4C35); color: #fff; }
.button.spa-btn--primary:hover { background: #7A3F2C; border-color: #7A3F2C; color: #fff; box-shadow: 0 4px 12px rgba(142, 76, 53, 0.2); }
.button.spa-btn--outline { background: transparent; border-color: var(--bed-deep, #8E4C35); color: var(--bed-deep, #8E4C35); }
#content > .section.spa-about-hero, #content > .section.spa-contact-hero, #content > .section.spa-blog-hero { padding-bottom: 2.5rem !important; }
.spa-about-space__text .spa-about-features { margin: 1.5rem 0 2rem !important; }
.spa-about-space__media .img-inner img { border-radius: 16px; box-shadow: 0 20px 40px rgba(31, 26, 23, 0.12); }

/* ---------- Services (dich-vu) ---------- */
#content > .section.spa-treatments-hero { display: flex; padding-top: 0 !important; padding-bottom: 0 !important; background: #1F1A17; }
#content > .section.spa-treatments-hero > .section-bg { display: block; }
.spa-treatments-hero > .section-bg .bg { object-fit: contain !important; }
.spa-treatments-hero > .section-bg .section-bg-overlay { background: linear-gradient(180deg, rgba(31, 26, 23, 0.45) 0%, rgba(31, 26, 23, 0.75) 100%) !important; }
.spa-treatments-hero > .section-content > .row { padding-top: 3rem; padding-bottom: 3rem; }
.spa-treatments-hero__content { max-width: 48rem; margin: 0 auto; text-align: center; color: #fff; }
.spa-treatments-hero__desc h2, .spa-treatments-hero__desc h3 { color: #fff; }
.s2-price-table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; background: var(--color-white, #fff); border-radius: var(--radius-sm, 0); overflow: hidden; text-align: left; }
.s2-price-table th { background: var(--color-primary, #8E4C35); color: #fff; padding: 1rem 1.5rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.75rem; border: 1px solid #e5e5e5; }
.s2-price-table td { padding: 1rem 1.5rem; color: var(--color-gray-dark, #43474e); border: 1px solid #e5e5e5; font-size: 1rem; }
.s2-price-table tbody tr:nth-child(odd) { background: var(--color-gray-light, #FAF7F2); }
.spa-treatments-grid.row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; margin: 0; max-width: none; width: 100%; }
.spa-treatments-grid.row > .col { padding: 0; width: auto; max-width: none; flex-basis: auto; }
.spa-treatments-grid.row > .col.is-hidden { display: none; }
@media (max-width: 1023px) { .spa-treatments-grid.row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; } }
@media (max-width: 639px) { .spa-treatments-grid.row { grid-template-columns: 1fr; gap: 1.5rem; } }
.spa-treatments-filter > div:first-child { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; }
.spa-treatment-featured__content .col-inner { display: flex; flex-wrap: wrap; gap: 0.875rem 1rem; }
.spa-treatment-featured__content .col-inner > .text { flex: 0 0 100%; display: flex; flex-direction: column; gap: 0.875rem; align-items: flex-start; }
.spa-treatment-featured__media .img, .spa-treatment-featured__media .img-inner { height: 100%; }
.spa-treatment-featured__media img { height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.button.spa-btn-gold { margin: 0; min-height: 0; padding: 0.65rem 1.75rem; background: var(--color-secondary, #C5A059); color: #fff; border: none; border-radius: 8px; font-family: var(--font-family-body); font-weight: 700; font-size: 1rem; line-height: 1.5; letter-spacing: 0; text-transform: none; }
.button.spa-btn-gold:hover { opacity: 0.9; background: var(--color-secondary, #C5A059); color: #fff; }
.button.spa-button--outline { background: transparent; color: var(--spa-text-secondary); border: 1px solid var(--spa-text-secondary); }
.spa-treatments-cta__inner .col-inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; text-align: center; }
.spa-treatments-cta__inner .col-inner > .text { flex: 0 0 100%; }
#content > .section.spa-treatments-cta { padding-top: 4.5rem; }
.spa-treatments-hero .spa-eyebrow { display: inline; font-family: var(--font-family-body); font-size: 0.875rem; letter-spacing: normal; text-transform: none; margin: 0; color: inherit; font-weight: 400; }
.s2-price-table th, .s2-price-table td { line-height: 1.7; }
.s2-price-table td { text-align: center; }
.button.spa-button--outline { background: transparent; border: 0; padding: 0; margin: 0; min-height: 0; color: #1F1A17; font-family: var(--font-family-body); font-size: 0.8125rem; font-weight: 400; letter-spacing: 0; text-transform: none; line-height: 1.5; box-shadow: none; }
.spa-treatments-cta__inner .col-inner { row-gap: 0; }

/* ---------- FAQ ---------- */
#content > .section.bed-faq__hero { background: var(--bed-mint-soft); }
.spa-page-heading h1 { font-family: var(--font-family-heading); font-size: clamp(2.25rem, 4.5vw, 3.75rem); font-weight: 400; color: var(--bed-deep); line-height: 1.1; margin: 0.75rem 0 1rem; }
.spa-page-heading__description { max-width: 40rem; color: var(--bed-muted); font-size: 1.0625rem; line-height: 1.7; margin: 0; }
.bed-faq__hero .searchform-wrapper, .bed-faq__hero .s2-faq-search { max-width: 36rem; margin: 2.5rem 0 0; }
.bed-faq__hero .searchform .flex-row { border: 1px solid var(--bed-line); background: #fff; padding: 0 1.25rem; }
.bed-faq__hero .searchform input[type="search"] { min-height: 3.5rem; border: 0; box-shadow: none; background: transparent; font-size: 1rem; }
.bed-faq__hero .searchform .button { background: transparent; color: var(--bed-deep); box-shadow: none; }
.bed-faq__layout > .col.bed-faq__aside { position: sticky; top: calc(var(--header-height) + 2rem); padding-top: 1.5rem; border-top: 1px solid var(--bed-line); }
.bed-faq__nav .bed-eyebrow { display: block; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--bed-deep); margin-bottom: 0.75rem; }
.bed-faq__nav-links { display: grid; gap: 0.75rem; }
.bed-faq__groups .col-inner { display: grid; gap: 0; }
.faq-group h2 { margin: 2rem 0 1.5rem; font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 400; color: var(--bed-deep); }
.bed-faq__groups .col-inner > .faq-group:first-child h2 { margin-top: 0; }
.bed-faq__accordion { border-bottom: 1px solid var(--bed-line); }
.bed-faq__accordion .accordion-item { border-top: 1px solid var(--bed-line); }
.bed-faq__accordion .accordion-title {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.75rem;
  padding: 0; border: 0; color: var(--bed-deep); font-family: var(--font-family-body); font-size: 1.0625rem; font-weight: 600;
}
.bed-faq__accordion .accordion-title.active { color: var(--bed-deep); border: 0; background: none; }
.bed-faq__accordion .accordion-title .toggle { position: static; order: 2; width: auto; height: auto; margin: 0; color: var(--bed-deep); }
.bed-faq__accordion .accordion-inner { padding: 0 0 1.75rem; }
.faq-item__answer { max-width: 46rem; color: var(--bed-muted); line-height: 1.75; }
.faq-item__answer p { margin: 0; font-size: 1rem; line-height: 1.75; }
#content > .section.bed-faq__contact { background: var(--bed-deep); color: #fff; }
.bed-faq__contact-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.bed-section-heading--light .bed-eyebrow { display: block; color: rgba(255, 255, 255, 0.85); font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; }
.bed-section-heading--light h2 { color: #fff !important; }
.bed-section-heading--light h2::after { background: linear-gradient(90deg, rgba(255,255,255,.7) 0%, rgba(255,255,255,0) 100%) !important; }
.button.bed-button { margin: 0; min-height: 2.75rem; padding: 0 1.5rem; background: #fff; color: var(--bed-deep); border: 1px solid #fff; border-radius: 8px; font-family: var(--font-family-body); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.06em; line-height: 2.75rem; }
@media (max-width: 767px) {
  .bed-faq__layout > .col.bed-faq__aside { position: static; }
  .bed-faq__contact-inner { align-items: flex-start; flex-direction: column; }
}

/* ---------- Contact ---------- */
.spa-contact-form-panel .wpcf7 label { width: 100%; display: flex; flex-direction: column; gap: 0.4rem; font-size: 0.875rem; font-weight: 600; color: #1F1A17; margin: 0; }
.spa-contact-form-panel .spa-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.25rem; margin-top: 1.5rem; }
.spa-contact-form-panel .spa-form-group--full { grid-column: 1 / -1; }
.spa-contact-form-panel .spa-form-group p { margin: 0; }
.spa-contact-form-panel .wpcf7 .spa-form-input { width: 100%; min-height: 3rem; height: auto; margin: 0; padding: 0.75rem 1rem; border: 1px solid #E2D9CC; border-radius: 8px; background: #fff; box-shadow: none; font-size: 0.9375rem; font-weight: 400; }
.spa-contact-form-panel .wpcf7 textarea.spa-form-input { min-height: 8rem; }
.spa-contact-form-panel .wpcf7 .req { color: var(--bed-deep); }
.spa-contact-form-panel .wpcf7 input[type="submit"].spa-btn { width: 100%; min-height: 3rem; margin: 0; border-radius: 8px; background: #8E4C35; border: 1px solid #8E4C35; color: #fff; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; box-shadow: none; }
.spa-contact-form-panel .wpcf7 input[type="submit"].spa-btn:hover { background: #7A3F2C; box-shadow: none; }
@media (max-width: 767px) { .spa-contact-form-panel .spa-form-grid { grid-template-columns: 1fr; } }
.spa-contact-meta { display: grid; gap: 0.75rem; }

/* ---------- Blog (Flatsome [blog_posts] as the reference's cards) ---------- */
.spa-blog-list-posts.row, .spa-blog-feature-posts.row { max-width: none; margin: 0 -1rem; }
.spa-blog-list-posts .post-item, .spa-blog-feature-posts .post-item { padding: 0 1rem 2rem; }
.spa-blog-list-posts .box, .spa-blog-feature-posts .box { background: #fff; border: 1px solid #E2D9CC; border-radius: 16px; overflow: hidden; height: 100%; }
.spa-blog-list-posts .box-image, .spa-blog-feature-posts .box-image { border-radius: 0; }
.spa-blog-list-posts .box-text, .spa-blog-feature-posts .box-text { padding: 1.25rem 1.5rem 1.5rem; }
.spa-blog-list-posts .post-title, .spa-blog-feature-posts .post-title { font-family: var(--font-family-heading); font-size: 1.35rem; font-weight: 500; line-height: 1.3; color: #1F1A17; }
.spa-blog-feature-posts .post-title { font-size: clamp(1.75rem, 2.6vw, 2.25rem); }
.spa-blog-list-posts .is-divider, .spa-blog-feature-posts .is-divider { display: none; }
.spa-blog-list-posts .from_the_blog_excerpt, .spa-blog-feature-posts .from_the_blog_excerpt { color: #4B554E; font-size: 0.9375rem; line-height: 1.7; }
.spa-blog-list-posts .button, .spa-blog-feature-posts .button { color: #B89568; font-weight: 600; text-transform: none; letter-spacing: 0.02em; padding: 0; margin: 0.5rem 0 0; }
.spa-home-journal__slider .box-image { border-radius: 12px; border: 1px solid var(--spa-border); }
.spa-home-journal__slider .post-title { font-family: var(--font-family-heading); font-size: 1.45rem; line-height: 1.35; font-weight: 300; color: var(--spa-text-primary); }
.spa-contact-form-panel .wpcf7 label { display: block; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #8E4C35; }
.spa-contact-form-panel .wpcf7 label .wpcf7-form-control-wrap { display: block; margin-top: 0.75rem; }
.spa-contact-form-panel .wpcf7 label br { display: none; }
.spa-contact-form-panel .spa-form-grid { gap: 1.75rem 1rem; }
.spa-page-heading h1 { font-size: var(--font-4xl, 2.125rem); font-weight: 700; color: #1F1A17; margin: 0.75rem 0 1rem; line-height: 1.08; }
.spa-page-heading__description { max-width: none; color: #1F1A17; font-size: 1rem; line-height: 1.6; }
.bed-faq__hero .searchform-wrapper { margin-top: 2rem; }
.button.bed-button { background: transparent; border: 0; color: #fff; padding: 0 0.5rem; min-height: 0; line-height: 1.4; text-transform: uppercase; }
.button.bed-button:hover { background: transparent; color: #fff; text-decoration: underline; }

/* Final home tweaks */
.spa-home-testimonials__slider .flickity-slider > .text.spa-testimonial-card { padding: clamp(2.25rem, 4vw, 3.75rem) clamp(1.75rem, 3.5vw, 3rem) !important; display: flex; flex-direction: column; justify-content: space-between; }
.spa-home-testimonials__slider .spa-testimonial-card p { margin-bottom: 2.5rem; flex-grow: 1; }
.spa-home-spotlight__content .col-inner, .spa-home-botanical__content .col-inner { row-gap: 2.5rem; }
.spa-home-botanical__content .col-inner { row-gap: 2.25rem; }
.s2-site .spa-home-spotlight__text > ul:last-child { margin-bottom: 0.25rem; }
.s2-site .spa-home-botanical__text > div:last-child { margin-bottom: 0.5rem; }
.spa-treatment-card .spa-treatment-card__footer .spa-btn--outline-sm { border: 1px solid #8E4C35; border-radius: 999px; padding: 0.4rem 0.85rem; color: #8E4C35; background: transparent; font-size: 0.75rem; font-weight: 700; }

/* ---------- fix:r1 ---------- */
/* About: check marks drawn in CSS (the "✓" glyph is missing from the site fonts) */
.spa-about-features .spa-about-feature { position: relative; padding-left: 1.75rem; }
.spa-about-features .spa-about-feature::before { content: ""; position: absolute; left: 0.3rem; top: 0.2em; width: 0.4rem; height: 0.75rem; border: solid #8E4C35; border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* Home: reveal on load/scroll (classes set by s2.js, as the reference's AOS) */
.s2-reveal { opacity: 0; transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1); will-change: opacity, transform; }
.s2-reveal--up { transform: translate3d(0, 40px, 0); }
.s2-reveal--left { transform: translate3d(40px, 0, 0); }
.s2-reveal--right { transform: translate3d(-40px, 0, 0); }
.s2-reveal.is-revealed { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .s2-reveal { opacity: 1; transform: none; transition: none; } }

/* Home: treatments arrows in the heading (desktop), bars below */
.spa-home-treatments .row.spa-section-heading { position: relative; }
/* (Flatsome forces .row > div:not(.col) { width: 100% !important } at 0,4,1: this selector outranks it) */
section.spa-home-treatments .row.spa-section-heading > div.spa-slider-controls:not(.col) { position: absolute; left: auto; right: var(--bed-gutter, 2rem); bottom: 1rem; width: auto !important; max-width: none; margin: 0; z-index: 2; }
.spa-home-treatments .spa-slider-arrow { padding: 0; margin: 0; min-height: 0; line-height: 1; }
@media (max-width: 767px) { .spa-home-treatments .spa-section-heading .spa-slider-controls { display: none; } }

/* Floating contact dock */
.float-social { display: block; position: fixed; right: 1.25rem; bottom: 5rem; z-index: 990; font-family: var(--font-family-body); }
.float-social__toggle { position: relative; width: 3.5rem; height: 3.5rem; margin: 0; padding: 0; border: 0; border-radius: 50%; background: #8E4C35; color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 10px 24px rgba(31, 26, 23, 0.25); transition: background-color 0.3s ease, transform 0.3s ease; }
.float-social__toggle:hover { background: #7A3F2C; transform: translateY(-2px); }
.float-social__toggle::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(142, 76, 53, 0.45); animation: s2-dock-pulse 2.4s ease-out infinite; }
.float-social__toggle-close { display: none; }
.float-social.is-open .float-social__toggle-icon { display: none; }
.float-social.is-open .float-social__toggle-close { display: inline-flex; }
.float-social.is-open .float-social__toggle::after { animation: none; opacity: 0; }
@keyframes s2-dock-pulse { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(1.45); opacity: 0; } }
.float-social__panel { position: absolute; right: 0; bottom: calc(100% + 0.75rem); width: 17.5rem; padding: 1.25rem; background: #fff; border: 1px solid #E2D9CC; border-radius: 16px; box-shadow: 0 20px 40px rgba(31, 26, 23, 0.16); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s; }
.float-social.is-open .float-social__panel { opacity: 1; visibility: visible; transform: none; }
.float-social__header { margin-bottom: 0.75rem; }
.float-social__title { margin: 0; font-family: var(--font-family-heading); font-size: 1.25rem; line-height: 1.3; color: #1F1A17; }
.float-social__subtitle { margin: 0.25rem 0 0; font-size: 0.8125rem; color: #6B6259; }
.float-social__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.25rem; }
.float-social__item { margin: 0; list-style: none; }
.float-social__link { display: flex; align-items: center; gap: 0.75rem; padding: 0.6rem 0.5rem; border-radius: 10px; color: #1F1A17; font-size: 0.9375rem; font-weight: 500; text-decoration: none; transition: background-color 0.25s ease; }
.float-social__link:hover { background: #F6F1EA; color: #8E4C35; }
.float-social__icon { width: 2.25rem; height: 2.25rem; flex: 0 0 auto; border-radius: 50%; background: #F6F1EA; color: #8E4C35; display: inline-flex; align-items: center; justify-content: center; }
.float-social__text { flex: 1 1 auto; }
.float-social__arrow { color: #B89568; display: inline-flex; }
@media (max-width: 549px) { .float-social { right: 1rem; bottom: 4.5rem; } .float-social__toggle { width: 3.25rem; height: 3.25rem; } }
