/* Master Palm Patch 296 — cumulative top-bar and unified specifications update.
 * Includes Patch 295 language/mobile/content-sync work; removes repeated top-bar items
 * and unifies imported and complete product specifications without a second heading.
 */
body.masterpalm-store-white .mpb2b-header{
  position:relative!important;
  z-index:100000!important;
  isolation:isolate!important;
  overflow:visible!important;
}
body.masterpalm-store-white .mpb2b-topbar,
body.masterpalm-store-white .mpb2b-mainhead,
body.masterpalm-store-white .mpb2b-nav,
body.masterpalm-store-white .mpb2b-mainhead .mpb2b-container,
body.masterpalm-store-white .mpb2b-nav .mpb2b-container{overflow:visible!important;}
body.masterpalm-store-white .mpb2b-header .ses-translate-panel,
body.masterpalm-store-white .mpb2b-header .ses-translate-panel.is-open,
body.masterpalm-store-white .mpb2b-header .ses-translate-panel[aria-hidden="false"]{
  z-index:2147483000!important;
}
body.masterpalm-store-white .mpb2b-header .ses-translate-panel.is-open,
body.masterpalm-store-white .mpb2b-header .ses-translate-panel[aria-hidden="false"]{
  box-shadow:0 22px 58px rgba(0,0,0,.34)!important;
}
body.masterpalm-store-white #site-main,
body.masterpalm-store-white .mpb2b-store-home-slideshow,
body.masterpalm-store-white .mpb2b-hero,
body.masterpalm-store-white .mpb2b-product-detail{position:relative;z-index:1;}
.mpb2b-lang-mobile{display:none!important;}

.mpb2b-product-rich-content{font-size:1rem;line-height:1.75;color:#26313d;overflow-wrap:anywhere;}
.mpb2b-product-rich-content>*:first-child{margin-top:0;}
.mpb2b-product-rich-content>*:last-child{margin-bottom:0;}
.mpb2b-product-rich-content h2,.mpb2b-product-rich-content h3,.mpb2b-product-rich-content h4{color:#111820;font-weight:950;letter-spacing:-.02em;margin:1.25rem 0 .65rem;}
.mpb2b-product-rich-content ul,.mpb2b-product-rich-content ol{padding-left:1.35rem;}
.mpb2b-product-rich-content img{max-width:100%;height:auto;}
.mpb2b-product-rich-content table{width:100%;border-collapse:collapse;margin:1rem 0;background:#fff;}
.mpb2b-product-rich-content table th,.mpb2b-product-rich-content table td{padding:.72rem .8rem;border:1px solid #dce2e8;text-align:left;vertical-align:top;}
.mpb2b-product-rich-content table th{background:#f2f5f7;color:#111820;font-weight:900;}
.mpb2b-specification-unified{display:grid;gap:16px;}
.mpb2b-specification-html{margin:0;}
.mpb2b-specification-unified .mpb2b-product-rich-content table{margin:0;border:0;}
.mpb2b-specification-unified .mpb2b-product-rich-content table th,
.mpb2b-specification-unified .mpb2b-product-rich-content table td,
.mpb2b-spec-table--unified td{padding:9px 11px;border:0;border-bottom:1px solid #e3e8ed;font-size:.84rem;line-height:1.45;text-align:left;vertical-align:top;}
.mpb2b-specification-unified .mpb2b-product-rich-content table th,
.mpb2b-specification-unified .mpb2b-product-rich-content table td:first-child,
.mpb2b-spec-table--unified td:first-child{width:42%;background:#f4f6f8;color:#151c24;font-weight:950;}
.mpb2b-specification-unified .mpb2b-product-rich-content table td:last-child,
.mpb2b-spec-table--unified td:last-child{background:#fff;color:#26313d;font-weight:750;}
.mpb2b-spec-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;}
.mpb2b-spec-grid.is-single-column{grid-template-columns:minmax(0,1fr);}
.mpb2b-spec-grid .table-responsive{border:1px solid #dce2e8;border-radius:4px;overflow:hidden;}
.mpb2b-spec-table--unified{margin:0;}
.mpb2b-extra-specifications{margin-top:1.4rem;padding-top:1.2rem;border-top:1px solid #e0e5ea;}
.mpb2b-additional-spec-heading{display:flex;align-items:center;gap:.65rem;margin:0 0 1rem;color:#111820;font-size:1.1rem;font-weight:950;}
.mpb2b-additional-spec-heading i{color:var(--mp-red);}
.mpb2b-feature-application-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;}
.mpb2b-feature-application-card{border:1px solid #dce2e8;border-top:4px solid var(--mp-red);background:#fff;padding:20px;min-width:0;}
.mpb2b-feature-application-card h3{margin:0 0 12px;font-size:1.18rem;font-weight:950;color:#111820;}

@media (max-width:900px){
  body.masterpalm-store-white .mpb2b-mainhead .mpb2b-container{grid-template-columns:minmax(0,1fr) auto auto auto!important;}
  body.masterpalm-store-white .mpb2b-lang-mobile{display:inline-flex!important;align-items:center;justify-content:center;gap:6px;height:44px;min-width:48px;max-width:142px;padding:0 10px;border:1px solid #ccd4dc!important;border-radius:4px!important;background:#fff!important;color:#111820!important;box-shadow:none!important;}
  body.masterpalm-store-white .mpb2b-lang-mobile span,body.masterpalm-store-white .mpb2b-lang-mobile i{color:#111820!important;}
  body.masterpalm-store-white .mpb2b-lang-mobile img{width:20px!important;height:14px!important;object-fit:cover!important;}
  body.masterpalm-store-white .mpb2b-header .ses-translate-panel.is-open,
  body.masterpalm-store-white .mpb2b-header .ses-translate-panel[aria-hidden="false"]{left:14px!important;right:14px!important;top:100%!important;width:auto!important;max-width:none!important;}
  .mpb2b-feature-application-grid{grid-template-columns:1fr;}
}
@media (max-width:640px){
  .mpb2b-topbar{height:30px!important;min-height:30px!important;}
  .mpb2b-topbar .mpb2b-container{height:30px!important;min-height:30px!important;justify-content:center!important;gap:0!important;padding:0 10px!important;overflow:hidden!important;}
  .mpb2b-topbar .mpb2b-container>span{display:none!important;}
  .mpb2b-topbar .mpb2b-container>span:first-child{display:inline-flex!important;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:0!important;font-size:.68rem!important;letter-spacing:0!important;}
  body.masterpalm-store-white .mpb2b-head-link{display:none!important;}
  body.masterpalm-store-white .mpb2b-mainhead .mpb2b-container{grid-template-columns:minmax(0,1fr) auto auto auto!important;gap:8px!important;padding:10px 0!important;}
  body.masterpalm-store-white .mpb2b-brand img{width:128px!important;max-height:58px!important;}
  body.masterpalm-store-white .mpb2b-cart-link{padding-left:0!important;border-left:0!important;}
  body.masterpalm-store-white .mpb2b-cart-link span{display:none!important;}
  body.masterpalm-store-white .mpb2b-cart-link i{font-size:1.55rem!important;}
  body.masterpalm-store-white .mpb2b-lang-mobile{width:44px!important;min-width:44px!important;padding:0!important;}
  body.masterpalm-store-white .mpb2b-lang-mobile span{display:none!important;}
  body.masterpalm-store-white .mpb2b-lang-mobile .ses-language-caret{font-size:.7rem!important;}
  .mpb2b-tab-links{overflow-x:auto;justify-content:flex-start!important;-webkit-overflow-scrolling:touch;}
  .mpb2b-tab-links a{flex:0 0 auto;white-space:nowrap;}
  .mpb2b-spec-grid{grid-template-columns:1fr;}
  .mpb2b-specification-unified .mpb2b-product-rich-content table th,
  .mpb2b-specification-unified .mpb2b-product-rich-content table td:first-child,
  .mpb2b-spec-table--unified td:first-child{width:48%;}
}

/* Patch 297 — move the storefront language selector into the utility top bar. */
body.masterpalm-store-white .mpb2b-topbar,
body.masterpalm-store-white .mpb2b-topbar .mpb2b-container{
  overflow:visible!important;
}
body.masterpalm-store-white .mpb2b-topbar-language{
  position:relative;
  z-index:2147482000;
  display:flex;
  align-items:stretch;
  align-self:stretch;
  flex:0 0 auto;
}
body.masterpalm-store-white .mpb2b-header .mpb2b-lang-topbar{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  min-height:34px!important;
  height:34px!important;
  padding:0 12px!important;
  border-top:0!important;
  border-bottom:0!important;
  border-left:1px solid rgba(255,255,255,.18)!important;
  border-right:1px solid rgba(255,255,255,.18)!important;
  border-radius:0!important;
  background:rgba(255,255,255,.04)!important;
  color:#fff!important;
  font-size:.74rem!important;
  font-weight:1000!important;
  line-height:1!important;
  text-transform:none!important;
  letter-spacing:0!important;
  white-space:nowrap!important;
}
body.masterpalm-store-white .mpb2b-header .mpb2b-lang-topbar:hover,
body.masterpalm-store-white .mpb2b-header .mpb2b-lang-topbar:focus{
  background:rgba(255,255,255,.12)!important;
}
body.masterpalm-store-white .mpb2b-header .mpb2b-lang-topbar .ses-language-current-flag-img{
  width:20px!important;
  height:14px!important;
}
body.masterpalm-store-white .mpb2b-topbar-language .ses-translate-panel.is-open,
body.masterpalm-store-white .mpb2b-topbar-language .ses-translate-panel[aria-hidden="false"]{
  top:100%!important;
  right:0!important;
  left:auto!important;
  width:260px!important;
  max-width:calc(100vw - 20px)!important;
  z-index:2147483000!important;
}

@media (max-width:900px){
  body.masterpalm-store-white .mpb2b-mainhead .mpb2b-container{
    grid-template-columns:minmax(0,1fr) auto auto!important;
  }
  body.masterpalm-store-white .mpb2b-topbar-language .ses-translate-panel.is-open,
  body.masterpalm-store-white .mpb2b-topbar-language .ses-translate-panel[aria-hidden="false"]{
    top:100%!important;
    right:0!important;
    left:auto!important;
    width:260px!important;
    max-width:calc(100vw - 20px)!important;
  }
}
@media (max-width:640px){
  body.masterpalm-store-white .mpb2b-topbar .mpb2b-container{
    justify-content:space-between!important;
    gap:8px!important;
    overflow:visible!important;
  }
  body.masterpalm-store-white .mpb2b-topbar .mpb2b-container>span:first-child{
    min-width:0!important;
    flex:1 1 auto!important;
  }
  body.masterpalm-store-white .mpb2b-topbar-language{
    margin-left:auto!important;
    height:30px!important;
  }
  body.masterpalm-store-white .mpb2b-header .mpb2b-lang-topbar{
    min-height:30px!important;
    height:30px!important;
    padding:0 8px!important;
    gap:5px!important;
    font-size:.68rem!important;
  }
  body.masterpalm-store-white .mpb2b-header .mpb2b-lang-topbar .ses-language-current-flag-img{
    width:18px!important;
    height:12px!important;
  }
  body.masterpalm-store-white .mpb2b-mainhead .mpb2b-container{
    grid-template-columns:minmax(0,1fr) auto auto!important;
  }
}

/* Patch 297A — keep the top-bar trigger white, but make the white dropdown readable. */
body.masterpalm-store-white .mpb2b-topbar-language .ses-translate-panel,
body.masterpalm-store-white .mpb2b-topbar-language .ses-language-menu{
  background:#fff!important;
  color:#1c2733!important;
}
body.masterpalm-store-white .mpb2b-topbar-language .ses-language-option,
body.masterpalm-store-white .mpb2b-topbar-language .ses-language-option:link,
body.masterpalm-store-white .mpb2b-topbar-language .ses-language-option:visited,
body.masterpalm-store-white .mpb2b-topbar-language .ses-language-option span,
body.masterpalm-store-white .mpb2b-topbar-language .ses-language-option i{
  color:#1c2733!important;
  opacity:1!important;
  text-shadow:none!important;
}
body.masterpalm-store-white .mpb2b-topbar-language .ses-language-option:hover,
body.masterpalm-store-white .mpb2b-topbar-language .ses-language-option:focus{
  background:#f1f4f6!important;
  color:#111820!important;
}
body.masterpalm-store-white .mpb2b-topbar-language .ses-language-option:hover span,
body.masterpalm-store-white .mpb2b-topbar-language .ses-language-option:focus span,
body.masterpalm-store-white .mpb2b-topbar-language .ses-language-option:hover i,
body.masterpalm-store-white .mpb2b-topbar-language .ses-language-option:focus i{
  color:#111820!important;
}
body.masterpalm-store-white .mpb2b-topbar-language .ses-language-option.is-active,
body.masterpalm-store-white .mpb2b-topbar-language .ses-language-option[aria-checked="true"]{
  background:#e8edf1!important;
  color:#111820!important;
  font-weight:950!important;
}
body.masterpalm-store-white .mpb2b-topbar-language .ses-language-option.is-active span,
body.masterpalm-store-white .mpb2b-topbar-language .ses-language-option[aria-checked="true"] span,
body.masterpalm-store-white .mpb2b-topbar-language .ses-language-option.is-active i,
body.masterpalm-store-white .mpb2b-topbar-language .ses-language-option[aria-checked="true"] i{
  color:#111820!important;
}
body.masterpalm-store-white .mpb2b-topbar-language .ses-language-option .ses-language-flag-img{
  opacity:1!important;
}
/* Do not let the dropdown override the closed top-bar button. */
body.masterpalm-store-white .mpb2b-topbar-language > .mpb2b-lang-topbar,
body.masterpalm-store-white .mpb2b-topbar-language > .mpb2b-lang-topbar span,
body.masterpalm-store-white .mpb2b-topbar-language > .mpb2b-lang-topbar i{
  color:#fff!important;
}
