/*
 * Kukburi — shared dish-card grid + category filter bar.
 * Used by the Home "Menu Highlights" preview and the full Menu page — same
 * markup, same classes, confirmed identical between prototypes. Don't fork
 * this per page; add a page-specific wrapper class instead if one page ever
 * needs a variant.
 */

.filterbar{ display: flex; gap: 18px; flex-wrap: wrap; font-family: 'Jost',sans-serif; font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; }
body[dir="rtl"] .filterbar{ font-family: 'Noto Naskh Arabic', sans-serif; letter-spacing: 0; text-transform: none; }
.filterbar button{ background: none; border: none; cursor: pointer; color: var(--ink); opacity: .5; padding-bottom: 4px; border-bottom: 2px solid transparent; }
.filterbar button.active{ opacity: 1; border-color: var(--brown); }

.menu-grid{ display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.dish-card{ background: var(--cream-card); border: 1px solid var(--line); position: relative; display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease; }
.dish-card:hover{ transform: translateY(-6px); box-shadow: var(--shadow); }
.dish-img{ aspect-ratio: 4/3.2; overflow: hidden; position: relative; }
.dish-img img{ width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.dish-card:hover .dish-img img{ transform: scale(1.06); }
.badge{ position: absolute; top: 14px; left: 14px; z-index: 2; background: var(--green); color: #fff; font-family: 'Jost',sans-serif; font-size: .64rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 5px 10px; border-radius: 999px; transform: rotate(-3deg); box-shadow: 0 4px 10px rgba(0,0,0,.15); }
body[dir="rtl"] .badge{ left: auto; right: 14px; font-family: 'Noto Naskh Arabic', sans-serif; text-transform: none; }
.badge.warm{ background: var(--brown); }
.dish-body{ padding: 20px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.dish-body h3{ font-size: 1.05rem; font-weight: 600; }
.dish-body .desc{ font-size: .83rem; opacity: .72; line-height: 1.5; min-height: 2.6em; }
.price-row{ margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding-top: 12px; gap: 10px; }
.price{ font-family: 'Jost',sans-serif; font-weight: 700; font-size: .92rem; }
/* Individual/family price pairs (full Menu page only — Home's highlights only
   ever show a single price, so .fam-price simply won't appear there). The
   Menu page's own stylesheet re-declares .price-row's align-items for this —
   see assets/css/menu-page.css, loaded after this file. */
.fam-price{ font-family: 'Jost',sans-serif; font-size: .74rem; opacity: .6; margin-top: 2px; }
.add-btn{ width: 34px; height: 34px; flex-shrink: 0; border-radius: 50%; border: 2px solid var(--ink); background: transparent; font-size: 1.1rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: .2s; }
.add-btn:hover{ background: var(--green); border-color: var(--green); color: #fff; }

.empty-state{ display: none; text-align: center; opacity: .6; font-family: 'Jost',sans-serif; font-size: .85rem; padding: 20px 0; }

.carousel{ display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 44px; }
.carousel-arrow{ background: none; border: 1px solid var(--line); border-radius: 50%; width: 34px; height: 34px; cursor: pointer; }
.carousel-dots{ display: flex; gap: 8px; }
.carousel-dots span{ width: 7px; height: 7px; border-radius: 50%; background: var(--line); }
.carousel-dots span.active{ background: var(--brown); width: 22px; border-radius: 4px; }

@media (max-width: 980px){
	.menu-grid{ grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 600px){
	.menu-grid{ grid-template-columns: 1fr 1fr; }
	.filterbar{ gap: 12px; }
}
