/*
 Theme Name:     Divi Child
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         Elegant Themes
 Author URI:     https://www.elegantthemes.com
 Template:       Divi
 Version:        1.0.20
*/
 
 
/* =Theme customization starts here
------------------------------------------------------- */

/* Fix broken detail page on Divi builder */
#zpa-listing-detail{width:100%;}
#zpa-main-container .input-group{display:inline-block !important;}
#zpa-main-container .modal { z-index: 999999; }

body.single-zipperagent-lp #page-container {
    padding-top: 0!important;
}
#main-header{
    z-index: 99999!important;
}

#myHeader{
	display: none!important;
}
#top-header{
    height: 39px!important;
}
.et_fixed_nav #top-header {
    top: 0;
    left: 0;
    right: 0;
    z-index:99999;
    font-size:12px;
    position: fixed!important;
    min-height:33.8px
}
.cart-contents-count {
    position: relative;
    top: -11px;
    display: inline-block;
    right: 21px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: normal;
    font-size: 11px;
    height: 20px;
    width: 20px;
    vertical-align: middle;
    text-align: center;
    color: #fff;
    background: #E91E63;
    border-radius: 50%;
}
:root :where(a:where(:not(.wp-element-button))) {
    text-decoration: none!important;
}

/* za-* Display Classes */
.za-flex {
    display: flex;
}

@media (max-width: 767px) {
.za-flex {
    flex-direction: column;
}
}

.za-inline {
    display: inline;
}

.za-block {
    display: block;
}

.za-inline-block {
    display: inline-block;
}

.za-none {
    display: none;
}
.za-boxshadow{
    box-shadow:15px 42px 60px -10px rgba(0,0,0,.08);
}
/* for hide top banner */
.et_header_style_fullscreen #et_top_search, .et_header_style_slide #top-header, .et_header_style_fullscreen #top-header{
    display: block!important;
}
.rank-math-breadcrumb{
    max-width: 1200px;
    margin: auto;
    padding: 1% 0 0 0;
}




/* =============================================
   Right Sidebar Menu Styles
   ============================================= */

/* Hamburger Toggle Button - Inside Main Nav */
.right-sidebar-menu-toggle {
    position: relative;
    right: 0;
    float: right;
    top: 50%;
    transform: translateY(-37%);
    padding: 10px;
    cursor: pointer;
    z-index: 99999;
    transition: all 0.3s ease;
    margin-left: 10px;
}

.right-sidebar-menu-toggle:hover .bar {
    background: #2ea3f2;
}

.right-sidebar-menu-toggle .bar {
    display: block;
    width: 22px;
    height: 2px;
    background: #333;
    margin: 5px 0;
    border-radius: 2px;
    transition: all 0.3s ease;
}


/* Adjust search icon to make room for hamburger */
#et_top_search {
    margin-right: 50px;
}

/* Overlay */
.right-sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.right-sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Sidebar Container */
.right-sidebar-menu-container {
    position: fixed;
    top: 0;
    right: -350px;
    width: 350px;
    max-width: 90vw;
    height: 100%;
    background: #fff;
    z-index: 100000;
    box-shadow: -5px 0 25px rgba(0,0,0,0.15);
    transition: right 0.3s ease;
    overflow-y: auto;
}

.right-sidebar-menu-container.active {
    right: 0;
}

/* Sidebar Header */
.right-sidebar-menu-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 15px 20px;
    background: #f7f7f7;
    border-bottom: 1px solid #e5e5e5;
}

.right-sidebar-close {
    font-size: 30px;
    cursor: pointer;
    color: #333;
    line-height: 1;
    transition: color 0.3s ease;
}

.right-sidebar-close:hover {
    color: #2ea3f2;
}

/* Sidebar Menu Content */
.right-sidebar-menu-content {
    padding: 20px 0;
}

.right-sidebar-menu-content ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.right-sidebar-menu-content ul li {
    border-bottom: 1px solid #f0f0f0;
}

.right-sidebar-menu-content ul li a {
    display: block;
    padding: 15px 25px;
    color: #333;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.right-sidebar-menu-content ul li a:hover {
    background: #f7f7f7;
    color: #2ea3f2;
    padding-left: 30px;
}

/* Submenu Styles */
.right-sidebar-menu-content ul li.menu-item-has-children > a::after {
    content: '+';
    float: right;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.right-sidebar-menu-content ul li.menu-item-has-children.submenu-open > a::after {
    content: '-';
}

.right-sidebar-menu-content ul li .sub-menu {
    display: none;
    background: #f9f9f9;
}

.right-sidebar-menu-content ul li.submenu-open > .sub-menu {
    display: block;
}

.right-sidebar-menu-content ul li .sub-menu li a {
    padding-left: 40px;
    font-size: 14px;
}

.right-sidebar-menu-content ul li .sub-menu li a:hover {
    padding-left: 45px;
}

/* Body class when sidebar is open */
body.right-sidebar-open {
    overflow: hidden;
}

/* Hide default Divi mobile menu bar only when right sidebar menu is enabled */
body.right-sidebar-menu-enabled .mobile_menu_bar {
    display: none !important;
}

/* Responsive adjustments */
@media (max-width: 980px) {
    .right-sidebar-menu-toggle {
        transform: translateY(-30%);
    }

    .right-sidebar-menu-container {
        width: 100%;
        right: -100%;
    }

    #et_top_search {
        margin-right: 45px;
    }
}

/* new code for next and prev */
.custom-post-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
    padding-top: 25px;
    border-top: 1px solid #dddddd;
}

.custom-post-navigation a {
    display: inline-block;
    padding: 12px 24px;
    background: #6a6a6a;
    color: #ffffff !important;
    border-radius: 5px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.custom-post-navigation a:hover {
    background: #000000;
    color: #ffffff !important;
}

.custom-prev-post {
    text-align: left;
}

.custom-next-post {
    text-align: right;
    margin-left: auto;
}
@media (max-width: 767px) {

    .custom-post-navigation {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
        flex-direction: row;
    }

    .custom-prev-post,
    .custom-next-post {
        width: auto;
        margin: 0;
    }

    .custom-post-navigation a {
        width: auto;
        padding: 10px 16px;
        font-size: 13px;
        white-space: nowrap;
    }

    .custom-next-post {
        margin-left: auto;
    }
}