@import url('https://fonts.googleapis.com/css2?family=Hanken+Grotesk:wght@400;500;600;700&family=Hind+Siliguri:wght@400;500;600&family=Young+Serif&display=swap');

/* Moyan storefront. Design notes:
   - Reads like a printed bakery menu: category headings, then names with dotted leaders to prices.
     There are no product photos yet, so nothing depends on them. A thumbnail appears once an item has one.
   - Cool paper and teal-black ink, the logo teal for actions, berry only for "popular" and "sold out".
   - Flat: hairline borders, 6px corners, no hover lift. */

:root {
  --paper: #f5f7f4;
  --paper-2: #e9eeea;
  --ink: #0e2422;
  --ink-2: #3d524f;
  --line: #c9d3ce;
  --teal: #12544f;
  --teal-deep: #0c3a36;
  --teal-tint: #dce8e5;
  --berry: #b3263f;
  --berry-tint: #f6dde1;

  --font-heading: "Young Serif", "Hind Siliguri", Georgia, serif;
  --font-body: "Hanken Grotesk", "Hind Siliguri", system-ui, sans-serif;

  --gutter: 32px;
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; background: var(--paper); }
body { font-family: var(--font-body); font-size: 16px; line-height: 1.55; color: var(--ink); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--font-heading); font-weight: 400; margin: 0; line-height: 1.1; }
p { margin: 0 0 12px; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--teal-deep); }
button { font: inherit; color: inherit; }
::selection { background: var(--teal-tint); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }

#app { width: 100%; min-height: 100vh; display: flex; flex-direction: column; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.muted { color: var(--ink-2); font-size: 15px; }

/* — buttons — */
.btn-solid { border: 0; background: var(--teal); color: #fff; font-weight: 600; font-size: 15px; padding: 12px 22px; border-radius: var(--radius); cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; transition: background-color 0.15s ease; }
.btn-solid:hover { background: var(--teal-deep); color: #fff; }
.btn-solid:disabled { background: var(--line); color: var(--ink-2); cursor: not-allowed; }
.btn-solid.block { width: 100%; }
.btn-ghost { border: 1.5px solid var(--teal); background: none; color: var(--teal); font-weight: 600; font-size: 15px; padding: 10.5px 22px; border-radius: var(--radius); cursor: pointer; transition: background-color 0.15s ease; }
.btn-ghost:hover { background: var(--teal-tint); }
.link-btn { border: 0; background: none; padding: 0; margin-left: 6px; font-size: 13px; color: var(--ink-2); text-decoration: underline; cursor: pointer; }
.link-btn:hover { color: var(--berry); }

/* — header / footer — */
.site-head { border-bottom: 1px solid var(--line); background: var(--paper); }
.head-in { display: flex; align-items: center; gap: 24px; padding-top: 16px; padding-bottom: 16px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-mark { position: relative; overflow: hidden; width: 42px; height: 42px; border-radius: var(--radius); background: var(--teal); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--font-heading); font-size: 20px; flex-shrink: 0; }
.brand-mark img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.brand-name { font-family: var(--font-heading); font-size: 21px; line-height: 1; white-space: nowrap; }
.brand-name span { font-family: var(--font-body); font-size: 14px; color: var(--ink-2); margin-left: 4px; }
.site-nav { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.menu-link { position: relative; font-size: 15px; font-weight: 500; color: var(--ink-2); text-decoration: none; padding: 6px 0; white-space: nowrap; }
.menu-link:hover { color: var(--ink); }
.menu-link[data-active="true"] { color: var(--teal); font-weight: 700; }
.menu-link[data-active="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--teal); }
.cart-badge { display: inline-block; min-width: 20px; margin-left: 6px; padding: 1px 6px; border-radius: 10px; background: var(--berry); color: #fff; font-size: 12px; font-weight: 700; text-align: center; }
.head-cta { padding: 9px 18px; font-size: 14px; }

.site-foot { margin-top: auto; background: var(--ink); color: #b8cbc7; font-size: 14px; }
.site-foot a { color: #fff; text-decoration: none; }
.site-foot a:hover { text-decoration: underline; }
.foot-in { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; padding-top: 24px; padding-bottom: 24px; }
.foot-links { display: flex; gap: 20px; }

/* — menu: dark category rail + card grid — */
.menu-shell { display: grid; grid-template-columns: 300px minmax(0, 1fr); align-items: stretch; flex: 1; }
.side { background: var(--teal-deep); color: #c5d8d4; }
.side-in { position: sticky; top: 0; max-height: 100vh; overflow-y: auto; padding: 40px 28px 32px; scrollbar-width: thin; }
.side-title { font-size: clamp(38px, 4vw, 48px); letter-spacing: -0.015em; color: #fff; margin-bottom: 12px; }
.side-lede { font-size: 15px; line-height: 1.55; margin: 0 0 28px; max-width: 30ch; }
.side-label { font-size: 14px; font-weight: 600; color: #8fb0ab; margin: 24px 0 6px; }
.filter-list { display: flex; flex-direction: column; }
.filter-check { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; border: 0; background: none; padding: 8px 0; font-size: 15px; color: #c5d8d4; cursor: pointer; }
.filter-check:hover { color: #fff; }
.grow { flex: 1; }
.cat-count { font-size: 13px; font-weight: 400; color: #8fb0ab; font-variant-numeric: tabular-nums; }
.filter-box { width: 16px; height: 16px; border-radius: 4px; border: 1.5px solid #7fa19c; flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: var(--teal-deep); }
.filter-box svg { opacity: 0; }
.filter-check[data-active="true"] { color: #fff; font-weight: 700; }
.filter-check[data-active="true"] .filter-box { background: #fff; border-color: #fff; }
.filter-check[data-active="true"] .filter-box svg { opacity: 1; }
.filter-check.live { margin-bottom: 4px; }
.rule { height: 1px; background: rgba(255, 255, 255, 0.18); margin: 12px 0; }
.bulk { margin-top: 32px; background: var(--paper); color: var(--ink); border-radius: 8px; padding: 20px; }
.bulk b { display: block; font-family: var(--font-heading); font-weight: 400; font-size: 20px; margin-bottom: 6px; }
.bulk p { font-size: 14px; color: var(--ink-2); margin-bottom: 14px; }
.bulk a { display: block; text-align: center; background: var(--teal); color: #fff; font-size: 14px; font-weight: 600; text-decoration: none; border-radius: var(--radius); padding: 10px 14px; }
.bulk a:hover { background: var(--teal-deep); color: #fff; }

.menu-main { min-width: 0; padding: 0 48px 72px; max-width: 1180px; width: 100%; }
.search-bar { position: sticky; top: 0; z-index: 5; background: var(--paper); padding: 32px 0 14px; }
.search-wrap { position: relative; }
.search-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--ink-2); font-size: 16px; pointer-events: none; }
.search-input { width: 100%; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 12px 14px 12px 40px; font: inherit; font-size: 16px; color: var(--ink); }
.search-input::placeholder { color: var(--ink-2); opacity: 0.8; }
.search-input:focus { border-color: var(--teal); outline: none; box-shadow: 0 0 0 2px var(--teal-tint); }
.menu-bar { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 6px 0 12px; margin-bottom: 24px; border-bottom: 2px solid var(--ink); }
.menu-bar h2 { font-size: 32px; }
.menu-bar span { font-size: 14px; color: var(--ink-2); }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 20px; }
.item-card { display: flex; flex-direction: column; text-align: left; padding: 0; background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; cursor: pointer; transition: border-color 0.15s ease; }
.item-card:hover { border-color: var(--teal); }
.item-thumb { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; }
.item-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.item-name { display: block; padding: 12px 14px 14px; font-size: 15.5px; font-weight: 600; line-height: 1.3; }
.item-card:hover .item-name { color: var(--teal); }
.item-card[data-out="true"] .item-thumb { opacity: 0.6; }
.item-card[data-out="true"] .item-name { color: var(--ink-2); }
.price-pill { position: absolute; left: 10px; bottom: 10px; background: #fff; color: var(--teal-deep); font-weight: 700; font-size: 14px; padding: 5px 10px; border-radius: 4px; font-variant-numeric: tabular-nums; }
.stock-badge { position: absolute; top: 10px; right: 10px; width: 28px; height: 28px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; color: var(--teal); }
.stock-badge[data-available="false"] { color: var(--ink-2); }
.sold-out { position: absolute; top: 10px; left: 10px; background: var(--berry); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 4px; }
.empty { text-align: center; color: var(--ink-2); padding: 48px 0; }

/* Placeholder art until there are photos: a tint per category with the item's initial. */
.tile { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: var(--teal-tint); color: var(--teal); }
.tile span { font-family: var(--font-heading); font-size: clamp(72px, 9vw, 108px); line-height: 1; }
.tile[data-tone="1"] { background: var(--berry-tint); color: var(--berry); }
.tile[data-tone="2"] { background: #e2e5f2; color: #3b4a8c; }
.tile[data-tone="3"] { background: #efe6c8; color: #7a5b12; }
.photo { position: relative; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; display: flex; align-items: flex-end; padding: 12px 14px; background-color: var(--paper-2); background-image: repeating-linear-gradient(45deg, rgba(18, 84, 79, 0.07) 0 2px, transparent 2px 14px); border: 1px solid var(--line); }
.photo span { font-size: 13px; font-weight: 500; color: var(--ink-2); }
.photo-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin-bottom: 40px; }

/* — item detail — */
.detail { padding-top: 4px; }
.back-btn { display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; font-size: 14px; font-weight: 600; color: var(--ink-2); cursor: pointer; padding: 0; margin-bottom: 24px; }
.back-btn:hover { color: var(--teal); }
.detail-grid { display: grid; grid-template-columns: minmax(200px, 360px) 1fr; gap: 48px; align-items: start; }
.detail-art { aspect-ratio: 1 / 1; border-radius: 8px; overflow: hidden; }
.detail-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.crumb { color: var(--teal); font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.detail h2 { font-size: clamp(32px, 4vw, 46px); margin-bottom: 12px; }
.detail-price { font-family: var(--font-body); font-weight: 700; font-size: 26px; color: var(--teal); margin-bottom: 16px; }
.detail-desc { max-width: 60ch; color: var(--ink-2); margin-bottom: 24px; }
.label { font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.size-row, .chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.size-btn { border: 1px solid var(--line); background: #fff; font-size: 14px; font-weight: 600; color: var(--ink-2); padding: 10px 16px; border-radius: var(--radius); cursor: pointer; }
.size-btn:hover { border-color: var(--teal); }
.size-btn[data-active="true"] { border-color: var(--teal); background: var(--teal); color: #fff; }
.specs { margin: 0 0 24px; }
.specs div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.specs dt { color: var(--ink-2); }
.specs dd { margin: 0; font-weight: 600; }
.ing-chip { font-size: 13px; color: var(--teal-deep); background: var(--teal-tint); padding: 5px 12px; border-radius: 14px; font-weight: 600; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.added-msg { color: var(--teal); font-weight: 600; font-size: 14px; margin: 14px 0 0; }

/* — forms — */
.field-label { display: block; font-size: 14px; font-weight: 600; color: var(--ink-2); margin: 0 0 6px; }
.field { display: block; width: 100%; border: 1px solid var(--line); border-radius: var(--radius); padding: 11px 13px; font: inherit; font-size: 16px; color: var(--ink); background: #fff; }
.field:focus { border-color: var(--teal); outline: none; box-shadow: 0 0 0 2px var(--teal-tint); }
.field.small { font-size: 14px; padding: 9px 12px; margin-top: 10px; }
.note-err { font-size: 14px; color: var(--berry); margin: 12px 0 0; line-height: 1.5; }
.mt { margin-top: 16px; }
.mb { margin-bottom: 16px; }

/* — inner pages — */
.page { padding-top: 48px; padding-bottom: 80px; }
.page-title { font-size: clamp(38px, 5vw, 58px); letter-spacing: -0.01em; margin-bottom: 10px; }
.lede { max-width: 60ch; font-size: 18px; color: var(--ink-2); margin-bottom: 32px; }
.section-title { font-size: 32px; margin: 64px 0 6px; }
.panel { background: var(--paper-2); border-radius: 8px; padding: 28px; }
.panel h3 { font-size: 21px; margin-bottom: 6px; }
.panel.center { text-align: center; padding: 56px 28px; }
.panel.confirmed { background: var(--teal-tint); }
.panel.confirmed h3 { color: var(--teal-deep); font-size: 26px; margin-bottom: 10px; }
.stack { display: flex; flex-direction: column; gap: 16px; margin-top: 18px; }
.stack-lg { display: flex; flex-direction: column; gap: 24px; }
.two-col { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: start; }
.map { border-radius: 8px; overflow: hidden; border: 1px solid var(--line); margin-top: 14px; }
.map iframe { border: 0; display: block; }
.two-col .map { margin-top: 0; }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; }
.info-grid h3 { font-size: 19px; margin-bottom: 6px; }
.info-grid p { color: var(--ink-2); font-size: 15px; line-height: 1.7; }

.prose { max-width: 62ch; }
.prose p { font-size: 17px; line-height: 1.75; margin-bottom: 18px; }
.prose .sign { font-family: var(--font-heading); font-size: 22px; color: var(--teal); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px 32px; margin: 56px 0 8px; }
.fact { border-top: 2px solid var(--ink); padding-top: 12px; }
.fact b { display: block; font-family: var(--font-heading); font-weight: 400; font-size: 30px; color: var(--teal); margin-bottom: 4px; }
.fact span { font-size: 14px; color: var(--ink-2); }
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin: 24px 0; }
.review { margin: 0; display: flex; flex-direction: column; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 22px; }
.review blockquote { margin: 0; font-size: 16px; line-height: 1.7; }
.review figcaption { margin-top: auto; display: flex; align-items: center; gap: 12px; font-size: 14px; }
.review figcaption b { display: block; font-weight: 600; }
.review figcaption small { display: block; font-size: 12.5px; color: var(--ink-2); }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--teal-tint); color: var(--teal-deep); display: flex; align-items: center; justify-content: center; font-family: var(--font-heading); flex-shrink: 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.photo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.photo-pair .photo { aspect-ratio: 3 / 4; }
.photo-pair .photo + .photo { margin-top: 28px; }
.pickup { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 14px; }
.pickup .map { margin: 0; }
.pickup .map iframe { min-height: 170px; height: 100%; }
.fine { font-size: 13px; color: var(--ink-2); }

/* — basket / checkout — */
.cart-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: start; }
.mode-row { display: flex; gap: 12px; flex-wrap: wrap; }
.mode-card { flex: 1 1 220px; display: flex; flex-direction: column; gap: 4px; text-align: left; border: 1.5px solid var(--line); background: #fff; border-radius: 8px; padding: 16px; cursor: pointer; }
.mode-card b { font-size: 16px; }
.mode-card span { font-size: 13.5px; color: var(--ink-2); }
.mode-card[data-active="true"] { border-color: var(--teal); background: var(--teal-tint); }
.mode-card:disabled { opacity: 0.55; cursor: not-allowed; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.qty-btn { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 15px; line-height: 1; }
.qty-btn:hover { border-color: var(--teal); }
.pay-ok { display: flex; align-items: center; gap: 10px; background: var(--teal-tint); border-radius: var(--radius); padding: 12px 16px; color: var(--teal-deep); font-weight: 600; font-size: 15px; }
.summary { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 24px; position: sticky; top: 16px; }
.summary h3 { font-size: 21px; margin-bottom: 16px; }
.invoice-name { background: var(--paper-2); border-radius: var(--radius); padding: 10px 14px; margin-bottom: 16px; }
.invoice-name span { display: block; font-size: 13px; color: var(--ink-2); }
.lines { display: flex; flex-direction: column; gap: 18px; padding-bottom: 18px; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
.line { display: flex; gap: 12px; align-items: flex-start; }
.line-main { flex: 1; min-width: 0; }
.line-name { font-size: 15px; font-weight: 600; line-height: 1.3; }
.line-meta { font-size: 13px; color: var(--ink-2); margin-top: 2px; }
.line-ctl { display: flex; align-items: center; gap: 10px; margin-top: 8px; font-weight: 600; font-size: 14px; }
.line-total { font-weight: 700; font-size: 15px; white-space: nowrap; }
.sum-row { display: flex; justify-content: space-between; font-size: 15px; margin-bottom: 8px; }
.sum-row span { color: var(--ink-2); }
.sum-row.total { font-weight: 700; font-size: 20px; margin: 16px 0 20px; }
.sum-row.total span { color: var(--ink); }
.sum-row.total b { color: var(--teal); }

/* — chat — */
.chat-fab { position: fixed; bottom: 20px; right: 20px; padding: 12px 20px; border-radius: 24px; background: var(--ink); color: #fff; border: 0; cursor: pointer; font-size: 14px; font-weight: 600; z-index: 20; }
.chat-fab:hover { background: var(--teal-deep); }
.chat-panel { position: fixed; bottom: 74px; right: 20px; width: 320px; max-width: calc(100vw - 32px); background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 10px 28px rgba(14, 36, 34, 0.16); padding: 18px; z-index: 21; display: flex; flex-direction: column; gap: 10px; }
.chat-head { display: flex; justify-content: space-between; align-items: center; }
.chat-head b { font-family: var(--font-heading); font-weight: 400; font-size: 18px; }
.chat-head button { border: 0; background: none; font-size: 16px; cursor: pointer; color: var(--ink-2); }
.chat-answer { background: var(--paper-2); border-radius: var(--radius); padding: 12px 14px; font-size: 14px; line-height: 1.5; }
.chat-q { display: block; width: 100%; text-align: left; padding: 10px 12px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; font-size: 14px; cursor: pointer; }
.chat-q:hover { background: var(--teal-tint); border-color: var(--teal); }

/* — small screens — */
@media (max-width: 900px) {
  .menu-shell { grid-template-columns: minmax(0, 1fr); }
  .side-in { position: static; max-height: none; padding: 24px var(--gutter) 20px; }
  .side-lede { display: none; }
  .side-title { font-size: 34px; margin-bottom: 14px; }
  .side-label { display: none; }
  .filter-list { flex-direction: row; gap: 8px; overflow-x: auto; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 4px; scrollbar-width: none; }
  .filter-list::-webkit-scrollbar { display: none; }
  .filter-list .filter-check { width: auto; flex-shrink: 0; border: 1px solid rgba(255, 255, 255, 0.28); border-radius: 18px; padding: 7px 14px; }
  .filter-list .filter-box { display: none; }
  .filter-list .filter-check[data-active="true"] { background: #fff; border-color: #fff; color: var(--teal-deep); }
  .filter-list .filter-check[data-active="true"] .cat-count { color: var(--teal); }
  .rule, .bulk { display: none; }
  .filter-check.live { margin-bottom: 10px; }
  .menu-main { padding: 0 var(--gutter) 56px; }
  .search-bar { padding-top: 20px; }
  .two-col, .cart-grid, .detail-grid, .about-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .summary { position: static; }
  .detail-art { max-width: 320px; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .head-in { gap: 12px; }
  .site-nav { order: 3; width: 100%; margin-left: 0; overflow-x: auto; gap: 20px; padding-bottom: 2px; }
  .head-cta { margin-left: auto; }
  .brand-name span { display: none; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .item-name { padding: 10px 10px 12px; font-size: 14.5px; }
  .photo-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 28px; }
  .form-grid, .info-grid, .pickup { grid-template-columns: minmax(0, 1fr); }
  .foot-in { flex-direction: column; text-align: center; }
  .page { padding-top: 32px; }
}

/* header and footer span the full width so the brand lines up with the category rail */
#app[data-page="menu"] .site-head .wrap, #app[data-page="menu"] .site-foot .wrap { max-width: none; padding-left: 28px; padding-right: 48px; }
.tile span { font-size: clamp(56px, 6vw, 84px); }
@media (max-width: 900px) { #app[data-page="menu"] .site-head .wrap, #app[data-page="menu"] .site-foot .wrap { padding-left: var(--gutter); padding-right: var(--gutter); } }

/* header: log in + WhatsApp */
.head-actions { display: flex; align-items: center; gap: 10px; }
.head-login { display: inline-flex; align-items: center; gap: 7px; padding: 8px 16px; border: 1.5px solid var(--teal); border-radius: var(--radius); color: var(--teal); font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.head-login:hover { background: var(--teal-tint); color: var(--teal-deep); }
@media (max-width: 640px) { .head-actions { margin-left: auto; } .head-cta { margin-left: 0; } .head-login { padding: 7px 12px; } }

/* basket: pre-order date + bKash advance */
.field.date { max-width: 260px; }
.sep { border: 0; border-top: 1px solid var(--line); margin: 24px 0; }
.bkash { display: flex; align-items: center; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 16px; margin-bottom: 18px; }
.qr-box { flex: 0 0 140px; width: 140px; height: 140px; border: 1px solid var(--line); border-radius: 6px; padding: 6px; background: #fff; }
.qr-box img { width: 100%; height: 100%; object-fit: contain; display: block; }
.bkash-info { min-width: 0; }
.bkash-tag { display: inline-block; background: #fde6f0; color: #c20e5f; font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 10px; }
.bkash-num { display: block; font-size: 26px; font-weight: 700; letter-spacing: 0.01em; font-variant-numeric: tabular-nums; margin: 8px 0 6px; }
.bkash-info p { margin: 0; }
@media (max-width: 640px) { .bkash { flex-direction: column; align-items: flex-start; } .field.date { max-width: none; } }
.qr-box.empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border: 1.5px dashed var(--line); background: var(--paper); color: var(--ink-2); font-size: 13px; font-weight: 600; }
.qr-box.empty svg { opacity: 0.6; }
.summary .lines { margin-bottom: 16px; }
.summary .order-note { margin: 0 0 16px; }
.summary .field-label { font-size: 13px; }

/* basket: search to add items */
.add-items { margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line); text-align: left; }
.panel.center .add-items { max-width: 460px; margin: 20px auto; border-bottom: 0; padding-bottom: 0; }
.add-results { margin-top: 6px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; max-height: 320px; overflow-y: auto; }
.add-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 8px 10px; border-bottom: 1px solid var(--paper-2); }
.add-row:last-child { border-bottom: 0; }
.add-name { font-size: 14.5px; font-weight: 600; min-width: 0; }
.add-acts { display: flex; gap: 6px; flex-wrap: wrap; margin-left: auto; }
.add-btn { border: 1px solid var(--teal); background: #fff; color: var(--teal); border-radius: var(--radius); padding: 5px 10px; font-size: 12.5px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.add-btn:hover { background: var(--teal); color: #fff; }
.add-out { font-size: 13px; font-weight: 600; color: var(--berry); }
.add-none { margin: 8px 0 0; }
