:root {
  --red: #E3161B;
  --red-dark: #B80F13;
  --ink: #141112;
  --ink-2: #1F1B1C;
  --ink-3: #2B2627;
  --cream: #F7EFE4;
  --paper: #FFFCF8;
  --line: #EADFD2;
  --muted: #7A6F68;
  --yellow: #FFC53D;
  --green: #1FA565;
  --radius: 20px;
  --shadow: 0 20px 50px -20px rgba(20, 17, 18, .35);
  --head: 'Alexandria', system-ui, sans-serif;
  --body: 'IBM Plex Sans Arabic', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 140px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--paper); line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
input, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
body.lock { overflow: hidden; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 999px; font-family: var(--head); font-weight: 700; font-size: 15px; transition: transform .15s, background .2s, box-shadow .2s; white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--red); color: #fff; box-shadow: 0 10px 24px -10px rgba(227, 22, 27, .8); }
.btn--primary:hover { background: var(--red-dark); }
.btn--primary:disabled { background: #cfc4bb; box-shadow: none; cursor: not-allowed; }
.btn--ghost { border: 2px solid var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--lg { padding: 15px 28px; font-size: 16px; }
.btn--block { width: 100%; }

/* Logo */
.logo { display: inline-flex; align-items: center; font-family: 'Arial Black', var(--head); font-weight: 900; font-size: 28px; letter-spacing: -1px; direction: ltr; }
.logo__mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--red); color: #fff; font-size: 22px; margin-right: 1px; }
.logo__text { color: var(--red); }
.logo--light .logo__text { color: #fff; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 252, 248, .85); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.header.scrolled { border-color: var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.nav { display: flex; gap: 28px; font-family: var(--head); font-weight: 500; font-size: 15px; }
.nav a { position: relative; padding: 4px 0; }
.nav a::after { content: ''; position: absolute; inset-inline: 0; bottom: -2px; height: 2px; background: var(--red); transform: scaleX(0); transition: transform .2s; }
.nav a:hover::after { transform: scaleX(1); }
.header__actions { display: flex; align-items: center; gap: 10px; }
.branch-chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: var(--cream); font-size: 13px; font-weight: 600; max-width: 230px; }
.branch-chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.branch-chip svg { width: 18px; height: 18px; color: var(--red); flex: none; }
.cart-btn { position: relative; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; }
.cart-btn__count { position: absolute; top: -4px; left: -4px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 99px; background: var(--red); font-size: 12px; font-weight: 700; display: grid; place-items: center; border: 2px solid var(--paper); }
.cart-btn.bump { animation: bump .4s; }
@keyframes bump { 40% { transform: scale(1.18); } }

/* Hero */
.hero { position: relative; overflow: hidden; padding-top: 40px; }
.hero__inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; min-height: 600px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: var(--cream); font-size: 14px; font-weight: 600; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--muted); }
.dot.on { background: var(--green); box-shadow: 0 0 0 0 rgba(31, 165, 101, .6); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(31, 165, 101, 0); } 100% { box-shadow: 0 0 0 0 rgba(31, 165, 101, 0); } }
.hero__title { font-family: 'Arial Black', var(--head); font-weight: 900; font-size: clamp(52px, 8vw, 104px); line-height: .92; letter-spacing: -3px; margin: 22px 0 20px; direction: ltr; text-align: right; }
.hero__title em { font-style: normal; color: var(--red); }
.hero__lead { font-size: 18px; color: #4A413D; max-width: 520px; margin: 0 0 28px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__stats { list-style: none; padding: 0; margin: 40px 0 0; display: flex; gap: 36px; }
.hero__stats strong { display: block; font-family: var(--head); font-size: 28px; font-weight: 800; }
.hero__stats span { font-size: 13px; color: var(--muted); }
.hero__art { position: relative; aspect-ratio: 1; max-width: 560px; justify-self: center; width: 100%; }
.hero__blob { position: absolute; inset: 6%; border-radius: 42% 58% 55% 45% / 48% 42% 58% 52%; background: var(--red); animation: morph 12s ease-in-out infinite; }
@keyframes morph { 50% { border-radius: 58% 42% 45% 55% / 42% 58% 42% 58%; } }
.hero__img { position: absolute; object-fit: cover; box-shadow: var(--shadow); }
.hero__img--main { inset: 14% 14% 14% 14%; width: 72%; height: 72%; border-radius: 50%; border: 8px solid var(--paper); z-index: 2; animation: float 6s ease-in-out infinite; }
.hero__img--a { width: 34%; height: 34%; border-radius: 24px; top: 0; left: -2%; transform: rotate(-8deg); z-index: 3; border: 5px solid var(--paper); }
.hero__img--b { width: 30%; height: 30%; border-radius: 50%; bottom: 2%; right: 0; z-index: 3; border: 5px solid var(--paper); }
.hero__badge { position: absolute; z-index: 4; bottom: 16%; left: 2%; background: var(--yellow); border-radius: 50%; width: 104px; height: 104px; display: grid; place-content: center; text-align: center; transform: rotate(-12deg); font-family: var(--head); box-shadow: var(--shadow); }
.hero__badge strong { font-size: 26px; line-height: 1; font-weight: 900; }
.hero__badge span { font-size: 12px; font-weight: 700; }
@keyframes float { 50% { transform: translateY(-10px) rotate(2deg); } }

.marquee { margin-top: 48px; background: var(--ink); color: #fff; overflow: hidden; padding: 16px 0; transform: rotate(-1.2deg); width: 104%; margin-inline-start: -2%; }
.marquee__track { display: flex; gap: 28px; width: max-content; animation: scroll 30s linear infinite; font-family: 'Arial Black', var(--head); font-weight: 900; font-size: 26px; align-items: center; }
.marquee__track i { color: var(--red); font-style: normal; font-size: 18px; }
@keyframes scroll { to { transform: translateX(50%); } }

/* Sections */
.section { padding: 96px 0; }
.section--dark { background: var(--ink); color: #fff; }
.section--cream { background: var(--cream); }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 36px; flex-wrap: wrap; }
.section__head--center { flex-direction: column; align-items: center; text-align: center; }
.kicker { display: inline-block; font-family: var(--head); font-weight: 700; font-size: 13px; color: var(--red); letter-spacing: .5px; margin-bottom: 6px; }
.section__title { font-family: var(--head); font-weight: 800; font-size: clamp(30px, 4.4vw, 48px); line-height: 1.15; margin: 0; }
.link-arrow { font-family: var(--head); font-weight: 700; color: var(--red); }

/* Favorites */
.favs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.fav { position: relative; background: var(--ink-2); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s; }
.fav:hover { transform: translateY(-6px); }
.fav__img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.fav__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.fav__name { font-family: var(--head); font-weight: 700; font-size: 18px; }
.fav__desc { font-size: 13px; color: #B4AAA4; flex: 1; }
.fav__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.price { font-family: var(--head); font-weight: 800; font-size: 18px; }
.price small { font-size: 12px; font-weight: 500; opacity: .7; }
.add { width: 40px; height: 40px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-size: 24px; line-height: 1; transition: transform .15s, background .2s; flex: none; }
.add:hover { background: var(--red-dark); transform: rotate(90deg); }

/* Menu */
.search { display: flex; align-items: center; gap: 8px; background: var(--cream); border-radius: 999px; padding: 0 16px; min-width: 280px; }
.search svg { color: var(--muted); flex: none; }
.search input { border: 0; background: none; outline: none; padding: 13px 0; width: 100%; }
.cats { position: sticky; top: 72px; z-index: 40; background: rgba(255, 252, 248, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); margin-bottom: 32px; }
.cats__inner { display: flex; gap: 8px; overflow-x: auto; padding: 12px 0; scrollbar-width: none; }
.cats__inner::-webkit-scrollbar { display: none; }
.cat { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px 6px 6px; border-radius: 999px; background: var(--cream); font-family: var(--head); font-weight: 600; font-size: 14px; transition: background .2s, color .2s; }
.cat img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.cat.active { background: var(--ink); color: #fff; }
.menu-cat { margin-bottom: 64px; }
.menu-cat__head { display: flex; align-items: center; gap: 18px; margin-bottom: 22px; }
.menu-cat__head img { width: 72px; height: 72px; border-radius: 18px; object-fit: cover; }
.menu-cat__head h3 { font-family: var(--head); font-weight: 800; font-size: 28px; margin: 0; line-height: 1.2; }
.menu-cat__head small { display: block; color: var(--muted); font-size: 14px; }
.menu-cat__head .en { font-family: 'Arial Black', var(--head); color: var(--red); font-size: 13px; letter-spacing: 1px; text-transform: uppercase; }
.group-title { font-family: var(--head); font-weight: 700; font-size: 16px; margin: 26px 0 12px; display: flex; align-items: center; gap: 10px; color: var(--ink-3); }
.group-title::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.item { display: flex; align-items: center; gap: 14px; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: 18px; text-align: right; transition: border-color .2s, box-shadow .2s, transform .2s; width: 100%; }
.item:hover { border-color: var(--red); box-shadow: 0 12px 30px -18px rgba(227, 22, 27, .6); transform: translateY(-2px); }
.item__info { flex: 1; min-width: 0; }
.item__name { font-family: var(--head); font-weight: 700; font-size: 16px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.item__desc { font-size: 13px; color: var(--muted); margin-top: 2px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.item .price { margin-top: 6px; display: block; }
.tag { font-family: var(--body); font-size: 11px; font-weight: 700; padding: 1px 8px; border-radius: 99px; background: var(--yellow); color: var(--ink); }
.tag--hot { background: #FFE2E2; color: var(--red); }
.tag--top { background: var(--ink); color: #fff; }
.empty { text-align: center; color: var(--muted); padding: 40px 0; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { background: var(--paper); border-radius: var(--radius); padding: 30px; position: relative; }
.step__num { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--red); color: #fff; font-family: var(--head); font-weight: 900; font-size: 24px; }
.step h3 { font-family: var(--head); font-size: 21px; margin: 18px 0 6px; }
.step p { margin: 0; color: var(--muted); }
.pay-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.pay-pill { display: inline-flex; align-items: center; gap: 6px; background: #fff; border-radius: 12px; padding: 10px 18px; font-weight: 700; font-size: 15px; border: 1px solid var(--line); }
.visa { font-family: 'Arial Black', Arial; font-style: italic; color: #1A1F71; font-size: 16px; letter-spacing: -.5px; }
.mc { display: inline-flex; font-style: normal; }
.mc i { width: 18px; height: 18px; border-radius: 50%; background: #EB001B; display: inline-block; }
.mc i + i { background: #F79E1B; margin-inline-start: -8px; mix-blend-mode: multiply; }
svg.apple { fill: currentColor; stroke: none; width: 18px; height: 18px; }

/* Branches */
.branches { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.branch { border-radius: var(--radius); overflow: hidden; background: var(--ink); color: #fff; display: grid; grid-template-columns: 1fr 1fr; min-height: 280px; }
.branch__img { object-fit: cover; width: 100%; height: 100%; }
.branch__body { padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.branch__name { font-family: var(--head); font-weight: 800; font-size: 26px; margin: 0; }
.status { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; }
.branch__addr { color: #CFC5BF; font-size: 15px; flex: 1; }
.branch__links { display: flex; gap: 8px; flex-wrap: wrap; }
.branch__links .btn { padding: 10px 16px; font-size: 14px; }
.btn--light { background: rgba(255, 255, 255, .1); color: #fff; }
.btn--light:hover { background: rgba(255, 255, 255, .2); }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.gallery img { aspect-ratio: 1; object-fit: cover; border-radius: 16px; transition: transform .3s; }
.gallery img:hover { transform: scale(1.04) rotate(-1deg); }

/* Footer */
.footer { background: #0B0909; color: #CFC5BF; padding: 64px 0 24px; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1.4fr 1fr; gap: 32px; }
.footer h4 { font-family: var(--head); color: #fff; margin: 0 0 14px; font-size: 16px; }
.footer__grid > div { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.footer__grid a:hover { color: #fff; }
.footer__tag { font-family: 'Arial Black', var(--head); color: #fff; margin: 12px 0 0; direction: ltr; text-align: right; }
.socials { display: flex; gap: 10px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .08); display: grid; place-items: center; transition: background .2s; }
.socials a:hover { background: var(--red); }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 48px; padding-top: 20px; font-size: 13px; text-align: center; }

/* Floating cart (mobile) */
.float-cart { position: fixed; z-index: 45; bottom: calc(16px + env(safe-area-inset-bottom)); inset-inline: 16px; display: none; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 18px; background: var(--red); color: #fff; font-family: var(--head); font-weight: 700; box-shadow: 0 16px 40px -12px rgba(227, 22, 27, .8); }
.float-cart span:nth-child(2) { flex: 1; text-align: right; }
.float-cart__count { background: rgba(0, 0, 0, .2); border-radius: 10px; padding: 2px 10px; }

/* Modal */
.modal, .drawer { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; }
.modal__backdrop, .drawer__backdrop { position: absolute; inset: 0; background: rgba(15, 12, 12, .6); backdrop-filter: blur(4px); animation: fade .2s; }
.modal__panel { position: relative; background: var(--paper); border-radius: 26px; padding: 32px; width: min(560px, 100%); max-height: calc(100dvh - 32px); overflow-y: auto; animation: pop .28s cubic-bezier(.2, .9, .3, 1.2); }
.modal__panel--wide { width: min(980px, 100%); }
.modal__panel--item { padding: 0; width: min(480px, 100%); overflow-x: hidden; }
.modal__panel--center { text-align: center; width: min(420px, 100%); }
.modal__x { position: absolute; top: 14px; left: 14px; width: 38px; height: 38px; border-radius: 50%; background: var(--cream); font-size: 24px; line-height: 1; display: grid; place-items: center; z-index: 2; }
.modal__title { font-family: var(--head); font-weight: 800; font-size: 26px; margin: 0 0 18px; line-height: 1.3; }
.modal__sub { font-family: var(--head); font-size: 20px; margin: 0 0 14px; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(24px) scale(.97); } }

.pick-branches { display: grid; gap: 12px; margin-bottom: 26px; }
.pick { display: flex; gap: 14px; align-items: center; text-align: right; padding: 14px; border: 2px solid var(--line); border-radius: 18px; background: #fff; transition: border-color .2s, background .2s; width: 100%; }
.pick img { width: 64px; height: 64px; border-radius: 14px; object-fit: cover; }
.pick__info { flex: 1; }
.pick strong { font-family: var(--head); font-size: 18px; display: block; }
.pick small { color: var(--muted); display: block; }
.pick__radio { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--line); flex: none; position: relative; }
.pick.selected { border-color: var(--red); background: #FFF5F4; }
.pick.selected .pick__radio { border-color: var(--red); }
.pick.selected .pick__radio::after { content: ''; position: absolute; inset: 4px; border-radius: 50%; background: var(--red); }
.mode-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mode { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 22px 12px; border: 2px solid var(--line); border-radius: 18px; background: #fff; transition: border-color .2s, transform .15s; }
.mode:hover { border-color: var(--red); transform: translateY(-2px); }
.mode svg { width: 36px; height: 36px; color: var(--red); margin-bottom: 6px; }
.mode strong { font-family: var(--head); font-size: 16px; }
.mode span { font-size: 13px; color: var(--muted); }

.item-modal__img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.item-modal__body { padding: 24px 28px 28px; }
.item-modal__body .modal__title { margin-bottom: 4px; }
.sizes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 18px 0; }
.size { padding: 12px 8px; border: 2px solid var(--line); border-radius: 14px; background: #fff; text-align: center; }
.size strong { display: block; font-family: var(--head); font-size: 15px; }
.size span { font-size: 13px; color: var(--muted); }
.size.selected { border-color: var(--red); background: #FFF5F4; }
.item-modal__foot { display: flex; gap: 12px; align-items: center; margin-top: 18px; }
.qty { display: flex; align-items: center; background: var(--cream); border-radius: 999px; padding: 4px; flex: none; }
.qty button { width: 38px; height: 38px; border-radius: 50%; font-size: 20px; font-weight: 700; }
.qty button:hover { background: #fff; }
.qty output { min-width: 30px; text-align: center; font-weight: 700; }
.qty--sm button { width: 30px; height: 30px; font-size: 16px; }
.qty--sm output { min-width: 22px; font-size: 14px; }

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; font-size: 14px; font-weight: 600; }
.field input, .field textarea { border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; background: #fff; outline: none; font-weight: 400; transition: border-color .2s, box-shadow .2s; width: 100%; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(20, 17, 18, .08); }
.field.invalid input { border-color: var(--red); }
.err { font-style: normal; color: var(--red); font-size: 12px; font-weight: 500; min-height: 0; }
.err:empty { display: none; }

/* Drawer */
.drawer { place-items: stretch; justify-items: start; padding: 0; }
.drawer__panel { position: relative; background: var(--paper); width: min(440px, 100%); height: 100dvh; display: flex; flex-direction: column; animation: slide .3s cubic-bezier(.2, .9, .3, 1); }
@keyframes slide { from { transform: translateX(100%); } }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-family: var(--head); margin: 0; font-size: 24px; }
.drawer__head .modal__x { position: static; }
.cart-branch { margin: 14px 24px 0; padding: 12px 14px; border-radius: 14px; background: var(--cream); display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 14px; text-align: right; }
.cart-branch u { color: var(--red); font-weight: 700; text-decoration: none; flex: none; }
.drawer__body { flex: 1; overflow-y: auto; padding: 12px 24px; }
.drawer__foot { border-top: 1px solid var(--line); padding: 18px 24px calc(18px + env(safe-area-inset-bottom)); }
.line { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.line img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; flex: none; }
.line__info { flex: 1; min-width: 0; }
.line__name { font-family: var(--head); font-weight: 700; font-size: 15px; }
.line__meta { font-size: 12px; color: var(--muted); }
.line__row { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.line__rm { font-size: 12px; color: var(--muted); text-decoration: underline; }
.cart-empty { text-align: center; padding: 60px 10px; color: var(--muted); }
.cart-empty b { display: block; font-size: 52px; margin-bottom: 8px; }
.sum { display: flex; justify-content: space-between; font-size: 15px; margin-bottom: 8px; }
.sum--total { font-family: var(--head); font-weight: 800; font-size: 20px; margin: 12px 0 16px; padding-top: 12px; border-top: 1px solid var(--line); }

/* Checkout */
.checkout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 28px; align-items: start; }
.checkout fieldset { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.checkout legend { font-family: var(--head); font-weight: 700; font-size: 17px; margin-bottom: 12px; padding: 0; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.pay-options { display: grid; gap: 10px; }
.pay input { position: absolute; opacity: 0; pointer-events: none; }
.pay__box { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 2px solid var(--line); border-radius: 16px; background: #fff; cursor: pointer; transition: border-color .2s, background .2s; }
.pay__box small { display: block; color: var(--muted); font-size: 12px; }
.pay__box strong { font-family: var(--head); font-size: 15px; }
.pay__icon { width: 52px; height: 36px; border-radius: 8px; background: var(--cream); display: grid; place-items: center; font-size: 20px; flex: none; }
.pay__icon--apple { background: #000; color: #fff; }
.pay input:checked + .pay__box { border-color: var(--red); background: #FFF5F4; }
.pay input:focus-visible + .pay__box { outline: 3px solid rgba(227, 22, 27, .3); }
.pay-note { font-size: 13px; background: var(--cream); padding: 10px 14px; border-radius: 12px; margin: 10px 0 0; }
.checkout__summary { background: var(--cream); border-radius: 20px; padding: 22px; position: sticky; top: 0; }
.checkout__summary h3 { font-family: var(--head); margin: 0 0 12px; }
.co-branch { font-size: 13px; background: #fff; border-radius: 12px; padding: 10px 12px; margin-bottom: 12px; }
.co-items { list-style: none; padding: 0; margin: 0 0 14px; max-height: 220px; overflow-y: auto; }
.co-items li { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; padding: 6px 0; border-bottom: 1px dashed #DCCFBF; }

/* Success */
.check svg { width: 88px; height: 88px; margin: 0 auto 12px; stroke: var(--green); stroke-width: 3; }
.check circle { stroke-dasharray: 160; stroke-dashoffset: 160; animation: draw .6s forwards; }
.check path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .4s .5s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.order-no { font-family: 'Arial Black', var(--head); font-size: 32px; color: var(--red); margin: 0 0 12px; direction: ltr; }
#okMsg { margin: 0 0 22px; }

.toast { position: fixed; z-index: 200; bottom: 24px; left: 50%; transform: translate(-50%, 20px); opacity: 0; background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 999px; font-weight: 600; font-size: 14px; transition: transform .3s, opacity .3s; white-space: nowrap; pointer-events: none; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }

/* Responsive */
@media (max-width: 1024px) {
  .items { grid-template-columns: repeat(2, 1fr); }
  .favs { grid-template-columns: repeat(2, 1fr); }
  .branch { grid-template-columns: 1fr; }
  .branch__img { height: 200px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav { display: none; }
  .hero__inner { grid-template-columns: 1fr; min-height: 0; gap: 20px; }
  .hero__art { max-width: 420px; order: -1; }
  .checkout { grid-template-columns: 1fr; }
  .checkout__summary { position: static; }
  .steps { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .float-cart:not([hidden]) { display: flex; }
  body { padding-bottom: 80px; }
  .toast { bottom: 96px; }
}
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .header__inner { height: 64px; }
  .cats { top: 64px; }
  .logo { font-size: 24px; }
  .logo__mark { width: 30px; height: 30px; font-size: 18px; }
  .branch-chip { max-width: 150px; padding: 7px 10px; font-size: 12px; }
  .hero { padding-top: 16px; }
  .hero__title { letter-spacing: -2px; }
  .hero__lead { font-size: 16px; }
  .hero__cta .btn { flex: 1; }
  .hero__stats { gap: 22px; }
  .hero__badge { width: 80px; height: 80px; }
  .hero__badge strong { font-size: 20px; }
  .marquee__track { font-size: 20px; }
  .items { grid-template-columns: 1fr; gap: 10px; }
  .item { padding: 12px 14px; }
  .item .add { width: 34px; height: 34px; font-size: 20px; }
  .item .price { margin-top: 2px; font-size: 16px; }
  .favs { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .fav__body { padding: 12px; }
  .fav__name { font-size: 15px; }
  .fav__desc { display: none; }
  .search { min-width: 0; width: 100%; }
  .branches { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr; }
  .modal { padding: 0; place-items: end stretch; }
  .modal__panel { border-radius: 26px 26px 0 0; width: 100%; max-height: 92dvh; padding: 26px 20px calc(24px + env(safe-area-inset-bottom)); animation-name: up; }
  .modal__panel--item { padding: 0; }
  .item-modal__body { padding: 20px 20px calc(24px + env(safe-area-inset-bottom)); }
  .modal__panel--wide, .modal__panel--center { width: 100%; }
  .row2, .row3 { grid-template-columns: 1fr; gap: 0; }
  .row3 { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .modal__title { font-size: 22px; }
}
@keyframes up { from { transform: translateY(100%); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
