/* Only the responsive drawer; desktop Max Mega Menu is not changed. */
.rpe-drawer-component {display:none;}
@media(max-width:1024px){
  .rpe-drawer-component{display:block;position:fixed;right:16px;top:78px;z-index:999995;}
  .rpe-drawer-open{display:inline-flex;align-items:center;gap:8px;color:#fff;background:#073f46;border:1px solid #39777b;padding:9px 13px;font-size:15px;font-weight:600;cursor:pointer;border-radius:3px;}
  .rpe-drawer-open>span:first-child{font-size:22px;line-height:1;}
  .rpe-drawer-backdrop:not([hidden]){position:fixed;inset:0;z-index:999996;background:rgba(3,35,39,.65);}
  .rpe-drawer-panel{position:fixed!important;z-index:999997!important;top:0;right:0;bottom:0;width:min(420px,90vw);max-width:100vw;height:100dvh;background:#073f46;color:#fff;transform:translateX(105%);transition:transform .25s ease;visibility:hidden;display:flex;flex-direction:column;box-shadow:-12px 0 32px rgba(0,0,0,.22);}
  .rpe-drawer-panel.is-open{transform:translateX(0);visibility:visible;}
  .rpe-drawer-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px;border-bottom:1px solid #39777b;flex-shrink:0;}
  .rpe-drawer-logo{background:#fff;padding:7px 10px;border-radius:4px;max-width:75%;display:flex;align-items:center;}
  .rpe-drawer-logo-img{display:block;width:auto!important;max-width:175px!important;max-height:58px!important;object-fit:contain;}
  .rpe-drawer-wordmark{font-size:15px;font-weight:700;color:#073f46;}
  .rpe-drawer-close{border:0!important;background:transparent!important;color:#fff!important;font-size:33px!important;line-height:1!important;padding:5px 9px!important;cursor:pointer;}
  .rpe-drawer-scroll{overflow-y:auto;overscroll-behavior:contain;padding:8px 22px 32px;flex:1;scrollbar-color:#39777b #073f46;}
  .rpe-drawer-main-link,.rpe-drawer-group>summary{display:flex;justify-content:space-between;align-items:center;width:100%;font-size:20px!important;font-weight:500!important;line-height:1.4!important;padding:14px 0!important;color:#fff!important;text-decoration:none!important;cursor:pointer;border-bottom:1px solid #39777b!important;text-transform:none!important;}
  .rpe-drawer-group>summary{list-style:none;}
  .rpe-drawer-group>summary::-webkit-details-marker{display:none;}
  .rpe-drawer-symbol::after{content:'+';font-size:23px;font-weight:400;}
  .rpe-drawer-group[open]>.rpe-drawer-symbol::after,.rpe-drawer-group[open]>summary .rpe-drawer-symbol::after{content:'−';}
  .rpe-drawer-links{list-style:none!important;border-left:1px solid #39777b;margin:5px 0 12px!important;padding:3px 0 6px 15px!important;}
  .rpe-drawer-links li{list-style:none!important;padding:0!important;margin:0!important;}
  .rpe-drawer-links a{display:flex;align-items:center;gap:10px;color:#fff!important;font-size:16px!important;font-weight:400!important;line-height:1.45!important;text-decoration:none!important;padding:8px 0!important;background:transparent!important;text-transform:none!important;}
  .rpe-drawer-language-list img{width:22px;height:16px;object-fit:cover;flex-shrink:0;}
  .rpe-drawer-links a:hover,.rpe-drawer-links a:focus-visible,.rpe-drawer-main-link:hover{color:#9fdad7!important;}
  .rpe-drawer-close:focus-visible,.rpe-drawer-open:focus-visible,.rpe-drawer-panel a:focus-visible,.rpe-drawer-group summary:focus-visible{outline:2px solid #9fdad7;outline-offset:3px;}
  body.rpe-drawer-is-open{overflow:hidden!important;}
}
@media(max-width:767px){.rpe-drawer-panel{width:min(360px,90vw);}.rpe-drawer-open-text{display:none;}.rpe-drawer-head{padding:14px 18px;}}
@media(prefers-reduced-motion:reduce){.rpe-drawer-panel{transition:none;}}

/* Avoid displaying the original Max Mega Menu mobile renderer alongside the drawer.
   Scoped to the existing Primary location and the same breakpoint. */
@media(max-width:1024px){
  #mega-menu-wrap-primary {display:none!important;}
}

/* v1.2: reference-style accordion: corporate teal, compact rows and true group headings. */
@media (max-width:1024px) {
 .rpe-drawer-scroll{padding-top:22px!important;padding-left:24px!important;padding-right:24px!important;}
 .rpe-drawer-main-link,.rpe-drawer-group>summary{
   font-size:20px!important;font-weight:500!important;
   line-height:1.3!important;padding:15px 0!important;
   min-height:54px;box-sizing:border-box;
 }
 .rpe-drawer-links{margin:0 0 12px!important;padding:3px 0 7px 15px!important;}
 .rpe-drawer-links a{font-size:16px!important;line-height:1.35!important;padding:8px 0!important;}
 .rpe-drawer-group[open]>summary{border-bottom:1px solid #39777b!important;}
 .rpe-drawer-panel{background-color:#073f46!important;}
}

@media(max-width:1024px){
.rpe-drawer-utility{display:flex;gap:18px;flex-wrap:wrap;border-top:1px solid #39777b;padding:20px 0 28px;margin-top:18px;}
.rpe-drawer-utility a{color:#fff!important;font-size:14px!important;line-height:1.5!important;text-decoration:none!important;}
.rpe-drawer-utility a:hover{color:#9fdad7!important;}
}
/* v1.3 — Full-width mobile/tablet header and seven compact accordions. */
@media (max-width:1024px) {
  body.rpe-mobile-header-ready .elementor-location-header,
  body.rpe-mobile-header-ready header[data-elementor-type="header"] {display:none!important;}
  .rpe-drawer-component {position:relative!important;right:auto!important;top:auto!important;width:100%!important;z-index:999995;}
  .rpe-mobile-header{display:block;width:100%;background:#fff;color:#073f46;box-sizing:border-box;box-shadow:0 2px 8px rgba(0,0,0,.06)}
  .rpe-mobile-brand-row{background:#fff;display:flex;justify-content:center;align-items:center;padding:12px 18px;min-height:94px;box-sizing:border-box}
  .rpe-mobile-brand{display:flex;align-items:center;justify-content:center;width:100%;height:auto;text-decoration:none!important}
  .rpe-mobile-brand .rpe-drawer-logo-img{max-width:min(420px,90%)!important;width:auto!important;max-height:92px!important;height:auto!important;object-fit:contain}
  .rpe-mobile-brand .rpe-drawer-wordmark{font-size:23px!important;text-align:center!important}
  .rpe-mobile-action-row{background:#073f46;color:#fff;display:flex;align-items:center;justify-content:flex-end;gap:6px;padding:7px 14px;min-height:58px;box-sizing:border-box}
  .rpe-mobile-icon,.rpe-drawer-open.rpe-mobile-icon{border:0!important;border-radius:2px!important;background:transparent!important;color:#fff!important;display:inline-flex!important;align-items:center;justify-content:center;position:relative;width:45px;height:44px;min-width:44px;padding:8px!important;cursor:pointer!important;text-decoration:none!important;box-sizing:border-box}
  .rpe-mobile-icon svg{display:block;flex-shrink:0}
  .rpe-mobile-icon:hover,.rpe-mobile-icon:focus-visible{background:#12656a!important;color:#fff!important}
  .rpe-mobile-cart-count{position:absolute;right:0;top:0;background:#9fdad7;color:#073f46;font-size:10px;font-weight:700;border-radius:99px;min-width:16px;line-height:16px;text-align:center}
  .rpe-mobile-search:not([hidden]){display:flex;gap:8px;background:#eef6f5;padding:12px 16px;box-sizing:border-box}
  .rpe-mobile-search input[type=search]{min-width:0;flex:1;background:#fff;color:#073f46;border:1px solid #39777b;padding:10px;font-size:15px}
  .rpe-mobile-search button{background:#087c80;border:0;color:white;padding:8px 14px;cursor:pointer}
  .rpe-drawer-section-label{font-size:13px;font-weight:700;color:#9fdad7!important;letter-spacing:.06em;padding:20px 0 4px;text-transform:uppercase}
  .rpe-drawer-panel{z-index:999997!important}
  .rpe-drawer-backdrop:not([hidden]){z-index:999996!important}
  .rpe-drawer-scroll{padding-top:8px!important}
}
@media (max-width:767px){
 .rpe-mobile-brand-row{min-height:82px;padding:10px 14px}
 .rpe-mobile-brand .rpe-drawer-logo-img{max-height:75px!important}
 .rpe-mobile-action-row{padding:5px 12px;gap:4px}
 .rpe-mobile-icon,.rpe-drawer-open.rpe-mobile-icon{width:43px;min-width:43px;height:43px}
}
@media (min-width:1025px){.rpe-mobile-header{display:none}}

/* v1.4: inline quick links at the left and a truly transparent hamburger. */
@media(max-width:1024px){
 .rpe-mobile-action-row{justify-content:space-between!important;gap:8px!important;}
 .rpe-mobile-quicklinks{display:flex;align-items:center;flex-wrap:nowrap;gap:12px;min-width:0;}
 .rpe-mobile-quicklinks a{display:inline-block;color:#fff!important;text-decoration:none!important;font-size:14px!important;font-weight:500!important;line-height:1.3!important;white-space:nowrap;padding:5px 0!important;background:transparent!important;}
 .rpe-mobile-quicklinks a:hover,.rpe-mobile-quicklinks a:focus-visible{color:#9fdad7!important;}
 .rpe-mobile-actions{display:flex;align-items:center;justify-content:flex-end;flex-shrink:0;gap:3px;}
 .rpe-drawer-open.rpe-mobile-icon,.rpe-drawer-open.rpe-mobile-icon:hover,.rpe-drawer-open.rpe-mobile-icon:focus-visible,.rpe-drawer-open.rpe-mobile-icon:active{background:transparent!important;background-color:transparent!important;box-shadow:none!important;border:0!important;outline-offset:2px;}
}
@media(max-width:767px){
 .rpe-mobile-quicklinks{gap:9px;}
 .rpe-mobile-quicklinks a{font-size:12px!important;}
 .rpe-mobile-actions{gap:0;}
 .rpe-mobile-icon,.rpe-drawer-open.rpe-mobile-icon{width:38px!important;min-width:38px!important;padding:7px!important;}
 .rpe-mobile-action-row{padding-left:7px!important;padding-right:7px!important;gap:4px!important;}
}
@media(max-width:360px){
 .rpe-mobile-quicklinks{gap:6px;}
 .rpe-mobile-quicklinks a{font-size:11px!important;}
 .rpe-mobile-icon,.rpe-drawer-open.rpe-mobile-icon{width:34px!important;min-width:34px!important;padding:6px!important;}
}
