/* Lazer House — доповнення до Elementor для WordPress-версії лендингу.
   Тут лише те, чого не дають стандартні контроли Elementor Free / UAE.
   Елементи позначені CSS-класами в Elementor: Advanced → CSS Classes (lh-*). */

:root {
  --lh-bg: #F3F2EF;
  --lh-white: #FFFFFF;
  --lh-ink: #26282B;
  --lh-oak: #9A6630;
  --lh-oak-band: #F1E6D6;
  --lh-line: #E1DFDB;
  --lh-card: #E4E2DE;
  --lh-oak-pale: #EAD8BE;
  --lh-oak-light: #D9A867;
  --lh-graphite: #2B2D30;
  --lh-header-h: 72px;
}

/* ---------- Загальне ---------- */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--lh-header-h) + 16px); }
/* жодної горизонтальної прокрутки (каруселі навмисно виходять за край контейнера); clip, а не hidden — щоб працював sticky-хедер */
html, body { overflow-x: clip; }

/* Без пунктирної рамки після тапу / кліку мишкою (Astra: a:focus { outline: thin dotted }).
   Для клавіатури (Tab) фокус лишається видимим — :focus-visible */
a:focus:not(:focus-visible),
button:focus:not(:focus-visible),
[role="button"]:focus:not(:focus-visible),
[tabindex]:focus:not(:focus-visible) { outline: none; }
a:focus-visible, [role="button"]:focus-visible { outline: 2px solid var(--lh-oak); outline-offset: 2px; }
/* без сірого/синього спалаху при тапі на мобільних */
a, button, [role="button"], label { -webkit-tap-highlight-color: transparent; }

/* UAE: стрілка підменю в мобільному меню отримує border: 1px dotted на :hover (на сенсорних екранах «залипає») */
.lh-header .lh-nav .hfe-menu-toggle,
.lh-header .lh-nav .hfe-menu-toggle:hover,
.lh-header .lh-nav .hfe-menu-toggle:focus { border-color: transparent; outline: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------- Header: липка шапка ---------- */
/* #masthead — обгортка, яку UAE виводить навколо шаблону хедера */
#masthead { position: sticky; top: 0; z-index: 50; }
.admin-bar #masthead { top: 32px; }
@media (max-width: 782px) { .admin-bar #masthead { top: 46px; } }
@media (max-width: 600px) { .admin-bar #masthead { top: 0; } }

/* ---------- Header: телефон ховає текст на вузьких десктопах ---------- */
@media (max-width: 1219px) {
  .lh-phone .elementor-icon-list-text { display: none; }
  .lh-phone .elementor-icon-list-icon { margin: 0; }
}

/* ---------- Header: меню, активний пункт (клас ставить lazer-house.js) ---------- */
.lh-nav .hfe-nav-menu > .menu-item > a.is-active { color: var(--lh-oak); }

/* ---------- Header: випадне меню «Вироби» на 3 колонки (десктоп) ---------- */
@media (min-width: 900px) {
  .lh-nav .hfe-nav-menu__layout-horizontal .sub-menu {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2px;
    width: 600px;
    padding: 12px;
    left: -24px;
    overflow: hidden;
  }
  .lh-nav .hfe-nav-menu__layout-horizontal .sub-menu li.menu-item { border: 0; }
  .lh-nav .hfe-nav-menu__layout-horizontal .sub-menu a.hfe-sub-menu-item {
    border-radius: 12px;
    white-space: normal;
  }
}

/* ---------- Header: мобільний телефон притиснутий до бургера ---------- */
.lh-phone-mobile .elementor-icon-list-items { justify-content: flex-end; }

/* ---------- Header: кнопка бургер / хрестик (≤899px) ---------- */
/* фіксований квадрат 44×44 праворуч — кнопка не стрибає при заміні іконки */
body .lh-header .lh-nav .hfe-layout-horizontal .hfe-nav-menu__toggle {
  margin: 0 0 0 auto; width: 44px; height: 44px; padding: 0;
  align-items: center; justify-content: center; cursor: pointer;
}
body .lh-header .lh-nav .hfe-nav-menu__toggle .hfe-nav-menu-icon {
  width: 24px; height: 24px; padding: 0; line-height: 0; color: var(--lh-ink);
  display: flex; align-items: center; justify-content: center;
}
body .lh-header .lh-nav .hfe-nav-menu__toggle .hfe-nav-menu-icon svg { width: 24px; height: 24px; }
body .lh-header .lh-nav .hfe-nav-menu__toggle .hfe-nav-menu-icon svg path { fill: none; stroke: currentColor; }
@media (max-width: 899px) {
  body .lh-header .lh-nav .hfe-layout-horizontal .hfe-nav-menu__toggle { display: flex; }
  /* віджет меню займає лише кнопку; прихований список UAE інакше розтягує його на всю ширину й виштовхує бургер за екран */
  body .lh-header .elementor-element.lh-nav { position: static; width: 44px; max-width: 44px; flex: 0 0 44px; }
  body .lh-header .elementor-element.lh-nav .hfe-nav-menu,
  body .lh-header .elementor-element.lh-nav .elementor-widget-container { position: static; }
  /* випадний список — під хедером на всю ширину (UAE ставить inline left/width, тому !important) */
  body .lh-header .lh-nav .hfe-nav-menu__layout-horizontal {
    position: absolute; top: 100%; left: 0 !important; right: 0; width: 100% !important; z-index: 60; background: var(--lh-white);
  }
}

/* ---------- Header: мобільне меню (≤899px) ---------- */
@media (max-width: 899px) {
  .lh-nav .hfe-nav-menu__layout-horizontal .hfe-nav-menu { border-top: 1px solid var(--lh-line); }
  .lh-nav .hfe-nav-menu__layout-horizontal .hfe-nav-menu > .menu-item > a,
  .lh-nav .hfe-nav-menu__layout-horizontal .hfe-nav-menu > .menu-item > .hfe-has-submenu-container > a {
    border-bottom: 1px solid var(--lh-card);
  }
  .lh-nav .hfe-nav-menu__layout-horizontal .sub-menu a.hfe-sub-menu-item {
    font-size: 15px;
    padding-left: 46px;
  }
  .lh-nav .hfe-nav-menu__layout-horizontal .hfe-nav-menu {
    max-height: calc(100vh - var(--lh-header-h));
    overflow: auto;
  }
}

/* ---------- Слайдер (.lh-slider > .lh-slider__track > .lh-slider__slide) ---------- */
/* Swiper-класи, стрілки й крапки додає lazer-house.js; у редакторі Elementor слайди стоять стовпчиком */
body:not(.elementor-editor-active) .lh-slider:not(.lh-slider--carousel) .lh-slider__track:not(.swiper) > .lh-slider__slide:not(:first-child) { display: none; }
.lh-slider__track.swiper { display: block; touch-action: pan-y; }
.lh-hero .lh-slider__track.swiper { background: var(--lh-oak-pale); }
/* .e-con.e-flex задає flex-shrink:1 сильніше за Swiper — без цього слайди стискаються в один ряд */
.lh-slider .swiper-slide.e-con { --flex-shrink: 0; flex-shrink: 0; display: flex; height: auto; transition-property: opacity; }

.lh-slider__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 48px; height: 48px; padding: 0; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .28);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--lh-ink);
  filter: drop-shadow(0 1px 2px rgba(38, 40, 43, .25)); transition: background .2s; -webkit-tap-highlight-color: transparent;
}
.lh-slider__arrow svg { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.lh-slider__arrow--prev { left: 16px; }
.lh-slider__arrow--next { right: 16px; }
@media (hover: hover) { .lh-slider__arrow:hover { background: rgba(255, 255, 255, .6); } }

.lh-slider__dots { display: flex; justify-content: center; gap: 10px; margin-top: 16px; }
.lh-slider__dot {
  width: 12px; height: 12px; padding: 0; border-radius: 50%;
  border: 1.5px solid #A3A09B; background: transparent; cursor: pointer; transition: background .3s;
}
.lh-slider__dot.is-active { background: var(--lh-oak); border-color: var(--lh-oak); }

/* Astra фарбує всі button на :hover/:focus у свій синій — повертаємо стани з макета */
.lh-slider .lh-slider__arrow:hover,
.lh-slider .lh-slider__arrow:focus { border-color: rgba(255, 255, 255, .55); color: var(--lh-ink); outline: none; }
.lh-slider .lh-slider__arrow:focus { background: rgba(255, 255, 255, .28); }
@media (hover: hover) { .lh-slider .lh-slider__arrow:hover { background: rgba(255, 255, 255, .6); } }
.lh-slider .lh-slider__dot:hover,
.lh-slider .lh-slider__dot:focus { border-color: #A3A09B; background: transparent; outline: none; }
.lh-slider .lh-slider__dot.is-active:hover,
.lh-slider .lh-slider__dot.is-active:focus { border-color: var(--lh-oak); background: var(--lh-oak); }
/* рамка фокусу лише для клавіатури */
.lh-slider .lh-slider__arrow:focus-visible,
.lh-slider .lh-slider__dot:focus-visible { outline: 2px solid var(--lh-oak); outline-offset: 2px; }

/* ---------- Hero: фото на всю висоту половини слайда ---------- */
.elementor-widget.lh-slide__photo { position: relative; min-height: 0; }
.elementor-widget.lh-slide__photo img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.lh-slide__desc p { margin: 0; }

@media (max-width: 899px) {
  .elementor-widget.lh-slide__photo { aspect-ratio: 25 / 16; }
  /* стрілки по центру фото: висота фото = ширина × 16/25 */
  .lh-hero .lh-slider__arrow {
    top: calc((100vw - 64px) * .32);
    border-color: rgba(255, 255, 255, .75); background: rgba(38, 40, 43, .06);
    backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); color: var(--lh-white);
  }
  .lh-hero .lh-slider__arrow:hover,
  .lh-hero .lh-slider__arrow:focus { background: rgba(38, 40, 43, .06); border-color: rgba(255, 255, 255, .75); color: var(--lh-white); }
}
@media (max-width: 599px) {
  .lh-hero .lh-slider__arrow { top: calc((100vw - 32px) * .32); }
}

/* ---------- Текст: без відступів абзаців від теми ---------- */
.lh-text p { margin: 0; }
.lh-text a[href^="tel:"] { white-space: nowrap; }
.lh-text strong { font-weight: 600; }

/* ---------- Каталог: картки ---------- */
/* Elementor пише стилі елемента як .elementor-15 .elementor-element.elementor-element-xxx (0,4,0),
   тому правила наведення тут починаються з .lh-catalog і мають бути сильнішими */
.lh-card { cursor: pointer; }
.lh-catalog .e-con.lh-card { transition: background .25s; }
.lh-card .elementor-heading-title, .lh-card .elementor-button { transition: color .25s, border-color .25s; }
.lh-card__title .elementor-heading-title { overflow-wrap: anywhere; }
.lh-card__price .elementor-heading-title, .lh-card__btn .elementor-button { white-space: nowrap; }
.elementor-widget.lh-card__media { overflow: hidden; border-radius: 18px; }
.elementor-widget.lh-card__media img { display: block; aspect-ratio: 4 / 3; width: 100%; height: auto; object-fit: cover; background: #D8D6D2; transition: transform .45s ease; }
.e-con.lh-card__cta { margin-top: auto; }
/* стрілка бере колір тексту кнопки й змінюється разом з ним (Elementor фарбує svg окремим fill з власною анімацією) */
.lh-catalog .lh-card .lh-card__btn .elementor-button svg,
.lh-catalog .lh-card .lh-card__btn .elementor-button.elementor-button:hover svg,
.lh-catalog .lh-card .lh-card__btn .elementor-button.elementor-button:focus svg { fill: currentColor; transition: none; }
.lh-card__btn .elementor-button-icon svg { width: 16px; height: 16px; }
.lh-catalog .lh-card .lh-card__btn .elementor-button svg path { fill: none; stroke: currentColor; transition: none; }

@media (hover: hover) and (min-width: 600px) {
  .lh-catalog .e-con.lh-card:hover:not(.elementor-motion-effects-element-type-background) { background-color: var(--lh-graphite); }
  .lh-catalog .lh-card:hover .lh-card__label .elementor-heading-title { color: var(--lh-white); }
  .lh-catalog .lh-card:hover .lh-card__sub .elementor-heading-title { color: rgba(255, 255, 255, .72); }
  .lh-catalog .lh-card:hover .lh-card__title .elementor-heading-title,
  .lh-catalog .lh-card:hover .lh-card__price .elementor-heading-title { color: var(--lh-oak-light); }
  .lh-catalog .lh-card:hover .lh-card__btn .elementor-button,
  .lh-catalog .lh-card:hover .lh-card__btn .elementor-button:hover,
  .lh-catalog .lh-card:hover .lh-card__btn .elementor-button:focus { color: var(--lh-white); border-color: var(--lh-white); background: transparent; }
  .lh-catalog .lh-card:hover .lh-card__media img { transform: scale(1.06); }
}

@media (max-width: 599px) {
  .elementor-widget.lh-card__media { border-radius: 13px; }
  .lh-catalog__grid > .lh-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .lh-card__btn .elementor-button-icon { display: none; }
}

/* ---------- Каталог: примітка й промо ---------- */
body .lh-catalog .elementor-element.e-con.lh-note { border-left-color: var(--lh-oak); }
.lh-icon-stroke svg path { fill: none; stroke: currentColor; }
.lh-promo .elementor-widget.lh-promo__text { --flex-grow: 1; --flex-shrink: 1; --flex-basis: 240px; flex: 1 1 240px; }

/* ---------- Матеріали ---------- */
.elementor-widget.lh-mat__media { overflow: hidden; border-radius: 24px; background: var(--lh-oak-pale); }
.elementor-widget.lh-mat__media img { display: block; aspect-ratio: 4 / 3; width: 100%; height: auto; object-fit: cover; }
.lh-mat__text .elementor-heading-title { text-wrap: pretty; }
.lh-callout .elementor-widget.lh-callout__text { --flex-grow: 1; --flex-shrink: 1; --flex-basis: 280px; flex: 1 1 280px; }
@media (max-width: 899px) { .elementor-widget.lh-mat__media { border-radius: 20px; } }
@media (max-width: 599px) { .elementor-widget.lh-mat__media { border-radius: 16px; } }

/* ---------- Карусель (.lh-slider--carousel): відгуки ---------- */
/* до запуску скрипта картки стоять в один ряд, без переносу */
body:not(.elementor-editor-active) .lh-slider--carousel .lh-slider__track:not(.swiper) { --flex-wrap: nowrap; flex-wrap: nowrap; overflow: hidden; }
/* картки виходять за межі контейнера до краю екрана (секція обрізає їх через overflow: hidden) */
.lh-slider--carousel .lh-slider__track.swiper { overflow: visible; }
.lh-slider--carousel .swiper-slide.e-con { width: min(300px, 78%); }
.lh-slider .lh-slider__nav .lh-slider__arrow,
.lh-slider .lh-slider__nav .lh-slider__arrow:hover,
.lh-slider .lh-slider__nav .lh-slider__arrow:focus {
  position: static; transform: none; filter: none; backdrop-filter: none; -webkit-backdrop-filter: none;
  width: 44px; height: 44px; border: 1px solid #CFCCC7; background: var(--lh-white); color: var(--lh-ink); outline: none;
}
.lh-slider .lh-slider__nav .lh-slider__arrow:hover { border-color: var(--lh-ink); }
.lh-slider .lh-slider__nav .lh-slider__arrow:focus-visible { outline: 2px solid var(--lh-oak); outline-offset: 2px; }
.lh-slider__nav .lh-slider__arrow svg { width: 20px; height: 20px; }
.lh-slider__nav .lh-slider__arrow.swiper-button-disabled { opacity: .4; cursor: default; }

.elementor-widget.lh-review__img { overflow: hidden; border-radius: 20px; background: var(--lh-oak-pale); }
.elementor-widget.lh-review__img img { display: block; aspect-ratio: 1 / 1; width: 100%; height: auto; object-fit: cover; }
.lh-review__quote p { text-wrap: pretty; }

/* посилання «Більше робіт тут» з іконкою Instagram у колі */
.lh-ig-link .elementor-button-icon {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid #C6C3BE;
  display: flex; align-items: center; justify-content: center; color: var(--lh-oak);
}
.lh-ig-link .elementor-button-icon svg { width: 22px; height: 22px; }
.lh-ig-link .elementor-button-content-wrapper { align-items: center; }

/* ---------- FAQ (віджет Accordion) ---------- */
/* лінії як у макеті: зверху над списком і під кожним питанням, без бокових рамок */
.lh-faq .lh-faq__list .elementor-accordion { border-top: 1px solid #CFCCC7; }
.lh-faq .lh-faq__list .elementor-accordion .elementor-accordion-item.elementor-accordion-item { border: 0; border-bottom: 1px solid #CFCCC7; }
.lh-faq .lh-faq__list .elementor-accordion .elementor-tab-content.elementor-tab-content { border-top: 0; }
.lh-faq__list .elementor-tab-content p { margin: 0; }
/* питання і «+» в один рядок, іконка праворуч по центру */
.lh-faq .lh-faq__list .elementor-accordion .elementor-tab-title {
  display: flex; flex-direction: row-reverse; align-items: center; justify-content: space-between; gap: 20px; margin: 0; cursor: pointer;
}
.lh-faq .lh-faq__list .elementor-accordion .elementor-tab-title .elementor-accordion-icon { float: none; margin: 0; width: 20px; flex-shrink: 0; line-height: 0; color: var(--lh-oak); }
.lh-faq__list .elementor-accordion-icon svg { width: 20px; height: 20px; }
.lh-faq__list .elementor-accordion-title, .lh-faq__list .elementor-accordion-title:hover { color: inherit; text-decoration: none; }
/* «+» повертається на 45° замість заміни іконки */
.lh-faq .lh-faq__list .elementor-accordion .elementor-tab-title .elementor-accordion-icon-opened { display: none; }
.lh-faq .lh-faq__list .elementor-accordion .elementor-tab-title .elementor-accordion-icon-closed { display: block; transition: transform .25s; }
.lh-faq .lh-faq__list .elementor-accordion .elementor-tab-title.elementor-active .elementor-accordion-icon-closed { transform: rotate(45deg); }

/* ---------- Футер (шаблон UAE 237) ---------- */
/* контурні SVG-іконки малюються обведенням currentColor, тому колір задаємо через color */
.lh-footer .lh-footer-social .elementor-social-icon { color: var(--lh-white); transition: color .2s, border-color .2s; }
.lh-footer .lh-footer-social .elementor-social-icon:hover { color: var(--lh-oak-light); }
.lh-footer .lh-footer__link .elementor-heading-title a { color: inherit; transition: color .2s; }
.lh-footer .lh-footer__link .elementor-heading-title a:hover { color: var(--lh-oak-light); }
/* реквізити у футері; жовті поля DOPLNIŤ — заповнити перед запуском */
.lh-footer__company p + p { margin-top: 2px; }
.lh-footer__company mark { background: #FFF1B8; color: #5C4300; padding: 0 5px; border-radius: 3px; font-weight: 500; }

/* ---------- Юридичні сторінки (.lh-legal-sheet: Ochrana osobných údajov тощо) ---------- */
.lh-legal-sheet { max-width: 820px; }
.lh-legal h2 {
  margin: 36px 0 12px; padding: 0; font-family: Montserrat, sans-serif; font-weight: 700;
  font-size: 20px; line-height: 1.3; color: #1D1F22;
}
.lh-legal p { margin: 0 0 12px; }
.lh-legal p:last-child { margin-bottom: 0; }
.lh-legal ul { margin: 0 0 12px; padding-left: 22px; }
.lh-legal li { margin: 0 0 6px; }
.lh-legal li::marker { color: var(--lh-oak); }
.lh-legal strong { font-weight: 600; color: #1D1F22; }
.lh-legal a { color: var(--lh-oak); text-decoration: underline; text-underline-offset: 2px; overflow-wrap: anywhere; }
.lh-legal a:hover { color: #7A4E22; }
/* поля для заповнення перед публікацією */
.lh-legal mark { background: #FFF1B8; color: #5C4300; padding: 1px 6px; border-radius: 4px; font-weight: 500; }
.lh-legal h3 { margin: 24px 0 8px; padding: 0; font-family: Onest, sans-serif; font-weight: 600; font-size: 17px; line-height: 1.4; color: #1D1F22; }
/* таблиці cookies: на вузьких екранах гортаються горизонтально всередині блоку */
.lh-legal .lh-table { margin: 4px 0 16px; overflow-x: auto; border: 1px solid #DCDDE0; border-radius: 10px; -webkit-overflow-scrolling: touch; }
.lh-legal table { width: 100%; min-width: 520px; margin: 0; border: 0; border-collapse: collapse; font-size: 14px; line-height: 1.5; }
.lh-legal th, .lh-legal td { padding: 10px 14px; border: 0; border-bottom: 1px solid #DCDDE0; text-align: left; vertical-align: top; }
.lh-legal th { background: #F5F6F7; font-weight: 600; color: #1D1F22; white-space: nowrap; }
.lh-legal tbody tr:last-child td { border-bottom: 0; }
.lh-legal td:first-child { font-family: ui-monospace, Consolas, monospace; font-size: 13px; white-space: nowrap; color: #1D1F22; }
/* мобільний: кожен рядок — картка (назва, постачальник, мета, термін) */
@media (max-width: 599px) {
  .lh-legal .lh-table { overflow: visible; }
  .lh-legal table { min-width: 0; }
  .lh-legal thead { display: none; }
  .lh-legal tr, .lh-legal td { display: block; }
  .lh-legal tr { padding: 12px 14px; border-bottom: 1px solid #DCDDE0; }
  .lh-legal tbody tr:last-child { border-bottom: 0; }
  .lh-legal td { padding: 0; border: 0; }
  .lh-legal td:first-child { margin-bottom: 4px; font-size: 14px; font-weight: 600; }
  .lh-legal td:nth-child(2) { color: #5E6166; font-size: 13px; }
  .lh-legal td:last-child { margin-top: 4px; color: #5E6166; font-size: 13px; }
  .lh-legal td:last-child::before { content: "Platnosť: "; }
}

/* ---------- Cookie Policy (документ Complianz, сторінка з класом body.cmplz-document) ---------- */
/* такий самий вигляд, як «Ochrana osobných údajov»: сірий фон, білий аркуш 820px */
body.cmplz-document { background: #ECEDEF; }
body.cmplz-document .site-content > .ast-container { max-width: 900px; padding: 0 clamp(12px, 3vw, 40px); }
body.cmplz-document #primary { width: 100%; margin: clamp(32px, 6vw, 72px) 0 clamp(40px, 8vw, 96px); padding: 0; }
body.cmplz-document article.page {
  margin: 0; background: var(--lh-white); border: 1px solid #DCDDE0; border-radius: 16px;
  padding: clamp(24px, 5vw, 64px) clamp(20px, 5vw, 64px);
}
body.cmplz-document .entry-header { margin: 0 0 24px; padding: 0; }
body.cmplz-document .entry-title {
  margin: 0; font-family: Montserrat, Onest, sans-serif; font-weight: 700;
  font-size: clamp(28px, 3.6vw, 40px); line-height: 1.15; letter-spacing: -0.01em; color: #1D1F22;
}
#cmplz-document { font-family: Onest, system-ui, sans-serif; font-size: 16px; line-height: 1.7; color: var(--lh-ink); }
#cmplz-document h2 {
  margin: 36px 0 12px; font-family: Montserrat, Onest, sans-serif; font-weight: 700; font-size: 20px; line-height: 1.3; color: #1D1F22;
}
#cmplz-document h3 { margin: 24px 0 8px; font-family: Onest, sans-serif; font-weight: 600; font-size: 17px; line-height: 1.4; color: #1D1F22; }
#cmplz-document h4 { margin: 0; font-family: Onest, sans-serif; font-weight: 600; font-size: 14px; line-height: 1.4; color: #1D1F22; }
#cmplz-document p { margin: 0 0 12px; }
#cmplz-document p:first-child i { color: #5E6166; font-size: 14px; }
#cmplz-document ul { margin: 0 0 12px; padding-left: 22px; }
#cmplz-document li { margin: 0 0 6px; }
#cmplz-document a { color: var(--lh-oak); text-decoration: underline; text-underline-offset: 2px; overflow-wrap: anywhere; }
#cmplz-document a:hover { color: #7A4E22; }
/* сервіси з cookies — розкривні блоки */
#cmplz-document details.cmplz-dropdown {
  margin: 0 0 10px; border: 1px solid #DCDDE0; border-radius: 12px; background: #F6F7F8; overflow: hidden;
}
#cmplz-document details.cmplz-dropdown > summary { padding: 14px 18px; cursor: pointer; list-style: none; }
#cmplz-document details.cmplz-dropdown > summary::-webkit-details-marker { display: none; }
#cmplz-document details.cmplz-dropdown[open] > summary { border-bottom: 1px solid #DCDDE0; background: var(--lh-white); }
#cmplz-document .cmplz-service-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
#cmplz-document .cmplz-service-header h3 { margin: 0; }
#cmplz-document details.cmplz-dropdown > *:not(summary) { margin-left: 18px; margin-right: 18px; }
#cmplz-document details.cmplz-dropdown[open] > :last-child { margin-bottom: 18px; }
#cmplz-document .cmplz-service-description, #cmplz-document .cmplz-sharing-data { margin-top: 14px; }
/* таблиця cookies: пари «мітка | значення» (назва, строк, призначення) */
#cmplz-document .cookies-per-purpose {
  display: grid; grid-template-columns: minmax(96px, 150px) minmax(0, 1fr); gap: 6px 16px; margin: 12px 0 0; padding: 14px 16px;
  border-radius: 10px; background: var(--lh-white); border: 1px solid #E6E7EA; font-size: 14px; line-height: 1.5;
}
#cmplz-document .cookies-per-purpose .purpose { grid-column: 1 / -1; margin-bottom: 4px; }
#cmplz-document .cookies-per-purpose h5 { margin: 0; font-family: Onest, sans-serif; font-size: 13px; font-weight: 500; line-height: 1.5; color: #5E6166; }

/* ---------- Як замовити ---------- */
.lh-step__title .elementor-heading-title { text-wrap: balance; }

/* ---------- Каталог: модальне вікно «Дивитись роботи» ---------- */
/* Вміст — блоки .lh-modal-content у прихованій секції .lh-modals (редагуються в Elementor);
   оболонку вікна (.lh-modal, хрестик) створює lazer-house.js */
body:not(.elementor-editor-active) .lh-modals { display: none; }
.lh-card:focus-visible { outline: 2px solid var(--lh-oak); outline-offset: 3px; }
body.lh-modal-open { overflow: hidden; }
.lh-modal[hidden] { display: none; }
.lh-modal {
  position: fixed; inset: 0; z-index: 100; background: rgba(38, 40, 43, .55);
  display: flex; align-items: center; justify-content: center; padding: clamp(0px, 3vw, 32px);
}
.lh-modal__dialog {
  position: relative; width: 100%; max-width: 980px; max-height: 100%; overflow: auto;
  border-radius: 24px; background: var(--lh-white);
}
.lh-modal .lh-modal__close {
  position: absolute; top: 14px; right: 14px; z-index: 2; width: 44px; height: 44px; padding: 0; border-radius: 50%;
  border: 1px solid var(--lh-line); background: var(--lh-white); color: var(--lh-ink);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.lh-modal .lh-modal__close:hover, .lh-modal .lh-modal__close:focus { border-color: var(--lh-ink); background: var(--lh-white); color: var(--lh-ink); outline: none; }
.lh-modal .lh-modal__close:focus-visible { outline: 2px solid var(--lh-oak); outline-offset: 2px; }
.lh-modal__close svg { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* фото галереї: квадрат 1:1, клік відкриває лайтбокс */
.lh-modal-content .lh-modal__photo img {
  display: block; aspect-ratio: 1 / 1; width: 100%; height: auto; object-fit: cover; background: var(--lh-card);
}
.lh-modal-content .lh-modal__photo figure { margin: 0; }
.lh-modal .lh-modal__photo { cursor: zoom-in; border-radius: 16px; }
.lh-modal .lh-modal__photo img { transition: filter .2s; }
@media (hover: hover) { .lh-modal .lh-modal__photo:hover img { filter: brightness(.92); } }
.lh-modal .lh-modal__photo:focus-visible { outline: 2px solid var(--lh-oak); outline-offset: 2px; }
/* блок ціни й кнопки — за шириною вмісту */
.lh-modal-content .e-con.lh-modal__order { width: auto; }

/* ---------- Форма замовлення (Contact Form 7 у секції .lh-order) ---------- */
.lh-form-card { max-width: 880px; }
.lh-form-title .elementor-heading-title { text-wrap: balance; }
/* після успішної відправки — перехід на сторінку подяки /thank-you/ (lazer-house.js) */
.lh-form-privacy a { text-decoration: underline; text-underline-offset: 2px; }

.lh-cf7 .wpcf7 form { margin: 0; }
.lh-form {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 18px;
  font-family: Onest, system-ui, sans-serif; color: var(--lh-ink);
}
.lh-form .lh-field--full { grid-column: 1 / -1; }
.lh-form .lh-field { display: flex; flex-direction: column; gap: 6px; margin: 0; font-size: 14px; font-weight: 500; line-height: 1.5; }
.lh-form .wpcf7-form-control-wrap { display: block; }
.lh-cf7 .lh-form .lh-field input.wpcf7-form-control,
.lh-cf7 .lh-form .lh-field select.wpcf7-form-control,
.lh-cf7 .lh-form .lh-field textarea.wpcf7-form-control {
  display: block; width: 100%; box-sizing: border-box; margin: 0; border-radius: 14px; border: 1px solid #CFCCC7;
  background-color: var(--lh-white); color: var(--lh-ink); font-family: inherit; font-size: 16px; font-weight: 400; line-height: 1.5;
  box-shadow: none; transition: border-color .2s;
}
.lh-cf7 .lh-form .lh-field input.wpcf7-form-control,
.lh-cf7 .lh-form .lh-field select.wpcf7-form-control { height: 52px; padding: 0 16px; }
.lh-cf7 .lh-form .lh-field select.wpcf7-form-control {
  padding: 0 48px 0 14px; appearance: none; -webkit-appearance: none; cursor: pointer;
  background: var(--lh-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%235E6166' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 20px center;
}
.lh-cf7 .lh-form .lh-field textarea.wpcf7-form-control { height: auto; min-height: 120px; padding: 14px 16px; resize: vertical; }
.lh-cf7 .lh-form .lh-field .wpcf7-form-control::placeholder { color: #85878B; opacity: 1; }
.lh-cf7 .lh-form .lh-field .wpcf7-form-control:focus { border-color: var(--lh-ink); outline: 2px solid var(--lh-ink); outline-offset: -1px; box-shadow: none; }
/* помилки валідації */
.lh-cf7 .lh-form .lh-field .wpcf7-form-control.wpcf7-not-valid { border-color: #C23A16; }
.lh-cf7 .wpcf7-not-valid-tip { margin-top: 6px; color: #C23A16; font-size: 13px; font-weight: 400; }

/* зона завантаження файлу */
.lh-form .lh-drop {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; margin: 0;
  padding: 26px 16px; border: 1.5px dashed #BDB9B3; border-radius: 16px; background: var(--lh-bg);
  cursor: pointer; text-align: center; font-size: 15px; line-height: 1.5; transition: border-color .2s, background .2s;
}
.lh-form .lh-drop.is-dragging { border-color: var(--lh-oak); background: #F2E5D2; }
.lh-form .lh-drop__icon {
  width: 30px; height: 30px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239A6630' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242'/%3E%3Cpath d='M12 12v9'/%3E%3Cpath d='m16 16-4-4-4 4'/%3E%3C/svg%3E") no-repeat center / contain;
}
.lh-form .lh-drop__label { font-weight: 500; }
.lh-form .lh-drop.has-file .lh-drop__label { color: var(--lh-oak); }
.lh-form .lh-drop__hint { font-size: 13px; color: #5E6166; }
.lh-form .lh-drop input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.lh-form .lh-drop .wpcf7-form-control-wrap { position: static; }

/* кнопка відправлення */
.lh-form div.lh-field--full { position: relative; }
.lh-cf7 .lh-form input.lh-submit {
  display: block; width: 100%; height: 60px; margin: 0; padding: 0 16px; border: 0; border-radius: 16px;
  background: var(--lh-ink); color: var(--lh-white); font-family: inherit; font-size: 15px; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase; cursor: pointer; transition: background .2s;
}
.lh-cf7 .lh-form input.lh-submit:hover, .lh-cf7 .lh-form input.lh-submit:focus { background: #3A3D41; color: var(--lh-white); }
.lh-cf7 .lh-form input.lh-submit:focus-visible { outline: 2px solid var(--lh-oak); outline-offset: 2px; }
.lh-cf7 .lh-form input.lh-submit:disabled { opacity: .6; cursor: wait; }
/* на вузьких екранах довгий текст кнопки переноситься на два рядки, а не обрізається */
@media (max-width: 599px) {
  .lh-cf7 .lh-form input.lh-submit {
    height: auto; min-height: 60px; padding: 14px 40px; white-space: normal; line-height: 1.35; letter-spacing: .04em;
  }
}
.lh-cf7 .lh-form .wpcf7-spinner { position: absolute; top: 50%; right: 18px; margin: -12px 0 0; background-color: var(--lh-white); }
.lh-form .lh-form-note { margin: 0; font-size: 13px; text-align: center; color: #5E6166; }
.lh-cf7 .wpcf7 form .wpcf7-response-output { margin: 18px 0 0; padding: 0; border: 0; color: #C23A16; font-size: 14px; text-align: center; }
.lh-cf7 .wpcf7 form.sent .wpcf7-response-output { display: none; }


.lh-lightbox[hidden] { display: none; }
.lh-lightbox {
  position: fixed; inset: 0; z-index: 110; background: rgba(20, 21, 23, .92);
  display: flex; align-items: center; justify-content: center;
  font-family: Onest, system-ui, sans-serif; touch-action: pan-y; user-select: none;
}
.lh-lightbox__stage { margin: 0; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; padding: 64px clamp(16px, 8vw, 96px); }
.lh-lightbox__img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 16px; }
.lh-lightbox svg { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.lh-lightbox .lh-lightbox__arrow,
.lh-lightbox .lh-lightbox__close {
  position: absolute; z-index: 2; width: 48px; height: 48px; padding: 0; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .12); color: var(--lh-white);
  display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background .2s;
  -webkit-tap-highlight-color: transparent;
}
.lh-lightbox .lh-lightbox__arrow { top: 50%; transform: translateY(-50%); }
.lh-lightbox .lh-lightbox__arrow--prev { left: clamp(8px, 2vw, 24px); }
.lh-lightbox .lh-lightbox__arrow--next { right: clamp(8px, 2vw, 24px); }
.lh-lightbox .lh-lightbox__close { top: 12px; right: 12px; width: 44px; height: 44px; }
.lh-lightbox .lh-lightbox__arrow:hover, .lh-lightbox .lh-lightbox__arrow:focus,
.lh-lightbox .lh-lightbox__close:hover, .lh-lightbox .lh-lightbox__close:focus {
  border-color: rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .12); color: var(--lh-white); outline: none;
}
@media (hover: hover) {
  .lh-lightbox .lh-lightbox__arrow:hover, .lh-lightbox .lh-lightbox__close:hover { background: rgba(255, 255, 255, .24); }
}
.lh-lightbox .lh-lightbox__arrow:focus-visible, .lh-lightbox .lh-lightbox__close:focus-visible { outline: 2px solid var(--lh-oak-light); outline-offset: 2px; }
.lh-lightbox__counter {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
  color: var(--lh-white); font-size: 15px; font-weight: 500; letter-spacing: .04em;
  padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .12);
}
@media (max-width: 599px) {
  .lh-lightbox__stage { padding: 64px 12px; }
  .lh-lightbox .lh-lightbox__arrow { top: auto; bottom: 10px; transform: none; width: 44px; height: 44px; }
}

/* ---------- Кнопка «Нагору» (створює lazer-house.js); стандартну кнопку Astra ховаємо ---------- */
#ast-scroll-top { display: none !important; }
body .lh-to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 48px; height: 48px; padding: 0;
  border: 0; border-radius: 50%; background: var(--lh-oak); color: var(--lh-white);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  box-shadow: 0 8px 24px rgba(38, 40, 43, .18);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .25s, visibility .25s, transform .25s, background .2s;
  -webkit-tap-highlight-color: transparent;
}
body .lh-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
body .lh-to-top:hover, body .lh-to-top:focus { background: #7A4E22; color: var(--lh-white); outline: none; }
body .lh-to-top:focus-visible { outline: 2px solid var(--lh-oak); outline-offset: 3px; }
.lh-to-top svg { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
body.lh-modal-open .lh-to-top,
body:has(.cmplz-cookiebanner.cmplz-show) .lh-to-top { opacity: 0; visibility: hidden; }
@media (max-width: 599px) { body .lh-to-top { right: 16px; bottom: 16px; width: 44px; height: 44px; } }
@media (prefers-reduced-motion: reduce) { body .lh-to-top { transition: none; } }
