html {
  overflow-x: hidden;
}

body {
  margin: 0;
  padding-bottom: 100px !important;
  background: #fff;
}

body,
.elPageContent {
  max-width: 600px;
  margin-left: auto !important;
  margin-right: auto !important;
}

img {
  max-width: 100%;
}

[data-show-only='desktop'] {
  display: none !important;
}

[data-show-only='mobile'] {
  display: block !important;
}

.addons {
  font-family: Poppins, sans-serif;
}

.addons a {
  display: flex;
  align-items: center;
  border-top: 1px solid #d6d6d6;
  text-decoration: none;
  color: #080808;
}

.addons i {
  color: #7dafae;
  font-size: 24px;
  width: 28px;
  flex-shrink: 0;
}

.addons span {
  flex: 1;
}

.addons strong {
  line-height: 1.3;
  display: block;
}

.addons small {
  display: block;
  color: #757575;
  font-size: 12px;
  margin-top: 5px;
  line-height: 1.6;
}

.addons b {
  font-size: 32px;
  font-weight: 500;
}

.new-page {
  font-family: Poppins, sans-serif;
  color: #111;
  line-height: 1.6;
}

.new-page header {
  padding: 12px 18px;
  border-bottom: 1px solid #eee;
}

.new-page header img {
  width: 100%;
  height: auto;
}

.new-page main {
  padding: 26px 18px 20px;
}

.new-page h1 {
  font-size: 26px;
  line-height: 1.25;
  letter-spacing: -0.6px;
  font-weight: 600;
  margin: 0 0 10px;
}

.intro {
  font-size: 13px;
  color: #777;
  margin: 0 0 26px;
}

.category-picker {
  font-size: 12px;
  color: #777;
  display: block;
  margin-bottom: 30px;
}

.category-picker select {
  font-family: inherit;
  background: #f6f9f8;
  width: 100%;
  padding: 13px 10px;
  border: 1px solid #d8e4e1;
  border-radius: 5px;
  margin-top: 7px;
  color: #222;
  font-size: 13px;
}

.category {
  margin-bottom: 36px;
}

.category h2 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  border-bottom: 2px solid #8cadaa;
  padding-bottom: 13px;
  margin: 0;
}

.treatment {
  border-bottom: 1px solid #e5e5e5;
  padding: 18px 0;
}

.treatment summary {
  list-style: none;
  cursor: pointer;
}

.treatment summary::-webkit-details-marker {
  display: none;
}

.treatment-name {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
  display: block;
}

.meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: baseline;
  margin-top: 9px;
  color: #8a8a8a;
  font-size: 12px;
}

.meta strong {
  font-size: 17px;
  font-weight: 600;
  color: #648e8b;
  white-space: nowrap;
}

.meta del {
  font-size: 12px;
  margin-right: 8px;
}

.expand {
  font-size: 11px;
  color: #7e9998;
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  align-items: center;
}

.expand b {
  font-size: 21px;
  font-weight: 400;
  line-height: 1;
}

.treatment[open] .expand b {
  font-size: 0;
}

.treatment[open] .expand b:after {
  content: '−';
  font-size: 21px;
}

.description {
  font-size: 13px;
  line-height: 1.85;
  color: #555;
  margin-top: 18px;
  overflow-wrap: anywhere;
}

.booking {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  max-width: 600px;
  margin: auto;
  padding: 12px 15px calc(12px + env(safe-area-inset-bottom));
  z-index: 20;
}

.booking a {
  display: flex;
  justify-content: center;
  gap: 14px;
  border-radius: 4px;
  background: #7185ab;
  padding: 13px 8px;
  color: white;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.staff {
  margin: 0 0 22px;
  overflow: hidden;
  border: 1px solid #e7e7e7;
  border-radius: 6px;
}

.staff > img {
  display: block;
  object-fit: cover;
  object-position: center 25%;
}

.staff h2 {
  font-weight: 600;
  margin: 0;
}

.staff p {
  font-size: 12px;
  color: #888;
  margin: 3px 0 0;
}

.contact {
  font-size: 13px;
  color: #777;
  line-height: 2.2;
}

.contact a {
  color: #648e8b;
  text-decoration: none;
}

a,
summary,
select {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
summary:focus-visible {
  outline: 2px solid #7dafae;
  outline-offset: 4px;
}

@media (max-width: 350px) {
  .addons strong {
    font-size: 17px;
  }
  .addons small {
    font-size: 11px;
  }
  .new-page h1 {
    font-size: 24px;
  }
}

body {
  height: auto !important;
  min-height: 100vh;
}

.id-6Z-aq5AwB-475 {
  padding-bottom: 0 !important;
}

.new-page .expand {
  width: 100% !important;
  max-width: none !important;
}

.staff {
  display: flex;
  align-items: center;
}

.staff > img {
  width: 120px;
  height: 150px;
  aspect-ratio: auto;
  flex-shrink: 0;
}

.staff > div {
  padding: 15px;
}

.staff h2 {
  font-size: 16px;
}

.elAccordionItemHeader {
  cursor: pointer;
}

.elAccordionItemBody {
  display: none !important;
}

[data-expanded='true'] > .elAccordionItemBody {
  display: block !important;
  height: auto !important;
  max-height: none !important;
  opacity: 1 !important;
}

[data-expanded='true'] .elAccordionItemHeaderAfterIcon {
  transform: rotate(90deg);
}

.addons {
  margin: 0 10px 24px;
}

.addons a {
  box-sizing: border-box;
  min-height: 94px;
  padding: 20px 4px;
  gap: 14px;
}

.addons a:first-child {
  border-top: 0;
}

.addons a > i:first-child {
  width: 28px;
  text-align: center;
  font-size: 24px;
}

.addons strong {
  font-size: 20px;
  font-weight: 600;
}

.addons .nav-chevron {
  width: 16px;
  flex: 0 0 16px;
  margin: 0 0 0 auto;
  color: #080808;
  font-size: 24px;
  text-align: center;
}

.staff-profile {
  border: 1px solid #e4e9e8;
  border-radius: 6px;
  margin-bottom: 16px;
  overflow: hidden;
}

.staff-profile summary {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) 16px;
  gap: 14px;
  align-items: center;
  padding: 14px;
  cursor: pointer;
  list-style: none;
}

.staff-profile summary::-webkit-details-marker {
  display: none;
}

.staff-profile summary > img {
  width: 88px;
  height: 116px;
  object-fit: cover;
  object-position: center 20%;
  margin: 0 !important;
  border-radius: 3px;
}

.staff-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.staff-info > strong {
  font-size: 19px;
  font-weight: 600;
  line-height: 1.3;
  color: #222;
}

.staff-role {
  font-size: 11px;
  color: #668c8a;
  line-height: 1.6;
  margin-top: 5px;
}

.staff-experience {
  font-size: 11px;
  color: #777;
  line-height: 1.6;
  margin-top: 5px;
}

.staff-more {
  font-size: 11px;
  color: #7185ab;
  font-weight: 500;
  margin-top: 9px;
}

.staff-arrow {
  color: #7185ab;
  font-size: 13px;
  transition: transform 0.15s;
}

.staff-profile[open] .staff-arrow {
  transform: rotate(180deg);
}

.staff-bio {
  padding: 0 17px 16px;
  font-size: 13px;
  line-height: 1.85;
  color: #555;
  border-top: 1px solid #edf0ef;
}

.staff-bio p {
  margin: 16px 0 0;
}

.staff-profile summary:focus-visible {
  outline: 2px solid #7dafae;
  outline-offset: -3px;
}

@media (max-width: 360px) {
  .staff-profile summary {
    grid-template-columns: 72px minmax(0, 1fr) 12px;
    gap: 10px;
    padding: 12px;
  }
  .staff-profile summary > img {
    width: 72px;
    height: 105px;
  }
  .staff-info > strong {
    font-size: 17px;
  }
}

.new-page .treatment summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 18px;
  column-gap: 16px;
  row-gap: 10px;
  padding: 4px 0;
  min-height: 56px;
  align-items: start;
}

.new-page .treatment-name {
  grid-column: 1;
  grid-row: 1;
  padding: 0;
  font-size: 14px;
  line-height: 1.65;
}

.new-page .treatment-chevron {
  grid-column: 2;
  grid-row: 1;
  color: #7185ab;
  font-size: 13px;
  margin-top: 5px;
  transition: transform 0.15s;
}

.new-page .treatment[open] .treatment-chevron {
  transform: rotate(180deg);
}

.new-page .treatment .meta {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  justify-content: flex-start;
  align-items: baseline;
  gap: 0;
  margin: 0;
  flex-wrap: wrap;
}

.new-page .treatment .meta > span:last-child {
  order: 0;
}

.new-page .treatment .treatment-duration {
  order: 1;
  color: #454545;
  white-space: nowrap;
}

.new-page .treatment-duration:before {
  content: '·';
  margin: 0 9px;
  color: #9a9a9a;
}

.new-page .treatment .meta strong {
  color: #7185ab;
  font-weight: 600;
}

.new-page .treatment .meta del {
  color: #999;
  margin-right: 6px;
}

.new-page .treatment .description {
  color: #696969;
}

.new-page .treatment.plain {
  padding: 22px 0;
}

.new-page .treatment.plain .meta {
  margin-top: 9px;
}

.new-page .treatment.plain .treatment-name {
  padding-right: 34px;
}

.treatment-help {
  background: #f6f9f8;
  border: 1px solid #e0e8e6;
  border-radius: 6px;
  padding: 16px;
  margin: 0 0 24px;
}

.treatment-help p {
  font-size: 13px;
  font-weight: 500;
  color: #333;
  line-height: 1.7;
  margin: 0 0 5px;
}

.treatment-help > span {
  display: block;
  font-size: 12px;
  line-height: 1.8;
  color: #737373;
}

.treatment-help > a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  margin-top: 7px;
  font-size: 15px;
  font-weight: 600;
  color: #7185ab;
  text-decoration: none;
}

.treatment-help i {
  font-size: 13px;
}

.treatment-filters {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 2px 1px 8px;
  -webkit-overflow-scrolling: touch;
}

.treatment-filters::-webkit-scrollbar {
  display: none;
}

.treatment-filters button {
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  min-height: 44px;
  padding: 9px 14px;
  border: 1px solid #e0e7e5;
  border-radius: 24px;
  background: #f6f9f8;
  color: #545454;
  white-space: nowrap;
  cursor: pointer;
  flex-shrink: 0;
}

.treatment-filters button[aria-pressed='true'] {
  background: #7185ab;
  border-color: #7185ab;
  color: white;
}

.treatment-filters button:focus-visible {
  outline: 2px solid #7dafae;
  outline-offset: 2px;
}

.filter-status {
  margin: 6px 0 22px;
  font-size: 11px;
  color: #8a8a8a;
}

.category[hidden],
.treatment[hidden] {
  display: none !important;
}

.ask-price {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 9px;
  margin-top: 6px;
  color: #7185ab;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.ask-price i {
  font-size: 11px;
}

.unverified-info {
  font-size: 11px;
  color: #888;
  line-height: 1.7;
  margin: 0;
}

.category {
  scroll-margin-top: 16px;
}

.brand-jumps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 2px 0 0;
}

.brand-jumps a {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  min-height: 40px;
  color: #668b89;
  font-size: 11px;
  font-weight: 500;
  text-decoration: none;
}

.brand-jumps a span {
  font-size: 14px;
}

.brand-jumps a:focus-visible {
  outline: 2px solid #7dafae;
  outline-offset: 3px;
}

.brand-jumps[hidden],
.brand-jumps a[hidden] {
  display: none !important;
}

.new-page .brand-jumps {
  justify-content: flex-start !important;
  align-items: center;
  padding: 0;
}

.new-page .brand-jumps a {
  flex: 0 0 auto !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  box-sizing: border-box;
  text-align: left !important;
  justify-content: flex-start !important;
}

.new-page .brand-jumps a:active {
  background: #f4e2e3;
}

.new-page .brand-jumps a:focus-visible {
  outline-color: #bf8690;
}

.new-page .brand-jumps a {
  background: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: #a96570;
  text-decoration: underline;
  text-decoration-color: #e1c5cb;
  text-underline-offset: 4px;
  letter-spacing: 0;
}

.brand-description {
  font-size: 12px;
  line-height: 1.8;
  color: #818181;
  margin: 10px 0 2px;
  font-weight: 400;
}

.new-page .brand-jumps {
  margin: 12px 0 26px !important;
}

.new-page .brand-jumps a {
  padding: 6px 0 !important;
}

.new-page .treatment .meta strong {
  font-size: 17.6px;
}

.new-page .treatment .meta del {
  font-size: 13.2px;
}

.new-page .treatment .treatment-duration {
  font-size: 13.2px;
}

.new-page .brand-jumps a {
  font-size: 14px;
  min-height: 44px;
  font-weight: 500;
}

.new-page .brand-jumps {
  gap: 28px !important;
}

/* Space for the phone status bar: the app shifts the page up by about its height when scrolling */
body {
  padding-top: 50px !important;
}

/* Keep space above the first heading when the brand links row is hidden (Jumestus, Koolitused) */
.new-page .brand-jumps[hidden] {
  display: block !important;
  visibility: hidden;
  height: 0;
  overflow: hidden;
  margin: 0 0 26px !important;
}

/* Space between the page title and the help box under it */
.new-page h1 + .treatment-help {
  margin-top: 26px;
}

/* Package cards: small round arrow in the corner and a slight press effect, so it is clear they open */
.card-link {
  position: relative;
}

.card-link img {
  transition: transform 0.15s ease;
}

.card-link:active img {
  transform: scale(0.98);
}

.card-link:after {
  content: '';
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #7185ab
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E")
    center/16px no-repeat;
  pointer-events: none;
}

/* Bottom bar: light background and booking button moved right, so the app's own round back button (bottom left) has its own space and stays visible */
.stickyBottom {
  background: #fff !important;
  box-shadow:
    0 -1px 0 #ececec,
    0 -6px 18px rgba(0, 0, 0, 0.05);
}

.stickyBottom .elBTN {
  margin-left: 52px !important;
}

.booking {
  background: #fff !important;
  box-shadow:
    0 -1px 0 #ececec,
    0 -6px 18px rgba(0, 0, 0, 0.05);
  padding-left: 67px !important;
}

/* Booking button: thinner (40px) and lifted so it lines up with the app's back button */
.stickyBottom {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.stickyBottom .row {
  padding-top: 6px !important;
  padding-bottom: 21px !important;
}

.stickyBottom .elBTN {
  margin-top: 0 !important;
}

.stickyBottom .elButton {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  height: 40px;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.stickyBottom .elButton .elButtonText {
  font-size: 15px !important;
}

.booking {
  padding-top: 6px !important;
  padding-bottom: calc(21px + env(safe-area-inset-bottom)) !important;
}

.booking a {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  height: 40px;
  align-items: center;
  box-sizing: border-box;
}

/* Smaller logo at the top */
img[src='assets/0.png'] {
  width: 180px !important;
  height: auto !important;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Package overview: logo links back to the homepage. */
.package-header {
  padding: 12px 18px 16px;
  border-bottom: 1px solid #eee;
}

.package-header a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
}

.package-header a:focus-visible {
  outline: 2px solid #7dafae;
  outline-offset: 4px;
}

/* Loading feedback for links, menu rows and image cards. */
.loading-control {
  position: relative;
}

.navigation-spinner {
  display: none;
  position: absolute;
  right: 14px;
  top: 50%;
  width: 20px;
  height: 20px;
  margin-top: -10px;
  border: 2px solid #d9e0ec;
  border-top-color: #7185ab;
  border-radius: 50%;
  box-sizing: border-box;
  animation: button-spin 0.7s linear infinite;
  pointer-events: none;
  z-index: 2;
}

.is-opening > .navigation-spinner {
  display: block;
}

.addons a.is-opening {
  background: #f5f7fb;
  border-radius: 6px;
}

.addons a.is-opening > b,
.is-opening .fa_appended {
  visibility: hidden;
}

.elButton > .navigation-spinner,
.booking a > .navigation-spinner {
  border-color: rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
}

.loading-card > .navigation-spinner {
  top: auto;
  bottom: 17px;
  right: 17px;
  margin: 0;
  background: #f5f7fb;
  box-shadow: 0 0 0 6px #f5f7fb;
}

.card-link.is-opening:after {
  visibility: hidden;
}

.loading-card.is-opening > img {
  opacity: 0.9;
}

.loading-control:focus-visible {
  outline-offset: 3px;
}

@keyframes button-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .navigation-spinner {
    animation-duration: 1.8s;
  }
  .card-link img {
    transition: none;
  }
}

/* Keep menu loading feedback comfortably left of the chevron. */
.addons a > .navigation-spinner {
  right: 44px;
}
