.sammys-order {
    --order-paper: #fbf9f5;
    --order-surface: #fff;
    --order-ink: #18181b;
    --order-muted: #57534e;
    --order-line: #e1d9ce;
    --order-red: #b8202c;
    --order-radius: 10px;
    background: var(--order-paper);
    color: var(--order-ink);
}

.sammys-order :where(a, button, input, select, textarea):focus-visible {
    outline: 2px solid var(--order-red);
    outline-offset: 3px;
}

.sammys-menu-hero,
.sammys-order-landing .elementor-495 .elementor-element-abd2ede {
    background-color: #181412;
    background-image: linear-gradient(90deg, #181412 4%, #181412e0 45%, #18141230), url("../uploads/2025/05/shutterstock_2592482697-1009x650.jpg");
    background-size: cover;
    background-position: center 54%;
    color: #fff;
}

.sammys-menu-hero > div {
    max-width: 1280px;
    margin: auto;
    padding: clamp(30px, 6vw, 75px) clamp(16px, 4vw, 54px);
}

.sammys-menu-hero h1,
.sammys-order-landing .elementor-495 .sammys-order-title {
    margin: 0;
    color: #fff;
    font-size: clamp(2rem, 5vw, 4.35rem);
    line-height: 1.06;
}

.sammys-menu-hero p,
.sammys-order-landing .sammys-order-intro {
    color: #f8ede1;
    margin: 12px 0 16px;
    font-size: clamp(.95rem, 1.8vw, 1.17rem);
}

.sammys-menu-hero a,
.sammys-order .woocommerce a.checkout-button,
.sammys-order .woocommerce button.button.alt,
.sammys-order .elementor-495 .elementor-element-c3dc698 .elementor-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 18px;
    border-radius: 7px;
    background-color: var(--order-red);
    color: #fff;
}

.sammys-menu-hero a:hover,
.sammys-order .woocommerce a.checkout-button:hover,
.sammys-order .woocommerce button.button.alt:hover {
    background-color: #951923;
    color: #fff;
}

.sammys-order-landing .elementor-495 .elementor-element-abd2ede {
    background-image: linear-gradient(90deg, #181412 4%, #181412e0 45%, #18141230), url("../uploads/2025/05/shutterstock_2592482697-1009x650.jpg") !important;
    padding: clamp(36px, 7vw, 95px) clamp(18px, 5vw, 75px);
}

.sammys-order-landing .elementor-element-abd2ede > .elementor-background-overlay {
    opacity: 0;
}

.sammys-menu-controls {
    position: sticky;
    z-index: 10;
    top: 0;
    padding: 12px clamp(16px, 4vw, 54px) 8px;
    background: var(--order-paper);
    border-bottom: 1px solid var(--order-line);
}

.sammys-menu-controls label {
    display: block;
    font-weight: 700;
    font-size: .88rem;
}

.sammys-menu-controls input {
    width: min(100%, 410px);
    min-height: 44px;
    padding: 7px 12px;
    border: 1px solid var(--order-line);
    border-radius: 7px;
    background: #fff;
    color: var(--order-ink);
}

.sammys-menu-categories {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 4px 3px 6px;
}

.sammys-menu-categories a {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    min-height: 44px;
    padding: 5px 12px;
    border: 1px solid var(--order-line);
    border-radius: 24px;
    color: var(--order-ink);
    font-size: .82rem;
    font-weight: 700;
    text-decoration: none;
}

.sammys-menu-categories a:hover {
    background: #f6e9e7;
    color: var(--order-red);
}

.sammys-menu-status {
    margin: 2px 0 0;
    font-size: .9rem;
}

.sammys-order-menu .elementor-14911 [id^="sammys-category-"] {
    scroll-margin-top: 162px;
}

.sammys-order-menu .elementor-14911 {
    max-width: 1280px;
    margin-inline: auto;
    padding: 20px clamp(12px, 3vw, 38px);
}

.sammys-order-menu .elementor-14911 .elementor-widget-heading .elementor-heading-title {
    color: var(--order-ink);
    font-size: clamp(1.25rem, 2.1vw, 1.9rem);
    line-height: 1.2;
}

.sammys-order-menu .elementor-14911 .fditem-list {
    margin-bottom: 8px;
}

.sammys-order-menu .elementor-14911 .fdstyle-list-1 {
    position: relative;
    min-height: 66px;
    margin: 0;
    padding: 12px 14px;
    background: var(--order-surface);
    border: 1px solid var(--order-line);
    border-radius: var(--order-radius);
}

.sammys-order-menu .elementor-14911 .fdlist_1_detail {
    padding-right: 50px;
}

.sammys-order-menu .elementor-14911 .fdlist_1_name {
    color: var(--order-ink);
    font-weight: 700;
}

.sammys-order-menu .elementor-14911 .fdlist_1_price {
    color: var(--order-red);
    font-weight: 700;
}

.sammys-order-menu .elementor-14911 .fdlist_1_des {
    position: static;
    color: var(--order-muted);
    line-height: 1.4;
}

.sammys-order-menu .elementor-14911 button.exfd-choice {
    top: 50%;
    right: 7px;
    bottom: auto;
    transform: translateY(-50%);
    min-width: 44px;
    min-height: 44px;
    border-radius: 7px;
    color: var(--order-red);
}

.sammys-search-hidden {
    display: none !important;
}

.sammys-order-menu #cartinhomepage > .elementor-widget-container,
.sammys-order-cart .cart_totals,
.sammys-order-checkout #customer_details,
.sammys-order-checkout #order_review {
    padding: clamp(12px, 2vw, 24px);
    border: 1px solid var(--order-line);
    border-radius: var(--order-radius);
    background: var(--order-surface);
}

.sammys-mobile-cart {
    display: none;
}

.sammys-order .sammys-back-link {
    margin: 0 0 16px;
    font-size: .95rem;
}

.sammys-order .sammys-back-link a {
    color: var(--order-red);
    font-weight: 700;
}

.sammys-order :is(.woocommerce-cart-form, form.checkout) :is(input:not([type="radio"], [type="checkbox"], [type="hidden"]), select, textarea),
.sammys-order :is(.variations_form, form.cart) :is(select, input.qty) {
    min-height: 44px;
    max-width: 100%;
    border: 1px solid var(--order-line);
    border-radius: 7px;
}

.sammys-order-checkout .woocommerce-checkout-review-order-table tbody {
    display: table-row-group !important;
}

.sammys-order-checkout .woocommerce-checkout-review-order-table tbody tr.cart_item {
    display: table-row !important;
}

.sammys-order-checkout .woocommerce-checkout-review-order-table tbody tr.cart_item td {
    display: table-cell !important;
    height: auto !important;
    visibility: visible !important;
    padding: 10px 8px;
}

.sammys-order-checkout #shipping-pickup {
    max-width: 100%;
}

.sammys-order #food_modal :is(select, .button, input.qty) {
    min-height: 44px;
    max-width: 100%;
}

.sammys-order #food_modal .modal-content {
    border-radius: var(--order-radius);
    background: var(--order-surface);
}

/* Use the Stitch layout without moving the native forms or their AJAX targets. */
.sammys-order-menu .sammys-menu-hero > div {
    padding-block: clamp(24px, 3.5vw, 50px);
}

.sammys-order-menu .elementor-14911 .ctlist {
    display: grid;
    gap: 12px;
}

.sammys-order-menu .elementor-14911 .ctlist > .fditem-list {
    width: auto;
    min-width: 0;
    margin: 0;
}

.sammys-order-menu .elementor-14911 .ctlist > :not(.fditem-list) {
    grid-column: 1 / -1;
}

.sammys-order-menu .elementor-14911 .ctlist::after,
.sammys-order-menu .elementor-14911 .ctlist::before {
    display: none;
}

.sammys-order-menu .elementor-14911 .fditem-list > .exp-arrow,
.sammys-order-menu .elementor-14911 .fdstyle-list-1 {
    height: 100%;
}

.sammys-order-menu .elementor-14911 .fdstyle-list-1 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 14px 58px 14px 16px;
    box-shadow: 0 2px 7px #18181b08;
}

.sammys-order-menu .elementor-14911 .fdlist_1_detail {
    padding: 0;
}

.sammys-order-menu .elementor-14911 .fdlist_1_title {
    display: block;
}

.sammys-order-menu .elementor-14911 :is(.fdlist_1_name, .fdlist_1_price) {
    position: static;
    float: none;
    width: auto;
    max-width: none;
    text-align: start;
    overflow-wrap: anywhere;
}

.sammys-order-cart .elementor-7,
.sammys-order-checkout .elementor-8 {
    width: min(100%, 1180px);
    max-width: 1180px !important;
    margin-inline: auto;
}

.sammys-order:is(.sammys-order-cart, .sammys-order-checkout) .entry-content {
    width: min(calc(100% - 24px), 1180px);
    max-width: 1180px;
    margin-inline: auto;
}

.sammys-order-cart .elementor-7 .woocommerce-cart-form {
    min-width: 0;
    padding: clamp(10px, 1.8vw, 20px);
    border: 1px solid var(--order-line);
    border-radius: var(--order-radius);
    background: var(--order-surface);
}

.sammys-order-cart .cart-collaterals .cart_totals {
    float: none;
    width: 100%;
}

.sammys-order-cart .cart_totals .checkout-button,
.sammys-order-checkout #place_order {
    width: 100%;
}

.sammys-order-checkout #order_review_heading {
    margin: 0;
    color: var(--order-ink);
}

.sammys-order-checkout :is(.woocommerce-billing-fields, .woocommerce-shipping-fields, .woocommerce-additional-fields) h3,
.sammys-order-cart .cart_totals h2 {
    margin-top: 0;
    color: var(--order-ink);
}

.sammys-order-checkout #order_review {
    min-width: 0;
    overflow-wrap: anywhere;
}

.sammys-order-checkout #zdelivery-options {
    margin-block: 14px;
    border: 1px solid var(--order-line);
    border-radius: 8px;
    background: var(--order-paper);
}

@media (min-width: 1024px) {
    .sammys-order-menu .elementor-14911 .ctlist {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sammys-order-menu .elementor-14911 .fdstyle-list-1 {
        min-height: 92px;
    }

    .sammys-order-cart .elementor-7 .woocommerce:has(> .woocommerce-cart-form),
    .sammys-order-checkout form.checkout:not(.hide-checkout-details) {
        display: grid;
        grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
        gap: 16px 24px;
        align-items: start;
    }

    .sammys-order-cart .elementor-7 .woocommerce:has(> .woocommerce-cart-form) > :not(.woocommerce-cart-form, .cart-collaterals) {
        grid-column: 1 / -1;
    }

    .sammys-order-cart .elementor-7 .woocommerce-cart-form {
        grid-column: 1;
    }

    .sammys-order-cart .elementor-7 .cart-collaterals {
        grid-column: 2;
        position: sticky;
        top: 16px;
        min-width: 0;
    }

    .sammys-order-checkout form.checkout > #customer_details {
        grid-column: 1;
        grid-row: 1 / span 3;
        min-width: 0;
    }

    .sammys-order-checkout form.checkout > :is(#order_review_heading, .checkout_donation, #order_review) {
        grid-column: 2;
    }

    .sammys-order-checkout form.checkout::before,
    .sammys-order-checkout form.checkout::after,
    .sammys-order-cart .elementor-7 .woocommerce:has(> .woocommerce-cart-form)::before,
    .sammys-order-cart .elementor-7 .woocommerce:has(> .woocommerce-cart-form)::after {
        display: none;
    }
}

@media (max-width: 767px) {
    .sammys-order-menu {
        padding-bottom: 84px;
    }

    .sammys-order-menu .elementor-14911 .fdstyle-list-1 {
        padding: 12px 56px 12px 14px;
    }

    .sammys-mobile-cart {
        position: fixed;
        z-index: 120;
        left: 12px;
        right: 12px;
        bottom: calc(max(12px, env(safe-area-inset-bottom)) + var(--sammys-cookie-height, 0px));
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
        min-height: 52px;
        padding: 10px 16px;
        border-radius: 8px;
        box-shadow: 0 3px 14px #0003;
        background: var(--order-red);
        color: #fff;
        text-decoration: none;
        font-size: 1rem;
        font-weight: 700;
    }

    .sammys-mobile-cart:hover,
    .sammys-mobile-cart:focus {
        color: #fff;
    }

    .sammys-cart-count {
        margin-inline-start: 4px;
    }

    .sammys-order-menu .exfd-shopping-cart {
        bottom: 78px !important;
    }
}
