/* ===== MenuPYA ek temalar (16-25) + yeni yerleşim türleri =====
   Sadece bu temalar seçiliyken yüklenir; mevcut 15 temaya dokunmaz.
   Yerleşim kuralları yapısaldır (konum/boyut), renk ve biçim tema bloklarındadır. */

/* ---------- Yeni BAŞLIK düzenleri ---------- */
body.lay.h-hero .menu-header { padding: 0; position: relative; text-align: center; overflow: hidden; }
body.lay.h-hero .hdr-banner { display: block; height: 240px; background-size: cover; background-position: center; background-color: var(--primary); position: relative; }
body.lay.h-hero .hdr-banner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,.12), rgba(0,0,0,.72)); }
body.lay.h-hero .hdr-main { position: static; display: block; margin: 0; padding: 0; }
body.lay.h-hero .hdr-text { position: absolute; left: 0; right: 0; bottom: 18px; z-index: 2; color: #fff; padding: 0 16px; }
body.lay.h-hero .hdr-text h1 { color: #fff; font-size: 1.9rem; margin: 0 0 6px; text-shadow: 0 2px 14px rgba(0,0,0,.55); }
body.lay.h-hero .hdr-logo { position: absolute; top: 14px; left: 14px; width: auto; height: auto; max-width: 38vw; max-height: 90px; object-fit: contain; margin: 0; z-index: 2; border-color: #fff; }
body.lay.h-hero .lang-bar { position: absolute; top: 12px; right: 12px; margin: 0; z-index: 2; }
body.lay.h-hero .lang-btn { background: rgba(0,0,0,.35); color: #fff; border-color: rgba(255,255,255,.4); }

body.lay.h-stack .menu-header { position: relative; text-align: left; padding: 28px 18px 18px; }
body.lay.h-stack .hdr-main { align-items: flex-start; }
body.lay.h-stack .hdr-logo { width: auto; height: auto; max-width: min(240px, 70vw); max-height: 120px; object-fit: contain; border-radius: 14px; margin-bottom: 12px; }
body.lay.h-stack .hdr-text h1 { font-size: 2.1rem; line-height: 1.05; margin: 0 0 8px; }
body.lay.h-stack .lang-bar { position: absolute; top: 10px; right: 12px; margin: 0; }
body.lay.h-stack .table-pill { transform: rotate(-2deg); }

body.lay.h-poster .menu-header { margin: 14px; padding: 26px 16px 18px; border: 3px double currentColor; text-align: center; position: relative; }
body.lay.h-poster .hdr-logo { width: auto; height: auto; max-width: min(220px, 62vw); max-height: 110px; object-fit: contain; }
body.lay.h-poster .hdr-text h1 { font-size: 1.9rem; letter-spacing: 4px; text-transform: uppercase; font-weight: 800; margin: 4px 0 6px; }
body.lay.h-poster .lang-bar { margin: 12px 0 0; }

/* ---------- Yeni KATEGORİ gezinmeleri ---------- */
body.lay.n-chips .category-nav { position: static; flex-wrap: wrap; justify-content: center; overflow: visible; gap: 8px; padding: 14px; }
.fab-cats, .cats-backdrop { display: none; }
body.lay.n-float .category-nav { position: fixed; left: 0; right: 0; bottom: 0; top: auto; z-index: 1200; flex-direction: column; max-height: 65vh; overflow-y: auto; padding: 18px 18px 28px; border-radius: 20px 20px 0 0; border: 0; gap: 6px; transform: translateY(105%); transition: transform .25s ease; box-shadow: 0 -12px 40px rgba(0,0,0,.4); }
body.lay.n-float .category-nav.open { transform: none; }
body.lay.n-float .cat-tab { justify-content: flex-start; font-size: 1rem; padding: 14px 16px; border-radius: 12px; white-space: normal; }
body.lay.n-float .fab-cats { display: flex; position: fixed; right: 14px; bottom: calc(var(--lay-ab, 0px) + 16px); z-index: 1150; width: 56px; height: 56px; border-radius: 50%; border: 0; background: var(--primary); color: #fff; font-size: 1.4rem; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(0,0,0,.4); cursor: pointer; -webkit-tap-highlight-color: transparent; }
body.lay.n-float .cats-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 1190; }
body.lay.n-float .cats-backdrop.open { display: block; }
body.has-actions { --lay-ab: 64px; }
body.lay.n-float .container { padding-bottom: 150px; }

/* ---------- Yeni ÜRÜN KARTI düzenleri ---------- */
/* polaroid */
body.lay.c-polaroid .cat-body { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 14px; padding: 8px 4px 12px; }
body.lay.c-polaroid .menu-card { display: block; padding: 8px 8px 12px; margin: 0; }
body.lay.c-polaroid .menu-card:nth-child(odd) { transform: rotate(-1.4deg); }
body.lay.c-polaroid .menu-card:nth-child(even) { transform: rotate(1.2deg); }
body.lay.c-polaroid .product-img { width: 100%; height: 120px; border-radius: 2px; }
body.lay.c-polaroid .product-info { padding: 8px 2px 0; text-align: center; }
body.lay.c-polaroid .product-head { flex-direction: column; align-items: center; gap: 2px; }
body.lay.c-polaroid .product-name { font-size: .92rem; }
body.lay.c-polaroid .product-desc { font-size: .74rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
/* kare fotoğraf karoları */
body.lay.c-tile .cat-body { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
body.lay.c-tile .menu-card { position: relative; display: block; padding: 0; margin: 0; overflow: hidden; aspect-ratio: 1 / 1; }
body.lay.c-tile .product-img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 0; }
body.lay.c-tile .menu-card:not(.no-img) .product-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 10px 10px; background: linear-gradient(transparent, rgba(0,0,0,.88)); color: #fff; }
body.lay.c-tile .menu-card:not(.no-img) .product-price { color: #fff; }
body.lay.c-tile .menu-card.no-img .product-info { height: 100%; padding: 12px; display: flex; flex-direction: column; justify-content: center; }
body.lay.c-tile .product-head { flex-direction: column; gap: 2px; }
body.lay.c-tile .product-name { font-size: .92rem; }
body.lay.c-tile .product-desc, body.lay.c-tile .product-meta { display: none; }
/* numaralı liste */
body.lay.c-numbered .cat-body { counter-reset: item; }
body.lay.c-numbered .menu-card { counter-increment: item; position: relative; display: flex; flex-direction: row-reverse; align-items: center; padding-left: 58px; }
body.lay.c-numbered .menu-card::before { content: counter(item, decimal-leading-zero); position: absolute; left: 10px; top: 50%; transform: translateY(-50%); font-size: 1.7rem; font-weight: 200; opacity: .35; font-variant-numeric: tabular-nums; }
body.lay.c-numbered .product-img { width: 64px; height: 64px; border-radius: 50%; }
/* bento */
body.lay.c-bento .cat-body { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
body.lay.c-bento .menu-card { display: block; padding: 0; margin: 0; overflow: hidden; }
body.lay.c-bento .menu-card:first-child { grid-column: 1 / -1; }
body.lay.c-bento .product-img { width: 100%; height: 100px; border-radius: 0; }
body.lay.c-bento .menu-card:first-child .product-img { height: 170px; }
body.lay.c-bento .product-info { padding: 10px; }
body.lay.c-bento .product-head { flex-direction: column; gap: 2px; }
body.lay.c-bento .menu-card:first-child .product-head { flex-direction: row; }
body.lay.c-bento .product-desc { font-size: .75rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
/* fiş / bilet */
body.lay.c-ticket .menu-card { display: block; position: relative; padding: 14px 18px; margin-bottom: 16px; border-style: dashed; }
body.lay.c-ticket .menu-card::before, body.lay.c-ticket .menu-card::after { content: ''; position: absolute; top: 50%; width: 16px; height: 16px; margin-top: -8px; border-radius: 50%; background: var(--page-bg); }
body.lay.c-ticket .menu-card::before { left: -9px; }
body.lay.c-ticket .menu-card::after { right: -9px; }
body.lay.c-ticket .product-img { float: right; width: 60px; height: 60px; margin: 0 0 6px 10px; }
body.lay.c-ticket .product-head { border-bottom: 1px dashed rgba(128,128,128,.55); padding-bottom: 6px; margin-bottom: 6px; }
/* geniş afiş */
body.lay.c-banner .menu-card { position: relative; display: block; padding: 0; overflow: hidden; margin-bottom: 16px; }
body.lay.c-banner .product-img { display: block; width: 100%; height: 120px; border-radius: 0; }
body.lay.c-banner .product-info { padding: 12px 14px 14px; }
body.lay.c-banner .product-head { justify-content: flex-start; }
body.lay.c-banner .product-price { position: absolute; top: 10px; right: 10px; background: var(--primary); color: #fff; padding: 4px 12px; border-radius: 999px; box-shadow: 0 2px 8px rgba(0,0,0,.35); font-size: .9rem; }
body.lay.c-banner .menu-card.no-img .product-head { padding-right: 88px; }

/* ================= TEMALAR ================= */

/* 16: RETRO DINER */
body.theme-retro_diner { background: #fff7e6; color: #3b2f2f; }
body.theme-retro_diner .menu-header { background: #d62828; color: #fff; border-bottom: 6px solid #003049; }
body.theme-retro_diner h1, body.theme-retro_diner .category-title { font-family: 'Righteous', cursive; }
body.theme-retro_diner h1 { color: #fff; text-shadow: 3px 3px 0 #003049; }
body.theme-retro_diner .category-title { color: #d62828; border-bottom: 4px dotted #003049; text-transform: uppercase; letter-spacing: 1px; }
body.theme-retro_diner .menu-card { background: #fff; border: 3px dashed #003049; border-radius: 8px; }
body.theme-retro_diner .product-price { color: #d62828; font-family: 'Righteous', cursive; }
body.theme-retro_diner .cat-tab { background: #f77f00; color: #fff; border: 3px solid #003049; border-radius: 6px; padding: 8px 14px; font-weight: 800; text-decoration: none; font-size: .85rem; box-shadow: 3px 3px 0 #003049; }
body.theme-retro_diner .cat-tab.active, body.theme-retro_diner .cat-tab:hover { background: #003049; color: #fcbf49; }

/* 17: JAPANESE ZEN */
body.theme-japanese_zen { background: #f4efe6; color: #1f1f1f; font-family: 'Noto Serif JP', serif; }
body.theme-japanese_zen .menu-header { background: transparent; color: #1f1f1f; }
body.theme-japanese_zen h1 { font-family: 'Shippori Mincho', serif; font-weight: 800; }
body.theme-japanese_zen .category-title { font-family: 'Shippori Mincho', serif; border-bottom: 1px solid #1f1f1f; color: #c0392b; letter-spacing: 3px; }
body.theme-japanese_zen .menu-card { background: transparent; border: 0; border-bottom: 1px solid rgba(31,31,31,.2); border-radius: 0; margin-bottom: 0; padding-top: 16px; padding-bottom: 16px; }
body.theme-japanese_zen .product-price { color: #c0392b; font-weight: 800; }
body.theme-japanese_zen .category-nav { background: #f4efe6; }
body.theme-japanese_zen .cat-tab { background: transparent; color: #1f1f1f; border-bottom: 1px solid rgba(31,31,31,.2); border-radius: 0; text-decoration: none; }
body.theme-japanese_zen .cat-tab.active, body.theme-japanese_zen .cat-tab:hover { color: #c0392b; border-bottom-color: #c0392b; }
body.theme-japanese_zen .fab-cats { background: #c0392b; border-radius: 4px; }

/* 18: NORDIC LIGHT */
body.theme-nordic_light { background: #f6f7f4; color: #2f3e46; font-family: 'DM Sans', sans-serif; }
body.theme-nordic_light .menu-header { background: #cad2c5; }
body.theme-nordic_light .category-title { border-bottom: 0; color: #354f52; font-size: 1.3rem; letter-spacing: -.3px; }
body.theme-nordic_light .menu-card { background: #fff; border: 0; border-radius: 4px; box-shadow: 0 8px 20px -8px rgba(47,62,70,.35); color: #2f3e46; }
body.theme-nordic_light .product-price { color: #52796f; }
body.theme-nordic_light .cat-tab { background: #e9ede7; color: #52796f; padding: 8px 16px; border-radius: 999px; text-decoration: none; font-size: .85rem; font-weight: 600; }
body.theme-nordic_light .cat-tab.active, body.theme-nordic_light .cat-tab:hover { background: #52796f; color: #fff; }

/* 19: PIZZERIA RUSTIC */
body.theme-pizzeria_rustic { background: #f3e5d0; color: #3e2a1e; font-family: 'Bitter', serif; }
body.theme-pizzeria_rustic .menu-header { background: #8c3b1f; color: #f3e5d0; border-bottom: 5px double #f3e5d0; }
body.theme-pizzeria_rustic h1 { font-family: 'Caveat', cursive; font-size: 2.8rem !important; color: #f3e5d0; }
body.theme-pizzeria_rustic .category-title { font-family: 'Caveat', cursive; font-size: 1.7rem; color: #8c3b1f; border-bottom: 2px solid #8c3b1f; }
body.theme-pizzeria_rustic .menu-card { background: #fff8ec; border: 2px solid #8c3b1f; border-radius: 8px; }
body.theme-pizzeria_rustic .category-nav { background: #f3e5d0; }
body.theme-pizzeria_rustic .cat-tab { background: transparent; color: #8c3b1f; padding: 8px 14px; border-radius: 0; border-bottom: 3px solid transparent; text-decoration: none; font-weight: 700; font-size: .9rem; white-space: nowrap; }
body.theme-pizzeria_rustic .cat-tab.active, body.theme-pizzeria_rustic .cat-tab:hover { border-bottom-color: #8c3b1f; }

/* 20: SUSHI BAR */
body.theme-sushi_bar { background: #101214; color: #e8e6e3; font-family: 'Noto Sans JP', sans-serif; }
body.theme-sushi_bar .menu-header { background: #181a1d; border-bottom: 2px solid #ff6b6b; }
body.theme-sushi_bar h1 { color: #ff6b6b; letter-spacing: 1px; }
body.theme-sushi_bar .category-title { border-bottom: 1px solid #ff6b6b; color: #ff6b6b; }
body.theme-sushi_bar .menu-card { background: #1b1e22; border: 1px solid #2a2e33; border-radius: 14px; }
body.theme-sushi_bar .product-price { color: #ffb4a2; }
body.theme-sushi_bar .cat-tab { background: #23272c; color: #e8e6e3; text-decoration: none; font-weight: 700; }
body.theme-sushi_bar .cat-tab.active, body.theme-sushi_bar .cat-tab:hover { background: #ff6b6b; color: #101214; }

/* 21: BISTRO CHALK */
body.theme-bistro_chalk { background: #1f2a24; color: #f1f5ee; font-family: 'Patrick Hand', cursive; font-size: 1.08rem; }
body.theme-bistro_chalk .menu-header { background: transparent; color: #f1f5ee; }
body.theme-bistro_chalk h1 { font-family: 'Patrick Hand', cursive; text-shadow: 0 0 6px rgba(241,245,238,.35); }
body.theme-bistro_chalk .category-title { border-bottom: 2px dashed rgba(241,245,238,.6); text-transform: uppercase; letter-spacing: 3px; }
body.theme-bistro_chalk .menu-card { background: transparent; border: 0; border-bottom: 1px dashed rgba(241,245,238,.3); border-radius: 0; margin: 0; padding: 10px 0; }
body.theme-bistro_chalk .product-price { color: #ffd166; }
body.theme-bistro_chalk .category-nav { background: #1f2a24; }
body.theme-bistro_chalk .cat-tab { background: transparent; color: #f1f5ee; border: 2px dashed rgba(241,245,238,.5); border-radius: 12px; text-decoration: none; }
body.theme-bistro_chalk .cat-tab.active, body.theme-bistro_chalk .cat-tab:hover { background: #f1f5ee; color: #1f2a24; }

/* 22: TROPICAL JUICE */
body.theme-tropical_juice { background: #fff9e6; color: #2b2d42; font-family: 'Baloo 2', sans-serif; }
body.theme-tropical_juice .menu-header { background: transparent; }
body.theme-tropical_juice .category-title { border-bottom: 0; font-size: 1.4rem; background: linear-gradient(90deg, #ff7b00, #ff0069); -webkit-background-clip: text; background-clip: text; color: transparent; }
body.theme-tropical_juice .menu-card { background: #fff; border: 0; border-radius: 22px; box-shadow: 0 10px 24px -10px rgba(255,0,105,.35); }
body.theme-tropical_juice .product-price { color: #ff0069; font-weight: 800; }
body.theme-tropical_juice .category-nav { background: #fff9e6; }
body.theme-tropical_juice .cat-tab { background: linear-gradient(135deg, #ff7b00, #ff0069); color: #fff; text-decoration: none; font-weight: 800; }

/* 23: BAKERY PASTEL */
body.theme-bakery_pastel { background: #fff0f3; color: #5e3a47; font-family: 'Quicksand', sans-serif; }
body.theme-bakery_pastel .menu-header { background: #ffd6e0; }
body.theme-bakery_pastel h1 { color: #b5446e; }
body.theme-bakery_pastel .category-title { border-bottom: 3px dotted #ffa6c1; color: #b5446e; }
body.theme-bakery_pastel .menu-card { background: #fff; border: 2px solid #ffc2d1; border-radius: 24px; }
body.theme-bakery_pastel .product-price { color: #b5446e; }
body.theme-bakery_pastel .cat-tab { background: #ffe5ec; color: #b5446e; padding: 8px 16px; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: .85rem; }
body.theme-bakery_pastel .cat-tab.active, body.theme-bakery_pastel .cat-tab:hover { background: #b5446e; color: #fff; }

/* 24: STEAKHOUSE NOIR */
body.theme-steakhouse_noir { background: #0b0b0c; color: #e9e2d6; font-family: 'Jost', sans-serif; }
body.theme-steakhouse_noir h1, body.theme-steakhouse_noir .category-title { font-family: 'Cormorant Garamond', serif; }
body.theme-steakhouse_noir .menu-header { background: #0b0b0c; }
body.theme-steakhouse_noir .category-title { color: #c9a227; border-bottom: 1px solid #6d1a1a; font-size: 1.5rem; font-weight: 600; }
body.theme-steakhouse_noir .menu-card { background: #151517; border: 1px solid #3a1010; border-radius: 2px; }
body.theme-steakhouse_noir .product-price { color: #c9a227; font-family: 'Cormorant Garamond', serif; font-size: 1.15rem; }
body.theme-steakhouse_noir .cat-tab { background: transparent; color: #c9a227; border: 1px solid #6d1a1a; border-radius: 2px; text-decoration: none; text-transform: uppercase; letter-spacing: 1px; font-size: .78rem; padding: 8px 14px; white-space: nowrap; }
body.theme-steakhouse_noir .cat-tab.active, body.theme-steakhouse_noir .cat-tab:hover { background: #6d1a1a; color: #fff; }

/* 25: STREET POSTER (neo-brutalist) */
body.theme-street_poster { background: #ffe14d; color: #111; font-family: 'Space Grotesk', sans-serif; }
body.theme-street_poster .menu-header { background: #111; color: #ffe14d; border-bottom: 4px solid #111; }
body.theme-street_poster h1 { font-family: 'Archivo Black', sans-serif; color: #ffe14d; text-transform: uppercase; }
body.theme-street_poster .category-title { font-family: 'Archivo Black', sans-serif; text-transform: uppercase; border-bottom: 5px solid #111; opacity: 1; }
body.theme-street_poster .menu-card { background: #fff; border: 3px solid #111; border-radius: 0; box-shadow: 5px 5px 0 #111; }
body.theme-street_poster .product-price { color: #111; background: #ffe14d; padding: 1px 6px; border: 2px solid #111; }
body.theme-street_poster .cat-tab { background: #fff; color: #111; border: 3px solid #111; border-radius: 0; padding: 7px 14px; font-weight: 900; text-decoration: none; font-size: .85rem; box-shadow: 3px 3px 0 #111; }
body.theme-street_poster .cat-tab.active, body.theme-street_poster .cat-tab:hover { background: #111; color: #ffe14d; }
