/* Briolight global chrome: the same footer email position for all templates.
   Use the approved homepage's natural layout; no per-template offsets. */
@media(min-width:992px){
  body .footer-v2 .footer-v2__email{
    display:block!important;
    position:static!important;
    top:auto!important;
    transform:none!important;
    margin-top:10px!important;
    line-height:1.25!important;
  }
}
@media(max-width:991.98px){
  body .footer-v2 .footer-v2__email{
    display:block!important;
    position:static!important;
    top:auto!important;
    transform:none!important;
    margin-top:10px!important;
    line-height:1.25!important;
  }
}

/* Align the email text baseline with the founder name on desktop (approved visual). */
@media(min-width:992px){
 body .footer-v2 .footer-v2__email{
  transform:translateY(11px)!important;
 }
}

/* GLOBAL PRODUCT HEADER: approved interactive-floor desktop/mobile menu layout.
   Shared by every product page; edit here only after explicit approval (кумкват).
   Footer remains globally controlled above in this same stylesheet. */

/* Home: keep the approved product-menu typography. Center the whole menu
   in the free space between the logo and contact controls, not the viewport. */
@media(min-width:1200px){
 body.product-prototype .header .col-12{display:grid!important;grid-template-columns:auto minmax(0,1fr) auto!important;align-items:center!important;column-gap:clamp(12px,1.4vw,26px)!important}
 body.product-prototype .header .logo{grid-column:1;min-width:0}
 body.product-prototype .header .nav{grid-column:2;position:static!important;left:auto!important;right:auto!important;transform:none!important;display:flex!important;justify-content:center!important;min-width:0!important;width:100%!important;margin:0!important}
 body.product-prototype .header .nav>ul{display:flex!important;justify-content:center!important;align-items:center!important;flex-wrap:nowrap!important}
 body.product-prototype .header .nav>ul>li>a{font-size:16px!important;white-space:nowrap!important}
 body.product-prototype .header-actions{grid-column:3;position:static!important;min-width:0!important;margin:0!important}
 body.product-prototype .header .mobile-group .site-search-toggle{display:grid!important;visibility:visible!important;opacity:1!important;width:36px!important;height:36px!important;flex:0 0 36px!important;order:2!important}
 body.product-prototype .header .mobile-group .lang-switcher{order:1!important}
 body.product-prototype .header .mobile-group{display:flex!important;align-items:center!important;gap:10px!important}
}
@media(min-width:1200px) and (max-width:1999.98px){
 body.product-prototype .header .nav>ul>li{margin-left:clamp(15.6px,1.69vw,31.2px)!important;margin-right:clamp(15.6px,1.69vw,31.2px)!important}
 body.product-prototype .header-messengers{display:none!important}
 body.product-prototype .header .col-12{column-gap:8px!important}
 body.product-prototype .header .nav>ul>li>a{font-size:16px!important}
}
@media(min-width:2000px){
 body.product-prototype .header .nav>ul>li{margin-left:30.8px!important;margin-right:30.8px!important}
}
@media(max-width:1199.98px){
 body.product-prototype .site-search-toggle{display:grid!important;place-items:center!important;width:34px!important;height:34px!important;flex:0 0 34px!important}
 body.product-prototype .mobile-group{display:flex!important;align-items:center!important}
}
@media(max-width:991.98px){
 body.product-prototype .mobile-group .site-search-toggle{order:1!important}
 body.product-prototype .mobile-group .lang-switcher{order:2!important}
 body.product-prototype .mobile-group .btn-menu{order:3!important}
}
@media(max-width:575px){
 body.product-prototype .mobile-group{gap:6px!important;margin-right:0!important}
 body.product-prototype .site-search-toggle{width:32px!important;height:32px!important;flex-basis:32px!important}
}


/* Full HD search must be visible immediately after language selector. */
@media(min-width:1200px) and (max-width:1999.98px){
 body.product-prototype .header .header-actions{display:flex!important;align-items:center!important;flex:0 0 auto!important;overflow:visible!important}
 body.product-prototype .header .mobile-group{display:flex!important;align-items:center!important;flex:0 0 auto!important;gap:8px!important;min-width:104px!important;margin:0!important;overflow:visible!important}
 body.product-prototype .header .mobile-group .lang-switcher{order:1!important;flex:0 0 58px!important}
 body.product-prototype .header .mobile-group button.site-search-toggle{order:2!important;display:grid!important;visibility:visible!important;opacity:1!important;position:relative!important;z-index:20!important;flex:0 0 36px!important;width:36px!important;height:36px!important;min-width:36px!important;padding:0!important;place-items:center!important;color:#232323!important;background:transparent!important}
 body.product-prototype .header .mobile-group button.site-search-toggle svg{display:block!important;width:22px!important;height:22px!important;visibility:visible!important;opacity:1!important;stroke:currentColor!important}
}


@media(max-width:991.98px){
body.product-prototype .header .mobile-group .site-search-toggle{display:none!important}
body.product-prototype .mobile-menu>.mobile-menu__search{display:flex!important;align-items:center!important;gap:12px!important;width:100%!important;height:46px!important;margin:0 0 20px!important;padding:0 14px!important;box-sizing:border-box!important;border:1px solid #cbd8e3!important;border-radius:10px!important;background:#fff!important;color:#4b5964!important;font-size:15px!important;text-align:left!important;cursor:pointer!important}
body.product-prototype .mobile-menu>.mobile-menu__search svg{width:20px!important;height:20px!important;flex:0 0 20px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.9!important;stroke-linecap:round!important}
body.product-prototype .mobile-menu .mobile-menu__block,body.product-prototype .mobile-menu .mobile-menu__block-title{text-align:left!important}
body.product-prototype .mobile-menu .mobile-menu__block .phone{display:block!important;width:auto!important;margin-left:0!important;margin-right:0!important;text-align:left!important}
body.product-prototype .mobile-menu .horizontal-socials{justify-content:flex-start!important;margin-left:0!important;margin-right:0!important;padding-left:0!important}
body.product-prototype .mobile-menu .horizontal-socials li{margin-left:0!important}
}
@media(min-width:992px){body.product-prototype .mobile-menu>.mobile-menu__search{display:none!important}}



/* Keep the approved homepage footer untouched.
   Other templates: remove the extra 11px downward translation.
   This is a shared global rule, not per-page copies. */
@media(min-width:992px){
 body:not(.home) .footer-v2 .footer-v2__email{
   transform:translateY(9px)!important;
 }
}

/* Non-home templates: compensate excess gap beneath messenger icons.
   Homepage's approved positioning and existing global styles remain unchanged. */
@media(min-width:992px){
 body:not(.home) .footer-v2 .footer-v2__email{
   margin-top:10px!important;
 }
}


/* Shared consent banner – compact, balanced opt-in choices. */
body .cookie-consent{
 box-sizing:border-box!important;
 padding:14px 18px!important;
 gap:14px!important;
 align-items:center!important;
 max-width:960px!important;
}
body .cookie-consent p{
 margin:0!important;
 flex:1 1 320px!important;
 min-width:0!important;
 line-height:1.4!important;
}
body .cookie-consent .cookie-consent__actions{
 display:flex!important;
 flex:0 0 auto!important;
 align-items:center!important;
 gap:10px!important;
 margin-left:auto!important;
}
body .cookie-consent .cookie-consent__actions button{
 box-sizing:border-box!important;
 min-width:0!important;
 width:auto!important;
 height:44px!important;
 min-height:44px!important;
 padding:0 16px!important;
 white-space:nowrap!important;
 font:600 15px/1.15 Roboto,Arial,sans-serif!important;
 border-radius:7px!important;
 box-shadow:none!important;
}
body .cookie-consent .cookie-consent__reject{
 background:#fff!important;
 color:#30363b!important;
 border:1px solid #cdd4da!important;
}
body .cookie-consent .cookie-consent__accept{
 background:#FCD203!important;
 color:#161616!important;
 border:1px solid #FCD203!important;
}
@media(max-width:767px){
 body .cookie-consent{padding:12px 14px!important;gap:12px!important;align-items:stretch!important}
 body .cookie-consent p{flex:0 1 auto!important}
 body .cookie-consent .cookie-consent__actions{width:100%!important;margin:0!important}
 body .cookie-consent .cookie-consent__actions button{flex:1 1 0!important;padding:0 9px!important}
}
@media(max-width:360px){
 body .cookie-consent .cookie-consent__actions{flex-direction:column!important}
 body .cookie-consent .cookie-consent__actions button{flex:none!important;width:100%!important}
}



/* Mobile menu search is a full-width action row, not the compact header icon. */
@media (max-width:991px){
 html[lang="uk"] body .mobile-menu>button.mobile-menu__search.site-search-toggle{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:12px!important;
  position:relative!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  height:46px!important;
  min-height:46px!important;
  flex:0 0 auto!important;
  margin:0 0 20px!important;
  padding:0 14px!important;
  box-sizing:border-box!important;
  border:1px solid #cbd8e3!important;
  border-radius:10px!important;
  background:#fff!important;
  color:#4b5964!important;
  text-align:left!important;
 }
 html[lang="uk"] body .mobile-menu>button.mobile-menu__search.site-search-toggle svg{
  display:block!important;
  width:20px!important;
  height:20px!important;
  min-width:20px!important;
  flex:0 0 20px!important;
 }
 html[lang="uk"] body .mobile-menu>button.mobile-menu__search.site-search-toggle span{
  display:block!important;
  min-width:0!important;
  overflow:hidden!important;
  white-space:nowrap!important;
  text-overflow:ellipsis!important;
  font-size:15px!important;
  line-height:1.2!important;
 }
}