/* Only BtoC header/footer elements are styled; page and Elementor styles stay independent. */
#btoc-header, #btoc-footer {
  --btoc-plum: #40164c;
  --btoc-pink: #e6318a;
  --btoc-peach: #ffb686;
  --btoc-line: #ece5f0;
  --btoc-body-font: 'Open Sans', system-ui, 'Segoe UI', Arial, sans-serif;
  --btoc-script-font: 'Outlander Signature', cursive;
  box-sizing: border-box;
  font-family: var(--btoc-body-font);
  font-size: 16px;
  line-height: 1.7;
  text-align: start;
}
#btoc-header *, #btoc-footer * { box-sizing: border-box; }
#btoc-header .btoc-wrap, #btoc-footer .btoc-wrap { width: 100%; max-width: 1400px; margin-inline: auto; padding-inline: 28px; }
#btoc-header a, #btoc-footer a { text-decoration: none; }
#btoc-header a:focus-visible, #btoc-header button:focus-visible, #btoc-footer a:focus-visible, #btoc-footer button:focus-visible {
  outline: 3px solid var(--btoc-peach); outline-offset: 3px;
}
.btoc-skip-link { position: fixed; inset-block-start: 12px; inset-inline-start: -10000px; z-index: 100001; padding: 12px 20px; background: #40164c; color: #fff; }
.btoc-skip-link:focus { inset-inline-start: 12px; color: #fff; }
#btoc-content-start { scroll-margin-top: 160px; }
#btoc-header {
  position: sticky; top: var(--btoc-admin-offset, 0px); z-index: 999;
  background: rgba(255,255,255,.97); color: var(--btoc-plum);
  box-shadow: 0 1px 0 var(--btoc-line);
  transition: background .4s, box-shadow .4s;
}
/* Overlay is enabled only after JS initializes, so navigation is usable without scripts. */
#btoc-header.btoc-header--overlay.btoc-enhanced { position: fixed; inset-inline: 0; }
#btoc-header.btoc-header--overlay.btoc-enhanced:not(.is-scrolled):not(.is-open) { background: transparent; box-shadow: none; color: #fff; }
#btoc-header .btoc-header-row { display: flex; align-items: center; gap: 24px; min-height: 84px; }
#btoc-header .btoc-brand { margin-inline-end: auto; flex: 0 1 240px; min-width: 0; }
#btoc-header .custom-logo-link, #btoc-footer .custom-logo-link { display: inline-flex; align-items: center; max-width: 100%; }
#btoc-header .custom-logo { display: block; height: 48px; width: auto; max-width: 100%; object-fit: contain; }
#btoc-header .btoc-site-name, #btoc-footer .btoc-site-name { color: inherit; font-weight: 800; font-size: 1.25rem; overflow-wrap: anywhere; }
#btoc-header .btoc-navigation { display: flex; align-items: center; gap: 16px; }
#btoc-header ul { list-style: none; margin: 0; padding: 0; }
#btoc-header .btoc-primary-menu { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
#btoc-header .btoc-primary-menu > li { position: relative; display: flex; align-items: center; margin: 0; padding: 0; }
#btoc-header .btoc-primary-menu > li > a { display: block; padding: 10px 14px; border-radius: 999px; font-weight: 700; font-size: .95rem; color: inherit; }
#btoc-header .btoc-primary-menu > li > a:hover, #btoc-header .btoc-primary-menu > li.current-menu-item > a,
#btoc-header .btoc-primary-menu > li.current-menu-ancestor > a { background: rgb(230 49 138 / 14%); }
#btoc-header.btoc-header--overlay.btoc-enhanced:not(.is-scrolled):not(.is-open) .btoc-primary-menu > li > a:hover,
#btoc-header.btoc-header--overlay.btoc-enhanced:not(.is-scrolled):not(.is-open) .btoc-primary-menu > li.current-menu-item > a { background: rgb(255 255 255 / 16%); }
#btoc-header .btoc-primary-menu > li.menu-item-has-children > a { padding-inline-end: 6px; }
#btoc-header .sub-menu {
  position: absolute; inset-block-start: 100%; inset-inline-start: 0; width: max-content; min-width: 230px; max-width: min(300px, 90vw);
  display: none; padding: 10px; background: #fff; color: #241229; border: 1px solid var(--btoc-line); border-radius: 16px; box-shadow: 0 18px 50px rgb(64 22 76 / 12%);
}
#btoc-header .btoc-primary-menu > li:last-child .sub-menu { inset-inline-start: auto; inset-inline-end: 0; }
#btoc-header:not(.btoc-enhanced) li:hover > .sub-menu, #btoc-header:not(.btoc-enhanced) li:focus-within > .sub-menu,
#btoc-header.btoc-enhanced li.is-submenu-open > .sub-menu { display: block; }
#btoc-header .sub-menu li { display: block; margin: 0; padding: 0; }
#btoc-header .sub-menu a { display: block; padding: 11px 14px; color: #241229; border-radius: 10px; font-weight: 600; font-size: .94rem; white-space: normal; overflow-wrap: anywhere; }
#btoc-header .sub-menu a:hover, #btoc-header .sub-menu .current-menu-item > a { background: #f8f5fa; color: #692979; }
#btoc-header button { font: inherit; cursor: pointer; box-shadow: none; text-transform: none; letter-spacing: normal; }
#btoc-header .btoc-submenu-toggle { flex: 0 0 32px; width: 32px; height: 44px; padding: 0; border: 0; background: transparent; color: inherit; border-radius: 8px; }
#btoc-header .btoc-submenu-toggle::after { content: ''; display: inline-block; width: 7px; height: 7px; border-right: 2px solid; border-bottom: 2px solid; transform: translateY(-2px) rotate(45deg); }
#btoc-header .btoc-submenu-toggle[aria-expanded='true']::after { transform: translateY(2px) rotate(225deg); }
#btoc-header .btoc-cta { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 25px; border: 0; border-radius: 999px; background: var(--btoc-pink); color: #fff; font-size: .98rem; font-weight: 700; line-height: 1.7; white-space: nowrap; transition: background .4s, transform .4s, box-shadow .4s; }
#btoc-header .btoc-cta:hover { background: #c61b73; transform: translateY(-2px); }
#btoc-header .btoc-nav-toggle { display: none; flex: 0 0 auto; width: 46px; min-height: 46px; padding: 10px; border: 0; background: #fff; border-radius: 12px; }
#btoc-header .btoc-nav-toggle span { display: block; height: 2px; margin: 5px 0; background: var(--btoc-plum); border-radius: 2px; }
#btoc-header .btoc-announcement { padding-block: 8px; background: var(--btoc-plum); color: #fff; text-align: center; font-size: .9rem; }
#btoc-header .btoc-announcement a { color: var(--btoc-peach); text-decoration: underline; }
#btoc-header .btoc-announcement p { margin: 0; }
#btoc-header .btoc-announcement img { max-width: 100%; height: auto; }
#btoc-footer { background: #2b0d35; color: #e9dcef; margin: 0; }
#btoc-footer .btoc-footer-columns { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-block: 80px 50px; }
#btoc-footer .btoc-footer-columns > * { min-width: 0; }
#btoc-footer .btoc-brand { margin-bottom: 14px; }
#btoc-footer .custom-logo, #btoc-footer .btoc-footer-logo { display: block; height: 54px; width: auto; max-width: 100%; object-fit: contain; background: #fff; border-radius: 10px; padding: 6px; }
#btoc-footer p { margin: 0 0 1.15em; }
#btoc-footer .btoc-script { font-family: var(--btoc-script-font); font-weight: 700; font-size: 1.6rem; color: var(--btoc-peach); line-height: 1.35; transform: rotate(-2deg); }
#btoc-footer .btoc-description { max-width: 34ch; white-space: normal; }
#btoc-footer .btoc-footer-title, #btoc-footer .btoc-widget-title { margin: 0 0 18px; color: #fff; font-family: var(--btoc-body-font); font-size: .85rem; font-weight: 700; line-height: 1.4; letter-spacing: .16em; text-transform: uppercase; }
#btoc-footer a { color: #cdb6d8; transition: color .2s; overflow-wrap: anywhere; }
#btoc-footer a:hover { color: var(--btoc-peach); }
#btoc-footer .btoc-footer-menu, #btoc-footer .btoc-contact-list, #btoc-footer .btoc-inline-menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
#btoc-footer li { margin: 0; padding: 0; }
#btoc-footer .sub-menu { position: static; display: grid; gap: 8px; list-style: none; padding: 8px 0 0 16px; margin: 0; }
#btoc-footer address { font-style: normal; margin: 0; }
#btoc-footer .btoc-social { margin-top: 16px; }
#btoc-footer .btoc-inline-menu { display: flex; flex-wrap: wrap; gap: 8px 16px; }
#btoc-footer .btoc-legal { border-top: 1px solid rgb(255 255 255 / 14%); padding-block: 24px; font-size: .88rem; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; color: #bea6ca; }
#btoc-footer .btoc-footer-extra { border-top: 1px solid rgb(255 255 255 / 14%); padding-block: 32px; }
#btoc-footer .btoc-widget { margin-bottom: 20px; overflow-wrap: anywhere; }
#btoc-footer .btoc-widget img { max-width: 100%; height: auto; }
#btoc-header [hidden], #btoc-footer [hidden] { display: none !important; }
@media (max-width: 1080px) {
  #btoc-header .btoc-header-row { flex-wrap: wrap; gap: 0 16px; padding-block: 16px; min-height: 84px; }
  #btoc-header.btoc-enhanced .btoc-nav-toggle { display: block; }
  #btoc-header .btoc-navigation { flex-basis: 100%; width: 100%; align-items: stretch; flex-direction: column; padding-block: 16px 8px; gap: 14px; }
  #btoc-header.btoc-enhanced .btoc-navigation { display: none; max-height: calc(100dvh - var(--btoc-admin-offset, 0px) - var(--btoc-header-base-height, 84px)); overflow-y: auto; overscroll-behavior: contain; }
  #btoc-header.btoc-enhanced.is-open .btoc-navigation { display: flex; }
  #btoc-header .btoc-primary-menu { flex-direction: column; align-items: stretch; width: 100%; }
  #btoc-header .btoc-primary-menu > li { flex-wrap: wrap; }
  #btoc-header .btoc-primary-menu > li > a { flex: 1; padding: 10px 14px; }
  #btoc-header .sub-menu { position: static; flex-basis: 100%; width: 100%; max-width: none; min-width: 0; padding: 0 0 6px 16px; box-shadow: none; border: 0; }
  #btoc-header:not(.btoc-enhanced) .sub-menu { display: block; }
  #btoc-header .btoc-cta { align-self: flex-start; white-space: normal; }
}
@media (max-width: 880px) { #btoc-footer .btoc-footer-columns { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  #btoc-header .btoc-wrap, #btoc-footer .btoc-wrap { padding-inline: 20px; }
  #btoc-footer .btoc-footer-columns { grid-template-columns: 1fr; gap: 32px; padding-block: 52px 36px; }
}

