/* Liang Brand Map & Directory v1.5.0 */
.lbm-wrap{width:100%;color:#153d42;font-family:inherit}
.lbm-layout{position:relative;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:clamp(24px,4vw,58px);align-items:center}
.lbm-map-column,.lbm-directory-column{min-width:0}
.lbm-map-frame{height:var(--lbm-map-height,570px);min-height:320px;position:relative;overflow:hidden;background:#fff;border-radius:0}
.lbm-map-image{display:block;width:100%;height:100%;object-fit:contain;object-position:center center}
.lbm-map-placeholder{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;color:#315b59;text-align:center;padding:25px;background:#f7fbf8}
.lbm-map-marker{position:absolute;z-index:3;width:14px;height:14px;padding:0;border:0;border-radius:50%;background:#052d3b;box-shadow:0 0 0 2px #ffffffaa;transform:translate(-50%,-50%);cursor:pointer}
.lbm-map-marker:after{content:"";position:absolute;inset:-8px;border:1px solid #c5a65d;border-radius:50%;animation:lbm-pulse 1.8s ease-out infinite}
@keyframes lbm-pulse{0%{transform:scale(.65);opacity:.8}100%{transform:scale(1.8);opacity:0}}
.lbm-info-card{position:absolute;z-index:4;top:12%;left:35%;width:min(290px,62%);max-height:76%;overflow:auto;background:#052d3b;color:#fff;border-radius:5px;padding:24px 23px 30px;box-shadow:0 16px 40px #001c2b2b}
.lbm-info-card[hidden]{display:none!important}
.lbm-info-card.is-visible{display:block}
.lbm-info-card.lbm-enter{animation:lbm-card-in .48s cubic-bezier(.2,.8,.2,1) both}
.lbm-info-card:after{content:"";position:absolute;left:23px;right:23px;bottom:13px;height:2px;background:linear-gradient(90deg,#d8b45e 0%,#f0d998 48%,#38c7c5 100%);transform:scaleX(0);transform-origin:left center}
.lbm-info-card.lbm-enter:after{animation:lbm-underline .85s .18s ease-out forwards}
@keyframes lbm-card-in{0%{opacity:0;transform:translateY(15px) scale(.975);filter:blur(2px)}100%{opacity:1;transform:translateY(0) scale(1);filter:blur(0)}}
@keyframes lbm-underline{0%{transform:scaleX(0)}100%{transform:scaleX(1)}}
.lbm-info-kicker{font-size:9px;letter-spacing:.2em;color:#d9bd75;font-weight:700;margin-bottom:12px}
.lbm-info-card h3{font-size:18px;line-height:1.25;color:#fff;margin:0 0 12px;font-weight:700}
.lbm-info-region{font-size:14px;line-height:1.5;color:#39d6df;margin-bottom:14px}
.lbm-info-card p{font-size:14px;line-height:1.48;color:#bfe8e9;margin:0 0 14px}
.lbm-info-address{font-size:12px;line-height:1.5;color:#e0eeee;margin-bottom:14px}
.lbm-info-links{display:flex;flex-wrap:wrap;gap:12px}
.lbm-info-links a{font-size:13px;font-weight:700;color:#fff;text-decoration:underline;text-underline-offset:3px}
.lbm-info-links a[hidden]{display:none}
.lbm-logo-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(185px,1fr));gap:20px 22px;align-items:center}
.lbm-brand-card{width:100%;height:174px;min-width:0;overflow:visible;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;display:flex;align-items:center;justify-content:center;padding:5px;cursor:pointer;transition:transform .22s ease,opacity .22s ease}
.lbm-brand-card:hover{transform:translateY(-2px);opacity:.9;outline:1px solid #b7c7c4!important;outline-offset:0}
.lbm-brand-card.is-active{outline:1px solid #49656a!important;outline-offset:0}
.lbm-brand-card.is-active img{filter:none;transform:scale(1.015)}
.lbm-brand-card:focus-visible{outline:1px dashed #c6a65d!important;outline-offset:2px}
.lbm-brand-card img{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;transform:scale(1.28);transform-origin:center;transition:transform .22s ease,filter .22s ease}
.lbm-brand-card.is-active img{transform:scale(1.42)}
.lbm-brand-card:hover img{transform:scale(1.42)}
.lbm-logo-fallback{width:100%;min-height:123px;display:flex;align-items:center;justify-content:center;font-size:13px;line-height:1.25;font-weight:700;color:#153d42;text-align:center}
.lbm-pagination{display:flex;justify-content:center;align-items:center;gap:16px;margin-top:24px}
.lbm-pagination[hidden]{display:none}
.lbm-pagination button{border:0;border-bottom:1px solid #b7c8c1;background:transparent;color:#173e43;border-radius:0;padding:8px 5px;font:inherit;font-size:12px;cursor:pointer}
.lbm-pagination button:disabled{opacity:.35;cursor:not-allowed}
.lbm-pagination span{font-size:12px;color:#607773;min-width:42px;text-align:center}
.lbm-directory-note{text-align:center;margin-top:12px;color:#8a9b96;font-size:10px;letter-spacing:.08em;text-transform:uppercase}
.lbm-directory-column{position:relative;min-width:0;overflow:hidden}
.lbm-directory-column.is-detail-view [data-lbm-grid],
.lbm-directory-column.is-detail-view [data-lbm-pagination],
.lbm-directory-column.is-detail-view .lbm-directory-note{display:none!important}
.lbm-brand-detail{display:block;width:100%;min-width:0;margin:0;padding:0;color:#153d42;overflow:hidden}
.lbm-brand-detail[hidden]{display:none!important}
.lbm-detail-back{display:inline-flex;align-items:center;gap:8px;margin:0 0 28px;padding:0;border:0;background:transparent;color:#153d42;font:inherit;font-size:13px;letter-spacing:.04em;text-align:left;cursor:pointer;transition:color .2s ease,transform .2s ease}
.lbm-detail-back:hover{color:#20aeb5;transform:translateX(-3px)}
.lbm-detail-body{display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,.9fr);gap:clamp(18px,3vw,36px);align-items:center}
.lbm-brand-detail.lbm-detail-enter{animation:lbm-detail-slide-in .48s cubic-bezier(.2,.75,.25,1) both}
.lbm-brand-detail.lbm-detail-exit{animation:lbm-detail-slide-out .34s ease both}
@keyframes lbm-detail-slide-in{from{opacity:0;transform:translateX(64px)}to{opacity:1;transform:translateX(0)}}
@keyframes lbm-detail-slide-out{from{opacity:1;transform:translateX(0)}to{opacity:0;transform:translateX(54px)}}
.lbm-detail-copy h2{font-size:clamp(24px,3vw,36px);line-height:1.15;color:#123d40;margin:0 0 12px}
.lbm-detail-region{color:#25aeb3;font-size:15px;margin-bottom:16px}
.lbm-detail-copy p,.lbm-detail-content{font-size:14px;line-height:1.75;color:#4e6665;margin:0 0 16px;white-space:pre-line}
.lbm-detail-address{font-size:13px;line-height:1.6;color:#607773;margin:12px 0}
.lbm-detail-website{display:inline-block;color:#123d40;font-weight:700;text-decoration:underline;text-underline-offset:4px;margin-top:12px}
.lbm-detail-media{min-height:190px;display:flex;align-items:center;justify-content:center;background:#f3f8f6;overflow:hidden}
.lbm-detail-media img{display:block;width:100%;height:100%;max-height:460px;object-fit:cover}
.lbm-detail-media img.lbm-detail-logo-fallback{width:min(75%,320px);height:auto;object-fit:contain}
.lbm-find-more{flex-basis:100%;margin-bottom:2px}
.lbm-map-marker[hidden]{display:none!important}
.lbm-map-marker{display:block;pointer-events:none;visibility:visible}
.lbm-empty-admin{padding:16px;background:#f6f9f7;border-left:3px solid #c7a75e;color:#345}
@media(max-width:900px){.lbm-layout{grid-template-columns:1fr;gap:24px}.lbm-map-frame{height:min(var(--lbm-map-height,570px),480px)}.lbm-info-card{left:6%;top:8%;width:min(290px,75%)}.lbm-logo-grid{gap:14px}}
@media(max-width:560px){.lbm-map-frame{height:390px}.lbm-info-card{left:12px;top:12px;width:min(270px,calc(100% - 24px));padding:17px 17px 26px;max-height:70%}.lbm-info-card:after{left:17px;right:17px}.lbm-info-card h3{font-size:16px}.lbm-info-card p{font-size:12px}.lbm-logo-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.lbm-brand-card{height:145px;padding:3px}.lbm-brand-card img{width:100%;height:100%;max-width:100%;max-height:100%;transform:scale(1.18)}.lbm-brand-card.is-active img,.lbm-brand-card:hover img{transform:scale(1.3)}.lbm-logo-fallback{width:100%;height:123px;max-width:100%;max-height:123px}.lbm-detail-body{grid-template-columns:1fr}.lbm-detail-media{min-height:180px}.lbm-pagination{gap:9px}.lbm-pagination button{padding:8px 9px;font-size:11px}}

.lbm-info-links{display:block}
.lbm-info-links .lbm-find-more{display:inline-block;flex-basis:auto;margin:0;font-size:13px;font-weight:700;color:#fff;text-decoration:underline;text-underline-offset:4px}
.lbm-info-inactive{opacity:.72;transition:opacity .25s ease}
@media(max-width:560px){.lbm-detail-back{font-size:11px;margin-bottom:20px}.lbm-detail-body{gap:16px}}


/* v1.6.1: full-width in-place brand profile view */
.lbm-detail-back,
.lbm-detail-back:link,
.lbm-detail-back:visited{
  display:inline-flex!important;
  align-items:center;
  gap:8px;
  width:max-content;
  max-width:100%;
  margin:0 0 30px!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  background-color:transparent!important;
  color:#153d42!important;
  box-shadow:none!important;
  text-shadow:none!important;
  font:inherit;
  font-size:13px;
  font-weight:500;
  letter-spacing:.04em;
  line-height:1.5;
  text-decoration:none!important;
  cursor:pointer;
  transition:color .22s ease,transform .22s ease;
}
.lbm-detail-back:hover,
.lbm-detail-back:focus,
.lbm-detail-back:focus-visible,
.lbm-detail-back:active{
  background:transparent!important;
  background-color:transparent!important;
  color:#25aeb3!important;
  box-shadow:none!important;
  outline:0!important;
  text-decoration:none!important;
}
.lbm-detail-back:hover{transform:translateX(-4px)}
.lbm-layout > .lbm-directory-column > .lbm-brand-detail:not([hidden]){
  position:absolute!important;
  z-index:20;
  inset:0;
  width:100%;
  min-width:0;
  min-height:100%;
  height:100%;
  box-sizing:border-box;
  margin:0!important;
  padding:clamp(28px,5vw,64px)!important;
  overflow:auto;
  display:flex!important;
  flex-direction:column;
  justify-content:center;
  background:#fff!important;
  color:#153d42;
  box-shadow:0 12px 45px rgba(15,55,57,.07);
}
.lbm-layout > .lbm-directory-column > .lbm-brand-detail .lbm-detail-back{
  flex:0 0 auto;
  margin-bottom:clamp(22px,3vw,38px)!important;
}
.lbm-layout > .lbm-directory-column > .lbm-brand-detail .lbm-detail-body{
  width:100%;
  max-width:1320px;
  margin:0 auto;
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(280px,.95fr);
  gap:clamp(28px,5vw,76px);
  align-items:center;
}
.lbm-layout > .lbm-directory-column > .lbm-brand-detail .lbm-detail-copy{
  min-width:0;
}
.lbm-layout > .lbm-directory-column > .lbm-brand-detail .lbm-detail-media{
  width:100%;
  min-height:clamp(260px,35vw,480px);
  max-height:560px;
  background:#f3f8f6;
}
.lbm-layout > .lbm-directory-column > .lbm-brand-detail .lbm-detail-media img{
  width:100%;
  height:100%;
  max-height:560px;
  object-fit:cover;
}
.lbm-layout > .lbm-directory-column > .lbm-brand-detail .lbm-detail-media img.lbm-detail-logo-fallback{
  width:min(75%,420px);
  height:auto;
  max-height:300px;
  object-fit:contain;
}
@media(max-width:760px){
  .lbm-layout > .lbm-directory-column > .lbm-brand-detail:not([hidden]){
    padding:24px 18px!important;
    justify-content:flex-start;
  }
  .lbm-layout > .lbm-directory-column > .lbm-brand-detail .lbm-detail-body{
    grid-template-columns:1fr;
    gap:22px;
  }
  .lbm-layout > .lbm-directory-column > .lbm-brand-detail .lbm-detail-media{
    min-height:220px;
    max-height:340px;
  }
  .lbm-detail-back,
  .lbm-detail-back:hover{font-size:12px}
}


/* v1.6.2: reliable full-module detail overlay (sibling of .lbm-layout) */
.lbm-wrap{position:relative;isolation:isolate}
.lbm-wrap > .lbm-brand-detail:not([hidden]){
  position:absolute!important;
  z-index:50!important;
  inset:0!important;
  width:100%!important;
  min-width:0!important;
  min-height:var(--lbm-map-height,570px);
  height:100%!important;
  box-sizing:border-box!important;
  margin:0!important;
  padding:clamp(28px,5vw,64px)!important;
  overflow:auto!important;
  display:flex!important;
  flex-direction:column;
  justify-content:center;
  background:#fff!important;
  color:#173f3b!important;
  box-shadow:0 12px 45px rgba(15,55,57,.07);
}
.lbm-wrap > .lbm-brand-detail[hidden]{display:none!important}
.lbm-wrap > .lbm-brand-detail .lbm-detail-back,
.lbm-wrap > .lbm-brand-detail .lbm-detail-back:link,
.lbm-wrap > .lbm-brand-detail .lbm-detail-back:visited{
  background:transparent!important;
  background-color:transparent!important;
  color:#174b43!important;
  border:0!important;
  box-shadow:none!important;
}
.lbm-wrap > .lbm-brand-detail .lbm-detail-back:hover,
.lbm-wrap > .lbm-brand-detail .lbm-detail-back:focus,
.lbm-wrap > .lbm-brand-detail .lbm-detail-back:active{
  background:transparent!important;
  background-color:transparent!important;
  color:#4c9870!important;
  border:0!important;
  box-shadow:none!important;
  outline:0!important;
}
.lbm-wrap > .lbm-brand-detail .lbm-detail-body{
  width:100%;
  max-width:1400px;
  margin:0 auto;
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(300px,.95fr);
  gap:clamp(28px,5vw,76px);
  align-items:center;
}
.lbm-wrap > .lbm-brand-detail .lbm-detail-media{
  width:100%;
  min-height:clamp(260px,35vw,500px);
  max-height:580px;
  background:#f1f7f2!important;
}
.lbm-wrap > .lbm-brand-detail .lbm-detail-media img{
  display:block;
  width:100%;
  height:100%;
  max-height:580px;
  object-fit:cover;
}
@media(max-width:760px){
  .lbm-wrap > .lbm-brand-detail:not([hidden]){
    padding:24px 18px!important;
    justify-content:flex-start;
    min-height:100%;
  }
  .lbm-wrap > .lbm-brand-detail .lbm-detail-body{
    grid-template-columns:1fr;
    gap:22px;
  }
  .lbm-wrap > .lbm-brand-detail .lbm-detail-media{
    min-height:220px;
    max-height:340px;
  }
}


/* v1.7.0 Premium producer profile highlights */
.lbm-detail-highlights{list-style:none!important;margin:22px 0 28px!important;padding:0!important;display:flex;flex-direction:column;gap:0;border:0}
.lbm-detail-highlights[hidden]{display:none!important}
.lbm-detail-highlights li{display:flex;align-items:center;gap:14px;margin:0!important;padding:10px 4px!important;border-bottom:1px solid #65c9c5;color:#526b69;font-size:14px;line-height:1.5}
.lbm-detail-highlights li:first-child{border-top:1px solid #65c9c5}
.lbm-detail-highlights .lbm-highlight-icon{flex:0 0 24px;color:#55bdbb;font-size:21px;line-height:1;text-align:center}
.lbm-detail-copy .lbm-info-kicker{color:#c7a65a;letter-spacing:.18em;font-size:10px;font-weight:700}
.lbm-detail-copy [data-lbm-detail-name]{text-transform:uppercase;letter-spacing:.025em}
.lbm-detail-media{overflow:hidden}
.lbm-detail-media img{object-fit:cover}


/* v1.7.1: complete producer profile identity, highlights and website footer */
.lbm-detail-identity{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  margin:0 0 10px;
}
.lbm-detail-identity h2{
  flex:1 1 auto;
  min-width:0;
  margin:0!important;
  text-transform:uppercase;
  letter-spacing:.025em;
  color:#173f3b!important;
}
.lbm-detail-brand-logo{
  flex:0 0 auto;
  width:118px;
  height:72px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.lbm-detail-brand-logo[hidden]{display:none!important}
.lbm-detail-brand-logo img{
  display:block;
  width:100%;
  height:100%;
  max-width:118px;
  max-height:72px;
  object-fit:contain;
}
.lbm-detail-highlights{
  list-style:none!important;
  margin:22px 0 28px!important;
  padding:0!important;
  display:flex;
  flex-direction:column;
  gap:0;
}
.lbm-detail-highlights[hidden]{display:none!important}
.lbm-detail-highlights li{
  display:flex;
  align-items:center;
  gap:14px;
  margin:0!important;
  padding:11px 4px!important;
  border-bottom:1px solid #65c9c5;
  color:#526b69;
  font-size:14px;
  line-height:1.5;
}
.lbm-detail-highlights li:first-child{border-top:1px solid #65c9c5}
.lbm-detail-highlights .lbm-highlight-icon{
  flex:0 0 24px;
  width:24px;
  color:#55bdbb!important;
  font-size:21px;
  line-height:1;
  text-align:center;
}
.lbm-detail-website{
  display:block!important;
  width:100%;
  box-sizing:border-box;
  margin:28px 0 0!important;
  padding:12px 0 0!important;
  border:0!important;
  border-top:1px solid #65c9c5!important;
  color:#174b43!important;
  font-size:13px;
  font-weight:500;
  text-decoration:none!important;
  overflow-wrap:anywhere;
}
.lbm-detail-website:hover{color:#4c9870!important;text-decoration:underline!important}
@media(max-width:560px){
  .lbm-detail-identity{gap:12px}
  .lbm-detail-brand-logo{width:84px;height:58px}
  .lbm-detail-brand-logo img{max-width:84px;max-height:58px}
}


/* v1.7.2: visible back navigation, real SVG highlights, full-bleed product image, website URL */
.lbm-wrap > .lbm-brand-detail:not([hidden]){
  justify-content:flex-start!important;
  align-items:stretch!important;
  padding-top:clamp(24px,3.5vw,42px)!important;
}
.lbm-wrap > .lbm-brand-detail .lbm-detail-back{
  position:sticky!important;
  top:0!important;
  z-index:8!important;
  display:inline-flex!important;
  flex:0 0 auto!important;
  align-self:flex-start!important;
  width:max-content!important;
  min-height:28px;
  margin:0 0 clamp(22px,3vw,36px)!important;
  padding:3px 0!important;
  background:#fff!important;
  color:#174b43!important;
  visibility:visible!important;
  opacity:1!important;
  transform:none;
}
.lbm-wrap > .lbm-brand-detail .lbm-detail-back:hover{
  color:#4c9870!important;
  background:#fff!important;
}
.lbm-wrap > .lbm-brand-detail .lbm-detail-body{
  flex:1 0 auto;
  align-items:stretch!important;
  min-height:0;
}
.lbm-wrap > .lbm-brand-detail .lbm-detail-copy{
  min-width:0;
  align-self:center;
}
.lbm-wrap > .lbm-brand-detail .lbm-detail-media{
  display:flex!important;
  align-items:stretch!important;
  justify-content:stretch!important;
  min-height:clamp(420px,42vw,620px)!important;
  height:auto!important;
  max-height:none!important;
  padding:0!important;
  overflow:hidden!important;
  background:#f1f7f2!important;
}
.lbm-wrap > .lbm-brand-detail .lbm-detail-media img{
  display:block!important;
  flex:1 1 auto;
  width:100%!important;
  height:100%!important;
  min-height:clamp(420px,42vw,620px)!important;
  max-height:none!important;
  object-fit:cover!important;
  object-position:center center;
}
.lbm-wrap > .lbm-brand-detail .lbm-detail-highlights .lbm-highlight-icon{
  display:flex;
  align-items:center;
  justify-content:center;
  color:#55bdbb!important;
  flex:0 0 24px;
  width:24px;
  height:24px;
  font-size:0!important;
}
.lbm-wrap > .lbm-brand-detail .lbm-detail-highlights .lbm-highlight-icon svg{
  display:block;
  width:22px;
  height:22px;
  color:#55bdbb;
  stroke:currentColor;
}
.lbm-wrap > .lbm-brand-detail .lbm-detail-website{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  width:100%;
  margin-top:28px!important;
  padding:12px 0 0!important;
  border-top:1px solid #65c9c5!important;
  color:#174b43!important;
  font-size:13px!important;
  font-weight:500!important;
  line-height:1.6;
  text-decoration:none!important;
}
.lbm-wrap > .lbm-brand-detail .lbm-detail-website[hidden]{display:none!important}
@media(max-width:760px){
  .lbm-wrap > .lbm-brand-detail:not([hidden]){
    padding:20px 18px 28px!important;
  }
  .lbm-wrap > .lbm-brand-detail .lbm-detail-media,
  .lbm-wrap > .lbm-brand-detail .lbm-detail-media img{
    min-height:280px!important;
  }
}


/* v1.7.3: keep Back navigation pinned while the brand profile scrolls */
.lbm-wrap > .lbm-brand-detail:not([hidden]){
  height:100vh!important;
  max-height:100vh!important;
  min-height:100vh!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
  overscroll-behavior:contain;
  scroll-padding-top:68px;
}
.lbm-wrap > .lbm-brand-detail .lbm-detail-back{
  position:sticky!important;
  top:0!important;
  z-index:30!important;
  align-self:stretch!important;
  width:max-content!important;
  max-width:100%;
  margin:0 0 24px!important;
  padding:14px 0 12px!important;
  background:#fff!important;
  box-shadow:0 8px 12px -12px rgba(18,63,59,.45)!important;
  transform:none!important;
}
.lbm-wrap > .lbm-brand-detail .lbm-detail-back:hover,
.lbm-wrap > .lbm-brand-detail .lbm-detail-back:focus,
.lbm-wrap > .lbm-brand-detail .lbm-detail-back:active{
  transform:none!important;
  background:#fff!important;
}
@media(max-width:760px){
  .lbm-wrap > .lbm-brand-detail:not([hidden]){
    height:100dvh!important;
    max-height:100dvh!important;
    min-height:100dvh!important;
  }
  .lbm-wrap > .lbm-brand-detail .lbm-detail-back{
    padding:12px 0 10px!important;
    margin-bottom:18px!important;
  }
}


/* v1.7.4: natural document scrolling for long producer profiles */
.lbm-wrap > .lbm-brand-detail:not([hidden]){
  position:absolute!important;
  inset:0 0 auto 0!important;
  width:100%!important;
  height:auto!important;
  min-height:100vh!important;
  max-height:none!important;
  overflow:visible!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:flex-start!important;
  align-items:stretch!important;
  padding:clamp(28px,5vw,64px)!important;
  box-sizing:border-box!important;
}
.lbm-wrap > .lbm-brand-detail .lbm-detail-back{
  position:sticky!important;
  top:0!important;
  z-index:60!important;
  align-self:flex-start!important;
  flex:0 0 auto!important;
  margin:0 0 clamp(22px,3vw,36px)!important;
  padding:12px 0 10px!important;
  background:rgba(255,255,255,.97)!important;
  box-shadow:0 8px 12px -12px rgba(18,63,59,.45)!important;
}
.lbm-wrap > .lbm-brand-detail .lbm-detail-body{
  flex:0 0 auto!important;
  min-height:0!important;
}
@media(max-width:760px){
  .lbm-wrap > .lbm-brand-detail:not([hidden]){
    height:auto!important;
    min-height:100vh!important;
    max-height:none!important;
    overflow:visible!important;
    padding:20px 18px 30px!important;
  }
  .lbm-wrap > .lbm-brand-detail .lbm-detail-back{
    top:0!important;
    padding:12px 0 10px!important;
    margin-bottom:18px!important;
  }
}


/* v1.7.5: compact producer logo matrix, matching the three-column reference */
.lbm-logo-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  grid-auto-rows:clamp(128px,14vw,158px)!important;
  column-gap:clamp(8px,1.35vw,18px)!important;
  row-gap:clamp(6px,1vw,12px)!important;
  align-items:center!important;
  justify-items:stretch!important;
  width:100%!important;
}
.lbm-brand-card{
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  padding:4px!important;
  margin:0!important;
}
.lbm-brand-card img{
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  object-fit:contain!important;
  transform:scale(1.08)!important;
}
.lbm-brand-card:hover img,
.lbm-brand-card.is-active img{
  transform:scale(1.14)!important;
}
@media(max-width:900px){
  .lbm-logo-grid{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    grid-auto-rows:clamp(112px,20vw,145px)!important;
    gap:8px 10px!important;
  }
}
@media(max-width:560px){
  .lbm-logo-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    grid-auto-rows:120px!important;
    gap:8px!important;
  }
}


/* v1.7.6: constrain logo artwork to the compact reference-cell proportions */
.lbm-logo-grid{
  width:100%!important;
  max-width:520px!important;
  margin-inline:auto!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  grid-auto-rows:115px!important;
  column-gap:7px!important;
  row-gap:7px!important;
  align-items:center!important;
  justify-items:center!important;
}
.lbm-brand-card{
  width:100%!important;
  height:115px!important;
  min-height:115px!important;
  padding:5px!important;
  margin:0!important;
  overflow:hidden!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
}
.lbm-brand-card img{
  display:block!important;
  width:auto!important;
  height:auto!important;
  max-width:142px!important;
  max-height:115px!important;
  object-fit:contain!important;
  transform:none!important;
  transform-origin:center!important;
}
.lbm-brand-card:hover img,
.lbm-brand-card.is-active img{
  transform:scale(1.025)!important;
}
@media(max-width:900px){
  .lbm-logo-grid{
    max-width:100%!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    grid-auto-rows:115px!important;
    gap:7px!important;
  }
}
@media(max-width:560px){
  .lbm-logo-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    grid-auto-rows:112px!important;
    gap:7px!important;
  }
  .lbm-brand-card{
    height:112px!important;
    min-height:112px!important;
  }
  .lbm-brand-card img{
    max-width:142px!important;
    max-height:108px!important;
  }
}


/* v1.7.7: prevent the first-row active logo frame from being clipped */
.lbm-logo-grid{
  padding-top:10px!important;
  padding-bottom:8px!important;
  box-sizing:border-box!important;
  overflow:visible!important;
  align-content:start!important;
}
.lbm-brand-card{
  box-sizing:border-box!important;
  outline:none!important;
  border:1px solid transparent!important;
  border-radius:4px!important;
}
.lbm-brand-card.is-active{
  border:1px solid #49656a!important;
  outline:none!important;
  box-shadow:none!important;
}
.lbm-brand-card:hover{
  border:1px solid #b7c7c4!important;
  outline:none!important;
  box-shadow:none!important;
}
.lbm-brand-card:focus-visible{
  outline:2px solid #c6a65d!important;
  outline-offset:2px!important;
}


/* v1.7.8: bring uploaded map artwork into the Liang green palette */
.lbm-map-frame > .lbm-map-image{
  filter:hue-rotate(-38deg) saturate(.72) contrast(1.03)!important;
}
.lbm-map-marker{
  background:#174f3d!important;
  box-shadow:0 0 0 2px rgba(255,255,255,.88),0 2px 8px rgba(14,55,42,.18)!important;
}
.lbm-map-marker:after{
  border-color:#c6a65d!important;
}
