.navigation-grid {
    width: 100%;
    padding: 20px;
    gap: 10px;
}

.dropdown-list-full-wrapper {
    padding: 0px !important;
    min-width: 100%;
    width: 100%;
    background-color: white;
}

.navigation-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    width: 65%;
    align-items: center;
}

.navigation-link {
    white-space: nowrap;
    width: max-content;
    padding: 10px 16px;
    text-decoration: none;
    transition: background-color 0.3s;
}


@media screen and (max-width: 991px) {
    .navigation-container {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
    }
    
    .navigation-left {
        display: flex !important;
        align-items: center !important;
        flex: 0 0 auto !important;
        width: auto !important;
    }
    
    .navigation-right {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        flex: 0 0 auto !important;
        width: auto !important;
        gap: 10px;
    }
    
    .menu-button {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer;
        padding: 0 !important;
        font-size: 24px !important;
        border: 1px solid rgba(17, 17, 17, 0.1) !important;
        border-radius: 10px !important;
        color: #000 !important;
        margin: 0 !important;
        height: 56px;
        width: 56px;
        flex-shrink: 0;
        z-index: 1001;
        position: relative;
    }
    
    .menu-button .w-icon-nav-menu {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .nav-menu {
        position: absolute;
        top: 100px;
        left: -100%;
        flex-direction: column;
        background-color: #fff;
        width: 100%;
        height: calc(100vh - 100px);
        transition: left 0.3s ease;
        padding: 20px;
        overflow-y: auto;
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .dropdown-list {
        position: static !important;
        opacity: 1 !important;
        transform: none !important;
        display: none;
        background: transparent;
        box-shadow: none;
        padding-left: 20px;
    }

    .dropdown-list.w--open {
        display: block;
        padding-top: 0px;
    }

    .dropdown-toggle {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 0;
        border-bottom: 1px solid rgba(0,0,0,0.1);
    }

    .menu-button.w--open {
        color: #000;
    }

    .navigation-row {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .navigation-column + .navigation-column {
        margin-top: 0;
        padding-top: 0;
    }

    .dropdown-list-full-wrapper {
        min-width: auto;
    }

    .navigation-grid {
        width: 100%;
        padding: 0;
    }

    .navigation-row {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .navigation-column {
        width: 100%;
    }

    .navigation-column .navigation-link {
        padding: 15px 0;
        border-bottom: 1px solid rgba(0,0,0,0.1);
        width: 100%;
    }

    .navigation-column:last-child .navigation-link:last-child {
        border-bottom: none;
    }

    .dropdown-list-full-wrapper {
        min-width: 100%;
        padding: 0 !important;
        box-shadow: none !important;
    }

    .navigation-drop-container {
        padding: 0;
    }

    .navigation-column .navigation-link {
        border-bottom: none !important;
    }

    .navigation-column:last-child .navigation-link:last-child {
        border-bottom: none !important;
    }

    .dropdown-toggle {
        border-bottom: none !important;
    }
}

@media screen and (min-width: 992px) {
    .menu-button {
        display: none !important;
    }
    
    .nav-menu {
        display: flex !important;
        position: static;
        height: auto;
        background: none;
    }
}

@media screen and (max-width: 585px) {
    .navigation-right .button-navigation.w-button,
    .navigation-right .desktop-nav-button {
        display: none !important;
    }
}

@media screen and (max-width: 480px) {
    .navigation-right .button-navigation.w-button {
        display: none !important;
    }
    
    .nav-menu .button-navigation.w-button {
        display: block !important;
        margin: 10px 0;
        width: 100%;
        text-align: center;
    }
}

.mobile-nav-button {
    display: none !important;
}

/* Show desktop nav button between 586px and 991px */
@media screen and (min-width: 586px) and (max-width: 991px) {
    .desktop-nav-button {
        display: block !important;
    }
}

/* Hide desktop nav button at 585px and below */
@media screen and (max-width: 585px) {
    .desktop-nav-button {
        display: none !important;
    }
    
    .mobile-nav-button {
        display: block !important;
        width: 100%;
        margin: 10px 0;
        text-align: center;
    }
    
    .nav-menu .mobile-nav-button {
        padding: 15px 0;
        border-bottom: 1px solid rgba(0,0,0,0.1);
    }
}

.button-navigation.w-button {
    padding: 18px 24px !important;
    font-size: 16px !important;
    min-height: 56px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    border-radius: 10px;
}

@media screen and (max-width: 480px) {
    .navigation-right .button-navigation.w-button.desktop-nav-button {
        display: none !important;
    }
    
    .mobile-nav-buttons {
        display: flex !important;
        flex-direction: column;
        gap: 10px;
        padding: 15px 0;
    }
    
    .mobile-nav-buttons .nav-link {
        display: block !important;
        width: 100%;
        padding: 15px 0;
        border-bottom: 1px solid rgba(0,0,0,0.1);
        color: #fff;
        background-color: #33a1fd;
        border-radius: 10px;
        text-align: center;
        font-weight: 700;
    }
}
.nav-menu.active .mobile-nav-buttons {
    display: flex !important;
}

.mobile-only {
    display: none !important;
}

@media screen and (max-width: 480px) {
    .mobile-only {
        display: block !important;
    }
    
    .navigation-right .button-navigation.w-button {
        display: none !important;
    }
}

@media screen and (max-width: 1269px) {
    .navigation-link {
        padding: 10px 16px;  
        font-size: 14px;     
    }
}
.dropdown-list .navigation-link {
    width: max-content;
    padding: 10px 16px;
}

.navigation-link.w-inline-block {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;  
    width: auto;        
    min-width: fit-content;
    border-radius: 8px;
    transition: all 200ms ease;
    text-decoration: none;
}

.navigation-link.w-inline-block div {
    width: 100%;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;   
    text-overflow: ellipsis;
}

.page-grid-rec-book-nav {
    width: 100%;
    grid-column-gap: 10px;
    grid-row-gap: 0px;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
}

.navigation-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.navigation-column .navigation-link {
    width: 100%;
    text-align: left;
    padding: 10px 16px;
}

.dropdown-list-full-wrapper {
    min-width: 400px;
    padding: 20px;
}

.navigation-column:last-child .navigation-link:last-child {
    border-bottom: none;
}

.dropdown-list-full-wrapper {
    min-width: 100%;
}

.navigation-drop-container {
    padding: 20px;
}

.navigation-grid {
    display: grid;
    grid-auto-columns: 1fr;
    width: 100%;
    grid-column-gap: 10px;
    grid-row-gap: 0px;
    grid-template-columns: 1fr 1fr;
}

.navigation-column {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.navigation-link {
    display: flex;
    padding: 10px 16px;
    align-items: center;
    border-radius: 8px;
    transition: all 200ms ease;
    font-size: 16px;
    line-height: 1.5;
    text-decoration: none;
    color: #252b2d;
    text-align: left;
    font-family: Karla, sans-serif;
}

/* Remove any extra padding/margins */
.dropdown-list-full-wrapper {
    padding: 0;
}

.navigation-row {
    display: flex;
    gap: 20px;
    padding: 0;
}

.book-image {
    width: 100% !important;
    height: auto !important;
    min-height: auto !important;
    max-width: 100% !important;
    object-fit: contain !important;
    display: block !important;
}

.navigation-link:hover,
.navigation-link.w-inline-block:hover,
.navigation-link.w--current:hover,
.dropdown-list .navigation-link:hover,
.navigation-column .navigation-link:hover,
.w-dropdown-toggle .navigation-link:hover,
.navigation-link:visited:hover {
    background-color: rgba(0, 0, 0, 0.05) !important;
    text-decoration: none !important;
    color: #252b2d !important;
}

.dropdown-toggle:hover,
.w-dropdown-toggle:hover {
    background-color: transparent !important;
}

@media screen and (max-width: 479px) {
    .navigation-link:hover {
        background-color: rgba(0, 0, 0, 0.05) !important;
        color: #252b2d !important;
    }
}
