@font-face {
    font-family: "GothamBold";
    src: url("/fonts/Gotham/Gotham-Bold.otf") format("opentype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "GothamMedium";
    src: url("/fonts/Gotham/Gotham-Medium.otf") format("opentype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Gotham";
    src: url("/fonts/Gotham/Gotham-Book.otf") format("opentype");
    font-weight: 350;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Gotham";
    src: url("/fonts/Gotham/Gotham-Book.otf") format("opentype");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

.new-mobile-sub-filter-container {
    display: none !important;
}

.new-byom-container {
    max-width: 1752px !important;
    margin: 0 auto;
    gap: 2px;
}

.meal-card-redesign {
    width: 290px;
    height: 588px;
    position: relative;
    max-height: 588px !important;
}

.meal-card-redesign * {
    max-width: 100%;
    box-sizing: border-box;
}

.new-meal-image,
.meal-card-image,
.new-meal-card-redesign {
    width: 100%;
}

.meal-card-image {
    width: 290px;
    height: 290px;
    cursor: pointer;
}

.tooltip-macro-redesign {
    border-radius: 4px;
    padding: 3px;
    font-family: 'GothamBold';
    font-weight: 700;
    font-size: 14px;
    position: absolute;
    text-transform: uppercase;
    text-align: center;
    top: 8px !important;
    right: 8px !important;
    padding: 7px !important;
}

.meal-macros-redesign {
    text-align: center;
    width: 100%;
    height: 45px !important;
    background-color: #F4F4F4;
    justify-content: space-between;
    display: inline-flex;
    padding: 10px 16px;
    border-bottom: 1px solid #D9D9D9;
}

.meal-macros-redesign ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.meal-macros-redesign-li {
    width: 64px;
}

.inner p.average-label {
    font-family: 'Gotham';
    font-weight: 350;
    font-size: 12px;
    line-height: 100%;
    letter-spacing: 0;
    color: #595B61;
    padding-top: 4px;
}

.inner p.average {
    font-family: 'GothamBold';
    font-weight: 700;
    font-size: 12px;
    line-height: 100%;
    letter-spacing: 0;
    color: #595B61;
    margin-bottom: -3px;
}

.new-meal-card-redesign {
    width: 100%;
    padding: 8px 16px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 12px;
    height: 100%;
}

.new-meal-title-redesign {
    color: #212121;
    font-size: 16px;
    font-family: 'GothamMedium';
    font-weight: 500;
    line-height: 150%;
    word-wrap: break-word;
}

.new-meal-subtitle-redesign {
    color: #595B61;
    font-size: 14px;
    font-family: 'Gotham';
    font-weight: 350;
    line-height: 150%;
    word-wrap: break-word;
}

.new-meal-added-button-redesign {
    width: 100%;
    background: rgb(255, 106, 33);
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 4px;
    border-radius: 4px;
    justify-content: space-between;
    align-items: center;
    display: inline-flex;
    padding: 9px 16px;
}

.new-meal-price-discount-redesign {
    font-family: 'GothamBold';
    font-weight: 700;
    font-size: 20px;
    line-height: 120%;
}

.new-meal-price-orig-redesign {
    font-family: 'Gotham';
    font-weight: 350;
    font-size: 16px;
    line-height: 120%;
    text-decoration: line-through;
    color: #85878B;
}

.meal-switch-redesign {
    display: block;
    width: 151px;
    height: 35px;
    padding: 1px 12px;
    border-radius: 4px;
    background-color: #D6F1F0;
    border: 1px solid #007878;
    box-sizing: border-box;
    font-family: 'GothamMedium';
    font-weight: 500;
    font-size: 14px;
    line-height: 120%;


    /* caret adjustments */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.select-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

.select-wrapper::after {
    content: "›"; /* like > */
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%) rotate(90deg); /* rotate down */
    font-size: 35px;
    color: black;
    pointer-events: none;
}

.meal-switch-redesign option {
    font-family: 'Gotham';
    font-weight: 350;
    font-size: 14px;
    line-height: 20px;
    background-color: white;
    border-radius: 8px;
    height: 40px;
    justify-content: space-between;
    padding: 10px 16px;
}

#mobile-cal {
    display: none;
}

.mobile-macro-320 {
    display: none;
}
.mobile-macro {
    display: none;
}

.desktop-macro {
    display: block;
}

.new-filter-text-container.selected {
    padding-bottom: 6px;
}

.new-filter-text-container .new-filter-text {
    font-family: 'Gotham';
    font-size: 16px;
}

.new-filter-text-container .new-filter-text.selected {
    font-family: 'Gotham';
    font-weight: 350;
    font-size: 16px;
}

.overlay-macro-highlight {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}
.macro-highlights-container {
    display: flex;
    gap: 1px;
    background-color: white;
}

.macro-highlights-container .macro-highlight {
    flex: 1;
    background-color: black;
    color: white;
    padding: 6px 1px;
    font-family: 'Gotham';
    font-weight: 350;
    font-size: 12px;
    line-height: 100%;
    text-align: center;
}

.meal-group-new-title-redesign {
    font-family: 'GothamMedium';
    font-weight: 500;
    font-size: 20px;
    line-height: 100%;
    color: #85878B;
    max-width: 1752px !important;
    margin: 0 auto;
    /*margin-top: 24px !important;*/
    margin-bottom: 29px;
}

.new-sub-filter-container {
    padding: 0 !important;
}

.new-sub-filter-container::before, .new-sub-filter-container::after {
    height: 10% !important;
}

.new-main-filter-container {
    display: flex;
    flex-direction: column;
    width: 100% !important;
    max-width: 1753px !important;
}

.new-main-filter-container-row {
    width: 100% !important;
    background: hsl(0, 0%, 98%);
}

.byom-title {
    font-family: 'GothamMedium';
    font-weight: 500;
    font-size: 28px;
    line-height: 36px;
    align-self: flex-start;
    margin-bottom: 0;
}

.new-main-filter-sub-title span.weekly-plan {
    color: #212121;
    text-align: center;
    font-family: 'Gotham';
    font-size: 14px;
    font-style: normal;
    font-weight: 350;
    line-height: 120%;
}



.new-main-filter-sub-title a.how-does-it-work {
    color: #00B6B6;
    font-family: 'GothamBold';
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%; /* 14.4px */
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: none;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
}

.new-filter-pill-main-container {
    max-width: 1752px !important;
    margin: 0 auto;
    margin-bottom: 24px;
}

.new-filter-pill-container {
    width: max-content;
    height: 35px;
    padding: 8px 12px;
    border-radius: 50px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    display: inline-flex;
    /*margin-top: 10px;*/
    cursor: pointer;
    margin-right: 10px;
    border: 1px solid #D8D9DA;
    background: #FFF;
}
.new-filter-pill-main-container-mobile {
    margin-top: 10px !important;
}
.new-filter-pill-text {
    color: black;
    font-size: 12px;
    font-family: 'Gotham';
    font-weight: 350;
    word-wrap: break-word;
}

.new-filter-pill-icon {
    width: 16px;
    height: 16px;
    position: relative;
    color: black;
}

.new-filter-meal-count-text {
    color: #F16C1C;
    font-size: 14px !important;
    font-family: 'GothamMedium' !important;
    font-weight: 500 !important;
    word-wrap: break-word;
}

.new-filter-meal-count-container {
    width: 24px !important;
    height: 24px !important;
}

.new-meal-add-button {
    width: 100%;
    line-height: 100%;
    padding: 16px 24px !important;
}
.meal-card-content {
    margin-bottom: 24px;
}

.new-dietary-filter-text {
    font-family: 'Gotham' !important;
    font-size: 14px !important;
    font-weight: 350 !important;
    color: #344054 !important;
    line-height: 20px !important;
}

.new-dietary-filter-allergy-sub-text {
    font-family: 'Gotham' !important;
    font-size: 12px !important;
    font-weight: 350 !important;
    color: #595B61 !important;
    line-height: 120% !important;
}

.new-dietary-filter-allergy-text {
    font-family: 'GothamBold' !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #212121 !important;
}

.new-filter-dietary-container {
    margin-right: 0 !important;
}

.new-filter-pill-main-container-mobile {
    display: none !important;
}

.coupon-btn-banner {
    display: flex;
    padding: 12px;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    width: 100%;
    border-radius: 6px;
    border: 1px dashed var(--primary-high, #00B6B6);
    background: var(--teal-50, #E4F0F0);
}

.coupon-btn-banner span {
    color: var(--typography-high, #212121);
    text-align: center;
    font-size: 12px;
    font-style: normal;
    line-height: normal;
}

/* How it works modal */
.hiw-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hiw-modal {
    display: flex;
    max-width: 478px;
    padding: 48px;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    border-radius: 16px;
    background: #FFF;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    /* Hide scrollbar while keeping scroll functionality */
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

.hiw-modal::-webkit-scrollbar {
    display: none;  /* Chrome, Safari and Opera */
}

.hiw-modal .hiw-modal-title {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    align-self: stretch;
}

.hiw-modal .hiw-modal-title .hiw-title-h1 {
    color: var(--primary-high, #00B6B6);
    text-align: center;
    font-family: "Barlow Condensed";
    font-size: 40px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%; /* 48px */
    letter-spacing: 0.8px;
    width: 100%;
    margin-top: 0;
    border-bottom: 1px solid var(--typography-on-white, #D8D9DA);
    padding-bottom: 12px;
    margin-bottom: 15px;
}

.hiw-modal .hiw-modal-body .hiw-steps {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
    align-self: stretch;
}

.hiw-modal .hiw-modal-body .hiw-steps .hiw-step {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 12px;
    align-self: stretch;
}

.hiw-modal .hiw-modal-body .hiw-steps .hiw-step .hiw-step-title {
    display: flex;
    align-items: center;
    gap: 12px;
    align-self: stretch;
}

.hiw-modal .hiw-modal-body .hiw-steps .hiw-step .hiw-step-title .hiw-icon-box {
    display: flex;
    padding: 12px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 8px;
    background: var(--teal-100, #D6F1F0);
}

.hiw-modal .hiw-modal-body .hiw-steps .hiw-step .hiw-step-title .hiw-icon-box svg {
    width: 16px;
    height: 16px;
    aspect-ratio: 1/1;
}

.hiw-modal .hiw-modal-body .hiw-steps .hiw-step .hiw-step-title .hiw-title-text {
    color: var(--typography-high, #212121);
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%; /* 19.2px */
}

.hiw-modal .hiw-modal-body .hiw-steps .hiw-step .hiw-step-description {
    align-self: stretch;
    color: var(--typography-high, #212121);
    font-family: Gotham;
    font-size: 14px;
    font-style: normal;
    font-weight: 325;
    line-height: 150%; /* 21px */
}

.hiw-modal .hiw-modal-body .hiw-steps .hiw-step .hiw-step-content {
    display: flex;
    padding: 12px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    align-self: stretch;
    border-radius: 8px;
    background: var(--teal-100, #D6F1F0);
}

.hiw-modal .hiw-modal-body .hiw-steps .hiw-step .hiw-step-content span {
    flex: 1 0 0;
    color: var(--typography-high, #212121);
    text-align: center;
    font-family: Gotham;
    font-size: 16px;
    font-style: normal;
    font-weight: 325;
    line-height: 120%; /* 19.2px */
}

.hiw-modal .hiw-modal-footer {
    width: 100%;
}
.hiw-modal .hiw-modal-footer .hiw-modal-button.hiw-modal-close{
    display: flex;
    height: 40px;
    padding: 8px 12px;
    justify-content: center;
    align-items: center;
    align-self: stretch;
    border-radius: 8px;
    background: #F37021;
    color: #FFF;
    font-family: Gotham;
    font-size: 14px;
    font-style: normal;
    font-weight: 350;
    line-height: normal;
}


@media (max-width: 2560px) {
    #review_selection--section .desktop {
        max-width: 1752px !important;
        margin: 0 auto !important;
    }
}

@media (max-width: 1780px) {
    #review_selection--section .desktop {
        max-width: 1560px !important;
        margin: 0 auto !important;
    }
    .new-byo-pill-wrapper-container {
        padding-top: 260px !important;
    }
    .byo-main {
        width: 100% !important;
    }
    .new-byom-container {
        max-width: 1560px !important;
        margin: 0 auto;
        gap: 24px;
    }
    .meal-card-redesign {
        width: 290px;
        height: 591px;
        max-height: 591px !important;
        position: relative;
    }
    .new-main-filter-container {
        max-width: 1563px !important;
    }
    .meal-group-new-title-redesign {
        max-width: 1560px !important;
        margin-top: 24px !important;
    }

    .new-filter-pill-main-container {
        max-width: 1560px !important;
        margin: 0 auto;
    }
}

@media (max-width: 1570px) {
    #review_selection--section .desktop {
        max-width: 1560px !important;
        margin: 0 auto !important;
        padding-left: 20px;
        padding-right: 20px;
    }
    .new-filter-pill-main-container {
        max-width: 1384px !important;
        margin: 0 auto;
    }
    .new-byom-container {
        max-width: 1384px !important;
        margin: 0 auto;
        gap: 26px;
    }
    .meal-card-redesign {
        width: 256px;
        height: 557px;
        position: relative;
    }

    .new-main-filter-container {
        max-width: 1384px !important;
    }
    .meal-group-new-title-redesign {
        max-width: 1384px !important;
    }
}

@media (max-width: 1470px) {
    #review_selection--section .desktop {
        max-width: 1260px !important;
        margin: 0 auto !important;
        padding-left: 0;
        padding-right: 0;
    }
    .new-sub-filter-container::before, .new-sub-filter-container::after {
        height: 18% !important;
    }
    .new-filter-pill-main-container {
        max-width: 1260px !important;
        margin: 0 auto;
    }
    .new-byom-container {
        max-width: 1260px !important;
        margin: 0 auto;
        gap: 16px;
    }
    .meal-card-redesign {
        width: 235px;
        height: 557px;
        position: relative;
    }

    .new-main-filter-container {
        max-width: 1260px !important;
    }
    .meal-group-new-title-redesign {
        max-width: 1260px !important;
    }
    .byom-title {
        margin-top: 10px;
    }

    .new-byo-pill-wrapper-container {
        margin-top: 15px;
    }
}

@media (max-width: 1400px) {
    .new-byom-container {
        gap: 10px;
    }
    .meal-card-redesign {
        width: 229px;
        height: 557px;
        position: relative;
    }
}

@media (max-width: 1350px) {
    .row.new-byom-container {
        display: flex;
        flex-wrap: wrap;
        /*justify-content: flex-start;*/
        justify-content: center !important;
        gap: 4px;
        width: auto !important;
    }

    .meal-card-redesign {
        width: 248px;
        height: 585px;
        position: relative;
    }
    .new-meal-add-button.padding {
        padding: 12px 24px !important;
    }
    .new-meal-add-button.no-padding {
        padding: 7px 16px !important;
    }
    .new-add-text {
        font-size: 20px !important;
    }
    .new-add-text {
        line-height: 100%; !important;
    }
}

#review_selection--section {
    padding-top: 12px !important;
    padding-bottom: 12px !important;
    min-height: 107px !important;
    height: auto !important;
    box-shadow: 0px -1px 4px 0px #00000026 !important;
    background: #FFFFFF !important;
    align-content: center;
}

.meals_progress_bar--label-1 {
    color: black !important;
    font-family: 'Gotham';
    font-weight: 350 !important;
    font-size: 14px !important;
}
.discount__progress-bar {
    background: linear-gradient(90deg, #5BCAC6 0%, #00A1A1 100%) !important;
}
.discount-progress-bar {
    max-width: 800px;
}
.discount-progress-bar .discount-progress-bar-content {
    gap: 12px;
}

.view-button-section {
    max-width: 320px;
    margin-left: auto;
    align-self: center;
}

.view-cart-container.checkout-btn {
    width: 100%;
    max-height: 40px;
    height: 40px !important;
    margin-top: 8px;
}
.row.progress-row.partial {
    height: 24px !important;
}
.view-cart-text {
    font-weight: 700 !important;
    font-size: 14px !important;
}
.view-cart-icon {
    width: 16px !important;
    height: 16px !important;
}
.view-cart-price-text {
    font-weight: 700 !important;
    font-size: 20px !important;
}
.view-cart-price-strike-text {
    font-family: 'GothamBold' !important;
    font-weight: 700 !important;
    font-size: 14px !important;
}

/* Minimum order value text (when no meals selected) */
.minimum-order-container {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0 8px;
}
.minimum-order-text {
    color: var(--typography-high, #212121);
    font-family: Gotham;
    font-size: 16px;
    font-style: normal;
    font-weight: 325;
    line-height: 120%; /* 19.2px */
    flex: 1 0 0;
}

/* Mobile: swap discount-progress-bar (min order text) below View Cart when no meals */
.mobile.mobile-footer-no-meals > .discount-progress-bar {
    order: 2;
    justify-content: center;
}
.mobile.mobile-footer-no-meals > .view-cart-button-container {
    order: 1;
}
.mobile.mobile-footer-no-meals .minimum-order-container {
    justify-content: center;
    text-align: center;
    padding-top: 10px;
}

/* Remove ngAnimate transition on view-cart SVG icons */
.view-cart-icon svg,
.view-cart-icon svg.ng-hide-add,
.view-cart-icon svg.ng-hide-remove,
.view-cart-icon svg.ng-hide-add-active,
.view-cart-icon svg.ng-hide-remove-active {
    transition: none !important;
    animation: none !important;
}

@media (max-width: 1280px) {
    #review_selection--section .desktop {
        margin-left: 10px !important;
        margin-right: 20px !important;
    }
    .discount-progress-bar .discount-progress-bar-content {
        gap: 0;
    }
    .row.new-byom-container {
        gap: 4px;
    }
    .byo-main {
        width: 100% !important;
    }
    .meal-group-new-title-redesign {
        margin-top: 24px !important;
    }
}

@media (max-width: 1215px) {
    .row.new-byom-container {
        gap: 17px;
    }
    .meal-card-redesign {
        width: 271px;
        height: 580px;
        position: relative;
    }
    .new-main-filter-container {
        max-width: 1140px !important;
    }
    .new-main-filter-container {
        max-width: 1140px !important;
    }
    .meal-group-new-title-redesign {
        max-width: 1140px !important;
    }
    .new-byom-container {
        max-width: 1140px !important;
        margin: 0 auto;
        gap: 16px;
    }
    .new-filter-pill-main-container {
        max-width: 1140px !important;
        margin: 0 auto;
    }
}

@media (max-width: 1190px) {
    .meal-card-redesign {
        width: 242px;
        height: 535px;
        position: relative;
    }
    .row.new-byom-container {
        gap: 26px;
    }
}

@media (max-width: 1075px) {
    .new-sub-filter-container::before, .new-sub-filter-container::after {
        height: 18% !important;
    }
    .row.new-byom-container {
        gap: 17px;
    }
    .meal-card-redesign {
        width: 240px;
        height: 490px;
        position: relative;
    }
    .new-main-filter-container {
        max-width: 1016px !important;
    }
    .new-main-filter-container {
        max-width: 1016px !important;
    }
    .meal-group-new-title-redesign {
        max-width: 1016px !important;
    }
    .new-byom-container {
        max-width: 1016px !important;
        margin: 0 auto;
        gap: 16px;
    }
    .new-filter-pill-main-container {
        max-width: 1016px !important;
        margin: 0 auto;
    }
}

@media (max-width: 1000px) {
    .progress_bar {
        padding-left: 0 !important;
    }
    .new-sub-filter-container::before, .new-sub-filter-container::after {
        height: 16% !important;
    }
    .new-main-filter-container {
        top: 55px !important;
    }
    .new-main-filter-container {
        max-width: 960px !important;
    }
    .new-main-filter-container {
        max-width: 960px !important;
    }
    .meal-group-new-title-redesign {
        max-width: 960px !important;
    }
    .new-byom-container {
        max-width: 960px !important;
        margin: 0 auto;
        gap: 16px;
    }
    .new-filter-pill-main-container {
        max-width: 960px !important;
        margin: 0 auto;
    }
    .new-main-filter-container {
        height: auto !important;
    }

    .new-byo-pill-wrapper-container {
        padding-top: 230px !important;
    }
    .meal-group-new-title-redesign {
        margin-top: 1rem !important;
        margin-left: 15px;
        padding-bottom: 10px;
    }
    .row.new-byom-container {
        gap: 4px;
    }
    .meal-card-redesign {
        width: 215px;
        height: 490px;
        position: relative;
    }
    .new-meal-title-redesign {
        font-size: 14px;
        line-height: 120%;
    }
    .new-meal-subtitle-redesign {
        font-size: 11px;
    }
    #desktop-cal {
        display: none;
    }
    #mobile-cal {
        display: block;
    }
    .new-meal-price-orig-redesign {
        font-size: 12px;
    }
    .new-meal-price-discount-redesign {
        font-size: 14px;
    }
    .inner p.average-label {
        font-size: 11px;
    }
    .inner p.average {
        font-size: 11px;
    }
    .new-meal-card-redesign {
        padding: 8px 8px;
        gap: 8px;
    }
    .new-add-text-redesign {
        font-size: 14px !important;
    }
    .meal-switch-redesign {
        height: 30px;
    }
    .tooltip-macro-redesign {
        font-size: 11px;
        padding: 5px;
    }
    .meal-macros-redesign {
        padding: 8px 8px;
        height: 37px !important;
    }
}

@media (max-width: 950px) {
    .discount-progress-bar {
        width: 460px;
        max-width: 500px;
    }
    .view-cart-container.checkout-btn {
        width: 100%;
    }
    /**Filter Modal**/
    .new-filter-dietary-container {
        display: none !important;
    }

    .filter-modal-container1 {
        position: fixed;
        inset: 0;
        background: rgba(33, 33, 33, 0.50);
        z-index: 999999999;
    }
    .filter-modal-center-container {
        display: flex;
        justify-content: center;
        align-items: center;
        position: fixed;
        inset: 0;
        max-width: none;
        padding: 24px;
    }
    .filter-modal-main-container {
        width: 80%;
        max-height: 85vh;
        background: white;
        border-radius: 8px;
        overflow-y: auto;
        overflow-x: hidden;
        -ms-overflow-style: none;
        scrollbar-width: none;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 8px;
        display: inline-flex;
        max-width: 478px;
        padding: 24px;
    }
    .filter-modal-main-container::-webkit-scrollbar {
        display: none;
    }
    .filter-modal-container {
        align-self: stretch;
        height: auto;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        display: flex;
    }
    .filter-modal-header-container {
        align-self: stretch;
        padding-top: 12px;
        padding-bottom: 12px;
        justify-content: space-between;
        align-items: center;
        display: inline-flex;
    }
    .filter-modal-header-text {
        color: #212121;
        font-size: 20px;
        font-style: normal;
        font-weight: 700;
        line-height: 20px; /* 125% */
    }
    .filter-modal-header-close {
        width: 20px;
        height: 20px;
        position: relative;
    }
    .filter-modal-dietary-container {
        align-self: stretch;
        padding-top: 10px;
        padding-bottom: 10px;
        justify-content: flex-start;
        align-items: center;
        gap: 12px;
        display: inline-flex;
    }
    .filter-modal-dietary-checkbox-container {
        justify-content: center;
        align-items: center;
        display: flex;
    }
    .filter-modal-dietary-checkbox {
        width: 16px;
        height: 16px;
        position: relative;
        background: white;
        border-radius: 4px;
        border: 1px #D0D5DD solid;
    }
    .filter-modal-dietary-checkbox-checked-main-container {
        width: 100%;
        height: 100%;
        justify-content: center;
        align-items: center;
        display: inline-flex;
    }
    .filter-modal-dietary-checkbox-checked-container {
        width: 16px;
        height: 16px;
        padding: 2px;
        background: #F9F5FF;
        border-radius: 4px;
        overflow: hidden;
        border: 1px #FF6A21 solid;
        justify-content: center;
        align-items: center;
        display: flex;
    }
    .filter-modal-dietary-checkbox-checked-icon {
        width: 12px;
        height: 12px;
        position: relative;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        display: flex;
    }
    .filter-modal-dietary-text {
        color: #344054;
        font-size: 16px;
        font-family: Barlow;
        font-weight: 500;
        line-height: 20px;
        word-wrap: break-word;
    }
    .filter-modal-allergies-container {
        align-self: stretch;
        height: auto;
        padding-top: 10px;
        padding-bottom: 10px;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        gap: 4px;
        display: flex;
    }
    .filter-modal-allergies-text {
        color: #212121;
        font-size: 16px;
        font-family: Montserrat;
        font-weight: 700;
        line-height: 20px;
        word-wrap: break-word;
    }
    .filter-modal-allergies-text-sub {
        color: var(--typography-mid, #595B61);
        font-family: Gotham;
        font-size: 14px;
        font-style: normal;
        font-weight: 325;
        line-height: 20px; /* 142.857% */
    }

    /* Filter modal button-style filters */
    .filter-modal-dietary-buttons-container {
        align-self: stretch;
        display: flex;
        flex-direction: column;
        gap: 8px;
        padding-top: 4px;
        padding-bottom: 4px;
    }

    .filter-modal-dietary-btn {
        width: 100%;
        padding: 12px 16px;
        border-radius: 8px;
        border: 1px solid var(--typography-on-white, #D8D9DA);
        background: transparent;
        cursor: pointer;
        display: flex;
        justify-content: center;
        align-items: center;
        transition: all 0.15s ease;
    }

    .filter-modal-dietary-btn.selected {
        border: 2px solid var(--secondary-high, #FF6A21);
        background: var(--orange-50, #FFECDF);
    }

    .filter-modal-dietary-btn-text {
        color: #344054;
        font-size: 16px;
        font-family: "Gotham";
        font-weight: 500;
        line-height: 20px;
        text-align: center;
    }

    .filter-modal-dietary-btn.selected .filter-modal-dietary-btn-text {
        color: var(--secondary-high, #FF6A21);
        font-weight: 600;
    }

    .filter-modal-dietary-btn-count {
        color: var(--secondary-high, #FF6A21);
    }

    /* Apply Filters & Clear All buttons */
    .filter-modal-actions-container {
        align-self: stretch;
        display: flex;
        flex-direction: column;
        gap: 8px;
        padding-top: 8px;
    }

    .filter-modal-apply-btn {
        width: 100%;
        padding: 12px 16px;
        border-radius: 8px;
        border: none;
        background: #F37021;
        color: #FFF;
        font-size: 16px;
        font-weight: 600;
        line-height: 20px;
        cursor: pointer;
        text-align: center;
        transition: opacity 0.15s ease;
    }

    .filter-modal-apply-btn:disabled {
        background: #E1E2E4;
        color: #A7ABAF;
        cursor: not-allowed;
    }

    .filter-modal-clear-btn {
        width: 100%;
        padding: 12px 16px;
        border-radius: 8px;
        border: none;
        background: transparent;
        color: #344054;
        font-size: 16px;
        font-weight: 600;
        line-height: 20px;
        cursor: pointer;
        text-align: center;
        transition: opacity 0.15s ease;
    }

    .filter-modal-clear-btn:disabled {
        color: var(--typography-disabled, #B0B1B3);
        cursor: not-allowed;
    }


    .new-mobile-sub-filter-container {
        display: flex !important;
    }
    .new-sub-filter-container, .new-filter-pill-main-container {
        display: none !important;
    }
    /**Filter Modal - End**/

    .meal-group-new-title-redesign {
        margin-top: 1rem !important;
        margin-left: 17px;
        padding-bottom: 10px;
    }
    .row.new-byom-container {
        margin-left: 15px !important;
    }

    .category-filter-dropdown-redesign {
        display: block;
        width: 295px;
        padding: 1px 12px;
        background-color: #FFFFFF;
        box-sizing: border-box;
        color: #212121;
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6L8 10L12 6' stroke='%2385878B' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");        background-repeat: no-repeat;
        background-position: right 8px center;
        background-size: 20px;
        padding-right: 36px;
        border-radius: 8px;
        color: #212121;
        font-family: 'Gotham';
        font-size: 14px;
        font-style: normal;
        font-weight: 350;
        line-height: normal;
        border: 1px solid #D8D9DA;
    }

    .category-filter-dropdown-redesign option {
        font-family: 'Gotham';
        font-weight: 350;
        font-size: 14px;
        line-height: 20px;
        background-color: white;
        border-radius: 8px;
        height: 40px;
        padding: 10px 16px;
    }

    .category-filter-dropdown-redesign:focus-visible {
        border-color: #D8D9DA !important; /* or your desired color */
        outline: none !important;
        box-shadow: none !important;
    }

    .new-filter-container {
        display: flex;
        width: 105px;
        padding: 8px;
        align-items: center;
        gap: 4px;
        align-self: stretch;
        border-radius: 8px;
        border: 1px solid #D8D9DA;
        background-color: white;
        justify-content: center;
    }

    .new-filter-container .new-filter-new-icon {
        width: 14px;
        height: 14px;
    }

    .new-filter-container .new-filter-text {
        color: #212121 !important;
        font-family: 'Gotham';
        font-size: 14px;
        font-style: normal;
        font-weight: 350;
        line-height: normal;
    }

    .new-filter-container .new-filter-meal-count {
        display: flex;
        width: 18px;
        padding: 2px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 8px;
        flex-shrink: 0;
        border-radius: 100px;
        background: #FFECDF;
    }

    .new-filter-container .new-filter-meal-count .new-filter-meal-count-text {
        color: #F16C1C;
        font-family: 'Barlow';
        font-size: 12px;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
    }

    .new-mobile-sub-filter-container {
        width: 100%;
        display: flex;
        gap: 8px;
        flex-direction: row;
        align-items: stretch;
        height: 40px;
    }

    .new-main-filter-container-row {
        /* padding-left: 3% !important;
        padding-right: 3% !important;   UNCOMMENT TO DISPLAY IN BYOM REDESIGN TASK */
        /*gap: 16px !important;*/
        background: #FAFAFA;
    }

    .new-mobile-sub-filter-container .dropdown {
        display: flex;
        padding: 8px 12px;
        justify-content: space-between;
        align-items: center;
        flex: 1 0 0;
        align-self: stretch;
        padding-left: 0;
    }

    .new-mobile-sub-filter-container .dropdown .btn {
        background-color: #FFFFFF !important;
        color: #212121;
        font-family: "Gotham";
        font-size: 14px;
        font-style: normal;
        font-weight: 350;
        line-height: normal;
        border-radius: 8px;
        border: 1px solid #D8D9DA;
        text-align: left;
    }
    .new-filter-pill-main-container-mobile {
        display: flex !important;
        margin-left: -3px !important;
        overflow-y: hidden;
        flex-wrap: nowrap;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        /* Hide scrollbar */
        scrollbar-width: none;
        -ms-overflow-style: none;
    }


    .new-main-filter-sub-title a.how-does-it-work {
        font-family: 'GothamMedium';
        font-weight: 500;
    }
    .new-main-filter-container {
        padding-left: 20px;
        padding-right: 20px;
        box-shadow: 0px 4px 4px 0px #0000001A;

    }
    .row.new-byom-container {
        margin-left: 0 !important;
    }
    .byom-title {
        /* display: flex;   UNCOMMENT TO DISPLAY IN BYOM REDESIGN TASK */
        color: #212121;
        font-family: "GothamMedium";
        font-size: 22px;
        font-style: normal;
        font-weight: 500;
        line-height: normal;
        margin-bottom: 0;
    }

    .new-main-filter-sub-title {
        gap: 8px !important;
    }
    .byo-title-section {
        gap: 8px !important;
        margin-left: 3px;
    }
    .weekly-plan, .how-does-it-work {
        font-size: 12px !important;
    }
    .meal-group-new-title-redesign {
        padding-bottom: 0 !important;
        margin-bottom: 12px !important;
    }
    .new-byo-pill-wrapper-container {
        padding-top: 200px !important;
    }
    .meal-switch-select {
        width: 125px !important;
    }
}

@media (max-width: 860px) {
    .macro-highlights-container .macro-highlight {
        font-size: 10px;
    }
    .select-wrapper::after {
        font-size: 24px;
    }
    .meal-switch-redesign {
        font-size: 12px;
        padding: 1px 8px;
    }
    .new-meal-add-button-redesign {
        margin-bottom: 3px !important;
    }
    .meal-card-redesign {
        width: 198px;
        height: 470px;
        position: relative;
    }
    .meal-group-new-title-redesign {
        margin-left: 17px;
        padding-bottom: 10px;
    }

    .tooltip-macro-redesign:not(:first-child) {
        top: 35px !important;
    }
    .discount-progress-bar {
        width: 460px;
        max-width: 485px;
    }
}

@media (max-width: 830px) {
    #review_selection--section .desktop {
        margin-left: 10px !important;
        margin-right: 10px !important;
    }
    .discount-progress-bar {
        width: 460px;
        max-width: 485px;
    }
    .meal-card-redesign {
        width: 193px;
        height: 429px;
        position: relative;
    }

    .meal-group-new-title-redesign {
        margin-left: 16px;
    }
}

@media (max-width: 770px) {
    .meal-switch-select {
        width: 110px !important;
    }
    .meal-card-redesign {
        width: 179px;
    }
    .meal-group-new-title-redesign {
        margin-left: 16px;
        padding-bottom: 10px;
    }
    .discount-progress-bar {
        width: 400px;
        max-width: 430px;
    }
    .meal-switch-redesign {
        font-size: 11px;
    }
}

@media (max-width: 540px) {
    .meal-card-redesign {
        width: 165px;
    }
    .select-wrapper::after {
        right: 8px;
        font-size: 17px;
    }
    .meal-switch-redesign {
        font-size: 10px;
        padding: 1px 8px;
    }
    .new-meal-added-button-redesign {
        margin-bottom: 2px !important;
    }
    .meal-switch-select {
        width: 95px !important;
    }
    .meal-switch-redesign {
        font-size: 9px;
    }

    #review_selection--section .mobile .discount-progress-bar {
        width: 100%;
        max-width: unset;
        padding-top: 10px;
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    #review_selection--section .mobile .view-cart-button-container {
        margin: auto !important;
    }

    #review_selection--section .mobile .view-cart-button-container .col-12.px-2 {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    #review_selection--section .mobile .discount-progress-bar .discount-progress-bar-content {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    #review_selection--section .mobile .minimum-order-text {
        font-size: 12px;
    }
}

@media (max-width: 440px) {
    .discount-progress-bar {
        width: 100%;
    }
    .view-cart-container.checkout-btn {
        margin-top: 0;
    }
    .progress-row .col-12 {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .view-cart-container.checkout-btn {
        width: 100%;
    }
    #review_selection--section {
        height: auto !important;
        padding-bottom: 24px !important;
    }
    #review_selection--section .mobile {
        margin-bottom: 0 !important;
        display: flex;
        gap: 10px;
    }

    #review_selection--section .desktop {
        display: none !important;
    }
    
    .progress_bar--text {
        padding-left: 0 !important;
        max-width: 100% !important;
        padding: 0 !important;
        flex: unset !important;

    }
    .discount-progress-bar {
        padding-bottom: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .discount-progress-bar .discount-progress-bar-content {
        gap: 12px;
    }
    .meals_progress_bar--label-1 {
        font-size: 12px !important;
    }
    .new-meal-price-orig-redesign {
        font-size: 11px;
    }
    .meal-switch-select {
        width: 125px !important;
    }
    .mobile-macro {
        display: block;
    }
    .desktop-macro-carb {
        display: none;
    }
    .meal-card-content{
        margin-bottom: unset;
    }
    .meal-switch-redesign {
        width: 125px;
    }
    .new-meal-added-button-redesign {
        padding: 7.5px 16px;
    }

    .progress-row {
        margin: unset !important;
    }

    .new-byo-pill-wrapper-container {
        padding-top: 210px !important;
    }

    .new-sub-filter-container {
        display: none !important;
    }
    .byom-title {
        margin-left: unset;
        padding-top: 0;
    }
    .meal-group-new-title-redesign {
        margin-top: 15px !important;
        margin-left: 14px;
        margin-bottom: -75px;
        font-size: 16px;
    }

    .macro-highlights-container .macro-highlight {
        font-size: 8px;
    }
    .tooltip-macro-redesign {
        font-size: 10px;
        padding: 3px;
    }
    .new-sub-filter-container {
        /* border-bottom: 1px solid #D8D9DA; */
        background: white !important;
    }
    .meal-card-redesign {
        width: 193px;
    }
    .row.new-byom-container {
        gap: 12px;
    }
    .meal-switch-redesign {
        font-size: 12px;
    }
    .new-main-filter-container {
        border-bottom: 1px solid #D8D9DA;
        box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.05);
    }

    #review_selection--section .mobile .discount-progress-bar .discount-progress-bar-content {
        padding-left: 5px !important;
    }

    #review_selection--section .mobile {
        padding-top: 0 !important;
    }

    .hiw-modal {
        margin-left: 20px;
        margin-right: 20px;
    }

    .filter-modal-main-container {
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* Fix modal-navbar overlap on mobile devices with specific dimensions */
@media (max-width: 950px) and (max-height: 780px) {
    .hiw-modal {
        margin-top: 60px;
    }
}

/* Start for Large Mobile Devices */
@media (max-width: 430px) {
    .new-main-filter-container {
        background: white !important;
    }
    .filter-pill-container {
        margin-top: 0;
        margin-bottom: 2px;
    }

    .filter-pill-container:first-child {
        margin-left: 3%;
    }

    .meal-group-new-title-redesign {
        margin-left: 8px;
    }
}

/* End for mobile devices */

@media (max-width: 414px) {
    .new-main-filter-container {
        padding-left: 10px;
        padding-right: 10px;
    }
    .meal-card-redesign {
        width: 191px;
    }

    .hiw-modal {
        margin-left: 10px;
        margin-right: 10px;
    }
}

@media (max-width: 393px) {
    .row.new-byom-container {
        gap: 8px;
    }
    .meal-card-redesign {
        width: 183px;
    }
}

@media (max-width: 390px) {
    .meal-card-redesign {
        width: 181px;
    }
    .meal-switch-redesign {
        font-size: 12px;
    }
    .meal-switch-redesign {
        width: 115px;
    }
}

@media (max-width: 385px) {
    .meal-card-redesign {
        width: 179px;
    }
}

@media (max-width: 375px) {
    .meal-card-redesign {
        width: 171px;
    }
    .row.new-byom-container {
        gap: 12px;
    }
    .button-price-section {
        flex-direction: column;
        gap: 8px;
    }
    .price-section {
        flex-direction: row !important;
        width: 100%;
    }

    .meal-switch-redesign {
        width: 100%;
    }
    .button-price-section {
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 370px) {
    .row.new-byom-container {
        gap: 8px;
    }
}

@media (max-width: 360px) {
    .meal-card-redesign {
        width: 166px;
    }
    .row.new-byom-container {
        gap: 8px;
    }
}

@media (max-width: 345px) {
    .meal-card-redesign {
        width: 157px;
    }

    .hiw-modal {
        padding: 24px;
        gap: 12px;
    }

    .hiw-modal .hiw-modal-body .hiw-steps {
        gap: 12px;
    }

    .hiw-modal .hiw-modal-body .hiw-steps .hiw-step .hiw-step-content span {
        font-size: 14px;
    }
}

@media (max-width: 320px) {
    .meal-card-redesign {
        width: 144px;
        height: 373px;
    }
    .row.new-byom-container {
        gap: 12px;
    }
    .new-meal-title-redesign, .new-meal-price-discount-redesign {
        font-size: 12px;
    }
    .new-meal-subtitle-redesign, .new-meal-price-orig-redesign {
        font-size: 10px;
    }
    .meal-switch-redesign {
        font-size: 12px;
    }
    .select-wrapper::after {
        font-size: 27px;
    }
    .new-meal-add-button.padding {
        padding: 8px 16px !important;
    }
    .new-meal-added-button-redesign {
        padding: 6px 0px;
    }
    .mobile-macro {
        display: none;
    }
    .desktop-macro {
        display: none;
    }
    .mobile-macro-320 {
        display: block;
    }
}

/* Specific widths where you want flex-start */
@media
(width: 1075px),
(width: 1190px),
(width: 1215px),
(width: 1280px),
(width: 1350px),
(width: 1400px),
(width: 1470px),
(width: 1570px),
(width: 1780px),
(width: 1920px) {
    .row.new-byom-container {
        justify-content: flex-start !important;
    }
}

@media only screen and (max-width: 440px) {
    .filter-modal-dietary-btn-text {
        font-size: 14px !important;
    }
}

@media only screen and (max-width: 375px) {
    .filter-modal-dietary-btn-text {
        font-size: 12px !important;
    }

    .filter-modal-allergies-text {
        font-size: 14px !important;
    }

    .filter-modal-allergies-text-sub {
        font-size: 12px !important;
    }

    .filter-modal-apply-btn {
        font-size: 14px !important;
    }

    .filter-modal-clear-btn {
        font-size: 14px !important;
    }

    .filter-modal-header-text {
        font-size: 16px !important;
    }
}

/* Category Modal Styles for Tablet/Mobile (912px and below) */
@media (max-width: 912px) {
    .category-filter-dropdown-trigger {
        display: flex;
        width: 295px;
        padding: 8px 12px;
        background-color: #FFFFFF;
        box-sizing: border-box;
        color: #212121;
        border-radius: 8px;
        font-family: 'Gotham';
        font-size: 14px;
        font-style: normal;
        font-weight: 350;
        line-height: normal;
        border: 1px solid #D8D9DA;
        cursor: pointer;
        justify-content: space-between;
        align-items: center;
    }

    .category-filter-dropdown-trigger:hover {
        background-color: #F5F5F5;
    }

    .category-filter-dropdown-text {
        flex: 1;
    }

    .category-modal-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 999999;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .category-modal {
        background: #FFFFFF;
        border-radius: 16px;
        width: 70%;
        max-height: 80% !important;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        animation: categoryModalFadeIn 0.3s ease-out;
        padding: 24px 24px 48px 24px;
        gap: 12px;
    }

    @keyframes categoryModalFadeIn {
        from {
            opacity: 0;
            transform: scale(0.95);
        }
        to {
            opacity: 1;
            transform: scale(1);
        }
    }

    .category-modal-header {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        padding: 0 0 16px 0;
        border-bottom: 1px solid var(--typography-on-white, #D8D9DA);
    }

    .category-modal-title {
        color: #212121;
        font-family: 'Gotham';
        font-size: 18px;
        font-weight: 700;
        line-height: 24px;
        margin: 0;
    }

    .category-modal-close {
        display: none;
    }

    .category-modal-body {
        overflow-y: auto;
        flex: 1;
    }

    .category-modal-list {
        display: flex;
        flex-direction: column;
    }

    .category-modal-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 16px;
        cursor: pointer;
        transition: background-color 0.15s ease;
        padding-left: 0;
        padding-right: 0;
    }

    .category-modal-item:hover {
        background-color: #FAFAFA;
    }

    .category-modal-item:active {
        background-color: #F0F0F0;
    }

    .category-modal-item-name {
        color: #344054;
        font-family: Gotham;
        font-size: 16px;
        font-style: normal;
        font-weight: 325;
        line-height: 20px; /* 125% */
    }

    .category-modal-item-right {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .category-modal-item-count {
        display: flex;
        width: 24px;
        height: 24px;
        padding: 2px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 8px;
        border-radius: 100px;
        background: var(--orange-50, #FFECDF);
    }

    .category-modal-item-count-text {
        color: #F16C1C;
        font-family: 'Gotham';
        font-size: 14px;
        font-weight: 700;
        line-height: 1;
    }

    .category-modal-item-arrow {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 24px;
        height: 24px;
    }

    .category-modal-item-arrow svg {
        width: 11px;
        height: 19px;
    }
}

/* Hide dropdown trigger on desktop */
@media (min-width: 913px) {
    .category-filter-dropdown-trigger {
        display: none;
    }

    .category-modal-overlay {
        display: none !important;
    }
}

/* Responsive adjustments for smaller mobile */
@media (max-width: 575px) {
    .category-filter-dropdown-trigger {
        width: 100%;
        flex: 1;
    }
}

/* Smaller mobile - 390px and below */
@media (max-width: 390px) {
    .category-modal {
        width: 80%;
    }

    .category-modal {
        max-height: 70vh;
    }

    .category-modal-item-name {
        font-size: 15px;
    }
}

    .category-modal {
        max-height: 70vh;
    }

    .category-modal-item-name {
        font-size: 15px;
    }
}
