main.container {
    max-width: 1320px !important;
    padding-bottom: 56px !important;
}

.menu-discovery-bar {
    background: transparent;
}

.menu-discovery-bar .menu-category-strip {
    background: #fff;
    border: 1px solid #cdd7ce;
    border-radius: 14px;
    margin: 6px 0 8px;
}

.menu-category-strip-track {
    padding: 2px 12px;
    scroll-padding-inline: 12px;
}

.menu-cart-gift-hint {
    margin: 0;
}

.menu-free-shipping {
    border: 1px solid #bde5bf;
    background: #f0fbf1;
    border-radius: 10px;
    padding: 8px 10px;
    margin: 0 0 10px;
}

.menu-free-shipping.is-unlocked {
    border-color: #91d39a;
    background: #e9f8ea;
}

.menu-free-shipping-text {
    margin: 0 0 6px;
    font-size: .84rem;
    line-height: 1.25;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    align-items: baseline;
}

.menu-free-shipping-text strong {
    white-space: nowrap;
}

.menu-free-shipping-bar {
    width: 100%;
    height: 8px;
    border-radius: 999px;
    background: #d8e7da;
    overflow: hidden;
}

.menu-free-shipping-bar > span {
    display: block;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #1f8f45 0%, #27ae60 100%);
    transition: width .25s ease;
}

html.storefront-page {
    scrollbar-gutter: stable;
}

.storefront-page .topbar-auth-actions .topbar-install-btn[hidden] {
    display: none;
}

.menu-discovery-bar .menu-search-field {
    display: grid !important;
    grid-template-columns: 34px minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 4px;
    padding-inline: 5px 7px;
    border: 1px solid #cfe3c6 !important;
    border-radius: 14px;
    background: #fdfefc !important;
}

.menu-discovery-bar .menu-search-field input[type="search"] {
    min-width: 0;
    width: 100%;
    padding: 0 !important;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.menu-discovery-bar .menu-search-clear {
    position: static;
    transform: none;
    grid-column: 3;
    color: #176c34;
    font-weight: 700;
}

.menu-discovery-bar .menu-search-clear:focus-visible {
    outline: 2px solid #176c34;
}

.menu-search-field button.menu-search-icon {
    position: static;
    transform: none;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    background-color: transparent;
    pointer-events: auto;
    cursor: pointer;
}

.menu-search-field .menu-hours-badge {
    position: static;
    grid-column: 4;
    min-height: 24px;
    padding: 2px 10px;
    border: 1px solid #dec1b9;
    border-radius: 999px;
    background: #fff;
    color: #a22020;
    font-size: .74rem;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgb(0 0 0 / 8%);
}

.menu-search-field .menu-hours-badge.is-open {
    border-color: #b4d2bb;
    color: var(--market-green-dark);
}

@media (max-width: 720px) {
    .menu-search-field .menu-hours-badge.is-scheduled {
        font-size: .60rem;
        padding-inline: 6px;
    }
}

.menu-hours-dialog {
    box-sizing: border-box;
    width: min(640px, calc(100% - 24px));
    max-height: 78dvh;
    padding: 14px 20px 20px;
    border: 0;
    border-radius: 10px;
    background: #ededed;
    color: #17251c;
    overflow-y: auto;
}

.menu-hours-dialog::backdrop {
    background: rgb(0 0 0 / 38%);
}

.menu-hours-dialog-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.menu-hours-dialog-head h2 {
    margin: 0;
    color: var(--market-green-dark);
    font-size: 1.1rem;
    font-weight: 800;
}

.menu-hours-dialog-head form {
    margin: 0;
}

.menu-hours-dialog-head button {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #17251c;
    font-size: 1.2rem;
}

.menu-hours-list {
    display: grid;
    gap: 7px;
    margin: 0;
}

.menu-hours-list > div,
.menu-hours-address {
    padding: 10px 12px;
    border-radius: 8px;
    background: #fff;
}

.menu-hours-list > div {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 4px 12px;
    padding-block: 7px;
}

.menu-hours-list dt {
    font-weight: 800;
}

.menu-hours-list dd {
    margin: 0;
    font-size: .88rem;
}

.menu-hours-location {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #d7d7d7;
}

.menu-hours-address h3,
.menu-hours-address p {
    margin: 0 0 6px;
}

.menu-hours-address a {
    color: var(--market-green-dark);
}

.menu-hours-location iframe {
    display: block;
    width: 100%;
    height: 150px;
    margin-top: 10px;
    border: 0;
    border-radius: 8px;
}

.btn.product-store-action {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 36px;
    margin-top: 8px;
    text-decoration: none;
}

.menu-category-grid.js-product-carousel-track .product-media {
    background: #fff !important;
}

.menu-category-grid.js-product-carousel-track .product-image {
    background: transparent !important;
}

.product-measure-badge {
    position: absolute;
    top: 7px;
    right: 7px;
    z-index: 6;
    padding: 3px 5px;
    border: 1px solid #dce7da;
    border-radius: 999px;
    background: #fff;
    color: #345b42;
    font-size: .68rem;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

@media (max-width: 720px) {
    .menu-category-grid.js-product-carousel-track {
        padding-bottom: 8px !important;
    }

    .menu-category-grid.js-product-carousel-track .product-card {
        flex-basis: 40% !important;
        min-width: 0;
    }

    .menu-category-grid.js-product-carousel-track .product-media {
        height: 124px !important;
    }

    .menu-category-grid.js-product-carousel-track .product-image {
        max-width: min(100%, 150px);
        max-height: 110px;
    }

    .menu-category-grid.js-product-carousel-track .product-body {
        padding-top: 4px !important;
    }

    .menu-category-grid.js-product-carousel-track .product-body h3 {
        min-height: 2.44em !important;
        -webkit-line-clamp: 2 !important;
    }

    .menu-category-grid.js-product-carousel-track .product-footer {
        margin-top: 2px !important;
        padding-bottom: 4px !important;
    }

    .menu-category-grid .js-card-total {
        margin-bottom: 4px !important;
    }
}

#productSheetBackdrop {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s;
}

#productSheetBackdrop.is-open {
    opacity: 1;
    visibility: visible;
}

#productSheetBackdrop .product-sheet {
    position: relative;
    inset: auto;
    box-sizing: border-box;
    width: min(100%, 460px);
    height: auto;
    max-height: 94dvh;
    padding: 16px 16px calc(12px + env(safe-area-inset-bottom));
    border: 0;
    border-radius: 22px 22px 0 0;
    transform: translateY(100%);
    transition: transform .28s ease;
    overflow: hidden;
}

#productSheetBackdrop.is-open .product-sheet {
    transform: translateY(0);
}

#productSheetBackdrop .product-sheet-close {
    left: 10px;
    right: auto;
    background: #fff;
    z-index: 3;
}

#productSheetBackdrop .product-sheet-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "image" "main";
    min-height: 0;
    overflow: auto;
    overscroll-behavior: contain;
    gap: 14px;
    margin: 8px 0 0;
    padding: 0;
}

#productSheetBackdrop .product-sheet-image:not([hidden]) {
    display: block;
    width: 100%;
    height: clamp(120px, 35dvh, 250px);
    max-width: none;
    max-height: none;
    object-fit: contain;
    border: 0;
    background: #fff;
}

#productSheetBackdrop .product-sheet-head:has(.product-sheet-image[hidden]) {
    padding-top: 26px;
}

#productSheetBackdrop [hidden] {
    display: none !important;
}

#productSheetBackdrop .product-sheet-measure {
    color: #596579;
    font-size: .85rem;
}

#productSheetBackdrop .product-sheet-price {
    margin-top: 12px !important;
    font-size: 1.125rem;
    font-weight: 800;
}

#productSheetBackdrop .product-sheet-price::before {
    content: "";
    display: block;
    width: 36px;
    height: 2px;
    margin-bottom: 8px;
    border-radius: 2px;
    background: #dce5ef;
}

.product-pack-label {
    margin-bottom: 4px;
    color: #222;
    font-size: 12px;
    font-weight: 700;
    text-align: right;
    white-space: nowrap;
}

.product-card-pack-shortcut,
.product-sheet-pack-shortcut {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

#productSheetBackdrop .product-sheet-form {
    position: static;
    flex: 0 0 auto;
    margin-top: 10px;
    padding: 0;
}

.product-card-pack-shortcut {
    flex: 1;
    min-width: 0;
}

.product-sheet-shortcuts {
    display: grid;
    align-items: end;
    grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(max-content, 1fr);
    gap: 8px;
    margin-bottom: 10px;
}

#productSheetBackdrop .product-sheet-shortcuts button,
#productSheetBackdrop .product-sheet-qty-row .qty-step-btn {
    min-height: 36px;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: #f0f1f3;
    color: #1f2937;
}

#productSheetBackdrop button:disabled {
    opacity: .55;
}

#productSheetBackdrop .product-sheet-qty-row {
    display: grid;
    grid-template-columns: 36px minmax(28px, 42px) 36px minmax(0, 1fr) !important;
    gap: 6px;
    align-items: center;
}

#productSheetBackdrop #sheetQtyInput {
    width: 100%;
    min-width: 0;
    min-height: 36px;
    margin: 0;
    padding: 0;
    border: 0;
    text-align: center;
    appearance: textfield;
}

#productSheetBackdrop #sheetQtyInput::-webkit-inner-spin-button,
#productSheetBackdrop #sheetQtyInput::-webkit-outer-spin-button {
    appearance: none;
}

#productSheetBackdrop #sheetAddBtn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    margin: 0;
    padding: 5px 8px;
    font-size: .82rem;
}

.desktop-product-controls,
.menu-category-grid .product-info-btn,
.menu-category-grid .product-grams-inline {
    display: none !important;
}

@media (width < 800px) {
    .menu-product-carousel-nav,
    .menu-back-top-btn {
        display: none;
    }
}

@media (min-width: 800px) and (display-mode: browser) {
    .desktop-product-controls {
        display: block !important;
    }

    .menu-category-grid .product-info-btn {
        display: inline-flex !important;
    }

    .menu-category-grid .product-grams-inline {
        display: inline !important;
    }

    .product-measure-badge {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    #productSheetBackdrop,
    #productSheetBackdrop .product-sheet {
        transition: none;
    }
}
