/* Own accessible behavior layer; no fonts, imports or remote resources. */
.overlay[hidden], .lightbox[hidden], .lightbox-otz[hidden], .menu-nav-box[hidden] { display: none !important; }
.menu-container .menu-button[hidden] { display: none !important; }
.menu-nav-box:not([hidden]) { display: block; visibility: visible; opacity: 1; }
.menu-button[role="button"], .close[role="button"], .prev-comments[role="button"], .next-comments[role="button"] { cursor: pointer; }
.menu-button:focus-visible, .close:focus-visible, .open:focus-visible, .open-otz:focus-visible,
.prev-comments:focus-visible, .next-comments:focus-visible, .comments-pagination button:focus-visible,
.site-ui-reviews > .swiper-wrapper:focus-visible { outline: 3px solid #236ba6; outline-offset: 4px; }
.overlay:not([hidden]) { display: block; position: fixed; inset: 0; z-index: 1000; background: rgb(0 0 0 / 60%); visibility: visible; opacity: 1; }
body.site-ui-mobile-menu-open .menu-container { position: relative; z-index: 1001; }
body.site-ui-modal-open { overflow: hidden; }
.lightbox:not([hidden]), .lightbox-otz:not([hidden]) {
  display: block; position: fixed; z-index: 1002; top: 50%; left: 50%; right: auto; bottom: auto;
  transform: translate(-50%, -50%); width: min(92vw, 36rem); max-height: 90vh;
  overflow: auto; box-sizing: border-box; padding: 2rem; margin: 0;
  background: #fff; color: #222; border-radius: .35rem; box-shadow: 0 1rem 4rem rgb(0 0 0 / 30%);
  visibility: visible; opacity: 1;
}
.lightbox .close, .lightbox-otz .close { min-width: 44px; min-height: 44px; }
.formLB [disabled] { cursor: wait; opacity: .65; }
.site-ui-form-status { clear: both; margin: 1rem 0 0; line-height: 1.5; }
.site-ui-form-status:empty { display: none; }
.site-ui-honeypot { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip-path: inset(50%); white-space: nowrap; }
.site-ui-reviews { overflow: visible; }
.site-ui-reviews > .swiper-wrapper {
  display: flex; gap: 1.25rem; overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory; scroll-padding: 0; overscroll-behavior-x: contain;
  width: 100%; height: auto; transform: none !important; box-sizing: border-box;
  align-items: stretch; padding: .25rem 0 1rem; scrollbar-width: thin;
}
.site-ui-reviews > .swiper-wrapper > .swiper-slide {
  flex: 0 0 calc((100% - 2.5rem) / 3); width: calc((100% - 2.5rem) / 3) !important;
  height: auto; margin-right: 0 !important; box-sizing: border-box; scroll-snap-align: start;
}
.comments-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; }
.comments-pagination button { min-width: 44px; min-height: 44px; padding: .4rem; border: 1px solid #777; border-radius: 50%; background: #fff; color: #222; cursor: pointer; }
.comments-pagination button[aria-current="true"] { background: #222; color: #fff; }
.prev-comments[aria-disabled="true"], .next-comments[aria-disabled="true"] { opacity: .4; cursor: default; }
@media (min-width: 901px) {
  .menu-container .menu-nav-box:not([hidden]) { position: static; transform: none; width: auto; height: auto; max-height: none; }
}
@media (max-width: 900px) {
  .menu-container .menu-button:not([hidden]) { display: flex !important; visibility: visible; opacity: 1; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
  .site-ui-reviews > .swiper-wrapper > .swiper-slide { flex-basis: 100%; width: 100% !important; }
  .lightbox:not([hidden]), .lightbox-otz:not([hidden]) { padding: 1.25rem; max-height: 88vh; }
}
@media (prefers-reduced-motion: reduce) {
  .site-ui-reviews > .swiper-wrapper { scroll-behavior: auto; }
}

/* Fit the existing theme's fixed-width blocks; do not clip page overflow. */
body .menu-container, body .menu-container .menu-items,
body .menu-container .menu-phone-box { box-sizing: border-box; min-width: 0; }
body .menu-container .menu-nav-box nav { min-width: 0; max-width: 100%; }
body .menu-container .menu-nav-box ul { box-sizing: border-box; max-width: 100%; }
body .menu-container .phone-box button { max-width: 100%; white-space: normal; }
@media (min-width: 901px) {
  body .menu-container { display: flex; align-items: center; gap: .5rem; padding: 0 .75rem; }
  body .menu-container .menu-nav-box:not([hidden]) { flex: 1 1 0; padding: 0; }
  body .menu-container .menu-nav-box ul { display: flex; flex-wrap: wrap; justify-content: center; width: auto; margin: 0; }
  body .menu-container .menu-nav-box ul li { float: none; margin: 0; }
  body .menu-container .menu-nav-box ul li a { font-size: clamp(14px, 1.2vw, 20px); padding: .5rem .625rem; background: transparent; }
  body .menu-container .phone-box { position: static; flex: 0 0 14rem; width: auto; height: auto; margin: 0; }
  body .menu-container .menu-phone-box { height: auto; padding: .4rem 0; }
  body .menu-container .phone-box p { font-size: 16px; }
}
@media (max-width: 900px) {
  html { overflow-x: visible; }
  body .container, body .container-gl { width: 100%; min-width: 0; box-sizing: border-box; }
  body .container .wrapper, body .container-gl .wrapper-gl { width: 100%; min-width: 0; max-width: 100%; padding-left: 1rem; padding-right: 1rem; }
  body .container img, body .container-gl img { max-width: 100%; height: auto; box-sizing: border-box; }
  body .menu-container { display: grid; grid-template-columns: 56px minmax(0, 1fr); align-items: center; min-height: 80px; padding: .5rem; gap: .5rem; }
  body .menu-container .menu-button:not([hidden]) { width: 44px; height: 44px; padding: 0; font-size: 32px; box-sizing: border-box; }
  body .menu-container .phone-box { position: static; width: auto; height: auto; margin: 0; }
  body .menu-container .menu-phone-box { height: auto; width: 100%; }
  body .menu-container .menu-phone-box button { font-size: 16px; padding: .5rem .75rem; margin: 0 auto; min-height: 44px; }
  body .menu-container .phone-box p { font-size: 14px; line-height: 1.4; }
  body .menu-container .menu-nav-box:not([hidden]) { position: absolute; top: 100%; left: 0; right: 0; width: 100%; box-sizing: border-box; max-height: calc(100dvh - 96px); overflow-y: auto; padding: .5rem 1rem; }
  body .menu-container .menu-nav-box ul { width: 100%; margin: 0; }
  body .menu-container .menu-nav-box ul li { float: none; margin: .25rem 0; }
  body .menu-container .menu-nav-box ul li a { font-size: 20px; line-height: 1.4; padding: .5rem; overflow-wrap: anywhere; }
  body .block-1 .h1-box { margin: 1rem 0; padding: 1rem; box-sizing: border-box; }
  body .block-1 .h1-box h1 { font-size: clamp(28px, 7vw, 48px); line-height: 1.2; overflow-wrap: anywhere; }
  body .block-1 .h1-box p { font-size: clamp(22px, 5vw, 32px); }
  body .block-1 .h1-box a { display: block; font-size: clamp(20px, 5vw, 30px); overflow-wrap: anywhere; }
  body .block-1 .h2-box, body .block-1 .agent-box { width: 100% !important; max-width: 520px; min-width: 0; box-sizing: border-box; }
  body .block-1 .h2-box h2, body .block-1 .h2-box center { width: auto !important; min-width: 0; max-width: 100%; box-sizing: border-box; }
  body .block-1 .h2-box h2 { font-size: clamp(24px, 6vw, 36px); line-height: 1.3; overflow-wrap: anywhere; }
  body .block-1 .h2-box button, body .block-1 .agent-box button,
  body .container.content .button { max-width: 100%; box-sizing: border-box; white-space: normal; overflow-wrap: anywhere; }
  body .block-2 .ritual-box-container { width: 100%; max-width: 100%; box-sizing: border-box; }
  body .block-2 .ritual-box-container .ritual-box { inset: 0; width: 100%; height: 100%; animation: none !important; transform: none !important; }
  body .block-2 .ritual-box-container h4 { font-size: clamp(24px, 6vw, 34px); overflow-wrap: anywhere; }
  body .block-2 .ritual-box-container a { font-size: clamp(22px, 6vw, 30px); overflow-wrap: anywhere; }
  body .block-2 .ritual-box-container button { max-width: calc(100% - 20px); box-sizing: border-box; white-space: normal; }
  body .container.content .product-image { margin-left: 0; margin-right: 0; }
  body .container.content .product-description, body .container.content .product-details { overflow-wrap: anywhere; }
}

/* The telephone links belong to menu-time-box, independently of the call form. */
body .menu-container .menu-time-box {
  display: flex !important; flex-direction: column; justify-content: center;
  position: static !important; inset: auto; width: auto; min-width: 0;
  height: auto; margin: 0; padding: .25rem 0; box-sizing: border-box;
}
body .menu-container .menu-time-box a {
  display: block; font-size: 18px !important; line-height: 1.4;
  margin: 0; padding: 0; white-space: normal; overflow-wrap: anywhere;
}
@media (min-width: 901px) {
  body .menu-container .menu-time-box { flex: 0 0 auto; max-width: 14rem; }
}
@media (max-width: 900px) {
  body .menu-container .menu-button:not([hidden]) {
    position: static !important; inset: auto; grid-column: 1; grid-row: 1;
    justify-self: center; align-self: center; margin: 0;
  }
  body .menu-container .menu-time-box { grid-column: 2; grid-row: 1; max-width: 100%; }
  body .menu-container .menu-time-box a { font-size: clamp(16px, 4.6vw, 18px) !important; }
  body .menu-container .phone-box { grid-column: 1 / -1; grid-row: 2; }
}
