:root {
    --pm-brand: #f4511e;
    --pm-brand-dark: #d83a0b;
    --pm-brand-soft: #fff0e9;
    --pm-accent: #e23744;
    --pm-ink: #20201f;
    --pm-muted: #767472;
    --pm-border: #ece9e6;
    --pm-canvas: #f8f7f5;
    --pm-white: #ffffff;
    --pm-success: #18975f;
    --pm-shadow: 0 18px 50px rgba(57, 39, 28, 0.11);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;
    padding-bottom: 125px;
    overflow-x: hidden;
    background: var(--pm-canvas);
    color: var(--pm-ink);
    font-family: "Poppins", sans-serif !important;
    -webkit-font-smoothing: antialiased;
}

button,
input {
    font-family: inherit;
}

/* Loading */
.fullwidth_cover {
    position: fixed;
    inset: 0;
    z-index: 1000;
    width: 100%;
    height: 100vh;
    display: block;
    background: var(--pm-white);
}

.loader {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 1001;
    width: 42px;
    height: 42px;
    margin: -21px 0 0 -21px;
    border: 4px solid #f6dfd5;
    border-top-color: var(--pm-brand);
    border-radius: 50%;
    animation: premium-spin .8s linear infinite;
}

@keyframes premium-spin {
    to { transform: rotate(360deg); }
}

/* Header */
.navbars {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 0 0 14px;
    border-bottom: 1px solid rgba(224, 230, 226, .9);
    background: rgba(255, 255, 255, .95);
    box-shadow: 0 7px 28px rgba(64, 43, 30, .06);
    backdrop-filter: blur(18px);
}

.topnav,
.food-toolbar,
.navitems,
.menu-content {
    width: min(1160px, calc(100% - 36px));
    margin-inline: auto;
}

.food-toolbar {
    padding: 2px 0 12px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
}

.menu-search {
    position: relative;
    display: block;
}

.menu-search > i {
    position: absolute;
    top: 50%;
    left: 17px;
    z-index: 2;
    transform: translateY(-50%);
    color: #8e8a87;
    font-size: 13px;
    pointer-events: none;
}

.menu-search input {
    width: 100%;
    height: 47px;
    padding: 0 16px 0 44px;
    border: 1px solid var(--pm-border);
    border-radius: 14px;
    outline: none;
    background: #f8f7f6;
    color: var(--pm-ink);
    font-size: 11px;
    transition: .2s ease;
}

.menu-search input:focus {
    border-color: #ffb89c;
    background: var(--pm-white);
    box-shadow: 0 0 0 4px rgba(244, 81, 30, .08);
}

.menu-search input::-webkit-search-cancel-button {
    cursor: pointer;
}

.toolbar-promise {
    min-height: 42px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border-radius: 13px;
    background: var(--pm-brand-soft);
    color: var(--pm-brand-dark);
    font-size: 9px;
    font-weight: 700;
    white-space: nowrap;
}

.toolbar-promise i {
    color: #ff9b32;
}

.topnav {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand-area {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-shell {
    position: relative;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 15px;
    background: linear-gradient(145deg, #ff6a35, var(--pm-brand-dark));
    box-shadow: 0 8px 20px rgba(244, 81, 30, .25);
}

#logo {
    position: relative;
    z-index: 2;
    width: 100% !important;
    height: 100%;
    display: block;
    object-fit: contain;
    background: var(--pm-white);
}

#logo[src=""] {
    display: none;
}

.logo-fallback {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: var(--pm-white);
    font-size: 22px;
    font-weight: 800;
}

.brand-copy {
    min-width: 0;
}

#company_name {
    max-width: 410px;
    margin: 0;
    padding: 0 !important;
    overflow: hidden;
    color: var(--pm-ink);
    font-size: 18px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -.02em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.brand-copy p {
    margin: 4px 0 0;
    color: var(--pm-muted);
    font-size: 10px;
    font-weight: 500;
}

.open-dot {
    width: 7px;
    height: 7px;
    display: inline-block;
    margin-inline-end: 5px;
    border-radius: 50%;
    background: var(--pm-success);
    box-shadow: 0 0 0 4px #e3f7ed;
}

.brand-separator {
    margin-inline: 5px;
    color: #c2c7c4;
}

.langbtn {
    flex: 0 0 auto;
}

.lngbtn {
    min-height: 40px;
    padding: 0 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1px solid var(--pm-border);
    border-radius: 999px;
    outline: none;
    background: var(--pm-white);
    color: #414844;
    font-size: 11px;
    font-weight: 700;
    transition: .2s ease;
}

.lngbtn:hover,
.lngbtn:focus-visible {
    border-color: #ffc2aa;
    background: var(--pm-brand-soft);
    color: var(--pm-brand);
}

.menu-intro {
    min-height: 83px;
    padding: 12px 0 11px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.menu-content .menu-intro {
    width: 100%;
    margin-inline: 0;
}

.intro-label {
    display: block;
    color: var(--pm-brand);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .15em;
}

.menu-intro h2 {
    margin: 6px 0 0;
    color: var(--pm-ink);
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.04em;
}

.service-pill {
    min-height: 39px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border-radius: 999px;
    background: var(--pm-brand-soft);
    color: var(--pm-brand);
    font-size: 10px;
    font-weight: 700;
}

/* Categories populated by custom2.js */
.navitems {
    display: flex;
    align-items: center;
    gap: 9px;
    overflow-x: auto;
    padding: 3px 0 0;
    scrollbar-width: none;
}

.navitems::-webkit-scrollbar {
    display: none;
}

.nav_item {
    min-height: 38px;
    flex: 0 0 auto;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--pm-border);
    border-radius: 999px;
    background: var(--pm-white);
    color: #59605c;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    transition: .2s ease;
}

.nav_item:hover {
    border-color: #ffc2aa;
    color: var(--pm-brand);
}

.nav_item.selected {
    border-color: var(--pm-brand);
    background: var(--pm-brand);
    color: var(--pm-white);
    box-shadow: 0 8px 20px rgba(244, 81, 30, .22);
}

/* Product area */
.menu-content {
    padding: 22px 0 36px;
}

.promo-banner {
    position: relative;
    min-height: 174px;
    margin-bottom: 25px;
    padding: 31px 36px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    border-radius: 25px;
    background:
        radial-gradient(circle at 82% 16%, rgba(255, 255, 255, .20) 0 8%, transparent 8.5%),
        radial-gradient(circle at 94% 92%, rgba(255, 255, 255, .12) 0 18%, transparent 18.5%),
        linear-gradient(125deg, #ff6b2c 0%, var(--pm-brand) 55%, var(--pm-brand-dark) 100%);
    color: var(--pm-white);
    box-shadow: 0 20px 44px rgba(222, 62, 12, .20);
}

.promo-banner::after {
    content: "FOOD";
    position: absolute;
    top: 6px;
    right: 115px;
    color: rgba(255, 255, 255, .07);
    font-size: 96px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -.08em;
}

.promo-copy,
.promo-stat {
    position: relative;
    z-index: 1;
}

.promo-copy > span {
    color: rgba(255, 255, 255, .75);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .17em;
}

.promo-copy h2 {
    margin: 7px 0 6px;
    font-size: clamp(25px, 3vw, 35px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -.045em;
}

.promo-copy p {
    margin: 0;
    color: rgba(255, 255, 255, .78);
    font-size: 10px;
}

.promo-stat {
    min-width: 128px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 16px;
    background: rgba(113, 24, 0, .15);
    backdrop-filter: blur(8px);
}

.promo-stat strong {
    display: block;
    font-size: 14px;
}

.promo-stat strong i {
    color: #ffe16c;
}

.promo-stat > span {
    display: block;
    margin-top: 3px;
    color: rgba(255, 255, 255, .68);
    font-size: 8px;
}

#products {
    margin: 0 !important;
}

#products:empty {
    min-height: 330px;
    border: 1px solid var(--pm-border);
    border-radius: 24px;
    background:
        linear-gradient(90deg, transparent 0 25%, rgba(255,255,255,.55) 40%, transparent 60%) 0 0 / 220% 100%,
        var(--pm-white);
    animation: premium-skeleton 1.4s linear infinite;
}

@keyframes premium-skeleton {
    to { background-position: -220% 0; }
}

/* These selectors cover Bootstrap cards and the common product classes used by menu renderers. */
#products .row {
    margin: 0 -7px;
}

#products .row > [class*="col-"] {
    padding: 7px;
}

#products .card,
#products .product-card,
#products .product_item,
#products .product-item,
#products .menu-card,
#products .item-card {
    position: relative;
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--pm-border) !important;
    border-radius: 20px !important;
    background: var(--pm-white) !important;
    box-shadow: 0 6px 20px rgba(70, 45, 29, .05) !important;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

#products .card:hover,
#products .product-card:hover,
#products .product_item:hover,
#products .product-item:hover,
#products .menu-card:hover,
#products .item-card:hover {
    transform: translateY(-3px);
    border-color: #e6d9d1 !important;
    box-shadow: var(--pm-shadow) !important;
}

#products img {
    object-fit: cover;
}

#products .card-img-top,
#products .product-image,
#products .item-image {
    width: 100%;
    aspect-ratio: 1.35 / 1;
    display: block;
    border-radius: 16px;
    background: #edf1ee;
    object-fit: cover;
}

#products .card-body,
#products .product-body,
#products .item-body {
    padding: 16px !important;
}

#products h1,
#products h2,
#products h3,
#products h4,
#products h5,
#products h6,
#products .product-name,
#products .item-name {
    margin: 0 0 7px;
    color: var(--pm-ink) !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.35;
}

#products p,
#products .description,
#products .product-description {
    color: var(--pm-muted) !important;
    font-size: 10px !important;
    line-height: 1.55;
}

#products .price,
#products .product-price,
#products .item-price {
    color: var(--pm-ink) !important;
    font-size: 13px !important;
    font-weight: 800 !important;
}

#products button,
#products .add-btn,
#products .addtocart,
#products .add-to-cart {
    min-height: 37px;
    border: 1px solid #ffd3c0 !important;
    border-radius: 11px !important;
    background: var(--pm-white) !important;
    color: var(--pm-brand) !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    box-shadow: 0 6px 16px rgba(106, 53, 25, .09);
}

#products button:hover,
#products .add-btn:hover,
#products .addtocart:hover,
#products .add-to-cart:hover {
    background: var(--pm-brand-soft) !important;
}

/* Exact product markup generated by custom2.js */
#products {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

#products > .container {
    width: 100%;
    max-width: none;
    margin: 0 !important;
    padding: 0;
}

#products > .container > .row,
#products > .container > .row > .col-12 {
    height: 100%;
    margin: 0;
    padding: 0;
}

#products .cards {
    height: 100%;
    padding: 14px;
    overflow: hidden;
    border: 1px solid var(--pm-border);
    border-radius: 20px;
    background: var(--pm-white);
    box-shadow: 0 6px 20px rgba(70, 45, 29, .05);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

#products .cards:hover {
    transform: translateY(-3px);
    border-color: #e6d9d1;
    box-shadow: var(--pm-shadow);
}

#products .cards > .row {
    min-height: 150px;
    align-items: stretch;
    margin: 0;
}

#products .cards > .row > .col-3 {
    width: 35%;
    padding: 0;
}

#products .cards > .row > .col-1 {
    display: none;
}

#products .cards > .row > .col-8 {
    width: 65%;
    padding: 2px 3px 2px 15px;
}

#products .product-image-wrap {
    width: 100% !important;
    height: 150px;
    position: relative;
    overflow: hidden;
    display: block;
    border-radius: 15px;
    background: linear-gradient(145deg, #fff3ed 0%, #fbe5da 100%);
}

#products .img-coffe {
    width: 100% !important;
    height: 100%;
    display: block;
    object-fit: cover;
}

#products .product-image-fallback {
    position: absolute;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    color: var(--pm-brand);
    background:
        radial-gradient(circle at 75% 20%, rgba(244, 81, 30, .12), transparent 34%),
        linear-gradient(145deg, #fff7f3 0%, #fbe3d7 100%);
}

#products .product-image-fallback.is-visible {
    display: flex;
}

#products .product-image-fallback i {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(244, 81, 30, .18);
    border-radius: 50%;
    background: rgba(255, 255, 255, .78);
    box-shadow: 0 10px 24px rgba(133, 58, 26, .11);
    font-size: 20px;
}

#products .cards .card-body {
    height: 100%;
    padding: 0 !important;
}

#products .cards .card-body > img {
    width: 15px !important;
    height: 15px !important;
    display: block;
}

#products .cards h6 {
    margin: 8px 0 5px;
    color: var(--pm-ink) !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.3;
    letter-spacing: -.02em;
}

#products .cards .qty {
    width: fit-content;
    margin: 0 0 7px;
    padding: 3px 7px;
    border-radius: 999px;
    background: #f0f3f1;
    color: #7e8581 !important;
    font-size: 7px !important;
    font-weight: 700;
    letter-spacing: .06em;
}

#products .cards .pro-des {
    display: -webkit-box;
    overflow: hidden;
    color: var(--pm-muted);
    font-size: 9px;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

#products .downprice {
    min-height: 51px;
    margin-top: 12px;
    padding-top: 11px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-top: 1px solid #f0f2f0;
}

#products .downprice > .col-2 {
    display: none;
}

#products .downprice .price {
    padding: 0 !important;
    color: var(--pm-ink) !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    white-space: nowrap;
}

#products .align {
    min-width: 108px;
    display: flex;
    justify-content: flex-end;
}

#products .addtocart {
    min-width: 105px;
    min-height: 36px;
    padding: 0 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ffd3c0;
    border-radius: 10px;
    background: var(--pm-white);
    color: var(--pm-brand);
    font-size: 9px;
    font-weight: 800;
    box-shadow: 0 6px 16px rgba(106, 53, 25, .09);
    cursor: pointer;
    user-select: none;
}

#products .productcount {
    min-width: 105px;
    min-height: 36px;
    margin: 0 !important;
    padding: 0 4px;
    border: 1px solid #ffd3c0 !important;
    border-radius: 10px !important;
    background: var(--pm-white);
    box-shadow: 0 6px 16px rgba(106, 53, 25, .09);
}

#products .productcount.none,
.none {
    display: none !important;
}

#products .productcount .minus,
#products .productcount .plus {
    width: 30px;
    height: 30px;
    display: grid !important;
    place-items: center;
    color: var(--pm-brand) !important;
    cursor: pointer;
}

#products .productcount .box {
    width: 34px;
    padding: 0;
    background: transparent;
    color: var(--pm-ink) !important;
    font-size: 11px !important;
    font-weight: 800;
}

.form-warning {
    margin: -3px 0 13px;
    padding: 10px 12px;
    border: 1px solid #f2cbc8;
    border-radius: 10px;
    background: #fff3f2;
    color: #b54039;
    font-size: 9px;
    line-height: 1.45;
}

.form-warning i {
    margin-inline-end: 5px;
}

.menu-empty {
    grid-column: 1 / -1;
    min-height: 240px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px dashed #d6ded9;
    border-radius: 20px;
    background: var(--pm-white);
    color: var(--pm-muted);
    text-align: center;
}

.menu-empty i {
    margin-bottom: 4px;
    color: var(--pm-brand);
    font-size: 26px;
}

.menu-empty strong {
    color: var(--pm-ink);
    font-size: 12px;
}

.menu-empty span,
.category-error {
    color: var(--pm-muted);
    font-size: 9px;
}

/* Sticky cart */
.foot {
    position: fixed;
    left: 50%;
    bottom: 18px;
    z-index: 110;
    width: min(900px, calc(100% - 28px));
    min-height: 78px;
    transform: translateX(-50%);
    padding: 12px 13px 12px 16px;
    border: 1px solid rgba(255, 255, 255, .20);
    border-radius: 21px;
    background: rgba(27, 35, 32, .97);
    color: var(--pm-white);
    box-shadow: 0 20px 55px rgba(13, 25, 20, .28);
    backdrop-filter: blur(18px);
}

.cart-footer,
.order-success {
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

#footer[style*="block"],
#orderplaced[style*="block"] {
    display: flex !important;
}

.cart-details,
.cart-checkout {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.cart-symbol {
    position: relative;
    width: 43px;
    height: 43px;
    flex: 0 0 43px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: rgba(255, 255, 255, .10);
    color: #ffd1bd;
}

#itemcount {
    color: var(--pm-white);
    font-size: 12px;
    font-weight: 700;
}

#productname {
    max-width: 330px;
    margin-top: 3px;
    overflow: hidden;
    color: rgba(255, 255, 255, .58);
    font-size: 9px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#pricetotal {
    color: var(--pm-white);
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
}

.orderbtn,
.btncontinue {
    min-height: 50px;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 0 !important;
    border-radius: 14px !important;
    background: var(--pm-brand) !important;
    color: var(--pm-white) !important;
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
    transition: .2s ease;
}

.orderbtn:hover,
.btncontinue:hover {
    transform: translateY(-1px);
    background: var(--pm-brand-dark) !important;
    color: var(--pm-white) !important;
}

/* Checkout */
.checkout-canvas {
    background: var(--pm-canvas);
    color: var(--pm-ink);
}

.checkout-header {
    width: min(900px, calc(100% - 34px));
    min-height: 116px;
    margin-inline: auto;
    padding: 22px 0;
    display: grid;
    grid-template-columns: 46px 1fr auto;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid var(--pm-border);
    background: transparent !important;
}

.back-button {
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    border: 1px solid var(--pm-border);
    border-radius: 13px;
    background: var(--pm-white);
    color: var(--pm-ink);
}

.checkout-title h4 {
    margin: 5px 0 3px;
    color: var(--pm-ink);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -.03em;
}

.checkout-title p {
    margin: 0;
    color: var(--pm-muted);
    font-size: 10px;
}

.secure-badge {
    min-height: 34px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 999px;
    background: var(--pm-brand-soft);
    color: var(--pm-brand);
    font-size: 9px;
    font-weight: 700;
}

.checkout-body {
    width: min(900px, calc(100% - 34px));
    margin-inline: auto;
    padding: 24px 0 70px !important;
}

.checkout-panel {
    max-width: 610px;
    margin-inline: auto;
    padding: 24px;
    border: 1px solid var(--pm-border);
    border-radius: 22px;
    background: var(--pm-white);
    box-shadow: 0 10px 35px rgba(71, 45, 29, .06);
}

.premium-field {
    margin-bottom: 19px;
}

.premium-field label {
    display: block;
    margin-bottom: 8px;
    color: #454c48;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .08em;
}

.premium-field label > span {
    color: #e34e47;
}

.premium-field label small {
    color: #9aa09c;
    font-size: 8px;
    font-weight: 500;
}

.input-shell {
    position: relative;
}

.input-shell > i {
    position: absolute;
    top: 50%;
    left: 15px;
    z-index: 2;
    transform: translateY(-50%);
    color: #8a918d;
    font-size: 13px;
}

.input-shell .form-control {
    height: 50px;
    padding: 0 14px 0 42px !important;
    border: 1px solid #dfe4e1 !important;
    border-radius: 13px !important;
    outline: none;
    background: #fafbfa !important;
    color: var(--pm-ink);
    font-size: 11px;
    box-shadow: none !important;
}

.input-shell .form-control:focus {
    border-color: #ffb89c !important;
    background: var(--pm-white) !important;
    box-shadow: 0 0 0 4px rgba(13, 117, 87, .07) !important;
}

#inputdiv {
    margin-top: 9px;
}

#inputdiv:empty,
#inputdiv input[value=""] {
    display: none;
}

.btncontinue {
    width: 100%;
    margin-top: 2px;
}

.text-smalls {
    margin: 13px 0 0;
    color: #919793;
    font-size: 8px;
    line-height: 1.55;
    text-align: center;
}

.text-smalls .bold {
    color: #5d6560;
    font-weight: 700 !important;
}

.downfooter {
    width: 100%;
    padding: 14px;
    color: #9ca19e;
    font-size: 8px;
}

.downfooter a {
    color: var(--pm-brand);
    font-weight: 700;
    text-decoration: none;
}

/* Order success */
.success-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #def6eb;
    color: var(--pm-success);
}

.success-copy {
    min-width: 0;
}

.orderplaced {
    color: var(--pm-white);
    font-size: 11px;
    font-weight: 800;
}

#orderitem {
    max-width: 330px;
    margin-top: 3px;
    overflow: hidden;
    color: rgba(255, 255, 255, .60);
    font-size: 9px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#orderitem:has(.ordered-line) {
    max-width: 360px;
    overflow: visible;
    white-space: normal;
}

.ordered-line {
    min-width: 260px;
    padding: 3px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: rgba(255, 255, 255, .66);
    font-size: 8px;
}

.ordered-line strong {
    flex: 0 0 auto;
    color: var(--pm-white);
    font-size: 8px;
}

.success-total {
    margin-inline-start: auto;
    text-align: right;
}

.success-total span {
    display: block;
    color: rgba(255, 255, 255, .55);
    font-size: 8px;
}

.success-total strong {
    color: var(--pm-white);
    font-size: 13px;
}

/* Arabic direction */
[dir="rtl"] .input-shell > i,
html[dir="rtl"] .input-shell > i {
    right: 15px;
    left: auto;
}

[dir="rtl"] .menu-search > i,
html[dir="rtl"] .menu-search > i {
    right: 17px;
    left: auto;
}

[dir="rtl"] .menu-search input,
html[dir="rtl"] .menu-search input {
    padding: 0 44px 0 16px;
}

[dir="rtl"] .input-shell .form-control,
html[dir="rtl"] .input-shell .form-control {
    padding: 0 42px 0 14px !important;
}

[dir="rtl"] .back-button i,
html[dir="rtl"] .back-button i {
    transform: rotate(180deg);
}

@media (max-width: 767px) {
    body {
        padding-bottom: 108px;
    }

    .topnav,
    .food-toolbar,
    .navitems,
    .menu-content {
        width: calc(100% - 24px);
    }

    .navbars {
        padding-bottom: 11px;
    }

    .topnav {
        min-height: 66px;
        gap: 10px;
    }

    .logo-shell {
        width: 39px;
        height: 39px;
        flex-basis: 39px;
        border-radius: 12px;
    }

    .logo-fallback {
        font-size: 18px;
    }

    #company_name {
        max-width: 160px;
        font-size: 14px;
    }

    .brand-copy p {
        font-size: 8px;
    }

    .lngbtn {
        min-height: 36px;
        padding: 0 11px;
        font-size: 9px;
    }

    .food-toolbar {
        padding-bottom: 10px;
        grid-template-columns: 1fr;
    }

    .menu-search input {
        height: 44px;
        border-radius: 12px;
    }

    .toolbar-promise {
        display: none;
    }

    .menu-intro {
        min-height: 66px;
        padding: 7px 0;
    }

    .menu-intro h2 {
        font-size: 20px;
    }

    .service-pill {
        display: none;
    }

    .nav_item {
        min-height: 34px;
        padding: 0 13px;
        font-size: 9px;
    }

    .menu-content {
        padding-top: 16px;
    }

    .promo-banner {
        min-height: 146px;
        margin-bottom: 20px;
        padding: 24px 21px;
        border-radius: 20px;
    }

    .promo-banner::after {
        top: 20px;
        right: 8px;
        font-size: 64px;
    }

    .promo-copy {
        max-width: 290px;
    }

    .promo-copy h2 {
        font-size: 24px;
    }

    .promo-copy p {
        max-width: 250px;
        font-size: 8px;
        line-height: 1.5;
    }

    .promo-stat {
        display: none;
    }

    #products {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    #products .cards {
        padding: 11px;
        border-radius: 17px;
    }

    #products .cards > .row {
        min-height: 126px;
    }

    #products .cards > .row > .col-3 {
        width: 36%;
    }

    #products .cards > .row > .col-8 {
        width: 64%;
        padding-inline-start: 12px;
    }

    #products .product-image-wrap {
        height: 126px;
        border-radius: 13px;
    }

    #products .cards h6 {
        margin-top: 6px;
        font-size: 12px !important;
    }

    #products .cards .pro-des {
        font-size: 8px;
        -webkit-line-clamp: 2;
    }

    #products .downprice {
        min-height: 45px;
        margin-top: 9px;
        padding-top: 9px;
    }

    #products .card,
    #products .product-card,
    #products .product_item,
    #products .product-item,
    #products .menu-card,
    #products .item-card {
        border-radius: 17px !important;
    }

    .foot {
        bottom: 9px;
        width: calc(100% - 18px);
        min-height: 68px;
        padding: 9px 9px 9px 11px;
        border-radius: 17px;
    }

    .cart-footer,
    .order-success {
        gap: 8px;
    }

    .cart-symbol {
        width: 37px;
        height: 37px;
        flex-basis: 37px;
        border-radius: 11px;
    }

    #itemcount {
        font-size: 10px;
    }

    #productname {
        max-width: 112px;
        font-size: 7px;
    }

    #pricetotal {
        font-size: 11px;
    }

    .orderbtn,
    .btncontinue {
        min-height: 46px;
        padding: 0 14px;
        border-radius: 12px !important;
        font-size: 9px;
    }

    .checkout-header {
        width: calc(100% - 26px);
        min-height: 98px;
        grid-template-columns: 40px 1fr;
        padding: 17px 0;
        gap: 11px;
    }

    .back-button {
        width: 39px;
        height: 39px;
        border-radius: 12px;
    }

    .checkout-title h4 {
        font-size: 19px;
    }

    .secure-badge {
        display: none;
    }

    .checkout-body {
        width: calc(100% - 26px);
        padding-top: 16px !important;
    }

    .checkout-panel {
        padding: 17px;
        border-radius: 18px;
    }

    .premium-field {
        margin-bottom: 16px;
    }

    .input-shell .form-control {
        height: 47px;
    }

    .success-total {
        display: none;
    }

    #orderitem {
        max-width: 135px;
    }

    #orderitem:has(.ordered-line) {
        max-width: 145px;
        max-height: 38px;
        overflow-y: auto;
    }

    .ordered-line {
        min-width: 0;
        gap: 7px;
    }

    .ordered-line span {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .success-copy + .orderbtn,
    .success-total + .orderbtn {
        margin-inline-start: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}
