
/* Hide menu top on large screen */
@media only screen and (max-width: 767px) {
    #block_top_menu {
        display: none;
    }
    .rm-body-with-header #header_logo {
        display: none;
    }
    .rm-body-with-header .header-nav {
        display: none;
    }
    .rm-display-search #search_block_top, .rm-display-search #search_widget {
        display: none;
    }
/*    body#index.rm-body-with-header {
    padding-top: 60px;
}*/

    /* Sticky rm-header requires an unbounded vertical containing block.
       theme.css sets `body, html { height: 100% }` which clips the sticky
       range to one viewport — sticky stops working after a single viewport
       of scroll. We convert to min-height under 768px so body extends to
       full document height and sticky works for the whole scroll range.
       Added 2026-05-09. */
    html,
    body.rm-body-with-header {
        height: auto !important;
        min-height: 100%;
    }
}
@media only screen and (min-width: 768px) {
    body.rm-body-with-header {
        padding-top: 0px;
    }
    .rm-header {
        display: none;
    }
    .rm-trigger {
        display: none;
    }
}

.rm-pannel * {
    margin: 0;
    padding: 0;
}

.rm-trigger {
    position: fixed;
    top: 80px;
    right: 10px;
    cursor: pointer;
    height: 30px;
    width: 36px;
    z-index: 10000;
}
.rm-trigger:before {
    position: absolute;
    top: 0px;
    left: 0;
    width: 40px;
    height: 4px;
    background: #777;
    box-shadow: 0 6px rgba(255,255,255,0.8), 0 12px #777, 0 18px rgba(255,255,255,0.8), 0 24px #777;
    content: '';
}
.rm-level__container .icon-arrow {
    display: block;
}

.rm-overlay {
    position: fixed;
    top: 60px;
    height: 100%;
    width: 100%;
    z-index: 10000;
    background: rgba(0,0,0,0.2);
    will-change: left;

    /* Fix for Chrome android */
    padding-bottom: 20%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.rm-overlay--open {
    left: 0%;
}
.rm-overlay--close {
    left: -100%;
}
.rm-pannel {
    z-index: 10000;
    position: fixed;
    top: 60px;
    height: 100%;
    width: 80%;
    overflow-x: hidden;
    will-change: left;
    background: black;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;

    /* Fix for Chrome android */
    padding-bottom: 70px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.rm-pannel--open {
    left: 0;
}
.rm-pannel--close {
    left: -100%;
}
.rm-container {
    z-index: 100;
    width: 100%;
    position: absolute;
    right: 0;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;

/*     Fix for Chrome android */
    padding-bottom: 70px;
}
.rm-level {
    position: relative;
    float: left;
    width: 0px;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}
.rm-pannel .icon-arrow:before {
    font-family: "FontAwesome";
    position: absolute;
    right: 10px;
    z-index: -1;
    color: #fff;
    text-shadow: 0 0 1px rgba(255, 255, 255, 0.1);
    line-height: 2;
    font-weight: bold;
    font-size: x-large;
    content: "\f105";
}
#footer a.rm-level__title,
#footer a.rm-level__title:hover,
.rm-level__title,
.rm-level__title:hover {
    display: block;
    border-bottom: 1px solid #222;
    margin: 0;
    padding: 0.5em;
    color: white;
    text-shadow: 0 0 1px rgba(255, 255, 255, 0.1);
    font-weight: 300;
    font-size: 1.4em;
    font-family: 'Roboto Condensed', sans-serif;
    text-align: center;
}
#footer li a.rm-level__item,
.rm-level__item {
    border-bottom: 1px solid #222;
    display: block;
    margin: 0 !important;
    padding: 1em;
    color: white;
    text-shadow: 0 0 1px rgba(255, 255, 255, 0.1);
    font-weight: bold;
    font-size: 1em;
    font-family: 'Roboto Condensed', sans-serif;
    line-height: 24px;

    -webkit-transition: background 0.3s, box-shadow 0.3s;
    -moz-transition: background 0.3s, box-shadow 0.3s;
    transition: background 0.3s, box-shadow 0.3s;
}

#footer li a.rm-level__item--selected,

.rm-level__item--selected {
    box-shadow: inset 0 -1px rgba(0,0,0,0);
    color: #ec4815;
    background: white !important;

    -webkit-transition: background 0.3s, box-shadow 0.3s;
    -moz-transition: background 0.3s, box-shadow 0.3s;
    transition: background 0.3s, box-shadow 0.3s;
}
#footer li a.rm-level__item--back,
.rm-level__item--back {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 1em;
    font-weight: bold;
    line-height: 1.4em;
    color: rgba(255, 255, 255, 0.4);
    margin-left: 10px;
}

.rm-header, #footer .rm-header {
    position: sticky;
    top: 0;
    left: 0;
    height: 60px;
    width: 100%;
    background: black;
    border-bottom: 1px solid #eb4816;
    z-index: 10000;
}

.rm-header .logo, #footer .rm-header .logo {
    height: 45px;
    /* top: 5px; */
    margin: 5px;
    position: absolute;
    left: 70px;
}

.footer-container #footer .rm-header .cart,
.rm-header .cart {
    font-family: "FontAwesome";
    display: block;
    position: absolute;
    top: 0;
    right: 10px;
    font-size: 28px;
    line-height: 60px;
    height: 70px;
    width: 40px;
    color: white;
    padding-right: 15px;
    /*display: none;*/
}

.rm-header .search, #footer .rm-header .search {
    font-family: fontawesome;
    display: block;
    position: absolute;
    right: 20px;
    font-size: 30px;
    color: #fff;
    margin: 10px;
    line-height: 17px;
    margin-right: 30px;
    padding: 12px 10px;
}

.rm-searchbar {
    color: #777;
    font-size: 0;
    border-bottom: 1px solid #eb4816;
    height: 37px;
    overflow: hidden;
    position: absolute;
    top: 60px;
    width: 100%;

    -webkit-transition: height 0.3s;
    -moz-transition: height 0.3s;
    transition: height 0.3s;
}

.rm-searchbar .searchquery {
    width: 80%;
    line-height: 39px;
    padding: 0 0 0 5px;
    font-size: 14px;
    border: none;
}

.rm-searchbar .searchbutton {
    font-family: "FontAwesome";
    width: 20%;
    font-family: "FontAwesome";
    background-color: #333;
    color: #777;
    line-height: 36px;
    font-size: 24px;
    border: none;
    position: absolute;
    padding: 0;
}

.rm-searchbar.closed {
    height: 0px;

    -webkit-transition: height 0.3s;
    -moz-transition: height 0.3s;
    transition: height 0.3s;
}

.rm-header .cart .count, #footer .rm-header .cart .count {
    display: block;
    position: absolute;
    top: 5px;
    right: 5px;
    border-radius: 100%;
    background: #6ad4ff;
    color: white;
    font-size: 10px;
    font-weight: bold;
    padding: 1px 2px;
    line-height: 12px;
}

.rm-header .rm-trigger:before, #footer .rm-header .rm-trigger:before {
    background: white;
    box-shadow: 0 6px rgba(255,255,255,0), 0 12px white, 0 18px rgba(255,255,255,0), 0 24px white;
}


/*Pentru meniul in plus*/

.meniux {
    display: inline-block;
    cursor: pointer;
    padding: 10px;
}

.bar1, .bar2, .bar3 {
    width: 35px;
    height: 4px;
    background-color: white;
    margin: 6px 0;
    transition: 0.4s;
    -webkit-transition: 0.4s;
    -moz-transition: 0.4s;
    -o-transition: 0.4s;
    color: white;
}

.bar3::after {
    content: "MENIU";
    font-size: 10px;
    font-weight: bold;
    font-family: sans-serif;
}

.schimbarex .bar1 {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    width: 28px;
}

.schimbarex .bar2 {opacity: 0;}

.schimbarex .bar3 {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    width: 28px;
    margin-top: -3px;
}

#rm-category-2 h2:first-child{
    display: none;
}

.rm-header .search:hover, #footer .rm-header .search:hover {
    color: #eb4815;
}

@media (max-width: 320px){
    .rm-header .logo, #footer .rm-header .logo {
        height: 35px;
        top: 10px;
}}

a.rm-level__title:after {
    content: "(vezi toate)";
    display: grid;
    font-size: 15px;
    color: lightcyan;
    padding-left: 5px;
    font-weight: normal !important;
    text-transform: lowercase;
}

a#meniuinapoi:before {
    font-family: FontAwesome;
    content: "\f060";
    margin-left: -1rem;
    position: absolute;
}

#footer li a.rm-level__item:active,
.rm-level__item:active {
background-color: white!important;
color: #ec4815!important

}

.rm-pannel--open::-webkit-scrollbar {
  display: none;
}

.rm-pannel--open {
  -ms-overflow-style: none;
}



.activemenu {
  color: #ec4815;
}


#rm-container li {
    display: block;
    margin: 0;
}


.panelmenu {
  text-indent: 1.5rem;
  
  max-height: 0;
  overflow: hidden;
    -webkit-transition: max-height 0.3s ease-in-out;
  -moz-transition: max-height 0.3s ease-in-out;
  -ms-transition: max-height 0.3s ease-in-out;
  -o-transition: max-height 0.3s ease-in-out;
  transition: max-height 0.3s ease-in-out;
}

.accordionmenu:after {
  font-family: FontAwesome;
  content: "\f105";
  font-size: 1.8rem;
  color: #777;
  float: right;
  margin-left: 5px;
}

.activemenu:after {
    font-family: FontAwesome;
    font-size: 1.8rem;
  content: "\f107"; /* Unicode character for "minus" sign (-) */
}

a.rm-level__item.subcani {
    text-indent: 3.5rem;
}

.sublevel {
    background: #131313 !important;
    line-height: 12px !important;
}

li.rm-level__item.terminare {
    padding: 5px !important;
}

.reducere_mobil {
    margin-left: 5px;
    display: inline;
    font-size: 14px;
    padding: 3px;
    background: red;
    border-radius: 10px;
    color: white;
}


li.extins .panelmenu {
    max-height: 700px;
}

/* Add this at the end of your CSS file - improved iOS touch fix */
@supports (-webkit-touch-callout: none) {
    /* Only for iOS devices */
    .rm-pannel--open {
        -webkit-overflow-scrolling: touch;
    }
    
    /* Prevent immediate activation on touch */
    .rm-level__item {
        -webkit-tap-highlight-color: transparent;
        /* Add small delay before showing active state */
        transition: background-color 0.3s, color 0.3s;
    }
    
    /* Only activate after touch has been held briefly */
    #footer li a.rm-level__item:active,
    .rm-level__item:active {
        /* Require longer press to activate (200ms delay) */
        transition-delay: 0.2s;
    }
}