/*
 * Native Elementor widgets share the existing SoulBirth presentation.
 * Containers use content_width=full so structural children stay direct children.
 * Defaults below use Elementor's fallback variables; saved local controls can
 * still set their own padding, gaps, typography and image dimensions.
 */

.soulbirth .elementor .sb-elementor-container.e-con {
  --container-default-padding-top: 0px;
  --container-default-padding-right: 0px;
  --container-default-padding-bottom: 0px;
  --container-default-padding-left: 0px;
  --widgets-spacing: 0px;
  --widgets-spacing-row: 0px;
  --widgets-spacing-column: 0px;
}

/* Theme colors and fonts are the initial values, without Elementor kit colors. */
.soulbirth .elementor-widget-heading { color: var(--sb-plum-800); }
.soulbirth .elementor-heading-title {
  color: inherit;
  font-family: var(--sb-font-heading);
  font-weight: 400;
  line-height: 1.17;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.soulbirth .sb-cta .elementor-widget-heading { color: var(--sb-rose-50); }
.soulbirth .sb-text-widget {
  color: inherit;
  font-family: var(--sb-font-body);
  font-size: inherit;
  line-height: inherit;
}
.soulbirth .elementor-button { font-family: var(--sb-font-body); }
.sb-main .sb-text-widget a:not(.elementor-button) { text-decoration: underline; }

/* Heading margins now belong to widgets, rather than a shared paragraph flow. */
.sb-prose > :where(.elementor-widget-heading:not(:first-child)) { margin-top: 42px; }
.sb-prose > :where(.elementor-widget-heading) :where(h2, h3) { margin-top: 0; }
.sb-main .sb-section-heading > :where(.elementor-widget-text-editor) { margin-inline: auto; }
.sb-main .sb-cta > .sb-container > :where(.elementor-widget-text-editor) { margin-inline: auto; }

/* The grouped native button widgets retain the original wrapping row layout. */
.sb-buttons.e-con { --flex-direction: row; --flex-wrap: wrap; }
.sb-buttons > :where(.sb-button-widget) { width: auto; flex-grow: 0; flex-shrink: 0; }
.sb-card-body > :where(.sb-buttons) { margin-top: auto; }
.sb-cta .sb-buttons { --justify-content: center; }

/* An Elementor Image widget adds a wrapper between the layout and its image. */
.sb-main .sb-image-widget > .elementor-widget-container {
  width: 100%;
  height: 100%;
  line-height: 0;
}
.sb-main .sb-image-widget :where(figure, a) {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
}
.sb-main .sb-image-widget img { display: block; }
.sb-main .sb-image-widget .widget-image-caption {
  height: auto;
  margin-top: 8px;
  color: var(--sb-body);
  font: 12px/1.6 var(--sb-font-body);
}

/* Elementor caps direct widgets at 100%; retain each portrait's intended cap. */
.soulbirth .elementor .e-con > .sb-image-widget.sb-narrow-photo { max-width: 390px; }
.soulbirth .elementor .e-con > .sb-image-widget.sb-hero-cutout { max-width: 500px; }
.soulbirth .elementor .e-con > .sb-image-widget.sb-hero-floral-portrait,
.soulbirth .elementor .e-con > .sb-image-widget.sb-about-cutout { max-width: none; }

/* CSS child groups were WordPress groups; their native replacement is e-con. */
.sb-service-nav > :where(.sb-elementor-container) {
  padding: 29px 25px;
  border: 1px solid var(--sb-rose-200);
  background: var(--sb-paper);
}

/* An editable native Icon List presents the ritual's five items in sequence. */
.soulbirth .sb-ritual-timeline .elementor-icon-list-items {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 25px;
  padding: 0;
  margin: 40px 0 0;
  list-style: none;
}
.soulbirth .sb-ritual-timeline .elementor-icon-list-item {
  position: relative;
  display: block;
  min-width: 0;
  margin: 0;
  padding: 39px 0 0;
  color: var(--sb-body);
  font: 14px/1.6 var(--sb-font-body);
  text-align: left;
}
.soulbirth .sb-ritual-timeline .elementor-icon-list-item::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  width: 11px;
  height: 11px;
  border: 1px solid var(--sb-mauve-600);
  border-radius: 50%;
  background: var(--sb-rose-50);
}
.soulbirth .sb-ritual-timeline .elementor-icon-list-item:not(:last-child)::after {
  content: "";
  position: absolute;
  inset: 13px -9px auto 25px;
  width: auto;
  height: 1px;
  margin: 0;
  border: 0;
  background: var(--sb-rose-200);
}
.soulbirth .sb-ritual-timeline .elementor-icon-list-item:last-child::after { content: none; }
.soulbirth .sb-ritual-timeline .elementor-icon-list-text {
  display: block;
  padding: 0;
  color: inherit;
  font: inherit;
}

@media (max-width: 900px) {
  .sb-service-nav > :where(.sb-elementor-container) { padding: 22px 19px; }
  .soulbirth .sb-ritual-timeline .elementor-icon-list-items { grid-template-columns: 1fr; gap: 25px; }
  .soulbirth .sb-ritual-timeline .elementor-icon-list-item { min-height: 44px; padding: 0 0 10px 35px; }
  .soulbirth .sb-ritual-timeline .elementor-icon-list-item::before { top: 6px; }
  .soulbirth .sb-ritual-timeline .elementor-icon-list-item:not(:last-child)::after {
    inset: 28px auto -12px 5px;
    width: 1px;
    height: auto;
  }
}
@media (max-width: 680px) {
  .sb-service-nav > :where(.sb-elementor-container) { padding: 27px; }
  .soulbirth .elementor .e-con > .sb-image-widget.sb-hero-cutout,
  .soulbirth .elementor .e-con > .sb-image-widget.sb-hero-floral-portrait { max-width: 390px; }
  .soulbirth .elementor .e-con > .sb-image-widget.sb-about-cutout { max-width: 430px; }
}

/* Editable HFE templates retain the same quiet framing as the pages. */
.soulbirth .elementor .sb-header-inner.e-con {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 36px;
}
.soulbirth .sb-header .sb-brand { width: 180px; flex: 0 0 180px; }
.soulbirth .sb-brand a { display: block; line-height: 0; }
.soulbirth .sb-footer-brand .sb-brand { flex: 0 0 auto; }
.soulbirth .sb-elementor-nav { width: auto; margin-left: auto; }
.soulbirth .sb-elementor-nav .hfe-nav-menu { gap: clamp(19px, 2vw, 30px); }
.soulbirth .sb-elementor-nav .hfe-menu-item {
  padding: 15px 0;
  color: var(--sb-plum-800);
  font: 500 10px/1.7 var(--sb-font-body);
  letter-spacing: .07em;
  text-transform: uppercase;
  white-space: nowrap;
}
.soulbirth .sb-elementor-nav .hfe-menu-item:hover,
.soulbirth .sb-elementor-nav .current-menu-item > .hfe-menu-item {
  color: var(--sb-plum-800);
  background: transparent;
  text-decoration: underline;
  text-decoration-color: var(--sb-rose-500);
  text-underline-offset: 8px;
}
.soulbirth .sb-header-contact-widget { width: auto; flex-shrink: 0; }
.soulbirth .sb-header-contact-widget .elementor-button {
  min-height: 44px;
  border-color: var(--sb-rose-300);
  padding: 11px 16px;
  background: transparent;
  color: var(--sb-plum-800);
  font-size: 10px;
  letter-spacing: .1em;
}
.soulbirth .sb-header-contact-widget .elementor-button:hover { background: var(--sb-rose-100); }
.soulbirth .sb-elementor-nav .hfe-nav-menu__toggle {
  margin: 0;
  padding: 10px 13px;
  min-height: 44px;
  min-width: 44px;
  border: 1px solid var(--sb-rose-200);
  border-radius: var(--sb-radius);
  color: var(--sb-plum-800);
}
.soulbirth .sb-elementor-nav .hfe-nav-menu-icon { padding: 0; background: transparent; color: inherit; }
.soulbirth .sb-elementor-nav .hfe-nav-menu-icon svg { width: 18px; height: 18px; fill: currentColor; }
.soulbirth .sb-elementor-footer-nav .hfe-nav-menu { padding: 0; margin: 0; gap: 0; }
.soulbirth .sb-elementor-footer-nav .hfe-menu-item {
  padding: 3px 0;
  margin: 0 0 9px;
  background: transparent;
  color: var(--sb-body);
  font: 13px/1.7 var(--sb-font-body);
}
.soulbirth .sb-elementor-footer-nav .hfe-menu-item:hover { color: var(--sb-plum-800); background: transparent; text-decoration: underline; }
.soulbirth .elementor .sb-footer-grid.e-con { display: grid; }
.soulbirth .sb-footer .sb-footer-heading .elementor-heading-title {
  color: var(--sb-plum-800);
  font-family: var(--sb-font-body);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.7;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.soulbirth .sb-copyright-widget { width: auto; color: var(--sb-body); font: 11px/1.7 var(--sb-font-body); }
.soulbirth .sb-copyright-widget .hfe-copyright-wrapper { color: inherit; font: inherit; }
.soulbirth .elementor .sb-footer-bottom.e-con { flex-direction: row; gap: 30px; }
.soulbirth .sb-footer-legal { display: block; width: auto; }
.soulbirth .sb-footer-legal p { display: flex; gap: 25px; }
.soulbirth .sb-cookie-notice { padding-block: 12px 20px; color: var(--sb-body); font: 12px/1.7 var(--sb-font-body); }
.soulbirth .sb-cookie-notice p { margin: 0; }
.soulbirth .sb-cookie-notice a { color: var(--sb-plum-800); text-decoration: underline; }
/* Native Elementor information bar; explicit dismissal lasts for the tab session. */
.soulbirth .elementor .sb-cookie-banner.e-con {
  position: fixed;
  inset: auto auto max(18px, env(safe-area-inset-bottom)) 50%;
  transform: translateX(-50%);
  z-index: 10000;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  width: min(920px, calc(100% - 36px));
  max-width: none;
  padding: 18px 20px;
  border: 1px solid var(--sb-rose-200);
  border-radius: 6px;
  background: #fff9f7;
  box-shadow: 0 6px 28px rgb(109 58 69 / 16%);
  color: var(--sb-body);
}
.soulbirth .elementor .sb-cookie-banner.e-con[hidden],
html.sb-privacy-dismissed .soulbirth .elementor .sb-cookie-banner.e-con { display: none !important; }
.soulbirth .elementor .sb-cookie-banner > .sb-cookie-notice {
  width: auto;
  max-width: none;
  flex: 1 1 auto;
  margin: 0;
  padding: 0;
  font-size: 13px;
  line-height: 1.65;
}
.soulbirth .elementor .sb-cookie-banner > .sb-cookie-close { width: auto; flex: 0 0 auto; }
.soulbirth .elementor .sb-cookie-close .elementor-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--sb-rose-200);
  border-radius: 4px;
  background: transparent;
  color: var(--sb-plum-800);
  font: 12px/1.3 var(--sb-font-body);
  letter-spacing: 0;
  text-decoration: none;
  text-transform: none;
  box-shadow: none;
}
.soulbirth .elementor .sb-cookie-close .elementor-button:hover { background: var(--sb-rose-50); color: var(--sb-plum-800); }
.soulbirth .elementor .sb-cookie-close .elementor-button:focus-visible { outline: 2px solid var(--sb-plum-800); outline-offset: 3px; }
.elementor-editor-active.soulbirth .elementor .sb-cookie-banner.e-con,
html:not(.sb-js) .soulbirth .elementor .sb-cookie-banner.e-con {
  position: static;
  inset: auto;
  transform: none;
  width: 100%;
  box-shadow: none;
}
html:not(.sb-js) .soulbirth .sb-cookie-close { display: none; }
@media (max-width: 680px) {
  .soulbirth .elementor .sb-cookie-banner.e-con {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    width: calc(100% - 24px);
    bottom: max(12px, env(safe-area-inset-bottom));
    padding: 15px 16px;
  }
  .soulbirth .elementor .sb-cookie-banner > .sb-cookie-close { align-self: flex-end; }
}
.sb-main .sb-legal { max-width: 780px; }
.sb-main .sb-legal > .sb-heading-widget:not(:first-child) { margin-top: 24px; }
.sb-main .sb-legal h1 { font-size: clamp(34px, 4vw, 48px); }
.sb-main .sb-legal h2 { font-size: 30px; }
.sb-main .sb-legal h3 { font-size: 23px; }

@media (max-width: 1119px) {
  .soulbirth .elementor .sb-header-inner.e-con { gap: 24px; min-height: 90px; padding-block: 12px; }
  .soulbirth .sb-header .sb-brand { width: 155px; flex-basis: 155px; }
  .soulbirth .sb-header-contact-widget { display: none; }
}
@media (max-width: 1024px) {
  .soulbirth .elementor .sb-header-inner.e-con { justify-content: space-between; }
  .soulbirth .sb-elementor-nav .hfe-dropdown { background: var(--sb-rose-50); border: 1px solid var(--sb-rose-200); }
  .soulbirth .sb-elementor-nav .hfe-dropdown .hfe-nav-menu { gap: 0; }
  .soulbirth .sb-elementor-nav .hfe-dropdown .hfe-menu-item { padding: 15px 24px; font-size: 11px; }
  html:not(.sb-js) .soulbirth .sb-header-inner.e-con { flex-wrap: wrap; }
  html:not(.sb-js) .soulbirth .sb-elementor-nav { width: 100%; }
  html:not(.sb-js) .soulbirth .sb-elementor-nav nav {
    position: static;
    visibility: visible;
    opacity: 1;
    display: block;
    height: auto;
    max-height: none;
    overflow: visible;
    transform: none;
  }
  html:not(.sb-js) .soulbirth .sb-elementor-nav .hfe-nav-menu { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 0 20px; visibility: visible; opacity: 1; }
  html:not(.sb-js) .soulbirth .sb-elementor-nav .hfe-menu-item { padding: 12px 0; }
  html:not(.sb-js) .soulbirth .sb-elementor-nav .hfe-nav-menu__toggle { display: none; }
}
@media (max-width: 680px) {
  .soulbirth .elementor .sb-footer-bottom.e-con { flex-direction: column; align-items: flex-start; gap: 9px; }
}
