/* Shared daily workflows: clear navigation, accessible feedback, reachable cart. */
.sidebar-brand-row { display: block; }
.mobile-menu { display: none; }
.mobile-account-action { display: none; }
.help-launcher[hidden] { display: none; }
.side-nav .nav-group { display: grid; gap: 3px; }
.nav-group-label { margin: 20px 10px 5px; font-size: .64rem; letter-spacing: .09em; text-transform: uppercase; color: #c3cdbf; }
.side-nav .nav-group:first-child .nav-group-label { margin-top: 8px; }
.side-nav button { text-align: left; }
.side-nav>.account-nav { margin-top: 18px; border-top: 1px solid #ffffff26; border-radius: 0; padding-top: 16px; }
.skip-link { position: fixed; top: -100px; left: 12px; z-index: 200; padding: 12px; background: white; color: var(--green); }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid #658c3e; outline-offset: 3px; }
.content:focus { outline: none; }
.help-launcher { display: flex; gap: 8px; align-items: center; padding: 3px 11px 3px 5px; min-height: 44px; border-radius: 24px; border: 1px solid #cbd4b6; background: #fffef5; color: var(--green); font-weight: 600; }
.help-launcher img { width: 43px; height: 37px; object-fit: contain; }
.modal-help { flex-shrink: 0; margin-left: auto; }
.modal-help img { width: 32px; height: 28px; }
@media(max-width: 480px) { .modal-help span { display: none; } .modal-help { padding: 4px; } .modal-header { gap: 8px; } }
.auth-help { position: fixed; right: 18px; bottom: 18px; z-index: 10; box-shadow: 0 3px 18px #203c2520; }
.restaurant-next { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin: 0 0 20px; padding: 17px 20px; border: 1px solid var(--line); background: #fffef8; border-radius: 9px; }
.restaurant-next p { font-size: .8rem; margin-top: 4px; }
.restaurant-next .button { font-size: .8rem; }
.ordering-guide { margin: 12px 0 20px; display: flex; gap: 16px; flex-wrap: wrap; color: #627159; font-size: .78rem; }
.ordering-guide span { display: flex; align-items: center; gap: 7px; }
.ordering-guide b { border: 1px solid #c4cfb6; border-radius: 50%; display: inline-grid; place-items: center; width: 24px; height: 24px; color: var(--green); }
.basket-jump { display: none; }
.basket { scroll-margin-top: 16px; }
.basket h2:focus { outline: none; }
.basket-empty .small { margin-top: 8px; }
.quantity button { width: 44px; height: 44px; }
.quantity input { min-height: 44px; }
.product-actions .button { min-height: 44px; }
.weight-choice { width: min(100%, 280px); text-align: left; }
.weight-choice>label { font-size: .8rem; font-weight: 600; color: var(--ink); }
.weight-choice>small { max-width: none; }
.weight-choice .quantity { margin-top: 0; display: flex; width: 100%; }
.weight-choice .quantity input { flex: 1; min-width: 60px; width: 70px; }
.weight-choice .quantity button { flex: 0 0 46px; }
.weight-choice .weight-preview { font-size: .75rem; min-height: 2.4em; }
.weight-choice .weight-commit { width: 100%; white-space: normal; text-align: center; }
.weight-choice .selected-line-price { padding: 7px 9px; border-radius: 5px; background: #edf3e3; }
@media(max-width: 600px) {
  .product-card .product-actions:has(.weight-choice) { align-items: stretch; }
  .product-card .weight-choice { flex: 1 0 100%; width: 100%; }
}
#modal-feedback:empty { display: none; }
#modal-feedback { margin-bottom: 16px; padding: 13px 16px; border: 1px solid #bdcba8; background: #edf3e3; border-radius: 7px; }
#modal-feedback.error { border-color: #d6a59d; background: #fff1ee; color: #7c3023; }
.nav-loading { cursor: progress; }
.finance-filters .field input,.finance-filters .field select { width: 100%; min-width: 0; max-width: 100%; }
.finance-tabs { flex-wrap: wrap; overflow: visible; }
.topbar { position: sticky; top: 0; z-index: 25; }
.content,.basket { scroll-margin-top: 85px; }
@media(max-width: 980px) {
  .main:has(.basket-jump:not([hidden])) .content { padding-bottom: 115px; }
  .basket-jump:not([hidden]) { display: flex; position: fixed; right: 20px; bottom: max(14px, env(safe-area-inset-bottom)); width: min(480px, calc(100% - 250px)); padding: 13px 18px; gap: 16px; align-items: center; justify-content: space-between; background: var(--green); border: 1px solid #486553; color: white; border-radius: 10px; z-index: 20; box-shadow: 0 5px 22px #173f3538; }
  .basket-jump strong,.basket-jump small { display: block; text-align: left; }
  .basket-jump small { color: #e1e8d9; font-size: .7rem; margin-top: 3px; }
  .basket-jump>span:last-child { font-size: .85rem; font-weight: 600; }
}
@media(max-width: 720px) {
  .sidebar { padding: 13px 17px; }
  .sidebar-brand-row { display: flex; justify-content: space-between; gap: 14px; align-items: center; }
  .sidebar-brand-row .brand { gap: 4px; }
  .sidebar-brand-row .brand img { width: 108px; padding: 7px 9px; }
  .sidebar-brand-row .brand>span { display: none; }
  .mobile-menu { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 13px; color: #fffef5; border: 1px solid #ffffff50; background: transparent; border-radius: 6px; }
  .mobile-menu svg { width: 20px; height: 20px; }
  .sidebar:not(.menu-open)>nav { display: none; }
  .sidebar.menu-open>nav { margin-top: 14px; }
  .sidebar .side-nav { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); overflow: visible; gap: 10px; }
  .sidebar .side-nav .nav-group { align-content: start; }
  .sidebar .side-nav button { min-height: 44px; white-space: normal; width: 100%; font-size: .77rem; }
  .sidebar .nav-group-label { display: block; margin: 9px 9px 5px; color: #c9d7bc; font-size: .62rem; }
  .sidebar .side-nav>.account-nav { margin-top: 0; padding-top: 10px; }
  .sidebar .side-nav>.mobile-account-action { display: flex; }
  .topbar { padding: 8px 16px; height: auto; min-height: 60px; gap: 8px; }
  .breadcrumb { min-width: 0; }
  .breadcrumb>.breadcrumb-business { display: none; }
  .topbar-right { gap: 6px; }
  .topbar-right>.help-launcher { min-height: 44px; font-size: .78rem; }
  .help-launcher img { width: 36px; height: 34px; }
  .topbar .icon-button { min-width: 44px; min-height: 44px; }
  .topbar-right>[data-action=refresh] { display: none; }
  .content { padding-top: 22px; }
  .basket-jump:not([hidden]) { width: auto; left: 12px; right: 12px; }
  .restaurant-next { padding: 15px; }
  .restaurant-next .button { width: 100%; }
  .ordering-guide { gap: 8px 12px; font-size: .72rem; }
  input,select,textarea,.auth .field input,.basket .field input,.basket .field textarea { font-size: max(16px, 1em); }
  .quantity input { font-size: 16px; }
  #notifications { bottom: 95px; right: 12px; max-width: calc(100% - 24px); }
}
@media(prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
