.rmhp-stage,
.rmhp-stage *{box-sizing:border-box}
.rmhp-stage{position:relative;z-index:9990;width:100%;font-family:inherit;color:var(--rmhp-text)}
.rmhp-stage.rmhp-is-sticky{position:sticky;top:0}
.admin-bar .rmhp-stage.rmhp-is-sticky{top:32px}
.rmhp{position:relative;width:100%;font-family:inherit;color:var(--rmhp-text);background:var(--rmhp-main-bg);--rmhp-action-size:44px}
.rmhp a{text-decoration:none;color:inherit}
.rmhp button{font:inherit}
.rmhp-shell{width:100%;margin:0 auto;padding-left:22px;padding-right:22px}

/*
 * Wrapperul iese din containerul Elementor doar prin margin-left calculat,
 * fără transform. Astfel headerul rămâne centrat, iar elementele position:fixed
 * (drawer coș/meniu și overlay) se raportează la viewport, nu la header.
 */
@media (min-width:1101px){
  .elementor-widget-shortcode:has(.rmhp-stage),
  .elementor-widget-shortcode:has(.rmhp-stage)>.elementor-widget-container{overflow:visible!important}
  .rmhp-stage:not(.rmhp-stage-editor){
    width:100vw;
    margin-left:calc(50% - 50vw);
    padding:16px 20px 0;
    display:flex;
    justify-content:center;
    overflow:visible
  }
  .rmhp-stage:not(.rmhp-stage-editor)>.rmhp.rmhp-boxed{
    width:min(100%,var(--rmhp-max-width));
    max-width:var(--rmhp-max-width);
    margin:0!important;
    border:1px solid var(--rmhp-border);
    border-radius:calc(var(--rmhp-radius) + 2px);
    box-shadow:0 14px 38px rgba(18,24,40,.10);
    background:var(--rmhp-main-bg)
  }
  .rmhp-stage:not(.rmhp-stage-editor)>.rmhp.rmhp-wide{
    width:100%;
    max-width:none;
    margin:0!important
  }
  .rmhp.rmhp-boxed .rmhp-topbar{border-radius:var(--rmhp-radius) var(--rmhp-radius) 0 0}
  .rmhp.rmhp-boxed.rmhp-no-topbar .rmhp-main{border-radius:var(--rmhp-radius) var(--rmhp-radius) 0 0}
  .rmhp.rmhp-boxed .rmhp-nav{border-radius:0 0 var(--rmhp-radius) var(--rmhp-radius)}
  .rmhp.rmhp-boxed.rmhp-no-nav .rmhp-main{border-radius:0 0 var(--rmhp-radius) var(--rmhp-radius)}
  .rmhp.rmhp-boxed.rmhp-no-topbar.rmhp-no-nav .rmhp-main{border-radius:var(--rmhp-radius)}
}

.rmhp-topbar{height:34px;background:var(--rmhp-top-bg);color:var(--rmhp-top-text);font-size:12px;line-height:1}
.rmhp-topbar-inner{height:100%;display:grid;grid-template-columns:minmax(150px,1fr) auto minmax(150px,1fr);align-items:center;gap:18px}
.rmhp-trust{display:flex;align-items:center;justify-self:start;white-space:nowrap;min-width:0}
.rmhp-top-center{display:flex;align-items:center;justify-content:center;justify-self:center;min-width:0}
.rmhp-top-spacer{justify-self:end;width:100%;min-width:0}
.rmhp-top-menu{display:flex;align-items:center;justify-content:center;gap:24px;white-space:nowrap;list-style:none;margin:0;padding:0;flex-wrap:nowrap}
.rmhp-top-menu li{margin:0;padding:0}
.rmhp-top-menu>li>a,.rmhp-top-menu-fallback>a{display:flex;align-items:center;justify-content:center;height:34px;font-weight:700;letter-spacing:.08px;opacity:.88;transition:opacity .2s ease,color .2s ease}
.rmhp-top-menu>li>a:hover,.rmhp-top-menu>li.current-menu-item>a,.rmhp-top-menu-fallback>a:hover{opacity:1;color:#fff}
.rmhp-trust-primary{font-weight:700;overflow:hidden;text-overflow:ellipsis}
.rmhp-trust-primary i{display:inline-block;width:7px;height:7px;border-radius:50%;background:#3ccb72;margin-right:8px;box-shadow:0 0 0 3px rgba(60,203,114,.16)}

.rmhp-main{background:var(--rmhp-main-bg);border-bottom:1px solid var(--rmhp-border);transition:box-shadow .2s ease}
.rmhp.is-scrolled .rmhp-main{box-shadow:0 8px calc(var(--rmhp-shadow)*1px) rgba(18,24,40,.08)}
.rmhp-main-grid{min-height:var(--rmhp-main-height);display:grid;grid-template-columns:auto minmax(320px,1fr) auto;align-items:center;gap:28px}
.rmhp-menu-trigger{display:none}
.rmhp-logo{display:flex;align-items:center;min-width:0}
.rmhp-logo img{display:block;width:min(var(--rmhp-logo-width),100%);height:auto;max-height:72px;object-fit:contain}
.rmhp-search{min-width:0;width:100%;position:relative;z-index:3}
.rmhp-search .dgwt-wcas-search-wrapp{max-width:none!important;width:100%!important;margin:0!important}
.rmhp-search .dgwt-wcas-sf-wrapp{border-radius:var(--rmhp-radius)!important;overflow:hidden}
.rmhp-search .dgwt-wcas-search-input{min-height:50px!important;font-size:14px!important;border-color:var(--rmhp-border)!important;background:#f8f9fb!important;padding-left:18px!important}
.rmhp-search .dgwt-wcas-search-submit{background:var(--rmhp-accent)!important;border-color:var(--rmhp-accent)!important;min-width:54px!important}
.rmhp-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;white-space:nowrap}
.rmhp-phone{display:flex;align-items:center;gap:10px;padding-right:10px;margin-right:4px;border-right:1px solid var(--rmhp-border)}
.rmhp-phone-copy{display:flex;flex-direction:column;line-height:1.1}
.rmhp-phone-copy small{font-size:11px;color:var(--rmhp-muted);font-weight:600;margin-bottom:5px}
.rmhp-phone-copy strong{font-size:15px;letter-spacing:.1px}
.rmhp-action-icon,.rmhp-icon-button{width:var(--rmhp-action-size);height:var(--rmhp-action-size);border:1px solid var(--rmhp-border);border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:#fff;color:var(--rmhp-text);transition:transform .18s ease,border-color .18s ease,color .18s ease,background .18s ease;position:relative}
.rmhp-icon-button{cursor:pointer;padding:0}
.rmhp-action-icon{border-color:rgba(227,30,36,.24);background:rgba(227,30,36,.06);color:var(--rmhp-accent)}
.rmhp-action-icon svg,.rmhp-icon-button svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.rmhp-icon-button:hover{color:var(--rmhp-accent);border-color:var(--rmhp-accent);transform:translateY(-1px)}
.rmhp-cart-count{position:absolute;right:-4px;top:-5px;min-width:19px;height:19px;padding:0 5px;border-radius:10px;background:var(--rmhp-accent);color:#fff;font-size:10px;font-weight:800;display:flex;align-items:center;justify-content:center;border:2px solid var(--rmhp-main-bg)}

.rmhp-nav{background:var(--rmhp-nav-bg);border-bottom:1px solid var(--rmhp-border)}
.rmhp-nav-inner{height:var(--rmhp-nav-height);display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:stretch;gap:20px}
.rmhp-nav-inner::before{content:"";grid-column:1}
.rmhp-menu{list-style:none;margin:0;padding:0}
.rmhp-desktop-menu{grid-column:2;display:flex;align-items:stretch;justify-content:center;min-width:0;justify-self:center}
.rmhp-desktop-menu>li{position:relative;display:flex;align-items:stretch;margin:0}
.rmhp-desktop-menu>li>a{display:flex;align-items:center;padding:0 15px;color:var(--rmhp-nav-text);font-weight:700;font-size:13px;letter-spacing:.15px;transition:color .18s ease,background .18s ease}
.rmhp-desktop-menu>li:hover>a,.rmhp-desktop-menu>li.current-menu-item>a,.rmhp-desktop-menu>li.current-menu-ancestor>a{color:var(--rmhp-accent)}
.rmhp-desktop-menu .sub-menu{position:absolute;left:0;top:calc(100% - 1px);min-width:250px;background:#fff;border:1px solid var(--rmhp-border);border-radius:0 0 var(--rmhp-radius) var(--rmhp-radius);box-shadow:0 18px 40px rgba(18,24,40,.14);padding:10px 0;margin:0;list-style:none;opacity:0;visibility:hidden;transform:translateY(8px);transition:opacity .16s ease,transform .16s ease,visibility .16s;z-index:30}
.rmhp-desktop-menu li:hover>.sub-menu,.rmhp-desktop-menu li:focus-within>.sub-menu{opacity:1;visibility:visible;transform:translateY(0)}
.rmhp-desktop-menu .sub-menu li{position:relative;margin:0}
.rmhp-desktop-menu .sub-menu a{display:flex;align-items:center;justify-content:space-between;padding:10px 16px;font-size:13px;font-weight:600;color:var(--rmhp-text)}
.rmhp-desktop-menu .sub-menu a:hover{color:var(--rmhp-accent);background:#f7f8fa}
.rmhp-desktop-menu .sub-menu .sub-menu{left:100%;top:-10px;border-radius:var(--rmhp-radius)}
.rmhp-offer-button{grid-column:3;justify-self:end;align-self:center;display:inline-flex;align-items:center;justify-content:center;height:38px;padding:0 20px;border-radius:999px;background:var(--rmhp-accent);color:#fff!important;font-size:12px;font-weight:800;white-space:nowrap;box-shadow:0 6px 18px rgba(227,30,36,.22);transition:transform .18s ease,box-shadow .18s ease}
.rmhp-offer-button:hover{transform:translateY(-1px);box-shadow:0 9px 22px rgba(227,30,36,.28)}

.rmhp-socials{display:flex;align-items:center;gap:6px}
.rmhp-socials a{display:flex;width:25px;height:25px;border-radius:50%;align-items:center;justify-content:center;border:1px solid currentColor;font-size:10px;font-weight:800;opacity:.85}
.rmhp-overlay{position:fixed;inset:0;background:rgba(11,15,22,.54);backdrop-filter:blur(2px);z-index:99980;opacity:0;transition:opacity .22s ease}
.rmhp-overlay.is-visible{opacity:1}
.rmhp-drawer{position:fixed;top:0;bottom:0;z-index:99990;background:var(--rmhp-drawer-bg);width:min(var(--rmhp-sidebar-width),calc(100vw - 20px));box-shadow:0 0 45px rgba(10,15,25,.24);display:flex;flex-direction:column;transition:transform .26s cubic-bezier(.2,.7,.2,1);overflow:hidden}
.rmhp-menu-drawer{left:0;transform:translateX(-105%)}
.rmhp-cart-drawer{right:0;transform:translateX(105%)}
.rmhp-drawer.is-open{transform:translateX(0)}
.rmhp-drawer-head{min-height:76px;display:flex;align-items:center;justify-content:space-between;padding:14px 18px;border-bottom:1px solid var(--rmhp-border)}
.rmhp-drawer-head>strong{font-size:18px}
.rmhp-drawer-logo img{display:block;max-width:165px;max-height:50px;width:auto;height:auto}
.rmhp-drawer-close{width:40px;height:40px;border:1px solid var(--rmhp-border);border-radius:50%;background:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;color:var(--rmhp-text)}
.rmhp-drawer-close svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.rmhp-drawer-tabs{display:grid;grid-template-columns:1fr 1fr;margin:14px 16px 10px;padding:4px;gap:4px;border:1px solid var(--rmhp-border);border-radius:14px;background:#f3f5f8;box-shadow:inset 0 1px 2px rgba(18,24,40,.04)}
.rmhp-drawer-tabs button{appearance:none;border:0;background:transparent;min-height:44px;padding:10px 12px;color:var(--rmhp-muted);font-size:12px;line-height:1.15;font-weight:850;letter-spacing:.22px;cursor:pointer;border-radius:10px;transition:background .18s ease,color .18s ease,box-shadow .18s ease,transform .18s ease}
.rmhp-drawer-tabs button:first-child{text-transform:uppercase}
.rmhp-drawer-tabs button.is-active{color:#fff;background:var(--rmhp-accent);box-shadow:0 7px 18px rgba(227,30,36,.24)}
.rmhp-drawer-tabs button:active{transform:translateY(1px)}
.rmhp-drawer-body{flex:1;overflow:auto;padding:0 12px 10px}
.rmhp-drawer-panel{display:block}
.rmhp-mobile-menu,.rmhp-mobile-menu ul{list-style:none;margin:0;padding:0}
.rmhp-mobile-menu>li{position:relative;margin:0 0 7px;border:1px solid #edf0f4;border-radius:12px;background:#fff;overflow:hidden;box-shadow:0 2px 8px rgba(18,24,40,.035)}
.rmhp-mobile-menu li{position:relative}
.rmhp-mobile-menu li>a{display:block;padding:15px 54px 15px 16px;color:var(--rmhp-text);font-size:14px;line-height:1.3;font-weight:750}
.rmhp-mobile-menu li>a:hover{color:var(--rmhp-accent);background:#fafbfc}
.rmhp-mobile-menu .sub-menu{display:none;background:#f7f8fa;border-top:1px solid #eceef1}
.rmhp-mobile-menu li.is-submenu-open>.sub-menu{display:block}
.rmhp-mobile-menu .sub-menu li{border-bottom:1px solid #e9edf2}
.rmhp-mobile-menu .sub-menu li:last-child{border-bottom:0}
.rmhp-mobile-menu .sub-menu a{padding:12px 48px 12px 28px;font-weight:650;font-size:13px}
.rmhp-mobile-menu .sub-menu .sub-menu a{padding-left:48px}
.rmhp-submenu-toggle{position:absolute;top:5px;right:7px;width:42px;height:42px;border:0;background:transparent;display:flex;align-items:center;justify-content:center;cursor:pointer;color:var(--rmhp-muted);z-index:2;border-radius:9px}
.rmhp-submenu-toggle:hover{background:#f1f3f6;color:var(--rmhp-accent)}
.rmhp-submenu-toggle svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.9;transition:transform .18s ease}
.rmhp-mobile-menu li.is-submenu-open>.rmhp-submenu-toggle svg{transform:rotate(180deg)}
.rmhp-drawer-footer{padding:16px 18px 20px;border-top:1px solid var(--rmhp-border);background:#fafbfc}
.rmhp-drawer-phone{display:flex;align-items:center;gap:12px;margin-bottom:14px}
.rmhp-drawer-phone>svg{width:22px;height:22px;fill:none;stroke:var(--rmhp-accent);stroke-width:1.8}
.rmhp-drawer-phone span{display:flex;flex-direction:column}
.rmhp-drawer-phone small{color:var(--rmhp-muted);font-size:11px;margin-bottom:3px}
.rmhp-drawer-phone strong{font-size:15px}
.rmhp-drawer-quick{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.rmhp-drawer-quick a{display:flex;align-items:center;justify-content:center;min-height:40px;padding:8px 10px;border:1px solid var(--rmhp-border);border-radius:var(--rmhp-radius);font-size:12px;font-weight:800;background:#fff;text-align:center}
.rmhp-drawer-quick a.is-accent{border-color:var(--rmhp-accent);background:var(--rmhp-accent);color:#fff}
.rmhp-socials-drawer{margin-top:14px}
.rmhp-socials-drawer a{width:31px;height:31px;color:var(--rmhp-text)}
.rmhp-empty-menu{padding:20px;color:var(--rmhp-muted);font-size:13px}
body.rmhp-drawer-open{overflow:hidden}
.rmhp-mini-cart-content{padding:18px;overflow:auto;flex:1}
.rmhp-mini-cart-content .woocommerce-mini-cart{list-style:none;margin:0;padding:0}
.rmhp-mini-cart-content .woocommerce-mini-cart-item{position:relative;padding:0 25px 14px 76px!important;min-height:72px;margin:0 0 14px!important;border-bottom:1px solid var(--rmhp-border)}
.rmhp-mini-cart-content .woocommerce-mini-cart-item img{position:absolute;left:0;top:0;width:62px!important;height:62px!important;object-fit:contain;margin:0!important;float:none!important}
.rmhp-mini-cart-content .remove{position:absolute!important;right:0!important;top:0!important;left:auto!important;color:var(--rmhp-muted)!important;font-size:20px!important}
.rmhp-mini-cart-content .woocommerce-mini-cart__total{padding:14px 0;border-top:1px solid var(--rmhp-border);display:flex;justify-content:space-between}
.rmhp-mini-cart-content .woocommerce-mini-cart__buttons{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.rmhp-mini-cart-content .woocommerce-mini-cart__buttons .button{margin:0!important;min-height:42px;display:flex!important;align-items:center;justify-content:center;border-radius:var(--rmhp-radius)!important;font-weight:800!important}
.rmhp-mini-cart-content .woocommerce-mini-cart__buttons .checkout{background:var(--rmhp-accent)!important;color:#fff!important}

/* Tabletă și mobil: wrapper full-viewport, card cu margini reale. */
@media (max-width:1100px){
  .rmhp-topbar,.rmhp-nav{display:none}
  .rmhp-stage:not(.rmhp-stage-editor){
    width:100vw;
    margin-left:calc(50% - 50vw);
    padding:10px;
    overflow:visible
  }
  .rmhp-stage:not(.rmhp-stage-editor)>.rmhp{
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    border:1px solid var(--rmhp-border)!important;
    border-radius:18px!important;
    box-shadow:0 12px 32px rgba(18,24,40,.10)!important;
    background:var(--rmhp-main-bg)!important
  }
  .rmhp-main{border-bottom:0;border-radius:18px!important;background:var(--rmhp-main-bg)}
  .rmhp-shell{width:100%;padding-left:14px;padding-right:14px}
  .rmhp-main-grid{
    grid-template-columns:44px minmax(0,1fr) auto;
    grid-template-areas:
      "menu logo actions"
      "search search search";
    column-gap:8px;
    row-gap:12px;
    min-height:auto;
    padding-top:12px;
    padding-bottom:13px
  }
  .rmhp-menu-trigger{grid-area:menu;display:inline-flex;width:44px;height:44px;border:1px solid var(--rmhp-border);border-radius:50%;background:#fff;align-items:center;justify-content:center;cursor:pointer;color:var(--rmhp-text)}
  .rmhp-menu-trigger svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round}
  .rmhp-logo{grid-area:logo;justify-content:flex-start;justify-self:start;min-width:0;margin-left:1px}
  .rmhp-logo img{width:auto;max-width:min(var(--rmhp-logo-mobile-width),34vw);max-height:52px}
  .rmhp-actions{grid-area:actions;justify-self:end;gap:6px}
  .rmhp-search{grid-area:search;width:100%;min-width:0}
  .rmhp-phone,.rmhp-wishlist{display:none}
  .rmhp-action-icon,.rmhp-icon-button{width:44px;height:44px}
  .rmhp-search .dgwt-wcas-search-input{min-height:48px!important;font-size:14px!important}
  .rmhp-search .dgwt-wcas-search-submit{min-width:52px!important}
}

@media (max-width:767px){
  .admin-bar .rmhp-stage.rmhp-is-sticky{top:46px}
  .rmhp-stage:not(.rmhp-stage-editor){padding:5px}
  .rmhp-stage:not(.rmhp-stage-editor)>.rmhp{border-radius:16px!important}
  .rmhp-main{border-radius:16px!important}
  .rmhp-shell{padding-left:11px;padding-right:11px}
  .rmhp-main-grid{grid-template-columns:40px minmax(0,1fr) auto;column-gap:7px;row-gap:10px;padding-top:10px;padding-bottom:11px}
  .rmhp-menu-trigger,.rmhp-icon-button,.rmhp-action-icon{width:40px;height:40px}
  .rmhp-logo img{max-width:min(var(--rmhp-logo-mobile-width),36vw);max-height:46px}
  .rmhp-actions{gap:5px}
  .rmhp-actions .rmhp-icon-button svg{width:20px;height:20px}
  .rmhp-search .dgwt-wcas-search-input{min-height:46px!important;font-size:13px!important}
  .rmhp-search .dgwt-wcas-search-submit{min-width:50px!important}
  .rmhp-cart-count{right:-5px;top:-6px}
}

@media (max-width:380px){
  .rmhp-shell{padding-left:9px;padding-right:9px}
  .rmhp-main-grid{grid-template-columns:38px minmax(0,1fr) auto;column-gap:5px}
  .rmhp-menu-trigger,.rmhp-icon-button{width:38px;height:38px}
  .rmhp-logo img{max-width:116px}
  .rmhp-actions{gap:3px}
}

/* Elementor: fără breakout de viewport și fără drawer-e interactive. */
.rmhp-stage.rmhp-stage-editor{
  width:100%!important;
  margin:0!important;
  padding:12px!important;
  display:flex;
  justify-content:center;
  overflow:visible
}
.rmhp-stage.rmhp-stage-editor>.rmhp{
  position:relative!important;
  top:auto!important;
  left:auto!important;
  transform:none!important;
  width:min(100%,var(--rmhp-max-width))!important;
  max-width:var(--rmhp-max-width)!important;
  margin:0 auto!important;
  border:1px solid var(--rmhp-border)!important;
  border-radius:calc(var(--rmhp-radius) + 2px)!important;
  box-shadow:0 14px 38px rgba(18,24,40,.10)!important
}
.rmhp-stage.rmhp-stage-editor .rmhp-overlay,
.rmhp-stage.rmhp-stage-editor .rmhp-drawer{display:none!important}
.rmhp-stage.rmhp-stage-editor .rmhp-cart-trigger,
.rmhp-stage.rmhp-stage-editor .rmhp-menu-trigger{pointer-events:none}
@media (max-width:1100px){
  .rmhp-stage.rmhp-stage-editor{padding:10px!important}
  .rmhp-stage.rmhp-stage-editor>.rmhp{width:100%!important;border-radius:18px!important}
}
@media (max-width:767px){
  .rmhp-stage.rmhp-stage-editor{padding:5px!important}
  .rmhp-stage.rmhp-stage-editor>.rmhp{border-radius:16px!important}
}

