/* ============================================================
   VapVap Eats redesign: ordering (search, restaurant, reviews,
   cart, checkout, order tracking). Figma 7OW27V2nP2dnqvj2QXsVJA.
   Every class is prefixed .o- so nothing here collides with
   shared.css while the shell lane rebuilds it.
   ============================================================ */
:root {
  /* Shared design tokens live in shared.css :root; aliases keep the .o- names. */
  --o-font-head: var(--vv-font-head);
  --o-font-body: var(--vv-font-body);
  --o-orange: var(--vv-main);
  --o-orange-dark: var(--vv-main-dark);
  --o-pink: var(--vv-pink);
  --o-pink-2: #fff2ee;
  --o-text: var(--vv-text-1a);
  --o-text-2: var(--vv-text-21);
  --o-gray: var(--vv-text-light);
  --o-gray-2: #6b7280;
  --o-muted: var(--vv-border);
  --o-meta: var(--vv-muted);
  --o-divider: var(--vv-divider);
  --o-line: #e5e7eb;
  --o-chip-line: #d9dce1;
  --o-field: var(--vv-search-bg);
  --o-field-2: #f4f4f5;
  --o-seg: #f3f4f6;
  --o-page: #f7f7f8;
  --o-star: #f5a623;
  --o-green: #16a34a;
  --o-shadow: 0 12px 32px rgba(17, 24, 39, .07);
  --o-shadow-sm: 0 6px 22px rgba(36, 27, 36, .08);
  --o-radius: var(--vv-radius);
  --o-full: var(--vv-radius-full);
}

/* ---------- base inside redesigned pages ---------- */
.o-scope { font-family: var(--o-font-body); color: var(--o-text); }
.o-scope h1, .o-scope h2, .o-scope h3, .o-scope h4 { margin: 0; }
.o-scope svg.icon, .o-scope .o-ic { width: 20px; height: 20px; stroke-width: 2; display: inline-block; vertical-align: middle; flex-shrink: 0; }
.o-scope button { font-family: inherit; }
.o-hidden { display: none !important; }
body.o-body { background: var(--o-page); }

.o-page { max-width: 1440px; margin: 0 auto; padding: 34px 112px 64px; }
.o-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.o-head-title { display: flex; align-items: center; gap: 16px; min-width: 0; }
.o-head h1 { font-family: var(--o-font-head); font-weight: 800; font-size: 32px; line-height: 38px; letter-spacing: -0.7px; color: var(--o-text-2); }
.o-back { width: 42px; height: 42px; border-radius: var(--o-full); background: #fff; border: 1px solid var(--o-line); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: var(--o-text-2); flex-shrink: 0; transition: background .15s; }
.o-back:hover { background: var(--o-pink); }
.o-back svg.icon { width: 19px; height: 19px; }
.o-pill { display: inline-block; color: var(--o-gray-2); font-weight: 500; font-size: 14px; white-space: nowrap; }

.o-card { background: #fff; border: 1px solid var(--o-line); border-radius: 24px; box-shadow: var(--o-shadow); padding: 28px; }
.o-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.o-card-title { font-weight: 800; font-size: 19px; color: var(--o-text-2); }
.o-card-sub { font-size: 14px; line-height: 20px; color: var(--o-gray-2); margin-top: 5px; }

.o-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 24px; border-radius: 30px; border: 1px solid var(--o-orange); background: var(--o-orange); color: #fff; font-weight: 700; font-size: 18.66px; letter-spacing: .5px; cursor: pointer; transition: background .15s, opacity .15s; text-decoration: none; } /* AA: white on #ea4826 is 3.85:1, so the label is large text (700, >=18.66px) */
.o-btn:hover { background: var(--o-orange-dark); border-color: var(--o-orange-dark); }
.o-btn:disabled, .o-btn[aria-disabled="true"] { background: #e0e0e0; border-color: #e0e0e0; color: #8a8a8a; cursor: not-allowed; }
.o-btn-block { width: 100%; }
.o-btn-outline { background: #fff; color: var(--o-orange); }
.o-btn-outline:hover { background: var(--o-pink); border-color: var(--o-orange); }
.o-btn-ghost-pill { display: inline-flex; align-items: center; gap: 4px; height: 36px; padding: 0 14px; border-radius: var(--o-full); background: var(--o-pink-2); color: var(--o-orange); font-weight: 700; font-size: 13px; border: 0; cursor: pointer; white-space: nowrap; }
.o-link { color: var(--o-orange); font-weight: 700; cursor: pointer; background: none; border: 0; font-size: 16px; }

.o-chip { display: inline-flex; align-items: center; justify-content: center; height: 38px; padding: 0 16px; border-radius: var(--o-full); border: 1px solid var(--o-line); background: #fff; color: var(--o-gray); font-size: 15px; cursor: pointer; white-space: nowrap; transition: border-color .15s, color .15s, background .15s; }
.o-chip:hover { border-color: var(--o-orange); color: var(--o-orange); }
.o-chip.active { background: var(--o-orange); border-color: var(--o-orange); color: #fff; font-weight: 700; }
.o-chip-sm { height: 32px; padding: 0 13px; font-size: 13px; }

.o-seg { display: flex; gap: 4px; padding: 4px; border-radius: var(--o-full); background: var(--o-seg); }
.o-seg button { flex: 1; height: 42px; padding: 0 18px; border-radius: var(--o-full); border: 0; background: transparent; font-weight: 700; font-size: 14px; color: var(--o-gray); cursor: pointer; white-space: nowrap; }
.o-seg button.active { background: #fff; color: var(--o-orange); box-shadow: 0 2px 12px rgba(17, 24, 39, .04); }

.o-stepper { display: inline-flex; align-items: center; gap: 14px; padding: 5px; border-radius: var(--o-full); background: var(--o-seg); flex-shrink: 0; }
.o-stepper button { width: 32px; height: 32px; border-radius: 50%; border: 0; background: #fff; color: var(--o-gray-2); font-weight: 700; font-size: 18px; line-height: 1; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.o-stepper button.plus { background: var(--o-orange); color: #fff; }
.o-stepper span { min-width: 12px; text-align: center; font-weight: 800; font-size: 14px; color: var(--o-text-2); }

.o-field { width: 100%; border: 1px solid var(--o-line); border-radius: 12px; padding: 12px 14px; font-size: 15px; font-family: inherit; color: var(--o-text); background: #fff; }
.o-field:focus { border-color: var(--o-orange); outline: none; }
.o-label { display: block; font-weight: 600; font-size: 14px; color: var(--o-text-2); margin-bottom: 8px; }
.o-empty-ic { width: auto; height: auto; display: inline-flex; align-items: center; justify-content: center; color: var(--o-text); }
.o-empty-ic svg.icon { width: 40px; height: 40px; }
.o-spinner { width: 34px; height: 34px; border: 3px solid #f1d6cf; border-top-color: var(--o-orange); border-radius: 50%; animation: o-spin .8s linear infinite; margin: 40px auto; }
@keyframes o-spin { to { transform: rotate(360deg); } }
.o-muted { color: var(--o-gray-2); }
.o-err { color: #c0362c; font-size: 14px; margin-top: 10px; min-height: 0; }
.o-err:empty { display: none; }

/* Summary card (cart, checkout) */
.o-summary h2 { font-weight: 800; font-size: 18px; color: var(--o-text-2); }
.o-summary hr { border: 0; border-top: 1px dashed var(--o-line); margin: 20px 0; }
.o-sum-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; color: var(--o-gray-2); }
.o-sum-row + .o-sum-row { margin-top: 15px; }
.o-sum-row b { font-weight: 700; font-size: 15px; color: var(--o-text-2); white-space: nowrap; }
.o-sum-total { display: flex; justify-content: space-between; align-items: center; font-weight: 800; font-size: 17px; color: var(--o-text-2); margin-bottom: 20px; }
.o-sum-total b { font-size: 24px; color: var(--o-orange); white-space: nowrap; }
.o-sum-note { font-size: 12px; color: var(--o-gray-2); margin-top: 14px; line-height: 1.5; }
.o-sum-items { margin-top: 16px; }
.o-sum-item { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--o-text-2); padding: 6px 0; }
.o-sum-item span:first-child { min-width: 0; overflow-wrap: anywhere; }
.o-sum-item span:last-child { font-weight: 600; white-space: nowrap; }

/* ============================================================
   RESTAURANT PAGE (1027:6876 / 7219 / 7314 / 7003)
   ============================================================ */
body.page-restaurant.o-body { background: #fff; }
.o-rest-hero { position: relative; height: 300px; overflow: hidden; background: #2a2a2a; }
.o-rest-hero img.o-cover { width: 100%; height: 100%; object-fit: cover; display: block; }
.o-rest-hero .o-cover-fallback { width: 100%; height: 100%; background: #f1f1f1; }
.o-hero-actions { position: absolute; left: 72px; right: 72px; top: 28px; display: flex; justify-content: space-between; }
.o-round { width: 44px; height: 44px; border-radius: var(--o-full); background: #fff; box-shadow: var(--o-shadow-sm); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; border: 0; color: var(--o-text); }
.o-round svg.icon { width: 20px; height: 20px; }
.o-rest-wrap { max-width: 1440px; margin: -15px auto 0; padding: 0 72px 56px; position: relative; }
.o-rest-info { background: #fff; border-radius: 18px; box-shadow: var(--o-shadow-sm); padding: 0 28px; }
.o-rest-summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 0 22px; }
.o-rest-summary h1 { font-family: var(--o-font-body); font-weight: 800; font-size: 30px; color: var(--o-text); line-height: 1.15; }
.o-rest-line { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 16px; color: var(--o-meta); flex-wrap: wrap; }
.o-rest-line svg.icon { width: 22px; height: 22px; color: var(--o-text); }
.o-rest-rating { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 16px; color: var(--o-text); }
.o-rest-rating .o-star { color: var(--o-star); font-size: 18px; }
.o-rest-rating b { font-weight: 700; }
.o-rest-rating a, .o-rest-rating button { color: var(--o-text); text-decoration: underline; background: none; border: 0; font-size: 16px; cursor: pointer; padding: 0; }
.o-status-open { color: var(--o-green); font-weight: 600; }
.o-status-closed { color: #c0362c; font-weight: 600; }
.o-seg-sm { background: var(--o-field-2); flex-shrink: 0; }
.o-seg-sm button { height: auto; padding: 9px 16px; font-size: 16px; color: var(--o-meta); }
.o-seg-sm button.active { color: var(--o-orange); box-shadow: 0 1px 2px rgba(0, 0, 0, .05); }
.o-closed-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #1f1f1f; color: #fff; border-radius: 12px; padding: 14px 20px; margin-bottom: 20px; }
.o-closed-bar b { font-size: 18px; font-weight: 700; }
.o-closed-bar span { font-size: 15px; opacity: .9; }
.o-menu-tools { display: flex; align-items: center; gap: 24px; padding-bottom: 20px; }
.o-menu-search { flex: 1 1 360px; min-width: 0; display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 16px; border-radius: var(--o-full); background: var(--o-field-2); }
.o-menu-search svg.icon { color: var(--o-text); }
.o-menu-search input { flex: 1; min-width: 0; border: 0; background: transparent; font-size: 15px; color: var(--o-text); font-family: inherit; }
.o-menu-search input::placeholder { color: #9aa0a6; }
.o-tabs { display: flex; gap: 28px; overflow-x: auto; scrollbar-width: none; flex: 0 1 auto; max-width: 62%; }
.o-tabs::-webkit-scrollbar { display: none; }
.o-tab { display: flex; flex-direction: column; align-items: center; gap: 8px; background: none; border: 0; font-size: 16px; color: var(--o-meta); cursor: pointer; white-space: nowrap; padding: 0; font-family: inherit; }
.o-tab::after { content: ''; height: 2px; width: 100%; background: transparent; }
.o-tab.active { color: var(--o-orange); font-weight: 700; }
.o-tab.active::after { background: var(--o-orange); }
.o-menu { margin-top: 52px; }
.o-menu-sec { margin-bottom: 42px; scroll-margin-top: 90px; }
.o-menu-sec h2 { font-family: var(--o-font-body); font-weight: 800; font-size: 22px; color: var(--o-text); margin-bottom: 18px; }
.o-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.o-prod { background: #fff; border-radius: 12px; box-shadow: var(--o-shadow-sm); overflow: hidden; cursor: pointer; display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; position: relative; }
.o-prod:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(36, 27, 36, .12); }
.o-prod-img { height: 172px; background: var(--o-field); position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; color: #b9b9b9; }
.o-prod-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.o-prod-img svg.icon { width: 36px; height: 36px; }
.o-prod-badge { position: absolute; left: 12px; top: 12px; background: #ffd33d; color: var(--o-text); border-radius: var(--o-full); padding: 4px 8px; font-size: 9px; font-weight: 800; text-transform: uppercase; z-index: 1; }
.o-prod-badge.dark { background: #1f1f1f; color: #fff; }
.o-prod-body { padding: 14px; display: flex; flex-direction: column; gap: 12px; }
.o-prod-name { font-weight: 700; font-size: 15px; color: var(--o-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.o-prod-desc { font-size: 13px; color: var(--o-meta); margin-top: -6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.4; }
.o-prod-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; }
.o-price { font-weight: 800; font-size: 17px; color: var(--o-orange); white-space: nowrap; }
.o-add { width: 32px; height: 32px; border-radius: 50%; border: 0; background: var(--o-orange); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; }
.o-add svg.icon { width: 20px; height: 20px; }
.o-prod.is-off { cursor: not-allowed; }
.o-prod.is-off .o-prod-img img, .o-prod.is-off .o-prod-body { opacity: .5; }
.o-prod.is-off:hover { transform: none; }
.o-off-label { font-size: 12px; font-weight: 600; color: var(--o-gray); }
.o-menu-empty { text-align: center; padding: 48px 20px; color: var(--o-gray); }

/* Item detail overlay (1027:7219) */
#itemModal.o-item { position: fixed; inset: 0; top: 64px; z-index: 180; background: #f6f6f6; display: none; overflow-y: auto; }
#itemModal.o-item.open { display: block; }
.o-item-inner { max-width: 1296px; margin: 0 auto; padding: 38px 0 48px; display: grid; grid-template-columns: 520px minmax(0, 1fr); gap: 44px; align-items: start; }
.o-item-media { position: sticky; top: 24px; }
.o-item-img { position: relative; width: 100%; aspect-ratio: 1 / 1; border-radius: 24px; overflow: hidden; background: var(--o-field); display: flex; align-items: center; justify-content: center; color: #b9b9b9; }
.o-item-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.o-item-img svg.icon { width: 56px; height: 56px; }
.o-item-img .o-round { position: absolute; left: 20px; top: 20px; }
.o-item-closed { margin-top: 20px; background: #1f1f1f; color: #fff; border-radius: 10px; padding: 16px; text-align: center; }
.o-item-closed b { display: block; font-size: 18px; font-weight: 700; }
.o-item-closed span { font-size: 14px; }
.o-item-panel { background: #fff; border-radius: 24px; padding: 28px; min-height: 520px; }
.o-item-title { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.o-item-title h2 { font-family: var(--o-font-body); font-weight: 800; font-size: 30px; color: var(--o-text); line-height: 1.2; }
.o-item-title .o-item-price { font-weight: 800; font-size: 32px; color: var(--o-orange); white-space: nowrap; }
.o-item-desc { font-size: 15px; color: var(--o-gray); margin-top: 10px; line-height: 1.4; }
.o-groups { margin-top: 20px; }
.o-group { margin-bottom: 18px; }
.o-group-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.o-group-head h3 { font-weight: 700; font-size: 20px; color: var(--o-text); }
.o-group-head h3 small { font-weight: 400; font-size: 14px; color: var(--o-gray); }
.o-group-head .o-req { color: var(--o-orange); font-size: 12px; font-weight: 700; margin-left: 6px; }
.o-count { background: var(--o-field); color: var(--o-gray); border-radius: var(--o-full); padding: 5px 10px; font-size: 11px; font-weight: 500; white-space: nowrap; }
.o-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
.o-item .variation-opt.o-opt, .o-item .variation-opt.o-opt:hover, .o-item .variation-opt.o-opt.selected { border: 0; border-bottom: 1px solid var(--o-line); border-radius: 0; background: none; font-size: inherit; }
.o-item .variation-group.o-group { margin-bottom: 18px; }
.o-opt { display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 10px 0; border-bottom: 1px solid var(--o-line); cursor: pointer; }
.o-opt-name { flex: 1; min-width: 0; font-weight: 500; font-size: 15px; color: var(--o-text); }
.o-opt-price { font-size: 15px; color: var(--o-orange); white-space: nowrap; }
.o-check { width: 18px; height: 18px; border: 2px solid var(--o-text); border-radius: 2px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; color: #fff; }
.o-check svg { width: 14px; height: 14px; display: none; }
.variation-opt.selected .o-check { background: var(--o-text); }
.variation-opt.selected .o-check svg { display: block; }
.o-notes-head { display: flex; justify-content: space-between; align-items: baseline; margin: 22px 0 10px; }
.o-notes-head h3 { font-weight: 700; font-size: 16px; }
.o-notes-head span { font-size: 11px; color: var(--o-gray); }
.o-item-panel textarea { min-height: 76px; resize: vertical; }
.o-item-foot { border-top: 1px solid var(--o-line); margin-top: 22px; padding-top: 18px; display: flex; gap: 16px; align-items: center; }
.o-qty { display: inline-flex; align-items: center; justify-content: space-between; width: 126px; height: 52px; border: 1px solid var(--o-line); border-radius: var(--o-full); padding: 0 8px; flex-shrink: 0; }
.o-qty button { width: 36px; height: 36px; border: 0; background: none; font-size: 20px; color: var(--o-gray); cursor: pointer; }
.o-qty span { font-weight: 700; font-size: 16px; }
.o-item-foot .o-btn { flex: 1; height: 52px; font-size: 16px; }

/* Reviews (1027:7430) + Write review (1027:7607) */
.o-subhead { background: #fff; border-bottom: 1px solid var(--o-line); }
.o-subhead-inner { max-width: 1440px; margin: 0 auto; padding: 22px 72px 26px; display: flex; align-items: center; gap: 18px; }
.o-subhead h1 { font-family: var(--o-font-head); font-weight: 800; font-size: 28px; color: var(--o-text); }
.o-back-plain { background: none; border: 0; color: var(--o-orange); cursor: pointer; display: inline-flex; padding: 4px; }
.o-back-plain svg.icon { width: 22px; height: 22px; }
.o-reviews-body { background: #f6f6f6; min-height: 60vh; }
.o-reviews-grid { max-width: 1440px; margin: 0 auto; padding: 36px 72px 64px; display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 32px; align-items: start; }
.o-rv-summary { background: #fff; border-radius: 18px; box-shadow: var(--o-shadow-sm); padding: 26px; }
.o-rv-rest { display: flex; align-items: center; gap: 14px; }
.o-rv-rest img, .o-rv-rest .o-rv-logo { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; background: var(--o-field); flex-shrink: 0; }
.o-rv-rest b { display: block; font-weight: 500; font-size: 17px; color: var(--o-text); }
.o-rv-rest span { font-size: 13px; color: var(--o-gray); }
.o-rv-big { text-align: center; margin: 30px 0 22px; }
.o-rv-big strong { display: block; font-family: var(--o-font-head); font-weight: 800; font-size: 56px; line-height: 1; color: var(--o-text); }
.o-stars { color: var(--o-star); letter-spacing: 3px; font-size: 18px; }
.o-stars .off { color: #f7d9a3; }
.o-rv-big .o-stars { font-size: 20px; margin-top: 12px; display: block; }
.o-rv-big span.o-muted { font-size: 13px; display: block; margin-top: 6px; }
.o-bars { margin-bottom: 26px; }
.o-bar { display: grid; grid-template-columns: 14px 14px 1fr 34px; align-items: center; gap: 8px; font-size: 11px; color: var(--o-gray); margin-bottom: 12px; }
.o-bar i { color: var(--o-star); font-style: normal; }
.o-bar .track { height: 6px; background: var(--o-field); border-radius: var(--o-full); overflow: hidden; }
.o-bar .fill { height: 100%; background: var(--o-orange); border-radius: var(--o-full); }
.o-bar em { font-style: normal; text-align: right; }
.o-rv-list-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.o-rv-list-head h2 { font-family: var(--o-font-body); font-weight: 700; font-size: 22px; color: var(--o-text); }
.o-rv-sorts { display: flex; gap: 8px; flex-wrap: wrap; }
.o-rv-card { background: #fff; border: 1px solid var(--o-line); border-radius: 16px; padding: 22px 24px; margin-bottom: 14px; }
.o-rv-top { display: flex; align-items: center; gap: 12px; }
.o-avatar { width: 44px; height: 44px; border-radius: 50%; background: #fde5dc; color: var(--o-text); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; flex-shrink: 0; }
.o-avatar.c1 { background: #e9e5fb; } .o-avatar.c2 { background: #dcf3e7; } .o-avatar.c3 { background: #e0eefc; }
.o-rv-top b { display: block; font-weight: 500; font-size: 15px; }
.o-rv-top .o-stars { font-size: 13px; letter-spacing: 2px; }
.o-rv-top small { font-size: 12px; color: var(--o-gray); margin-left: 6px; }
.o-rv-text { font-size: 15px; color: var(--o-gray); line-height: 1.5; margin-top: 14px; overflow-wrap: anywhere; }
.o-rv-empty { background: #fff; border: 1px solid var(--o-line); border-radius: 16px; padding: 40px; text-align: center; color: var(--o-gray); }
.o-wr-grid { max-width: 1100px; margin: 0 auto; padding: 36px 24px 64px; display: grid; grid-template-columns: 320px 347px 365px; gap: 34px; justify-content: center; align-items: start; }
.o-wr-rest { background: #fff; border-radius: 18px; box-shadow: var(--o-shadow-sm); padding: 24px; }
.o-wr-rest .o-wr-img { width: 100%; height: 180px; border-radius: 12px; object-fit: cover; background: var(--o-field); display: block; }
.o-wr-rest b { display: block; font-weight: 700; font-size: 20px; margin-top: 18px; }
.o-wr-rest span { display: block; font-size: 13px; color: var(--o-gray); margin-top: 8px; }
.o-wr-elig { background: #fff; border-radius: 16px; box-shadow: 0 4px 16px rgba(0,0,0,.08); padding: 20px; }
.o-wr-elig h3 { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 16px; }
.o-wr-elig h3 span { display: none; }
.o-wr-elig p { font-size: 13px; color: var(--o-gray); line-height: 1.5; margin: 14px 0 12px; }
.o-wr-elig ul { list-style: disc; padding: 0 0 0 18px; margin: 0; font-size: 13px; color: var(--o-text); }
.o-wr-elig li { margin-top: 8px; }
.o-wr-form { background: #fff; border-radius: 18px; box-shadow: var(--o-shadow-sm); padding: 30px; }
.o-wr-form h2 { text-align: center; font-weight: 700; font-size: 22px; }
.o-wr-form .o-center { text-align: center; }
.o-wr-stars { display: flex; justify-content: center; gap: 14px; margin: 14px 0 8px; }
.o-wr-stars button { background: none; border: 0; font-size: 34px; line-height: 1; color: #e6e6e6; cursor: pointer; padding: 0; }
.o-wr-stars button.on { color: var(--o-star); }
.o-wr-label { text-align: center; color: var(--o-star); font-weight: 700; font-size: 13px; min-height: 18px; }
.o-wr-form h3 { font-weight: 700; font-size: 16px; margin-top: 26px; }
.o-wr-form textarea { min-height: 130px; resize: vertical; margin-top: 12px; }
.o-wr-count { text-align: right; font-size: 11px; color: var(--o-gray); margin-top: 6px; }
.o-wr-fine { text-align: center; font-size: 11px; color: var(--o-gray); margin: 22px 0 14px; }
.o-wr-form select { margin-top: 10px; }

/* ============================================================
   SEARCH (1021:5290 / 5441 / 5398)
   ============================================================ */
.o-search-intro { background: #fff; border-bottom: 1px solid var(--o-line); }
.o-search-intro-inner { max-width: 1440px; margin: 0 auto; padding: 38px 80px 34px; }
.o-search-intro h1 { font-family: var(--o-font-head); font-weight: 800; font-size: 32px; letter-spacing: -0.7px; color: var(--o-text-2); }
.o-search-field { margin-top: 18px; display: flex; align-items: center; gap: 12px; height: 58px; padding: 0 20px; background: #fff; border: 1px solid var(--o-line); border-radius: var(--o-full); box-shadow: 0 2px 10px rgba(17, 24, 39, .04); }
.o-search-field svg.icon { width: 24px; height: 24px; color: var(--o-text); }
.o-search-field input { flex: 1; min-width: 0; border: 0; font-size: 15px; font-family: inherit; color: var(--o-text); background: transparent; }
.o-search-field input::placeholder { color: var(--o-gray-2); }
.o-search-field input::-webkit-search-cancel-button { display: none; }
.o-clear { background: none; border: 0; cursor: pointer; color: var(--o-text); display: inline-flex; padding: 4px; }
.o-popular { display: flex; align-items: center; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.o-eyebrow { font-size: 15px; font-weight: 700; color: var(--o-text); margin-right: 2px; }
.o-type-tabs { display: flex; gap: 10px; margin-top: 16px; }
.o-type-tabs button { width: 154px; height: 38px; border-radius: var(--o-full); border: 1px solid var(--o-divider); background: #fff; color: var(--o-gray-2); font-size: 15px; cursor: pointer; }
.o-type-tabs button.active { border: 2px solid var(--o-orange); background: var(--o-pink-2); color: var(--o-orange); font-weight: 600; }
.o-search-main { max-width: 1440px; margin: 0 auto; padding: 0 80px 72px; }
.o-filters { padding-top: 10px; }
.o-filters > h2, .o-section-title { font-family: var(--o-font-body); font-weight: 700; font-size: 22px; color: var(--o-text); }
.o-filter-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 18px; }
.o-filter-groups .o-eyebrow { display: block; margin-bottom: 12px; }
.o-filter-chips { display: flex; gap: 10px; flex-wrap: wrap; }
.o-browse { margin-top: 56px; }
.o-cat-grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.o-cat { background: #fff; border: 1px solid var(--o-line); border-radius: 16px; padding: 22px 8px 20px; text-align: center; cursor: pointer; transition: border-color .15s, box-shadow .15s; font-family: inherit; }
.o-cat:hover { border-color: var(--o-orange); box-shadow: var(--o-shadow); }
.o-cat img { width: 104px; height: 104px; max-width: 100%; aspect-ratio: 1 / 1; border-radius: 50%; object-fit: cover; display: block; margin: 0 auto 14px; }
.o-cat span { font-weight: 700; font-size: 16px; color: var(--o-text); }
.o-results-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 48px; flex-wrap: wrap; }
.o-results-head h2 { font-family: var(--o-font-body); font-weight: 700; font-size: 22px; color: var(--o-text); }
.o-sorts { display: flex; gap: 10px; flex-wrap: wrap; }
.o-select { position: relative; display: inline-flex; align-items: center; height: 38px; border: 1px solid var(--o-line); border-radius: var(--o-full); background: #fff; padding: 0 34px 0 14px; font-size: 14px; color: var(--o-gray); cursor: pointer; }
.o-select select { position: absolute; inset: 0; opacity: 0; cursor: pointer; font-size: 14px; }
.o-select::after { content: ''; position: absolute; right: 14px; top: 50%; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-70%) rotate(45deg); }
.o-select.active { border-color: var(--o-orange); color: var(--o-orange); }
button.o-select::after { display: none; }
button.o-select { padding: 0 14px; font-family: inherit; }
.o-rest-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 24px; }
.o-rcard { background: #fff; border-radius: 24px; box-shadow: var(--o-shadow); overflow: hidden; display: flex; flex-direction: column; }
.o-rcard-img { height: 274px; background: var(--o-field); position: relative; }
.o-rcard-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.o-rcard-img .o-prod-badge { font-size: 11px; padding: 5px 10px; }
.o-rcard-body { padding: 24px 24px 34px; display: flex; flex-direction: column; flex: 1; }
.o-rcard-body h3 { font-family: var(--o-font-body); font-weight: 700; font-size: 20px; color: var(--o-text); }
.o-rcard-row { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; font-size: 15px; color: var(--o-gray); }
.o-rcard-row span { display: inline-flex; align-items: center; gap: 6px; }
.o-rcard-row svg.icon { width: 17px; height: 17px; }
.o-rcard-row b { font-weight: 500; color: var(--o-text); }
.o-rcard-row b::before { content: '\2605'; color: var(--o-star); margin-right: 2px; }
.o-rcard-cuis { font-size: 14px; color: var(--o-gray); margin-top: 6px; min-height: 20px; }
.o-tags { display: flex; gap: 6px; margin-top: 10px; flex-wrap: wrap; min-height: 24px; }
.o-tag { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; color: var(--o-gray-2); }
.o-tag + .o-tag::before { content: '·'; margin-right: 2px; }
.o-tag.hot { color: var(--o-orange); font-weight: 500; }
.o-tag svg.icon { display: none; }
.o-rcard .o-btn { margin-top: 22px; height: 38px; font-size: 15px; font-weight: 400; letter-spacing: 0; }
.o-dish-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.o-dish { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--o-line); border-radius: 16px; padding: 12px; cursor: pointer; text-decoration: none; color: inherit; }
.o-dish:hover { border-color: var(--o-orange); }
.o-dish img, .o-dish .o-dish-ph { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; background: var(--o-field); flex-shrink: 0; }
.o-dish b { display: block; font-weight: 700; font-size: 15px; }
.o-dish span { font-size: 13px; color: var(--o-gray); }
.o-dish .o-price { margin-left: auto; font-size: 15px; }
.o-zero { max-width: 592px; margin: 96px auto 40px; background: #fff; border: 1px solid var(--o-line); border-radius: 24px; box-shadow: var(--o-shadow); padding: 44px 32px; text-align: center; }
.o-zero .o-empty-ic { width: 84px; height: 84px; background: var(--o-field); }
.o-zero h2 { font-family: var(--o-font-body); font-weight: 700; font-size: 24px; margin-top: 18px; overflow-wrap: anywhere; }
.o-zero p { font-size: 14px; color: var(--o-gray); margin-top: 10px; }
.o-zero .o-link { margin-top: 18px; display: inline-block; }
.o-zero .o-popular { justify-content: center; }

/* ============================================================
   CART (1038:7007 / 7049) + CHECKOUT (1038:7151 / 7247)
   ============================================================ */
.o-two { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 28px; align-items: start; }
.o-stack { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.o-cart-empty { max-width: 620px; margin: 118px auto 0; text-align: center; padding: 80px 40px; }
.o-cart-empty h2 { font-family: var(--o-font-body); font-weight: 800; font-size: 24px; color: var(--o-text-2); margin-top: 26px; }
.o-cart-empty p { font-size: 14px; color: var(--o-gray-2); line-height: 1.5; margin: 12px auto 0; max-width: 430px; }
.o-cart-empty .o-btn { width: 218px; margin-top: 30px; }
.o-cart-empty .o-link { display: block; margin: 18px auto 0; font-size: 14px; }
.o-cart-item { display: flex; align-items: center; gap: 16px; padding: 14px 0; }
.o-cart-item + .o-cart-item { border-top: 1px solid var(--o-line); }
.o-cart-item img, .o-cart-item .o-ph { width: 92px; height: 92px; border-radius: 16px; object-fit: cover; background: var(--o-field); flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: #b9b9b9; }
.o-cart-info { flex: 1; min-width: 0; }
.o-cart-info b { display: block; font-weight: 800; font-size: 16px; color: var(--o-text-2); }
.o-cart-info span { display: block; font-size: 13px; color: var(--o-gray); margin-top: 5px; overflow-wrap: anywhere; }
.o-cart-info .o-price { display: block; font-size: 16px; margin-top: 5px; }
.o-cart-rest { font-size: 13px; color: var(--o-gray-2); margin-top: 4px; }

.o-pay-list { display: flex; flex-direction: column; gap: 12px; }
.o-pay { display: flex; align-items: center; gap: 14px; min-height: 76px; padding: 14px 16px; border: 1px solid var(--o-line); border-radius: 16px; background: #fff; cursor: pointer; text-align: left; width: 100%; font-family: inherit; }
.o-pay:hover { border-color: #f3a58f; }
.o-pay.selected { border-color: var(--o-orange); background: var(--o-pink); }
.o-pay-ic { width: 44px; height: 44px; border-radius: 10px; background: var(--o-seg); display: inline-flex; align-items: center; justify-content: center; color: var(--o-text); flex-shrink: 0; }
.o-brand { min-width: 50px; height: 32px; padding: 0 8px; border-radius: 8px; background: var(--o-seg); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-style: italic; font-size: 14px; color: #1a1f71; flex-shrink: 0; }
.o-brand.mc { color: #eb001b; font-style: normal; }
.o-pay-text { flex: 1; min-width: 0; }
.o-pay-text b { display: block; font-weight: 700; font-size: 15px; color: var(--o-text-2); }
.o-pay-text span { display: block; font-size: 13px; color: var(--o-gray-2); margin-top: 3px; }
.o-radio { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--o-text); flex-shrink: 0; position: relative; }
.o-pay.selected .o-radio::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: var(--o-text); }
.o-secure { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--o-gray-2); margin-top: 18px; }
.o-secure::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #16a34a; }
.o-pay-empty { font-size: 14px; color: var(--o-gray-2); padding: 6px 2px; }

.o-ctx { display: flex; align-items: center; gap: 14px; }
.o-ctx img { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; }
.o-ctx small { display: block; font-size: 12px; color: var(--o-gray-2); }
.o-ctx b { display: block; font-weight: 800; font-size: 16px; color: var(--o-text-2); }
.o-ctx .o-eta { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--o-gray); white-space: nowrap; }
.o-ctx .o-eta svg.icon { width: 16px; height: 16px; }

.o-addr { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--o-line); border-radius: 16px; cursor: pointer; margin-bottom: 10px; }
.o-addr.selected { border-color: var(--o-orange); background: var(--o-pink); }
.o-addr.selected .o-radio::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: var(--o-text); }
.o-addr-text { flex: 1; min-width: 0; }
.o-addr-text b { display: block; font-weight: 700; font-size: 15px; text-transform: capitalize; }
.o-addr-text span { display: block; font-size: 13px; color: var(--o-gray-2); margin-top: 3px; overflow-wrap: anywhere; }
.o-addr-actions { display: flex; gap: 4px; }
.o-addr-actions button { width: 34px; height: 34px; border-radius: 50%; border: 0; background: #fff; color: var(--o-gray); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.o-addr-actions button:hover { color: var(--o-orange); }
.o-addr-actions svg.icon { width: 16px; height: 16px; }
.o-add-line { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; color: var(--o-orange); font-weight: 700; font-size: 14px; cursor: pointer; background: none; border: 0; padding: 6px 0; font-family: inherit; }
.o-subform { margin-top: 14px; padding: 16px; background: var(--o-page); border-radius: 16px; }
.o-subform .o-field + .o-label, .o-subform .o-row + .o-label { margin-top: 14px; }
.o-row { display: flex; gap: 10px; }
.o-row > * { flex: 1; min-width: 0; }
.o-subform .o-btn { height: 44px; font-size: 15px; }
.o-hint { font-size: 12px; color: var(--o-gray-2); margin-top: 6px; }
.o-addr-dd { display: none; position: absolute; left: 0; right: 0; top: 100%; z-index: 50; background: #fff; border: 1px solid var(--o-line); border-radius: 12px; margin-top: 4px; max-height: 220px; overflow-y: auto; box-shadow: 0 8px 24px rgba(0, 0, 0, .12); }

/* Add-card page (1038:7247): the shared.js add-card modal, laid out as a page */
#addCardModal.o-addcard { display: none; }
#addCardModal.o-addcard.open { display: block; }
body.o-addcard-open #viewCheckout { display: none !important; }
.o-card-side { display: flex; flex-direction: column; gap: 20px; }
.o-card-side-head { display: flex; align-items: center; gap: 14px; }
.o-card-side-head .o-pay-ic { background: transparent; }
.o-card-side-head b { display: block; font-weight: 800; font-size: 17px; }
.o-card-side-head span { font-size: 13px; color: var(--o-gray-2); }
.o-protect { background: var(--o-page); border-radius: 14px; padding: 16px; }
.o-protect b { display: block; font-weight: 700; font-size: 14px; }
.o-protect span { display: block; font-size: 13px; color: var(--o-gray-2); line-height: 1.5; margin-top: 6px; }
.o-form-grid { display: grid; gap: 18px; }
.o-form-grid .o-row { gap: 14px; }
.o-form-grid h3 { font-weight: 700; font-size: 15px; margin-top: 8px; }
.o-cc-wrap { position: relative; }
.o-cc-wrap .o-brand { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); height: 24px; font-size: 11px; background: #fdecea; }

/* Success */
.o-success { max-width: 560px; margin: 40px auto; text-align: center; }
.o-success .o-empty-ic { color: #16a34a; }
.o-success h2 { font-family: var(--o-font-head); font-weight: 800; font-size: 28px; margin-top: 22px; }
.o-success p { color: var(--o-gray-2); margin-top: 10px; font-size: 15px; line-height: 1.5; }
.o-success .o-ordnum { display: inline-block; margin-top: 16px; color: var(--o-text); font-weight: 700; font-size: 18px; }
.o-success .o-btn { width: 100%; margin-top: 14px; }

/* ============================================================
   ORDER TRACKING (1038:7331)
   ============================================================ */
.o-track { display: grid; grid-template-columns: minmax(0, 1fr) 468px; gap: 28px; align-items: start; }
.o-live { display: inline-block; color: var(--o-text); font-weight: 600; font-size: 14px; }
.o-map { height: 448px; border-radius: 20px; overflow: hidden; background: #f3f4f6; position: relative; }
.o-map-schematic { position: absolute; inset: 0; background:
  linear-gradient(#e2e4e8, #e2e4e8) 27% 0 / 2px 100% no-repeat,
  linear-gradient(#e2e4e8, #e2e4e8) 65% 0 / 2px 100% no-repeat,
  linear-gradient(#e2e4e8, #e2e4e8) 0 24% / 100% 2px no-repeat,
  linear-gradient(#e2e4e8, #e2e4e8) 0 62% / 100% 2px no-repeat, #f3f4f6; }
.o-map-schematic .o-route { position: absolute; left: 24%; top: 38%; width: 41%; height: 36%; border-top: 3px dashed var(--o-orange); border-right: 3px dashed var(--o-orange); transform: scaleY(-1); }
.o-pin { position: absolute; width: 50px; height: 50px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 6px 16px rgba(0, 0, 0, .15); }
.o-pin svg.icon { width: 22px; height: 22px; }
.o-pin.home { background: var(--o-orange); color: #fff; }
.o-pin.shop { background: #fff; color: var(--o-text); }
.o-map-note { position: absolute; left: 14px; bottom: 14px; background: rgba(255, 255, 255, .92); border-radius: 10px; padding: 8px 12px; font-size: 12px; color: var(--o-gray); z-index: 500; }
.o-leaflet-pin { background: none; border: 0; }
.o-ord-top { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--o-line); }
.o-ord-top b { display: block; font-weight: 800; font-size: 17px; }
.o-ord-top span { font-size: 13px; color: var(--o-gray-2); }
.o-ord-top .o-eta-box { text-align: right; }
.o-ord-top .o-eta-box b { font-size: 13px; font-weight: 700; }
.o-ord-top .o-eta-box strong { display: block; color: var(--o-orange); font-weight: 800; font-size: 16px; margin-top: 4px; }
.o-steps { list-style: none; padding: 0; margin: 22px 0 0; }
.o-step { position: relative; padding: 0 0 26px 36px; }
.o-step::before { content: ''; position: absolute; left: 4px; top: 2px; width: 10px; height: 10px; border-radius: 50%; border: 3px solid #e3e3e3; background: #fff; }
.o-step::after { content: ''; position: absolute; left: 10px; top: 20px; bottom: 2px; width: 2px; background: #e3e3e3; }
.o-step:last-child::after { display: none; }
.o-step.done::before { border-color: var(--o-orange); }
.o-step.done::after { background: var(--o-orange); }
.o-step.current::after { background: #e3e3e3; }
.o-step-head { display: flex; justify-content: space-between; gap: 10px; }
.o-step-head b { font-weight: 700; font-size: 15px; color: var(--o-text-2); }
.o-step-head time { font-size: 12px; color: var(--o-text-2); white-space: nowrap; }
.o-step p { font-size: 13px; color: var(--o-gray-2); margin-top: 6px; }
.o-step.todo b, .o-step.todo p { color: #a3a3a3; }
.o-step.todo time { color: #a3a3a3; }
.o-step.cancel::before { border-color: #c0362c; }
.o-code { margin-top: 6px; padding: 16px 0; border-top: 1px solid var(--o-line); border-bottom: 1px solid var(--o-line); text-align: center; }
.o-code span { font-size: 13px; color: var(--o-gray); }
.o-code strong { display: block; font-family: var(--o-font-head); font-weight: 800; font-size: 30px; letter-spacing: 4px; color: var(--o-text); margin-top: 4px; }
.o-receipt { margin-top: 20px; }
.o-receipt h3 { font-weight: 800; font-size: 16px; margin-bottom: 8px; }
.o-receipt .o-sum-total { margin: 12px 0 0; padding-top: 12px; border-top: 1px solid var(--o-line); }
.o-receipt .o-sum-total b { font-size: 20px; }
.o-detail-msg { max-width: 560px; margin: 60px auto; text-align: center; padding: 40px; }
.o-detail-msg a { color: var(--o-orange); font-weight: 700; }

/* ============================================================
   RESPONSIVE (mobile not designed; clean at 390)
   ============================================================ */
@media (max-width: 1280px) {
  .o-page { padding: 30px 40px 56px; }
  .o-rest-wrap, .o-subhead-inner, .o-reviews-grid { padding-left: 40px; padding-right: 40px; }
  .o-hero-actions { left: 40px; right: 40px; }
  .o-search-intro-inner, .o-search-main { padding-left: 40px; padding-right: 40px; }
  .o-item-inner { padding-left: 32px; padding-right: 32px; grid-template-columns: 420px minmax(0, 1fr); }
  .o-cat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .o-wr-grid { grid-template-columns: 1fr 1fr; }
  .o-wr-form { grid-column: 1 / -1; max-width: 520px; width: 100%; justify-self: center; }
}
@media (max-width: 1024px) {
  .o-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .o-rest-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .o-two, .o-track { grid-template-columns: minmax(0, 1fr); }
  .o-menu-tools { flex-wrap: wrap; }
  .o-tabs { max-width: 100%; }
  .o-filter-groups { grid-template-columns: 1fr; gap: 18px; }
  .o-reviews-grid { grid-template-columns: minmax(0, 1fr); }
  .o-item-inner { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .o-item-media { position: static; max-width: 520px; }
}
@media (max-width: 720px) {
  .o-page { padding: 18px 16px 96px; }
  .o-head { margin-bottom: 18px; flex-wrap: wrap; }
  .o-head h1 { font-size: 26px; line-height: 32px; }
  .o-card { padding: 18px; border-radius: 18px; }
  .o-card-head { flex-wrap: wrap; }
  .o-rest-hero { height: 200px; }
  .o-hero-actions { left: 16px; right: 16px; top: 16px; }
  .o-rest-wrap { padding: 0 16px 96px; }
  .o-rest-info { padding: 0 16px; }
  .o-rest-summary { flex-direction: column; align-items: flex-start; padding: 18px 0 16px; gap: 14px; }
  .o-rest-summary h1 { font-size: 24px; }
  .o-rest-line { font-size: 14px; }
  .o-menu-tools { gap: 14px; }
  .o-menu { margin-top: 28px; }
  .o-menu-sec h2 { font-size: 19px; }
  .o-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .o-prod-img { height: 120px; }
  .o-prod-body { padding: 10px; gap: 8px; }
  .o-prod-name { font-size: 14px; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .o-prod-desc { display: none; }
  .o-price { font-size: 15px; }
  .o-item-inner { padding: 16px 16px 32px; }
  .o-item-panel { padding: 18px; min-height: 0; }
  .o-item-title h2 { font-size: 22px; }
  .o-item-title .o-item-price { font-size: 22px; }
  .o-opts { grid-template-columns: minmax(0, 1fr); }
  .o-item-foot { position: sticky; bottom: 0; background: #fff; margin: 18px -18px -18px; padding: 14px 18px; gap: 10px; }
  .o-qty { width: 112px; }
  .o-subhead-inner { padding: 16px; }
  .o-subhead h1 { font-size: 22px; }
  .o-reviews-grid { padding: 18px 16px 96px; gap: 18px; }
  .o-rv-card { padding: 16px; }
  .o-wr-grid { grid-template-columns: minmax(0, 1fr); padding: 18px 16px 96px; gap: 16px; }
  .o-wr-form { padding: 20px; }
  .o-search-intro-inner { padding: 20px 16px; }
  .o-search-intro h1 { font-size: 26px; }
  .o-search-field { height: 50px; padding: 0 14px; }
  .o-search-main { padding: 0 16px 96px; }
  .o-type-tabs button { flex: 1; width: auto; }
  .o-cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .o-cat img { width: 84px; height: 84px; }
  .o-rest-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .o-rcard-img { height: 190px; }
  .o-rcard-body { padding: 18px 18px 22px; }
  .o-dish-list { grid-template-columns: minmax(0, 1fr); }
  .o-results-head { margin-top: 32px; }
  .o-zero { margin-top: 40px; padding: 32px 20px; }
  .o-browse { margin-top: 36px; }
  .o-cart-empty { margin-top: 30px; padding: 48px 20px; }
  .o-cart-item { gap: 12px; flex-wrap: wrap; }
  .o-cart-item img, .o-cart-item .o-ph { width: 64px; height: 64px; border-radius: 12px; }
  .o-cart-item .o-stepper { margin-left: 76px; }
  .o-map { height: 300px; }
  .o-ord-top { flex-direction: column; }
  .o-ord-top .o-eta-box { text-align: left; }
  .o-row { flex-direction: column; gap: 14px; }
}
.o-item-img .o-round svg.icon { width: 20px; height: 20px; }
@media (max-width: 720px) { .o-item-foot .o-btn { white-space: nowrap; font-size: 15px; padding: 0 12px; letter-spacing: 0; } }

/* Tip + promo (approved 2026-10-27; behaviour from the customer app) */
.o-tip-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.o-tip-head .o-card-title { font-size: 19px; }
.o-tip-head span.o-muted { font-size: 14px; flex: 1; }
.o-badge-opt { color: var(--o-gray-2); font-size: 13px; }
.o-tipchips { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.o-tipchip { height: 40px; border-radius: var(--o-full); border: 1px solid var(--o-chip-line); background: #fff; color: var(--o-text-2); font-size: 14px; cursor: pointer; white-space: nowrap; font-family: inherit; }
.o-tipchip:hover { border-color: var(--o-orange); }
.o-tipchip.active { background: var(--o-orange); border-color: var(--o-orange); color: #fff; font-weight: 700; }
.o-tip-custom { display: flex; gap: 10px; margin-top: 14px; align-items: flex-start; }
.o-tip-custom .o-field { max-width: 220px; height: 44px; }
.o-tip-custom .o-btn { height: 44px; font-size: 15px; }
.o-promo-form { display: flex; gap: 10px; }
.o-promo-form .o-field { height: 48px; border-radius: var(--o-full); padding: 0 18px; text-transform: uppercase; }
.o-promo-form .o-field::placeholder { text-transform: none; }
.o-promo-form .o-btn { height: 48px; flex-shrink: 0; min-width: 110px; }
.o-promo-applied { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.o-code-chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: var(--o-full); background: var(--o-pink-2); color: var(--o-orange); font-weight: 700; font-size: 14px; }
.o-code-chip svg.icon { width: 15px; height: 15px; }
.o-promo-note { font-size: 14px; color: var(--o-gray-2); flex: 1; min-width: 160px; }
.o-link-sm { font-size: 14px; padding: 0; }
.o-promo-err { color: #b4532a; font-size: 13px; margin-top: 10px; }
.o-promo-err:empty { display: none; }
.o-free-tag { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 14px; padding: 6px 12px; border-radius: var(--o-full); background: #e8f7ee; color: #15803d; font-weight: 700; font-size: 13px; }
.o-sum-row.o-disc b { color: var(--o-green); }
@media (max-width: 720px) {
  .o-tipchips { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .o-tip-custom { flex-direction: column; }
  .o-tip-custom .o-field { max-width: none; }
}
