.woocommerce-dashboard .woocommerce,
.woocommerce-edit-address .woocommerce,
.woocommerce-edit-account .woocommerce,
.woocommerce-orders .woocommerce,
.woocommerce-downloads .woocommerce,
.woocommerce-view-order .woocommerce  {
    display: flex !important;
    margin-bottom: 30px;
}



.woocommerce-account .woocommerce-MyAccount-content {
    width: 80%;
}
.custom-account-navigation {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    align-self: stretch;
    width: 20%;
    border-right: 1px solid #ececec;
}

.custom-account-navigation .navigation-section {
    margin-bottom: 20px;
}

.custom-account-navigation .section-title {
    font-size: 14px;
    color: #999;
    margin-bottom: 10px;
    font-weight: normal;
}

.custom-account-navigation .section-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.custom-account-navigation .section-menu li {
    margin-bottom: 15px;
}

.custom-account-navigation .section-menu li a {
    font-size: 18px;
    color: #333;
    text-decoration: none;
    display: block;
    padding: 5px 0;
    font-weight: 500;
    transition: color 0.2s ease;
    padding: 5px;
    border-radius: 5px;
}

.custom-account-navigation .section-menu li.is-active a {
    font-weight: 600;
    color: black;
    background-color: #eaeaea;
}

.custom-account-navigation .section-menu li a:hover {
    color: #000;
    background-color: #eaeaea;
}

/* Add divider between sections */
.custom-account-navigation .navigation-section.purchases {
    position: relative;
    padding-top: 20px;
}

.custom-account-navigation .navigation-section.purchases:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #eee;
}

/* Hamburger menu styles */
.hamburger-menu-toggle {
    display: none;
    cursor: pointer;
    background-color: #005959;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    margin-bottom: 15px;
    align-items: center;
    font-weight: 500;
}

.hamburger-icon {
    display: inline-block;
    width: 20px;
    height: 2px;
    background-color: white;
    position: relative;
    margin-right: 10px;
}

.hamburger-icon:before,
.hamburger-icon:after {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    background-color: white;
    left: 0;
}

.hamburger-icon:before {
    top: -6px;
}

.hamburger-icon:after {
    bottom: -6px;
}

.hamburger-menu-toggle.active .hamburger-icon {
    background-color: transparent;
}

.hamburger-menu-toggle.active .hamburger-icon:before {
    transform: rotate(45deg);
    top: 0;
}

.hamburger-menu-toggle.active .hamburger-icon:after {
    transform: rotate(-45deg);
    bottom: 0;
}
/* Sticky behavior styles */
.custom-account-navigation.is-sticky {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
    margin-bottom: 20px;
}
/* Responsive styles */
@media (max-width: 767px) {
    .woocommerce-dashboard .woocommerce,
.woocommerce-edit-address .woocommerce,
.woocommerce-edit-account .woocommerce,
.woocommerce-orders .woocommerce,
.woocommerce-downloads .woocommerce {
        flex-direction: column;
        gap: 0px;
    }
    .woocommerce-account .woocommerce-MyAccount-content {
        padding: 0px !important;
    }
    .custom-account-navigation {
        padding: 0 !important;
        width: 100%;
        position: -webkit-sticky;
        position: sticky;
        top: 0;
        z-index: 999;
    }
    
    .hamburger-menu-toggle {
        display: flex;
        border-radius: 0;
        padding: 20px;
        margin: 0;
    }
    
    .nav-menu-container {
        display: none;
    }
    
    .nav-menu-container.active {
        display: block;
        padding: 20px;
        border-bottom : 1px solid #f7f7f7
    }
    
    .custom-account-navigation .section-menu li {
        margin-bottom: 10px;
    }
    
    .custom-account-navigation .section-menu li a {
        font-size: 16px;
    }
}

@media (max-width: 414px) {
    .woocommerce-account .woocommerce-MyAccount-content {

        width: 100% !important;
    }
}