/* MLELE responsive refinements. Desktop design stays in its existing stylesheets. */
.mle-page-heading-accessible {
    position:absolute!important;width:1px!important;height:1px!important;
    padding:0!important;margin:-1px!important;overflow:hidden!important;
    clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;
    white-space:nowrap!important;border:0!important;
}
/* These templates already occupy the full main width; 100vw includes the scrollbar. */
.mle-news-banner,.mle-news-hero {left:auto;width:100%;margin-left:0;margin-right:0}
.mle-footer-accordion {margin:0;border:0;padding:0}
.mle-footer-accordion-toggle {display:block;list-style:none;cursor:default}
.mle-footer-accordion-toggle::-webkit-details-marker {display:none}
.mle-footer-accordion-toggle::marker {content:""}
.mle-footer-accordion-toggle::before,.mle-footer-accordion-toggle::after {display:none}
.mle-footer-accordion-toggle:focus-visible {outline:2px solid currentColor;outline-offset:4px}
.mle-footer-panel {min-width:0}
@media(min-width:1101px) and (max-width:1440px) {
    .mle-footer-main {grid-template-columns:minmax(0,1.35fr) minmax(0,.95fr) minmax(0,.65fr) minmax(0,1.05fr);gap:32px}
    .mle-footer-contact-list {overflow-wrap:anywhere}
}
@media(max-width:1024px) {
    .mle-product-category-card__layout,.mle-product-category-card__copy {min-width:0}
    .mle-product-category-card__media {min-width:0;max-width:100%;width:100%}
}
@media(max-width:780px) {
    .mle-product-category-list {grid-auto-rows:auto;row-gap:50px}
    .mle-product-category-card {padding:0 20px}
    .mle-product-category-card:first-child {padding-top:24px}
    .mle-product-category-card:last-child {padding-bottom:28px}
    .mle-product-category-card__layout {grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto;gap:15px}
    .mle-product-category-card__content {justify-content:flex-start;padding-top:0;margin-top:0}
    .mle-product-category-card__media {width:100%;max-width:100%;height:auto;aspect-ratio:710/580;min-width:0}
    .mle-product-category-card__image {width:100%;height:100%;object-fit:cover}
    .mle-product-category-card__title {font-size:27px;line-height:1.25}
    .mle-product-category-card__description {font-size:15px;line-height:1.75}
}
@media(max-width:760px) {
    /* Native details retains keyboard support and an expanded no-JS fallback. */
    .mle-footer {padding-top:34px;padding-bottom:22px}
    .mle-footer-main {grid-template-columns:minmax(0,1fr);gap:0}
    .mle-footer-about {padding-bottom:24px}
    .mle-footer-brand {margin-bottom:20px;min-height:0}
    .mle-footer-company-intro {font-size:14px;line-height:1.75;margin-bottom:0}
    .mle-footer-categories,.mle-footer-related {border-top:1px solid rgba(255,255,255,.18)}
    .mle-footer-accordion-toggle {display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:56px;cursor:pointer}
    .mle-footer .mle-footer-accordion-toggle h2 {position:static;left:auto;margin:0;font-size:18px;line-height:1.35}
    .mle-footer-accordion-toggle::after {content:'+';display:block;flex:none;width:22px;text-align:center;font:24px/1 var(--mle-font-family)}
    .mle-footer-accordion[open]>.mle-footer-accordion-toggle::after {content:'−'}
    .mle-footer-panel {padding:0 0 16px 16px}
    .mle-footer-panel a {display:inline-flex;align-items:center;min-height:36px;font-size:14px;line-height:1.5}
    .mle-footer-messaging {padding-top:22px;border-top:1px solid rgba(255,255,255,.18)}
    .mle-footer-messaging h2 {margin:0 0 18px;font-size:18px;line-height:1.35}
    .mle-footer-contact-list {font-size:14px;line-height:1.7;overflow-wrap:anywhere}
    .mle-footer-social-row {padding-top:24px}
    .mle-footer-bottom {padding-top:20px;font-size:12px;line-height:1.7}
    /* Leave the shared desktop 480/540px banners untouched. */
    .mle-product-archive .mle-page-hero,
    body.post-type-archive-product .mle-page-hero,
    .mle-category-hero,.mle-news-hero,.mle-news-banner,.mle-about-hero,
    .mle-contact-hero,.mle-faq-banner,.mle-solutions-hero,.mle-solution-detail-hero {
        height:320px;min-height:320px;padding-block:78px 34px;
        display:flex;align-items:center;justify-content:center;box-sizing:border-box;
    }
    .mle-category-hero-inner,.mle-about-hero-inner,.mle-solutions-hero-inner {padding-top:0}
    .mle-contact-hero-content,body.single-post .mle-news-banner-inner {transform:none}
    .mle-news-banner-inner,.mle-news-hero-inner {width:100%;padding:0 20px}
    .mle-category-hero h1,.mle-news-hero h1,.mle-news-banner-title,
    .mle-about-hero h1,.mle-contact-hero h1,.mle-faq-banner h1,
    .mle-solutions-hero h1,.mle-solution-detail-hero h1,
    body.post-type-archive-product .mle-page-hero h1 {font-size:30px;line-height:1.2;margin-bottom:16px}
    .mle-breadcrumb,.mle-news-breadcrumb {font-size:12px;line-height:1.65;gap:7px;flex-wrap:wrap}
    .mle-news-breadcrumb [aria-current="page"] {display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;max-width:100%;overflow-wrap:anywhere}
    .mle-news-sheet {margin-top:-36px}
    .mle-news-panel-wrap {margin-top:-36px}
    .mle-contact-container {margin-top:-36px}
    .mle-article-header h1 {font-size:27px;line-height:1.35;margin-bottom:24px;overflow-wrap:break-word}
    .mle-article-content {font-size:16px;line-height:1.8}
    .mle-article-content h2 {font-size:25px;line-height:1.35}
    .mle-article-content h3 {font-size:21px;line-height:1.4}
    .mle-article-content table {display:block;max-width:100%;overflow-x:auto}
    .mle-article-content img,.mle-product-rich-content img {max-width:100%;height:auto}
    .mle-product-detail .mle-product-title {font-size:28px;line-height:1.25}
    .mle-product-detail .mle-product-intro {font-size:15px;line-height:1.8}
    .mle-product-detail .mle-product-rich-content {font-size:16px;line-height:1.75;overflow-wrap:break-word}
    .mle-product-detail .mle-product-rich-content h2 {font-size:25px;line-height:1.35}
    .mle-product-detail .mle-product-rich-content h3 {font-size:21px;line-height:1.4}
    .mle-product-detail .mle-product-rich-content table {display:block;max-width:100%;overflow-x:auto}
    .mle-product-detail .mle-product-tabs-inner {gap:8px;overflow-x:auto}
    .mle-product-detail .mle-product-tabs a,.mle-product-detail .mle-product-tab {font-size:14px;min-height:44px;padding-inline:15px}
    .mle-product-related .mle-product-card h3 {font-size:14px;line-height:1.5}
    .mle-product-related .mle-product-card .mle-product-link {font-size:12px}
    .mle-home .mle-section {padding-block:52px}
    .mle-home .mle-section h2 {font-size:28px;line-height:1.3}
    .mle-home .mle-about-copy {font-size:15px;line-height:1.8}
    .mle-contact-panel h2,.mle-contact-form h2 {font-size:28px;line-height:1.3}
    .mle-main input:not([type="checkbox"]):not([type="radio"]),.mle-main textarea,.mle-main select {font-size:16px}
    .mle-contact-rail {width:42px;top:auto;bottom:24px;transform:none}
    .mle-contact-rail>.mle-rail-item {width:42px;height:42px}
    .mle-contact-rail .mle-rail-icon {font-size:21px;line-height:42px}
    .mle-contact-rail .mle-rail-label {max-width:calc(100vw - 42px)}
}
@media(max-width:480px) {
    .mle-product-category-list {width:calc(100% - 32px);margin-block:36px}
    .mle-product-category-card__title {font-size:25px}
    .mle-product-category-card__description {margin-top:24px}
    .mle-category-section {padding-block:40px}
    .mle-home .mle-section h2 {font-size:27px}
    .mle-contact-form .ff-el-group {margin-bottom:18px}
}
@media(prefers-reduced-motion:reduce) {
    .mle-footer-accordion,.mle-footer-panel {scroll-behavior:auto}
}

/* Mobile spacing: override inherited desktop padding, including empty social rows. */
@media(max-width:760px){
 .mle-footer-main{padding-block:0 28px}
 .mle-footer-social-row{flex-direction:row;align-items:center;gap:16px;padding-top:0}
 .mle-footer-social{margin-top:0;min-height:42px}
 .mle-footer-rule{flex:1}
 .mle-product-category-card__title{margin-bottom:24px}
 .mle-product-category-card__description{margin-top:0;margin-bottom:24px}
}

/* Match the specific product selectors and keep the mobile hero within one screen. */
@media(max-width:760px){
 .mle-product-detail #mle-product-title{font-size:28px;line-height:1.25}
 .mle-product-detail .mle-product-tabs-inner>a:not(.mle-product-tabs-quote){font-size:14px;min-height:44px;padding-inline:15px}
 .mle-product-detail input:not([type="checkbox"]):not([type="radio"]),.mle-product-detail textarea,.mle-product-detail select{font-size:16px}
 .mle-home .mle-hero.mle-home-banner{height:clamp(400px,62svh,520px);min-height:0}
}

/* Page-specific selector overrides verified on the rendered mobile templates. */
@media(max-width:760px){
 .mle-product-category .mle-category-hero,.mle-single-solution .mle-solution-detail-hero{height:320px;min-height:320px;padding-block:78px 34px}
 .mle-single-solution .mle-entry-content h2{font-size:26px;line-height:1.35}
 .mle-single-solution .mle-entry-content h3{font-size:22px;line-height:1.4}
 .mle-single-solution .mle-page-content{padding-block:40px}
 .mle-contact-copy>h2{font-size:28px;line-height:1.3}
 .mle-contact-right>h2{font-size:24px;line-height:1.35}
 .mle-contact-form .fluentform textarea,.mle-product-detail .fluentform textarea{font-size:16px}
 .mle-download-hero h1{font-size:30px;line-height:1.2}
 .mle-download-page h2{font-size:28px;line-height:1.3}
}

@media(max-width:760px){
 .mle-footer .mle-footer-panel a{font-size:15px;line-height:1.6;min-height:36px}
 .mle-primary-nav{max-height:calc(100dvh - 72px);overscroll-behavior:contain}
 body.admin-bar .mle-primary-nav{max-height:calc(100dvh - 118px)}
 body:has(.mle-primary-nav.is-open) .mle-contact-rail{visibility:hidden}
}

/* Phone/tablet gallery: reserve separate arrow columns outside the image. */
@media(max-width:1024px){
 .mle-product-detail .mle-product-gallery-main{width:100%;min-width:0;min-height:0;aspect-ratio:1.08}
 .mle-product-detail .mle-product-gallery{max-width:100%}
 .mle-product-detail .mle-product-gallery-main:has(>.mle-product-gallery-arrow){grid-template-columns:42px minmax(0,1fr) 42px;grid-template-rows:minmax(0,1fr);column-gap:8px}
 .mle-product-detail .mle-product-gallery-main:has(>.mle-product-gallery-arrow)>.mle-product-gallery-slide{grid-area:1/2;min-width:0;min-height:0;overflow:hidden}
 /* Override the legacy phone right offset as well as desktop absolute positioning. */
 body:not(.wp-admin) .mle-product-detail .mle-product-gallery-arrow{position:static;inset:auto;transform:none;align-self:center;justify-self:center}
 .mle-product-detail .mle-product-gallery-arrow.is-prev{grid-area:1/1}
 .mle-product-detail .mle-product-gallery-arrow.is-next{grid-area:1/3}
}
/* The two-column tablet gallery sits beside the fixed 60px contact rail. */
@media(min-width:992px) and (max-width:1024px){
 .mle-product-detail .mle-product-gallery{padding-inline-end:64px}
}
@media(min-width:761px) and (max-width:991px){
 .mle-product-detail .mle-product-hero-grid{grid-template-columns:minmax(0,1fr);grid-template-areas:"summary" "gallery";gap:32px}
 .mle-product-detail .mle-product-gallery{width:100%;max-width:620px;justify-self:center}
 .mle-product-detail #mle-product-title{font-size:34px;line-height:1.25}
}


@media(max-width:760px){
 html:not([dir="rtl"]) body.mle-footer-in-view .mle-contact-rail>a.mle-rail-item:not([href="#"]){display:none}
 /* The contact links follow the footer in the DOM. Keep the Arabic reading edge clear. */
 html[dir="rtl"] .mle-contact-rail{position:static;translate:none;flex-direction:row;justify-content:center;width:auto;padding:.75rem 1rem calc(4.25rem + env(safe-area-inset-bottom));}
 html[dir="rtl"] .mle-contact-rail .mle-rail-label{inset:auto auto 100% 50%;max-width:55vw;translate:-50% 0;}
}

/* Hide only the header quote CTA on phones and tablets; keep desktop and page CTAs. */
@media(max-width:1024px){
 .mle-header .mle-header-actions>.mle-header-chat{display:none}
}

/* Keep phone/tablet headers flush with the visible WP toolbar, not its old offset. */
@media(max-width:1024px){
 .mle-header.mle-header-overlay,.mle-header.mle-header-solid,
 body.admin-bar .mle-header{
  position:fixed;top:var(--mle-header-top,0px);left:0;right:0;
  --mle-mobile-header-height:88px;
 }
 .mle-header .mle-primary-nav,body.admin-bar .mle-header .mle-primary-nav{
  max-height:calc(100vh - var(--mle-header-top,0px) - var(--mle-mobile-header-height));
  max-height:calc(100dvh - var(--mle-header-top,0px) - var(--mle-mobile-header-height));
 }
}
@media(max-width:600px){
 .mle-header.mle-header-overlay,.mle-header.mle-header-solid,
 body.admin-bar .mle-header{--mle-mobile-header-height:72px}
}
/* Compact navigation: reuse the WordPress menu in a left-hand drawer. */
.mle-mobile-nav-heading,.mle-mobile-nav-search,.mle-submenu-toggle,.mle-mobile-nav-backdrop{display:none}
@media(max-width:1180px){
 body.mle-menu-open{overflow:hidden}
 .mle-header{--mle-header-top:0px}
 body.admin-bar .mle-header{--mle-header-top:32px}
 body:not(.wp-admin) .mle-header .mle-menu-toggle{
  position:relative;display:flex;align-items:center;justify-content:center;
  width:42px;min-width:42px;height:42px;padding:0;margin-left:8px;
  border:0;border-radius:0;background:transparent;color:inherit;box-shadow:none;
 }
 .mle-header .mle-menu-toggle::before{
  content:"";display:block;position:absolute;left:10px;top:20px;
  width:22px;height:2px;background:currentColor;box-shadow:0 -6px 0 currentColor,0 6px 0 currentColor;
 }
 .mle-header .mle-menu-toggle::after{content:none}
 .mle-header .mle-menu-toggle[aria-expanded="true"]::before{box-shadow:none;transform:rotate(45deg)}
 .mle-header .mle-menu-toggle[aria-expanded="true"]::after{
  content:"";position:absolute;left:10px;top:20px;width:22px;height:2px;background:currentColor;transform:rotate(-45deg);
 }
 .mle-header .mle-primary-nav,body.admin-bar .mle-header .mle-primary-nav{
  position:fixed;display:block;top:var(--mle-header-top,0px);left:0;right:auto;
  width:min(320px,78vw);height:calc(100vh - var(--mle-header-top,0px));
  height:calc(100dvh - var(--mle-header-top,0px));max-height:none;
  margin:0;padding:30px 22px 32px;box-sizing:border-box;
  background:#fff;color:#182333;box-shadow:4px 0 20px rgba(0,0,0,.14);border-right:1px solid #e4e9f0;
  z-index:1003;overflow:auto;overscroll-behavior:contain;
  transform:translateX(-100%);visibility:hidden;pointer-events:none;
  transition:transform .25s ease,visibility .25s ease;
 }
 .mle-header .mle-primary-nav.is-open,body.admin-bar .mle-header .mle-primary-nav.is-open{transform:translateX(0);visibility:visible;pointer-events:auto}
 .mle-header .mle-mobile-nav-heading{display:block;margin:0 0 12px;padding:15px 0 0}
 .mle-header .mle-mobile-nav-brand{display:block;width:190px;max-width:calc(100% - 20px);padding:0;margin:0 0 28px}
 .mle-header .mle-mobile-nav-brand img{display:block;width:100%;height:auto}
 .mle-header .mle-mobile-nav-title{margin:0 0 12px;color:#182333;font-size:18px;font-weight:600;line-height:1.5}
 .mle-header .mle-mobile-nav-close{
  position:absolute;right:8px;top:8px;display:block;width:40px;min-width:40px;height:40px;
  padding:0;border:0;border-radius:0;background:transparent;color:#182333;box-shadow:none;
 }
 .mle-header .mle-mobile-nav-close::before,.mle-header .mle-mobile-nav-close::after{
  content:"";position:absolute;left:10px;top:19px;width:20px;height:2px;background:currentColor;transform:rotate(45deg);
 }
 .mle-header .mle-mobile-nav-close::after{transform:rotate(-45deg)}
 .mle-header .mle-primary-nav .mle-nav-list,.mle-header .mle-primary-nav .sub-menu{display:block;list-style:none;margin:0;padding:0}
 .mle-header .mle-primary-nav .mle-nav-list li{position:relative;margin:0;border:0}
 body:not(.wp-admin) .mle-header .mle-primary-nav .mle-nav-list a{
  display:block;padding:12px 44px 12px 0;min-height:44px;box-sizing:border-box;
  color:#182333;font-size:15px;font-weight:400;line-height:1.5;text-transform:none;white-space:normal;
 }
 body:not(.wp-admin) .mle-header .mle-primary-nav .mle-nav-list a:hover,body:not(.wp-admin) .mle-header .mle-primary-nav .current-menu-item>a{color:var(--mle-blue)}
 .mle-header .mle-primary-nav .menu-item-has-children>a::after{display:none}
 .mle-header .mle-primary-nav .sub-menu{
  position:static;min-width:0;border:0;border-radius:0;background:#fff;color:#182333;box-shadow:none;
  padding:0 0 6px 14px;
 }
 .mle-header .mle-primary-nav .sub-menu[hidden]{display:none!important}
 .mle-header .mle-primary-nav .sub-menu a{font-size:14px;padding-block:10px}
 .mle-header .mle-submenu-toggle{
  position:absolute;display:block;top:0;right:0;width:44px;min-width:44px;height:46px;
  margin:0;padding:0;border:0;border-radius:0;background:transparent;color:#535e69;box-shadow:none;
 }
 .mle-header .mle-submenu-toggle::before{
  content:"";position:absolute;top:17px;left:17px;width:8px;height:8px;
  border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;
  transform:rotate(45deg);transition:transform .18s ease;
 }
 .mle-header .mle-submenu-toggle[aria-expanded="true"]::before{top:21px;transform:rotate(225deg)}
 .mle-header .mle-mobile-nav-search{display:block;margin:32px 0 0;padding:0}
 .mle-header .mle-mobile-nav-search>label{display:block;margin:0 0 10px;color:#182333;font-size:17px;font-weight:600}
 .mle-header .mle-mobile-nav-search-row{display:flex;min-width:0;height:44px;border:1px solid #ced3da;border-radius:3px;overflow:hidden}
 .mle-header .mle-mobile-nav-search-row input{
  width:0;min-width:0;flex:1;height:42px;padding:0 10px;border:0;border-radius:0;background:#fff;color:#182333;font-size:16px;
 }
 .mle-header .mle-mobile-nav-search-row button{
  position:relative;flex:0 0 44px;width:44px;min-width:44px;height:44px;min-height:0;padding:0;
  border:0;border-radius:0;background:#202832;color:#fff;box-shadow:none;
 }
 .mle-header .mle-mobile-nav-search-row button::before{
  content:"";display:block;position:absolute;left:12px;top:10px;width:15px;height:15px;border:1.5px solid currentColor;border-radius:50%;background:transparent;opacity:1;z-index:auto;filter:none;box-shadow:none;
 }
 .mle-header .mle-mobile-nav-search-row button::after{
  content:"";position:absolute;left:26px;top:25px;width:9px;height:1.5px;background:currentColor;transform:rotate(45deg);transform-origin:left center;
 }
 .mle-header .mle-mobile-nav-backdrop:not([hidden]){
  display:block;position:fixed;top:var(--mle-header-top,0px);left:0;right:0;bottom:0;
  background:rgba(12,22,35,.32);z-index:1002;
 }
 body.mle-menu-open .mle-contact-rail,body.mle-menu-open .mle-header .mle-menu-toggle{visibility:hidden}
 .mle-header :is(.mle-menu-toggle,.mle-mobile-nav-close,.mle-submenu-toggle):focus-visible{outline:2px solid var(--mle-blue);outline-offset:-3px}
}
@media(max-width:782px){body.admin-bar .mle-header{--mle-header-top:46px}}
@media(prefers-reduced-motion:reduce){
 .mle-header .mle-primary-nav,.mle-header .mle-submenu-toggle::before{transition:none}
}
/* Both header states share the same logo geometry; only the transparent version is white. */
.mle-header .mle-brand img.mle-brand-logo-white{filter:brightness(0) invert(1)}

/* Compact download cards: right-align the title/action group and center it vertically. */
@media(max-width:1024px){
 .mle-download-page .mle-download-list-head{display:none}
 .mle-download-page .mle-download-card{
  grid-template-columns:130px minmax(0,1fr);
  grid-template-rows:minmax(0,1fr) auto auto minmax(0,1fr);
  gap:8px 16px;min-height:0;padding:16px 20px;
 }
 .mle-download-page .mle-download-name{display:contents}
 .mle-download-page .mle-download-thumb{
  grid-column:1;grid-row:1/4;align-self:start;width:130px;height:90px;
 }
 .mle-download-page .mle-download-name-link{
  grid-column:2;grid-row:2;align-self:center;min-width:0;width:100%;
  margin:0;text-align:right;overflow-wrap:anywhere;
 }
 .mle-download-page .mle-download-date{grid-column:1;grid-row:4;text-align:left}
 .mle-download-page .mle-download-action{
  grid-column:2;grid-row:3;align-self:center;justify-content:flex-end;min-width:0;
  margin:0;text-align:right;
 }
}
@media(max-width:600px){
 .mle-download-page .mle-download-card{grid-template-columns:96px minmax(0,1fr);column-gap:12px}
 .mle-download-page .mle-download-thumb{width:96px;height:74px}
}

/* Contact-page forms stay readable while taking less vertical space on compact screens. */
@media(max-width:1024px){
 .mle-contact-main .mle-contact-form{margin-top:12px}
 .mle-contact-main .mle-contact-form .fluentform .ff-el-group{margin-bottom:10px}
 .mle-contact-main .mle-contact-form .fluentform .ff-el-input--label{margin-bottom:4px}
 .mle-contact-main .mle-contact-form .fluentform .ff-el-input--label label{margin:0;font-size:13px;line-height:1.4}
 .mle-contact-main .mle-contact-form .fluentform .ff-el-form-control{
  box-sizing:border-box;height:40px;min-height:40px;padding:8px 10px;font-size:16px;line-height:1.4;
 }
 .mle-contact-main .mle-contact-form .fluentform textarea.ff-el-form-control{height:100px;min-height:100px}
 .mle-contact-main .mle-contact-form .fluentform .ff-btn-submit{
  box-sizing:border-box;height:44px;min-height:44px;padding:10px 22px;font-size:14px;line-height:1.4;
 }
 .mle-contact-main .mle-contact-form .fluentform .ff_submit_btn_wrapper{margin-bottom:0}
}
/* Current content branch: shared by desktop, sticky header and mobile menu. */
body:not(.wp-admin) .mle-header .mle-primary-nav .mle-menu-active>a{color:var(--mle-blue,#1f4fa3)}
@media(min-width:1101px){
 body:not(.wp-admin) .mle-header-overlay:not(.mle-is-scrolled) .mle-primary-nav>.mle-nav-list>.mle-menu-active>a{color:#dceaff}
}
/* Keep homepage product images below the tabs on phones and tablets. */
@media(max-width:1100px) {
    .mle-home .mle-product-showcase-image img {top:0;min-width:0;min-height:0;max-width:100%;max-height:100%}
    .mle-home .mle-product-showcase-arrows .mle-product-gallery-arrow.is-prev {left:12px}
    .mle-home .mle-product-showcase-arrows .mle-product-gallery-arrow.is-next {right:12px}
}

/* Compact only the homepage product explorer top spacing on phones and tablets. */
@media(max-width:1024px){
    .mle-home .mle-products-showcase{padding-top:32px}
    .mle-home .mle-products-showcase .mle-product-heading-row{min-height:0;padding-top:0}
}
/* Desktop header search, matching the supplied full-screen overlay reference. */
html.mle-search-open{overflow:hidden;scrollbar-gutter:stable}
body:not(.wp-admin) .mle-header .mle-search-toggle{
 display:flex;align-items:center;justify-content:flex-end;width:40px;height:100%;min-height:0;
 margin:0;padding:0;border:0;border-radius:0;background:transparent;color:inherit;box-shadow:none;cursor:pointer;
}
.mle-search-overlay{
 position:fixed;inset:0;box-sizing:border-box;width:100%;max-width:none;height:100%;height:100dvh;
 max-height:none;margin:0;padding:40px;border:0;background:transparent;color:#333;overflow-y:auto;
}
.mle-search-overlay[open]{display:grid;place-items:center}
.mle-search-overlay::backdrop{background:rgba(0,0,0,.7)}
.mle-search-overlay .mle-search-form{
 position:relative;inset:auto;box-sizing:border-box;width:50vw;min-width:640px;max-width:100%;
 height:clamp(120px,8.25vw,158px);margin:0;padding:clamp(28px,2.2vw,42px);
 display:flex;align-items:center;gap:24px;background:#fff;border:0;border-radius:8px;box-shadow:none;
}
.mle-search-overlay .mle-search-form input[type="search"]{
 flex:1;box-sizing:border-box;min-width:0;width:100%;height:100%;max-height:none;margin:0;padding:0;
 border:0;border-radius:0;background:transparent;color:#333;box-shadow:none;outline:none;
 font-family:inherit;font-size:clamp(28px,2vw,38px);font-weight:400;line-height:1.25;
}
.mle-search-overlay .mle-search-form input::placeholder{color:#333;opacity:1}
body:not(.wp-admin) .mle-search-overlay .mle-search-form button{
 display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;min-height:0;
 margin:0;padding:0;border:0;border-radius:0;background:transparent;color:#080808;box-shadow:none;cursor:pointer;
}
.mle-search-overlay .mle-search-form button svg{width:30px;height:30px;fill:none;stroke:currentColor;stroke-width:1.8}
body:not(.wp-admin) .mle-search-overlay .mle-search-form button:hover{color:var(--mle-blue,#1f4fa3)}
body:not(.wp-admin) .mle-search-overlay .mle-search-close{
 position:fixed;top:5vh;right:5vw;display:block;width:56px;height:56px;min-height:0;
 margin:0;padding:0;border:0;border-radius:50%;background:#fff;color:var(--mle-blue,#1f4fa3);box-shadow:none;cursor:pointer;
}
.mle-search-close::before,.mle-search-close::after{
 content:"";position:absolute;left:calc(50% - 10px);top:calc(50% - 1px);width:20px;height:2px;background:currentColor;
}
.mle-search-close::before{transform:rotate(45deg)}
.mle-search-close::after{transform:rotate(-45deg)}
body:not(.wp-admin) .mle-search-overlay .mle-search-close:hover{background:#eef3fb}
.mle-search-overlay :is(button,input):focus-visible,.mle-header .mle-search-toggle:focus-visible{outline:2px solid var(--mle-blue,#1f4fa3);outline-offset:5px}
@media(prefers-reduced-motion:no-preference){
 .mle-search-overlay[open] .mle-search-form{animation:mle-search-reveal .22s ease-out}
 @keyframes mle-search-reveal{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
}
