/* JCB Custom Mobile Menu Styles */

.jcb-mobile-menu-container {
    position: fixed;
    top: 0; /* Fallback, overridden by JS */
    left: 0;
    width: 100%;
    height: 100%; /* Fallback */
    height: 100dvh; /* Modern fallback */
    background: #FFFFFF;
    z-index: 9999;
    display: none;
    flex-direction: column;
    padding: 0;
    overflow-x: hidden; 
    overflow-y: auto;
}

.jcb-mobile-menu-container.is-active {
    display: flex;
}

/* Remove bottom border on sticky header when menu is open */
body:has(.jcb-mobile-menu-container.is-active) header .elementor-sticky--active {
    border-bottom: none !important;
}

/* Header Area Cleaned Up */

/* Hamburger Design: 24.5px x 21px */
.jcb-mm-toggle {
    width: 24.5px;
    height: 21px;
    position: relative;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.jcb-mm-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: #000000;
    transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.jcb-mm-toggle.is-active span:nth-child(1) {
    transform: translateY(9.5px) rotate(45deg);
}

.jcb-mm-toggle.is-active span:nth-child(2) {
    opacity: 0;
}

.jcb-mm-toggle.is-active span:nth-child(3) {
    transform: translateY(-9.5px) rotate(-45deg);
}

/* Main Menu Body: Frame 134 */
.jcb-mm-body {
    display: flex;
    flex-direction: column;
    padding: 0 15px;
    flex: 1;
}

.jcb-mm-item {
    flex-shrink: 0;
}

/* Menu Item: Buttons */
.jcb-mm-item-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    text-decoration: none;
    font-family: 'JCB Euro Roman', Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    font-size: 16px;
    line-height: 120%;
    color: #000000!important;
    padding-bottom: 2px;
    padding: 24px 0;
    text-transform: uppercase;
}

.jcb-mm-item-link.is-sale {
    color: #E90000;
}

/* Separator Line: rgba(67, 67, 67, 0.1) */
.jcb-mm-line {
    width: 100%;
    height: 0px;
    border: 0.5px solid rgba(67, 67, 67, 0.1);
}

/* Chevron: Font Awesome 7 Pro */
.jcb-mm-chevron {
    width: 9px;
    height: 17px;
    font-family: 'Font Awesome 7 Pro', sans-serif;
    font-size: 14px;
    line-height: 120%;
    color: #000000;
    opacity: 0.4;
}

/* Footer Section: Frame 138 */
.jcb-mm-footer {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.jcb-mm-footer-link {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 12px;
    line-height: 120%;
    color: #000000!important;
    text-decoration: none!important;
}

/* SUB MENU STYLES */

.jcb-mm-sub {
    position: absolute;
    top: 0;
    left: 100%;
    width: 100%;
    height: 100%;
    background: #FFFFFF;
    transition: left 0.3s ease;
    display: flex;
    flex-direction: column;
    z-index: 50; /* Above main items */
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

.jcb-mm-sub.is-active {
    left: 0;
    z-index: 100;
}

/* Back to Menu Button */
.jcb-mm-back-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    background: #434343;
    border-radius: 2px;
    text-decoration: none;
    color: #FFFFFF;
    font-family: 'JCB Euro Roman', Sans-serif;
    font-size: 16px;
    line-height: 120%;
    text-transform: uppercase;
    width: 100%;
}

/* Sub-menu title marker: Frame 139 */
.jcb-mm-sub-header {
    background: rgba(217, 217, 217, 0.4);
    height: 38px;
    display: flex;
    align-items: center;
    padding: 0 15px;
    margin-top: 24px;
    flex-shrink: 0;
}

.jcb-mm-sub-header .jcb-mm-item-link {
    padding: 0;
}

.jcb-mm-sub-title {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 12px;
    line-height: 120%;
    color: #000000;
    text-transform: uppercase;
}

.jcb-mm-sub-body {
    display: flex;
    flex-direction: column;
    padding: 0 15px;
}

.jcb-mm-item-link.is-shop-all {
    text-decoration: underline;
}

.jcb-mm-sub-body .jcb-mm-item-link {
    text-transform: none;
    padding: 24px 0;
}

.jcb-mm-sub-back-btn-wrapper {
    padding: 0 15px;
}

.jcb-mm-body > .jcb-mm-item:first-child .jcb-mm-item-link {
    padding-top: 12px!important;
}