:root {
  --ink: #14213d;
  --muted: #61708b;
  --line: #dfe4ed;
  --canvas: #f5f4f5;
  --surface: #ffffff;
  --blue: #1351aa;
  --blue-deep: #0b3b85;
  --salmon: #ff751f;
  --salmon-deep: #db5910;
  --mint: #147a6d;
  --danger: #b92937;
  --shadow: 0 16px 48px rgba(20, 33, 61, 0.13);
  color: var(--ink);
  background: var(--canvas);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}


* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--canvas);
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--canvas);
}

body.is-locked {
  overflow: hidden;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.52;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-shell {
  overflow: clip;
}

.site-connection-notice {
  position: fixed;
  z-index: 300;
  right: 18px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 9px;
  max-width: min(390px, calc(100vw - 32px));
  padding: 13px 16px;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(9, 19, 38, .92);
  color: #fff;
  box-shadow: 0 16px 44px rgba(9,19,38,.22);
  backdrop-filter: blur(14px);
  font-size: 14px;
  font-weight: 700;
}

.tracking-page {
  min-height: calc(100vh - 180px);
  background: var(--canvas);
  padding: clamp(48px, 7vw, 104px) max(24px, calc((100vw - 1160px) / 2));
}

.tracking-hero {
  max-width: 760px;
  margin-bottom: 36px;
}

.tracking-hero h1 {
  margin: 12px 0 14px;
  font-family: Oswald, Impact, sans-serif;
  font-size: clamp(42px, 6vw, 88px);
  line-height: .92;
  text-transform: uppercase;
}

.tracking-hero > p:last-child {
  max-width: 620px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.tracking-panel { max-width: 980px; }
.tracking-order .account-order-card { margin: 0; }
.tracking-order .account-order-card footer .source-button { display: none; }

@media (max-width: 560px) {
  .tracking-order .account-status-track {
    overflow: visible;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    padding-right: 18px;
  }

  .tracking-order .account-status-track small {
    max-width: 58px;
    font-size: 9px;
    overflow-wrap: anywhere;
  }
}

.tracking-updated {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.tracking-state {
  display: grid;
  justify-items: start;
  gap: 16px;
  min-height: 280px;
  align-content: center;
  padding: 32px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.tracking-state--error svg { color: var(--salmon); }

.success-copy-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--blue);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

@media (max-width: 720px) {
  .tracking-page { padding: 34px 16px 56px; }
  .tracking-state { padding: 22px; }
  .site-connection-notice { right: 16px; bottom: 16px; }
}

.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  height: 72px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(20, 33, 61, 0.1);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1240px, calc(100% - 48px));
  height: 100%;
  margin: 0 auto;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex: 0 0 auto;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-mark {
  position: relative;
  width: 26px;
  height: 26px;
  border: 3px solid var(--blue);
  border-radius: 50%;
}

.brand-mark::before,
.brand-mark::after {
  position: absolute;
  content: "";
  display: block;
  border-radius: 50%;
}

.brand-mark::before {
  width: 8px;
  height: 8px;
  top: 5px;
  left: 5px;
  background: var(--salmon);
}

.brand-mark::after {
  width: 5px;
  height: 5px;
  top: -4px;
  right: -3px;
  background: var(--salmon);
  border: 2px solid #fff;
}

.brand-under {
  color: var(--blue);
}

.brand-sushi {
  color: var(--salmon);
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-left: auto;
}

.primary-nav a {
  color: #3e4a63;
  font-size: 14px;
  font-weight: 720;
}

.primary-nav a:hover {
  color: var(--blue);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
}

.language-switch button,
.language-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  min-height: 30px;
  padding: 0 7px;
  color: var(--muted);
  border: 0;
  border-radius: 4px;
  background: transparent;
  font-size: 11px;
  font-weight: 820;
  text-decoration: none;
}

.language-switch button.is-active,
.language-switch a.is-active {
  color: #fff;
  background: var(--blue);
}

.cart-trigger,
.button,
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  font-weight: 790;
  transition: transform 150ms ease, background 150ms ease, color 150ms ease, border-color 150ms ease;
}

.cart-trigger:hover,
.button:hover,
.icon-button:hover {
  transform: translateY(-1px);
}

.cart-trigger {
  min-width: 48px;
  min-height: 42px;
  padding: 0 12px;
  gap: 8px;
  color: #fff;
  border-radius: 7px;
  background: var(--blue);
}

.cart-trigger [data-cart-count] {
  min-width: 18px;
  color: var(--blue);
  border-radius: 50%;
  background: #fff;
  font-size: 11px;
  line-height: 18px;
  text-align: center;
}

.button {
  min-height: 46px;
  gap: 9px;
  padding: 0 17px;
  border-radius: 7px;
  font-size: 14px;
}

.button-primary {
  color: #fff;
  background: var(--salmon);
}

.button-primary:hover {
  background: var(--salmon-deep);
}

.button-light {
  color: var(--ink);
  background: #fff;
}

.button-outline {
  color: var(--blue);
  border: 1px solid var(--blue);
  background: transparent;
}

.button-quiet {
  color: var(--blue);
  border: 1px solid var(--line);
  background: #fff;
}

.button-danger {
  color: #fff;
  background: var(--danger);
}

.button-full {
  width: 100%;
}

.section {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
}

.section {
  padding: 86px 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.section-kicker {
  display: block;
  margin-bottom: 8px;
  color: var(--salmon-deep);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-title {
  margin: 0;
  font-size: 34px;
  line-height: 1.1;
  letter-spacing: 0;
}

.section-caption {
  max-width: 375px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  text-align: right;
}

.icon-button {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  padding: 0;
  color: #fff;
  border: 0;
  border-radius: 6px;
  background: var(--blue);
}

.icon-button:hover {
  background: var(--blue-deep);
}

.icon-button.is-soft {
  color: var(--blue);
  border: 1px solid var(--line);
  background: #fff;
}

.icon-button.is-danger {
  color: var(--danger);
  border: 1px solid #f2ccd1;
  background: #fff;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 52px 20px;
  color: var(--muted);
  border: 1px dashed #c7d0dd;
  text-align: center;
}

.info-band {
  background: #eaf0fc;
  border-top: 1px solid #dce6fa;
  border-bottom: 1px solid #dce6fa;
}

.info-columns {
  display: grid;
  grid-template-columns: 1.05fr 1fr 1fr;
  gap: 0;
}

.info-block {
  min-height: 196px;
  padding: 32px 30px;
  border-right: 1px solid #cfdcf4;
}

.info-block:last-child {
  border-right: 0;
}

.info-icon {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  margin-bottom: 17px;
  color: var(--blue);
  border-radius: 6px;
  background: #fff;
}

.info-block h3 {
  margin: 0 0 8px;
  font-size: 17px;
  letter-spacing: 0;
}

.info-block p {
  max-width: 280px;
  margin: 0;
  color: #56647e;
  font-size: 13px;
  line-height: 1.55;
}

.story-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 60px;
  align-items: end;
}

.story-copy {
  max-width: 640px;
  margin: 0;
  color: #4a5871;
  font-size: 17px;
  line-height: 1.65;
}

.story-rule {
  display: block;
  width: 56px;
  height: 4px;
  margin: 0 0 20px;
  background: var(--salmon);
}

.story-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.fact {
  min-height: 116px;
  padding: 17px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.fact strong {
  display: block;
  margin-bottom: 7px;
  color: var(--blue);
  font-size: 24px;
  letter-spacing: 0;
}

.fact span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.contacts-section {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: 0 0 86px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  border-top: 1px solid var(--ink);
}

.contact-intro,
.contact-details {
  padding-top: 31px;
}

.contact-intro {
  padding-right: 34px;
  border-right: 1px solid var(--line);
}

.contact-intro h2 {
  max-width: 320px;
  margin: 0;
  font-size: 34px;
  line-height: 1.1;
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  padding-left: 34px;
}

.contact-item {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.contact-item strong {
  display: block;
  margin-bottom: 7px;
  color: var(--ink);
  font-size: 14px;
}

.contact-link {
  color: var(--blue);
  font-weight: 760;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer {
  color: #d8e0ee;
  background: #101d36;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr auto 1fr;
  align-items: center;
  gap: 22px;
  width: min(1240px, calc(100% - 48px));
  min-height: 116px;
  margin: 0 auto;
}

.footer-brand .brand-under {
  color: #fff;
}

.footer-brand .brand-mark {
  border-color: #fff;
}

.footer-brand .brand-mark::after {
  border-color: #101d36;
}

.footer-note {
  max-width: 270px;
  margin: 7px 0 0;
  color: #aebbd0;
  font-size: 12px;
  line-height: 1.45;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  color: #dbe5f4;
  font-size: 12px;
  font-weight: 700;
}

.footer-links button {
  padding: 0;
  color: inherit;
  border: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.footer-links button:hover {
  color: #fff;
}

.footer-admin {
  justify-self: end;
  color: #aebbd0;
  font-size: 12px;
}

.footer-admin:hover {
  color: #fff;
}

.overlay {
  position: fixed;
  z-index: 70;
  inset: 0;
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  background: rgba(11, 19, 35, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  display: flex;
  width: min(440px, 100%);
  height: 100%;
  flex-direction: column;
  background: #fff;
  box-shadow: -18px 0 52px rgba(11, 19, 35, 0.2);
  transform: translateX(100%);
  transition: transform 220ms ease;
}

.overlay.is-open .cart-drawer {
  transform: translateX(0);
}

.drawer-header,
.dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
}

.drawer-header h2,
.dialog-header h2 {
  margin: 0;
  font-size: 19px;
}

.cart-list {
  flex: 1;
  padding: 8px 20px 24px;
  overflow: auto;
}

.cart-empty {
  display: grid;
  min-height: 250px;
  place-content: center;
  gap: 12px;
  color: var(--muted);
  text-align: center;
}

.cart-empty i {
  margin: 0 auto;
  color: var(--blue);
}

.cart-row {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #edf0f4;
}

.cart-row img {
  width: 64px;
  height: 64px;
  border-radius: 5px;
  object-fit: cover;
}

.cart-row-title {
  margin: 0 0 3px;
  font-size: 14px;
  line-height: 1.3;
}

.cart-row-meta {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}

.cart-row-price {
  align-self: start;
  color: var(--ink);
  font-size: 13px;
  font-weight: 820;
  white-space: nowrap;
}

.quantity-row {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 8px;
}

.quantity-button {
  display: grid;
  width: 26px;
  height: 26px;
  padding: 0;
  place-items: center;
  color: var(--blue);
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
}

.quantity-value {
  min-width: 15px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.remove-link {
  margin-left: 4px;
  padding: 0;
  color: var(--danger);
  border: 0;
  background: transparent;
  font-size: 11px;
  font-weight: 750;
}

.cart-summary {
  padding: 18px 20px 22px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.summary-line,
.summary-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.summary-line {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 13px;
}

.summary-total {
  margin-bottom: 18px;
  font-size: 17px;
  font-weight: 850;
}

.modal-layer {
  position: fixed;
  z-index: 80;
  inset: 0;
  display: grid;
  padding: 20px;
  place-items: center;
  background: rgba(11, 19, 35, 0.56);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.modal-layer.is-open {
  opacity: 1;
  pointer-events: auto;
}

.dialog {
  width: min(860px, 100%);
  max-height: min(760px, calc(100vh - 40px));
  overflow: auto;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  transform: translateY(12px) scale(0.99);
  transition: transform 180ms ease;
}

.modal-layer.is-open .dialog {
  transform: translateY(0) scale(1);
}

.dialog-body {
  padding: 24px;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.95fr);
  gap: 28px;
}

.product-detail-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 6px;
  object-fit: cover;
}

.detail-category {
  margin: 0 0 8px;
  color: var(--salmon-deep);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.detail-title {
  margin: 0;
  font-size: 28px;
  line-height: 1.1;
}

.detail-copy {
  margin: 14px 0 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 0 0 20px;
  color: #4d5b74;
  font-size: 12px;
}

.detail-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.allergen-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 24px;
}

.allergen-pill {
  padding: 5px 7px;
  color: #5a6780;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 680;
}

.custom-roll-builder {
  min-width: 0;
  margin: 2px 0 20px;
  padding: 16px 0 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.custom-roll-builder legend {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
}

.custom-roll-builder legend b {
  flex: 0 0 auto;
  color: var(--salmon-deep);
  font: 700 11px "DM Mono", monospace;
}

.custom-roll-builder > p:first-of-type {
  margin: 7px 0 12px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.custom-roll-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.custom-roll-option {
  display: flex;
  min-width: 0;
  min-height: 36px;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  padding: 7px 8px;
  color: #33415c;
  border: 1px solid #d5ddea;
  border-radius: 4px;
  background: #f7f9fc;
  font-size: 10px;
  font-weight: 760;
  line-height: 1.2;
  text-align: left;
  transition: border-color 150ms ease, background 150ms ease, color 150ms ease;
}

.custom-roll-option span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.custom-roll-option:hover:not(:disabled) {
  color: var(--blue);
  border-color: rgba(19, 81, 170, 0.5);
  background: #eef4ff;
}

.custom-roll-option.is-selected {
  color: #fff;
  border-color: var(--blue);
  background: var(--blue);
}

.custom-roll-option:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.custom-roll-option > i {
  flex: 0 0 auto;
}

.custom-roll-error {
  min-height: 15px;
  margin: 7px 0 0;
  color: var(--danger);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.4;
}

.detail-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.detail-price {
  font-size: 22px;
  font-weight: 880;
}

.checkout-dialog {
  width: min(1020px, 100%);
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.93fr) minmax(360px, 1.07fr);
}

.checkout-receipt {
  padding: 28px;
  background: #eff3fa;
  border-right: 1px solid var(--line);
}

.checkout-receipt h3,
.checkout-form-area h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.checkout-receipt > p,
.checkout-form-area > p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.checkout-eyebrow {
  margin: 0 0 5px;
  color: var(--blue);
  font: 10px "DM Mono", monospace;
  letter-spacing: 0;
  text-transform: uppercase;
}

.cart-whatsapp-hint {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.order-methods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 18px;
  padding: 0;
  border: 0;
}

.order-methods.is-single {
  grid-template-columns: minmax(0, 1fr);
}

.order-methods legend {
  grid-column: 1 / -1;
  margin-bottom: 9px;
  padding: 0;
  color: #4d5b74;
  font-size: 11px;
  font-weight: 800;
}

.order-method {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 9px;
  min-height: 70px;
  padding: 12px;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease;
}

.order-method input {
  position: absolute;
  opacity: 0;
}

.order-method span {
  grid-row: 1 / 3;
  color: var(--salmon);
  font: 10px "DM Mono", monospace;
}

.order-method b {
  font-size: 13px;
}

.order-method small {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.35;
}

.order-method.is-selected {
  border-color: var(--blue);
  background: #eff4ff;
  box-shadow: inset 3px 0 0 var(--blue);
}

.checkout-delivery-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: -4px 0 18px;
  padding: 12px 14px;
  color: #33415c;
  border: 1px solid #d8e0ec;
  border-radius: 6px;
  background: #f5f7fb;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.5;
}

.checkout-delivery-note > i {
  flex: 0 0 auto;
  margin-top: 1px;
  color: var(--salmon);
}

.checkout-delivery-note a {
  margin-left: 7px;
  color: var(--blue);
  font-weight: 850;
  text-decoration: underline;
  text-decoration-color: rgba(19, 81, 170, 0.3);
  text-underline-offset: 3px;
}

.checkout-zone,
.checkout-privacy {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.checkout-zone {
  margin: 14px 0 0;
}

.checkout-privacy {
  margin: 12px 0 0;
  text-align: center;
}

.receipt-list {
  display: grid;
  gap: 9px;
  margin: 0 0 20px;
}

.receipt-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  color: #4a5871;
  font-size: 13px;
}

.receipt-item strong {
  color: var(--ink);
}

.receipt-item span small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.35;
}

.pickup-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  color: #40516e;
  border-left: 3px solid var(--salmon);
  background: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  line-height: 1.45;
}

.pickup-note i {
  flex: 0 0 auto;
  margin-top: 1px;
  color: var(--salmon-deep);
}

.checkout-form-area {
  padding: 28px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form-field {
  display: grid;
  gap: 7px;
}

.form-field.is-wide {
  grid-column: 1 / -1;
}

.form-label {
  color: #3f4d66;
  font-size: 12px;
  font-weight: 790;
}

.text-input,
.select-input,
.textarea {
  width: 100%;
  min-height: 45px;
  padding: 10px 12px;
  color: var(--ink);
  border: 1px solid #cfd7e4;
  border-radius: 5px;
  outline: none;
  background: #fff;
  font-size: 14px;
}

.textarea {
  min-height: 82px;
  resize: vertical;
}

.text-input:focus,
.select-input:focus,
.textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(19, 81, 170, 0.12);
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 17px 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.form-check input {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  margin: 0;
  accent-color: var(--blue);
}

.form-error {
  min-height: 18px;
  margin: 9px 0 0;
  color: var(--danger);
  font-size: 12px;
}

.editor-required-hint {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

form[data-form="menu-editor"] .form-field:has(:required) .form-label::after {
  content: " *";
  color: var(--orange);
}

.form-error--editor {
  min-height: 0;
  margin: 0 0 12px;
  padding: 10px 12px;
  border-left: 3px solid var(--danger);
  border-radius: 4px;
  background: #fff1f2;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

.form-error--editor:empty {
  display: none;
}

.text-input.is-invalid,
.select-input.is-invalid,
.textarea.is-invalid,
form[data-form="menu-editor"] :user-invalid {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(190, 39, 52, 0.12);
}

.success-dialog {
  width: min(500px, 100%);
  padding: 44px 30px 34px;
  text-align: center;
}

.success-symbol {
  display: grid;
  width: 58px;
  height: 58px;
  margin: 0 auto 18px;
  place-items: center;
  color: #fff;
  border-radius: 50%;
  background: var(--mint);
}

.success-dialog h2 {
  margin: 0 0 11px;
  font-size: 28px;
}

.success-dialog p {
  max-width: 360px;
  margin: 0 auto 24px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.order-number {
  display: inline-block;
  margin-bottom: 24px;
  padding: 9px 12px;
  color: var(--blue);
  border: 1px solid #cbd8ef;
  border-radius: 5px;
  background: #edf3fd;
  font-size: 15px;
  font-weight: 850;
}

.legal-dialog {
  width: min(760px, 100%);
}

.legal-content {
  padding: 6px 26px 28px;
}

.legal-content h3 {
  margin: 24px 0 8px;
  font-size: 16px;
}

.legal-content p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.toast {
  position: fixed;
  z-index: 100;
  right: 20px;
  bottom: 20px;
  display: flex;
  max-width: min(400px, calc(100% - 40px));
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  color: #fff;
  border-radius: 6px;
  background: #172642;
  box-shadow: 0 12px 32px rgba(11, 19, 35, 0.22);
  font-size: 13px;
  font-weight: 680;
  transform: translateY(90px);
  transition: transform 180ms ease;
}

.toast.is-visible {
  transform: translateY(0);
}

.toast i {
  color: #89d7c9;
}

.admin-page {
  min-height: 100vh;
  background: #f4f6fa;
}

.admin-topbar {
  color: #fff;
  background: #101d36;
}

.admin-topbar-inner,
.admin-main {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
}

.admin-topbar-inner {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.admin-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #d8e0ee;
  font-size: 13px;
  font-weight: 740;
}

.admin-heading {
  margin: 0;
  font-size: 22px;
}

.admin-topbar-actions,
.admin-language-switch {
  display: flex;
  align-items: center;
}

.admin-topbar-actions { gap: 10px; }

.admin-language-switch {
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 6px;
}

.admin-language-switch button {
  min-width: 36px;
  height: 32px;
  padding: 0 8px;
  color: #b9c5d8;
  border: 0;
  border-radius: 3px;
  background: transparent;
  font-size: 11px;
  font-weight: 800;
}

.admin-language-switch button.is-active {
  color: #101d36;
  background: #fff;
}

.admin-main {
  padding: 38px 0 66px;
}

.admin-login {
  width: min(440px, 100%);
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(20, 33, 61, 0.08);
}

.admin-login h2 {
  margin: 0 0 8px;
  font-size: 24px;
}

.admin-login p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 30px;
}

.admin-metric {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.admin-metric span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 730;
}

.admin-metric strong {
  display: block;
  font-size: 27px;
  letter-spacing: 0;
}

.admin-section {
  margin: 0 0 22px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.admin-tabs {
  display: inline-grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  gap: 4px;
  margin: 0 0 18px;
  padding: 4px;
  border: 1px solid #d8e0ec;
  border-radius: 7px;
  background: #e9edf4;
}

.admin-tab {
  display: inline-flex;
  min-height: 44px;
  padding: 0 14px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #53617a;
  border: 0;
  border-radius: 4px;
  background: transparent;
  font-size: 13px;
  font-weight: 780;
}

.admin-tab b {
  display: grid;
  min-width: 23px;
  height: 23px;
  padding: 0 6px;
  place-items: center;
  color: #64718a;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.72);
  font-size: 11px;
}

.admin-tab.is-active {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 4px 12px rgba(19, 81, 170, 0.18);
}

.admin-tab.is-active b {
  color: var(--blue);
  background: #fff;
}

.admin-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.admin-section-head h2 {
  margin: 0;
  font-size: 20px;
}

.admin-section-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.admin-menu-tools {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(190px, 0.36fr);
  gap: 10px;
  margin-bottom: 16px;
}

.admin-menu-search {
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 9px;
  padding: 0 12px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
}

.admin-menu-search:focus-within {
  color: var(--blue);
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(19, 81, 170, 0.1);
}

.admin-menu-search input,
.admin-menu-filter select {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  color: var(--ink);
  border: 0;
  outline: 0;
  background: transparent;
  font: 600 13px "Manrope", Arial, sans-serif;
}

.admin-menu-filter {
  display: flex;
  align-items: center;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
}

.admin-reorder-guide {
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  color: #33415b;
  border: 1px solid #cdd9ec;
  border-radius: 5px;
  background: #f7faff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

.admin-reorder-guide svg {
  flex: 0 0 auto;
  color: var(--blue);
}

.admin-category-manager {
  display: grid;
  gap: 14px;
}

.admin-category-create {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  align-items: end;
  gap: 10px;
  padding: 14px;
  border: 1px solid #cdd9ec;
  border-radius: 5px;
  background: #f7faff;
}

.admin-category-create .form-field {
  margin: 0;
}

.admin-category-create .button {
  min-height: 44px;
}

.admin-category-guide {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 15px;
  color: #33415b;
  border: 1px solid #cdd9ec;
  border-radius: 5px;
  background: #f7faff;
}

.admin-category-guide svg {
  flex: 0 0 auto;
  color: var(--blue);
}

.admin-category-guide p {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}

.admin-category-list {
  display: grid;
  gap: 8px;
}

.admin-category-row {
  display: grid;
  min-height: 70px;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: center;
  overflow: hidden;
  padding-right: 12px;
  border: 1px solid #d6dfed;
  border-radius: 5px;
  background: #fff;
  transition: border-color 150ms ease, box-shadow 150ms ease, opacity 150ms ease;
}

.admin-category-row.is-fixed {
  border-color: rgba(19, 81, 170, 0.3);
  background: #f7faff;
}

.admin-category-row.is-disabled {
  opacity: 0.62;
  background: #f5f6f8;
}

.admin-category-row.is-dragging {
  z-index: 2;
  opacity: 0.78;
  border-color: var(--orange);
  box-shadow: 0 10px 24px rgba(20, 44, 82, 0.14);
}

.admin-category-handle,
.admin-category-fixed-icon {
  display: flex;
  align-self: stretch;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 3px;
  color: #71809a;
  border-right: 1px solid #e5eaf2;
}

.admin-category-handle {
  cursor: grab;
  touch-action: none;
  user-select: none;
}

.admin-category-handle:active { cursor: grabbing; }

.admin-category-handle b {
  color: var(--blue);
  font: 800 10px "IBM Plex Mono", monospace;
}

.admin-category-fixed-icon { color: var(--blue); }

.admin-category-copy {
  min-width: 0;
  padding: 10px 13px;
}

.admin-category-copy h3 {
  margin: 0 0 4px;
  color: var(--ink);
  font-size: 14px;
}

.admin-category-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
}

.admin-category-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.admin-category-actions .mini-icon {
  width: 38px;
  height: 38px;
}

.admin-category-actions .mini-icon:disabled {
  color: #aeb8c8;
  border-color: #e4e8ef;
  background: #f5f6f8;
  cursor: default;
}

.admin-category-visibility,
.admin-category-fixed-label {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 11px;
  color: #68758b;
  border: 1px solid #d7deea;
  border-radius: 4px;
  background: #fff;
  font: 750 11px "Manrope", Arial, sans-serif;
}

.admin-category-visibility.is-enabled {
  color: var(--blue);
  border-color: rgba(19, 81, 170, 0.35);
  background: #f3f7ff;
}

.admin-category-fixed-label {
  color: var(--blue);
  border-color: transparent;
  background: transparent;
}

.admin-category-list.is-dragging { user-select: none; }

.admin-settings {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: 14px;
}

.toggle-line {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 45px;
  color: #3f4d66;
  font-size: 13px;
  font-weight: 740;
}

.toggle-line input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--blue);
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  padding: 13px 10px;
  border-bottom: 1px solid #edf0f4;
  text-align: left;
  vertical-align: middle;
}

.admin-table th {
  color: var(--muted);
  font-size: 11px;
  font-weight: 820;
  text-transform: uppercase;
}

.admin-table td {
  color: #42516b;
  font-size: 13px;
}

.status-select {
  min-width: 122px;
  min-height: 34px;
  padding: 0 7px;
  color: var(--blue);
  border: 1px solid #cdd9ef;
  border-radius: 4px;
  background: #f8faff;
  font-size: 12px;
  font-weight: 750;
}

.admin-menu-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.admin-menu-list.is-reordering {
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  counter-reset: admin-menu-order;
}

.admin-menu-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 36px 18px;
  color: var(--muted);
  border: 1px dashed var(--line);
  text-align: center;
}

.admin-menu-row {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 11px;
  border: 1px solid #e3e8f0;
  border-radius: 6px;
}

.admin-menu-row.is-reordering {
  grid-template-columns: 58px 72px minmax(0, 1fr) auto;
  min-height: 82px;
  padding: 8px 10px 8px 0;
  border-color: #d6dfed;
  background: #fff;
  transition: border-color 150ms ease, box-shadow 150ms ease, opacity 150ms ease;
}

.admin-menu-row.is-reordering:hover {
  border-color: #aebfda;
}

.admin-menu-row.is-reordering.is-dragging {
  z-index: 2;
  opacity: 0.76;
  border-color: var(--orange);
  box-shadow: 0 10px 24px rgba(20, 44, 82, 0.14);
}

.admin-menu-row.is-reordering img {
  width: 72px;
  height: 60px;
}

.admin-reorder-handle {
  display: flex;
  align-self: stretch;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 3px;
  color: #71809a;
  border-right: 1px solid #e5eaf2;
  cursor: grab;
  touch-action: none;
  user-select: none;
}

.admin-reorder-handle:active {
  cursor: grabbing;
}

.admin-reorder-handle b {
  color: var(--blue);
  font: 800 10px "IBM Plex Mono", monospace;
}

.admin-reorder-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.admin-reorder-actions .mini-icon {
  width: 38px;
  height: 38px;
}

.admin-reorder-actions .mini-icon:disabled {
  color: #aeb8c8;
  border-color: #e4e8ef;
  background: #f5f6f8;
  cursor: default;
}

.admin-menu-list.is-dragging {
  user-select: none;
}

.admin-menu-row.is-sold-out {
  border-color: rgba(255, 117, 31, 0.46);
  background: #fff8f3;
}

.admin-menu-row h3 span {
  display: block;
  margin-top: 4px;
  color: #bd4d0d;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.admin-menu-row img {
  width: 64px;
  height: 53px;
  border-radius: 4px;
  object-fit: cover;
}

.admin-menu-row h3 {
  margin: 0 0 4px;
  font-size: 14px;
}

.admin-menu-row p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.admin-row-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 6px;
}

.admin-availability-button {
  display: inline-flex;
  min-height: 32px;
  padding: 0 9px;
  align-items: center;
  gap: 6px;
  color: #a7440e;
  border: 1px solid #ffc29f;
  border-radius: 4px;
  background: #fff4ed;
  font-size: 10px;
  font-weight: 800;
}

.admin-availability-button.is-sold-out {
  color: var(--blue);
  border-color: #ccd9ed;
  background: #eef4fc;
}

.mini-icon {
  display: grid;
  width: 32px;
  height: 32px;
  padding: 0;
  place-items: center;
  color: var(--blue);
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
}

.mini-icon.is-hidden {
  color: var(--muted);
  background: #f2f4f7;
}

.admin-order-tools {
  display: grid;
  grid-template-columns: minmax(260px, 1.5fr) repeat(4, minmax(130px, .7fr));
  gap: 9px;
  margin: 0 0 16px;
}

.admin-order-tools > select {
  min-height: 43px;
  padding: 0 10px;
  color: #17233a;
  border: 1px solid #d6deea;
  border-radius: 5px;
  background: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
}

.admin-order-tool-actions {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
}

.admin-order-tool-actions > span {
  display: grid;
  margin-right: auto;
  gap: 2px;
}

.admin-order-tool-actions small { color: var(--muted); font-size: 11px; }
.admin-order-tool-actions b { color: var(--blue); font-size: 18px; }

.admin-order-archive {
  display: inline-flex;
  margin-left: 7px;
  padding: 2px 5px;
  color: #5f6b7e;
  border: 1px solid #d6dde7;
  border-radius: 3px;
  background: #eef1f5;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.admin-table tr.is-archived { opacity: .68; }

.admin-log-list {
  display: grid;
  gap: 8px;
}

.admin-log-list article {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 13px;
  border: 1px solid #e1e7ef;
  border-radius: 6px;
}

.admin-log-list h3,
.admin-log-list p { margin: 0; }
.admin-log-list h3 { font-size: 13px; }
.admin-log-list p { margin-top: 3px; color: var(--muted); font-size: 11px; }
.admin-log-list time { color: var(--muted); font-size: 11px; }

.admin-log-role {
  overflow: hidden;
  padding: 5px 7px;
  color: var(--blue);
  border-radius: 4px;
  background: #edf4ff;
  font-size: 10px;
  font-weight: 800;
  text-overflow: ellipsis;
  text-transform: uppercase;
}

.admin-system-status {
  display: flex;
  min-height: 58px;
  margin-bottom: 14px;
  padding: 0 16px;
  align-items: center;
  gap: 10px;
  border-radius: 6px;
}

.admin-system-status.is-healthy { color: #126a3d; background: #eaf8f1; }
.admin-system-status.has-errors { color: #a43f16; background: #fff0e8; }

.item-editor {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
}

.item-editor .form-field.is-wide {
  grid-column: 1 / -1;
}

.item-editor .form-field.is-half {
  grid-column: span 1;
}

.admin-image-field {
  display: grid;
  grid-column: 1 / -1;
  gap: 8px;
}

.admin-image-picker {
  display: grid;
  grid-template-columns: minmax(300px, 420px) minmax(0, 1fr);
  min-height: 240px;
  overflow: hidden;
  border: 1px solid #cfd7e4;
  border-radius: 6px;
  background: #f7f9fc;
}

.admin-image-preview {
  position: relative;
  display: grid;
  min-height: 240px;
  aspect-ratio: 3 / 2;
  place-items: center;
  overflow: hidden;
  border-right: 1px solid #dfe5ee;
  background: #eef2f7;
  cursor: grab;
  touch-action: none;
}

.admin-image-preview img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  transform: scale(1.15);
  transform-origin: center;
  transition: top 90ms ease, left 90ms ease, width 90ms ease, height 90ms ease;
  user-select: none;
  -webkit-user-drag: none;
}

.admin-image-preview.is-dragging { cursor: grabbing; }
.admin-image-preview.is-dragging img { transition: none; }

.admin-image-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to right, transparent 33.2%, rgba(255, 255, 255, 0.72) 33.2%, rgba(255, 255, 255, 0.72) 33.55%, transparent 33.55%, transparent 66.45%, rgba(255, 255, 255, 0.72) 66.45%, rgba(255, 255, 255, 0.72) 66.8%, transparent 66.8%),
    linear-gradient(to bottom, transparent 33.2%, rgba(255, 255, 255, 0.72) 33.2%, rgba(255, 255, 255, 0.72) 33.7%, transparent 33.7%, transparent 66.3%, rgba(255, 255, 255, 0.72) 66.3%, rgba(255, 255, 255, 0.72) 66.8%, transparent 66.8%);
  box-shadow: inset 0 0 0 1px rgba(7, 29, 67, 0.18);
}

.admin-image-ratio {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 5px 7px;
  color: #fff;
  border-radius: 4px;
  background: rgba(7, 29, 67, 0.74);
  font-family: "DM Mono", monospace;
  font-size: 10px;
  line-height: 1;
}

.admin-crop-instruction {
  display: inline-flex;
  margin: 0 0 13px;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
}

.admin-image-controls {
  display: flex;
  padding: 22px;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  gap: 11px;
}

.admin-image-button {
  width: fit-content;
}

.admin-image-hint {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.admin-image-hint.is-error {
  color: #b92f3c;
  font-weight: 700;
}

.admin-image-crop {
  min-width: 0;
  margin: 0;
  padding: 16px;
  border: 1px solid #cfd7e4;
  border-radius: 6px;
  background: #fff;
}

.admin-image-crop legend {
  padding: 0 7px;
  color: var(--ink);
  font-family: "DM Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.admin-image-crop-controls {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 16px;
  align-items: end;
}

.admin-crop-control {
  display: grid;
  min-width: 0;
  gap: 9px;
}

.admin-crop-control > span {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.admin-crop-control output {
  color: var(--blue);
  font-family: "DM Mono", monospace;
  font-size: 11px;
}

.admin-crop-control input[type="range"] {
  width: 100%;
  min-height: 28px;
  margin: 0;
  accent-color: var(--blue);
  cursor: pointer;
}

.admin-crop-reset {
  min-height: 42px;
  white-space: nowrap;
}

.editor-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  grid-column: 1 / -1;
}

.editor-tag-row label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
}

.editor-tag-row input {
  accent-color: var(--blue);
}

.loading-screen {
  display: grid;
  min-height: 100vh;
  place-content: center;
  gap: 14px;
  color: var(--muted);
  text-align: center;
}

.loading-mark {
  width: 38px;
  height: 38px;
  margin: 0 auto;
  border: 4px solid #d4deef;
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin 800ms linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 1080px) {
  .menu-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .primary-nav {
    gap: 18px;
  }
}

@media (max-width: 820px) {
  .site-header {
    height: 66px;
  }

  .header-inner,
  .menu-section,
  .section,
  .contacts-section,
  .footer-inner,
  .admin-topbar-inner,
  .admin-main {
    width: min(100% - 32px, 1240px);
  }

  .primary-nav {
    display: none;
  }

  .hero,
  .hero-inner {
    min-height: 346px;
  }

  .hero-image {
    object-position: 62% center;
  }

  .hero-inner {
    padding: 46px 0 42px;
  }

  .menu-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .info-columns,
  .story-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .info-block {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid #cfdcf4;
  }

  .info-block:last-child {
    border-bottom: 0;
  }

  .story-layout {
    gap: 34px;
  }

  .contact-intro {
    padding-right: 0;
    padding-bottom: 26px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .contact-details {
    padding-top: 26px;
    padding-left: 0;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 17px;
    padding: 28px 0;
  }

  .footer-admin {
    justify-self: start;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .checkout-receipt {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .order-methods {
    gap: 8px;
  }

  .admin-grid {
    grid-template-columns: 1fr;
  }

  .admin-menu-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .admin-category-create {
    grid-template-columns: 1fr;
  }

  .site-header {
    height: 61px;
  }

  .header-inner,
  .menu-section,
  .section,
  .contacts-section,
  .footer-inner,
  .admin-topbar-inner,
  .admin-main {
    width: min(100% - 24px, 1240px);
  }

  .brand {
    gap: 7px;
    font-size: 19px;
  }

  .brand-mark {
    width: 23px;
    height: 23px;
  }

  .brand-mark::before {
    top: 4px;
    left: 4px;
  }

  .brand-mark::after {
    top: -5px;
  }

  .header-actions {
    gap: 7px;
  }

  .language-switch {
    gap: 0;
    padding: 2px;
  }

  .language-switch button,
  .language-switch a {
    min-width: 27px;
    min-height: 28px;
    padding: 0 5px;
    font-size: 10px;
  }

  .cart-trigger {
    min-width: 41px;
    min-height: 37px;
    padding: 0 9px;
    gap: 5px;
  }

  .hero,
  .hero-inner {
    min-height: 336px;
  }

  .hero-image {
    object-position: 66% center;
  }

  .hero-shade {
    background: linear-gradient(90deg, rgba(10, 15, 25, 0.91) 0%, rgba(10, 15, 25, 0.66) 56%, rgba(10, 15, 25, 0.2) 100%);
  }

  .hero-inner {
    padding: 43px 0 36px;
  }

  .hero h1 {
    max-width: 300px;
    font-size: 43px;
  }

  .hero-copy {
    max-width: 280px;
    margin: 15px 0 22px;
    font-size: 14px;
  }

  .hero-actions {
    gap: 9px;
  }

  .button {
    min-height: 43px;
    padding: 0 13px;
    font-size: 13px;
  }

  .service-note {
    max-width: 270px;
    margin-top: 16px;
  }

  .menu-section {
    padding: 38px 0 54px;
  }

  .menu-callout {
    min-height: 282px;
    padding: 17px;
  }

  .menu-callout h3 {
    margin-top: 36px;
    font-size: 23px;
  }

  .menu-callout p {
    font-size: 12px;
  }

  .section {
    padding: 58px 0;
  }

  .section-head {
    display: block;
    margin-bottom: 20px;
  }

  .section-title,
  .contact-intro h2 {
    font-size: 27px;
  }

  .section-caption {
    margin-top: 10px;
    text-align: left;
  }

  .category-scroll {
    margin-bottom: 20px;
  }

  .menu-grid {
    gap: 12px;
  }

  .dish-content {
    padding: 11px 11px 12px;
  }

  .dish-title-row {
    display: block;
  }

  .dish-title {
    font-size: 14px;
  }

  .dish-weight {
    display: block;
    margin: 5px 0 0;
    font-size: 10px;
  }

  .dish-description {
    min-height: 51px;
    margin: 8px 0 10px;
    font-size: 11px;
    -webkit-line-clamp: 3;
  }

  .price {
    font-size: 14px;
  }

  .price small {
    display: block;
    font-size: 9px;
  }

  .icon-button {
    width: 36px;
    height: 36px;
  }

  .dish-tag {
    min-height: 20px;
    padding: 0 5px;
    font-size: 9px;
  }

  .info-block {
    padding: 24px 0;
    background: transparent;
  }

  .story-copy {
    font-size: 15px;
  }

  .fact {
    min-height: 102px;
    padding: 13px;
  }

  .fact strong {
    font-size: 21px;
  }

  .contact-details {
    grid-template-columns: 1fr;
    gap: 19px;
  }

  .modal-layer {
    padding: 0;
    align-items: end;
  }

  .dialog {
    width: 100%;
    max-height: 92vh;
    border-radius: 8px 8px 0 0;
  }

  .dialog-body {
    padding: 18px;
  }

  .product-detail {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .product-detail-image {
    aspect-ratio: 16 / 10;
  }

  .detail-title {
    font-size: 24px;
  }

  .custom-roll-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .custom-roll-option {
    min-height: 40px;
    font-size: 11px;
  }

  .detail-bottom {
    align-items: start;
    flex-direction: column;
  }

  .detail-bottom .button {
    width: 100%;
  }

  .checkout-receipt,
  .checkout-form-area {
    padding: 20px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-field.is-wide {
    grid-column: auto;
  }

  .success-dialog {
    padding: 34px 20px 26px;
  }

  .toast {
    right: 12px;
    bottom: 12px;
    max-width: calc(100% - 24px);
  }

  .admin-main {
    padding-top: 25px;
  }

  .admin-section {
    padding: 17px;
  }

  .admin-section-head {
    align-items: start;
    flex-direction: column;
  }

  .admin-section-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .admin-section-actions .button {
    flex: 1 1 140px;
  }

  .admin-heading { display: none; }

  .admin-topbar-actions .button span { display: none; }

  .admin-menu-tools {
    grid-template-columns: 1fr;
  }

  .admin-category-row {
    grid-template-columns: 46px minmax(0, 1fr);
    padding-right: 9px;
  }

  .admin-category-handle,
  .admin-category-fixed-icon {
    grid-row: 1 / span 2;
  }

  .admin-category-actions,
  .admin-category-fixed-label {
    grid-column: 2;
    justify-self: end;
    margin: 0 0 9px 10px;
  }

  .admin-category-actions {
    width: calc(100% - 10px);
  }

  .admin-category-visibility {
    flex: 1 1 auto;
  }

  .admin-menu-row.is-reordering {
    grid-template-columns: 46px 62px minmax(0, 1fr);
    align-items: center;
    padding-right: 9px;
  }

  .admin-menu-row.is-reordering .admin-reorder-handle {
    grid-row: 1 / span 2;
  }

  .admin-menu-row.is-reordering img {
    width: 62px;
    height: 52px;
  }

  .admin-menu-row.is-reordering .admin-reorder-actions {
    grid-column: 2 / 4;
    justify-self: end;
  }

  .admin-order-tools { grid-template-columns: 1fr 1fr; }
  .admin-order-tools .admin-menu-search { grid-column: 1 / -1; }
  .admin-order-tool-actions { align-items: stretch; flex-wrap: wrap; }
  .admin-order-tool-actions > span { width: 100%; }
  .admin-log-list article { grid-template-columns: 72px minmax(0, 1fr); }
  .admin-log-list time { grid-column: 2; }

  .admin-tabs {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-settings {
    align-items: stretch;
    flex-direction: column;
  }

  .item-editor {
    grid-template-columns: 1fr;
  }

  .item-editor .form-field.is-half {
    grid-column: auto;
  }

  .admin-image-picker {
    grid-template-columns: 1fr;
  }

  .admin-image-preview,
  .admin-image-picker {
    min-height: 0;
  }

  .admin-image-preview { border-right: 0; border-bottom: 1px solid #dfe5ee; }

  .admin-image-controls {
    padding: 16px;
  }

  .admin-image-crop-controls { grid-template-columns: 1fr; }

  .admin-crop-reset { width: 100%; }
}
