.desk_header .menu-item-has-children:hover > .sub-menu {
    display: flex !important;
}

.desk_header ul.sub-menu {
    padding: 10px!important;
    box-shadow: 0 2px 20px #0000003d;
    width: auto !important;
    min-width: unset !important;
    max-width:  unset !important;
    right: 0 !important;
	left:auto !important;
	gap:10px;
	border-radius: 10px;
}

.desk_header .ym-wrap span.ym-before {
    display: block;
    text-align: center;
}

.desk_header span.ym-after-hover, ul.sub-menu li:hover .ym-before {
    display: none;
}

.desk_header ul.sub-menu li:hover span.ym-after-hover{
	display:block
}

.desk_header .sub-menu li.menu-item a, .sub-menu li.menu-item a:hover {
    padding-top: 50px;
    padding-bottom: 10px;
}

.desk_header .sub-menu li.menu-item a{
	border-radius: 10px;
    min-width: 110px;
    font-weight: 600 !important;
    max-width: 110px;
    padding-left: 12px !important;
    padding-right: 12px !important;
    overflow-wrap: break-word;
    justify-content: center;
    white-space: normal;
    text-align: center;
}

.desk_header .sub-menu li.menu-item:hover{
	background:#F7BE30 !important;
	color:#fff !important
	
}

.desk_header .sub-menu li.menu-item:hover a{
	color:#fff !important;
	background:transparent !important;
	border-radius: 10px;
	
}

.desk_header ul.sub-menu li.menu-item {
    box-shadow: 0 0 10px #0000000d;
	border-radius:10px;
	overflow:hidden
}

.desk_header .sub-menu li.menu-item a{
	overflow:hidden;
	border-right:0
}

.desk_header .ym-wrap span:not(:last-child) {
    position: absolute;
    top: 15%;
    left: 0;
    right: 0;
	text-align:center
}

.desk_header .ym-wrap .ym-menu-title {
    display: block;
    margin-top: 14px;
    line-height: 1.25;
}

/* .desk_header ul.sub-menu span.ym-label {
    left: auto;
    right: 0;
    width: fit-content;
    transform: rotate(90deg);
    font-size: 0;
    padding: 0 11px;
    background: #F7BE30;
    top: 0;
    background: url(/wp-content/uploads/2024/11/new_tag.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 35px;
    height: 35px;
}
 */

.desk_header ul.sub-menu span.ym-label {
    left: auto;
    right: 0;
    width: fit-content;
    transform: rotate(48deg);
    font-size: 10px;
    top: 0;
    background-repeat: no-repeat;
    background-size: contain;
    width: 35px;
    height: 35px;
    z-index: 1;
    color: #000 !important;
}

.desk_header ul.sub-menu span.ym-label:before {
    content: "";
    width: 0;
    height: 0;
    border-top: 40px solid #F7BE30;
    border-left: 40px solid transparent;
    display: block;
    transform: rotate(-45deg);
    position: absolute;
    z-index: -1;
}

 .desk_header ul.elementor-nav-menu > li.menu-item:hover > a svg {
    color: #F7BE30 ;
	fill:#F7BE30;
}



.desk_header .menu-item-has-children:hover > a span.sub-arrow {
    transform: rotate(180deg);
}

.desk_header .menu-item-has-children a span.sub-arrow {
    padding:10px
}

.desk_header .elementor-nav-menu > li:hover > a {
    color: #CEA64F;
}

/* Tighten top-level desktop menu item padding so all 6 items fit on one line.
   Was wrapping the last item ("משלוחים והחזרים") to a second row.
   Also flex-center each menu item vertically inside the strip so it doesn't
   stick to the top edge. */
.desk_header .elementor-nav-menu {
    display: flex !important;
    align-items: stretch !important;
}
.desk_header .elementor-nav-menu > li {
    display: flex !important;
    align-items: center !important;
}
.desk_header .elementor-nav-menu > li > a.elementor-item.menu-link,
.desk_header .elementor-nav-menu > li > a.elementor-item {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
    height: 100%;
}

/* Also tighten the sub-arrow padding (was 10px, contributing extra width per item) */
.desk_header .elementor-nav-menu > li > a span.sub-arrow {
    padding: 4px !important;
}

body .mob_menu_section {
	position: fixed;
	z-index: 9999;
	top: 0;
	height: 100vh;
	display:none;
	overflow:auto;
}

.body_hidden {
    overflow: hidden;
}

.mob_menu_section.nav_js .mob_btn{
	display:none
}

/* body.admin-bar .mob_menu_section {
    top: 46px;
} */


ul.icons.menubar_icons, .menubar_icons_hide {
    list-style: none;
    margin: 0;
}

li.mobileShow.custom_mobile_menu_icon {
    position: relative;
    padding: 0;
    z-index: 11111111111;
    margin-top: 0px;
    transition: .1s;
    margin-bottom: 0;
}

span.menuHandle:first-child {
    background-image: url(/wp-content/uploads/2024/11/menubars_icn.png);
    background-repeat: no-repeat;
    background-size: 32px;
    background-position: center;
    width: 32px;
    height: 32px;
    cursor: pointer;
    left: 0;
	display:block;
	transition:.1s all
	
}



.body_hidden span.menuHandle:first-child {
    height: 0;
}


.custom_mobile_menu_icon span.menu_icon_span {
    display: block;
    position: absolute;
    transform: translateY(-50%);
    top: 50%;
    transition: .1s ease-in-out;
    background-color: #fff;
    height: 6px;
    width: 32px;
    border: 2px solid #251a14;
    border-radius: 5px;
    box-shadow: none;
    padding: 0;
    margin: 0;
	opacity:0
}
.show-menu .custom_mobile_menu_icon span.menu_icon_span{
	opacity:1
}

.show-menu .custom_mobile_menu_icon span.menuHandle{
	background-size:0
}
span.menuHandle.menu_icon_span.menu_icon_span_second {
    display: none;
}
.show-menu .custom_mobile_menu_icon span.menu_icon_span.menu_icon_span_first {
    transform: translateY(-50%) rotate(45deg);
}

.show-menu .custom_mobile_menu_icon span.menu_icon_span.menu_icon_span_third{
	    transform: translateY(-50%) rotate(-45deg);
}

.mob_menu_section nav.elementor-nav-menu--main{
	overflow:hidden
}

.mob_menu_section ul.elementor-nav-menu li{
	position:unset
}
.mob_menu_section ul.elementor-nav-menu li a{
    display: block;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #ccc;
    padding:0px;
    position: relative;

}

.mob_menu_section svg.e-font-icon-svg.e-fas-caret-right{
	fill:#F7BE30;
	font-size:30px;
}

.mob_menu_section ul.elementor-nav-menu{
	position:unset
}

.mob_menu_section .ym-wrap {
    font-size: 0;
}

.mob_menu_section .ym-wrap span{
    font-size:20px;
}

.mob_menu_section ul.elementor-nav-menu li a {
    display: flex;
    width: 100%;
    text-align: center;
	 border-left: 0 !important;
    border-right: 0 !important;
}

.mob_menu_section .ym-wrap span.ym-before, .mob_menu_section ul li span.ym-after-hover	 {
    right: auto;
    left: 30px;
	position:absolute;
	display:block;
	top:50%;
	transform: translateY(-50%);
}

.mob_menu_section span.sub-arrow {
    position: absolute;
    top: 0;
    bottom: 0;
    padding: 0;
    right: -20px;
    transform: rotate(-90deg);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 12px solid #ffb800;
}

.mob_menu_section span.sub-arrow svg{
	display:none
}

.mob_menu_section ul .sub-menu{
	width: 100% !important;
    top: 0;
    z-index: 9;
}

.mob_menu_section > .e-con-inner {
    flex-wrap: nowrap !important;
}

body .mob_menu_section ul .sub-menu {
    width: 100% !important;
    top: 0;
    z-index: 9;
    padding: 0 !important;
    transform: translateX(130%);
    opacity: 0;
    display: none !important;
    justify-content: center;
    box-shadow: none;
}


body .mob_menu_section ul .sub-menu .sub-menu {
	position:relative;
	width:100%;
	opacity:1;
	transform:translate(0)
	
}

body .mob_menu_section ul li{
	transition:0.4s all
}

.open_submenu > li {
    transform: translateX(-130%);
	
}

.mob_menu_section li.drop_menu_item.active_menu .sub-menu {
    opacity: 1;
    border: 0 !important;
	display:block !important
}

.mob_menu_section ul.open_submenu li.drop_menu_item.active_menu {
    position: fixed;
    width: 100%;
    top: 80px;
}

li.sub_menu_title a, li.sub_menu_title a.elementor-sub-item.elementor-item-active, li.sub_menu_title a:hover {
    background: #F7BE30;
    color: #fff;
}

.mob_menu_section .sub_menu_title a:before {
    top: 50%;
    right: 20px;
    transform: translatey(-50%) rotate(90deg);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 12px solid #fff;
    content: "";
    position: absolute;
}

body .mob_menu_section .e-con-inner {
    height: 95vh;
    overflow: auto;
   -webkit-overflow-scrolling: touch;
	padding-bottom:80px
}

svg.e-font-icon-svg.e-fas-caret-down {
    color: #F7BE30;
    fill: #F7BE30;
}



.mob_menu_section .close_menu,
.open_menu.toggle-menu{
    transform: rotate(45deg);
    transition: all 0.3s ease;
}
.mob_menu_section.show-menu .close_menu,
.open_menu{
    transform: rotate(0);
	transition: all 0.3s ease;
}

.mob_menu_section ul li span.ym-after-hover {
    display: none;
}

.mob_menu_section .ym-wrap span img {
    width: 35px;
}

.desk_header .ym-wrap span img.ym-menu-icon {
    width: 35px;
    object-fit: contain;
}

.mob_menu_section .ym-wrap {
    font-size: 0;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 85px;
	width:100%
	
}

.mob_menu_section ul.elementor-nav-menu li:hover span.ym-before {
    display: block;
}

.mob_menu_section ul.sub-menu span.ym-label {
    left: auto;
    right: 0;
    width: fit-content;
    transform: rotate(48deg);
    font-size: 10px;
    top: 2px;
    background-repeat: no-repeat;
    background-size: contain;
    width: 35px;
    height: 35px;
    z-index: 1;
    color: #000 !important;
	position: absolute;
}

.mob_menu_section ul.sub-menu span.ym-label:before {
    content: "";
    width: 0;
    height: 0;
    border-top: 40px solid #F7BE30;
    border-left: 40px solid transparent;
    display: block;
    transform: rotate(-45deg);
    position: absolute;
    z-index: -1;
}

.elementor-item-active {
    background: #fff !important;
    color: #000 !important;
}
.desk_header ul.elementor-nav-menu {
	gap: 30px;
}

.desk_header ul.elementor-nav-menu li {
	flex-grow:unset
}
/* === Desktop menu vertical centering — yourmoment, 2026-05-08 ===
   Was: top-level menu items (אספקה מהירה / לרכישה / etc.) sat flush to the
   top of the desk_header strip with empty space below.
   Fix: make every wrapping layer (Elementor widget → widget-container → nav
   → ul) flex-center its child vertically so the menu sits in the middle of
   the strip regardless of strip height. */
.desk_header .elementor-widget-nav-menu {
    align-self: center !important;
    display: flex !important;
    align-items: center !important;
    height: 100%;
}
.desk_header .elementor-widget-nav-menu > .elementor-widget-container {
    width: 100%;
    display: flex !important;
    align-items: center !important;
    height: 100%;
}
.desk_header nav.elementor-nav-menu--main {
    width: 100%;
    display: flex !important;
    align-items: center !important;
    height: 100%;
}
.desk_header ul.elementor-nav-menu {
    margin: 0 !important;
    align-items: center !important;
}

/* === Critical: anti-bounce fallback for the desk_header strip itself ===
   Root cause of the visual bounce: post-4272.css (where Elementor stores
   --align-items:center for .desk_header) loads AFTER elementor/frontend.min.css
   in <head>. While only frontend.min.css has parsed, .e-con resolves
   align-items via var(--align-items) which is still unset → defaults to
   stretch → desk_header's flex children glue to the top of the strip.
   Once post-4272.css finishes parsing, --align-items resolves to center
   and the menu visibly shifts down to the middle.
   This file (ym_front-v2.css) is enqueued by the custom-menu plugin BEFORE
   either Elementor file, so a literal !important rule here wins from the
   first paint and prevents the shift entirely. */
.desk_header,
.desk_header > .e-con-inner {
    align-items: center !important;
}

/* === Strip height clamp — prevent the bouncing-logo "tall strip with tiny
       text in the middle" effect at large viewports ===
   Without a clamp, the logo image scales proportionally with viewport width:
     1366px viewport → strip 64px tall
     1920px viewport → strip 89px tall
     2560px viewport → strip 119px tall
     3024px viewport → strip 140px tall   ← user's screen
   At 140px the menu items (20px text) are mathematically centered but visually
   look glued to the top of a tall, mostly-empty strip. Capping the logo's
   rendered height holds the strip to a consistent ~60-70px regardless of
   viewport, so the menu items fill the strip the way they do at 90% zoom. */
.desk_header img {
    max-height: 50px !important;
    width: auto !important;
    height: auto;
    object-fit: contain;
}
.desk_header > .e-con > .elementor-widget-image,
.desk_header > .e-con > .elementor-widget-image > .elementor-widget-container,
.desk_header > .e-con > .elementor-widget-image a {
    line-height: 0;
}
