/* The category mega menu: the "categories" button, the rail of top-level categories and the panel of their children. */
.roham-theme .roham-cat-trigger {
    /* Mega anchors to .roham-nav-row-inner (full container width) */
    position: static !important;
}
.roham-theme .roham-cat-trigger-link svg,
.roham-theme .roham-cat-trigger-link i {
    font-size: 18px;
    width: 18px;
    height: 18px;
    line-height: 1 !important;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.roham-theme .roham-cat-trigger-link {
    font-weight: 700 !important;
    color: var(--ds-color-text-secondary) !important;
}
.roham-theme .roham-cat-trigger:hover > .roham-cat-trigger-link,
.roham-theme .roham-cat-trigger-link:hover,
.roham-theme .roham-cat-trigger.is-open > .roham-cat-trigger-link {
    color: var(--ds-color-primary) !important;
    border-bottom-color: var(--ds-color-primary) !important;
}
.roham-theme header.page-header nav.main-menu > ul > li.category-list:before,
.roham-theme header.page-header nav.main-menu > ul > li.category-list:hover:before {
    display: none !important;
    content: none !important;
    width: 0 !important;
    height: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
    box-shadow: none !important;
    background: none !important;
}
.roham-theme .roham-mega {
    --mega-cols: 4;
    --mega-max-h: var(--ds-mega-h);
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    width: 100%;
    height: var(--mega-max-h);
    max-height: var(--mega-max-h);
    background: var(--ds-color-surface);
    border-radius: 0 0 var(--ds-radius-lg) var(--ds-radius-lg);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .1);
    border: 1px solid var(--ds-color-border);
    border-top: none;
    z-index: 1300;
    overflow: hidden;
    grid-template-columns: var(--ds-mega-aside-w) minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr);
}
.roham-theme .roham-mega::before {
    content: "";
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
    height: 12px;
}
.roham-theme .roham-cat-trigger:hover > .roham-mega,
.roham-theme .roham-cat-trigger.is-open > .roham-mega {
    display: grid;
}
.roham-theme .roham-mega-scroll {
    scrollbar-width: thin;
    scrollbar-color: transparent transparent;
}
.roham-theme .roham-mega-scroll:hover,
.roham-theme .roham-mega-scroll:focus-within,
.roham-theme .roham-mega-scroll.is-scrolling {
    scrollbar-color: rgba(66, 71, 80, .3) transparent;
}
.roham-theme .roham-mega-scroll::-webkit-scrollbar {
    width: 4px;
}
.roham-theme .roham-mega-scroll::-webkit-scrollbar-track {
    background: transparent;
}
.roham-theme .roham-mega-scroll::-webkit-scrollbar-thumb {
    background: transparent;
    border-radius: 999px;
}
.roham-theme .roham-mega-scroll:hover::-webkit-scrollbar-thumb,
.roham-theme .roham-mega-scroll:focus-within::-webkit-scrollbar-thumb,
.roham-theme .roham-mega-scroll.is-scrolling::-webkit-scrollbar-thumb {
    background: rgba(66, 71, 80, .3);
}
.roham-theme .roham-mega-aside {
    background: var(--ds-color-surface-muted);
    border-left: 1px solid var(--ds-color-border);
    overflow-x: hidden;
    overflow-y: auto;
    min-height: 0;
    height: 100%;
}
.roham-theme .roham-mega-cats {
    list-style: none;
    margin: 0;
    padding: 0;
}
.roham-theme .roham-mega-cat {
    position: relative;
}
.roham-theme .roham-mega-cat-link {
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    padding: 10px 14px 10px 10px !important;
    min-height: 52px;
    color: var(--ds-color-text) !important;
    font-size: 13px;
    text-decoration: none !important;
    line-height: 1.3 !important;
    border: none !important;
    background: transparent;
    transition: background .12s ease, color .12s ease;
    font-weight: 500;
    box-sizing: border-box;
}
.roham-theme .roham-mega-cat-media {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .04);
}
.roham-theme .roham-mega-cat-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 3px;
}
.roham-theme .roham-mega-cat-fallback {
    font-size: 14px;
    font-weight: 700;
    color: #81858b;
    line-height: 1;
}
.roham-theme .roham-mega-cat-label {
    flex: 1;
    min-width: 0;
    line-height: 1.35;
}
.roham-theme .roham-mega-cat-link i {
    color: #a1a3a8;
    font-size: 18px;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    line-height: 1 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}
.roham-theme .roham-mega-cat.is-active .roham-mega-cat-link,
.roham-theme .roham-mega-cat:hover .roham-mega-cat-link {
    background: var(--ds-color-surface) !important;
    color: var(--ds-color-primary) !important;
    font-weight: 700;
}
.roham-theme .roham-mega-cat.is-active .roham-mega-cat-media {
    box-shadow: 0 0 0 1.5px var(--ds-color-primary-soft-strong);
}
.roham-theme .roham-mega-cat.is-active .roham-mega-cat-fallback,
.roham-theme .roham-mega-cat:hover .roham-mega-cat-fallback {
    color: var(--ds-color-primary);
}
.roham-theme .roham-mega-cat.is-active::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    left: auto;
    bottom: auto;
    transform: translateY(-50%);
    width: 3px;
    height: 28px;
    border-radius: 3px 0 0 3px;
    background: var(--ds-color-primary);
}
.roham-theme .roham-mega-cat.is-active .roham-mega-cat-link i,
.roham-theme .roham-mega-cat:hover .roham-mega-cat-link i {
    color: var(--ds-color-primary);
}
.roham-theme .roham-mega-panels {
    overflow: hidden;
    background: var(--ds-color-surface);
    min-width: 0;
    min-height: 0;
    height: 100%;
    position: relative;
}
.roham-theme .roham-mega-panel {
    display: none;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}
.roham-theme .roham-mega-panel.is-active,
.roham-theme .roham-mega-panel.is-active[hidden] {
    display: block !important;
}
.roham-theme .roham-mega-panel-inner {
    padding: 8px 16px 16px;
    min-height: 100%;
}
.roham-theme .roham-mega-panel-head {
    position: sticky;
    top: 0;
    z-index: 2;
    margin: -8px -16px 10px;
    padding: 10px 16px 6px;
    background: linear-gradient(180deg, #fff 75%, rgba(255, 255, 255, 0));
}
.roham-theme .roham-mega-all {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    color: var(--ds-color-primary) !important;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none !important;
    line-height: 1.3;
}
.roham-theme .roham-mega-all:hover {
    color: var(--ds-color-primary-hover) !important;
}
.roham-theme .roham-mega-all i {
    font-size: 16px;
}
.roham-theme .roham-mega-columns {
    display: block;
    column-count: var(--mega-cols, 4);
    column-gap: 28px;
    column-fill: balance;
    width: 100%;
    max-width: 100%;
}
.roham-theme .roham-mega-col {
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    margin: 0 0 12px;
    display: inline-block;
    width: 100%;
    vertical-align: top;
}
@media (min-width: 1400px) {
.roham-theme .roham-mega-columns {
        column-gap: 32px;
    }
}
@media (max-width: 1199.98px) {
.roham-theme .roham-mega-columns {
        column-gap: 22px;
    }
}
@media (max-width: 991.98px) {
.roham-theme .roham-mega {
        display: none !important;
    }
}
.roham-theme .roham-mega-col-title {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--ds-color-text) !important;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none !important;
    margin-bottom: 2px;
    line-height: 1.35;
    letter-spacing: -.01em;
}
.roham-theme .roham-mega-col-title::before {
    content: "";
    width: 2px;
    height: 12px;
    border-radius: 1px;
    background: var(--ds-color-primary);
    flex-shrink: 0;
}
.roham-theme .roham-mega-col-title:hover {
    color: var(--ds-color-primary) !important;
}
.roham-theme .roham-mega-col-list {
    list-style: none;
    margin: 0;
    padding: 0 0 0 8px;
}
.roham-theme .roham-mega-col-list li + li {
    margin-top: 0;
}
.roham-theme .roham-mega-col-list a {
    display: block;
    color: #81858b !important;
    font-size: 11px;
    line-height: 1.85;
    padding: 0;
    text-decoration: none !important;
    font-weight: 400 !important;
    transition: color .12s ease;
}
.roham-theme .roham-mega-col-list a:hover {
    color: var(--ds-color-primary) !important;
}
.roham-theme .roham-mega-col-more {
    display: inline-block;
    margin: 6px 0 0 10px;
    font-size: 11px;
    font-weight: 600;
    color: var(--ds-color-secondary) !important;
    text-decoration: none !important;
}
.roham-theme .roham-mega-col-more:hover {
    color: var(--ds-color-secondary-hover) !important;
}
.roham-theme .roham-mega-empty {
    padding: 48px 16px;
    text-align: center;
    color: var(--ds-color-text-muted);
}
.roham-theme .roham-mega-empty i {
    display: block;
    font-size: 32px;
    color: #c0c2c5;
    margin-bottom: 10px;
}
.roham-theme .roham-mega-empty p {
    margin: 0 0 10px;
    font-size: 13px;
}
.roham-theme .roham-mega-empty a {
    color: var(--ds-color-link) !important;
    font-size: 13px;
    font-weight: 600;
}
