/* Bistro Park Menu v1 */

div.bpm { max-width: 1200px; margin: 0 auto; padding: 20px 0; font-family: inherit; color: #2d2d2d; }

div.bpm .bpm-controls { display: flex; justify-content: center; margin-bottom: 24px; }
div.bpm .bpm-lang-sw { display: flex; background: #e5e7eb; border-radius: 8px; padding: 3px; gap: 2px; }
div.bpm button.bpm-lang { padding: 6px 14px; border: none; border-radius: 6px; background: transparent; color: #6b7280; font-size: 13px; font-weight: 600; cursor: pointer; line-height: 1.4; position: static; }
div.bpm button.bpm-lang.on { background: #fff; color: #2d2d2d; box-shadow: 0 1px 3px rgba(0,0,0,.1); }

div.bpm .bpm-cats { display: flex; gap: 10px; overflow-x: auto; padding: 10px 0 16px; margin-bottom: 12px; position: static; }
div.bpm button.bpm-cat { display: flex; align-items: center; gap: 8px; padding: 10px 20px; border: 1.5px solid #e5e7eb; border-radius: 28px; background: #fff; color: #6b7280; font-size: 15px; font-weight: 500; cursor: pointer; white-space: nowrap; position: static; }
div.bpm button.bpm-cat:hover { border-color: #e2725b; color: #e2725b; }
div.bpm button.bpm-cat.on { background: #1a1a2e; border-color: #1a1a2e; color: #fff; }
div.bpm .bpm-cat-emoji { font-size: 18px; line-height: 1; }

div.bpm .bpm-sec { margin-bottom: 40px; content-visibility: auto; contain-intrinsic-size: auto 500px; position: static; }
div.bpm .bpm-sec-title { display: flex; align-items: center; gap: 10px; font-size: 24px; font-weight: 700; color: #1a1a2e; margin: 0 0 20px; padding-bottom: 12px; border-bottom: 2px solid #e5e7eb; }
div.bpm .bpm-sec-emoji { font-size: 28px; line-height: 1; }

div.bpm .bpm-items { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 16px; }

div.bpm .bpm-item { display: flex; gap: 14px; background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 14px; }
div.bpm .bpm-item:hover { box-shadow: 0 4px 12px rgba(0,0,0,.08); }

div.bpm .bpm-img { flex-shrink: 0; width: 100px; height: 100px; border-radius: 8px; overflow: hidden; background: #f3f4f6; }
div.bpm .bpm-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

div.bpm .bpm-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
div.bpm .bpm-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
div.bpm h3.bpm-name { font-size: 16px; font-weight: 600; color: #2d2d2d; margin: 0; line-height: 1.3; }
div.bpm span.bpm-price { flex-shrink: 0; font-size: 16px; font-weight: 700; color: #e2725b; white-space: nowrap; }
div.bpm p.bpm-desc { font-size: 13px; color: #6b7280; line-height: 1.5; margin: 0; }

div.bpm .bpm-error { color: #dc2626; background: #fef2f2; border: 1px solid #fecaca; padding: 12px 16px; border-radius: 8px; font-size: 14px; }

@media (max-width: 768px) {
    div.bpm .bpm-items { grid-template-columns: 1fr; }
    div.bpm .bpm-img { width: 80px; height: 80px; }
    div.bpm .bpm-sec-title { font-size: 20px; }
}

@media (max-width: 400px) {
    div.bpm .bpm-item { flex-direction: column; }
    div.bpm .bpm-img { width: 100%; height: 180px; }
}
