@font-face {
    font-family: Sukar;
    src: url("fonts/Sukar-Black.ttf") format("truetype");
    font-style: normal;
    font-weight: 900;
    font-display: swap;
}
@font-face {
    font-family: "Plex Arabic";
    src: url("fonts/IBMPlexSansArabic-Regular.ttf") format("truetype");
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: "Plex Arabic";
    src: url("fonts/IBMPlexSansArabic-SemiBold.ttf") format("truetype");
    font-weight: 600;
    font-display: swap;
}

:root {
    color-scheme: dark;
    --base: #150d09;
    --surface: #231710;
    --raised: #2c1d15;
    --edge: #4b3224;
    --cream: #fff2e4;
    --muted: #d2ad94;
    --ember: #f88631;
    --gold: #ffb660;
    --forest: #b1ebbd;
    --wrap: 1180px;
    --radius: 23px;
    --title: Sukar, "Plex Arabic", Tahoma, sans-serif;
}

* { box-sizing: border-box; }
body.laham-app {
    margin: 0;
    background: radial-gradient(ellipse at 90% 4%, #2d170c 0, transparent 36rem), var(--base);
    color: var(--cream);
    font: 400 16px/1.62 "Plex Arabic", Tahoma, sans-serif;
    -webkit-tap-highlight-color: transparent;
}
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { color: inherit; cursor: pointer; }
button:disabled { cursor: default; opacity: .45; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font: 900 2.2rem/1.13 var(--title); }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
#laham-main:focus { outline: none; }
.sr-only, .skip-link:not(:focus) {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
.skip-link:focus {
    position: fixed;
    z-index: 150;
    top: 12px;
    inset-inline-start: 12px;
    background: var(--gold);
    color: var(--base);
    padding: 10px 16px;
    border-radius: 12px;
}
.icon { width: 21px; height: 21px; flex: 0 0 auto; vertical-align: middle; }
.wrap { width: min(var(--wrap), calc(100% - 56px)); margin-inline: auto; }
.no-js { padding-block: 48px; }
.no-js a { display: block; color: var(--gold); margin-block: 8px; }
#laham-main { min-height: 56vh; }

.masthead { border-bottom: 1px solid #60382355; background: #160e0bc9; }
.mast-inner { display: flex; min-height: 82px; align-items: center; justify-content: space-between; gap: 22px; }
.wordmark { display: inline-flex; gap: 12px; align-items: center; }
.wordmark img { width: 30px; height: 51px; object-fit: contain; }
.wordmark strong { display: block; font: 900 1.2rem/1.1 var(--title); }
.wordmark small, .footer small { display: block; color: var(--muted); font-size: .72rem; }
.wide-nav { display: flex; gap: 4px; align-items: center; }
.wide-nav a {
    min-height: 44px;
    padding: 8px 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: .88rem;
    color: var(--muted);
}
.wide-nav a:is(:hover,[aria-current="page"]) { color: var(--gold); background: #f8863110; border-color: #f886312e; }
.nav-glyph, .header-cart { position: relative; }
.nav-count {
    position: absolute;
    top: -5px;
    inset-inline-end: -8px;
    background: var(--gold);
    color: #241208;
    border: 2px solid var(--base);
    border-radius: 20px;
    min-width: 18px;
    padding-inline: 3px;
    font-size: .64rem;
    text-align: center;
    font-weight: 600;
    line-height: 1.25;
}
.icon-button { min-width: 44px; min-height: 44px; display: inline-grid; place-items: center; border-radius: 13px; border: 1px solid var(--edge); background: var(--surface); }
.header-cart .nav-count { top: 2px; inset-inline-end: 0; }
.dock { display: none; }

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    border: 1px solid transparent;
    border-radius: 13px;
    padding: 9px 16px;
    text-align: center;
    font-weight: 600;
    font-size: .92rem;
    line-height: 1.4;
    transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.button .icon { width: 19px; height: 19px; }
.button.primary { background: linear-gradient(125deg, #ffba68, #f4812a 76%); color: #241107; border-color: #ffb063; }
.button.primary:hover { background: #ffca8d; }
.button.outline { border-color: #9e674966; background: #1f120dd2; color: var(--cream); }
.button.outline:hover { background: #5c3421; border-color: #b27b59; }
.eyebrow { display: inline-block; color: var(--gold); font-weight: 600; font-size: .85rem; margin-bottom: 7px; }
.text-link { color: var(--gold); display: inline-flex; align-items: center; gap: 5px; font-weight: 600; min-height: 44px; font-size: .88rem; }
.text-link .icon, .back-link .icon { width: 18px; height: 18px; }

.home { padding-top: 21px; padding-bottom: 52px; }
.hero {
    min-height: clamp(430px, 49vw, 570px);
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: grid;
    align-items: center;
    border-radius: 32px;
    border: 1px solid #94532d7a;
    background: #1a0f0b;
    box-shadow: 0 28px 70px #05020075;
}
.hero picture, .hero picture img, .hero-grain { position: absolute; inset: 0; height: 100%; width: 100%; }
.hero picture { z-index: -3; }
.hero picture img { object-fit: cover; object-position: center 60%; }
.hero::before {
    content: "";
    position: absolute;
    z-index: -2;
    inset: 0;
    background: linear-gradient(270deg, #140b09f5 1%, #150a08bf 30%, transparent 73%),
                linear-gradient(0deg, #170b0790, transparent 38%);
}
.hero-grain {
    z-index: -1;
    inset: 11px;
    width: auto;
    height: auto;
    border-radius: 24px;
    border: 1px solid #ffe1b41c;
    pointer-events: none;
}
.hero-copy { padding: 43px clamp(28px, 6vw, 86px) 56px; }
.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 11px;
    margin-bottom: 22px;
    border: 1px solid #efa16e55;
    border-radius: 999px;
    background: #160c0bbf;
    color: #ffd9b8;
    font-size: .8rem;
}
.hero-tag .icon { width: 15px; height: 15px; color: var(--gold); }
.hero h1 { font-size: clamp(4.2rem, 8.1vw, 7.4rem); letter-spacing: -.012em; line-height: .99; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero p { color: #f4cfb4; max-width: 29ch; margin-top: 18px; font-size: 1.05rem; }
.hero-actions { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 24px; }
.hero-index { position: absolute; bottom: 22px; inset-inline-end: 26px; display: flex; gap: 7px; align-items: center; color: #fff2e4; font-size: .69rem; }
.hero-index i { width: 6px; height: 6px; border-radius: 50%; background: #ffb660; box-shadow: 0 0 15px #ff984b; }
.home-section { margin-top: clamp(34px, 5.5vw, 66px); }
.section-title { display: flex; justify-content: space-between; align-items: end; gap: 8px; margin-bottom: 17px; }
.section-title h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
.category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; }
.category-card {
    min-height: clamp(135px, 16vw, 205px);
    border: 1px solid #ad6b3f6e;
    border-radius: var(--radius);
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--surface);
    display: flex;
    align-items: end;
    padding: 15px;
}
.category-card img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; z-index: -2; transition: transform .25s ease; }
.category-card:hover img { transform: scale(1.04); }
.category-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, #1b0c07f2, #1b0c0755 63%, #1b0c071a); }
.category-icon {
    position: absolute;
    top: 11px;
    inset-inline-start: 11px;
    width: 35px;
    height: 35px;
    border-radius: 11px;
    background: #2b190fbb;
    border: 1px solid #ffae6b55;
    display: grid;
    place-items: center;
    color: #ffc482;
}
.category-icon .icon { width: 19px; height: 19px; }
.category-text { min-width: 0; }
.category-text small { display: block; color: #f7c69c; font-size: .72rem; }
.category-text strong { display: block; font: 900 clamp(1.15rem, 2.2vw, 1.65rem)/1.2 var(--title); }

.food-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.food-card {
    min-width: 0;
    overflow: hidden;
    border-radius: var(--radius);
    background: linear-gradient(140deg, var(--raised), #21150f);
    border: 1px solid var(--edge);
    display: grid;
    grid-template-rows: auto 1fr;
}
.food-photo, .detail-photo { position: relative; background: #352016; }
.food-photo { aspect-ratio: 1.6; overflow: hidden; }
.food-photo a { display: block; height: 100%; }
.food-photo img, .detail-photo img { width: 100%; height: 100%; object-fit: cover; }
.food-photo img { transition: transform .25s ease; }
.food-photo a:hover img { transform: scale(1.055); }
.heart { position: absolute; top: 8px; inset-inline-end: 8px; color: #fff6e9; background: #140d0bd4; border-color: #ffe7cd66; }
.heart[aria-pressed="true"] { color: #ffaf70; }
.heart[aria-pressed="true"] .icon { fill: #ffaf70; }
.food-copy { padding: 13px; display: flex; flex-direction: column; }
.food-title { font: 900 clamp(1.15rem, 2.1vw, 1.45rem)/1.22 var(--title); }
.food-title:hover { color: var(--gold); }
.food-copy p { color: var(--muted); font-size: .83rem; margin: 5px 0 10px; }
.food-bottom { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: auto; }
.food-price { color: var(--gold); font-weight: 600; line-height: 1.3; }
.amount { font-size: 1.35em; font-weight: 600; font-variant-numeric: tabular-nums; }
.currency { white-space: nowrap; font-size: .86em; }
.food-price small { font-size: .76rem; }
.quick-add { background: #f8863122; border-color: #f8863165; color: #ffbd80; }
.quick-add:hover { background: var(--gold); color: var(--base); }

.location-banner {
    margin-top: 50px;
    min-height: 144px;
    padding: 21px;
    display: flex;
    gap: 16px;
    align-items: center;
    border: 1px solid var(--edge);
    border-radius: var(--radius);
    background: linear-gradient(260deg, #22120df7, #24140ac2), url("art/charcoal-texture.webp") center 78%/cover;
}
.location-symbol { width: 53px; height: 53px; flex: 0 0 auto; display: grid; place-items: center; color: var(--gold); background: #d6753028; border: 1px solid #c7825f70; border-radius: 16px; }
.location-banner h2 { font-size: clamp(1.28rem, 4vw, 1.85rem); }
.location-banner p { color: var(--muted); font-size: .88rem; }
.location-banner > a { margin-inline-start: auto; flex-shrink: 0; }

.subpage { padding-top: 26px; padding-bottom: 48px; }
.page-intro {
    padding: clamp(19px, 3.5vw, 38px);
    margin-bottom: 21px;
    border: 1px solid var(--edge);
    border-radius: var(--radius);
    background: linear-gradient(270deg, #28150ef7, #1b100c74), url("art/charcoal-texture.webp") center 73%/cover;
}
.page-intro h1 { font-size: clamp(2.15rem, 5vw, 3.9rem); }
.page-intro p { color: var(--muted); margin-top: 6px; }
.search-field { display: flex; align-items: center; gap: 9px; max-width: 38rem; padding: 0 13px; border: 1px solid var(--edge); border-radius: 14px; background: var(--surface); color: var(--gold); }
.search-field:focus-within { border-color: var(--gold); }
.search-field input { width: 100%; min-width: 0; min-height: 48px; background: transparent; border: 0; color: var(--cream); outline: 0; }
.search-field input::placeholder, .field :is(input,textarea)::placeholder { color: #c4a38b; opacity: 1; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 12px 4px; margin-inline: -4px; scrollbar-width: thin; }
.chips a { flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; min-height: 44px; border-radius: 999px; background: var(--surface); border: 1px solid var(--edge); font-size: .85rem; color: var(--muted); }
.chips a .icon { width: 17px; height: 17px; }
.chips a:is([aria-current="page"],:hover) { color: #261409; background: #ffb66c; border-color: #ffb66c; }
.result-count { color: var(--muted); font-size: .82rem; margin: 2px 0 10px; }
.empty, .empty-results { display: grid; place-items: center; gap: 13px; min-height: 200px; padding: 24px; border-radius: var(--radius); border: 1px dashed var(--edge); text-align: center; }
.empty > .icon { width: 37px; height: 37px; color: var(--gold); }
.empty h2 { font-size: 1.55rem; }


.back-link { display: inline-flex; gap: 6px; align-items: center; min-height: 44px; color: var(--gold); }
.detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); align-items: center; gap: clamp(18px, 5vw, 62px); }
.detail-photo { aspect-ratio: 1.22; overflow: hidden; border: 1px solid var(--edge); border-radius: 28px; }
.detail-copy h1 { font-size: clamp(2.15rem, 5vw, 4.2rem); }
.detail-copy p { color: var(--muted); margin-block: 8px 17px; }
.item-buy { display: flex; flex-wrap: wrap; gap: 8px; align-items: stretch; margin-top: 13px; }
.item-buy > .button { flex: 1 1 165px; }
#item-total { margin-inline-start: 3px; }
.variant-picks legend, .method legend { margin-bottom: 6px; font-size: .92rem; font-weight: 600; }
.variant-picks { display: grid; gap: 7px; }
.variant-picks label, .method label { position: relative; cursor: pointer; }
.variant-picks input, .method input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.variant-picks label > span, .method label > span {
    min-height: 46px;
    border: 1px solid var(--edge);
    border-radius: 12px;
    background: #1b100c;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    padding: 7px 11px;
    font-size: .88rem;
}
.variant-picks input:checked + span, .method input:checked + span { color: #ffcf9e; background: #f8863120; border-color: #e89654; }
.variant-picks input:focus-visible + span, .method input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 3px; }
.item-source { color: var(--muted); display: inline-flex; gap: 6px; align-items: center; min-height: 44px; margin-top: 12px; font-size: .83rem; }
.item-source:hover { color: var(--gold); }

.stepper { display: inline-flex; align-items: center; border-radius: 12px; border: 1px solid var(--edge); background: #140d09; overflow: hidden; }
.stepper button { display: grid; place-items: center; width: 44px; min-height: 44px; padding: 0; background: transparent; border: 0; color: var(--gold); }
.stepper button:hover:not(:disabled) { background: #42271a; }
.stepper button:focus-visible { outline-offset: -3px; }
.stepper output { min-width: 22px; text-align: center; font-weight: 600; }
.stepper .icon { width: 17px; height: 17px; }
.order-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .9fr); align-items: start; gap: clamp(14px, 4vw, 36px); }
.order-list, .order-panel { background: var(--surface); border: 1px solid var(--edge); border-radius: var(--radius); padding: clamp(12px, 2.2vw, 23px); min-width: 0; }
.order-list h2, .order-panel h2 { font-size: 1.6rem; margin-bottom: 12px; }
.order-list h2 span { color: var(--gold); font: 600 .85rem/1.5 "Plex Arabic",sans-serif; }
.order-line {
    padding-block: 11px;
    border-top: 1px solid var(--edge);
    display: grid;
    grid-template-columns: 66px minmax(0, 1fr) auto;
    gap: 9px;
    align-items: start;
}
.order-line > a { display: block; border-radius: 11px; overflow: hidden; }
.order-line img { width: 66px; height: 66px; object-fit: cover; }
.line-copy { overflow-wrap: anywhere; }
.line-copy a:hover { color: var(--gold); }
.line-copy small { display: block; color: var(--muted); }
.line-price { display: block; margin-top: 2px; color: var(--gold); font-size: .83rem; }
.line-actions { display: grid; justify-items: end; }
.plain-button { color: var(--muted); background: transparent; border: 0; border-radius: 8px; min-height: 36px; padding-inline: 7px; text-decoration: underline; font-size: .8rem; }
.plain-button:hover { color: var(--cream); }
.order-list .text-link { margin-top: 4px; }

.method { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.method label > span { justify-content: center; text-align: center; }
.method .icon { width: 17px; height: 17px; }
.field { display: block; font-weight: 600; font-size: .9rem; margin-top: 13px; }
.field small { color: var(--muted); font-weight: 400; }
.field input, .field textarea {
    display: block;
    margin-top: 4px;
    background: #160d09;
    color: var(--cream);
    border: 1px solid var(--edge);
    border-radius: 10px;
    width: 100%;
    min-height: 45px;
    padding: 8px 10px;
    font-weight: 400;
    font-size: 1rem;
}
.field textarea { resize: vertical; }
#delivery-fields { margin-top: 13px; border-top: 1px solid var(--edge); padding-top: 13px; }
#delivery-fields h3 { display: flex; align-items: center; gap: 6px; font-size: .98rem; }
#delivery-fields h3 .icon { color: var(--gold); width: 18px; height: 18px; }
.location-options { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 8px; }
.location-options .button { flex: 1 1 134px; min-height: 44px; font-size: .82rem; padding-inline: 8px; }
.point-chosen { display: flex; align-items: center; gap: 7px; color: var(--forest); font-size: .86rem; margin-top: 7px; }
.point-chosen .icon { width: 17px; height: 17px; }
.point-chosen .plain-button { margin-inline-start: auto; }
.field-status:not(:empty) { margin-top: 7px; color: var(--gold); font-size: .82rem; }
.small-note { color: var(--muted); margin: 6px 0; font-size: .81rem; }
.order-total { margin-top: 13px; border-top: 1px solid var(--edge); padding-block: 10px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.order-total strong { color: var(--gold); text-align: end; }
.form-error { color: #ffb5a0; padding: 8px 0; font-weight: 600; }
.whatsapp, .copy-order { width: 100%; }
.whatsapp { background: #a5e5b3; border-color: #a5e5b3; color: #153d20; }
.whatsapp:hover { background: #c9f1ce; }
.copy-order { margin-top: 7px; }
.handoff-note { text-align: center; }

.map-dialog {
    width: min(670px, calc(100% - 24px));
    max-height: calc(100dvh - 24px);
    margin: auto;
    padding: clamp(12px, 3vw, 21px);
    border: 1px solid var(--edge);
    border-radius: var(--radius);
    color: var(--cream);
    background: var(--surface);
    box-shadow: 0 22px 70px #0008;
    overflow: auto;
}
.map-dialog::backdrop { background: #080503d9; }
.map-head { display: flex; justify-content: space-between; align-items: start; gap: 9px; margin-bottom: 10px; }
.map-head h2 { font-size: clamp(1.3rem, 3vw, 1.85rem); }
.map-head p { color: var(--muted); font-size: .84rem; }
.map-head .icon-button { font-size: 1.7rem; line-height: 1; }
.map-frame { min-height: 210px; height: min(43dvh, 390px); border-radius: 12px; overflow: hidden; background: #d6c4ae; color-scheme: light; direction: ltr; }
.map-frame .leaflet-control-attribution a { color: #125374; }
.map-state { min-height: 24px; color: var(--muted); font-size: .82rem; margin-block: 6px; }
.map-actions { display: flex; justify-content: end; flex-wrap: wrap; gap: 8px; }
.delivery-marker { background: #e65e17; border-radius: 50%; border: 3px solid #fff2e4; box-shadow: 0 0 0 4px #ed762c60; }

.footer { border-top: 1px solid var(--edge); background: #120a07; }
.footer-inner { display: flex; gap: 12px; align-items: center; min-height: 92px; padding-block: 12px; }
.footer img { width: 26px; height: 46px; }
.footer strong { font: 900 1.05rem/1.1 var(--title); }
.footer-links { margin-inline-start: auto; display: flex; flex-wrap: wrap; gap: 8px 14px; }
.footer-links a { color: var(--muted); display: inline-flex; gap: 5px; align-items: center; min-height: 44px; font-size: .85rem; }
.footer-links .icon { color: var(--gold); width: 18px; height: 18px; }
.footer-links a:hover { color: var(--cream); }

.order-bar {
    position: fixed;
    z-index: 18;
    width: min(440px, calc(100% - 28px));
    inset-inline-end: max(14px, calc((100vw - var(--wrap)) / 2));
    bottom: 16px;
}
.order-bar a {
    display: flex;
    gap: 8px;
    align-items: center;
    min-height: 54px;
    padding: 6px 12px;
    border-radius: 16px;
    background: linear-gradient(125deg,#ffba72,#f98f43);
    border: 1px solid #ffba72;
    color: #241107;
    box-shadow: 0 8px 24px #080402a0;
    font-size: .93rem;
}
.order-bar-count { min-width: 28px; height: 28px; display: grid; place-items: center; font-weight: 600; background: #75361428; border-radius: 9px; }
.order-bar-total { margin-inline-start: auto; font-size: .86rem; white-space: nowrap; }
.toast {
    z-index: 24;
    position: fixed;
    bottom: 82px;
    left: 50%;
    max-width: calc(100% - 32px);
    transform: translate(-50%, 8px);
    opacity: 0;
    pointer-events: none;
    transition: transform .2s, opacity .2s;
    background: #2c1a11;
    border: 1px solid #9a5f3d;
    border-radius: 13px;
    padding: 8px 13px;
    font-size: .86rem;
    text-align: center;
}
.toast.visible { opacity: 1; transform: translate(-50%, 0); }

.splash { display: none; }
.has-intro body { overflow: hidden; }
.has-intro .splash {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: #0c0705;
    display: grid;
    place-items: center;
    isolation: isolate;
    overflow: hidden;
    transition: opacity .27s ease, transform .27s ease;
}
.splash.splash-out { opacity: 0; transform: scale(1.035); }
.splash-back, .splash-fire { position: absolute; width: 100%; height: 100%; inset: 0; pointer-events: none; }
.splash-back {
    z-index: -2;
    background: linear-gradient(180deg,#070404fa 4%,#0d0706bc 68%,#30100644 100%), url("art/charcoal-texture.webp") center bottom/cover;
}
.splash-fire { z-index: -1; filter: blur(1px); }
.splash-center { text-align: center; transform: translateY(-3vh); }
.splash-seal {
    margin: auto auto 14px;
    width: 126px;
    height: 188px;
    display: grid;
    place-items: center;
    border-radius: 46% 46% 42% 42%;
    background: radial-gradient(ellipse at center, #b7411744, transparent 66%);
    animation: seal-in .92s both cubic-bezier(.23,.78,.15,1);
}
.splash-seal img { width: 90px; height: 158px; object-fit: contain; filter: drop-shadow(0 0 13px #fa662b60); }
.splash-center p { color: var(--cream); font: 900 clamp(1.85rem, 6vw, 2.7rem)/1.12 var(--title); animation: seal-in .8s .23s both; }
.splash-rule { display: block; width: 64px; height: 2px; margin: 16px auto 0; background: linear-gradient(90deg,transparent,#ff8932,transparent); animation: seal-in .8s .35s both; }
.splash-skip { position: absolute; inset-inline-end: max(15px,env(safe-area-inset-right)); bottom: max(15px,env(safe-area-inset-bottom)); min-height: 44px; padding-inline: 11px; border: 1px solid #ffd9b957; border-radius: 14px; background: #1c100bbd; color: #ffe0c6; font-size: .82rem; }
@keyframes seal-in {
    from { opacity: 0; transform: translateY(14px) scale(.93); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 850px) {
    .wrap { width: calc(100% - 36px); }
    .hero h1 { font-size: clamp(3.7rem, 9vw, 5.5rem); }
    .order-layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 630px) {
    .wrap { width: calc(100% - 28px); }
    #laham-shell { padding-bottom: calc(82px + env(safe-area-inset-bottom)); }
    body:has(.order-bar:not([hidden])) #laham-shell { padding-bottom: calc(136px + env(safe-area-inset-bottom)); }
    .mast-inner { min-height: 64px; }
    .wordmark img { width: 25px; height: 44px; }
    .wordmark strong { font-size: 1.13rem; }
    .wide-nav { display: none; }
    .home { padding-top: 12px; padding-bottom: 31px; }
    .hero { min-height: clamp(405px, 118vw, 520px); align-items: start; border-radius: 25px; }
    .hero picture img { object-position: center 52%; }
    .hero::before { background: linear-gradient(180deg,#120907fa 0%,#130a08d6 32%,#130a0845 69%,#130a0840 86%,#130a08a6); }
    .hero-grain { inset: 7px; border-radius: 19px; }
    .hero-copy { padding: 23px 17px 73px; }
    .hero-tag { margin-bottom: 15px; }
    .hero h1 { font-size: clamp(3.1rem, 11.8vw, 4.75rem); }
    .hero p { margin-top: 11px; font-size: .94rem; max-width: 28ch; }
    .hero-actions { margin-top: 13px; gap: 6px; }
    .hero-actions .button { padding-inline: 10px; min-height: 44px; font-size: .82rem; }
    .hero-actions .icon { width: 17px; height: 17px; }
    .hero-index { bottom: 14px; inset-inline-end: 16px; }
    .section-title { margin-bottom: 12px; }
    .section-title h2 { font-size: 1.9rem; }
    .category-grid, .food-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .category-card { min-height: 119px; border-radius: 16px; padding: 9px; }
    .category-icon { inset-inline-start: 8px; top: 8px; width: 32px; height: 32px; }
    .category-text small { font-size: .66rem; }
    .category-text strong { font-size: 1.21rem; }
    .food-card { border-radius: 16px; }
    .food-photo { aspect-ratio: 1.25; }
    .food-copy { padding: 8px; }
    .food-title { font-size: 1.13rem; }
    .food-copy p { font-size: .75rem; line-height: 1.45; }
    .heart { top: 4px; inset-inline-end: 4px; }
    .heart .icon, .quick-add .icon { width: 18px; height: 18px; }
    .food-price { font-size: .85rem; }
    .food-price small { font-size: .68rem; }
    .location-banner { flex-wrap: wrap; margin-top: 32px; gap: 10px; padding: 13px; }
    .location-banner > a { margin-inline-start: 0; }
    .location-symbol { width: 40px; height: 40px; }
    .location-banner h2 { font-size: 1.23rem; }
    .subpage { padding-block: 14px 29px; }
    .page-intro { margin-bottom: 13px; }
    .detail { grid-template-columns: minmax(0, 1fr); gap: 13px; }
    .detail-photo { border-radius: 18px; aspect-ratio: 1.34; }
    .footer { display: none; }

    .dock {
        display: grid;
        grid-template-columns: repeat(4, minmax(0,1fr));
        position: fixed;
        z-index: 20;
        bottom: max(8px, env(safe-area-inset-bottom));
        left: 50%;
        transform: translateX(-50%);
        width: min(450px, calc(100% - 20px));
        padding: 4px;
        border: 1px solid #a66b4885;
        border-radius: 18px;
        background: #24160fed;
        backdrop-filter: blur(14px);
        box-shadow: 0 9px 30px #080402a0;
    }
    .dock a {
        min-height: 54px;
        display: grid;
        justify-items: center;
        align-content: center;
        gap: 2px;
        padding: 2px;
        color: var(--muted);
        font-size: .69rem;
        line-height: 1.2;
        border-radius: 13px;
    }
    .dock a[aria-current="page"] { background: #f886312a; color: #ffbf80; }
    .dock .icon { width: 21px; height: 21px; }
    .dock .nav-count { top: -3px; }
    .order-bar { width: min(450px, calc(100% - 20px)); left: 50%; inset-inline-end: auto; transform: translateX(-50%); bottom: calc(74px + env(safe-area-inset-bottom)); }
    .order-bar a { min-height: 49px; }
    .toast { bottom: calc(82px + env(safe-area-inset-bottom)); }
    body:has(.order-bar:not([hidden])) .toast { bottom: calc(132px + env(safe-area-inset-bottom)); }
}
@media (max-width: 365px) {
    .wrap { width: calc(100% - 22px); }
    .hero-copy { padding-inline: 13px; }
    .hero h1 { font-size: 2.95rem; }
    .section-title h2 { font-size: 1.7rem; }
    .order-line { grid-template-columns: 52px minmax(0, 1fr) auto; gap: 6px; }
    .order-line img { width: 52px; height: 52px; }
    .line-copy { font-size: .87rem; }
    .line-actions .stepper button { width: 36px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
    .has-intro .splash { display: none; }
}
