:root { --lm-sgb-sticky-h: 65px; }

body.lm-sgb-shop .page-title,
body.lm-sgb-shop .wd-page-title,
body.lm-sgb-shop .woocommerce-products-header{
  display:none !important;
}

.lm-home-hero.lm-shop-guest-banner{
  margin-top: var(--lm-sgb-sticky-h);
  margin-bottom: 24px;
  background-color: #fff;
  position: relative;
  overflow: hidden;
  opacity: 1;
  transform: translateY(0);
  max-height: 1200px;
  transition: opacity .28s ease, transform .28s ease, max-height .35s ease, margin .28s ease;
}

.lm-home-hero.lm-shop-guest-banner.is-hidden{
  opacity: 0;
  transform: translateY(-10px);
  max-height: 0;
  margin-top: 0 !important;
  margin-bottom: 0;
  pointer-events: none;
}

.lm-shop-guest-banner .container{
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}

.lm-shop-guest-banner .lm-hero-slider{
  position: relative;
  overflow: hidden;
}

.lm-shop-guest-banner .lm-hero-slider__track{
  display:flex;
  width:100%;
  transform: translate3d(0,0,0);
}

.lm-shop-guest-banner .lm-hero-slider__slide{
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  height: 526px;
  overflow: hidden;
}

.lm-shop-guest-banner .lm-hero-slider__bg{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  z-index:0;
}

.lm-shop-guest-banner .lm-hero-slider__overlay{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.55);
  z-index:1;
  pointer-events:none;
}

.lm-shop-guest-banner .lm-hero-slider__content{
  position: relative;
  z-index: 2;
  height: 100%;
}

.lm-shop-guest-banner .lm-home-hero__inner.container{
  height: 526px;
  color: #fff;
  padding: 48px 64px;
  position: relative;
}

.lm-shop-guest-banner .lm-home-hero__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:40px;
}

.lm-shop-guest-banner .lm-home-hero__col--left{
  max-width: 526px;
}

.lm-shop-guest-banner .lm-home-hero__title{
  font-size: 48px;
  line-height: 1;
  color: #fff;
  margin-bottom: 20px;
}

.lm-shop-guest-banner .lm-home-hero__subtitle{
  font-weight: 500;
  font-size: 16px;
  line-height: 140%;
  margin-bottom: 20px;
  color: #fff;
}

.lm-shop-guest-banner .lm-home-hero__btn{
  display: inline-block;
  padding: 12px 64px;
  background: #fbbc34 !important;
  color: #26272F !important;
  font-size: 14px;
  text-transform: capitalize;
  border-radius: 5px;
  font-weight: 600;
  text-decoration: none !important;
}

.lm-shop-guest-banner .lm-home-hero__btn:hover{
  opacity: .9;
}

.lm-shop-guest-banner .lm-home-hero__col--right{
  height: 390px;
}

.lm-shop-guest-banner.has-right-closed .lm-home-hero__col--right{
  display:none !important;
}

.lm-shop-guest-banner .lm-home-hero__panel{
  position: relative;
  background: linear-gradient(rgba(0, 0, 0, 0.5));
  padding: 16px 48px;
  border-radius: 5px;
  width: 420px;
  height: 100%;
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}

.lm-shop-guest-banner .lm-home-hero__label{
  font-size: 16px;
  margin-bottom: 24px;
  color: #fff;
  padding-right: 34px;
}

.lm-shop-guest-banner .lm-home-hero__roles{
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: stretch;
}

.lm-shop-guest-banner .lm-home-hero__roles li{
  margin-bottom: 5px;
}

.lm-shop-guest-banner .lm-home-hero__role{
  width: 100%;
  flex: 0 0 auto;
}

.lm-shop-guest-banner .lm-home-hero__role-btn{
  display: block;
  width: 100%;
  position: relative;
  text-align: left;
  padding: 13px 16px 13px 47px;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  text-transform: capitalize;
  cursor: pointer;
}

.lm-shop-guest-banner .lm-home-hero__role-btn::before{
  content: '';
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.8);
  box-sizing: border-box;
}

.lm-shop-guest-banner .lm-home-hero__role.is-active .lm-home-hero__role-btn{
  background: #ffffff;
  color: #26272F;
  border-color: #ffffff;
}

.lm-shop-guest-banner .lm-home-hero__role.is-active .lm-home-hero__role-btn::before{
  border-color: #000;
}

.lm-shop-guest-banner .lm-home-hero__role.is-active .lm-home-hero__role-btn::after{
  content: '';
  position: absolute;
  left: 19px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #000;
}

.lm-shop-guest-banner .lm-home-hero__panel .lm-home-hero__role-cta{
  display:block;
  margin-top: 16px;
  width:100%;
  text-align:center;
  padding: 13px 16px;
  border-radius: 5px;
  color:#26272F !important;
  background-color: #fbbc34;
  font-weight:600;
  text-decoration:none !important;
  text-transform: capitalize;
  font-size: 14px;
}

.lm-shop-guest-banner .lm-home-hero__role-cta:hover{
  opacity:.9;
}

.lm-shop-guest-banner .lm-sgb__right-close{
  position:absolute;
  top:12px;
  right:12px;
  width:28px;
  height:28px;
  border:0;
  background:transparent;
  color:#fff;
  font-size:22px;
  line-height:1;
  cursor:pointer;
  z-index:5;
  padding:0;
}

@media (max-width: 1025px){
  .lm-home-hero.lm-shop-guest-banner { margin-top: 20px; }
}

@media (max-width: 991px){
  .lm-shop-guest-banner .lm-hero-slider__slide { height: auto; }

  .lm-shop-guest-banner .lm-home-hero__inner.container{
    flex-direction: column;
    align-items: stretch;
    height: auto;
    gap: 10px;
    padding: 24px 20px;
  }

  .lm-shop-guest-banner .lm-home-hero__panel{
    width: 100%;
  }

  .lm-shop-guest-banner .lm-home-hero__col--right{
    height: auto;
  }
}

@media (max-width: 620px){
  .lm-shop-guest-banner .lm-home-hero__title{
    font-size: 28px;
    margin-bottom: 16px;
  }

  .lm-shop-guest-banner .lm-home-hero__subtitle{
    font-size: 14px;
    margin-bottom: 16px;
  }

  .lm-shop-guest-banner .lm-home-hero__panel{
    padding: 16px;
  }
}

/* === LM SGB MAIN-HERO OVERRIDES === */

.lm-home-hero.lm-shop-guest-banner{
  background:#111 !important;
  margin-bottom:28px !important;
}

.lm-home-hero.lm-shop-guest-banner.is-hidden{
  opacity:0 !important;
  transform:translateY(-10px) !important;
  max-height:0 !important;
  margin-top:var(--lm-sgb-sticky-h) !important;
  margin-bottom:0 !important;
  pointer-events:none !important;
}

.lm-shop-guest-banner.has-right-closed .lm-home-hero__col--right{
  display:block !important;
}

.lm-shop-guest-banner .lm-home-hero__inner.container{
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:48px !important;
  padding:48px 60px !important;
}

.lm-shop-guest-banner .lm-home-hero__col--left{
  width:100% !important;
  max-width:560px !important;
}

.lm-shop-guest-banner .lm-home-hero__title{
  margin:0 0 18px !important;
  font-size:58px !important;
  line-height:1.02 !important;
  font-weight:500 !important;
  letter-spacing:-0.02em !important;
}

.lm-shop-guest-banner .lm-home-hero__subtitle{
  margin:0 0 24px !important;
  font-size:18px !important;
  line-height:1.45 !important;
  font-weight:600 !important;
  max-width:520px !important;
}

.lm-shop-guest-banner .lm-home-hero__btn{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-width:245px !important;
  min-height:46px !important;
  padding:12px 30px !important;
  font-size:16px !important;
  font-weight:700 !important;
  text-transform:none !important;
}

.lm-shop-guest-banner .lm-home-hero__note{
  margin:18px 0 0 !important;
  color:#fff !important;
  font-size:15px !important;
  line-height:1.35 !important;
  font-weight:700 !important;
}

.lm-shop-guest-banner .lm-home-hero__col--right{
  width:420px !important;
  min-width:420px !important;
  height:auto !important;
}

.lm-shop-guest-banner .lm-home-hero__panel{
  width:100% !important;
  min-height:382px !important;
  padding:18px 24px 24px !important;
  background:linear-gradient(180deg, rgba(23,18,31,.82) 0%, rgba(7,7,12,.76) 100%) !important;
}

.lm-shop-guest-banner .lm-home-hero__label{
  margin:0 0 22px !important;
  font-size:17px !important;
  line-height:1.3 !important;
  font-weight:500 !important;
  padding-right:0 !important;
}

.lm-shop-guest-banner .lm-home-hero__roles,
.lm-shop-guest-banner .lm-home-hero__roles li{
  list-style:none !important;
  margin:0 !important;
  padding:0 !important;
}

.lm-shop-guest-banner .lm-home-hero__roles{
  display:flex !important;
  flex-direction:column !important;
  gap:8px !important;
}

.lm-shop-guest-banner .lm-home-hero__role-btn{
  min-height:44px !important;
  padding:13px 16px 13px 46px !important;
  font-size:14px !important;
  line-height:1.25 !important;
  font-weight:500 !important;
  text-transform:none !important;
}

.lm-shop-guest-banner .lm-home-hero__panel .lm-home-hero__role-cta{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-height:46px !important;
  margin-top:18px !important;
  padding:12px 16px !important;
  font-size:16px !important;
  font-weight:700 !important;
  text-transform:none !important;
}

.lm-shop-guest-banner .lm-sgb__right-close{
  display:none !important;
}

@media (max-width: 991px){
  .lm-shop-guest-banner .lm-home-hero__inner.container{
    height:auto !important;
    padding:28px 20px !important;
    flex-direction:column !important;
    align-items:stretch !important;
    gap:18px !important;
  }

  .lm-shop-guest-banner .lm-home-hero__col--right{
    width:100% !important;
    min-width:0 !important;
  }

  .lm-shop-guest-banner .lm-home-hero__panel{
    min-height:0 !important;
  }
}

@media (max-width: 620px){
  .lm-shop-guest-banner .lm-home-hero__title{
    font-size:34px !important;
  }

  .lm-shop-guest-banner .lm-home-hero__subtitle{
    font-size:15px !important;
  }

  .lm-shop-guest-banner .lm-home-hero__btn,
  .lm-shop-guest-banner .lm-home-hero__panel .lm-home-hero__role-cta{
    width:100% !important;
  }
}

/* keep shop content below sticky header after banner collapses */


/* pre-paint seen state for reloads */
html.lm-sgb-seen [data-lm-sgb]{
  opacity:0 !important;
  transform:translateY(-10px) !important;
  max-height:0 !important;
  margin-top:0 !important;
  margin-bottom:0 !important;
  pointer-events:none !important;
  overflow:hidden !important;
}

html.lm-sgb-seen body.lm-sgb-shop .main-page-wrapper,
html.lm-sgb-seen body.lm-sgb-shop .site-content,
html.lm-sgb-seen body.lm-sgb-shop .wd-page-content,
html.lm-sgb-seen body.lm-sgb-shop .wd-content-layout,
html.lm-sgb-seen body.lm-sgb-shop main#primary,
body.lm-sgb-shop.lm-sgb-banner-hidden .main-page-wrapper,
body.lm-sgb-shop.lm-sgb-banner-hidden .site-content,
body.lm-sgb-shop.lm-sgb-banner-hidden .wd-page-content,
body.lm-sgb-shop.lm-sgb-banner-hidden .wd-content-layout,
body.lm-sgb-shop.lm-sgb-banner-hidden main#primary,
body.lm-sgb-shop.lm-sgb-seen-server .main-page-wrapper,
body.lm-sgb-shop.lm-sgb-seen-server .site-content,
body.lm-sgb-shop.lm-sgb-seen-server .wd-page-content,
body.lm-sgb-shop.lm-sgb-seen-server .wd-content-layout,
body.lm-sgb-shop.lm-sgb-seen-server main#primary,
/* logged-in / no-banner state: native hero hidden, banner not rendered */
body.lm-sgb-shop:not(.lm-sgb-active) .main-page-wrapper,
body.lm-sgb-shop:not(.lm-sgb-active) .site-content,
body.lm-sgb-shop:not(.lm-sgb-active) .wd-page-content,
body.lm-sgb-shop:not(.lm-sgb-active) .wd-content-layout,
body.lm-sgb-shop:not(.lm-sgb-active) main#primary{
  margin-top:max(var(--lm-sgb-sticky-h), 65px) !important;
  padding-top:0 !important;
}
