/* 레스토랑 주문 - one restaurant's menu (Controls/V2/V2BizFeed ?view=order, Core/RestaurantOrder).
   The banner across the page, the name and its chips, the category pills, the dishes, and the
   cart bar at the bottom that opens the restaurant's own cart (JS/V2RestaurantOrder.js). */

.v2-ro { padding: 8px 0 110px; color: var(--v2-text); }

.v2-ro-banner { border-radius: 16px; overflow: hidden; background: #111; margin-bottom: 18px; }
.v2-ro-banner img { display: block; width: 100%; height: auto; max-height: 460px; object-fit: contain; margin: 0 auto; }

.v2-ro-info { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap;
              padding: 22px 26px; border-radius: 16px; background: linear-gradient(135deg, var(--v2-primary-soft), #fff 70%);
              border: 1px solid var(--v2-line); margin-bottom: 18px; }
.v2-ro-name { margin: 0; font-size: 28px; font-weight: 900; line-height: 1.25; color: var(--v2-navy); }
.v2-ro-place { margin: 6px 0 0; font-size: 14px; color: var(--v2-muted); }
.v2-ro-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.v2-ro-chip { display: inline-flex; align-items: center; gap: 4px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--v2-line);
              background: #fff; font-size: 14px; font-weight: 700; color: #4b5162; text-decoration: none; white-space: nowrap; }
a.v2-ro-chip:hover { border-color: var(--v2-primary); color: var(--v2-primary); }
.v2-ro-chip.is-on { background: #e7f8ee; border-color: #b9ead0; color: #11804a; }

.v2-ro-pills { position: sticky; top: 0; z-index: 5; display: flex; gap: 8px; overflow-x: auto; padding: 10px 0; margin-bottom: 8px;
               background: var(--v2-bg, #f6f7fb); scrollbar-width: none; }
.v2-ro-pills::-webkit-scrollbar { display: none; }
.v2-ro-pills a { flex: none; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--v2-line); background: #fff;
                 font-size: 14px; font-weight: 800; color: var(--v2-navy); text-decoration: none; }
.v2-ro-pills a small { margin-left: 4px; font-weight: 500; color: var(--v2-muted); }
.v2-ro-pills a:hover { border-color: var(--v2-primary); color: var(--v2-primary); }

.v2-ro-sec { padding-top: 18px; scroll-margin-top: 64px; }
.v2-ro-cathead { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 10px;
                 border-bottom: 2px solid var(--v2-navy); margin-bottom: 14px; }
.v2-ro-cathead h2 { margin: 0; font-size: 22px; font-weight: 900; letter-spacing: .02em; color: var(--v2-navy); }
.v2-ro-cathead h2 span { margin-left: 8px; font-size: 16px; font-weight: 600; color: var(--v2-muted); letter-spacing: 0; }
.v2-ro-cathead small { font-size: 13px; color: var(--v2-muted); }
.v2-ro-extras { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: -4px 0 14px; font-size: 13px; }
.v2-ro-extras b { margin-right: 2px; color: var(--v2-muted); }
.v2-ro-extras span { padding: 4px 10px; border-radius: 999px; border: 1px solid #d6e4f0; background: #f3f8fc; color: #1d4e75; }

.v2-ro-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.v2-ro-card { display: flex; flex-direction: column; min-width: 0; border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid var(--v2-line); }
.v2-ro-photo { aspect-ratio: 4 / 3; background: var(--v2-bg); overflow: hidden; }
.v2-ro-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.v2-ro-photo.is-plate { display: flex; align-items: center; justify-content: center; padding: 16px; box-sizing: border-box;
                        background: linear-gradient(135deg, var(--v2-navy), var(--v2-primary)); }
.v2-ro-photo.is-plate span { color: rgba(255,255,255,.85); font-weight: 800; font-size: 15px; text-align: center; }
.v2-ro-body { display: flex; flex-direction: column; flex: 1; min-width: 0; padding: 12px 14px 14px; }
.v2-ro-body h3 { margin: 0; font-size: 16px; font-weight: 800; line-height: 1.35; color: var(--v2-navy); }
/* The card opens the dish big (JS/V2ItemCard.js); the name is its button for the keyboard. */
.v2-ro-card[data-item] { cursor: pointer; transition: box-shadow .15s, transform .15s; }
.v2-ro-card[data-item]:hover { box-shadow: 0 10px 24px rgba(26, 31, 54, .12); transform: translateY(-2px); }
.v2-ro-open { display: inline; padding: 0; border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.v2-ro-open:focus-visible { outline: 2px solid var(--v2-primary); outline-offset: 2px; border-radius: 4px; }
.v2-ro-sub { margin: 2px 0 0; font-size: 13.5px; color: var(--v2-muted); }
.v2-ro-desc { margin: 6px 0 0; font-size: 13px; line-height: 1.5; color: #4b5162; }
.v2-ro-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 12px; }
.v2-ro-price { font-size: 16px; font-weight: 900; color: var(--v2-text); }
.v2-ro-callonly { font-size: 12.5px; color: var(--v2-muted); }

.v2-ro-add { padding: 8px 14px; border-radius: 999px; border: 0; background: var(--v2-primary); color: #fff;
             font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; }
.v2-ro-add:hover { filter: brightness(1.08); }
.v2-ro-qty { display: inline-flex; align-items: center; border-radius: 999px; background: var(--v2-primary-soft); }
.v2-ro-qty button { width: 34px; height: 34px; border: 0; border-radius: 999px; background: transparent; color: var(--v2-primary);
                    font-size: 19px; font-weight: 800; cursor: pointer; }
.v2-ro-qty button:hover { background: rgba(0,0,0,.05); }
.v2-ro-qty b { min-width: 20px; text-align: center; font-size: 15px; color: var(--v2-primary); }

.v2-ro-note { margin: 28px 0 0; padding: 14px 18px; border-radius: 12px; background: #fff; border: 1px dashed var(--v2-line);
              font-size: 13.5px; line-height: 1.6; color: var(--v2-muted); }

.v2-ro-bar { position: fixed; z-index: 50; left: 50%; bottom: 18px; transform: translateX(-50%); width: min(520px, calc(100% - 32px));
             box-sizing: border-box; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px;
             border-radius: 16px; background: var(--v2-navy); color: #fff; text-decoration: none; box-shadow: 0 10px 30px rgba(19,35,74,.35); }
.v2-ro-bar:hover { color: #fff; filter: brightness(1.1); }
.v2-ro-bar b { font-size: 16px; }
.v2-ro-bar-count { min-width: 28px; height: 28px; padding: 0 6px; box-sizing: border-box; border-radius: 999px; background: var(--v2-primary);
                   display: inline-flex; align-items: center; justify-content: center; font-weight: 800; }
.v2-ro-bar.is-bump { animation: v2-ro-bump .3s ease; }
@keyframes v2-ro-bump { 50% { transform: translateX(-50%) scale(1.04); } }

@media (max-width: 760px) {
    .v2-ro-banner { border-radius: 0; margin: 0 -16px 14px; }
    .v2-ro-info { padding: 18px; }
    .v2-ro-name { font-size: 23px; }
    .v2-ro-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    /* a phone: the picture beside the words, as menus on phones are read */
    .v2-ro-card { flex-direction: row; }
    .v2-ro-photo { flex: none; width: 112px; aspect-ratio: auto; }
    .v2-ro-body { padding: 10px 12px; }
    .v2-ro-desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
}

/* ---------- the checkout, an order's status (V2BizMenu ?view=checkout, ?view=orderstatus) ---------- */

.v2-ro-name small { margin-left: 8px; font-size: 15px; font-weight: 600; color: var(--v2-muted); }
.v2-ro-notice { margin: 0 0 16px; padding: 14px 18px; border-radius: 12px; background: #eef4ff; color: var(--v2-navy); font-size: 15px; line-height: 1.6; }
.v2-ro-notice.is-warn { background: #fff4e5; color: #8a4b00; }
.v2-ro-call { margin-left: 6px; font-weight: 800; color: var(--v2-primary); text-decoration: none; white-space: nowrap; }

.v2-ro-cogrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.v2-ro-copanel { padding: 20px 22px; border-radius: 16px; background: #fff; border: 1px solid var(--v2-line); }
.v2-ro-copanel h2 { margin: 0 0 14px; font-size: 19px; font-weight: 900; color: var(--v2-navy); }
.v2-ro-copanel h2 small { margin-left: 6px; font-size: 13px; font-weight: 600; color: var(--v2-muted); }
.v2-ro-coempty { padding: 16px 0; text-align: center; color: var(--v2-muted); }
.v2-ro-coempty a { display: inline-block; text-decoration: none; }
.v2-ro-colines { list-style: none; margin: 0; padding: 0; }
.v2-ro-colines li { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--v2-line); }
.v2-ro-coname { flex: 1; min-width: 0; font-weight: 700; color: var(--v2-text); }
.v2-ro-coamt { min-width: 70px; text-align: right; font-weight: 800; }
.v2-ro-colines.is-static li { justify-content: space-between; }
.v2-ro-addmore { display: inline-block; margin: 12px 0 4px; font-weight: 800; color: var(--v2-primary); text-decoration: none; }
.v2-ro-sums { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; margin: 12px 0 0; font-size: 15px; }
.v2-ro-sums dt { color: var(--v2-muted); }
.v2-ro-sums dd { margin: 0; text-align: right; }
.v2-ro-sums .is-total { padding-top: 8px; border-top: 1px solid var(--v2-line); font-size: 18px; font-weight: 900; color: var(--v2-navy); }
.v2-ro-coform { display: grid; gap: 12px; }
.v2-ro-coform h2 { margin-bottom: 2px; }
.v2-ro-coform label { display: grid; gap: 6px; font-size: 13.5px; font-weight: 700; color: #4b5162; }
.v2-ro-coform input, .v2-ro-coform select, .v2-ro-coform textarea,
.v2-bm-form input[type=text], .v2-bm-form input[type=email], .v2-bm-form input[type=tel], .v2-bm-form input[type=time],
.v2-bm-form input[type=number], .v2-bm-form select, .v2-bm-form textarea, .v2-bm-addcat input {
    width: 100%; box-sizing: border-box; padding: 11px 12px; border: 1px solid #d5d9e2; border-radius: 10px; background: #fff;
    font: inherit; font-size: 15px; font-weight: 400; color: var(--v2-text); }
.v2-ro-coform input:focus, .v2-ro-coform select:focus, .v2-ro-coform textarea:focus, .v2-bm-form input:focus, .v2-bm-form textarea:focus, .v2-bm-addcat input:focus {
    outline: none; border-color: var(--v2-primary); box-shadow: 0 0 0 3px var(--v2-primary-soft); }
.v2-ro-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.v2-ro-error { margin: 0; padding: 10px 12px; border-radius: 10px; background: #fdecec; color: #b42318; font-size: 14px; }
.v2-ro-submit { padding: 15px; border: 0; border-radius: 12px; background: var(--v2-primary); color: #fff; font: inherit; font-size: 17px; font-weight: 900; cursor: pointer; }
.v2-ro-submit:disabled { opacity: .45; cursor: default; }
.v2-ro-copay { margin: 4px 0 0; font-size: 13px; color: var(--v2-muted); }

.v2-ro-status { max-width: 560px; margin: 10px auto; padding: 28px; border-radius: 18px; background: #fff; border: 1px solid var(--v2-line); text-align: center; }
.v2-ro-status-kicker { margin: 0; font-size: 14px; font-weight: 800; color: var(--v2-primary); }
.v2-ro-status-no { margin: 4px 0 12px; font-size: 32px; font-weight: 900; color: var(--v2-navy); }
.v2-ro-status-msg { margin: 0 0 10px; padding: 14px; border-radius: 12px; background: #eef4ff; font-size: 16px; font-weight: 800; color: var(--v2-navy); line-height: 1.5; }
.v2-ro-status.is-ready .v2-ro-status-msg, .v2-ro-status.is-done .v2-ro-status-msg, .v2-ro-status.is-accepted .v2-ro-status-msg { background: #e7f8ee; color: #11804a; }
.v2-ro-status.is-declined .v2-ro-status-msg { background: #fdecec; color: #b42318; }
.v2-ro-status-time { margin: 0 0 14px; font-size: 15px; }
.v2-ro-status .v2-ro-colines, .v2-ro-status .v2-ro-sums { text-align: left; }

/* ---------- the owner's screens (V2BizMenu ?view=menuedit, ?view=orders) ---------- */

.v2-bm { padding: 8px 0 80px; color: var(--v2-text); }
.v2-bm-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.v2-bm-tabs a { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--v2-line); background: #fff; font-size: 14px; font-weight: 800; color: #4b5162; text-decoration: none; }
.v2-bm-tabs a:hover { border-color: var(--v2-primary); color: var(--v2-primary); }
.v2-bm-tabs a.is-on { background: var(--v2-primary); border-color: var(--v2-primary); color: #fff; }
.v2-bm-loading { padding: 40px 0; text-align: center; color: var(--v2-muted); }
.v2-bm-app.is-busy { opacity: .6; pointer-events: none; transition: opacity .2s; }
.v2-bm-box { margin: 0 0 18px; padding: 20px 22px; border-radius: 16px; background: #fff; border: 1px solid var(--v2-line); scroll-margin-top: 20px; }
.v2-bm-box h2 { margin: 0 0 14px; font-size: 20px; font-weight: 900; color: var(--v2-navy); }
.v2-bm-box h2 small { margin-left: 6px; font-size: 13px; font-weight: 600; color: var(--v2-muted); }

.v2-bm-btn { display: inline-flex; align-items: center; justify-content: center; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--v2-line);
             background: #fff; font: inherit; font-size: 14px; font-weight: 800; color: var(--v2-navy); cursor: pointer; text-decoration: none; white-space: nowrap; }
.v2-bm-btn:hover { border-color: var(--v2-primary); color: var(--v2-primary); }
.v2-bm-btn.is-main { background: var(--v2-primary); border-color: var(--v2-primary); color: #fff; }
.v2-bm-btn.is-main:hover { color: #fff; filter: brightness(1.08); }
.v2-bm-icon { width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--v2-line); background: #fff; font-size: 15px; color: var(--v2-navy); cursor: pointer; }
.v2-bm-icon:hover:not(:disabled) { border-color: var(--v2-primary); color: var(--v2-primary); }
.v2-bm-icon:disabled { opacity: .35; cursor: default; }
.v2-bm-icon.is-bad:hover { border-color: #e5484d; color: #e5484d; }
.v2-bm-tools { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }

.v2-bm-pics { display: grid; grid-template-columns: 2fr 1fr; gap: 18px; }
.v2-bm-pichead b { display: block; font-size: 15px; color: var(--v2-navy); }
.v2-bm-pichead small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--v2-muted); line-height: 1.5; }
.v2-bm-picbox { display: flex; align-items: center; justify-content: center; margin: 10px 0; border-radius: 12px; overflow: hidden;
                background: var(--v2-bg); border: 1px dashed #cfd5e0; color: var(--v2-muted); font-size: 13px; }
.v2-bm-pic.is-banner .v2-bm-picbox { aspect-ratio: 16 / 5; }
.v2-bm-pic.is-card .v2-bm-picbox, .v2-bm-itempic .v2-bm-picbox { aspect-ratio: 16 / 10; }
.v2-bm-picbox img { display: block; width: 100%; height: 100%; object-fit: cover; }
.v2-bm-pic.is-banner .v2-bm-picbox img { object-fit: contain; background: #111; }
.v2-bm-picbtns { display: flex; gap: 8px; flex-wrap: wrap; }

.v2-bm-form { display: grid; gap: 14px; }
.v2-bm-form label { display: grid; gap: 6px; font-size: 13.5px; font-weight: 700; color: #4b5162; }
.v2-bm-form label.v2-bm-check, .v2-bm-check { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 800; color: var(--v2-navy); }
.v2-bm-check input { width: 20px; height: 20px; accent-color: var(--v2-primary); }
.v2-bm-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.v2-bm-row.is-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.v2-bm-hint { margin: 0; font-size: 13px; line-height: 1.6; color: var(--v2-muted); }
.v2-bm-hint a { color: var(--v2-primary); font-weight: 800; }

.v2-bm-menuhead { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.v2-bm-menuhead h2 { margin: 0; }
.v2-bm-addcat { display: flex; gap: 8px; flex: 1; max-width: 460px; }
.v2-bm-empty { margin: 8px 0; padding: 14px; border-radius: 10px; background: var(--v2-bg); color: var(--v2-muted); font-size: 14px; text-align: center; }
.v2-bm-cat { margin-top: 18px; }
.v2-bm-cathead { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding-bottom: 8px; border-bottom: 2px solid var(--v2-navy); }
.v2-bm-cathead h3 { margin: 0; font-size: 18px; font-weight: 900; color: var(--v2-navy); }
.v2-bm-cathead h3 small { font-size: 13px; font-weight: 600; color: var(--v2-muted); }
.v2-bm-items { list-style: none; margin: 0; padding: 0; }
.v2-bm-item { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--v2-line); }
.v2-bm-item > img, .v2-bm-nopic { flex: none; width: 64px; height: 48px; border-radius: 8px; object-fit: cover; }
.v2-bm-nopic { display: flex; align-items: center; justify-content: center; background: var(--v2-bg); font-size: 11px; color: var(--v2-muted); }
.v2-bm-itemtext { flex: 1; min-width: 0; }
.v2-bm-itemtext b { display: block; font-size: 15px; color: var(--v2-navy); }
.v2-bm-itemtext small { display: block; font-size: 13px; color: var(--v2-muted); }
.v2-bm-itemtext em { display: inline-block; margin-top: 3px; padding: 1px 8px; border-radius: 999px; background: #fff4e5; color: #8a4b00; font-size: 12px; font-style: normal; }
.v2-bm-item.is-off > img { opacity: .55; }
.v2-bm-price { min-width: 70px; text-align: right; font-weight: 900; }
.v2-bm-price i { font-style: normal; font-weight: 600; font-size: 12.5px; color: #b42318; }
.v2-bm-foot { margin: 10px 0 0; }

.v2-bm-modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: flex-start; justify-content: center; padding: 40px 16px; overflow-y: auto;
               background: rgba(19, 35, 74, .45); }
.v2-bm-dialog { width: min(560px, 100%); padding: 22px 24px; border-radius: 18px; background: #fff; box-shadow: 0 20px 50px rgba(0,0,0,.25); font-family: var(--v2-font); }
.v2-bm-dialog h2 { margin: 0 0 14px; font-size: 20px; font-weight: 900; color: var(--v2-navy); }
.v2-bm-dialogbtns { display: flex; justify-content: flex-end; gap: 8px; }
.v2-bm-itempic .v2-bm-picbox { margin-top: 0; max-width: 260px; }
.v2-bm-toast { position: fixed; z-index: 1100; left: 50%; bottom: 24px; transform: translateX(-50%); max-width: calc(100% - 32px); padding: 12px 20px;
               border-radius: 999px; background: var(--v2-navy); color: #fff; font-size: 14.5px; font-weight: 700; box-shadow: 0 10px 24px rgba(0,0,0,.2); }
.v2-bm-toast.is-bad { background: #b42318; }

/* the kitchen's board - AhaBlog's CSS/ClubTakeout.css (.toa), in ahaidea's colours */
.toa { --to-acc: var(--v2-primary, #6b3fe0); --to-ink: var(--v2-navy, #13234a); --to-line: var(--v2-line, #e6e8ef); --to-mut: var(--v2-muted, #6b7280); --to-bg: #eef0f5; }
.toa * { box-sizing: border-box; }
.toa-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.toa-state { margin: 0; font-size: 14px; color: var(--to-mut); }
.toa-state a { color: var(--to-acc); font-weight: 800; }
.toa-pill { display: inline-block; padding: 5px 12px; border-radius: 999px; background: #eceff3; font-weight: 800; color: #4b5563; }
.toa-pill.is-on { background: #e8f7ee; color: #1e7b45; }
.toa-sound { padding: 12px 18px; border: 2px solid var(--to-acc); border-radius: 12px; background: #fff; color: var(--to-acc); font: inherit; font-size: 15px; font-weight: 800; cursor: pointer; }
.toa-sound.is-on { background: #e8f7ee; border-color: #1e7b45; color: #1e7b45; }
.toa-offline { padding: 10px 14px; border-radius: 10px; background: #fdecec; color: #b42318; font-weight: 700; }
.toa-board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
.toa-col { padding: 12px; border-radius: 16px; background: var(--to-bg); min-height: 200px; }
.toa-col h2 { display: flex; align-items: center; gap: 6px; margin: 2px 4px 12px; font-size: 17px; font-weight: 800; color: var(--to-ink); }
.toa-col h2 small { font-size: 12.5px; font-weight: 600; color: var(--to-mut); }
.toa-col h2 b { margin-left: auto; min-width: 26px; padding: 2px 8px; border-radius: 999px; background: #fff; text-align: center; font-size: 14px; }
.toa-col.is-new h2 b { background: #e5484d; color: #fff; }
.toa-list { display: grid; gap: 12px; }
.toa-empty { margin: 20px 0; text-align: center; color: #9aa4af; }
.toa-card { padding: 14px; border-radius: 14px; background: #fff; border: 1px solid var(--to-line); box-shadow: 0 2px 6px rgba(0, 0, 0, .04); }
.toa-col.is-new .toa-card { border: 2px solid #e5484d; animation: toa-pulse 1.6s ease-in-out infinite; }
@keyframes toa-pulse { 50% { box-shadow: 0 0 0 6px rgba(229, 72, 77, .15); } }
.toa-card.is-late { border-color: #f59e0b; }
.toa-card header { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.toa-no { font-size: 20px; font-weight: 900; color: var(--to-ink); }
.toa-time { font-size: 17px; font-weight: 800; }
.toa-time small { font-size: 12.5px; font-weight: 600; color: var(--to-mut); }
.toa-who { margin: 6px 0; font-size: 15px; }
.toa-who a { color: var(--to-acc); margin-left: 6px; }
.toa-lines { list-style: none; margin: 8px 0; padding: 8px 0; border-top: 1px dashed var(--to-line); border-bottom: 1px dashed var(--to-line); font-size: 16px; }
.toa-lines li { padding: 2px 0; }
.toa-note { margin: 6px 0; padding: 8px 10px; border-radius: 8px; background: #fff8e1; font-size: 14.5px; }
.toa-total { margin: 6px 0 10px; font-size: 16px; font-weight: 800; }
.toa-total small { font-weight: 500; color: var(--to-mut); }
.toa-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.toa-btn { flex: 1 1 auto; padding: 12px 10px; border: 1px solid var(--to-line); border-radius: 10px; background: #fff; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.toa-btn.is-go { flex-basis: 100%; border-color: #1e7b45; background: #1e7b45; color: #fff; }
.toa-btn.is-no { color: #b42318; }
.toa-done { margin: 18px 0; }
.toa-done summary { cursor: pointer; font-size: 16px; font-weight: 800; color: var(--to-ink); }
.toa-done ul { margin: 10px 0 0; padding-left: 18px; font-size: 14px; color: var(--to-mut); }
.toa-taphint { position: fixed; left: 50%; bottom: 22px; z-index: 60; max-width: calc(100% - 24px); padding: 14px 22px; border-radius: 999px;
               background: #e5484d; color: #fff; font-size: 15px; font-weight: 800; text-align: center; transform: translateX(-50%);
               box-shadow: 0 12px 30px rgba(0, 0, 0, .25); animation: toa-pulse 1.6s ease-in-out infinite; }

@media (max-width: 980px) {
    .toa-board { grid-template-columns: minmax(0, 1fr); }
    .v2-bm-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
    .v2-ro-cogrid, .v2-bm-pics, .v2-bm-row.is-two { grid-template-columns: minmax(0, 1fr); }
    .v2-ro-copanel, .v2-bm-box { padding: 16px; }
    .v2-bm-item { flex-wrap: wrap; }
    .v2-bm-item .v2-bm-tools { width: 100%; justify-content: flex-end; }
    .v2-bm-addcat { max-width: none; }
}

/* ---------- a restaurant's application (V2BizMenu ?view=orderapply) ----------
   Left: what it gets and the price, in the 한인업소록 banner's colours. Right: the form. */
.v2-oa-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.v2-oa-intro { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 12px; padding: 28px 26px; border-radius: 16px; color: #fff;
    background: linear-gradient(150deg, #2a0a22 0%, #561232 45%, #9a2614 80%, #c2410c 100%); }
.v2-oa-intro::before { content: ''; position: absolute; right: -120px; top: -140px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(251, 146, 60, .4), rgba(251, 146, 60, 0) 70%); }
.v2-oa-intro > * { position: relative; }
.v2-oa-intro i { align-self: flex-start; padding: 5px 13px; border-radius: 999px; background: rgba(255, 255, 255, .15); color: #fed7aa; font-size: 12.5px; font-style: normal; font-weight: 800; }
.v2-oa-intro h2 { margin: 0; font-size: 26px; font-weight: 900; line-height: 1.3; letter-spacing: -.5px; color: #fff; }
.v2-oa-intro p { margin: 0; font-size: 15px; line-height: 1.6; color: #ffe1d2; }
.v2-oa-price { align-self: flex-start; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 4px 0; padding: 12px 18px; border-radius: 14px; background: #facc15; color: #3a0d2c; }
.v2-oa-price span, .v2-oa-price small { font-size: 13px; font-weight: 800; }
.v2-oa-price s { position: relative; font-size: 20px; font-weight: 800; text-decoration: none; color: #7a5a1a; }
.v2-oa-price s::before, .v2-oa-price s::after { content: ''; position: absolute; left: -4px; right: -4px; top: 50%; height: 3px; border-radius: 2px; background: #dc2626; }
.v2-oa-price s::before { transform: rotate(-22deg); }
.v2-oa-price s::after { transform: rotate(22deg); }
.v2-oa-price b { font-size: 36px; font-weight: 900; letter-spacing: -1px; color: #c2410c; line-height: 1; }
.v2-oa-feats { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.v2-oa-feats li { position: relative; padding-left: 26px; font-size: 14.5px; line-height: 1.5; color: #fff; }
.v2-oa-feats li::before { content: '✓'; position: absolute; left: 0; top: 0; width: 18px; height: 18px; border-radius: 50%; background: #16a34a; color: #fff; font-size: 11px; font-weight: 900; line-height: 18px; text-align: center; }
.v2-oa-intro .v2-oa-contact { margin-top: 6px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .18); font-size: 14px; }
.v2-oa-contact a { color: #fff !important; font-weight: 800; text-decoration: none; }
.v2-oa-contact a:hover { text-decoration: underline; }

.v2-oa-lead { margin: -6px 0 2px; font-size: 14px; color: var(--v2-muted); }
.v2-oa-sub { margin: 8px 0 -2px; padding-top: 12px; border-top: 1px solid var(--v2-line); font-size: 15.5px; font-weight: 900; color: var(--v2-navy); }
.v2-oa-lead + .v2-oa-sub, .v2-oa-lead + .v2-ro-notice + .v2-oa-sub { margin-top: 0; padding-top: 0; border-top: 0; }
.v2-oa-sub small { margin-left: 6px; font-size: 12.5px; font-weight: 500; color: var(--v2-muted); }
.v2-oa-intro.is-premium { background: linear-gradient(150deg, #231a5e 0%, #3b1f8f 50%, #6b3fe0 100%); }
.v2-oa-intro.is-premium::before { background: radial-gradient(circle, rgba(230, 0, 92, .35), rgba(230, 0, 92, 0) 70%); }
.v2-oa-intro.is-premium i { background: linear-gradient(90deg, #6b3fe0, #e6005c); color: #fff; letter-spacing: 1px; }
.v2-oa-intro.is-premium p { color: #d9d2ff; }
.v2-oa-form label b, .v2-oa-lead b { color: #dc2626; }
.v2-oa-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.v2-oa-choices { margin: 0; padding: 0; border: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.v2-oa-choices legend { width: 100%; margin-bottom: 6px; padding: 0; font-size: 13.5px; font-weight: 700; color: #4b5162; }
.v2-oa-choices legend small { font-weight: 500; color: var(--v2-muted); }
.v2-ro-coform .v2-oa-choices label { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border: 1px solid #d5d9e2; border-radius: 999px; background: #fff;
    font-size: 14px; font-weight: 600; color: var(--v2-text); cursor: pointer; }
.v2-ro-coform .v2-oa-choices input { width: auto; margin: 0; padding: 0; accent-color: #c2410c; }
.v2-ro-coform .v2-oa-choices label:has(input:checked) { border-color: #c2410c; background: #fff4ec; color: #9a3412; }
.v2-oa-submit { background: #c2410c; }
.v2-oa-submit:hover:not(:disabled) { background: #9a3412; }

.v2-oa-done { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 40px 24px; text-align: center; }
.v2-oa-done h2 { margin: 0; }
.v2-oa-done p { margin: 0; font-size: 15px; line-height: 1.7; color: #4b5162; }
.v2-oa-done p a { font-weight: 800; color: var(--v2-primary); text-decoration: none; white-space: nowrap; }
.v2-oa-check { width: 56px; height: 56px; border-radius: 50%; background: #16a34a; color: #fff; font-size: 28px; font-weight: 900; line-height: 56px; }

@media (max-width: 760px) {
    .v2-oa-grid, .v2-oa-two { grid-template-columns: minmax(0, 1fr); }
    .v2-oa-intro { padding: 22px 18px; }
    .v2-oa-intro h2 { font-size: 22px; }
}

/* ---------- a business's showcase (V2BizMenu ?view=showcase - a dealer's cars) ----------
   Makes to pick and an order on one line, then the cards: a photo, the car, one line of details, the price.
   A card opens the car big (CSS/V2ItemCard.css). */
/* the order stays at the right of the first line; when the choices need more room, only they go on to a second */
.v2-sc-bar { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.v2-sc-makes { display: flex; flex: 1; gap: 8px; flex-wrap: wrap; min-width: 0; }
.v2-sc-make { padding: 8px 14px; border: 1px solid var(--v2-line); border-radius: 999px; background: #fff; color: var(--v2-text); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.v2-sc-make small { margin-left: 2px; font-size: 12px; font-weight: 600; color: var(--v2-muted); }
.v2-sc-make:hover { border-color: var(--v2-primary); color: var(--v2-primary); }
.v2-sc-make.is-on { border-color: var(--v2-navy); background: var(--v2-navy); color: #fff; }
.v2-sc-make.is-on small { color: rgba(255, 255, 255, .7); }
.v2-sc-count { font-size: 15px; color: var(--v2-muted); }
.v2-sc-count b { color: var(--v2-navy); }
.v2-sc-sort { display: inline-flex; flex: none; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; color: #4b5162; }
.v2-sc-sort select { padding: 8px 12px; border: 1px solid #d5d9e2; border-radius: 10px; background: #fff; font: inherit; font-size: 14px; color: var(--v2-text); }

.v2-sc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.v2-sc-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--v2-line); border-radius: 14px; background: #fff;
    cursor: pointer; transition: box-shadow .15s, transform .15s; }
.v2-sc-card:hover { box-shadow: 0 10px 24px rgba(26, 31, 54, .12); transform: translateY(-2px); }
.v2-sc-photo { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #f3f4f8; }
.v2-sc-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.v2-sc-pics { position: absolute; right: 8px; bottom: 8px; padding: 2px 8px; border-radius: 999px; background: rgba(17, 20, 40, .65); color: #fff; font-size: 12px; font-weight: 700; }
.v2-sc-nopic { display: flex; align-items: center; justify-content: center; height: 100%; color: var(--v2-muted); font-weight: 800; }
.v2-sc-body { display: flex; flex-direction: column; flex: 1; min-width: 0; padding: 12px 14px 14px; }
.v2-sc-body h3 { margin: 0; font-size: 16.5px; font-weight: 900; line-height: 1.35; color: var(--v2-navy); }
.v2-sc-sub { margin: 2px 0 0; font-size: 13.5px; color: var(--v2-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v2-sc-facts { margin: 8px 0 0; font-size: 13px; color: #4b5162; }
.v2-sc-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 12px; }
.v2-sc-price { font-size: 19px; font-weight: 900; color: var(--v2-text); }
.v2-sc-more { font-size: 13px; font-weight: 800; color: var(--v2-primary); }
.v2-sc-price small { margin-left: 3px; font-size: 13px; font-weight: 700; color: var(--v2-muted); }
.v2-sc-card.is-model { color: inherit; text-decoration: none; }
.v2-sc-card.is-model .v2-sc-photo { background: linear-gradient(160deg, #f6f7fb, #e9ecf3); }
.v2-sc-card.is-model .v2-sc-photo img { object-fit: contain; padding: 8px; box-sizing: border-box; }
.v2-sc-badge { position: absolute; left: 8px; top: 8px; padding: 3px 10px; border-radius: 999px; background: #e6005c; color: #fff; font-size: 12px; font-style: normal; font-weight: 800; }
.v2-sc-conds { display: inline-flex; gap: 8px; padding-right: 10px; margin-right: 2px; border-right: 1px solid var(--v2-line); }

/* the owner's screen (?view=showcaseedit) */
.v2-sc-importrow { display: flex; gap: 8px; flex-wrap: wrap; }
.v2-sc-importrow input { flex: 1 1 320px; min-width: 0; box-sizing: border-box; padding: 11px 12px; border: 1px solid #d5d9e2; border-radius: 10px; font: inherit; font-size: 15px; }
.v2-sc-status { margin: 0; padding: 10px 14px; border-radius: 10px; background: #f3f8fc; color: #1d4e75; font-size: 14px; }
.v2-sc-status.is-running { background: #fff7e6; color: #8a4b00; }
.v2-bm-itemtext em.is-imported { background: #eef4ff; color: #1d4ed8; }
.v2-sc-dialog { width: min(760px, 100%); }
.v2-sc-fields { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px 12px; }
.v2-sc-fields input { width: 100%; box-sizing: border-box; padding: 9px 10px; border: 1px solid #d5d9e2; border-radius: 10px; font: inherit; font-size: 14px; font-weight: 400; }
.v2-sc-dialog textarea { width: 100%; box-sizing: border-box; padding: 10px 12px; border: 1px solid #d5d9e2; border-radius: 10px; font: inherit; font-size: 14px; font-weight: 400; }
.v2-sc-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.v2-sc-photos .v2-bm-empty { grid-column: 1 / -1; }
.v2-sc-photo { position: relative; }
.v2-sc-photos .v2-sc-photo { aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; }
.v2-sc-photos .v2-sc-photo.is-first { outline: 3px solid var(--v2-primary); outline-offset: -3px; }
.v2-sc-photos .v2-sc-photo button, .v2-sc-photos .v2-sc-photo span { position: absolute; top: 4px; padding: 2px 7px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .92);
    font: inherit; font-size: 12px; font-weight: 800; cursor: pointer; }
.v2-sc-photos .v2-sc-photo button[data-first], .v2-sc-photos .v2-sc-photo span { left: 4px; color: var(--v2-primary); }
.v2-sc-photos .v2-sc-photo span { cursor: default; }
.v2-sc-photos .v2-sc-photo button.is-bad { right: 4px; color: #b42318; }

@media (max-width: 760px) {
    .v2-sc-grid { grid-template-columns: minmax(0, 1fr); }
    .v2-sc-bar { flex-direction: column; align-items: stretch; }
    .v2-sc-makes { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
    .v2-sc-make { flex: none; }
    .v2-sc-conds { flex: none; }
    .v2-sc-sort select { flex: 1; }
    .v2-sc-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

