
  :root {
    --orange-deep: #E8510A;
    --orange-main: #F46B1A;
    --orange-soft: #FF8C42;
    --orange-pale: #FFF0E6;
    --orange-light: #FFE4CC;
    --cream: #FFF8F2;
    --silver-bg: #F4F2EF;
    --silver-mid: #E8E5E0;
    --text-dark: #1A1208;
    --text-body: #3D3020;
    --text-muted: #8A7A6A;
    --white: #FFFFFF;
    --shadow-warm: 0 8px 32px rgba(232, 81, 10, 0.18);
    --shadow-card: 0 4px 20px rgba(60, 30, 10, 0.10);
    --radius-lg: 20px;
    --radius-md: 14px;
    --radius-sm: 10px;
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }

  html {
    scroll-behavior: smooth;
    touch-action: manipulation;
    -ms-touch-action: manipulation;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }

  body {
    font-family: 'Nunito', sans-serif;
    background: var(--cream);
    color: var(--text-body);
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }

  input, textarea, select {
    font-size: 16px;
  }

  /* ── HEADER ── */
  .header {
    background: linear-gradient(145deg, var(--orange-deep) 0%, var(--orange-main) 55%, var(--orange-soft) 100%);
    padding: 14px 20px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  .header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='20'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
  }
  .header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0; right: 0;
    height: 18px;
    background: var(--cream);
    border-radius: 18px 18px 0 0;
  }

  .logo-wrap {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    position: relative;
    z-index: 1;
    animation: headerIn 0.7s cubic-bezier(.34,1.56,.64,1) both;
  }
  @keyframes headerIn {
    from { opacity: 0; transform: translateY(-18px) scale(0.94); }
    to   { opacity: 1; transform: none; }
  }

  .logo-icon {
    width: 52px; height: 52px;
    background: rgba(255,255,255,0.18);
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 26px;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.13);
    overflow: hidden;
  }
  .logo-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: var(--white);
    font-size: 26px;
  }
  .logo-icon img {
    width: 100%; height: 100%;
    object-fit: cover;
    border-radius: 12px;
    display: block;
  }

  .cafe-name {
    font-size: clamp(26px, 7vw, 36px);
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.5px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.15);
    line-height: 1.1;
  }

  .cafe-subtitle {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,0.82);
    letter-spacing: 0.2px;
    display: flex; align-items: center; gap: 5px;
    margin-top: 0;
  }
  .cafe-subtitle::before { content: '✦'; font-size: 8px; color: rgba(255,255,255,0.55); }
  .cafe-subtitle::after  { content: '✦'; font-size: 8px; color: rgba(255,255,255,0.55); }

  /* ── MENU SECTION ── */
  .section-menu {
    padding: 0 16px 28px;
    position: relative;
    z-index: 2;
  }

  .section-label {
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #1A1208;
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 14px;
    margin-top: 4px;
  }

  .menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 11px;
  }

  .menu-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 18px 8px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;
    cursor: pointer;
    border: 2px solid transparent;
    box-shadow: var(--shadow-card);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
    -webkit-user-select: none; user-select: none;
  }
  .menu-card:active {
    transform: scale(0.94);
    box-shadow: 0 2px 8px rgba(60,30,10,0.08);
  }
  .menu-card.active {
    border-color: var(--orange-main);
    background: var(--orange-pale);
    box-shadow: var(--shadow-warm);
  }
  .menu-card.active .card-name { color: var(--orange-deep); }

  .card-emoji {
    font-size: 38px; line-height: 1;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.12));
    width: 48px; height: 48px;
    display: flex; align-items: center; justify-content: center;
  }
  .card-emoji img {
    width: 100%; height: 100%;
    object-fit: cover;
    border-radius: 10px;
    display: block;
  }
  .card-name  { font-size: 13px; font-weight: 700; color: var(--text-dark); text-align: center; line-height: 1.2; }

  /* ── INFO ROW ── */
  .info-section {
    background: var(--silver-bg);
    margin: 0 0 0 0;
    padding: 22px 16px 20px;
    border-top: 1px solid var(--silver-mid);
  }

  .info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 16px;
  }

  .info-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
  }

  .info-icon {
    width: 36px; height: 36px; flex-shrink: 0;
    background: var(--orange-pale);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
  }
  .info-icon .ti {
    font-size: 18px;
    width: 18px;
    height: 18px;
    color: var(--orange-main);
    display: block;
    line-height: 1;
  }
  .info-icon img {
    width: 100%; height: 100%;
    object-fit: cover;
    border-radius: 8px;
    display: block;
  }

  .info-label {
    font-size: 9.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--orange-main);
    margin-bottom: 3px;
  }

  .info-value {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.4;
  }

  /* ── WHY US ── */
  .why-section {
    background: #2B1A0A;
    margin: 0;
    padding: 24px 16px 26px;
  }

  .why-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .why-list { display: flex; flex-direction: column; gap: 14px; }

  .why-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
  }

  .why-badge {
    width: 34px; height: 34px; flex-shrink: 0;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
  }
  .why-badge .ti {
    font-size: 17px;
    width: 17px;
    height: 17px;
    color: var(--white);
    display: block;
    line-height: 1;
  }
  .why-badge.green .ti  { color: #7DDB6A; }
  .why-badge.orange .ti { color: #FFB07A; }
  .why-badge.blue .ti   { color: #7EB8FF; }
  .why-badge.pink .ti   { color: #FF8FC5; }
  .why-badge img {
    width: 100%; height: 100%;
    object-fit: cover;
    border-radius: 8px;
    display: block;
  }
  .why-badge.green  { background: rgba(80,180,60,0.18); }
  .why-badge.orange { background: rgba(244,107,26,0.22); }
  .why-badge.blue   { background: rgba(60,130,240,0.18); }
  .why-badge.pink   { background: rgba(240,80,140,0.18); }

  .why-head  { font-size: 13px; font-weight: 800; color: var(--white); margin-bottom: 3px; }
  .why-body  { font-size: 12px; font-weight: 500; color: rgba(255,255,255,0.55); line-height: 1.4; }

  /* ── FOOTER ── */
  .footer {
    background: var(--silver-bg);
    border-top: 1px solid var(--silver-mid);
    padding: 16px;
    text-align: center;
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 600;
  }
  .footer span { color: var(--orange-main); }

  /* ── PANEL (bottom sheet) ── */
  .panel-overlay {
    position: fixed;
    inset: 0;
    background: rgba(20,10,5,0.48);
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease;
  }
  .panel-overlay.open {
    opacity: 1;
    pointer-events: all;
  }

  .panel {
    position: fixed;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%) translateY(100%);
    width: min(100vw, 520px);
    max-height: 82vh;
    background: var(--cream);
    z-index: 101;
    transition: transform 0.28s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -4px 40px rgba(20,10,5,0.18);
  }
  .panel.open {
    transform: translateX(-50%) translateY(0);
  }

  .panel-header {
    background: linear-gradient(120deg, var(--orange-deep), var(--orange-soft));
    padding: 22px 18px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    position: relative;
  }

  /* drag handle */
  .panel-header::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 36px; height: 4px;
    background: rgba(255,255,255,0.4);
    border-radius: 4px;
    pointer-events: none;
  }

  .panel-back {
    width: 34px; height: 34px;
    background: rgba(255,255,255,0.2);
    border: none; border-radius: 9px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    color: white; font-size: 20px;
    flex-shrink: 0;
    line-height: 1;
  }
  .panel-back:active { background: rgba(255,255,255,0.32); }

  .panel-title-wrap { flex: 1; }
  .panel-category-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
  }
  .panel-count {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,0.72);
    margin-top: 2px;
  }

  .panel-emoji-big {
    font-size: 32px;
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
    border-radius: 10px;
    flex-shrink: 0;
  }
  .panel-emoji-big img {
    width: 100%; height: 100%;
    object-fit: cover;
    border-radius: 10px;
    display: block;
  }

  .panel-body {
    flex: 1;
    overflow-y: auto;
    padding: 14px 14px calc(24px + env(safe-area-inset-bottom, 0px));
    -webkit-overflow-scrolling: touch;
  }
  .panel-body::-webkit-scrollbar { width: 3px; }
  .panel-body::-webkit-scrollbar-track { background: transparent; }
  .panel-body::-webkit-scrollbar-thumb { background: var(--orange-light); border-radius: 4px; }

  /* ── DISH CARD ── */
  .dish-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 13px;
    display: flex;
    gap: 12px;
    margin-bottom: 10px;
    box-shadow: 0 2px 12px rgba(60,30,10,0.07);
    border: 1.5px solid var(--orange-light);
  }

  .dish-img {
    width: 72px; height: 72px; flex-shrink: 0;
    border-radius: var(--radius-sm);
    background: var(--orange-pale);
    display: flex; align-items: center; justify-content: center;
    font-size: 38px;
    overflow: hidden;
  }
  .dish-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    border-radius: var(--radius-sm);
    display: block;
  }

  .dish-info { flex: 1; min-width: 0; }
  .dish-name {
    font-size: 14px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 3px;
    line-height: 1.2;
  }
  .dish-ingredients {
    font-size: 11.5px;
    font-weight: 500;
    color: var(--text-muted);
    line-height: 1.35;
    margin-bottom: 7px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .dish-price {
    font-size: 15px;
    font-weight: 800;
    color: var(--orange-main);
  }
  .dish-price span { font-size: 11px; font-weight: 600; color: var(--text-muted); }

  /* ── DESKTOP ── */
  @media (min-width: 480px) {
    .menu-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; }
  }
  @media (min-width: 640px) {
    .header { padding: 18px 24px 26px; }
    .section-menu { padding: 0 24px 32px; }
    .info-section { padding: 28px 24px 24px; }
    .why-section  { padding: 28px 24px 32px; }
    .menu-grid { grid-template-columns: repeat(5, 1fr); }
  }
  @media (min-width: 900px) {
    body { max-width: 520px; margin: 0 auto; }
  }

