/**
Theme Name: astra-child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.43
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/
html {
  scroll-behavior: smooth;
}

/* --------------------------------------------------------------------------
   Header logo: keep icon image, HTML wordmark in Montserrat ExtraBold.
   Composite logo (icon+text) is cropped to the left square icon only.
   -------------------------------------------------------------------------- */
.ast-site-identity {
  display: flex !important;
  align-items: center;
  flex-wrap: nowrap;
  flex-shrink: 0;
  gap: 0.55rem;
  min-width: max-content;
}
.ast-logo-title-inline .site-logo-img {
  padding-right: 0 !important;
  flex-shrink: 0;
}
/* Crop logow_bukosa.webp (246×60) to left ~60px icon square — do not edit the file */
.site-logo-img .custom-logo,
.site-logo-img img.custom-logo,
.ast-theme-transparent-header #masthead .site-logo-img img,
.ast-theme-transparent-header #masthead .site-logo-img .custom-logo {
  width: 44px !important;
  max-width: 44px !important;
  height: 44px !important;
  object-fit: cover;
  object-position: left center;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.55))
    drop-shadow(0 0 1px rgba(0, 0, 0, 0.4));
}
.ast-site-identity .ast-site-title-wrap {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin: 0;
  line-height: 1;
  white-space: nowrap;
}
.ast-site-identity .site-title,
.site-header .site-title,
.ast-site-identity .site-title a {
  display: block !important;
  margin: 0;
  padding: 0;
  font-family: "Montserrat", Commissioner, sans-serif !important;
  font-weight: 800 !important;
  font-size: 1.55rem !important;
  line-height: 1 !important;
  letter-spacing: -0.02em;
  color: #fff !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.7),
    0 0 8px rgba(0, 0, 0, 0.35);
}
.ast-site-identity .site-description {
  display: none !important;
}

/* Soft dark pill behind logo+wordmark on transparent header / light heroes */
.ast-theme-transparent-header .ast-site-identity {
  padding: 0.3rem 0.7rem 0.3rem 0.4rem;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.28);
  box-shadow:
    0 2px 10px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.22);
}
.ast-theme-transparent-header .ast-site-identity .site-title,
.ast-theme-transparent-header .ast-site-identity .site-title a {
  color: #fff !important;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.75),
    0 0 10px rgba(0, 0, 0, 0.4);
}

@media (max-width: 921px) {
  .site-logo-img .custom-logo,
  .site-logo-img img.custom-logo,
  .ast-theme-transparent-header #masthead .site-logo-img img {
    width: 38px !important;
    max-width: 38px !important;
    height: 38px !important;
  }
  .ast-site-identity .site-title,
  .ast-site-identity .site-title a {
    font-size: 1.3rem !important;
  }
}
@media (max-width: 544px) {
  .site-logo-img .custom-logo,
  .site-logo-img img.custom-logo,
  .ast-theme-transparent-header #masthead .site-logo-img img {
    width: 34px !important;
    max-width: 34px !important;
    height: 34px !important;
  }
  .ast-site-identity .site-title,
  .ast-site-identity .site-title a {
    font-size: 1.15rem !important;
  }
  .ast-theme-transparent-header .ast-site-identity {
    padding: 0.25rem 0.55rem 0.25rem 0.3rem;
  }
}

/* Header socials + phone: readable on light hero / transparent header */
.ast-header-social-1 .ast-builder-social-element,
.ast-header-social-wrap .ast-builder-social-element {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.32) !important;
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.35);
  filter: none;
  color: #fff !important;
}
/* Glyphs white at rest; brand color on hover (circular dark bg stays) */
.ast-header-social-1 .ast-builder-social-element .ahfb-svg-iconset svg,
.ast-header-social-1 .ast-builder-social-element .ahfb-svg-iconset path,
.ast-header-social-wrap .ast-builder-social-element .ahfb-svg-iconset svg,
.ast-header-social-wrap .ast-builder-social-element .ahfb-svg-iconset path {
  fill: #fff !important;
  color: #fff !important;
  transition: fill 0.2s ease, color 0.2s ease;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.65));
}
/* Live order: Max, Telegram (class ast-facebook), WhatsApp (ast-twitter), VK (ast-instagram) */
.ast-header-social-1 .ast-builder-social-element.ast-max:hover .ahfb-svg-iconset svg,
.ast-header-social-1 .ast-builder-social-element.ast-max:hover .ahfb-svg-iconset path,
.ast-header-social-1 .ast-builder-social-element[aria-label="Max"]:hover .ahfb-svg-iconset svg,
.ast-header-social-1 .ast-builder-social-element[aria-label="Max"]:hover .ahfb-svg-iconset path,
.ast-header-social-wrap .ast-builder-social-element.ast-max:hover .ahfb-svg-iconset svg,
.ast-header-social-wrap .ast-builder-social-element.ast-max:hover .ahfb-svg-iconset path,
.ast-header-social-wrap .ast-builder-social-element[aria-label="Max"]:hover .ahfb-svg-iconset svg,
.ast-header-social-wrap .ast-builder-social-element[aria-label="Max"]:hover .ahfb-svg-iconset path {
  fill: #165ffa !important;
  color: #165ffa !important;
}
.ast-header-social-1 .ast-builder-social-element.ast-facebook:hover .ahfb-svg-iconset svg,
.ast-header-social-1 .ast-builder-social-element.ast-facebook:hover .ahfb-svg-iconset path,
.ast-header-social-1 .ast-builder-social-element[aria-label="telegram"]:hover .ahfb-svg-iconset svg,
.ast-header-social-1 .ast-builder-social-element[aria-label="telegram"]:hover .ahfb-svg-iconset path,
.ast-header-social-wrap .ast-builder-social-element.ast-facebook:hover .ahfb-svg-iconset svg,
.ast-header-social-wrap .ast-builder-social-element.ast-facebook:hover .ahfb-svg-iconset path,
.ast-header-social-wrap .ast-builder-social-element[aria-label="telegram"]:hover .ahfb-svg-iconset svg,
.ast-header-social-wrap .ast-builder-social-element[aria-label="telegram"]:hover .ahfb-svg-iconset path {
  fill: #2aabee !important;
  color: #2aabee !important;
}
.ast-header-social-1 .ast-builder-social-element.ast-twitter:hover .ahfb-svg-iconset svg,
.ast-header-social-1 .ast-builder-social-element.ast-twitter:hover .ahfb-svg-iconset path,
.ast-header-social-1 .ast-builder-social-element[aria-label="Whats App"]:hover .ahfb-svg-iconset svg,
.ast-header-social-1 .ast-builder-social-element[aria-label="Whats App"]:hover .ahfb-svg-iconset path,
.ast-header-social-wrap .ast-builder-social-element.ast-twitter:hover .ahfb-svg-iconset svg,
.ast-header-social-wrap .ast-builder-social-element.ast-twitter:hover .ahfb-svg-iconset path,
.ast-header-social-wrap .ast-builder-social-element[aria-label="Whats App"]:hover .ahfb-svg-iconset svg,
.ast-header-social-wrap .ast-builder-social-element[aria-label="Whats App"]:hover .ahfb-svg-iconset path {
  fill: #25d366 !important;
  color: #25d366 !important;
}
.ast-header-social-1 .ast-builder-social-element.ast-instagram:hover .ahfb-svg-iconset svg,
.ast-header-social-1 .ast-builder-social-element.ast-instagram:hover .ahfb-svg-iconset path,
.ast-header-social-1 .ast-builder-social-element[aria-label="vk"]:hover .ahfb-svg-iconset svg,
.ast-header-social-1 .ast-builder-social-element[aria-label="vk"]:hover .ahfb-svg-iconset path,
.ast-header-social-wrap .ast-builder-social-element.ast-instagram:hover .ahfb-svg-iconset svg,
.ast-header-social-wrap .ast-builder-social-element.ast-instagram:hover .ahfb-svg-iconset path,
.ast-header-social-wrap .ast-builder-social-element[aria-label="vk"]:hover .ahfb-svg-iconset svg,
.ast-header-social-wrap .ast-builder-social-element[aria-label="vk"]:hover .ahfb-svg-iconset path {
  fill: #0077ff !important;
  color: #0077ff !important;
}
.ast-header-social-1 .ast-builder-social-element:hover,
.ast-header-social-wrap .ast-builder-social-element:hover {
  background: rgba(0, 0, 0, 0.5) !important;
  box-shadow:
    0 3px 12px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.5);
}

/* Single header button: «Вызов замерщика» */
.ast-header-html-1 a.btn,
.ast-header-html-1 button.btn {
  display: inline-flex !important;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.85rem !important;
  border: 1.5px solid #fff !important;
  border-radius: 2px;
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  white-space: nowrap;
  background: rgba(0, 0, 0, 0.28) !important;
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(0, 0, 0, 0.15);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
  transition: background 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  font: inherit;
}
.ast-header-html-1 a.btn:hover,
.ast-header-html-1 button.btn:hover {
  background: rgba(0, 0, 0, 0.42) !important;
  color: #fff !important;
  box-shadow:
    0 3px 12px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(0, 0, 0, 0.2);
}
.ast-header-html-1 a.btn .fa {
  order: 0;
  font-size: 0.95em;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.5));
}

/* Phone: plain tel: link (not a button) — readable on dark/transparent header */
.ast-header-html-1 .bukosa-header-phone,
.ast-header-html-1 a.btn.bukosa-header-phone,
.ast-header-html-1 a.bukosa-header-phone {
  display: inline-flex !important;
  align-items: center;
  gap: 0.4rem;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 800 !important;
  letter-spacing: 0.01em;
  line-height: 1.2;
  white-space: nowrap;
  background: transparent !important;
  box-shadow: none !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.65), 0 0 1px rgba(0, 0, 0, 0.4);
  transition: opacity 0.2s ease;
  cursor: pointer;
  font: inherit;
}
.ast-header-html-1 .bukosa-header-phone span,
.ast-header-html-1 a.bukosa-header-phone span {
  font-weight: 800 !important;
  order: 1;
}
.ast-header-html-1 .bukosa-header-phone:hover,
.ast-header-html-1 a.btn.bukosa-header-phone:hover,
.ast-header-html-1 a.bukosa-header-phone:hover {
  background: transparent !important;
  color: #fff !important;
  box-shadow: none !important;
  border: 0 !important;
  opacity: 0.88;
}
.ast-header-html-1 .bukosa-header-phone .fa,
.ast-header-html-1 a.bukosa-header-phone .fa {
  display: none !important;
}

/* On transparent header, keep white chrome readable (phone stays text-only) */
.ast-theme-transparent-header .ast-header-html-1 a.btn:not(.bukosa-header-phone) {
  border-color: #fff !important;
  color: #fff !important;
}
.ast-theme-transparent-header .ast-header-html-1 .bukosa-header-phone,
.ast-theme-transparent-header .ast-header-html-1 a.bukosa-header-phone {
  border: 0 !important;
  border-color: transparent !important;
  color: #fff !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* --------------------------------------------------------------------------
   Brand surface + sticky header (no Astra Pro sticky addon).
   --bukosa-surface: sampled prototype chrome #1A1E2A (rgb 26,30,42)
   -------------------------------------------------------------------------- */
:root {
  --bukosa-surface: #1A1E2A;
  --bukosa-surface-hover: #262B39;
  /* Kill Astra/Spectra default blue (#046bd2 / #045cb4) — brand charcoal primary */
  --ast-global-color-0: var(--bukosa-surface) !important;
  --ast-global-color-1: var(--bukosa-surface-hover) !important;
}

/* --------------------------------------------------------------------------
   Global CTAs: Spectra/UAGB, core buttons, Astra theme buttons → brand dark
   (excludes messenger brand hovers: WA / TG / Max)
   -------------------------------------------------------------------------- */
.wp-block-button .wp-block-button__link:not(.is-style-outline):not(.ast-outline-button),
.wp-block-buttons .wp-block-button:not(.is-style-outline) .wp-block-button__link,
.wp-block-uagb-buttons-child .uagb-buttons-repeater.wp-block-button__link:not(.ast-outline-button),
.uagb-buttons-repeater.wp-block-button__link:not(.ast-outline-button),
.ast-button:not(.ast-outline-button),
.ast-custom-button:not(.ast-outline-button),
button.button:not(.ast-outline-button),
input#submit,
input[type="submit"],
input[type="button"]:not(.bukosa-measure-modal__close):not(.bukosa-write-sheet__backdrop):not(.bukosa-write-sheet__cancel),
.srfm-form .srfm-btn,
.srfm-form button[type="submit"] {
  background-color: var(--bukosa-surface) !important;
  border-color: var(--bukosa-surface) !important;
  color: #fff !important;
}

.wp-block-button .wp-block-button__link:not(.is-style-outline):not(.ast-outline-button):hover,
.wp-block-button .wp-block-button__link:not(.is-style-outline):not(.ast-outline-button):focus,
.wp-block-buttons .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover,
.wp-block-buttons .wp-block-button:not(.is-style-outline) .wp-block-button__link:focus,
.wp-block-uagb-buttons-child .uagb-buttons-repeater.wp-block-button__link:not(.ast-outline-button):hover,
.wp-block-uagb-buttons-child .uagb-buttons-repeater.wp-block-button__link:not(.ast-outline-button):focus,
.uagb-buttons-repeater.wp-block-button__link:not(.ast-outline-button):hover,
.uagb-buttons-repeater.wp-block-button__link:not(.ast-outline-button):focus,
.ast-button:not(.ast-outline-button):hover,
.ast-custom-button:not(.ast-outline-button):hover,
button.button:not(.ast-outline-button):hover,
input#submit:hover,
input[type="submit"]:hover,
input[type="submit"]:focus,
.srfm-form .srfm-btn:hover,
.srfm-form button[type="submit"]:hover {
  background-color: var(--bukosa-surface-hover) !important;
  border-color: var(--bukosa-surface-hover) !important;
  color: #fff !important;
}

/* Outline / ghost: dark border + dark text (no blue) */
.wp-block-button.is-style-outline .wp-block-button__link,
.wp-block-buttons .wp-block-button.is-style-outline .wp-block-button__link,
.ast-outline-button,
.wp-block-uagb-buttons-child .uagb-buttons-repeater.ast-outline-button {
  background-color: transparent !important;
  border-color: var(--bukosa-surface) !important;
  color: var(--bukosa-surface) !important;
}

.wp-block-button.is-style-outline .wp-block-button__link:hover,
.wp-block-button.is-style-outline .wp-block-button__link:focus,
.wp-block-buttons .wp-block-button.is-style-outline .wp-block-button__link:hover,
.ast-outline-button:hover,
.ast-outline-button:focus,
.wp-block-uagb-buttons-child .uagb-buttons-repeater.ast-outline-button:hover,
.wp-block-uagb-buttons-child .uagb-buttons-repeater.ast-outline-button:focus {
  background-color: var(--bukosa-surface) !important;
  border-color: var(--bukosa-surface) !important;
  color: #fff !important;
}

/* Pin header while scrolling: fixed on transparent heroes, sticky otherwise */
.ast-theme-transparent-header #masthead {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 99;
}
body:not(.ast-theme-transparent-header) #masthead {
  position: sticky !important;
  top: 0;
  z-index: 99;
}

/* Solid brand chrome on non-transparent pages */
body:not(.ast-theme-transparent-header) #masthead .main-header-bar,
body:not(.ast-theme-transparent-header) #masthead .ast-primary-header-bar,
body:not(.ast-theme-transparent-header) #masthead .ast-above-header-bar {
  background-color: var(--bukosa-surface) !important;
  background-image: none !important;
}

/* Transparent-header pages: solid brand navy (not washed gray over light heroes) */
.ast-theme-transparent-header #masthead .main-header-bar,
.ast-theme-transparent-header #masthead .ast-primary-header-bar,
.ast-theme-transparent-header #masthead .ast-above-header-bar,
.ast-theme-transparent-header .ast-above-header,
.ast-theme-transparent-header .main-header-bar,
.ast-theme-transparent-header .ast-primary-header-bar {
  background-color: var(--bukosa-surface) !important;
  background-image: none !important;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.ast-builder-menu-1 .main-header-menu > .menu-item > .menu-link,
#ast-desktop-header .main-header-menu > .menu-item > .menu-link,
.ast-builder-menu .main-header-menu > .menu-item > .menu-link {
  color: #fff !important;
  font-weight: 600 !important;
  font-size: 0.92rem !important;
  letter-spacing: 0.01em;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.75),
    0 0 10px rgba(0, 0, 0, 0.35);
}

.ast-builder-menu-1 .main-header-menu > .menu-item:hover > .menu-link,
.ast-builder-menu-1 .main-header-menu > .menu-item.focus > .menu-link,
.ast-builder-menu-1 .main-header-menu > .menu-item.current-menu-item > .menu-link,
.ast-builder-menu-1 .main-header-menu > .menu-item.current-menu-ancestor > .menu-link {
  color: #fff !important;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.8),
    0 0 12px rgba(0, 0, 0, 0.4);
}

/* Sticky / scrolled: solid brand surface — white text stays readable */
body.bukosa-header-scrolled.ast-theme-transparent-header #masthead .main-header-bar,
body.bukosa-header-scrolled.ast-theme-transparent-header #masthead .ast-primary-header-bar,
body.bukosa-header-scrolled.ast-theme-transparent-header #masthead .ast-above-header-bar,
.ast-primary-sticky-header-active #masthead .main-header-bar,
.ast-header-sticked #masthead .main-header-bar,
body.ast-primary-sticky-header-active .main-header-bar,
#masthead .ast-header-sticked .main-header-bar {
  background-color: var(--bukosa-surface) !important;
  background-image: none !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.28);
}

body.bukosa-header-scrolled .ast-builder-menu-1 .main-header-menu > .menu-item > .menu-link,
body.bukosa-header-scrolled #ast-desktop-header .main-header-menu > .menu-item > .menu-link,
.ast-primary-sticky-header-active .ast-builder-menu-1 .main-header-menu > .menu-item > .menu-link,
.ast-header-sticked .ast-builder-menu-1 .main-header-menu > .menu-item > .menu-link,
.ast-primary-sticky-header-active #ast-desktop-header .main-header-menu > .menu-item > .menu-link {
  text-shadow: none;
}

/* Mobile off-canvas / dropdown panel — brand navy, readable white text, closable */
#ast-mobile-popup-wrapper {
  z-index: 100050 !important;
}
#ast-mobile-popup,
.ast-mobile-popup-drawer {
  z-index: 100050 !important;
}
#ast-mobile-popup,
.ast-mobile-popup-drawer,
.ast-mobile-popup-drawer .ast-mobile-popup-inner,
.ast-mobile-header-content,
.ast-desktop-header-content {
  background-color: var(--bukosa-surface) !important;
  background-image: none !important;
  box-shadow: none !important;
}
.ast-mobile-popup-drawer .ast-mobile-popup-overlay {
  pointer-events: auto !important;
  z-index: 0;
}
/* Keep drawer viewport-constrained so content can scroll (do NOT use position:relative here —
   that overrode Astra's fixed top/bottom and made body overflow:hidden trap menu items). */
#ast-mobile-popup.ast-mobile-popup-drawer,
.ast-mobile-popup-drawer {
  overflow: hidden !important;
}
.ast-mobile-popup-drawer .ast-mobile-popup-inner {
  position: fixed !important;
  top: 0 !important;
  bottom: 0 !important;
  right: 0 !important;
  left: auto !important;
  z-index: 1;
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  max-height: 100dvh !important;
  overflow: hidden !important; /* scroll lives on .ast-mobile-popup-content */
  color: #fff !important;
  -webkit-overflow-scrolling: touch;
}
.ast-mobile-popup-drawer.ast-mobile-popup-full-width .ast-mobile-popup-inner {
  left: 0 !important;
  width: 100% !important;
  max-width: none !important;
}
.ast-mobile-popup-drawer.ast-mobile-popup-left .ast-mobile-popup-inner {
  left: 0 !important;
  right: auto !important;
}
.ast-mobile-popup-drawer .ast-mobile-popup-header {
  display: flex !important;
  justify-content: flex-end;
  align-items: center;
  flex: 0 0 auto;
  padding: 0.65rem 0.75rem;
  pointer-events: auto !important;
  position: relative;
  z-index: 2;
}
/* Scrollable menu body: flex child with min-height:0 so overflow-y works */
#ast-mobile-popup .ast-mobile-popup-content,
.ast-mobile-popup-drawer .ast-mobile-popup-content {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  touch-action: pan-y;
  pointer-events: auto !important;
  /* Clear sticky CTA (~56–70px) + iOS safe-area so last items stay reachable */
  padding-left: 0;
  padding-right: 0;
  padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px)) !important;
}
/* Close (X): beat global `button` chrome so it stays visible + clickable */
.ast-mobile-popup-drawer.active .menu-toggle-close,
#menu-toggle-close.menu-toggle-close,
.ast-mobile-popup-drawer .menu-toggle-close {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 3;
  pointer-events: auto !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  border-radius: 4px !important;
  background: rgba(0, 0, 0, 0.25) !important;
  color: #fff !important;
  box-shadow: none !important;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.ast-mobile-popup-drawer .menu-toggle-close:hover,
.ast-mobile-popup-drawer .menu-toggle-close:focus {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #fff !important;
}
.ast-mobile-popup-drawer .menu-toggle-close .ast-mobile-svg,
.ast-mobile-popup-drawer .menu-toggle-close svg {
  fill: #fff !important;
  color: #fff !important;
  width: 18px;
  height: 18px;
}
/* Menu links on dark drawer — left indent so labels clear the screen edge */
#ast-mobile-popup .ast-mobile-popup-content .main-header-menu,
#ast-mobile-popup .ast-mobile-popup-content .ast-builder-menu-mobile .main-header-menu {
  padding-left: 0 !important;
  padding-right: 0 !important;
}
#ast-mobile-popup .ast-mobile-popup-content .main-header-menu .menu-item > .menu-link,
#ast-mobile-popup .ast-mobile-popup-content .ast-builder-menu-mobile .menu-item > .menu-link,
.ast-mobile-popup-content .main-header-menu .menu-item > .menu-link,
.ast-mobile-popup-content .ast-builder-menu-mobile .menu-item > .menu-link,
.ast-mobile-header-content .main-header-menu .menu-item > .menu-link,
.ast-builder-menu-mobile .main-navigation .main-header-menu .menu-item > .menu-link {
  color: #fff !important;
  background: transparent !important;
  text-shadow: none !important;
  box-shadow: none !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
}
.ast-mobile-popup-content .main-header-menu .menu-item:hover > .menu-link,
.ast-mobile-popup-content .main-header-menu .menu-item.current-menu-item > .menu-link,
.ast-builder-menu-mobile .main-navigation .main-header-menu .menu-item:hover > .menu-link,
.ast-builder-menu-mobile .main-navigation .main-header-menu .menu-item.current-menu-item > .menu-link {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.1) !important;
}
.ast-mobile-popup-content .ast-menu-toggle,
.ast-builder-menu-mobile .main-navigation .menu-item > .ast-menu-toggle {
  color: #fff !important;
}
.ast-mobile-popup-content .main-header-menu,
.ast-mobile-popup-content .main-header-menu .menu-link,
.ast-mobile-popup-content .main-header-menu .sub-menu,
.ast-builder-menu-mobile .main-navigation .main-header-menu,
.ast-builder-menu-mobile .main-navigation .main-header-menu .menu-link,
.ast-builder-menu-mobile .main-navigation .main-header-menu .sub-menu {
  background-color: transparent !important;
  background-image: none !important;
}

/* Desktop-only separators between top-level items (single row, no orphan bars) */
@media (min-width: 922px) {
  #ast-desktop-header .main-header-menu,
  .ast-builder-menu-1 .main-header-menu,
  .ast-builder-menu .main-header-menu,
  #primary-menu,
  .ast-nav-menu {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center;
    white-space: nowrap;
  }

  #ast-desktop-header .main-header-menu > .menu-item,
  .ast-builder-menu-1 .main-header-menu > .menu-item,
  .ast-builder-menu .main-header-menu > .menu-item {
    flex-shrink: 0;
    white-space: nowrap;
  }

  #ast-desktop-header .main-header-menu > .menu-item:not(:first-child) > .menu-link,
  .ast-builder-menu-1 .main-header-menu > .menu-item:not(:first-child) > .menu-link,
  .ast-builder-menu .main-header-menu > .menu-item:not(:first-child) > .menu-link {
    position: relative;
  }

  #ast-desktop-header .main-header-menu > .menu-item:not(:first-child) > .menu-link::before,
  .ast-builder-menu-1 .main-header-menu > .menu-item:not(:first-child) > .menu-link::before,
  .ast-builder-menu .main-header-menu > .menu-item:not(:first-child) > .menu-link::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 0.85em;
    background: rgba(255, 255, 255, 0.38);
    pointer-events: none;
  }

  #ast-desktop-header .main-header-menu > .menu-item > .menu-link,
  .ast-builder-menu-1 .main-header-menu > .menu-item > .menu-link {
    padding-left: 0.55em !important;
    padding-right: 0.55em !important;
    font-size: 0.84rem !important;
    white-space: nowrap !important;
  }

  #ast-desktop-header .main-header-menu > .menu-item:first-child > .menu-link,
  .ast-builder-menu-1 .main-header-menu > .menu-item:first-child > .menu-link {
    padding-left: 0.25em !important;
  }

  /* Socials + CTA row: keep one line next to menu (no orphan VK wrap) */
  #ast-desktop-header .ast-header-social-1-wrap,
  #ast-desktop-header .ast-header-social-wrap,
  #ast-desktop-header .ast-header-social-1 {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center;
    gap: 0.35rem;
    flex-shrink: 0;
  }
  #ast-desktop-header .ast-header-social-1 .ast-builder-social-element,
  #ast-desktop-header .ast-header-social-wrap .ast-builder-social-element {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
  }
  #ast-desktop-header .ast-header-html-1,
  #ast-desktop-header .ast-header-html-1 .ast-builder-html-element,
  #ast-desktop-header .ast-header-html-1 .ast-builder-html-element > p {
    flex-wrap: nowrap !important;
    flex-shrink: 0;
  }
  #ast-desktop-header .site-header-primary-section-left,
  #ast-desktop-header .site-header-primary-section-right {
    flex-wrap: nowrap !important;
    align-items: center;
  }

  /* "…" overflow item: same separator treatment */
  .menu-more-item:not(:first-child) .menu-more-link {
    position: relative;
  }
  .menu-more-item:not(:first-child) .menu-more-link::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 0.85em;
    background: rgba(255, 255, 255, 0.38);
    pointer-events: none;
  }
}

/* ===== Footer: logo, categories grid, contacts ===== */
.site-primary-footer-wrap {
  background-color: var(--bukosa-surface) !important;
  padding-top: 2.25rem;
  padding-bottom: 2rem;
}
.site-primary-footer-wrap .ast-builder-grid-row {
  align-items: flex-start;
  gap: 2rem 2.5rem;
}

/* Brand column: logo above address/phone, all left-aligned */
.footer-widget-area[data-section="sidebar-widgets-footer-widget-1"] .widget_block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Logo readable on dark charcoal — undo UAGB justify-content:center */
.site-footer .footer-widget-area .wp-block-uagb-image,
.site-footer .footer-widget-area .wp-block-uagb-image__figure {
  margin: 0;
  width: auto !important;
  max-width: 100%;
  justify-content: flex-start !important;
  align-self: flex-start;
}
.site-footer .footer-widget-area .wp-block-uagb-image img,
.site-footer .footer-widget-area .uag-image-62 {
  display: block;
  width: auto;
  max-width: min(240px, 100%);
  height: auto;
  filter:
    brightness(1.08)
    contrast(1.05)
    drop-shadow(0 1px 1px rgba(0, 0, 0, 0.55))
    drop-shadow(0 0 10px rgba(255, 255, 255, 0.12));
}

/* Address + phone stacked under logo (footer-widget-1) */
.bukosa-footer-brand-meta {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.7rem;
  margin-top: 1.15rem;
  width: 100%;
  max-width: 16.5rem;
  color: #fff;
}
.bukosa-footer-address,
.bukosa-footer-email,
.site-footer .bukosa-footer-phone,
.footer-widget-area .bukosa-footer-phone {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.45rem;
  color: #fff !important;
  text-decoration: none !important;
  font-size: 0.95rem;
  line-height: 1.35;
  background: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}
/* Fixed icon column so pin + phone + text start edges share one axis */
.bukosa-footer-brand-meta .bukosa-footer-address,
.bukosa-footer-brand-meta .bukosa-footer-phone {
  display: grid;
  grid-template-columns: 1.15em 1fr;
  column-gap: 0.55rem;
  align-items: start;
  width: 100%;
}
.site-footer .bukosa-footer-phone,
.footer-widget-area .bukosa-footer-phone,
.site-footer .bukosa-footer-phone span,
.footer-widget-area .bukosa-footer-phone span {
  font-weight: 800 !important;
}
.bukosa-footer-address {
  color: rgba(255, 255, 255, 0.9) !important;
}
.bukosa-footer-brand-meta .bukosa-footer-address span,
.bukosa-footer-brand-meta .bukosa-footer-phone span {
  text-wrap: balance;
  min-width: 0;
}
.site-footer .bukosa-footer-phone .fa,
.footer-widget-area .bukosa-footer-phone .fa,
.bukosa-footer-email .fa,
.bukosa-footer-address .fa {
  flex-shrink: 0;
  opacity: 0.9;
  font-size: 0.9em;
  margin-top: 0.2em;
  width: 1.15em;
  text-align: center;
  line-height: 1;
}
.bukosa-footer-brand-meta .fa {
  width: 100%;
  margin-top: 0.22em;
}

.bukosa-footer-panel {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
  color: #fff;
}

.bukosa-footer-cats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  width: 100%;
}
.bukosa-footer-cat-col {
  padding: 0 1.25rem;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}
.bukosa-footer-cat-col:first-child {
  padding-left: 0;
  border-left: 0;
}
.bukosa-footer-cat-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.bukosa-footer-cat-col li {
  margin: 0 0 0.55rem;
  padding: 0;
  line-height: 1.35;
}
.bukosa-footer-cat-col li:last-child {
  margin-bottom: 0;
}
.bukosa-footer-cat-col a {
  color: rgba(255, 255, 255, 0.88) !important;
  text-decoration: none !important;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  transition: color 0.15s ease;
}
.bukosa-footer-cat-col a:hover {
  color: #fff !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

.bukosa-footer-contacts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1.5rem;
  padding-top: 0.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.bukosa-footer-socials {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.1rem;
  margin-left: auto;
}
.bukosa-footer-socials a {
  color: rgba(255, 255, 255, 0.85) !important;
  text-decoration: none !important;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  padding-bottom: 1px;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.bukosa-footer-socials a:hover {
  color: #fff !important;
  border-bottom-color: #fff;
}

@media (max-width: 921px) {
  .bukosa-footer-brand-meta {
    max-width: none;
    margin-bottom: 0.25rem;
  }
  .bukosa-footer-cats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .bukosa-footer-cat-col:nth-child(2) {
    border-left: 1px solid rgba(255, 255, 255, 0.18);
  }
  .bukosa-footer-cat-col:nth-child(3) {
    grid-column: 1 / -1;
    border-left: 0;
    padding-left: 0;
    padding-top: 0.85rem;
    margin-top: 0.35rem;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }
  .bukosa-footer-socials {
    margin-left: 0;
    width: 100%;
  }
}

@media (max-width: 544px) {
  .bukosa-footer-cats {
    grid-template-columns: 1fr;
  }
  .bukosa-footer-cat-col,
  .bukosa-footer-cat-col:nth-child(2),
  .bukosa-footer-cat-col:nth-child(3) {
    border-left: 0;
    padding-left: 0;
    padding-right: 0;
    padding-top: 0;
    margin-top: 0;
    border-top: 0;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }
  .bukosa-footer-cat-col:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }
  .bukosa-footer-contacts {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
  }
}
/* Только для десктопа Astra (breakpoint 921px) */
@media (min-width: 922px) {
    /* Принудительно выстраиваем меню в строку (nowrap set above with separators) */
    .ast-builder-menu .main-header-menu,
    #primary-menu,
    .ast-nav-menu {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        overflow: visible;
        white-space: nowrap;
    }

    /* Контейнер для "..." */
    .menu-more-item {
        position: relative;
        list-style: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Сами три точки */
    .menu-more-link {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 10px 12px;
        font-size: 1.4rem;
        cursor: pointer;
        text-decoration: none;
        color: #fff;
        background: transparent;
        border-radius: 4px;
        transition: background 0.2s;
    }
    .menu-more-link:hover {
        background: rgba(0,0,0,0.05);
		color: #fff;
    }

    /* Обёртка субменю */
    .menu-more-item .submenu {
        display: none;
        position: absolute;
        top: calc(100% - 4px);
        left: 0;
        background: #ffffff;
        border-radius: 8px;
        box-shadow: 0 6px 24px rgba(0,0,0,0.12);
        list-style: none;
        padding: 8px 0;
        margin: 0;
        min-width: 260px;
        z-index: 999999;
    }

    .menu-more-item .submenu li {
        margin: 0 !important;
        padding: 0 !important;
        display: block !important;
    }

    .menu-more-item .submenu a {
        display: block;
        padding: 10px 20px;
        text-decoration: none;
        color: #333;
        font-size: 14px;
        white-space: nowrap;
        transition: background 0.2s;
    }
	.submenu li a{
		color:#333!important
	}
    .menu-more-item .submenu a:hover {
        background: #f5f5f5;
    }

    /* Показываем субменю при наведении */
    .menu-more-item:hover .submenu {
        display: block !important;
    }
}

/* На планшетах и мобильных скрываем "..." и возвращаем стандартное поведение */
@media (max-width: 921px) {
    .menu-more-item { display: none !important; }
}

/* Flexbe-like benefits accordion */
.bukosa-benefits {
  margin: 1.5rem 0 0;
}
.bukosa-benefit {
  border-top: 1px solid #e5e5e5;
  padding: 0;
}
.bukosa-benefit:last-child {
  border-bottom: 1px solid #e5e5e5;
}
.bukosa-benefit summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  font-weight: 600;
  font-size: 1rem;
}
.bukosa-benefit summary::-webkit-details-marker { display: none; }
.bukosa-benefit summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1;
  color: #222;
  flex-shrink: 0;
}
.bukosa-benefit[open] summary::after { content: "−"; }
.bukosa-benefit p {
  margin: 0 0 1rem;
  color: #555;
}

/* Production cards: caption under image */
.entry-content .wp-block-columns .wp-block-image figcaption {
  text-align: center;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

/* Category galleries */
.entry-content .wp-block-gallery {
  margin: 1.5rem 0 2rem;
}
.entry-content .wp-block-image img {
  height: auto;
}

/* Компания BUKOSA — 5 features */
.bukosa-features-strip {
  background: #f5f5f5;
  padding: 2.5rem 1.25rem 2rem;
  margin: 2.5rem 0 0;
  max-width: none !important;
}
.bukosa-features-strip > .wp-block-heading {
  margin-bottom: 2rem;
}
.bukosa-features-row {
  gap: 1.5rem !important;
}
.bukosa-feature-col {
  text-align: center;
}
.bukosa-feature-icon {
  margin: 0 auto 1rem;
  width: 72px;
  height: 72px;
}
.bukosa-feature-icon img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  display: block;
}
.bukosa-feature-text {
  font-size: 0.92rem;
  line-height: 1.35;
  margin: 0;
  color: #222;
}
@media (max-width: 921px) {
  .bukosa-features-row {
    flex-wrap: wrap !important;
  }
  .bukosa-feature-col {
    flex-basis: 45% !important;
  }
}
@media (max-width: 544px) {
  .bukosa-feature-col {
    flex-basis: 100% !important;
  }
}

/* Full-bleed site map (above footer) */
.bukosa-site-map {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: 0;
  margin-bottom: 0;
  padding: 0;
  line-height: 0;
  overflow: hidden;
  background: #e8e8e8;
}
.bukosa-site-map__iframe {
  display: block;
  width: 100%;
  height: 400px;
  border: 0;
}
@media (max-width: 921px) {
  .bukosa-site-map__iframe {
    height: 320px;
  }
}
@media (max-width: 544px) {
  .bukosa-site-map__iframe {
    height: 280px;
  }
}

/* Hide inset content map when site-wide map is present (avoid duplicate) */
body.bukosa-has-site-map .bukosa-office-map {
  display: none !important;
}

/* Office + Trends */
.bukosa-office-section {
  margin: 3rem 0 2rem;
}
.bukosa-office-section > .wp-block-heading {
  margin-bottom: 0.35rem;
}
.bukosa-office-map {
  display: block;
  width: 100%;
  max-width: 320px;
  height: 280px;
  border: 0;
  margin-bottom: 1.25rem;
}
.bukosa-office-contacts {
  max-width: 360px;
}
.bukosa-office-row {
  padding: 0.85rem 0;
  border-bottom: 1px solid #ddd;
  font-size: 0.95rem;
  line-height: 1.4;
}
.bukosa-office-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin: 1.1rem 0;
  font-size: 0.85rem;
}
.bukosa-office-socials a {
  color: #111;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.bukosa-office-socials a:hover {
  border-bottom-color: #111;
}
.bukosa-office-phone-btn {
  display: inline-block;
  padding: 0.7rem 1.25rem;
  border: 1px solid #111;
  color: #111 !important;
  text-decoration: none !important;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.bukosa-office-row a[href^="tel:"],
.entry-content a[href^="tel:"] {
  font-weight: 800;
}
.bukosa-trends-title {
  margin: 0 0 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #ddd;
  font-size: 1.15rem;
  font-weight: 600;
}
.bukosa-trends-slider {
  position: relative;
}
.bukosa-trends-viewport {
  overflow: hidden;
}
.bukosa-trends-track {
  display: flex;
  transition: transform 0.35s ease;
}
.bukosa-trends-slide {
  flex: 0 0 100%;
  min-width: 100%;
}
.bukosa-trends-slide img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.bukosa-trends-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.85);
  color: #111;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 1px 6px rgba(0,0,0,0.15);
}
.bukosa-trends-prev { left: 10px; }
.bukosa-trends-next { right: 10px; }
@media (max-width: 921px) {
  .bukosa-office-map { max-width: 100%; }
  .bukosa-office-contacts { max-width: none; }
}

/* ===== Full-bleed hero (reception / bar / wall) ===== */
.bukosa-hero {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: 0;
  margin-bottom: 0;
  min-height: min(92vh, 920px);
  overflow: hidden;
  background: #1a1a1a;
}
.bukosa-hero-media {
  position: absolute;
  inset: 0;
  background-image: var(--bukosa-hero-image);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
.bukosa-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.2) 45%, rgba(0,0,0,0.15) 100%);
}
.bukosa-hero-overlay {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  width: 100%;
  /* Beat Astra page-builder "max-width: none" on nested blocks;
     align text with header logo (.ast-container 1240px + 20px pad). */
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  min-height: inherit;
  padding-top: clamp(5.5rem, 11vh, 7.5rem);
  padding-bottom: clamp(2rem, 5vh, 3.25rem);
  padding-left: max(20px, calc((100vw - 1240px) / 2 + 20px));
  padding-right: max(20px, calc((100vw - 1240px) / 2 + 20px));
  color: #fff;
  text-align: left;
}
.bukosa-hero-title {
  margin: 0;
  max-width: 16ch;
  font-size: clamp(1.75rem, 3.4vw, 2.85rem);
  line-height: 1.15;
  font-weight: 600;
  color: #fff !important;
  text-align: left;
}
.bukosa-hero-sub {
  margin: 0;
  font-size: clamp(1.05rem, 1.7vw, 1.4rem);
  line-height: 1.3;
  color: #fff !important;
  max-width: 22ch;
  text-align: left;
}

/* Flush content to header on transparent-header hero pages */
body.bukosa-fullbleed.ast-theme-transparent-header #content,
body.bukosa-fullbleed.ast-theme-transparent-header .site-content,
body.bukosa-fullbleed.ast-theme-transparent-header .ast-container {
  padding-top: 0 !important;
  margin-top: 0 !important;
}
body.bukosa-fullbleed.ast-theme-transparent-header .entry-header,
body.bukosa-fullbleed.ast-theme-transparent-header .ast-archive-description {
  display: none !important;
}
body.bukosa-fullbleed .entry-content > .bukosa-hero:first-child {
  margin-top: 0;
}
body.bukosa-fullbleed.ast-page-builder-template .site-content > .ast-container,
body.bukosa-fullbleed .site-content > .ast-container {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}
.bukosa-page-content {
  padding-top: 2.5rem;
  padding-bottom: 1rem;
  padding-left: max(20px, calc((100vw - 1240px) / 2 + 20px));
  padding-right: max(20px, calc((100vw - 1240px) / 2 + 20px));
  margin-left: 0;
  margin-right: 0;
  max-width: none !important;
  width: 100%;
  box-sizing: border-box;
}
.bukosa-page-content .bukosa-features-strip {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

/* ===== Flexbe-style 2-up / N-up full-bleed carousels ===== */
.bukosa-carousel-section {
  margin: 2.5rem 0 2rem;
}
.bukosa-carousel-section--bleed {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-left: 0;
  padding-right: 0;
}
.bukosa-carousel-heading {
  text-align: center;
  margin: 0 0 1rem;
  padding: 0 1.25rem;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  font-weight: 700;
  color: #111;
}
.bukosa-carousel-sub {
  text-align: center;
  margin: -0.35rem 0 1.25rem;
  padding: 0 1.25rem;
  color: #555;
  font-size: 1rem;
}
.bukosa-carousel-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem 0.65rem;
  margin: 0 auto 1.35rem;
  padding: 0 1rem;
  max-width: 960px;
}
.bukosa-carousel-tab {
  appearance: none;
  border: 1px solid #312929;
  background: #fff;
  color: #312929;
  border-radius: 999px;
  padding: 0.55rem 1.15rem;
  font-size: 0.92rem;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.bukosa-carousel-tab.is-active,
.bukosa-carousel-tab[aria-selected="true"] {
  background: #312929;
  color: #fff;
}
.bukosa-carousel {
  position: relative;
}
.bukosa-carousel-viewport {
  overflow: hidden;
  width: 100%;
}
.bukosa-carousel-track {
  display: flex;
  gap: 6px;
  transition: transform 0.4s ease;
  will-change: transform;
}
.bukosa-carousel-slide {
  position: relative;
  flex: 0 0 calc(50% - 3px);
  min-width: 0;
  background: #1a1a1a;
}
.bukosa-carousel-slide img,
.bukosa-carousel-slide video {
  display: block;
  width: 100%;
  height: min(78vh, 820px);
  object-fit: cover;
  object-position: center;
  background: #222;
}
.bukosa-carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(30, 30, 30, 0.55);
  color: #fff;
  font-size: 1.65rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0 2px;
}
.bukosa-carousel-nav:hover {
  background: rgba(30, 30, 30, 0.78);
}
.bukosa-carousel-nav:disabled {
  opacity: 0.35;
  cursor: default;
}
.bukosa-carousel-prev { left: 12px; }
.bukosa-carousel-next { right: 12px; }
.bukosa-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 0.9rem 0 0;
  padding: 0;
}
.bukosa-carousel-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: #cfcfcf;
  cursor: pointer;
}
.bukosa-carousel-dot.is-active {
  background: #111;
}
.bukosa-carousel-panel[hidden] {
  display: none !important;
}
.bukosa-carousel-slide--labeled {
  background: transparent;
}
.bukosa-carousel-slide--labeled img {
  height: min(42vh, 420px);
}
.bukosa-carousel-caption {
  display: block;
  text-align: center;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-top: 0.55rem;
  color: #111;
}
@media (max-width: 768px) {
  .bukosa-carousel-slide {
    flex-basis: 100%;
  }
  .bukosa-carousel-slide img,
  .bukosa-carousel-slide video {
    height: min(62vh, 560px);
  }
  .bukosa-carousel-slide--labeled img {
    height: min(48vh, 380px);
  }
  .bukosa-carousel-nav {
    width: 38px;
    height: 38px;
    font-size: 1.4rem;
  }
  .bukosa-carousel-prev { left: 8px; }
  .bukosa-carousel-next { right: 8px; }
}

/* ===== Bukosa motion system (scroll reveal, hover, card tilt) =====
   Enabled only when html.bukosa-motion-ready is set by JS.
   Disable site-wide: add body/html class bukosa-no-motion, or OS prefers-reduced-motion. */
html.bukosa-motion-ready .bukosa-reveal {
  opacity: 0;
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--bukosa-delay, 0ms);
  will-change: opacity, transform;
}
html.bukosa-motion-ready .bukosa-reveal--up {
  transform: translate3d(0, 28px, 0);
}
html.bukosa-motion-ready .bukosa-reveal--left {
  transform: translate3d(-36px, 12px, 0);
}
html.bukosa-motion-ready .bukosa-reveal--right {
  transform: translate3d(36px, 12px, 0);
}
html.bukosa-motion-ready .bukosa-reveal--fade {
  transform: none;
}
html.bukosa-motion-ready .bukosa-reveal.is-inview {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* Hero: soft zoom-out on enter */
html.bukosa-motion-ready .bukosa-hero--motion .bukosa-hero-media {
  transform: scale(1.06);
  transition: transform 1.35s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
html.bukosa-motion-ready .bukosa-hero--motion.is-inview .bukosa-hero-media {
  transform: scale(1);
}

/* Gallery / photo hover zoom (overflow clip) */
.bukosa-zoom-hover {
  overflow: hidden;
}
.bukosa-zoom-hover img {
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  transform: translateZ(0);
}
.bukosa-zoom-hover:hover img,
.bukosa-zoom-hover:focus-within img {
  transform: scale(1.045);
}

/* Production cards: subtle 3D tilt on hover */
.bukosa-card-tilt {
  perspective: 900px;
  transform-style: preserve-3d;
}
.bukosa-card-tilt img {
  transition:
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.55s ease;
  transform-origin: center center;
}
.bukosa-card-tilt:hover img {
  transform: rotateY(-6deg) rotateX(3deg) scale(1.03);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}
.bukosa-card-tilt figcaption {
  transition: transform 0.4s ease, opacity 0.4s ease;
}
.bukosa-card-tilt:hover figcaption {
  transform: translateY(-2px);
}

/* Feature icons: soft 3D flip/tilt on hover (not a full reverse) */
.bukosa-feature-flip .bukosa-feature-icon {
  perspective: 480px;
}
.bukosa-feature-flip .bukosa-feature-icon img {
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  transform-style: preserve-3d;
}
.bukosa-feature-flip:hover .bukosa-feature-icon img {
  transform: rotateY(-28deg) rotateX(6deg) scale(1.08);
}
.bukosa-feature-flip .bukosa-feature-text {
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.bukosa-feature-flip:hover .bukosa-feature-text {
  transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
  html.bukosa-motion-ready .bukosa-reveal,
  html.bukosa-motion-ready .bukosa-reveal--up,
  html.bukosa-motion-ready .bukosa-reveal--left,
  html.bukosa-motion-ready .bukosa-reveal--right,
  html.bukosa-motion-ready .bukosa-reveal--fade,
  html.bukosa-motion-ready .bukosa-reveal.is-inview,
  html.bukosa-motion-ready .bukosa-hero--motion .bukosa-hero-media,
  html.bukosa-motion-ready .bukosa-hero--motion.is-inview .bukosa-hero-media,
  .bukosa-zoom-hover img,
  .bukosa-zoom-hover:hover img,
  .bukosa-card-tilt img,
  .bukosa-card-tilt:hover img,
  .bukosa-card-tilt figcaption,
  .bukosa-feature-flip .bukosa-feature-icon img,
  .bukosa-feature-flip:hover .bukosa-feature-icon img,
  .bukosa-feature-flip .bukosa-feature-text {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    box-shadow: none !important;
  }
}

/* Scroll-to-top: match brand surface (no Astra default blue) */
#ast-scroll-top {
  background-color: var(--bukosa-surface) !important;
  color: #fff !important;
  bottom: 52px;
}
#ast-scroll-top:hover {
  background-color: var(--bukosa-surface-hover) !important;
  color: #fff !important;
}
#ast-scroll-top .ast-icon.icon-arrow svg {
  fill: currentColor;
}

/* ===== Sticky «Позвонить / Написать» — mobile only (≤921px) ===== */
.bukosa-sticky-cta {
  display: none;
}

.bukosa-write-sheet {
  display: none;
}

@media (max-width: 921px) {
  .bukosa-sticky-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99990;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: 56px;
    align-items: stretch;
    gap: 0;
    width: 100%;
    max-width: 100%;
    height: calc(56px + env(safe-area-inset-bottom, 0px));
    box-sizing: border-box;
    /* Keep bar full-bleed; inset actions so labels aren't glued to bezels */
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: var(--bukosa-surface);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.35);
    overflow: hidden;
  }

  .bukosa-sticky-cta__btn {
    min-width: 0;
    width: 100%;
    height: 56px;
    min-height: 56px;
    max-height: 56px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    padding: 0.4rem 0.35rem;
    margin: 0;
    border: 0;
    border-radius: 0;
    cursor: pointer;
    font-family: inherit;
    text-decoration: none !important;
    color: #fff !important;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.1;
    box-sizing: border-box;
    background: transparent;
    transition: background 0.2s ease;
    -webkit-tap-highlight-color: transparent;
    -webkit-appearance: none;
    appearance: none;
    overflow: hidden;
    align-self: stretch;
  }

  button.bukosa-sticky-cta__btn {
    /* Kill UA button padding/metrics so height matches <a> */
    -webkit-appearance: none;
    appearance: none;
    font: inherit;
    color: inherit;
  }

  .bukosa-sticky-cta__btn--call {
    border-right: 1px solid rgba(255, 255, 255, 0.14);
  }

  .bukosa-sticky-cta__btn--order {
    border-right: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.08);
  }

  .bukosa-sticky-cta__btn:hover,
  .bukosa-sticky-cta__btn:focus {
    color: #fff !important;
    text-decoration: none !important;
    background: var(--bukosa-surface-hover);
  }

  .bukosa-sticky-cta__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    line-height: 0;
    flex-shrink: 0;
  }

  .bukosa-sticky-cta__icon svg {
    display: block;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
  }

  .bukosa-sticky-cta__label {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    font-size: 11px;
    line-height: 1.1;
  }

  /* Hide bar while mobile menu is open */
  .ast-main-header-nav-open .bukosa-sticky-cta {
    visibility: hidden !important;
    pointer-events: none !important;
  }

  body.has-bukosa-sticky-cta {
    padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px)) !important;
  }

  body.has-bukosa-sticky-cta #ast-scroll-top {
    bottom: calc(72px + env(safe-area-inset-bottom, 0px)) !important;
    right: max(16px, env(safe-area-inset-right, 0px));
  }

  /* Messenger choice sheet */
  .bukosa-write-sheet {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 100000;
    pointer-events: none;
    visibility: hidden;
  }

  .bukosa-write-sheet.is-open {
    pointer-events: auto;
    visibility: visible;
  }

  .bukosa-write-sheet__backdrop {
    position: absolute;
    inset: 0;
    margin: 0;
    padding: 0;
    border: 0;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    transition: opacity 0.2s ease;
    cursor: pointer;
  }

  .bukosa-write-sheet.is-open .bukosa-write-sheet__backdrop {
    opacity: 1;
  }

  .bukosa-write-sheet__panel {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0.5rem 1rem calc(1rem + env(safe-area-inset-bottom, 0px));
    background: var(--bukosa-surface);
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -12px 32px rgba(0, 0, 0, 0.4);
    transform: translateY(110%);
    transition: transform 0.22s ease;
  }

  .bukosa-write-sheet.is-open .bukosa-write-sheet__panel {
    transform: translateY(0);
  }

  .bukosa-write-sheet__handle {
    width: 36px;
    height: 4px;
    margin: 0.25rem auto 0.85rem;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.28);
  }

  .bukosa-write-sheet__title {
    margin: 0 0 0.75rem;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
  }

  .bukosa-write-sheet__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  .bukosa-write-sheet__link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 1rem;
    font-weight: 600;
    background: var(--bukosa-surface-hover);
    transition: filter 0.15s ease;
  }

  .bukosa-write-sheet__link--wa {
    background: #25d366;
  }

  .bukosa-write-sheet__link--tg {
    background: #2aabee;
  }

  .bukosa-write-sheet__link--max {
    background: #165ffa;
  }

  .bukosa-write-sheet__link:hover,
  .bukosa-write-sheet__link:focus {
    color: #fff !important;
    filter: brightness(1.06);
  }

  .bukosa-write-sheet__cancel {
    display: block;
    width: 100%;
    margin-top: 0.65rem;
    min-height: 44px;
    padding: 0.65rem 1rem;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
  }

  .bukosa-write-sheet__cancel:hover,
  .bukosa-write-sheet__cancel:focus {
    color: #fff;
  }

  html.bukosa-write-open,
  html.bukosa-write-open body {
    overflow: hidden;
  }
}

/* Below-footer copyright bar: kill white stripe, match primary footer */
.site-below-footer-wrap {
  background-color: var(--bukosa-surface) !important;
  background-image: none !important;
  border-top-color: var(--bukosa-surface) !important;
  color: rgba(255, 255, 255, 0.75);
}
.site-below-footer-wrap .ast-footer-copyright,
.site-below-footer-wrap .ast-footer-copyright a,
.site-below-footer-wrap .ast-footer-copyright p {
  color: rgba(255, 255, 255, 0.75) !important;
}

/* WebStar credit (from kuznetsov-kovka footer pattern) */
.ast-footer-copyright p {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: 0;
}
.ast-footer-copyright .bukosa-webstar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  max-width: 100%;
  text-align: left;
}
.ast-footer-copyright .bukosa-webstar__links {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  line-height: 1.3;
}
.ast-footer-copyright .bukosa-webstar a {
  color: rgba(255, 255, 255, 0.65) !important;
  font-size: 15px;
  line-height: 1.3;
  text-decoration: none;
  border: 0;
  box-shadow: none;
}
.ast-footer-copyright .bukosa-webstar a:hover,
.ast-footer-copyright .bukosa-webstar a:focus {
  color: #fff !important;
  text-decoration: underline;
}
/* Sprite: gray default (top), color on hover (bottom) — 119×138, half = 69px */
.ast-footer-copyright .bukosa-webstar__logo {
  display: block;
  flex: 0 0 auto;
  width: 119px;
  height: 69px;
  min-width: 119px;
  min-height: 69px;
  max-width: 119px;
  max-height: 69px;
  background-image: var(--bukosa-webstar-logo);
  background-repeat: no-repeat;
  background-position: 0 0;
  background-size: 119px 138px;
  transition: background-position 0.2s ease;
  overflow: hidden;
}
.ast-footer-copyright .bukosa-webstar:hover .bukosa-webstar__logo,
.ast-footer-copyright .bukosa-webstar:focus-within .bukosa-webstar__logo {
  background-position: 0 100%;
}
@media (max-width: 544px) {
  .site-below-footer-wrap {
    padding-left: 12px !important;
    padding-right: 12px !important;
    box-sizing: border-box !important;
  }
  .ast-footer-copyright .bukosa-webstar {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    max-width: 100%;
  }
  .ast-footer-copyright .bukosa-webstar__links {
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 100%;
  }
  .ast-footer-copyright .bukosa-webstar a {
    font-size: 13px;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
}
.site-primary-footer-wrap,
.site-primary-footer-wrap[data-section="section-primary-footer-builder"] {
  border-top: 0 !important;
  border-bottom: 0 !important;
  border-width: 0 !important;
  border-color: transparent !important;
}

/* ==========================================================================
   Mobile / tablet (Astra breakpoints ~921px / 544px)
   Fixes: hero under tall header, light-hero contrast, 100vw scroll, taps
   ========================================================================== */
@media (max-width: 921px) {
  /* Shared mobile gutters (≈16px + iOS safe-area) */
  :root {
    --bukosa-gutter: 16px;
    --bukosa-pad-left: max(var(--bukosa-gutter), env(safe-area-inset-left, 0px));
    --bukosa-pad-right: max(var(--bukosa-gutter), env(safe-area-inset-right, 0px));
  }

  /* Kill accidental horizontal scroll from 100vw full-bleeds */
  html,
  body {
    overflow-x: clip;
  }

  .bukosa-hero,
  .bukosa-page-content .bukosa-features-strip,
  .bukosa-site-map {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  /*
   * Full-bleed carousel images without 100vw overflow.
   * Beat WP `.is-layout-constrained > * { margin-inline: auto !important }`
   * by cancelling .bukosa-page-content side pad; text/tabs keep inset.
   */
  .bukosa-page-content .bukosa-carousel-section--bleed,
  .wp-block-group.bukosa-page-content > .bukosa-carousel-section--bleed {
    width: auto !important;
    max-width: none !important;
    margin-left: calc(-1 * var(--bukosa-pad-left)) !important;
    margin-right: calc(-1 * var(--bukosa-pad-right)) !important;
    padding-left: 0;
    padding-right: 0;
  }

  .bukosa-carousel-section--bleed .bukosa-carousel-heading,
  .bukosa-carousel-section--bleed .bukosa-carousel-sub,
  .bukosa-carousel-section--bleed .bukosa-carousel-tabs,
  .bukosa-carousel-section--bleed .bukosa-carousel-dots,
  .bukosa-carousel-section--bleed .bukosa-carousel-caption {
    padding-left: var(--bukosa-pad-left);
    padding-right: var(--bukosa-pad-right);
    box-sizing: border-box;
  }

  /* Above-header + primary ≈ 130px — clear title under transparent chrome */
  .bukosa-hero {
    min-height: min(78vh, 720px);
  }
  .bukosa-hero-overlay {
    padding-top: max(10.5rem, 168px);
    padding-bottom: clamp(1.5rem, 4vh, 2.5rem);
    padding-left: 1.15rem;
    padding-right: 1.15rem;
  }
  /* Stronger scrim for light marble / reception heroes */
  .bukosa-hero-media::after {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.2) 42%, rgba(0, 0, 0, 0.45) 100%),
      linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.28) 55%, rgba(0, 0, 0, 0.18) 100%);
  }
  .bukosa-hero-title {
    max-width: 18ch;
    font-size: clamp(1.45rem, 6.2vw, 1.95rem);
    text-shadow:
      0 1px 3px rgba(0, 0, 0, 0.75),
      0 0 18px rgba(0, 0, 0, 0.35);
  }
  .bukosa-hero-sub {
    max-width: 28ch;
    font-size: clamp(0.95rem, 3.8vw, 1.15rem);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
  }

  .bukosa-page-content,
  .wp-block-group.bukosa-page-content {
    padding-left: var(--bukosa-pad-left) !important;
    padding-right: var(--bukosa-pad-right) !important;
  }

  /*
   * Mobile header chrome: ONLY [Logo] … [Меню].
   * Measure / phone / socials live in the off-canvas drawer (.bukosa-drawer-leads).
   */
  #masthead,
  #masthead .main-header-bar,
  #masthead .ast-primary-header-bar {
    box-sizing: border-box;
  }
  #ast-mobile-header.ast-mobile-header-wrap {
    display: flex !important;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    min-height: 56px;
    height: 56px;
    padding: 0 var(--bukosa-pad-right) 0 var(--bukosa-pad-left) !important;
    background-color: var(--bukosa-surface) !important;
    box-sizing: border-box;
  }
  #ast-mobile-header .ast-above-header-wrap,
  #ast-mobile-header .ast-header-social-wrap,
  #ast-mobile-header .ast-builder-layout-element[data-section="section-hb-social-icons-1"],
  #ast-mobile-header .ast-header-html-1,
  #ast-mobile-header .site-header-above-section-left,
  #ast-mobile-header .site-header-above-section-right,
  #ast-mobile-header .bukosa-header-phone,
  #ast-mobile-header .bukosa-header-measure {
    display: none !important;
  }
  #ast-mobile-header .ast-main-header-wrap,
  #ast-mobile-header .ast-primary-header-bar,
  #ast-mobile-header .ast-primary-header-bar .ast-builder-grid-row,
  #ast-mobile-header .site-primary-header-wrap {
    display: contents !important;
  }
  #ast-mobile-header .site-header-primary-section-left,
  #ast-mobile-header .site-header-primary-section-right {
    display: flex !important;
    align-items: center;
    align-self: stretch;
    margin: 0 !important;
    padding: 0 !important;
    height: 100%;
    min-height: 0;
  }
  #ast-mobile-header .site-header-primary-section-left {
    flex: 1 1 auto;
    min-width: 0;
    justify-content: flex-start;
  }
  #ast-mobile-header .site-header-primary-section-right {
    flex: 0 0 auto;
    justify-content: flex-end;
  }
  #ast-mobile-header .ast-primary-header-bar,
  #ast-mobile-header .site-primary-header-wrap {
    min-height: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
  }
  #ast-mobile-header .ast-builder-layout-element,
  #ast-mobile-header .ast-builder-menu-mobile,
  #ast-mobile-header .ast-button-wrap {
    display: flex !important;
    align-items: center;
    margin: 0 !important;
    padding: 0 !important;
    height: 100%;
    align-self: stretch;
  }
  #ast-mobile-header .ast-site-identity {
    display: flex !important;
    align-items: center;
    gap: 0.35rem;
    margin: 0 !important;
    height: 44px;
    min-height: 44px;
    max-height: 44px;
  }
  #ast-mobile-header .site-logo-img {
    display: flex;
    align-items: center;
    line-height: 0;
  }
  #ast-mobile-header .site-logo-img img {
    max-height: 36px !important;
    width: auto !important;
    display: block;
  }

  /* Drawer lead block — above nav links */
  .bukosa-drawer-leads {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
    padding: 0.35rem 1rem 1.1rem;
    margin: 0 0 0.35rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }
  .bukosa-drawer-leads__measure {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0 !important;
    padding: 0.7rem 1rem !important;
    font-size: 0.82rem !important;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.55) !important;
    background: transparent !important;
    color: #fff !important;
    box-shadow: none !important;
    cursor: pointer;
  }
  .bukosa-drawer-leads__measure:hover,
  .bukosa-drawer-leads__measure:focus {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
  }
  .bukosa-drawer-leads__phone {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin: 0;
    padding: 0;
    border: 0 !important;
    background: none !important;
    box-shadow: none !important;
    color: #fff !important;
    font-family: "Montserrat", Commissioner, sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-decoration: none !important;
    line-height: 1.2;
  }
  .bukosa-drawer-leads__phone:hover,
  .bukosa-drawer-leads__phone:focus {
    color: #fff !important;
    opacity: 0.85;
    text-decoration: underline !important;
  }
  .bukosa-drawer-leads__socials {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
  }
  .bukosa-drawer-leads__social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #fff !important;
    text-decoration: none !important;
    transition: background 0.15s ease;
  }
  .bukosa-drawer-leads__social:hover,
  .bukosa-drawer-leads__social:focus {
    background: rgba(255, 255, 255, 0.22);
    color: #fff !important;
  }
  .bukosa-drawer-leads__social svg {
    display: block;
  }

  /* Hamburger + «Меню» — hide while drawer open so Astra close/X owns dismiss */
  body:not(.ast-main-header-nav-open) #ast-mobile-header .ast-button-wrap .menu-toggle,
  body:not(.ast-main-header-nav-open) #ast-mobile-header button.menu-toggle {
    display: inline-flex !important;
  }
  .ast-main-header-nav-open #ast-mobile-header .ast-button-wrap .menu-toggle,
  .ast-main-header-nav-open #ast-mobile-header button.menu-toggle {
    display: none !important;
  }
  .ast-theme-transparent-header .ast-button-wrap .menu-toggle,
  .ast-theme-transparent-header .ast-mobile-menu-trigger-minimal,
  .ast-theme-transparent-header button.menu-toggle,
  #ast-mobile-header .ast-button-wrap .menu-toggle,
  #ast-mobile-header button.menu-toggle {
    align-items: center;
    justify-content: center;
    align-self: center;
    gap: 0.35rem;
    height: 44px;
    min-height: 44px;
    max-height: 44px;
    min-width: 40px;
    margin: 0 !important;
    padding: 0 0.55rem 0 0.4rem !important;
    background: rgba(0, 0, 0, 0.32) !important;
    border: 0 !important;
    border-radius: 4px;
    box-shadow:
      0 2px 8px rgba(0, 0, 0, 0.4),
      0 0 0 1px rgba(255, 255, 255, 0.25);
    color: #fff !important;
    line-height: 1;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
  }
  #ast-mobile-header .ast-button-wrap .menu-toggle .mobile-menu-wrap,
  #ast-mobile-header .ast-button-wrap .menu-toggle .mobile-menu,
  .ast-header-break-point .ast-button-wrap .menu-toggle .mobile-menu-wrap,
  .ast-header-break-point .ast-button-wrap .menu-toggle .mobile-menu {
    display: inline-flex !important;
    align-items: center;
    color: #fff !important;
    font-family: "Montserrat", Commissioner, sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1;
    text-transform: none;
    white-space: nowrap;
  }
  #ast-mobile-header .ast-button-wrap .menu-toggle .mobile-menu-toggle-icon,
  .ast-header-break-point .ast-button-wrap .menu-toggle .mobile-menu-toggle-icon {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
  }
  #ast-mobile-header .ast-button-wrap .menu-toggle .ast-mobile-svg,
  .ast-header-break-point .ast-button-wrap .menu-toggle .ast-mobile-svg {
    fill: #fff;
    color: #fff;
  }

  /* Solid brand navy on mobile too (never washed gray over light heroes) */
  .ast-theme-transparent-header .ast-above-header-bar,
  .ast-theme-transparent-header #masthead .ast-primary-header-bar,
  .ast-theme-transparent-header #masthead .main-header-bar {
    background-color: var(--bukosa-surface) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  /* Shorter chrome → less hero overlap */
  .bukosa-hero-overlay {
    padding-top: max(5.5rem, 88px) !important;
  }

  /* Gallery / columns: avoid overflow from fixed widths */
  .bukosa-page-content .wp-block-columns {
    gap: 1rem !important;
  }
  .bukosa-page-content .wp-block-gallery {
    gap: 0.5rem;
  }
  .bukosa-page-content img {
    max-width: 100%;
    height: auto;
  }

  .bukosa-trends-nav {
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 544px) {
  .bukosa-hero {
    min-height: min(70vh, 580px);
  }
  .bukosa-hero-overlay {
    padding-top: max(10rem, 160px);
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .bukosa-hero-title {
    max-width: none;
    font-size: clamp(1.35rem, 7vw, 1.75rem);
  }

  .bukosa-page-content,
  .wp-block-group.bukosa-page-content {
    padding-top: 1.75rem;
    padding-left: var(--bukosa-pad-left) !important;
    padding-right: var(--bukosa-pad-right) !important;
  }

  body:not(.has-bukosa-sticky-cta) #ast-scroll-top {
    bottom: 40px;
    right: max(16px, env(safe-area-inset-right, 0px));
  }
}

/* ===== Home: «Производство мебели» — unify CTA (photos via featured images) ===== */
.uagb-block-18fd662f .uagb-post__cta .uagb-text-link,
.uagb-block-18fd662f .uagb-post__cta a {
  border: 1px solid #fff !important;
  background: transparent !important;
  color: #fff !important;
  text-decoration: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0.45rem 1rem !important;
  display: inline-block;
}

/* --------------------------------------------------------------------------
   Sitewide «Вызов замерщика» modal + consult sections on category pages
   -------------------------------------------------------------------------- */
.ast-header-html-1 {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.75rem;
  flex-shrink: 0;
}
/* Buttons live inside Astra's <p> wrapper — gap must be on that row, not only the outer flex */
.ast-header-html-1 .ast-builder-html-element,
.ast-header-html-1 .ast-builder-html-element > p {
  display: inline-flex !important;
  align-items: center;
  flex-wrap: nowrap !important;
  gap: 0.875rem; /* ~14px between Вызов замерщика / phone */
  margin: 0;
}
.ast-header-html-1 .bukosa-header-measure {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: transparent;
  color: #fff !important;
  padding: 0.4rem 0.85rem;
  line-height: 1.2;
  text-decoration: none !important;
}
.ast-header-html-1 .bukosa-header-measure:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff !important;
}

.bukosa-consult-section {
  padding: 3rem 1.25rem 3.5rem;
  background: linear-gradient(180deg, #1a1e2a 0%, #2a3142 100%);
  color: #fff;
}
.bukosa-consult-section .bukosa-consult-heading,
.bukosa-consult-section h2 {
  color: #fff !important;
  margin: 0 0 1.5rem;
  font-family: "Charis SIL", Georgia, serif;
  font-weight: 400;
  text-align: center;
}
.bukosa-consult-section .srfm-form-container {
  max-width: 420px;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   SureForms on dark surfaces (#1A1E2A): light fields + white submit.
   Brand global CTA CSS paints .srfm-btn charcoal — override here.
   !important on vars beats SureForms inline form color tokens.
   -------------------------------------------------------------------------- */
.bukosa-consult-section .srfm-form-container,
.bukosa-consult-section .srfm-form,
.bukosa-order-modal__form .srfm-form-container,
.bukosa-order-modal__form .srfm-form {
  --srfm-color-scheme-primary: #ffffff !important;
  --srfm-color-scheme-text-on-primary: #1a1e2a !important;
  --srfm-color-scheme-text: #e5e7eb !important;
  --srfm-color-input-label: #ffffff !important;
  --srfm-color-input-description: rgba(229, 231, 235, 0.85) !important;
  --srfm-color-input-placeholder: #6b7280 !important;
  --srfm-color-input-text: #1a1e2a !important;
  --srfm-color-input-prefix: #4b5563 !important;
  --srfm-color-input-background: #ffffff !important;
  --srfm-color-input-background-hover: #f3f4f6 !important;
  --srfm-color-input-background-disabled: #e5e7eb !important;
  --srfm-color-input-border: rgba(255, 255, 255, 0.7) !important;
  --srfm-color-input-border-hover: #ffffff !important;
  --srfm-color-input-border-focus-glow: rgba(255, 255, 255, 0.28) !important;
  --srfm-color-input-selected: rgba(255, 255, 255, 0.16) !important;
  --srfm-color-input-border-disabled: rgba(255, 255, 255, 0.35) !important;
  --srfm-btn-color-hover: #f3f4f6 !important;
  --srfm-btn-color-disabled: rgba(255, 255, 255, 0.35) !important;
}

.bukosa-consult-section .srfm-input-common,
.bukosa-consult-section .srfm-phone-number,
.bukosa-consult-section .iti input.srfm-input-common,
.bukosa-consult-section textarea.srfm-input-common,
.bukosa-order-modal__form .srfm-input-common,
.bukosa-order-modal__form .srfm-phone-number,
.bukosa-order-modal__form .iti input.srfm-input-common,
.bukosa-order-modal__form textarea.srfm-input-common {
  background-color: #ffffff !important;
  color: #1a1e2a !important;
  border-color: rgba(255, 255, 255, 0.7) !important;
  caret-color: #1a1e2a;
}
.bukosa-consult-section .srfm-phone-block .srfm-block-wrap,
.bukosa-order-modal__form .srfm-phone-block .srfm-block-wrap,
.bukosa-consult-section .srfm-input-block .srfm-block-wrap,
.bukosa-order-modal__form .srfm-input-block .srfm-block-wrap,
.bukosa-consult-section .srfm-textarea-block .srfm-block-wrap,
.bukosa-order-modal__form .srfm-textarea-block .srfm-block-wrap {
  background-color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.7) !important;
  border-radius: var(--srfm-input-field-border-radius, 6px);
}
.bukosa-consult-section .srfm-input-common::placeholder,
.bukosa-order-modal__form .srfm-input-common::placeholder {
  color: #6b7280 !important;
  opacity: 1;
}

/* Custom checkbox (GDPR / checkbox blocks): visible box on navy */
.bukosa-consult-section .srfm-cbx .srfm-span-wrap:first-child,
.bukosa-order-modal__form .srfm-cbx .srfm-span-wrap:first-child {
  background-color: rgba(255, 255, 255, 0.14) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.88) !important;
}
.bukosa-consult-section .srfm-block-label,
.bukosa-consult-section .srfm-gdpr-block .srfm-block-label,
.bukosa-order-modal__form .srfm-block-label,
.bukosa-order-modal__form .srfm-gdpr-block .srfm-block-label {
  color: #d1d5db !important;
}
.bukosa-consult-section .srfm-phone-block > .srfm-block-label,
.bukosa-consult-section .srfm-input-block > .srfm-block-label,
.bukosa-consult-section .srfm-textarea-block > .srfm-block-label,
.bukosa-consult-section .srfm-email-block > .srfm-block-label,
.bukosa-order-modal__form .srfm-phone-block > .srfm-block-label,
.bukosa-order-modal__form .srfm-input-block > .srfm-block-label,
.bukosa-order-modal__form .srfm-textarea-block > .srfm-block-label,
.bukosa-order-modal__form .srfm-email-block > .srfm-block-label {
  color: #ffffff !important;
}
.bukosa-consult-section .srfm-form a,
.bukosa-consult-section .srfm-block-label a,
.bukosa-order-modal__form .srfm-form a,
.bukosa-order-modal__form .srfm-block-label a {
  color: #ffffff !important;
  text-decoration: underline !important;
  text-underline-offset: 0.15em;
}

/* White submit — contrasts with #1A1E2A (overrides brand charcoal CTA) */
.bukosa-consult-section .srfm-form .srfm-btn,
.bukosa-consult-section .srfm-form button[type="submit"],
.bukosa-consult-section .srfm-btn-frontend,
.bukosa-consult-section .srfm-submit-button button,
.bukosa-order-modal__form .srfm-form .srfm-btn,
.bukosa-order-modal__form .srfm-form button[type="submit"],
.bukosa-order-modal__form .srfm-btn-frontend,
.bukosa-order-modal__form .srfm-submit-button button {
  background-color: #ffffff !important;
  border: 1px solid #ffffff !important;
  color: #1a1e2a !important;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 700;
}
.bukosa-consult-section .srfm-form .srfm-btn:hover,
.bukosa-consult-section .srfm-form button[type="submit"]:hover,
.bukosa-consult-section .srfm-btn-frontend:hover,
.bukosa-order-modal__form .srfm-form .srfm-btn:hover,
.bukosa-order-modal__form .srfm-form button[type="submit"]:hover,
.bukosa-order-modal__form .srfm-btn-frontend:hover {
  background-color: #f3f4f6 !important;
  border-color: #f3f4f6 !important;
  color: #1a1e2a !important;
}

.bukosa-hero-order {
  align-self: flex-start;
  margin-top: 1.25rem;
  padding: 0.7rem 1.4rem;
  border: 1px solid #fff;
  background: #fff;
  color: var(--bukosa-surface, #1a1e2a);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.bukosa-hero-order:hover,
.bukosa-hero-order:focus {
  background: transparent;
  color: #fff;
  outline: none;
}
.bukosa-hero-order:active {
  transform: translateY(1px);
}

.bukosa-measure-modal[hidden],
.bukosa-order-modal[hidden] {
  display: none !important;
}
.bukosa-measure-modal,
.bukosa-order-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}
.bukosa-measure-modal__backdrop,
.bukosa-order-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 12, 18, 0.78);
  border: 0;
  cursor: pointer;
}
.bukosa-measure-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(440px, 100%);
  max-height: min(90vh, 720px);
  overflow: auto;
  padding: 1.75rem 1.5rem 1.5rem;
  background: #fff;
  color: #1e1e1e;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
}
.bukosa-order-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(460px, 100%);
  max-height: min(92vh, 780px);
  overflow: auto;
  padding: 1.85rem 1.55rem 1.55rem;
  background: var(--bukosa-surface, #1a1e2a);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.5);
}
.bukosa-measure-modal__close,
.bukosa-order-modal__close {
  position: absolute;
  top: 0.35rem;
  right: 0.5rem;
  border: 0;
  background: transparent;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  color: #333;
}
.bukosa-order-modal__close {
  color: rgba(255, 255, 255, 0.85);
}
.bukosa-order-modal__brand {
  margin: 0 0 0.35rem;
  font-family: "Montserrat", Commissioner, sans-serif;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}
.bukosa-measure-modal__title,
.bukosa-order-modal__title {
  margin: 0 0 0.4rem;
  font-family: "Charis SIL", Georgia, serif;
  font-size: 1.65rem;
  font-weight: 400;
  color: inherit;
}
.bukosa-measure-modal__lead,
.bukosa-order-modal__lead {
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  opacity: 0.8;
}
/* Order modal form contrast: see shared dark-surface SureForms block above */
html.bukosa-measure-open,
html.bukosa-measure-open body,
html.bukosa-order-open,
html.bukosa-order-open body {
  overflow: hidden;
}

@media (max-width: 921px) {
  /* «Заказать» lives in sticky CTA / modals — not in header HTML */
  .ast-header-html-1 .bukosa-header-order {
    display: none !important;
  }
  .bukosa-order-modal,
  .bukosa-measure-modal {
    align-items: flex-end;
    padding: 0;
  }
  .bukosa-order-modal__dialog,
  .bukosa-measure-modal__dialog {
    width: 100%;
    max-height: min(88vh, 720px);
    border-radius: 16px 16px 0 0;
    padding-bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
  }
}