    :root {
      --primary-red: #c61d23;
      --accent-yellow: #f5a623;
      --accent-yellow-dark: #d98200;
      --brand-green: #3d6a36;
      --bg: #ffffff;
      --bg-page: #f2f2f2;
      --surface: #ffffff;
      --text: #1a1a1a;
      --text-muted: #666666;
      --border: #eeeeee;
      --border-card: #ececec;
      --radius-sm: 8px;
      --radius-md: 14px;
      --font-sans: 'Montserrat', sans-serif;
      --font-display: 'Oswald', sans-serif;
      --font-script: 'Dancing Script', cursive;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
      font-family: var(--font-sans);
      -webkit-font-smoothing: antialiased;
    }

    body {
      background-color: var(--bg-page);
      color: var(--text);
      display: flex;
      justify-content: center;
      min-height: 100vh;
    }

    .app-viewport {
      width: 100%;
      max-width: 960px;
      background: var(--bg);
      min-height: 100vh;
      position: relative;
      padding-bottom: 20px;
      border-left: 1px solid var(--border);
      border-right: 1px solid var(--border);
    }

    /* Barra Superior */
    .mini-top-nav {
      position: sticky;
      top: 0;
      background: #ffffff;
      padding: 12px 20px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      border-bottom: 1px solid var(--border);
      z-index: 50;
    }

    .mini-brand {
      display: flex;
      align-items: center;
      gap: 10px;
      text-decoration: none;
      color: var(--text);
    }

    .mini-logo-box {
      width: 34px;
      height: 34px;
      background: var(--primary-red);
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #ffffff;
    }

    .mini-brand-title {
      font-family: var(--font-display);
      font-size: 20px;
      font-weight: 700;
      letter-spacing: 0.5px;
      text-transform: uppercase;
      color: var(--primary-red);
    }

    .nav-actions {
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .btn-icon-nav {
      background: #fff;
      border: 1px solid var(--border-card);
      width: 36px;
      height: 36px;
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      color: var(--text-muted);
      text-decoration: none;
    }
    .btn-icon-nav:hover {
      color: var(--primary-red);
      border-color: var(--primary-red);
    }

    /* Sub-encabezado */
    .bistro-subhead {
      background: #ffffff;
      padding: 12px 20px 8px;
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      align-items: center;
      gap: 10px;
    }

    .bistro-tagline {
      font-size: 11px;
      font-weight: 800;
      color: var(--text-muted);
      text-transform: uppercase;
      letter-spacing: 1.2px;
    }

    .bistro-meta-row {
      display: flex;
      align-items: center;
      gap: 12px;
      font-size: 11.5px;
      color: var(--text-muted);
    }

    .bistro-meta-item {
      display: flex;
      align-items: center;
      gap: 4px;
      cursor: pointer;
      text-decoration: none;
      color: inherit;
      font-weight: 600;
    }
    .bistro-meta-item:hover { color: var(--primary-red); }

    .status-badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: 11px;
      font-weight: 700;
      color: var(--brand-green);
      background: #edf7ed;
      padding: 3px 10px;
      border-radius: 20px;
    }
    .status-dot {
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: var(--brand-green);
    }
    .status-badge.cerrado {
      color: #757575;
      background: #f0f0f0;
    }
    .status-badge.cerrado .status-dot {
      background: #9e9e9e;
    }

    /* Categorías */
    .sticky-categories {
      position: sticky;
      top: 61px;
      background: #ffffff;
      padding: 10px 20px;
      display: flex;
      gap: 8px;
      overflow-x: auto;
      white-space: nowrap;
      scrollbar-width: none;
      border-bottom: 1px solid var(--border);
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
      z-index: 40;
    }
    .sticky-categories::-webkit-scrollbar { display: none; }

    .cat-pill {
      background: #fafafa;
      border: 1px solid var(--border-card);
      color: var(--text);
      padding: 7px 16px;
      border-radius: 20px;
      font-size: 12px;
      font-weight: 700;
      cursor: pointer;
      text-transform: uppercase;
      letter-spacing: 0.3px;
    }
    .cat-pill.active {
      background: var(--primary-red) !important;
      color: #ffffff !important;
      border-color: var(--primary-red) !important;
    }

    /* Buscador */
    .search-box-wrap {
      padding: 12px 20px 4px;
    }
    .search-input-wrapper {
      position: relative;
      display: flex;
      align-items: center;
    }
    .search-icon {
      position: absolute;
      left: 14px;
      color: var(--text-muted);
      pointer-events: none;
    }
    .search-input {
      width: 100%;
      background: #fafafa;
      border: 1px solid var(--border-card);
      border-radius: var(--radius-sm);
      padding: 11px 14px 11px 40px;
      font-size: 13px;
      color: var(--text);
      font-weight: 500;
      outline: none;
      transition: border-color 0.2s ease, background 0.2s ease;
    }
    .search-input::placeholder { color: #9e9e9e; }
    .search-input:focus { 
      border-color: var(--accent-yellow); 
      background: #fff;
    }

    /* Menú y Encabezados */
    .menu-sections {
      padding: 4px 20px;
    }

    .section-header-wrap {
      margin: 28px 0 16px;
      scroll-margin-top: 125px;
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      border-bottom: 2px solid var(--accent-yellow);
      padding-bottom: 4px;
    }

    .section-title-stack {
      display: flex;
      flex-direction: column;
      line-height: 0.95;
    }

    .section-script-tag {
      font-family: var(--font-script);
      font-size: 26px;
      color: var(--primary-red);
      transform: rotate(-3deg);
      display: inline-block;
      margin-left: 2px;
    }

    .section-main-title {
      font-family: var(--font-display);
      font-size: 26px;
      font-weight: 700;
      color: var(--accent-yellow);
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }

    .section-indicator-arrows {
      font-family: var(--font-display);
      color: var(--accent-yellow-dark);
      font-size: 20px;
      font-weight: 700;
      letter-spacing: -2px;
      margin-bottom: 2px;
    }

    .products-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 14px;
    }

    @media (min-width: 600px) {
      .products-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    /* Tarjetas de Producto Optimizadas para Scroll Rápido */
    .item-card-row {
      background: #ffffff;
      border-radius: var(--radius-md);
      border: 1px solid var(--border-card);
      padding: 12px;
      display: flex;
      gap: 14px;
      align-items: center;
      cursor: pointer;
      position: relative;
      transform: translateZ(0);
      backface-visibility: hidden;
    }
    .item-card-row:hover {
      border-color: var(--accent-yellow);
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    }

    /* Estados de Agotado */
    .item-card-row.is-exhausted {
      opacity: 0.65;
    }
    .item-badge-soldout {
      position: absolute;
      top: 4px;
      left: 4px;
      background: #424242;
      color: #ffffff;
      font-size: 9px;
      font-weight: 800;
      padding: 2px 6px;
      border-radius: 4px;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      z-index: 2;
    }
    .btn-quick-add.disabled {
      background: #e0e0e0 !important;
      color: #9e9e9e !important;
      cursor: not-allowed !important;
      transform: none !important;
    }

    .item-img-box {
      width: 92px;
      height: 92px;
      border-radius: var(--radius-sm);
      overflow: hidden;
      background: #f7f7f7;
      flex-shrink: 0;
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .item-img-box img {
      width: 92px;
      height: 92px;
      object-fit: cover;
      display: block;
    }

    .item-badge-disc {
      position: absolute;
      top: 4px;
      right: 4px;
      background: var(--primary-red);
      color: #fff;
      font-size: 9px;
      font-weight: 800;
      padding: 2px 6px;
      border-radius: 4px;
      z-index: 2;
    }

    .item-content {
      flex: 1;
      min-width: 0;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      height: 92px;
    }

    .item-title {
      font-size: 15px;
      font-weight: 800;
      color: var(--brand-green);
      line-height: 1.2;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .item-desc {
      font-size: 11px;
      color: var(--text-muted);
      line-height: 1.35;
      font-weight: 500;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
      margin-top: 2px;
    }

    .item-bottom-row {
      display: flex;
      justify-content: space-between;
      align-items: flex-end;
      margin-top: 4px;
    }

    .item-price-col {
      display: flex;
      align-items: baseline;
      gap: 6px;
    }
    .item-old-price {
      font-size: 10.5px;
      color: #9e9e9e;
      text-decoration: line-through;
    }
    .item-price {
      font-family: var(--font-display);
      font-size: 17px;
      font-weight: 700;
      color: var(--brand-green);
      letter-spacing: 0.3px;
    }

    .btn-quick-add {
      background: var(--accent-yellow);
      border: none;
      color: #ffffff;
      width: 28px;
      height: 28px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      flex-shrink: 0;
    }
    .btn-quick-add:not(.disabled):hover {
      background: var(--accent-yellow-dark);
    }

    /* Ubicación y Horarios */
    .location-card {
      background: #ffffff;
      border-radius: var(--radius-md);
      border: 1px solid var(--border-card);
      margin: 28px 20px 0;
      overflow: hidden;
      scroll-margin-top: 125px;
    }

    .location-header {
      padding: 14px 20px;
      font-family: var(--font-display);
      font-size: 18px;
      font-weight: 700;
      color: var(--brand-green);
      text-transform: uppercase;
      border-bottom: 2px solid var(--accent-yellow);
    }

    .location-body {
      display: flex;
      flex-direction: column;
    }

    @media (min-width: 640px) {
      .location-body {
        flex-direction: row;
      }
      .map-embed {
        width: 50%;
        height: auto;
        min-height: 180px;
      }
      .location-details {
        width: 50%;
        display: flex;
        flex-direction: column;
        justify-content: center;
      }
    }

    .map-embed {
      width: 100%;
      height: 170px;
      border: none;
      display: block;
    }

    .location-details {
      padding: 16px 20px;
    }
    .location-address {
      font-size: 13.5px;
      font-weight: 700;
      color: var(--text);
      margin-bottom: 8px;
    }
    .location-hours-title {
      font-size: 11px;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.8px;
      color: var(--accent-yellow-dark);
      margin-bottom: 4px;
    }
    .location-hours-text {
      font-size: 12px;
      color: var(--text-muted);
      line-height: 1.6;
      margin-bottom: 14px;
      font-weight: 500;
    }
    .btn-maps-go {
      background: #ffffff;
      color: var(--brand-green);
      border: 1.5px solid var(--brand-green);
      border-radius: var(--radius-sm);
      padding: 10px;
      font-size: 12px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      width: 100%;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      text-decoration: none;
    }
    .btn-maps-go:hover {
      background: var(--brand-green);
      color: #ffffff;
    }

    /* Pie de página */
    .app-footer {
      margin-top: 20px;
      padding: 12px 20px;
      text-align: center;
      border-top: 1px solid var(--border);
      background: #fafafa;
    }
    .app-footer-link {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      font-size: 12px;
      color: #666666;
      text-decoration: none;
      font-weight: 500;
      letter-spacing: 0.4px;
    }
    .app-footer-link strong {
      font-weight: 700;
      color: var(--brand-green);
    }
    .app-footer-link:hover strong {
      color: var(--primary-red);
    }

    /* Barra inferior */
    .bottom-bar {
      position: fixed;
      bottom: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 100%;
      max-width: 960px;
      background: #ffffff;
      border-top: 1px solid var(--border-card);
      padding: 12px 20px calc(12px + env(safe-area-inset-bottom, 0px));
      display: flex;
      align-items: center;
      justify-content: space-between;
      z-index: 90;
      box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.06);
    }

    .bottom-count {
      font-size: 11px;
      font-weight: 700;
      color: var(--text-muted);
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }
    .bottom-total {
      font-family: var(--font-display);
      font-size: 20px;
      font-weight: 700;
      color: var(--brand-green);
      letter-spacing: 0.5px;
    }

    .btn-ver-orden {
      background: var(--primary-red);
      color: #ffffff;
      border: none;
      padding: 12px 24px;
      border-radius: 8px;
      font-family: var(--font-display);
      font-size: 15px;
      font-weight: 700;
      letter-spacing: 0.5px;
      text-transform: uppercase;
      cursor: pointer;
    }
    .btn-ver-orden:hover { background: #ab171c; }

    /* Modales */
    .overlay {
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.55);
      backdrop-filter: blur(4px);
      z-index: 100;
      display: none;
    }
    .overlay.open { display: block; }

    .modal-bottom, .cart-checkout-modal {
      position: fixed;
      bottom: -100%;
      left: 50%;
      transform: translateX(-50%);
      width: 100%;
      max-width: 460px;
      background: #ffffff;
      border-radius: 18px 18px 0 0;
      z-index: 110;
      transition: bottom 0.25s ease;
      max-height: 85vh;
      overflow-y: auto;
      padding: 22px 20px calc(22px + env(safe-area-inset-bottom, 0px));
    }
    .modal-bottom.open, .cart-checkout-modal.open { bottom: 0; }

    .modal-dish-img {
      width: 100%;
      height: 200px;
      border-radius: var(--radius-sm);
      object-fit: cover;
      margin-bottom: 14px;
    }

    .modal-title-row {
      display: flex;
      justify-content: space-between;
      align-items: baseline;
      margin-bottom: 6px;
    }
    .modal-dish-title {
      font-size: 18px;
      font-weight: 800;
      color: var(--brand-green);
    }
    .modal-dish-price {
      font-family: var(--font-display);
      font-size: 18px;
      font-weight: 700;
      color: var(--brand-green);
    }
    .modal-dish-desc {
      font-size: 12px;
      color: var(--text-muted);
      line-height: 1.45;
      margin-bottom: 16px;
      font-weight: 500;
    }

    .form-group-modal { margin-bottom: 14px; }
    .form-label-modal {
      font-size: 11px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.6px;
      color: var(--text);
      margin-bottom: 6px;
      display: block;
    }
    .form-input-modal, .form-select-modal {
      width: 100%;
      padding: 10px 12px;
      border: 1px solid var(--border-card);
      border-radius: var(--radius-sm);
      font-size: 13px;
      color: var(--text);
      outline: none;
      background: #ffffff;
    }
    .form-input-modal:focus, .form-select-modal:focus { border-color: var(--accent-yellow); }

    .btn-add-modal {
      background: var(--primary-red);
      color: #ffffff;
      border: none;
      width: 100%;
      padding: 14px;
      border-radius: var(--radius-sm);
      font-family: var(--font-display);
      font-size: 15px;
      font-weight: 700;
      letter-spacing: 0.5px;
      text-transform: uppercase;
      cursor: pointer;
      margin-top: 6px;
    }
    .btn-add-modal:hover { background: #ab171c; }
    .btn-add-modal:disabled {
      background: #b0bec5 !important;
      cursor: not-allowed;
    }

    .cart-checkout-header {
      padding-bottom: 12px;
      border-bottom: 2px solid var(--accent-yellow);
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .cart-checkout-body { padding-top: 14px; }

    .cart-item-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding-bottom: 10px;
      margin-bottom: 10px;
      border-bottom: 1px solid var(--border);
    }

    .btn-qty {
      background: #ffffff;
      border: 1px solid var(--border-card);
      border-radius: 6px;
      width: 26px;
      height: 26px;
      cursor: pointer;
      font-weight: 700;
      color: var(--text);
      font-size: 13px;
    }
    .btn-qty:hover { border-color: var(--primary-red); color: var(--primary-red); }

    .btn-checkout-action {
      background: var(--primary-red);
      color: #ffffff;
      border: none;
      width: 100%;
      padding: 14px;
      border-radius: var(--radius-sm);
      font-family: var(--font-display);
      font-size: 15px;
      font-weight: 700;
      letter-spacing: 0.5px;
      text-transform: uppercase;
      cursor: pointer;
      margin-top: 16px;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
    }
    .btn-checkout-action:hover { background: #ab171c; }

    .btn-checkout-back {
      background: transparent;
      border: none;
      color: var(--text-muted);
      font-size: 12px;
      font-weight: 700;
      cursor: pointer;
      margin-top: 10px;
      width: 100%;
      text-align: center;
      padding: 6px;
    }
    .btn-checkout-back:hover { color: var(--primary-red); }

    .coupon-flex {
      display: flex;
      gap: 6px;
    }
    .btn-apply-coupon {
      background: #fafafa;
      border: 1px solid var(--border-card);
      border-radius: var(--radius-sm);
      padding: 0 16px;
      font-size: 12px;
      font-weight: 700;
      cursor: pointer;
      color: var(--primary-red);
    }
    .btn-apply-coupon:hover { background: var(--border); }
  </style>