/* Products dropdown: left menu + right preview panel */
#menu-item-644 > .sub-menu.nav-dropdown {
    display: grid;
    grid-template-columns: 250px 1fr;
    align-items: start;
    width: 660px;
    min-height: 250px;
    padding: 16px 0;
}

/* Left-side menu items */
#menu-item-644 > .sub-menu.nav-dropdown > li {
    grid-column: 1;
    display: block;
    width: 250px;
    position: static;
}

/* Left-side links */
#menu-item-644 > .sub-menu.nav-dropdown > li > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 250px;
    cursor: pointer;
}

/* Hide original nested submenus because JS will copy them into the right panel */
#menu-item-644 > .sub-menu.nav-dropdown > li:not(.jsc-product-menu-panel) > .sub-menu,
#menu-item-644 > .sub-menu.nav-dropdown > li:not(.jsc-product-menu-panel) > ul.children {
    display: none !important;
}

/* JS-created right panel */
#menu-item-644 > .sub-menu.nav-dropdown > li.jsc-product-menu-panel {
    grid-column: 2;
    grid-row: 1 / span 99;
    align-self: stretch;
    width: auto;
    min-height: 218px;
    padding: 0 10px 0 20px;
    margin: 0;
    border-left: 1px solid #eee;
    background: #fff;
    list-style: none;
}

/* Product links inside right panel */
#menu-item-644 .jsc-product-menu-panel ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

#menu-item-644 .jsc-product-menu-panel li > a {
    display: block;
    padding: 7px 0;
    font-size: 16px;
    font-weight: 400;
}

/* Text panel for items like Order Samples */
#menu-item-644 .jsc-product-menu-panel__text {
    padding: 7px 0;
    color: #777;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
}

/* Active/open category state */
#menu-item-644 > .sub-menu.nav-dropdown > li.is-open > a {
    color: #000;
    font-weight: 600;
}

/* Only items controlled by the JS panel get a plus/minus */
#menu-item-644 > .sub-menu.nav-dropdown > li.jsc-has-panel > a::after {
    content: "+";
    margin-left: 6px;
    font-weight: 400;
}

#menu-item-644 > .sub-menu.nav-dropdown > li.jsc-has-panel.is-open > a::after {
    content: "−";
}

#menu-item-644 .jsc-product-menu-panel__list {
    display: block !important;
    margin: 0;
    padding: 0;
    list-style: none;
}

#menu-item-644 .jsc-product-menu-panel__list li {
    display: block;
    border-bottom: 1px solid #eee;
}

#menu-item-644 .jsc-product-menu-panel__list li > a {
    display: block;
    padding: 7px 0;
    font-size: 16px;
    font-weight: 400;
}

/* Generated product menu item */
.nav-dropdown .jsc-generated-product-menu-item > a {
    font-size: 13px;
    font-weight: 400;
    opacity: 0.8;
}

/* Order Samples link styling */
.nav-column > li.order-samples-parent > a,
.nav-dropdown > li.order-samples-parent > a,
.nav-vertical-fly-out > li.order-samples-parent > a,
.nav > li.order-samples-parent > a {
    color: black;
    font-size: .8em;
}

