/* Chickenti House — QR menü (kategori kartları, ürün listesi, ürün detayı) */
.qrm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.qrm-grid[hidden] { display: none; }
.qrm-grid--home { grid-template-columns: repeat(4, 1fr); }
.qrm-cat { position: relative; display: block; aspect-ratio: 3 / 2; border-radius: 18px; overflow: hidden; isolation: isolate; color: #fff; box-shadow: 0 12px 28px rgba(36, 21, 15, .16); border: 3px solid #fff; }
.qrm-cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.qrm-cat::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(36, 21, 15, 0) 35%, rgba(36, 21, 15, .82)); }
.qrm-cat:hover img { transform: scale(1.07); }
.qrm-cat__name { position: absolute; left: 16px; right: 16px; bottom: 30px; font-family: var(--font-head); font-size: clamp(20px, 2.2vw, 28px); line-height: 1.05; text-transform: uppercase; text-shadow: 0 2px 10px rgba(0, 0, 0, .5); }
.qrm-cat__count { position: absolute; left: 16px; bottom: 10px; font-size: 11px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--mustard); }

.qrm-head { padding: clamp(24px, 4vw, 50px) 0 22px; }
.qrm-head__logo { width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 12px; box-shadow: 0 8px 20px rgba(36, 21, 15, .18); }
.qrm-head .title { font-size: clamp(40px, 6vw, 68px); }
.qrm-head__lead { margin: 18px auto 0; max-width: 520px; color: var(--muted); }
.qrm--cat .qrm-head { display: none; }
.qrm-body { background: var(--wheat); padding: clamp(26px, 4vw, 54px) 0; }
.qrm-wrap { max-width: 1040px; }

.qrm-list { margin: 0 0 40px; }
.qrm--js .qrm-list { display: none; margin: 0; }
.qrm--js .qrm-list.is-open { display: block; animation: qrm-in .35s ease both; }
@keyframes qrm-in { from { opacity: 0; transform: translateY(10px); } }
.qrm-back { display: none; align-items: center; gap: 8px; border: 2px solid var(--red); background: #fff; color: var(--red); border-radius: 999px; padding: 8px 18px; font-weight: 800; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; }
.qrm--js .qrm-back { display: inline-flex; }
.qrm-back:hover { background: var(--red); color: #fff; }
.qrm-list__title { text-align: center; font-size: clamp(32px, 4.4vw, 50px); text-transform: uppercase; margin: 18px 0 22px; padding-bottom: 14px; border-bottom: 2px solid rgba(200, 16, 46, .2); }
.qrm-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.qrm-item { width: 100%; display: grid; grid-template-columns: 76px 1fr auto; align-items: center; gap: 14px; padding: 10px 14px 10px 10px; border: 0; border-radius: 16px; background: #fff; text-align: left; box-shadow: 0 6px 18px rgba(36, 21, 15, .08); transition: transform .2s, box-shadow .2s; color: var(--ink); }
.qrm-item:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(36, 21, 15, .14); }
.qrm-item__img { width: 76px; height: 76px; border-radius: 12px; overflow: hidden; background: var(--cream); }
.qrm-item__img img { width: 100%; height: 100%; object-fit: cover; }
.qrm-item__txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.qrm-item__txt b { font-size: 16px; line-height: 1.25; }
.qrm-item__txt small { font-size: 13px; color: var(--muted); line-height: 1.35; }
.qrm-item__txt em { font-style: normal; font-family: var(--font-head); font-size: 19px; color: var(--red); }
.qrm-item__txt em i { font-family: var(--font-body); font-style: normal; font-size: 11px; font-weight: 800; color: var(--ink); background: var(--mustard); border-radius: 999px; padding: 2px 8px; margin-left: 8px; vertical-align: 3px; }
.qrm-item__go { font-size: 28px; color: var(--red); opacity: .6; }
.qrm-item.is-out { opacity: .55; }
.qrm-item.is-out em { color: var(--muted); }
.qrm-note { text-align: center; font-size: 13px; color: var(--muted); margin: 30px 0 0; }

.qrm-loyal { padding: clamp(40px, 6vw, 70px) 0 0; }
.qrm-loyal__box { display: grid; grid-template-columns: auto 1fr auto; gap: 26px; align-items: center; background: linear-gradient(150deg, #e2343a, #c8102e 55%, #8f0b21); color: #fff; border-radius: 22px; padding: 26px 32px; max-width: 1040px; }
.qrm-loyal__box img { width: 120px; height: auto; filter: drop-shadow(0 12px 20px rgba(0, 0, 0, .35)); }
.qrm-loyal__box .eyebrow { color: #ffd166; margin-bottom: 4px; }
.qrm-loyal__box h2 { color: #fff; font-size: clamp(24px, 3vw, 34px); margin-bottom: 6px; }
.qrm-loyal__box p { margin: 0; opacity: .92; }
.qrm-loyal .btn--light { color: #fff; }

/* Ürün detayı */
.qrm-sheet { position: fixed; inset: 0; z-index: 120; display: flex; align-items: center; justify-content: center; padding: 16px; }
.qrm-sheet[hidden] { display: none; }
.qrm-sheet__bg { position: absolute; inset: 0; background: rgba(36, 21, 15, .72); backdrop-filter: blur(3px); opacity: 0; transition: opacity .2s; }
.qrm-sheet__box { position: relative; width: min(460px, 100%); max-height: calc(100dvh - 32px); overflow: auto; background: var(--cream); border-radius: 22px; border: 4px solid var(--red); box-shadow: 0 30px 60px rgba(0, 0, 0, .4); transform: translateY(20px) scale(.97); opacity: 0; transition: transform .25s cubic-bezier(.2, 1.2, .4, 1), opacity .2s; }
.qrm-sheet.is-open .qrm-sheet__bg { opacity: 1; }
.qrm-sheet.is-open .qrm-sheet__box { transform: none; opacity: 1; }
.qrm-sheet__x { position: absolute; top: 10px; right: 10px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--red); color: #fff; font-size: 16px; }
.qrm-sheet__img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; background: #fff; }
.qrm-sheet__body { padding: 20px 22px 24px; text-align: center; }
.qrm-sheet__body h3 { font-size: 28px; text-transform: uppercase; }
.qrm-sheet__desc { margin: 10px 0 0; color: var(--muted); }
.qrm-sheet__badge { margin: 12px auto 0; display: inline-block; background: var(--mustard); color: var(--ink); font-weight: 800; font-size: 13px; border-radius: 999px; padding: 6px 14px; }
.qrm-sheet__badge[hidden] { display: none; }
.qrm-sheet__price { margin-top: 14px; font-family: var(--font-head); font-size: 34px; color: var(--red); }

@media (max-width: 960px) {
	.qrm-grid--home { grid-template-columns: repeat(2, 1fr); }
	.qrm-loyal__box { grid-template-columns: 1fr; text-align: center; justify-items: center; }
}
@media (max-width: 700px) {
	.qrm-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	.qrm-cat { border-radius: 14px; border-width: 2px; }
	.qrm-cat__name { left: 12px; bottom: 26px; font-size: 18px; }
	.qrm-cat__count { left: 12px; bottom: 8px; font-size: 10px; }
	.qrm-item { grid-template-columns: 64px 1fr auto; gap: 12px; }
	.qrm-item__img { width: 64px; height: 64px; }
	.qrm-item__txt b { font-size: 15px; }
}
