
  * { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }

  body {
    background: #EFE7D8;
    font-family: 'DM Sans', sans-serif;
    padding-bottom: 150px;
    display: flex;
    justify-content: center;
  }

  .app {
    max-width: 480px;
    width: 100%;
    background: #FBF6EC;
    min-height: 100vh;
    box-shadow: 0 0 40px rgba(0,0,0,0.08);
  }

  /* TOPBAR */
  .topbar {
    background: linear-gradient(135deg, #3d0070, #5c0db0);
    padding: 18px 22px 14px;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  .topbar::before {
    content: '';
    position: absolute;
    top: -40px; right: -30px;
    width: 130px; height: 130px;
    background: radial-gradient(circle, rgba(255,140,0,0.22) 0%, transparent 70%);
    border-radius: 50%;
  }
  .ordina-logo {
    font-family: 'Anton', sans-serif;
    font-size: 28px;
    color: #ffffff;
    letter-spacing: 0.5px;
    position: relative; z-index: 1;
  }
  .ordina-logo .dot { color: #FF8C00; }
  .topbar img {
    max-width: 200px;
    width: 55%;
    height: auto;
    position: relative; z-index: 1;
  }
  .ordina-tagline {
    font-size: 8.5px;
    letter-spacing: 1.2px;
    color: #d9c2ff;
    text-transform: uppercase;
    margin-top: 3px;
    position: relative; z-index: 1;
  }

  .header {
    text-align: center;
    padding: 14px 22px 10px;
  }
  .locale-logo {
    width: 64px; height: 64px; border-radius: 50%;
    object-fit: cover; margin: 0 auto 8px;
    display: block; box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  }
  .menu-eyebrow {
    font-size: 9px; letter-spacing: 2px; color: #b3a489;
    text-transform: uppercase; margin-bottom: 5px;
  }
  .locale-name {
    font-family: 'Anton', sans-serif;
    font-size: 24px; color: #1a1a1a;
    letter-spacing: 1px; text-transform: uppercase;
  }
  .locale-name .accent { color: #FF8C00; }
  .sub-line {
    font-size: 9.5px; color: #8a7a5f; margin-top: 4px; font-style: italic;
  }

  /* ZONE SELECTOR */
  .zone-box {
    margin: 10px 18px 4px;
    background: #f0e8ff;
    border-radius: 12px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }
  .zone-label {
    font-size: 10.5px;
    color: #6b4a99;
    font-weight: 600;
    white-space: nowrap;
  }
  .zone-select {
    flex: 1;
    border: 1.5px solid #c9a8f5;
    background: white;
    border-radius: 8px;
    padding: 7px 8px;
    font-size: 11.5px;
    font-weight: 600;
    color: #3d0070;
    font-family: 'DM Sans', sans-serif;
  }

  .closed-banner {
    margin: 0 18px 4px;
    background: #1a1a1a;
    color: white;
    border-radius: 12px;
    padding: 14px 16px;
    text-align: center;
    font-size: 12px;
    line-height: 1.5;
    font-weight: 600;
  }
  .closed-banner b {
    display: block;
    font-family: 'Anton', sans-serif;
    font-size: 15px;
    color: #FF8C00;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    text-transform: uppercase;
  }

  .zone-note {
    margin: 6px 18px 0;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 11.5px;
    line-height: 1.5;
    display: none;
    border: 1.5px solid transparent;
  }
  .zone-note.show { display: block; }
  .zone-note.info { background: #fff4e0; color: #9a6a00; border-color: #ffd699; }
  .zone-note.warn { background: #ffe0e0; color: #b00020; font-weight: 700; border-color: #ffb3b3; }
  .zone-note.min { background: #ffe9d6; color: #c25400; font-weight: 600; }

  /* CATEGORY NAV */
  .cat-nav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 10px 18px 6px;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
  .cat-nav::-webkit-scrollbar { display: none; }
  .cat-chip {
    flex-shrink: 0;
    background: white;
    border: 1.5px solid #e0d3ff;
    color: #6b4a99;
    font-size: 10.5px;
    font-weight: 600;
    padding: 7px 13px;
    border-radius: 99px;
    white-space: nowrap;
    text-decoration: none;
    font-family: 'DM Sans', sans-serif;
    cursor: pointer;
    outline: none;
    -webkit-appearance: none;
  }
  .cat-chip:active { background: #f0e8ff; transform: scale(0.96); }

  .divider {
    height: 2px;
    background: repeating-linear-gradient(90deg, #3d0070 0, #3d0070 6px, transparent 6px, transparent 11px);
    margin: 6px 22px 0; opacity: 0.5;
  }

  .section { padding: 16px 18px 2px; }
  .section-head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
  .section-head .ico { font-size: 15px; }
  .section-title {
    font-family: 'Anton', sans-serif; font-size: 15px; color: #3d0070;
    letter-spacing: 1.2px; text-transform: uppercase;
  }
  .section-line { flex: 1; height: 1px; background: #d8cdb3; }
  .section-note {
    font-size: 9.5px; color: #a08e6a; font-style: italic;
    margin: -4px 0 10px 2px;
  }

  .item {
    display: flex; align-items: center; gap: 10px;
    padding: 9px 0;
    border-bottom: 1px solid #ece2c9;
  }
  .item:last-child { border-bottom: none; }

  .item-thumb {
    width: 56px; height: 56px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
    background: #ece2c9;
  }
  .item-thumb.placeholder {
    display: flex; align-items: center; justify-content: center;
    font-size: 22px;
  }

  .item-info { flex: 1; min-width: 0; }
  .item-name { font-weight: 600; font-size: 12.5px; color: #1a1a1a; line-height: 1.3; }
  .item-name .badge {
    display: inline-block; background: #FF8C00; color: white;
    font-size: 6.5px; font-weight: 700; padding: 1.5px 5px; border-radius: 3px;
    margin-left: 5px; text-transform: uppercase; vertical-align: middle;
  }
  .item-desc { font-size: 9px; color: #968762; margin-top: 1px; line-height: 1.3; }
  .item-price { font-family: 'Anton', sans-serif; font-size: 12.5px; color: #FF8C00; margin-top: 3px; }

  .item.sold-out { opacity: 0.55; }
  .item.sold-out .item-thumb { filter: grayscale(1); }
  .sold-out-tag {
    display: inline-block;
    margin-top: 4px;
    font-size: 10px;
    font-weight: 700;
    color: #b00020;
    background: #ffe0e0;
    padding: 2px 8px;
    border-radius: 6px;
  }

  .custom-btn {
    flex-shrink: 0;
    background: linear-gradient(135deg, #3d0070, #6b0dcc);
    color: white;
    border: none;
    padding: 9px 14px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 10.5px;
    cursor: pointer;
    white-space: nowrap;
  }
  .custom-btn:active { transform: scale(0.96); }

  .qty-control {
    display: flex; align-items: center; gap: 7px;
    background: #f0e8ff; border-radius: 20px; padding: 4px 5px;
    min-width: 80px; justify-content: space-between;
    flex-shrink: 0;
  }
  .qty-btn {
    width: 22px; height: 22px; border-radius: 50%;
    border: none; background: #3d0070; color: white;
    font-size: 13px; font-weight: 700; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    line-height: 1;
  }
  .qty-btn:active { transform: scale(0.9); }
  .qty-btn.minus { background: #d8cdb3; color: #1a1a1a; }
  .qty-val { font-weight: 700; font-size: 12px; color: #3d0070; min-width: 12px; text-align: center; }

  .footer-note {
    margin: 18px 18px 0; padding: 11px 14px;
    background: #f0e8ff; border-radius: 8px;
    font-size: 9.5px; color: #6b4a99; line-height: 1.5; text-align: center;
  }

  .footer-brand {
    text-align: center;
    padding: 22px 18px 10px;
    font-size: 9px;
    color: #b3a489;
  }

  /* CART BAR */
  .cart-bar {
    position: fixed;
    bottom: 58px; left: 0; right: 0;
    max-width: 480px;
    margin: 0 auto;
    background: #1a1a1a;
    color: white;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    transform: translateY(150%);
    transition: transform 0.25s ease;
    z-index: 50;
  }
  .cart-bar.visible, .cart-bar.show { transform: translateY(0); }

  .cart-info { display: flex; flex-direction: column; }
  .cart-count { font-size: 9.5px; color: #b8a8d8; letter-spacing: 0.3px; }
  .cart-total { font-family: 'Anton', sans-serif; font-size: 17px; color: #FF8C00; }

  .cart-btn {
    background: linear-gradient(135deg, #FF8C00, #ffb347);
    color: #1a1a1a;
    border: none;
    padding: 11px 16px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 11.5px;
    letter-spacing: 0.3px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
  }
  .cart-btn:active { transform: scale(0.96); }
  .cart-btn-disabled {
    background: #555 !important;
    color: #aaa !important;
    cursor: not-allowed;
  }

  /* MODAL */
  .modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(26,5,40,0.6);
    z-index: 100;
    display: none;
    align-items: flex-end;
    justify-content: center;
  }
  .modal-overlay.show { display: flex; animation: fadeIn 0.2s ease; }
  @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

  .modal-box {
    background: #FBF6EC;
    width: 100%;
    max-width: 480px;
    max-height: 88vh;
    overflow-y: auto;
    border-radius: 20px 20px 0 0;
    padding: 18px 20px 64px;
    animation: slideUp 0.25s ease;
  }
  @keyframes slideUp { from { transform: translateY(40px); } to { transform: translateY(0); } }

  .modal-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 12px;
  }
  .modal-title {
    font-family: 'Anton', sans-serif;
    font-size: 16px; color: #3d0070; letter-spacing: 0.5px;
  }
  .modal-close {
    background: #ece2c9; border: none; border-radius: 50%;
    width: 28px; height: 28px; font-size: 13px; color: #6b5a3a;
    cursor: pointer;
  }

  .modal-summary {
    background: #f0e8ff;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 10.5px;
    color: #4a3a6a;
    line-height: 1.6;
    margin-bottom: 14px;
    white-space: pre-line;
  }
  .modal-summary b { color: #3d0070; }

  .modal-field { margin-bottom: 12px; }
  .modal-field label {
    display: block; font-size: 10px; font-weight: 600;
    color: #6b4a99; margin-bottom: 4px;
  }
  .modal-field input, .modal-field textarea {
    width: 100%;
    border: 1.5px solid #d8c4f5;
    border-radius: 9px;
    padding: 9px 11px;
    font-size: 12.5px;
    font-family: 'DM Sans', sans-serif;
    color: #1a1a1a;
    background: white;
  }
  .modal-field textarea { resize: none; height: 46px; }
  .modal-field input:focus, .modal-field textarea:focus {
    outline: none; border-color: #3d0070;
  }

  .modal-error {
    display: none;
    background: #ffe0e0; color: #b00020;
    font-size: 10.5px; font-weight: 600;
    padding: 8px 12px; border-radius: 8px;
    margin-bottom: 12px;
  }
  .modal-error.show { display: block; }

  .modal-confirm {
    width: 100%;
    background: linear-gradient(135deg, #3d0070, #6b0dcc);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(61,0,112,0.3);
  }
  .modal-confirm:active { transform: scale(0.98); }

  .base-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .base-pill {
    border: 1.5px solid #d8c4f5;
    background: white;
    border-radius: 10px;
    padding: 10px 8px;
    font-size: 11px;
    font-weight: 600;
    color: #3d0070;
    font-family: 'DM Sans', sans-serif;
    cursor: pointer;
    text-align: center;
  }
  .base-pill.selected {
    background: linear-gradient(135deg, #3d0070, #6b0dcc);
    color: white;
    border-color: #3d0070;
  }

  .condiment-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
  }
  .cond-pill {
    border: 1.5px solid #e0d3ff;
    background: white;
    border-radius: 99px;
    padding: 7px 13px;
    font-size: 10.5px;
    font-weight: 600;
    color: #6b4a99;
    font-family: 'DM Sans', sans-serif;
    cursor: pointer;
  }
  .cond-pill.selected {
    background: #FF8C00;
    color: white;
    border-color: #FF8C00;
  }
  .cond-pill.disabled {
    opacity: 0.4;
    cursor: not-allowed;
  }

  .cond-count-label {
    font-size: 9.5px;
    color: #a08e6a;
    font-weight: 600;
  }

  .custom-price-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f0e8ff;
    border-radius: 10px;
    padding: 10px 12px;
    margin-bottom: 12px;
    font-size: 11px;
    color: #4a3a6a;
    font-weight: 600;
  }
  .custom-price-bar b {
    font-family: 'Anton', sans-serif;
    font-size: 15px;
    color: #FF8C00;
  }

  .modal-confirm:disabled {
    opacity: 0.5;
    cursor: not-allowed;
  }

  .empty-hint {
    text-align: center;
    font-size: 10px;
    color: #b3a489;
    padding: 10px 22px 4px;
    font-style: italic;
  }

  /* Mario Sternativo - nota allergeni */
  .allergen-note {
    margin: 18px 18px 0; padding: 11px 14px;
    background: #f0e8ff; border-radius: 8px;
    font-size: 9px; color: #6b4a99; line-height: 1.5; text-align: left;
  }
