.elementor-15640 .elementor-element.elementor-element-9754f29{--display:flex;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;}/* Start custom CSS for container, class: .elementor-element-9754f29 *//* =========================================================
   KALABACK — MEGA MENU v7
   Visual goal: Digikala-like two-pane hover mega menu.

   RIGHT  : only main categories, vertical.
   LEFT   : selected main category.
   GROUPS : horizontal columns.
   LINKS  : vertical underneath each group.
   ========================================================= */

:root {
    --kb7-orange: #FF7A00;
    --kb7-orange-deep: #E66E00;
    --kb7-orange-very-soft: #FFF5EC;
    --kb7-navy: #17243A;
    --kb7-text: #3E4651;
    --kb7-muted: #7B828C;
    --kb7-muted-2: #9AA0A8;
    --kb7-line: #E7E9EC;
    --kb7-line-soft: #F0F1F3;
    --kb7-white: #FFFFFF;
    --kb7-sidebar: #FBFBFC;
    --kb7-shadow: 0 16px 40px rgba(23,36,58,.13), 0 3px 10px rgba(23,36,58,.06);
}

.kbmm7,
.kbmm7 * {
    box-sizing: border-box;
}

.kbmm7 {
    direction: rtl;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    font-family: Vazirmatn, IRANSansX, IRANSans, Tahoma, Arial, sans-serif;
    color: var(--kb7-text);
    background: transparent;
}

.kbmm7 a {
    text-decoration: none !important;
}

/* ---------- WoodMart: let the theme open the dropdown, but remove its
   native child-menu copy so users only see the mega menu below. ---------- */
.wd-nav > .menu-item > .wd-dropdown:has(.kbmm7) {
    width: min(1240px, calc(100vw - 28px)) !important;
    max-width: calc(100vw - 28px) !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
}

.wd-nav > .menu-item > .wd-dropdown:has(.kbmm7) .wd-dropdown-inner {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}

.kbmm7-hidden-native-child {
    display: none !important;
}

/* ---------- Window ---------- */
.kbmm7-window {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 232px;
    grid-template-areas: "left right";
    width: 100%;
    height: min(610px, calc(100vh - 150px));
    min-height: 480px;
    overflow: hidden;
    background: var(--kb7-white);
    border: 1px solid var(--kb7-line);
    border-radius: 0 0 16px 16px;
    box-shadow: var(--kb7-shadow);
}

/* ---------- LEFT PANE ---------- */
.kbmm7-left {
    grid-area: left;
    min-width: 0;
    min-height: 0;
    background: #fff;
}

.kbmm7-panels {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background:
        radial-gradient(circle at 16% 6%, rgba(255,122,0,.025), transparent 22%),
        #fff;
}

.kbmm7-empty-state {
    position: absolute;
    inset: 0;
    display: block;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 100%;
    padding: 30px;
    text-align: center;
    color: #B0B5BC;
    transition: opacity .12s ease, visibility .12s ease;
}

.kbmm7-empty-state[aria-hidden="true"] {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.kbmm7-empty-state-line {
    display: none;
    width: 40px;
    height: 40px;
    border: 1px solid var(--kb7-line);
    border-radius: 11px;
    background: #fff;
    box-shadow: 0 5px 16px rgba(23,36,58,.045);
}

.kbmm7-empty-state p {
    display: none;
    margin: 0 !important;
    max-width: 360px;
    font-size: 12px;
    line-height: 2;
}

/* ---------- PANELS ---------- */
.kbmm7-panel {
    position: absolute;
    inset: 0;
    display: none;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 18px 26px 28px;
    background: #fff;
    scrollbar-width: thin;
    scrollbar-color: #D6DADE transparent;
    animation: kbmm7-in .13s ease both;
}

.kbmm7-panel.is-active {
    display: block;
}

@keyframes kbmm7-in {
    from { opacity: 0; transform: translateX(-4px); }
    to { opacity: 1; transform: translateX(0); }
}

/* ---------- PANEL HEADER ---------- */
.kbmm7-panel-head {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 44px;
    margin: 0 0 18px;
    padding: 0 0 12px;
    border-bottom: 1px solid var(--kb7-line-soft);
    gap: 20px;
}

.kbmm7-panel-heading { display: none !important; }

.kbmm7-panel-heading-bar {
    width: 3px;
    height: 23px;
    flex: 0 0 auto;
    border-radius: 999px;
    background: var(--kb7-orange);
}

.kbmm7-panel-heading h2 {
    margin: 0 !important;
    color: var(--kb7-navy);
    font-size: 17px;
    font-weight: 800;
    line-height: 1.7;
    white-space: nowrap;
}

.kbmm7-view-all {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    order: 2;
    flex: 0 0 auto;
    color: var(--kb7-orange);
    font-size: 11.5px;
    font-weight: 700;
    line-height: 1.8;
    white-space: nowrap;
    transition: gap .12s ease, color .12s ease;
}

.kbmm7-view-all:hover {
    gap: 8px;
    color: var(--kb7-orange-deep);
}

.kbmm7-view-all-arrow {
    font-size: 16px;
    line-height: 1;
}

/* ---------- GROUP GRID: category headings are horizontal ---------- */
.kbmm7-groups {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
    align-items: start;
    column-gap: 32px;
    row-gap: 28px;
    width: 100%;
}

.kbmm7-group {
    min-width: 0;
}

.kbmm7-group-title {
    display: flex !important;
    align-items: center;
    width: 100%;
    min-width: 0;
    min-height: 27px;
    margin: 0 0 7px !important;
    padding: 0 0 6px !important;
    color: var(--kb7-navy);
    border-bottom: 1px solid var(--kb7-line-soft);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.8;
    transition: color .12s ease;
}

.kbmm7-group-title:hover,
.kbmm7-group-title:focus-visible {
    color: var(--kb7-orange);
    outline: none;
}

.kbmm7-group-bar {
    width: 3px;
    height: 18px;
    flex: 0 0 auto;
    margin-left: 8px;
    border-radius: 999px;
    background: var(--kb7-orange);
    transition: height .12s ease;
}

.kbmm7-group-title:hover .kbmm7-group-bar,
.kbmm7-group-title:focus-visible .kbmm7-group-bar {
    height: 22px;
}

.kbmm7-group-title-text {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.kbmm7-group-title-arrow {
    margin-right: auto;
    color: #B0B6BD;
    font-size: 14px;
    line-height: 1;
    opacity: 0;
    transform: translateX(2px);
    transition: opacity .12s ease, color .12s ease, transform .12s ease;
}

.kbmm7-group-title:hover .kbmm7-group-title-arrow {
    opacity: 1;
    color: var(--kb7-orange);
    transform: translateX(0);
}

/* ---------- VERTICAL PRODUCT LINKS ---------- */
.kbmm7-links {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.kbmm7-link-item {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.kbmm7-link {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 27px;
    margin: 0 !important;
    padding: 1px 7px 1px 0 !important;
    border-radius: 4px;
    color: var(--kb7-muted);
    font-size: 11.6px;
    font-weight: 400;
    line-height: 1.85;
    transition: color .1s ease, background .1s ease, padding-right .1s ease;
}

.kbmm7-link:hover,
.kbmm7-link:focus-visible {
    padding-right: 12px !important;
    color: var(--kb7-orange);
    background: linear-gradient(90deg, transparent 0%, var(--kb7-orange-very-soft) 100%);
    outline: none;
}

.kbmm7-link-label {
    min-width: 0;
}

.kbmm7-link-arrow {
    color: #B2B7BD;
    font-size: 12px;
    line-height: 1;
    opacity: 0;
    transition: opacity .1s ease, color .1s ease;
}

.kbmm7-link:hover .kbmm7-link-arrow,
.kbmm7-link:focus-visible .kbmm7-link-arrow {
    opacity: 1;
    color: var(--kb7-orange);
}

/* Deeper menu levels remain vertical and become subtly indented. */
.kbmm7-links-level-2,
.kbmm7-links-level-3,
.kbmm7-links-level-4,
.kbmm7-links-level-5,
.kbmm7-links-level-6,
.kbmm7-links-level-7,
.kbmm7-links-level-8,
.kbmm7-links-level-9 {
    margin-right: 10px !important;
    padding-right: 10px !important;
    border-right: 1px solid var(--kb7-line-soft);
}

.kbmm7-links-level-2 .kbmm7-link,
.kbmm7-links-level-3 .kbmm7-link,
.kbmm7-links-level-4 .kbmm7-link,
.kbmm7-links-level-5 .kbmm7-link,
.kbmm7-links-level-6 .kbmm7-link,
.kbmm7-links-level-7 .kbmm7-link,
.kbmm7-links-level-8 .kbmm7-link,
.kbmm7-links-level-9 .kbmm7-link {
    min-height: 25px;
    font-size: 11px;
}

/* ---------- RIGHT SIDEBAR: main categories only ---------- */
.kbmm7-right {
    grid-area: right;
    min-width: 0;
    min-height: 0;
    height: 100%;
    background: #FBFBFC;
    border-left: 1px solid var(--kb7-line);
}

.kbmm7-right-list {
    width: 100%;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 6px 0 8px;
    scrollbar-width: thin;
    scrollbar-color: #D6DADE transparent;
}

.kbmm7-main-item {
    position: relative;
    display: grid !important;
    grid-template-columns: 36px minmax(0, 1fr) 14px;
    align-items: center;
    width: 100%;
    min-height: 54px;
    margin: 0 !important;
    padding: 0 12px 0 9px !important;
    color: #515A65;
    background: transparent;
    border-right: 3px solid transparent;
    border-top: 1px solid transparent;
    border-bottom: 1px solid transparent;
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1.8;
    cursor: pointer;
    transition: color .12s ease, background-color .12s ease, border-color .12s ease;
}

.kbmm7-main-item:hover,
.kbmm7-main-item:focus-visible,
.kbmm7-main-item.is-active {
    color: var(--kb7-orange);
    background: #fff;
    border-right-color: var(--kb7-orange);
    border-top-color: var(--kb7-line-soft);
    border-bottom-color: var(--kb7-line-soft);
    outline: none;
}

.kbmm7-main-icon {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border: 1px solid #DFE2E6;
    border-radius: 8px;
    background: #fff;
    color: #8C949D;
}

.kbmm7-main-icon svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.kbmm7-main-item:hover .kbmm7-main-icon,
.kbmm7-main-item:focus-visible .kbmm7-main-icon,
.kbmm7-main-item.is-active .kbmm7-main-icon {
    color: var(--kb7-orange);
    border-color: rgba(255,122,0,.23);
    background: var(--kb7-orange-very-soft);
}

.kbmm7-main-label {
    min-width: 0;
    padding-right: 8px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.kbmm7-main-arrow {
    color: #A7AEB6;
    font-size: 16px;
    line-height: 1;
    opacity: .75;
    transition: color .12s ease, opacity .12s ease;
}

.kbmm7-main-item:hover .kbmm7-main-arrow,
.kbmm7-main-item:focus-visible .kbmm7-main-arrow,
.kbmm7-main-item.is-active .kbmm7-main-arrow {
    color: var(--kb7-orange);
    opacity: 1;
}

/* ---------- EMPTY ---------- */
.kbmm7-no-items {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    min-height: 250px;
    color: var(--kb7-muted);
    text-align: center;
}

.kbmm7-no-items p {
    margin: 0 0 8px !important;
    font-size: 12px;
}

.kbmm7-no-items a,
.kbmm7-error {
    color: var(--kb7-orange);
    font-size: 11.5px;
    font-weight: 700;
}

.kbmm7-error {
    padding: 28px;
    text-align: center;
}

/* ---------- Responsive ---------- */
@media (min-width: 1440px) {
    .kbmm7-window {
        grid-template-columns: minmax(0, 1fr) 238px;
    }
}

@media (max-width: 1180px) {
    .kbmm7-window {
        grid-template-columns: minmax(0, 1fr) 215px;
    }

    .kbmm7-groups {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        column-gap: 22px;
    }
}

@media (max-width: 920px) {
    .kbmm7-window {
        grid-template-columns: minmax(0, 1fr) 194px;
    }

    .kbmm7-panel {
        padding-right: 20px;
        padding-left: 20px;
    }

    .kbmm7-groups {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 18px;
    }
}

@media (max-width: 767px) {
    .kbmm7-window {
        grid-template-columns: 1fr;
        grid-template-areas: "right" "left";
        height: auto;
        min-height: 0;
        border-radius: 0 0 14px 14px;
    }

    .kbmm7-right {
        border-left: 0;
        border-bottom: 1px solid var(--kb7-line);
    }

    .kbmm7-right-list {
        display: flex;
        width: 100%;
        height: auto;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 6px;
        gap: 5px;
    }

    .kbmm7-main-item {
        flex: 0 0 auto;
        grid-template-columns: 32px minmax(0, 1fr) 14px;
        width: 180px;
        min-height: 49px;
        border-right: 0;
        border-top: 0;
        border-bottom: 2px solid transparent;
        border-radius: 8px;
    }

    .kbmm7-main-item:hover,
    .kbmm7-main-item:focus-visible,
    .kbmm7-main-item.is-active {
        border-right-color: transparent;
        border-bottom-color: var(--kb7-orange);
    }

    .kbmm7-panels {
        height: 68vh;
        min-height: 420px;
    }

    .kbmm7-panel {
        padding: 16px 14px 22px;
    }

    .kbmm7-groups {
        grid-template-columns: 1fr;
        row-gap: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .kbmm7 *,
    .kbmm7 *::before,
    .kbmm7 *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}


/* KALABACK / WoodMart integration only — intentionally kept outside the preview design. */
.wd-dropdown.kbmm7-dropdown-host {
    width: min(1240px, calc(100vw - 28px)) !important;
    max-width: calc(100vw - 28px) !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
}
.wd-dropdown.kbmm7-dropdown-host .wd-dropdown-inner {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}
.kbmm7-hidden-native-child {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}
.kbmm7, .kbmm7 * { box-sizing: border-box !important; }
.kbmm7 { direction: rtl !important; text-align: right !important; }
@media (max-width: 767px) {
    .kbmm7-window {
        grid-template-columns: 1fr !important;
        grid-template-areas: 'right' 'left' !important;
        height: auto !important;
        min-height: 0 !important;
    }
}/* End custom CSS */