/*
Theme Name: Kiddin Child
Template:   kiddin
Theme URI: https://1.envato.market/kiddin-wp
Description: Kiddin Child Theme
Author: AwaikenThemes
Author URI: https://awaikenthemes.com/
Version: 1.0.0
Text Domain: kiddin-child
*/

/* ============================================================
   MOBILE MENU FIX
   Fix: off-canvas nav items stretch to full height instead of
   stacking vertically, causing only 1-2 items to be visible.
   ============================================================ */

/* When off-canvas menu is open, stack nav items vertically */
.elementskit-menu-offcanvas-elements .elementskit-navbar-nav {
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    height: auto !important;
    width: 100% !important;
    align-items: stretch !important;
}

/* Each top-level nav item: reset height, make it a normal row */
.elementskit-menu-offcanvas-elements .elementskit-navbar-nav > li.menu-item {
    height: auto !important;
    width: 100% !important;
    flex-shrink: 0 !important;
}

/* Nav links: normal height, full width */
.elementskit-menu-offcanvas-elements .elementskit-navbar-nav > li.menu-item > a {
    height: auto !important;
    min-height: auto !important;
    width: 100% !important;
    align-items: center !important;
}

/* Sub-menu items: make them visible when dropdown opens */
.elementskit-menu-offcanvas-elements .elementskit-dropdown li.menu-item {
    visibility: visible !important;
}

/* Ensure the dropdown sub-menu can expand properly */
.elementskit-menu-offcanvas-elements .elementskit-dropdown {
    width: 100% !important;
    position: relative !important;
    box-shadow: none !important;
}

/* Ensure the whole menu container scrolls if needed */
.elementskit-menu-offcanvas-elements.active {
    overflow-y: auto !important;
    overflow-x: hidden !important;
}
