.custom-mobile-menu-container {
    position: fixed;
    top: 0;
    right: -100vw;
    width: 100vw;
    max-width: 420px;
    height: 100%;
    background: #f3f0e7;
    box-shadow: -2px 0 24px rgba(0,0,0,0.10);
    transition: right 0.35s cubic-bezier(.4,0,.2,1);
    z-index: 9999;
    overflow-y: auto;
    padding-top: 0;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
	padding-top: 70px;
}
.custom-mobile-menu-container.open {
    right: 0;
}
.custom-mobile-menu-logo {
	position: absolute;
	top: 14px;
	left: 22px;
	width: 180px;
	height: auto;
}
.custom-mobile-menu-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* Menu open and close tottale */
.custom-mobile-menu-toggle {
	background: transparent;
    border: none;
	cursor: pointer;
	padding: 0;
	display: flex;
}
.custom-mobile-menu-close {
    position: fixed;
    top: 24px;
    right: 20px;
    z-index: 99999;
	background: transparent;
    border: none;
	cursor: pointer;
	padding: 0;
	display: none;
}
.custom-mobile-menu-toggle::before {
	content:"";
	display: inline-block;
	background-image: url(/wp-content/uploads/2025/08/burger-menu-icon.svg);
	background-repeat: no-repeat;
	background-size: contain;
	width: 30px;
	height: 30px;
}
.custom-mobile-menu-close::before {
	content:"";
	display: inline-block;
	background-image: url(/wp-content/uploads/2025/08/close-icon.svg);
	background-repeat: no-repeat;
	background-size: contain;
	width: 24px;
	height: 24px;
}

.custom-mobile-menu, .custom-mobile-menu .sub-menu {
    list-style-type: none !important;
    padding: 0 !important;
    margin: 0;
    background: none;
}
.custom-mobile-menu > li {
    border-bottom: 1px solid rgba(191, 191, 180, 0.40);
    background: #f3f0e7;
}
.custom-mobile-menu li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 24px;
    color: #2C343B;
    text-decoration: none;
    font-size: 16px;
    background: none;
    transition: background 0.2s;
    font-weight: 500;
}
.custom-mobile-menu li a:hover {
    background: #e8e1d2;
}
.custom-mobile-menu li.menu-item-has-children > a:after {
    content: "";
    display: inline-block;
    border: solid #2C343B;
    border-width: 0 1.5px 1.5px 0;
    padding: 5px;
    margin-left: 12px;
    transform: rotate(45deg);
    transition: transform 0.2s;
}
.custom-mobile-menu li.open > a:after {
    transform: rotate(-135deg);
}
.custom-mobile-menu .sub-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(.4,0,.2,1);
    background: #e8e1d2;
}
.custom-mobile-menu li.open > .sub-menu {
    display: block;
    max-height: 500px;
    background: #e8e1d2;
    padding-bottom: 12px;
}
.custom-mobile-menu .sub-menu li a {
    padding: 8px 0px 8px 36px;
    font-size: 14px;
    color: #2C343B;
    background: none;
    border-bottom: 1px solid rgba(191, 191, 180, 0.20);
}

/* Overlay for background blur */
.custom-mobile-menu-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(30,30,30,0.10);
    backdrop-filter: blur(2px);
    z-index: 9998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}
.custom-mobile-menu-container.open ~ .custom-mobile-menu-overlay {
    opacity: 1;
    pointer-events: auto;
}
/* Prevent background scrolling when menu is open */
body.menu-open {
  overflow: hidden;
  height: 100vh; 
}

/* Header/logo area */
.custom-mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 50px 12px 24px;
    border-bottom: 1px solid #ece8e0;
    background: #f3f0e7;
}

.custom-mobile-menu-header-title {
    font-weight: 700;
    font-size: 16px;
    color: #2C343B;
    flex: 1;
    text-align: center;
}

/* Responsive: hide menu on desktop */
@media (min-width: 1281px) {
    .custom-mobile-menu-toggle,
    .custom-mobile-menu-container {
        display: none !important;
    }
}
.custom-mobile-menu-subview {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: #f3f0e7;
    height: 100%;
    z-index: 10002;
    animation: slideInMenu 0.35s cubic-bezier(.4,0,.2,1);
}
@keyframes slideInMenu {
    from { left: 100%; opacity: 0; }
    to { left: 0; opacity: 1; }
}
.custom-mobile-menu-subview.slide-out {
    animation: slideOutMenu 0.35s cubic-bezier(.4,0,.2,1) forwards;
}
@keyframes slideOutMenu {
    from { left: 0; opacity: 1; }
    to { left: 100%; opacity: 0; }
}
/* Back button styling */
.custom-mobile-menu-back {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding:0;
    font-size: 18px;
    color: #2C343B;
    cursor: pointer;
    background: #f3f0e7;
    font-weight: 500;
    transition: background 0.2s;
    width: 24px;
    height: 24px;
}
.custom-mobile-menu-back:before {
    content: "";
    display: inline-block;
    border: solid #2C343B;
    border-width: 0 1.5px 1.5px 0;
    padding: 8px;
    margin-right: 0;
    transform: rotate(135deg);
}

.custom-mobile-menu li.open {
    background: #e8e1d2;
}
.custom-mobile-menu li.open > .sub-menu {
    background: #e8e1d2;
    padding-bottom: 12px;
}
.custom-mobile-menu li.open > a {
    background: #e8e1d2;
}