@font-face {
  font-family: "Chakra Petch";
  src: url("../fonts/ChakraPetch-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Chakra Petch";
  src: url("../fonts/ChakraPetch-SemiBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Chakra Petch";
  src: url("../fonts/ChakraPetch-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #29251f;
  --muted: #777168;
  --cream: #fffaf0;
  --paper: #fff;
  --line: #eee7dc;
  --yellow: #ffd65a;
  --yellow-dark: #f5bf2d;
  --red: #d94f42;
  --green: #456e4f;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: "Chakra Petch", "Segoe UI", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #c48a16; outline-offset: 3px; }
.page-container { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }

.site-header { position: relative; z-index: 2; background: #fffdf8; border-bottom: 1px solid #f2ebde; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 88px; gap: 16px; }
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 12px; min-width: 0; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__mark { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 16px; transform: rotate(-8deg); color: #4b391a; background: var(--yellow); font-size: 19px; font-weight: 900; letter-spacing: -.06em; line-height: 1; box-shadow: 0 4px 0 #e9b83d; }
.brand__text { display: grid; gap: 1px; }
.brand__text strong { font-size: 23px; font-weight: 850; letter-spacing: .035em; text-transform: uppercase; }
.brand__text small { color: var(--muted); font-size: 12px; letter-spacing: .01em; }
.cart-trigger { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 8px 10px 8px 16px; border: 1px solid #e9dfcd; border-radius: 99px; background: #fff; font-size: 14px; font-weight: 750; transition: background .2s, transform .2s; }
.cart-trigger:hover { background: #fff6dc; transform: translateY(-2px); }
.cart-trigger svg { width: 21px; height: 21px; }
.cart-trigger__count { display: grid; place-items: center; min-width: 27px; height: 27px; padding-inline: 5px; border-radius: 50%; background: var(--yellow); font-size: 12px; }
.customer-nav { display: inline-flex; align-items: center; gap: 8px; max-width: 190px; min-height: 42px; padding: 5px 11px 5px 6px; border: 1px solid #dfebdf; border-radius: 99px; background: #f3f8f1; color: #315b3a; font-size: 12px; font-weight: 800; text-decoration: none; }
.customer-nav:hover { background: #e9f3e6; }
.customer-nav__avatar { flex: none; display: grid; place-items: center; width: 29px; height: 29px; border-radius: 50%; background: var(--green); color: #fff; font-size: 13px; }
.customer-nav__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.intro { position: relative; display: grid; grid-template-columns: 1fr .92fr; align-items: center; min-height: 405px; padding-block: 35px 50px; overflow: hidden; }
.intro__copy { position: relative; z-index: 1; padding-block: 26px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--green); font-size: 11px; font-weight: 850; letter-spacing: .16em; }
.eyebrow__dot { width: 7px; height: 7px; border-radius: 50%; background: #85a478; }
.intro h1 { margin: 16px 0 17px; font-size: clamp(43px, 5.2vw, 70px); line-height: 1.12; letter-spacing: -.035em; font-weight: 850; text-transform: uppercase; }
.intro h1 em { color: #be6c36; font-style: normal; }
.intro p { max-width: 460px; margin: 0; color: #635d54; font-size: 16px; line-height: 1.72; }
.intro__link { display: inline-flex; align-items: center; gap: 24px; margin-top: 27px; padding: 13px 19px; border-radius: 99px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 750; text-decoration: none; transition: transform .2s, background .2s; }
.intro__link:hover { background: #564634; transform: translateY(-2px); }
.intro__link span { font-size: 19px; line-height: 1; }
.intro__art { position: relative; width: min(100%, 360px); aspect-ratio: 1; margin-inline: auto; }
.intro__circle { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); border-radius: 50%; }
.intro__circle--one { width: 92%; height: 92%; background: #fbe5ac; }
.intro__circle--two { width: 74%; height: 74%; border: 2px dashed #ebbd68; }
.intro__image { position: absolute; width: 82%; height: 82%; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 0; overflow: hidden; border: 8px solid #fffefb; border-radius: 50%; background: #fffefb; box-shadow: 0 18px 36px #71593329; }
.intro__image img { width: 100%; height: 100%; object-fit: cover; object-position: center; transform: scale(1.1); }
.intro__spark { position: absolute; color: #d09a38; font-size: 32px; }
.intro__spark--one { top: 33px; right: 24px; }
.intro__spark--two { bottom: 16px; left: 16px; font-size: 24px; }
.intro__sticker { position: absolute; right: 0; bottom: 8px; display: grid; place-items: center; width: 87px; height: 87px; border-radius: 50%; transform: rotate(12deg); background: #658d61; color: #fff; text-align: center; font-size: 12px; font-weight: 800; line-height: 1.35; box-shadow: 0 10px 18px #456e4f36; }

.menu-section { padding: 52px 0 92px; background: #fff; border-top: 1px solid #f0e9dd; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 27px; }
.section-heading h2 { margin: 8px 0 0; font-size: clamp(31px, 3.3vw, 42px); font-weight: 850; line-height: 1.18; letter-spacing: -.02em; text-transform: uppercase; }
.section-heading > p { margin: 0 0 4px; color: var(--muted); font-size: 14px; }
.menu-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.search-box { display: flex; align-items: center; gap: 10px; width: min(480px, 100%); height: 50px; padding: 0 15px; border: 1px solid #e8e2d8; border-radius: 14px; background: #fcfaf6; transition: border-color .2s, box-shadow .2s; }
.search-box:focus-within { border-color: #d2a33c; box-shadow: 0 0 0 3px #ffd65a35; }
.search-box svg { flex: none; width: 21px; height: 21px; color: #8d857b; }
.search-box input { width: 100%; height: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 14px; }
.search-box input::placeholder { color: #999188; }
.menu-count { color: var(--muted); font-size: 13px; white-space: nowrap; }
.category-list { display: flex; gap: 9px; margin: 23px 0 30px; padding-bottom: 3px; overflow-x: auto; scrollbar-width: thin; }
.category-chip { flex: none; padding: 10px 18px; border: 1px solid #eae3d9; border-radius: 99px; background: #fff; color: #625c53; font-size: 13px; font-weight: 750; transition: background .2s, border-color .2s, color .2s; }
.category-chip:hover { border-color: #e3bc58; background: #fff9e8; }
.category-chip.is-active { border-color: var(--yellow); background: var(--yellow); color: #372c1a; }

.food-groups { display: grid; gap: 36px; }
.food-group { min-width: 0; }
.food-group__title { margin: 0 0 18px; padding-bottom: 12px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 20px; font-weight: 600; text-transform: uppercase; }
.food-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 19px; }
.food-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid #eee9e0; border-radius: 20px; background: #fff; box-shadow: 0 8px 24px #4b3b2610; transition: transform .25s, box-shadow .25s; }
.food-card:hover { transform: translateY(-5px); box-shadow: 0 17px 34px #4b3b261d; }
.food-card__visual { flex: none; position: relative; height: 204px; overflow: hidden; background: #f5efe2; }
.food-card__image-button { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; }
.food-card__image-button img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.food-card:hover .food-card__image-button img { transform: scale(1.06); }
.discount-badge { position: absolute; top: 12px; left: 12px; padding: 6px 10px; border-radius: 7px; background: var(--red); color: #fff; font-size: 12px; font-weight: 850; box-shadow: 0 4px 12px #a63b3140; pointer-events: none; }
.sold-out-badge { position: absolute; bottom: 12px; left: 12px; padding: 7px 12px; border-radius: 7px; background: #a43c30; color: #fff; font-size: 14px; font-weight: 700; pointer-events: none; }
.sold-out-text { margin: 4px 0; color: #a43c30; font-size: 13px; font-weight: 700; }
button:disabled { cursor: not-allowed; }
.food-card__body { flex: 1; display: flex; flex-direction: column; padding: 16px; }
.food-card__category { color: #68805c; font-size: 11px; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.food-card h4 { margin: 5px 0 0; font-size: 18px; line-height: 1.36; letter-spacing: -.025em; }
.food-card h4 button { padding: 0; border: 0; background: none; color: inherit; font-weight: 800; text-align: left; }
.food-card h4 button:hover { color: #aa622d; }
.food-card__ingredients { margin: 6px 0 0; color: #837b71; font-size: 12px; line-height: 1.55; }
.food-card__footer { display: flex; align-items: end; justify-content: space-between; gap: 6px; margin-top: auto; padding-top: 10px; }
.food-card__prices { display: grid; gap: 2px; white-space: nowrap; }
.food-card__prices del { color: #a59c92; font-size: 12px; }
.food-card__prices strong { color: var(--ink); font-size: 19px; letter-spacing: -.035em; }
.food-card:has(.discount-badge) .food-card__prices strong { color: var(--red); }
.add-button { flex: none; display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%; background: var(--yellow); color: #3b301e; transition: background .2s, transform .2s; }
.add-button svg { width: 16px; height: 16px; }
.add-button:hover:not(:disabled) { background: var(--yellow-dark); transform: scale(1.06); }
.add-button:disabled, .primary-button:disabled, .checkout-menu__item button:disabled, .cart-row__controls button:disabled, .checkout-button:disabled { background: #e7e2d9; color: #898178; }
.empty-state { padding: 75px 20px; border: 1px dashed #e4d9ca; border-radius: 20px; text-align: center; background: #fffdf9; }
.empty-state > span { color: #d5a54a; font-size: 50px; }
.empty-state h3 { margin: 12px 0 6px; font-size: 21px; }
.empty-state p { margin: 0; color: var(--muted); }

.site-footer { padding: 25px 0; background: #302d28; color: #fff; }
.site-footer .page-container { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.site-footer strong { font-size: 18px; letter-spacing: -.04em; }
.site-footer span { color: #d0c8bb; font-size: 12px; }

dialog { padding: 0; border: 0; color: var(--ink); background: #fff; }
dialog::backdrop { background: #241f18a6; }
.item-dialog { width: min(760px, calc(100% - 32px)); max-height: min(90dvh, 850px); margin: auto; border-radius: 22px; box-shadow: 0 30px 80px #1e1a1740; }
.item-dialog__content { display: grid; grid-template-columns: 42% 58%; }
.dialog-close { z-index: 1; display: grid; place-items: center; width: 37px; height: 37px; padding: 0; border: 0; border-radius: 50%; background: #f6f0e7; color: #4d473f; font-size: 26px; line-height: 1; }
.dialog-close:hover { background: #eadfcf; }
.item-dialog > .item-dialog__content > .dialog-close { position: absolute; top: 14px; right: 14px; }
.item-dialog__image { min-height: 460px; background: #f3eadb; }
.item-dialog__image img { width: 100%; height: 100%; object-fit: cover; }
.item-dialog__body { padding: 40px 32px 30px; overflow: auto; }
.item-dialog h2, .cart-dialog h2 { margin: 9px 0 8px; font-size: 31px; line-height: 1.18; letter-spacing: -.045em; }
.detail-price { display: flex; align-items: center; gap: 10px; margin: 12px 0 16px; }
.detail-price del { color: #9b9388; font-size: 15px; }
.detail-price strong { color: var(--red); font-size: 25px; letter-spacing: -.04em; }
.detail-description { margin: 0 0 20px; color: #6b645a; font-size: 14px; line-height: 1.55; }
.detail-ingredients { padding: 15px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 13px; }
.detail-ingredients p { margin: 6px 0 0; color: #756e64; line-height: 1.5; }
.note-label { display: block; margin: 17px 0 8px; font-size: 13px; font-weight: 800; }
.item-dialog textarea { display: block; width: 100%; min-height: 68px; padding: 10px 12px; resize: vertical; border: 1px solid #e4ddd2; border-radius: 10px; outline: none; background: #fffdfa; font-size: 13px; }
.item-dialog textarea:focus { border-color: #d2a33c; box-shadow: 0 0 0 3px #ffd65a35; }
.detail-actions { display: flex; align-items: center; gap: 10px; margin-top: 20px; }
.quantity-picker { display: inline-flex; align-items: center; border: 1px solid #e7dfd2; border-radius: 11px; }
.quantity-picker button { width: 35px; height: 42px; border: 0; background: transparent; font-size: 20px; }
.quantity-picker button:hover { background: #fff5d7; }
.quantity-picker output { min-width: 26px; text-align: center; font-size: 14px; font-weight: 800; }
.primary-button { flex: 1; min-height: 44px; padding: 10px 12px; border: 0; border-radius: 11px; background: var(--yellow); color: #3c301c; font-size: 13px; font-weight: 850; white-space: nowrap; }
.primary-button:hover { background: var(--yellow-dark); }

.cart-dialog { position: fixed; inset: 0 0 0 auto; width: min(430px, 100%); max-width: none; max-height: none; height: 100dvh; margin: 0; box-shadow: -20px 0 60px #1e1a1733; }
.cart-dialog__inner { display: flex; flex-direction: column; height: 100%; }
.cart-dialog__header { display: flex; align-items: start; justify-content: space-between; gap: 12px; padding: 28px 25px 20px; border-bottom: 1px solid var(--line); }
.cart-dialog h2 { margin-bottom: 0; }
.cart-items { flex: 1; overflow-y: auto; padding: 20px 25px; }
.cart-empty { display: grid; place-content: center; min-height: 250px; text-align: center; color: var(--muted); }
.cart-empty span { font-size: 45px; }
.cart-empty h3 { margin: 10px 0 5px; color: var(--ink); font-size: 18px; }
.cart-empty p { margin: 0; font-size: 13px; }
.cart-row { display: grid; grid-template-columns: 70px 1fr; gap: 12px; padding: 0 0 18px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.cart-row img { width: 70px; height: 70px; border-radius: 12px; object-fit: cover; }
.cart-row__name { margin: 0 0 3px; font-size: 14px; font-weight: 800; }
.cart-row__note { margin: 0 0 7px; color: var(--muted); font-size: 12px; line-height: 1.4; }
.cart-row__bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.cart-row__bottom strong { color: var(--red); font-size: 14px; }
.cart-row__controls { display: inline-flex; align-items: center; gap: 7px; }
.cart-row__controls button { display: grid; place-items: center; width: 25px; height: 25px; padding: 0; border: 1px solid #e5dccd; border-radius: 7px; background: #fffaf0; font-size: 16px; }
.cart-row__controls span { min-width: 15px; text-align: center; font-size: 13px; font-weight: 750; }
.cart-dialog__footer { padding: 20px 25px 25px; border-top: 1px solid var(--line); }
.cart-dialog__footer > div { display: flex; justify-content: space-between; align-items: center; font-size: 14px; }
.cart-dialog__footer strong { font-size: 22px; letter-spacing: -.04em; }
.cart-dialog__footer p { margin: 8px 0 0; color: var(--muted); font-size: 12px; }
.cart-checkout-button { display: flex; align-items: center; justify-content: space-between; min-height: 49px; margin-top: 17px; padding: 11px 16px; border-radius: 12px; background: var(--yellow); color: #3c301c; font-size: 15px; font-weight: 850; text-decoration: none; }
.cart-checkout-button:hover { background: var(--yellow-dark); }
.cart-checkout-button span { font-size: 22px; line-height: 1; }
.toast { position: fixed; z-index: 10; left: 50%; bottom: 26px; transform: translate(-50%, 20px); padding: 11px 17px; border-radius: 99px; background: #332f28; color: #fff; font-size: 13px; font-weight: 700; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

.checkout-header-link { display: inline-flex; align-items: center; gap: 9px; color: #655b4d; font-size: 14px; font-weight: 750; text-decoration: none; }
.checkout-header-link:hover { color: #a5622f; }
.checkout-header-link span { font-size: 21px; line-height: 1; }
.checkout-main { min-height: calc(100dvh - 150px); padding-block: 52px 90px; }
.checkout-heading { margin-bottom: 32px; }
.checkout-heading h1 { margin: 12px 0 8px; font-size: clamp(39px, 5vw, 60px); line-height: 1.14; letter-spacing: -.04em; text-transform: uppercase; }
.checkout-heading h1 em { color: #be6c36; font-style: normal; }
.checkout-heading p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(315px, 370px); align-items: start; gap: 24px; }
.checkout-layout__main { display: grid; gap: 20px; min-width: 0; }
.checkout-panel, .checkout-summary { border: 1px solid #eee5d7; border-radius: 22px; background: #fff; box-shadow: 0 12px 34px #5643310b; }
.checkout-panel { padding: 25px 27px 27px; }
.checkout-panel__heading { display: flex; align-items: center; gap: 13px; margin-bottom: 24px; }
.checkout-step { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: #fff3d1; color: #8c5a1e; font-size: 14px; font-weight: 850; }
.checkout-panel__heading h2 { margin: 3px 0 0; font-size: 23px; line-height: 1.25; letter-spacing: -.03em; }
.checkout-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.checkout-field { display: grid; gap: 8px; min-width: 0; }
.checkout-field--full { grid-column: 1 / -1; }
.checkout-field label, .coupon-box label { font-size: 13px; font-weight: 800; }
.checkout-field label span { color: var(--red); }
.checkout-field input, .checkout-field textarea, .coupon-box input { width: 100%; min-width: 0; border: 1px solid #e6dfd3; border-radius: 11px; outline: none; background: #fffdfa; color: var(--ink); font-size: 14px; }
.checkout-field input { height: 48px; padding: 0 14px; }
.checkout-field textarea { min-height: 86px; padding: 12px 14px; resize: vertical; }
.checkout-field input::placeholder, .checkout-field textarea::placeholder, .coupon-box input::placeholder { color: #a49b90; }
.checkout-field input:focus, .checkout-field textarea:focus, .coupon-box input:focus { border-color: #d2a33c; box-shadow: 0 0 0 3px #ffd65a35; }
.checkout-item-count { color: #9b9183; font-size: 16px; font-weight: 600; }
.checkout-items { border-top: 1px solid var(--line); }
.checkout-item { display: grid; grid-template-columns: 82px minmax(0, 1fr) auto; align-items: center; gap: 15px; padding: 19px 0; border-bottom: 1px solid var(--line); }
.checkout-item__image { width: 82px; height: 82px; border-radius: 14px; object-fit: cover; }
.checkout-item__info h3 { margin: 0 0 5px; font-size: 16px; line-height: 1.35; }
.checkout-item__note { margin: 0 0 5px; color: var(--muted); font-size: 12px; line-height: 1.4; }
.checkout-item__price { display: flex; align-items: baseline; gap: 9px; flex-wrap: wrap; }
.checkout-item__price strong { color: var(--red); font-size: 16px; }
.checkout-item__price del { color: #9c9387; font-size: 12px; }
.checkout-item__controls { display: inline-flex; align-items: center; gap: 9px; }
.checkout-item__controls button { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 1px solid #e7dfd2; border-radius: 9px; background: #fffaf0; color: var(--ink); font-size: 20px; line-height: 1; }
.checkout-item__controls button:hover:not(:disabled) { background: #fff0bc; }
.checkout-item__controls button:disabled { opacity: .4; cursor: not-allowed; }
.checkout-item__controls span { min-width: 13px; text-align: center; font-size: 14px; font-weight: 800; }
.checkout-add-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 20px; padding: 0; border: 0; background: transparent; color: #865527; font-size: 13px; font-weight: 800; text-decoration: none; }
.checkout-add-more:hover { text-decoration: underline; }
.checkout-add-more span { font-size: 19px; line-height: .8; }
.checkout-menu { margin-top: 18px; padding: 16px; border: 1px solid #e9dfcd; border-radius: 14px; background: #fffaf0; }
.checkout-menu > p:first-child { margin: 0 0 12px; font-size: 13px; font-weight: 800; }
.checkout-menu__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.checkout-menu__item { display: grid; grid-template-columns: 47px minmax(0, 1fr) 28px; align-items: center; gap: 8px; min-width: 0; padding: 7px; border: 1px solid #eee5d7; border-radius: 11px; background: #fff; }
.checkout-menu__item img { width: 47px; height: 47px; border-radius: 8px; object-fit: cover; }
.checkout-menu__item div { display: grid; gap: 3px; min-width: 0; }
.checkout-menu__item strong { font-size: 11px; line-height: 1.2; }
.checkout-menu__item span { color: var(--red); font-size: 11px; font-weight: 800; }
.checkout-menu__item button { display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%; background: var(--yellow); color: #3c301c; font-size: 18px; }
.checkout-menu__item button:hover { background: var(--yellow-dark); }
.checkout-menu__feedback { margin: 0; color: var(--green); font-size: 12px; font-weight: 750; }
.checkout-menu__feedback:not(:empty) { margin-top: 11px; }
.checkout-summary { position: sticky; top: 22px; padding: 26px; }
.checkout-summary h2 { margin: 7px 0 23px; font-size: 24px; letter-spacing: -.035em; }
.coupon-box { padding: 17px; border: 1px dashed #d7c8a9; border-radius: 14px; background: #fffaf0; }
.coupon-box__entry { display: flex; gap: 7px; margin-top: 9px; }
.coupon-box input { flex: 1; height: 43px; padding: 0 11px; text-transform: uppercase; }
.coupon-box button { flex: none; padding: 0 12px; border: 0; border-radius: 9px; background: #3f6949; color: #fff; font-size: 12px; font-weight: 800; }
.coupon-box button:hover { background: #305738; }
.coupon-hint { margin: 9px 0 0; color: #80776b; font-size: 11px; line-height: 1.45; }
.coupon-hint strong { color: #665029; }
.coupon-message { margin: 0; color: var(--green); font-size: 12px; font-weight: 750; }
.coupon-message:not(:empty) { margin-top: 8px; }
.coupon-message.is-error { color: var(--red); }
.checkout-totals { display: grid; gap: 14px; margin-top: 23px; font-size: 13px; }
.checkout-totals > div { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.checkout-totals > div > span:first-child { color: #736b60; }
.checkout-totals strong { white-space: nowrap; }
.checkout-totals__discount { color: var(--green); }
.checkout-totals small { color: #a09789; font-size: 10px; }
.checkout-totals__final { align-items: center !important; margin-top: 3px; padding-top: 17px; border-top: 1px solid var(--line); }
.checkout-totals__final span { color: var(--ink) !important; font-size: 15px; font-weight: 850; }
.checkout-totals__final strong { color: var(--red); font-size: 26px; letter-spacing: -.04em; }
.checkout-payment { display: grid; gap: 8px; margin: 22px 0; padding: 15px; border-radius: 12px; background: #f6f8f3; font-size: 12px; }
.checkout-payment > span { color: var(--muted); }
.checkout-payment strong { font-size: 13px; }
.checkout-payment strong span[aria-hidden] { margin-right: 5px; color: var(--green); }
.checkout-button { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 50px; padding: 12px 18px; border: 0; border-radius: 12px; background: var(--yellow); color: #3c301c; font-size: 15px; font-weight: 850; text-decoration: none; }
.checkout-button:hover { background: var(--yellow-dark); }
.checkout-button span { font-size: 21px; line-height: 1; }
.checkout-demo-note { margin: 11px 0 0; color: #8e8577; font-size: 11px; line-height: 1.5; text-align: center; }
.checkout-error { margin: 10px 0 0; color: var(--red); font-size: 12px; line-height: 1.5; }
.checkout-empty { max-width: 560px; margin: 50px auto 90px; padding: 42px 28px; border: 1px dashed #dfd2bf; border-radius: 23px; background: #fff; text-align: center; }
.checkout-empty__icon { font-size: 52px; }
.checkout-empty h2 { margin: 14px 0 7px; font-size: 25px; }
.checkout-empty p { margin: 0 0 25px; color: var(--muted); font-size: 14px; }
.checkout-empty .checkout-button { max-width: 245px; margin: auto; }

.order-success { width: min(500px, calc(100% - 32px)); max-height: min(90dvh, 780px); margin: auto; border-radius: 22px; box-shadow: 0 30px 80px #1e1a1740; }
.order-success__content { padding: 31px; overflow: auto; max-height: min(90dvh, 780px); }
.order-success__icon { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 17px; border-radius: 50%; background: #e9f4e6; color: var(--green); font-size: 31px; font-weight: 850; }
.order-success h2 { margin: 8px 0 5px; font-size: 30px; letter-spacing: -.04em; }
.order-success__content > p { margin: 0 0 23px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.order-success__receipt { margin-bottom: 22px; padding: 0 18px; border: 1px solid var(--line); border-radius: 14px; background: #fffdfa; }
.order-success__receipt > div { padding: 15px 0; border-bottom: 1px solid var(--line); }
.order-success__receipt > div:last-child { border: 0; }
.order-success__receipt span { color: var(--muted); font-size: 12px; }
.order-success__receipt strong { display: block; margin-top: 4px; font-size: 15px; }
.order-success__code strong { color: var(--green); font-size: 20px; letter-spacing: .04em; }
.order-success__details p { margin: 4px 0 0; color: #746a5e; font-size: 13px; }
.order-success__details ul { display: grid; gap: 7px; margin: 8px 0 0; padding-left: 18px; font-size: 13px; }
.order-success__details li small { display: block; color: var(--muted); font-size: 11px; }
.order-success__total { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.order-success__total strong { color: var(--red); font-size: 21px; white-space: nowrap; }
.order-success .checkout-button { justify-content: center; }

.order-main { min-height: calc(100dvh - 150px); padding-block: 52px 90px; }
.order-hero { display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; align-items: center; gap: 18px; margin-bottom: 24px; padding: 24px 28px; border: 1px solid #d9e8d4; border-radius: 20px; background: #f1f8ed; }
.order-hero__icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--green); color: #fff; font-size: 29px; font-weight: 850; }
.order-hero__copy h2 { margin: 5px 0 4px; font-size: 23px; letter-spacing: -.03em; }
.order-hero__copy p { margin: 0; color: #687b67; font-size: 12px; line-height: 1.5; }
.order-hero__code { display: grid; gap: 3px; padding-left: 24px; border-left: 1px solid #d2e2cd; }
.order-hero__code span, .order-hero__code small { color: #6c806a; font-size: 11px; }
.order-hero__code strong { color: #315b3a; font-size: 20px; letter-spacing: .02em; white-space: nowrap; }
.order-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(315px, 370px); align-items: start; gap: 24px; }
.order-layout__main { display: grid; gap: 20px; min-width: 0; }
.order-items { border-top: 1px solid var(--line); }
.order-item { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.order-item img { width: 76px; height: 76px; border-radius: 12px; object-fit: cover; }
.order-item h3 { margin: 0 0 5px; font-size: 16px; line-height: 1.3; }
.order-item__note { margin: 0 0 5px; color: var(--muted); font-size: 12px; }
.order-item__quantity { color: #82786d; font-size: 12px; }
.order-item__price { color: var(--red); font-size: 16px; white-space: nowrap; }
.order-info-list { display: grid; gap: 0; margin: 0; border-top: 1px solid var(--line); }
.order-info-list > div { display: grid; grid-template-columns: 155px minmax(0, 1fr); gap: 12px; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.order-info-list dt { color: var(--muted); }
.order-info-list dd { margin: 0; font-weight: 750; overflow-wrap: anywhere; }

@media (max-width: 1030px) {
  .food-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .food-card__visual { height: 235px; }
  .checkout-layout { grid-template-columns: minmax(0, 1fr) minmax(290px, 330px); gap: 17px; }
  .checkout-panel { padding: 22px; }
  .checkout-summary { padding: 21px; }
  .order-layout { grid-template-columns: minmax(0, 1fr) minmax(290px, 330px); gap: 17px; }
}
@media (max-width: 800px) {
  .checkout-layout { grid-template-columns: 1fr; }
  .checkout-summary { position: static; }
  .order-layout { grid-template-columns: 1fr; }
  .order-hero { grid-template-columns: 54px minmax(0, 1fr); }
  .order-hero__code { grid-column: 2; padding: 0; border: 0; }
}
@media (max-width: 700px) {
  .page-container { width: min(100% - 32px, 540px); }
  .site-header__inner { min-height: 72px; }
  .brand__mark { width: 41px; height: 41px; font-size: 17px; border-radius: 13px; }
  .brand__text strong { font-size: 19px; }
  .brand__text small { font-size: 10px; }
  .cart-trigger { padding: 8px; }
  .cart-trigger > span:nth-child(2) { display: none; }
  .header-actions { gap: 7px; }
  .customer-nav { padding: 5px; min-height: 40px; }
  .customer-nav__name { display: none; }
  .intro { grid-template-columns: 1fr; padding-block: 34px 45px; }
  .intro__copy { padding-block: 0; }
  .intro h1 { font-size: clamp(41px, 10vw, 57px); }
  .intro p { font-size: 14px; }
  .intro__art { width: min(100%, 300px); margin-top: 20px; }
  .intro__image { border-width: 6px; }
  .intro__sticker { width: 73px; height: 73px; font-size: 10px; }
  .menu-section { padding: 40px 0 65px; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 9px; }
  .menu-toolbar { align-items: stretch; flex-direction: column; gap: 8px; }
  .search-box { width: 100%; }
  .menu-count { align-self: end; }
  .category-list { margin: 15px 0 22px; }
  .food-grid { gap: 13px; }
  .food-card__visual { height: 170px; }
  .food-card__body { padding: 13px; }
  .food-card h4 { font-size: 15px; }
  .food-card__ingredients { font-size: 11px; }
  .food-card__prices strong { font-size: 16px; }
  .item-dialog__content { display: block; }
  .item-dialog__image { height: 220px; min-height: 0; }
  .item-dialog__body { padding: 24px 20px 20px; }
  .item-dialog h2 { font-size: 25px; }
  .site-footer .page-container { flex-direction: column; align-items: start; }
  .checkout-main { padding-block: 34px 60px; }
  .checkout-heading { margin-bottom: 23px; }
  .checkout-heading h1 { font-size: clamp(36px, 9vw, 49px); }
  .checkout-heading p { font-size: 13px; }
  .checkout-panel__heading { margin-bottom: 20px; }
  .checkout-panel__heading h2 { font-size: 21px; }
  .order-main { padding-block: 34px 60px; }
  .order-hero { padding: 19px; }
}
@media (max-width: 420px) {
  .food-card__visual { height: 138px; }
  .food-card__body { padding: 11px; }
  .food-card__category { font-size: 10px; }
  .food-card h4 { font-size: 14px; }
  .food-card__ingredients { font-size: 10px; }
  .food-card__prices strong { font-size: 14px; }
  .food-card__prices del { font-size: 10px; }
  .detail-actions { flex-wrap: wrap; }
  .primary-button { min-width: 100%; }
  .checkout-header-link { font-size: 12px; }
  .checkout-header-link__text { display: none; }
  .checkout-panel { padding: 18px; }
  .checkout-fields { grid-template-columns: 1fr; gap: 15px; }
  .checkout-field--full { grid-column: auto; }
  .checkout-item { grid-template-columns: 68px minmax(0, 1fr); gap: 10px; }
  .checkout-item__image { width: 68px; height: 68px; }
  .checkout-item__info h3 { font-size: 14px; }
  .checkout-item__controls { grid-column: 2; justify-self: start; }
  .checkout-menu__grid { grid-template-columns: 1fr; }
  .checkout-summary { padding: 19px; }
  .order-success__content { padding: 24px 20px; }
  .order-hero { grid-template-columns: 42px minmax(0, 1fr); gap: 12px; }
  .order-hero__icon { width: 42px; height: 42px; font-size: 22px; }
  .order-hero__copy h2 { font-size: 19px; }
  .order-hero__code strong { font-size: 17px; }
  .order-item { grid-template-columns: 64px minmax(0, 1fr); gap: 10px; }
  .order-item img { width: 64px; height: 64px; }
  .order-item h3 { font-size: 14px; }
  .order-item__price { grid-column: 2; font-size: 15px; }
  .order-info-list > div { grid-template-columns: 1fr; gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
