/* Shared controls and legacy layouts: keep behavior consistent across templates. */
.wpcf7-form { position: relative; }
.wpcf7-form .wpcf7-spinner { right: 0; margin-inline: 0; }
.carousel-track .carousel-slide {
  flex: 0 0 calc((100% - (var(--cols, 1) - 1) * 20px) / var(--cols, 1));
  min-width: 0;
  max-width: 100%;
  scroll-snap-align: start;
}
.carousel-track { overscroll-behavior-x: contain; }
.carousel .carousel-controls button { width: 44px; height: 44px; flex-shrink: 0; cursor: pointer; }
.carousel .carousel-controls button:disabled { opacity: .3; cursor: default; }
.carousel-track:focus-visible, button:focus-visible, a:focus-visible, summary:focus-visible {
  outline: 3px solid #b58ad8;
  outline-offset: 4px;
}
.n-carousel-builder-719-12 .carousel-track { border-radius: 16px; }
.n-carousel-builder-719-12 .hero-carousel-controls { position: static; display: flex; align-items: center; justify-content: center; gap: 16px; margin: 0; padding: 12px 0 4px; background: #fff; }
.n-carousel-builder-719-12 .hero-carousel-controls > button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; background: #f1ecf7; color: #502382; font-size: 24px; line-height: 1; }
.n-carousel-builder-719-12 .hero-carousel-dots { display: flex; align-items: center; gap: 0; }
.n-carousel-builder-719-12 .hero-carousel-controls .slide-dot { width: 32px; height: 44px; padding: 0; background: transparent; display: grid; place-items: center; border-radius: 8px; opacity: 1; }
.n-carousel-builder-719-12 .slide-dot::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: #d9cce5; box-shadow: none; }
.n-carousel-builder-719-12 .hero-carousel-controls .slide-dot[aria-current=true] { background: transparent; }
.n-carousel-builder-719-12 .slide-dot[aria-current=true]::before { background: #502382; }
.n-carousel-builder-719-12 .n-headline-723-12, .n-carousel-builder-719-12 .n-span-724-12 { color: #502382 !important; }
.n-carousel-builder-92-2877 .carousel-slide { height: auto; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 14px; }
.n-carousel-builder-92-2877 .carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.n-image-30-2877 { object-fit: contain; max-width: min(100%, 420px); }
.page-id-294 main .items { gap: 32px 24px; width: 100%; }
.page-id-294 main .items > .block { min-width: 0; height: 100%; gap: 16px; }
.page-id-294 main .items .link { display: flex; flex-direction: column; height: auto; width: 100%; min-width: 0; color: inherit; }
.page-id-294 main .items img { border-radius: 14px; object-position: center top; }
.page-id-294 main .items h3 { font-size: 18px; line-height: 1.4; overflow-wrap: anywhere; margin-bottom: 12px; }
.page-id-294 main .items .text { color: #716779; }
.page-id-294 main .items .button { margin-top: auto; width: 100%; min-height: 46px; padding: 12px; font-size: 12px; }

html { scrollbar-gutter:stable; }
html:has(dialog[open]) { overflow: hidden; }
/* Generated legacy styles contain ID selectors; these values deliberately replace them. */
dialog.modal[open] { width: min(92vw, 480px) !important; max-width: 480px !important; max-height: calc(100dvh - 32px); padding: 32px !important; background: #fff !important; color: #382c43; border: 1px solid #eee7f3; border-radius: 22px !important; }
dialog.content-dialog[open] { width: min(92vw, 900px) !important; max-width: 900px !important; }
.modal h2, .modal h3 { color: #502382 !important; line-height: 1.25; padding-right: 24px; }
.modal .modal-close { width: 40px; height: 40px; top: 8px; right: 8px; padding: 0; border-radius: 50%; cursor: pointer; }
.modal .bn-close-modal { display: none; }
.modal .wpcf7 input:not([type=checkbox]):not([type=radio]):not([type=submit]), .modal .wpcf7 textarea {
  min-height: 50px; padding: 12px 14px; background: #faf8fc; color: #382c43; border: 1px solid #ddd3e5; border-radius: 10px; font-size: 16px;
}
.modal .wpcf7 input[type=submit] { min-height: 50px; border-radius: 10px; background: #502382; color: #fff; font-size: 16px; cursor: pointer; }
.modal .wpcf7 input[type=submit]:disabled { opacity: .45; cursor: default; }
.modal .policy a { color: #502382; }
.wpcf7-acceptance label { font-size: 12px; line-height: 1.6; }
body .wpcf7-form .wpcf7-acceptance label { display: flex; align-items: flex-start; gap: 10px; padding-left: 0; }
body .wpcf7-form .wpcf7-acceptance input[type=checkbox] { display: block; position: static; opacity: 1; width: 20px; height: 20px; flex: 0 0 20px; margin: 0; accent-color: #502382; }
body .wpcf7-form .wpcf7-acceptance .wpcf7-list-item-label::before, body .wpcf7-form .wpcf7-acceptance .wpcf7-list-item-label::after { content: none; }
.wpcf7-form .wpcf7-response-output { clear: both; margin: 16px 0 0; padding: 12px; border-radius: 8px; }
.wpcf7 form input[type=tel], .wpcf7 form input[type=text], .wpcf7 form input[type=email], .wpcf7 form textarea { font-size: 16px; }
body .wpcf7-form .fieldset-cf7mls .cf7mls-btns { margin-top: 24px !important; display: flex; justify-content: space-between; gap: 16px; clear: both; }
body .wpcf7 .wpcf7-form :is(.wpcf7-checkbox, .wpcf7-radio) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
body .wpcf7 .wpcf7-form :is(.wpcf7-checkbox, .wpcf7-radio) .wpcf7-list-item { margin: 0; }
body .wpcf7 .wpcf7-form :is(.wpcf7-checkbox, .wpcf7-radio) label { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 12px; border: 1px solid #dcd2e5; border-radius: 10px; cursor: pointer; }
body .wpcf7 .wpcf7-form :is(.wpcf7-checkbox, .wpcf7-radio) label:has(input:checked) { border-color: #75439c; background: #75439c0d; }
body .wpcf7 .wpcf7-form :is(.wpcf7-checkbox, .wpcf7-radio) input { display: block; position: static; opacity: 1; width: 20px; height: 20px; flex: 0 0 20px; margin: 0; accent-color: #502382; }
body .wpcf7 .wpcf7-form :is(.wpcf7-checkbox, .wpcf7-radio) .wpcf7-list-item-label { padding: 0; font-size: 15px; line-height: 1.4; }
body .wpcf7 .wpcf7-form :is(.wpcf7-checkbox, .wpcf7-radio) .wpcf7-list-item-label::before,
body .wpcf7 .wpcf7-form :is(.wpcf7-checkbox, .wpcf7-radio) .wpcf7-list-item-label::after { content: none; }
body .wpcf7 :is(.cf7mls_next, .cf7mls_back) { margin: 0 !important; min-height: 46px; border-radius: 10px; background: #502382 !important; color: #fff !important; }
body .wpcf7 .cf7mls_back { background: #f1edf6 !important; color: #502382 !important; }
body .wpcf7 .cf7mls_next { margin-left: auto !important; }
.fieldset-cf7mls:focus { outline: none; }
body .wpcf7 .fieldset-cf7mls :is(input[type=text],input[type=tel],input[type=email],select,textarea) { width: 100%; min-height: 48px; padding: 12px 14px; background: #faf8fc; border: 1px solid #dcd2e5; border-radius: 10px; color: #382c43; }
.fieldset-cf7mls .wpcf7-acceptance a { color: #502382; text-decoration: underline; }
body:has(.cookie-bar:not([hidden])) .to-top { visibility: hidden; }
.site-header .n-link_text-200-7 { white-space: nowrap; }

@media (min-width: 768px) and (max-width: 1100px) {
  #section-191-7 > .container { display: grid !important; grid-template-columns: 160px minmax(0, 1fr) auto 44px; gap: 16px; align-items: center; padding-top: 18px; padding-bottom: 18px; }
  .site-header .header-address { font-size: 12px; }
  .site-header .header-contact { width: auto !important; padding-right: 0 !important; }
  #section-191-7 > .container > nav.n-div_block-206-7 { grid-column: 4; grid-row: 1; width: 44px; }
  .site-header .n-link_text-200-7 { font-size: 16px; }
  .site-header .header-callback { font-size: 12px; }
}

@media (max-width: 1100px) {
  #image-79-2877 { width: calc(100% - 40px) !important; max-width: calc(100% - 40px) !important; left: 20px; right: 20px; margin-left: 0; transform: none; }
  .site-header .primary-menu.is-open { position: fixed; top: var(--menu-top, 78px) !important; left: 12px; right: 12px; width: auto !important; max-height: calc(100dvh - var(--menu-top, 78px) - 12px); display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 16px; border: 1px solid #e9e1ef; border-radius: 14px; background: #fff; box-shadow: 0 12px 32px #382c4326; overflow: auto; overscroll-behavior: contain; }
  .site-header .primary-menu > li { display: flex; flex-wrap: wrap; align-items: center; width: 100%; }
  .site-header .primary-menu > li > a { flex: 1; padding: 12px 4px; font-size: 14px; white-space: normal; text-align: left; justify-content: flex-start; }
  .site-header .primary-menu .submenu-toggle { width: 44px; height: 44px; flex-shrink: 0; font-size: 20px; }
  .site-header .primary-menu .sub-menu { position: static; flex-basis: 100%; width: 100%; min-width: 0; max-width: 100%; box-shadow: none; padding: 4px 12px 12px; }
  .site-header .primary-menu li:not(.is-open) > .sub-menu { display: none !important; }
  .site-header .primary-menu li.is-open > .sub-menu { display: block !important; }
  .site-header .primary-menu .sub-menu a { white-space: normal; padding: 10px 4px; }
}
@media (max-width: 600px) {
  .responsive-price-table, .responsive-price-table tbody { display: block; width: 100% !important; height: auto !important; }
  .responsive-price-table tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); height: auto !important; margin-bottom: 16px; border: 1px solid #e5dfeb; border-radius: 10px; overflow: hidden; }
  .responsive-price-table tr.price-table-heading { display: none; }
  .responsive-price-table td { display: block; width: auto !important; height: auto !important; padding: 12px; border: 0; text-align: left !important; font-size: 13px; line-height: 1.6; }
  .responsive-price-table td:first-child { grid-column: 1 / -1; border-bottom: 1px solid #e5dfeb; }
  .responsive-price-table td:not(:first-child) { background: #f8f6fb; }
  .responsive-price-table td:not(:first-child)::before { content: attr(data-label); display: block; margin-bottom: 4px; color: #716779; font-size: 11px; font-weight: 500; }
  .responsive-price-table td:last-child { border-left: 1px solid #e5dfeb; }
  dialog.modal[open] { padding: 28px 20px 20px !important; border-radius: 16px !important; }
  body .wpcf7 .wpcf7-form :is(.wpcf7-checkbox, .wpcf7-radio) { grid-template-columns: 1fr; }
  body:not(.home):not(.bn-detail-view) #main-content > .section > .container { padding-top: 40px; padding-bottom: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  html, .carousel-track { scroll-behavior: auto !important; }
  .carousel *, .modal *, .primary-menu * { transition: none !important; animation: none !important; }
}
/* Legacy modal positioning must not move the document to its top on focus. */
dialog.modal[open] { position:fixed!important; inset:0; }

/* Separate overlapping gift certificates from each other and their background. */
.gift-card-image { box-shadow:0 14px 28px rgba(48,19,69,.22),0 3px 7px rgba(48,19,69,.16); }

/* Compact home gallery: retain the landscape framing of all three photos. */
@media(max-width:991px) {
 #section-193-12 > .container { display:grid; gap:12px; padding-inline:20px; }
 #section-193-12 #new_columns-194-12 { display:contents; }
 #section-193-12 #div_block-195-12 { width:100%!important; padding:0; margin:0 0 12px; align-items:flex-start; text-align:left; }
 #section-193-12 #text_block-197-12 { margin:0 0 12px; }
 #section-193-12 #headline-200-12 { margin:0; font-size:28px; line-height:1.25; }
 #section-193-12 #text_block-216-12 { margin-top:16px; }
 #section-193-12 #new_columns-221-12 { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; width:100%; margin:0; }
 #section-193-12 :is(#div_block-196-12,#div_block-229-12,#div_block-232-12) { width:100%!important; min-width:0; margin:0; padding:0; }
 #section-193-12 a[data-lightbox] { display:block; width:100%; height:auto; border-radius:14px; overflow:hidden; }
 #section-193-12 a[data-lightbox] img { display:block; width:100%; height:auto; min-height:0; aspect-ratio:3/2; object-fit:cover; border-radius:0; }
}

/* The shared appointment form uses compact consent rows, not choice cards. */
body .wpcf7[id^="wpcf7-f260-"] .wpcf7-form .policy { width:100%; margin:0 0 12px!important; }
body .wpcf7[id^="wpcf7-f260-"] .wpcf7-form .policy:last-of-type { margin-bottom:0!important; }
body .wpcf7[id^="wpcf7-f260-"] .wpcf7-form p:has(input[type="submit"]) { margin-bottom:20px!important; }
body .wpcf7[id^="wpcf7-f260-"] .wpcf7-form .policy :is(.wpcf7-form-control-wrap,.wpcf7-acceptance,.wpcf7-checkbox,.wpcf7-list-item) { display:block; width:100%; margin:0; }
body .wpcf7[id^="wpcf7-f260-"] .wpcf7-form .policy label { display:flex; align-items:flex-start; gap:10px; min-height:0; width:100%; padding:0; border:0; border-radius:0; background:transparent; box-shadow:none; cursor:pointer; }
body .wpcf7[id^="wpcf7-f260-"] .wpcf7-form .policy input[type="checkbox"] { position:static; display:block; flex:0 0 20px; width:20px; height:20px; margin:0; opacity:1; }
body .wpcf7[id^="wpcf7-f260-"] .wpcf7-form .policy .wpcf7-list-item-label { min-width:0; padding:0; font-size:12px; line-height:1.65; }
body .wpcf7[id^="wpcf7-f260-"] .wpcf7-form .policy label:has(input:checked) { border:0; background:transparent; }
