/* BELETA – shared navigation and homepage layout */
@media(min-width:1201px){
  /* Copy the homepage panel geometry to every desktop page. The wrapper
     has no visible full-width background or shadow; only the category panel does. */
  body #wrap #header .main-menu{
    background:transparent!important;box-shadow:none!important;-webkit-box-shadow:none!important;
  }
  body #wrap #header .main-menu .product-categories>#menu-mega-menu{
    position:absolute!important;top:0!important;bottom:auto!important;height:auto!important;
    padding:6px 0!important;border-radius:0 0 4px 4px;
    background:#fff!important;opacity:1!important;
    box-shadow:0 10px 24px -8px rgba(10,20,30,.35)!important;
    backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
  }
  body.home:not(.sticky) #wrap #header .main-menu .product-categories>#menu-mega-menu{
    background:rgba(255,255,255,.5)!important;
    backdrop-filter:blur(10px)!important;-webkit-backdrop-filter:blur(10px)!important;
  }
  /* One identical five-column category rail, including the approved sticky header. */
  body #wrap #header .main-menu .product-categories>#menu-mega-menu{
    display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;
    width:520px!important;max-width:520px!important;left:0!important;right:0!important;
    margin:0 auto!important;transform:none!important;gap:0!important;align-items:stretch!important;
    box-sizing:border-box!important;padding-left:0!important;padding-right:0!important;
  }
  /* The theme adds text-only primary navigation items for its mobile menu. */
  body #wrap #header .main-menu .product-categories>#menu-mega-menu>li:not(.with-icon){display:none!important}
  body #wrap #header .main-menu .product-categories>#menu-mega-menu>li.with-icon{
    display:flex!important;align-items:stretch!important;justify-content:center!important;
    float:none!important;width:100%!important;max-width:none!important;min-width:0!important;
    height:auto!important;min-height:0!important;margin:0!important;padding:0!important;
    box-sizing:border-box!important;text-align:center!important;border-left:0!important;
  }
  body #wrap #header .main-menu .product-categories>#menu-mega-menu>li.with-icon~li.with-icon{
    border-left:1px solid rgba(49,64,78,.18)!important;
  }
  body #wrap #header .main-menu .product-categories>#menu-mega-menu>li.with-icon>a:not(.js-more){
    display:flex!important;flex-direction:column;align-items:center!important;justify-content:center!important;
    width:100%!important;height:auto!important;margin:0!important;padding:0 6px!important;line-height:1.1!important;text-align:center!important;white-space:nowrap;
  }
  body #wrap #header .main-menu .product-categories>#menu-mega-menu>li.with-icon>a:not(.js-more)>img{
    display:block!important;float:none!important;margin-left:auto!important;margin-right:auto!important;margin-bottom:4px!important;
  }
  body #wrap #header .main-menu .product-categories>#menu-mega-menu>li.with-icon>a:not(.js-more)>span{
    padding-bottom:0!important;margin-bottom:0!important;
  }
  body.home:not(.sticky) #wrap #header .main-menu .product-categories>#menu-mega-menu>li.with-icon~li.with-icon{border-left-color:rgba(49,64,78,.24)!important}
  /* Same normal-state placement of favorites and search on every page. */
  body:not(.sticky) #header #home-top-menu .beleta-top-actions{display:flex;align-items:center}
  body:not(.sticky) #header #home-top-menu .header-buttons.bh-moved{
    position:static!important;display:flex!important;align-items:center;gap:18px;
    margin:0 0 0 20px!important;padding:0!important;width:auto!important;height:auto!important;
    background:none!important;box-shadow:none!important;transform:none!important;float:none!important;
  }
  body:not(.sticky) #header #home-top-menu .header-buttons.bh-moved a{
    display:flex!important;align-items:center;height:35px;margin:0!important;padding:0!important;
    width:auto!important;float:none!important;
  }
  body:not(.sticky) #header #home-top-menu .header-buttons.bh-moved a *{position:static!important}
  body:not(.sticky) #header #home-top-menu .header-buttons.bh-moved svg{
    display:block;width:18px!important;height:18px!important;margin:0!important;transform:none!important;
  }
  body.home.sticky #header .main-menu .logo{box-shadow:none!important}
  body.home.sticky #header .product-categories>ul{animation:none!important}
  /* Sticky desktop: keep only the category/navigation rail. The ordinary logo and lower header edge scroll away. */
  body.sticky #wrap #header .main-menu .logo-wrap{display:none!important}
  body.sticky #wrap #header .main-menu{border:0!important;border-bottom:0!important;box-shadow:none!important;-webkit-box-shadow:none!important}
  body.sticky #wrap #header .main-menu:before,
  body.sticky #wrap #header .main-menu:after{display:none!important;box-shadow:none!important;border:0!important}
}
/* Favorites and search belong to the ordinary header, never the fixed category rail. */
body.sticky #wrap #header .main-menu .header-buttons,
body.sticky #wrap #header #home-top-menu .header-buttons{display:none!important;background:transparent!important;box-shadow:none!important}
@media(max-width:1200px){
  #header .beleta-mobile-categories>a+a,#header .beleta-mobile-categories>details{border-left:1px solid rgba(49,64,78,.14)!important}
}
/* All hero elements share exactly the same left edge and column width.
   Natural word spacing is maintained by left-aligning the paragraph. */
body.home #beleta-hero .bh__content{width:min(100%,420px);max-width:420px;align-items:flex-start}
body.home #beleta-hero .bh__title,body.home #beleta-hero .bh__text{
  width:100%;max-width:420px;box-sizing:border-box;padding:0!important;margin:0!important;
  text-align:left!important;text-align-last:left!important;word-spacing:normal!important;
}
body.home #beleta-hero .bh__title strong{display:block;font-size:1.1em;line-height:1.02}
body.home #beleta-hero .bh__title strong+br{display:none}
body.home #beleta-hero .bh__text{hyphens:none;overflow-wrap:normal;letter-spacing:normal}
body.home #beleta-hero .bh__features{
  grid-template-columns:repeat(2,minmax(0,1fr));width:min(420px,calc(100% - 2 * var(--bh-pad)));
  max-width:420px;left:var(--bh-pad);right:auto;margin:0!important;padding:0!important;gap:14px 18px;
}
body.home #beleta-hero .bh__ftext strong{white-space:normal}
@media(min-width:1201px){body.home #beleta-hero .bh__inner{padding-bottom:145px}body.home #beleta-hero{min-height:520px}}
@media(max-width:1200px) and (orientation:landscape){body.home #beleta-hero .bh__inner{padding-bottom:150px}body.home #beleta-hero{min-height:500px}}
@media(max-height:500px) and (orientation:landscape){body.home #beleta-hero .bh__features{display:grid!important;bottom:18px}body.home #beleta-hero .bh__text{display:block!important}body.home #beleta-hero .bh__inner{padding-top:24px;align-items:flex-start}}
body.home .beleta-home-contact-cta{text-align:center;margin:18px auto!important;padding:0!important}
body.home .beleta-home-contact-cta a{display:inline-block!important;padding:13px 24px!important;border:2px solid #1d3b5c!important;border-radius:6px!important;background:#1d3b5c!important;color:#fff!important;font:700 15px/1.3 Montserrat,sans-serif!important;text-decoration:none!important;transition:transform .15s,box-shadow .15s}
body.home .beleta-home-contact-cta a:hover{transform:translateY(-2px);box-shadow:0 8px 20px rgba(29,59,92,.18)}
/* Compact partners panel: 60% of the former maximum width. */
.beleta-home-partners{border:1px solid #dbe4ef;border-radius:12px;padding:19px 18px 17px;margin:20px auto 28px;max-width:702px;color:#1d3b5c;text-align:center;font-family:Montserrat,sans-serif}
.beleta-home-partners h2{font:700 clamp(16px,1.6vw,20px)/1.4 Montserrat,sans-serif;margin:0 0 14px;color:#1d3b5c}
.beleta-home-partners__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(8px,2.4vw,32px)}
.beleta-home-partners__item{min-width:0;color:#1d3b5c;font-weight:700;text-decoration:none!important;font-size:14px;line-height:1.3;display:block}
.beleta-home-partners__logo{height:63px;border:1px solid #e7d9cb;border-radius:10px;display:flex;align-items:center;justify-content:center;margin-bottom:8px;background:#fff;padding:8px}
.beleta-home-partners__logo img{display:block;width:auto;max-width:100%;height:auto;max-height:46px;object-fit:contain}
@media(max-width:600px){
  .beleta-home-partners{padding:15px 10px;margin:16px auto 22px}
  .beleta-home-partners__grid{gap:8px}
  .beleta-home-partners__logo{height:60px;padding:5px}
  .beleta-home-partners__item{font-size:12px}
}
