/*
Theme Name: Divi Child
Theme URI: http://www.elegantthemes.com/gallery/divi/
Template: Divi
Author: Elegant Themes
Author URI: http://www.elegantthemes.com
Description: Smart. Flexible. Beautiful. Divi is the most powerful theme in our collection.
Tags: responsive-layout,one-column,two-columns,three-columns,four-columns,left-sidebar,right-sidebar,custom-background,custom-colors,featured-images,full-width-template,post-formats,rtl-language-support,theme-options,threaded-comments,translation-ready
Version: 1.0
Updated: 2021-03-30 15:13:39
*/

/*Remove Breadcrumbs on Desktop and Mobile*/
.woocommerce .woocommerce-breadcrumb { display: none !important; }

.et_pb_post_slider_image_top .et_pb_slide_image {
    position: relative;
    margin: 0% auto 1%!important;
}
 
/* ==========================================================================
   Custom Standalone Mobile Menu
   ========================================================================== */

/* Desktop: hide custom mobile elements */
#custom-mobile-header,
#custom-mobile-overlay,
#custom-mobile-nav-panel {
    display: none;
}

@media screen and (max-width: 980px) {
    /* Hide standard Divi desktop header on mobile */
    #main-header,
    #top-header,
    .et_slide_in_menu_container,
    .mobile_menu_bar,
    .mob_menu,
    .mobmenu-panel,
    .mobmenu,
    .mob-menu-header-holder {
        display: none !important;
    }

    /* Prevent body scrolling when mobile menu is open */
    body.custom-mob-menu-active {
        overflow: hidden !important;
    }

    /* Push page content below fixed mobile header */
    #page-container {
        padding-top: 54px !important;
    }

    /* 1. Custom Mobile Header Bar */
    #custom-mobile-header {
        display: flex;
        align-items: center;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 54px;
        background: #ffffff;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        z-index: 99998;
        padding: 0 16px;
        box-sizing: border-box;
    }

    body.admin-bar #custom-mobile-header {
        top: 46px;
    }
    @media screen and (max-width: 600px) {
        body.admin-bar #custom-mobile-header {
            top: 0;
        }
    }

    .custom-mob-menu-btn {
        background: none;
        border: none;
        padding: 8px 10px 8px 0;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        outline: none;
    }

    .custom-mob-hamburger {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 22px;
        height: 16px;
    }

    .custom-mob-hamburger span {
        display: block;
        height: 2.5px;
        width: 100%;
        background-color: #111111;
        border-radius: 2px;
    }

    .custom-mob-logo-wrapper {
        display: flex;
        align-items: center;
        margin-left: 8px;
    }

    .custom-mob-logo-img {
        max-height: 36px;
        width: auto;
        display: block;
    }

    /* 2. Backdrop Overlay */
    #custom-mobile-overlay {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.65);
        z-index: 999998;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        -webkit-tap-highlight-color: transparent;
    }

    #custom-mobile-overlay.is-visible {
        opacity: 1;
        visibility: visible;
    }

    /* 3. Slide-in Drawer Panel */
    #custom-mobile-nav-panel {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: 280px;
        max-width: 85vw;
        height: 100vh;
        height: 100dvh;
        background: #333333;
        z-index: 999999;
        box-shadow: 4px 0 20px rgba(0, 0, 0, 0.35);
        transform: translateX(-100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-sizing: border-box;
    }

    body.admin-bar #custom-mobile-nav-panel {
        top: 46px;
        height: calc(100vh - 46px);
    }
    @media screen and (max-width: 600px) {
        body.admin-bar #custom-mobile-nav-panel {
            top: 0;
            height: 100vh;
        }
    }

    #custom-mobile-nav-panel.is-open {
        transform: translateX(0);
    }

    /* Panel Header with Close Button */
    .custom-mob-panel-header {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        padding: 12px 16px 8px;
        background: #ffffff;
        min-height: 44px;
        box-sizing: border-box;
    }

    .custom-mob-close-btn {
        background: none;
        border: none;
        padding: 4px;
        cursor: pointer;
        color: #444444;
        display: flex;
        align-items: center;
        justify-content: center;
        outline: none;
        transition: color 0.2s ease;
    }

    .custom-mob-close-btn:hover {
        color: #000000;
    }

    /* Panel Content & Menu Navigation */
    .custom-mob-panel-content {
        flex: 1;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 40px;
    }

    .custom-mob-nav-list,
    .custom-mob-nav-list ul {
        list-style: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .custom-mob-nav-list li {
        position: relative !important;
        margin: 0 !important;
        padding: 0 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .custom-mob-nav-list li a {
        display: block !important;
        position: relative !important;
        padding: 13px 48px 13px 20px !important;
        color: #f0f0f0 !important;
        font-family: inherit;
        font-size: 15px !important;
        font-weight: 500;
        text-decoration: none !important;
        letter-spacing: 0.3px;
        word-break: break-word !important;
        transition: background-color 0.2s ease, color 0.2s ease;
    }

    .custom-mob-nav-list li a:hover,
    .custom-mob-nav-list li.current-menu-item > a,
    .custom-mob-nav-list li.current_page_item > a {
        background-color: rgba(255, 255, 255, 0.12) !important;
        color: #ffffff !important;
    }

    /* Submenu Expand Toggle Button */
    .custom-sub-toggle {
        position: absolute !important;
        right: 0 !important;
        top: 0 !important;
        width: 48px !important;
        height: 48px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: none !important;
        border: none !important;
        color: #cccccc !important;
        cursor: pointer !important;
        z-index: 5 !important;
        padding: 0 !important;
        margin: 0 !important;
        outline: none !important;
        -webkit-tap-highlight-color: transparent !important;
    }

    .custom-sub-toggle:hover {
        color: #ffffff !important;
    }

    .custom-sub-icon {
        display: block;
        transition: transform 0.25s ease;
    }

    .custom-sub-toggle.is-open .custom-sub-icon {
        transform: rotate(180deg);
    }

    /* Submenu Lists */
    .custom-mob-nav-list .sub-menu {
        display: none;
        background: #252525 !important;
    }

    .custom-mob-nav-list .sub-menu li a {
        padding-left: 32px !important;
        font-size: 14px !important;
        color: #d0d0d0 !important;
    }

    .custom-mob-nav-list .sub-menu .sub-menu {
        background: #1a1a1a !important;
    }

    .custom-mob-nav-list .sub-menu .sub-menu li a {
        padding-left: 44px !important;
        font-size: 13.5px !important;
        color: #bbbbbb !important;
    }
}