/* ====================================================
   LezizMekanlar v2 - Ana CSS
   ==================================================== */

:root {
    --primary:        #E8192C;
    --primary-dark:   #c4151f;
    --primary-light:  #ffeef0;
    --secondary:      #1a1a2e;
    --text-main:      #1f2937;
    --text-muted:     #6b7280;
    --text-light:     #9ca3af;
    --bg-page:        #f5f5f5;
    --bg-white:       #ffffff;
    --border:         #e5e7eb;
    --border-light:   #f3f4f6;
    --shadow-xs:      0 1px 2px rgba(0,0,0,.05);
    --shadow-sm:      0 1px 8px rgba(0,0,0,.08);
    --shadow-md:      0 4px 20px rgba(0,0,0,.12);
    --shadow-lg:      0 10px 40px rgba(0,0,0,.15);
    --radius-sm:      8px;
    --radius-md:      12px;
    --radius-lg:      20px;
    --radius-pill:    999px;
    --header-h:       68px;
    --transition:     .22s ease;
}

/* ── Reset & Base ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { 
    scroll-behavior: smooth; 
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
}
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-page);
    color: var(--text-main);
    font-size: 15px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
input, button, select, textarea { font-family: inherit; }

/* ── Layout ─────────────────────────────────────────── */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}
.section { margin-bottom: 36px; }
.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}
.section-head h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
}
.section-head h2 .icon { color: var(--primary); }
.section-head .sub {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 400;
    margin-top: 2px;
}
.view-all {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    transition: gap var(--transition);
}
.view-all:hover { gap: 8px; }

/* ── Header ─────────────────────────────────────────── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
    height: var(--header-h);
    box-shadow: var(--shadow-xs);
}
.header-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    height: 100%;
}
.logo-location-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}
.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--secondary);
    flex-shrink: 0;
    text-decoration: none;
}
.logo-img {
    width: 34px;
    height: 34px;
    object-fit: contain;
    border-radius: 9px;
    transition: transform var(--transition);
}
.logo:hover .logo-img {
    transform: scale(1.08);
}
.logo-icon {
    width: 34px; height: 34px;
    background: var(--primary);
    color: #fff;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 900;
}

/* Page Loader Overlay */
.page-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    opacity: 1;
    visibility: visible;
}
.page-preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}
.preloader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}
.preloader-logo {
    position: relative;
    width: 90px;
    height: 90px;
    animation: preloader-pulse 2s infinite ease-in-out;
}
.preloader-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.preloader-spinner {
    width: 44px;
    height: 44px;
    border: 3.5px solid rgba(232, 25, 44, 0.08);
    border-top: 3.5px solid var(--primary, #E8192C);
    border-radius: 50%;
    animation: preloader-spin 0.8s cubic-bezier(0.55, 0.085, 0.68, 0.53) infinite;
}

@keyframes preloader-pulse {
    0%, 100% {
        transform: scale(0.96);
        filter: drop-shadow(0 4px 8px rgba(232, 25, 44, 0.1));
    }
    50% {
        transform: scale(1.04);
        filter: drop-shadow(0 12px 20px rgba(232, 25, 44, 0.22));
    }
}
@keyframes preloader-spin {
    to {
        transform: rotate(360deg);
    }
}
.header-location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    white-space: nowrap;
    transition: border-color var(--transition);
}
.header-location:hover { border-color: var(--primary); }
.header-location i { color: var(--primary); }
.location-text {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
    vertical-align: middle;
}
.header-search {
    flex: 1;
    position: relative;
    max-width: 520px;
}
.header-search i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.9rem;
}
.header-search input {
    width: 100%;
    padding: 10px 16px 10px 40px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-pill);
    font-size: 0.88rem;
    background: var(--bg-page);
    color: var(--text-main);
    outline: none;
    transition: all var(--transition);
}
.header-search input:focus {
    border-color: var(--primary);
    background: var(--bg-white);
    box-shadow: 0 0 0 3px rgba(232,25,44,.08);
}
.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    flex-shrink: 0;
}
.icon-btn {
    width: 36px; height: 36px;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    background: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    transition: all var(--transition);
    font-size: 0.88rem;
    color: var(--text-muted);
    flex-shrink: 0;
}
.icon-btn:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }
.badge-dot {
    position: absolute;
    top: -3px; right: -3px;
    min-width: 17px; height: 17px;
    padding: 0 4px;
    background: var(--primary);
    color: #fff;
    border-radius: 10px;
    font-size: 0.6rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg-white);
    line-height: 1;
}
.user-chip {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px 4px 4px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: all var(--transition);
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}
.user-chip:hover { border-color: var(--primary); background: var(--primary-light); }
.user-avatar {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.btn-add-rest {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--primary);
    color: #fff;
    border-radius: var(--radius-pill);
    font-size: 0.82rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: background var(--transition);
    white-space: nowrap;
}
.btn-add-rest:hover { background: var(--primary-dark); }

/* ── Hero ────────────────────────────────────────────── */
.hero {
    background: var(--bg-white);
    margin-bottom: 24px;
    padding: 48px 0 40px;
    border-bottom: 1px solid var(--border);
    overflow: hidden;
    position: relative;
}
.hero-inner {
    display: flex;
    align-items: center;
    gap: 40px;
    position: relative;
}
.hero-left { flex: 1; z-index: 2; }
.hero-title {
    font-size: 2.6rem;
    font-weight: 900;
    color: var(--secondary);
    line-height: 1.15;
    margin-bottom: 10px;
}
.hero-sub {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 28px;
}
.hero-search-bar {
    display: flex;
    align-items: center;
    background: var(--bg-white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-md);
    padding: 6px 6px 6px 20px;
    gap: 10px;
    max-width: 500px;
    margin-bottom: 28px;
}
.hero-search-bar i { color: var(--text-muted); font-size: 0.95rem; }
.hero-search-bar input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 0.95rem;
    background: transparent;
    color: var(--text-main);
}
.hero-search-bar .sep {
    width: 1px;
    height: 26px;
    background: var(--border);
    flex-shrink: 0;
}
.hero-search-bar .location-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
    white-space: nowrap;
    cursor: pointer;
}
.hero-search-bar .location-pill i { color: var(--primary); }
.hero-search-bar .btn-search {
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: var(--radius-pill);
    padding: 10px 22px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background var(--transition);
    flex-shrink: 0;
}
.hero-search-bar .btn-search:hover { background: var(--primary-dark); }
.quick-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.quick-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--bg-white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    transition: all var(--transition);
}
.quick-link i { color: var(--primary); font-size: 1.1rem; }
.quick-link:hover { border-color: var(--primary); background: var(--primary-light); }
.quick-link.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.quick-link.active i { color: #fff; }
.hero-right {
    flex-shrink: 0;
    width: 420px;
    height: 340px;
    position: relative;
}
.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    box-shadow: var(--shadow-lg);
}

/* ── Kategoriler ──────────────────────────────────── */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}
.cat-item {
    background: var(--bg-white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    padding: 18px 10px;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.cat-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
    transform: translateY(-3px);
}
.cat-item.active {
    border-color: var(--primary);
    background: var(--primary-light);
}
.cat-icon {
    width: 52px; height: 52px;
    border-radius: 50%;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--primary);
    transition: all var(--transition);
}
.cat-item:hover .cat-icon,
.cat-item.active .cat-icon {
    background: var(--primary);
    color: #fff;
}
.cat-name {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-main);
    line-height: 1.3;
}

/* ── Hızlı Filtreler ─────────────────────────────── */
.filters-row {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
}
.filters-row::-webkit-scrollbar { display: none; }
.filter-tag {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    background: var(--bg-white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-pill);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-main);
    white-space: nowrap;
    cursor: pointer;
    transition: all var(--transition);
    flex-shrink: 0;
}
.filter-tag i { color: var(--primary); font-size: 0.85rem; }
.filter-tag:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.filter-tag:hover i { color: #fff; }
.filter-tag.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.filter-tag.active i { color: #fff; }

/* ── Restoran Kartı ──────────────────────────────── */
.rest-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    border: 1.5px solid var(--border);
    overflow: hidden;
    transition: all var(--transition);
    flex-shrink: 0;
}
.rest-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
    border-color: transparent;
}
.rest-card-img {
    height: 178px;
    position: relative;
    overflow: hidden;
    background: #eee;
}
.rest-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.rest-card:hover .rest-card-img img { transform: scale(1.05); }
.rest-badge {
    position: absolute;
    top: 10px; left: 10px;
    padding: 4px 9px;
    border-radius: 6px;
    font-size: 0.68rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: .4px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 4px;
}
.badge-gurme  { background: var(--primary); }
.badge-sef    { background: #16a34a; }
.badge-ozel   { background: #7c3aed; }
.fav-btn {
    position: absolute;
    top: 10px; right: 10px;
    width: 30px; height: 30px;
    border-radius: 50%;
    background: rgba(255,255,255,.85);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-muted);
    transition: all var(--transition);
    border: none;
    font-size: 0.85rem;
}
.fav-btn:hover { color: var(--primary); background: #fff; }
.fav-btn.active { color: var(--primary); }
.rest-card-body { padding: 14px; }
.rest-card-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--text-main);
}
.rest-card-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}
.rest-rating {
    color: #f59e0b;
    font-weight: 700;
    font-size: 0.82rem;
}
.rest-card-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 10px;
    border-top: 1px solid var(--border-light);
    margin-top: 10px;
}
.chef-avatar {
    width: 28px; height: 28px;
    border-radius: 50%;
    object-fit: cover;
    background: #ddd;
    flex-shrink: 0;
}
.chef-info { font-size: 0.75rem; color: var(--text-muted); line-height: 1.3; }
.chef-info strong { color: var(--text-main); font-weight: 600; display: block; }

/* ── Yatay Kaydırma Listesi ──────────────────────── */
.h-scroll {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: none;
}
.h-scroll::-webkit-scrollbar { display: none; }
.h-scroll .rest-card { min-width: 220px; }

/* ── Orta Banner ─────────────────────────────────── */
.mid-banner {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 200px;
    margin-bottom: 36px;
    cursor: pointer;
}
.mid-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.mid-banner:hover img { transform: scale(1.03); }
.mid-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.2) 70%, transparent 100%);
    display: flex;
    align-items: center;
    padding: 0 40px;
}
.mid-banner-content { color: #fff; }
.mid-banner-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,.7);
    margin-bottom: 6px;
}
.mid-banner-title {
    font-size: 1.6rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 6px;
}
.mid-banner-sub { font-size: 0.88rem; color: rgba(255,255,255,.8); }
.mid-banner-logo {
    position: absolute;
    bottom: 20px; right: 30px;
    background: rgba(255,255,255,.15);
    backdrop-filter: blur(8px);
    border-radius: var(--radius-md);
    padding: 10px 20px;
    font-size: 1.1rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: 1px;
}

/* ── Mekan Kartı (Grid) ───────────────────────────── */
.rest-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}
.rest-grid .rest-card-img { height: 140px; }
.rest-grid .rest-card-body { padding: 12px; }
.rest-grid .rest-card-title { font-size: 0.88rem; }

/* ── CTA Banner ──────────────────────────────────── */
.cta-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    margin-bottom: 40px;
    box-shadow: var(--shadow-sm);
    gap: 20px;
}
.cta-left {
    display: flex;
    align-items: center;
    gap: 20px;
}
.cta-icon {
    width: 56px; height: 56px;
    border-radius: var(--radius-md);
    background: var(--primary-light);
    color: var(--primary);
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.cta-text h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 4px;
}
.cta-text p {
    font-size: 0.83rem;
    color: var(--text-muted);
    line-height: 1.5;
}
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 26px;
    background: var(--primary);
    color: #fff;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}
.btn-primary:hover {
    background: var(--primary-dark);
    box-shadow: 0 4px 14px rgba(232,25,44,.35);
    transform: translateY(-1px);
}
.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    transition: all var(--transition);
}
.btn-outline:hover {
    background: var(--primary);
    color: #fff;
}

/* ── Footer ──────────────────────────────────────── */
.site-footer {
    background: var(--bg-white);
    border-top: 1px solid var(--border);
    padding: 48px 0 24px;
    margin-top: 20px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr repeat(4, 1fr);
    gap: 32px;
    margin-bottom: 36px;
}
.footer-brand p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 12px;
    line-height: 1.7;
    max-width: 260px;
}
.footer-socials {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}
.social-icon {
    width: 34px; height: 34px;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: all var(--transition);
    cursor: pointer;
}
.social-icon:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
}
.footer-col h4 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--text-main);
}
.footer-col ul li {
    margin-bottom: 8px;
}
.footer-col ul li a {
    font-size: 0.83rem;
    color: var(--text-muted);
    transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--primary); }
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ── Giriş / Kayıt Sayfası ───────────────────────── */
/* User & Restaurant Theme Differences */
body.auth-user-mode {
    --primary: #E8192C;
    --primary-dark: #c4151f;
    --primary-light: #ffeef0;
}
body.auth-user-mode .auth-page {
    background: radial-gradient(circle at 10% 20%, #fff0f1 0%, #fafafa 100%) !important;
}
body.auth-user-mode .auth-card {
    background: #ffffff !important;
    border: 1px solid #f3f4f6 !important;
    border-top: 3px solid #E8192C !important;
    box-shadow: 0 20px 40px rgba(232, 25, 44, 0.05), 0 8px 16px rgba(0,0,0,0.02) !important;
}
body.auth-user-mode .help-link {
    color: #E8192C !important;
}
body.auth-user-mode .remember-me-label input {
    accent-color: #E8192C !important;
}

body.auth-restaurant-mode {
    --primary: #E8192C !important; /* Premium brand red */
    --primary-dark: #be123c !important;
    --primary-light: rgba(232, 25, 44, 0.15) !important;
    --secondary: #fdfdfd !important;
}
body.auth-restaurant-mode .auth-page {
    background: linear-gradient(135deg, #fffcfc 0%, #fbf3f3 100%) !important;
}
body.auth-restaurant-mode .auth-card {
    background: #ffffff !important;
    border: 1.5px solid var(--border) !important;
    border-top: 3px solid #E8192C !important;
    box-shadow: var(--shadow-md) !important;
}
body.auth-restaurant-mode .help-link {
    color: #E8192C !important;
}
body.auth-restaurant-mode .remember-me-label {
    color: var(--text-muted) !important;
}
body.auth-restaurant-mode .remember-me-label input {
    accent-color: #E8192C !important;
}

.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-page);
    padding: 40px 20px;
    transition: background 0.3s ease;
}
.auth-card {
    background: var(--bg-white);
    border-radius: 20px;
    border: 1.5px solid var(--border);
    padding: 36px;
    width: 100%;
    max-width: 420px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

/* Tab Switcher ABOVE the card */
.auth-switcher {
    display: flex;
    background: var(--bg-white);
    padding: 4px;
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-xs);
    margin-bottom: 24px;
    width: 100%;
    max-width: 320px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}
.auth-switcher .switcher-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    border-radius: var(--radius-pill);
    transition: all var(--transition);
    text-decoration: none;
    white-space: nowrap;
}
.auth-switcher .switcher-btn.active {
    background: #E8192C;
    color: #fff;
    box-shadow: 0 4px 12px rgba(232, 25, 44, 0.2);
}
body.auth-restaurant-mode .auth-switcher {
    background: var(--bg-white) !important;
    border-color: var(--border) !important;
    box-shadow: var(--shadow-xs) !important;
}
body.auth-restaurant-mode .auth-switcher .switcher-btn {
    color: var(--text-muted) !important;
}
body.auth-restaurant-mode .auth-switcher .switcher-btn.active {
    background: #E8192C !important;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(232, 25, 44, 0.2) !important;
}

/* Brand Logo Wrap */
.logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
}
.logo-icon-sq {
    width: 36px;
    height: 36px;
    background: #E8192C;
    color: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(232, 25, 44, 0.15);
    transition: all 0.3s ease;
}
body.auth-restaurant-mode .logo-icon-sq {
    background: #E8192C !important;
    box-shadow: 0 4px 12px rgba(232, 25, 44, 0.15) !important;
}
.logo-text-brand {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #1f2937;
    transition: color 0.3s ease;
}
body.auth-restaurant-mode .logo-text-brand {
    color: #1f2937 !important;
}
.logo-text-brand .dot {
    color: #E8192C;
    transition: color 0.3s ease;
}
body.auth-restaurant-mode .logo-text-brand .dot {
    color: #E8192C !important;
}

/* Pill Badges */
.auth-badge-container {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}
.auth-badge-gurme {
    background: #ffeef0;
    color: #E8192C;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.5px;
}
.auth-badge-partner {
    background: #ffeef0 !important;
    color: #E8192C !important;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.5px;
    border: none !important;
}

.auth-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1f2937;
    text-align: center;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
    transition: color 0.3s ease;
}
body.auth-restaurant-mode .auth-title {
    color: #ffffff;
}
.auth-sub {
    font-size: 0.83rem;
    color: #6b7280;
    text-align: center;
    line-height: 1.5;
    margin-bottom: 24px;
    transition: color 0.3s ease;
}
body.auth-restaurant-mode .auth-sub {
    color: #94a3b8;
}

/* Input Icon Wrapper */
.input-icon-wrapper {
    position: relative;
    width: 100%;
}
.input-icon-wrapper .input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    font-size: 1rem;
    pointer-events: none;
    transition: color var(--transition);
}
.input-icon-wrapper .form-control {
    padding-left: 46px !important;
    border-radius: var(--radius-md) !important;
    height: 48px;
    border-width: 1.5px !important;
}
body.auth-restaurant-mode .form-control {
    background: #ffffff !important;
    border-color: var(--border) !important;
    color: var(--text-main) !important;
}
body.auth-restaurant-mode .form-control:focus {
    border-color: #E8192C !important;
    box-shadow: 0 0 0 3px rgba(232, 25, 44, 0.15) !important;
}
body.auth-restaurant-mode .input-icon-wrapper .input-icon {
    color: var(--text-light) !important;
}
body.auth-restaurant-mode .form-control:focus + .input-icon {
    color: #E8192C !important;
}

/* Button & Pill Formats */
.btn-pill {
    border-radius: var(--radius-pill) !important;
    transition: all var(--transition);
}
body.auth-restaurant-mode .btn-primary {
    background: #E8192C !important;
    border: none !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(232, 25, 44, 0.2) !important;
}
body.auth-restaurant-mode .btn-primary:hover {
    background: #be123c !important;
    box-shadow: 0 6px 16px rgba(232, 25, 44, 0.3) !important;
    transform: translateY(-1px) !important;
}



.auth-terms-footer {
    text-align: center;
    font-size: 0.7rem;
    color: #94a3b8;
    margin-top: 24px;
    width: 100%;
}
body.auth-user-mode .auth-terms-footer {
    color: #9ca3af;
}
.auth-terms-footer strong {
    color: inherit;
    font-weight: 600;
}
.form-group { margin-bottom: 16px; }
.form-label {
    display: block;
    font-size: 0.83rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 6px;
}
.form-control {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    color: var(--text-main);
    background: var(--bg-white);
    outline: none;
    transition: all var(--transition);
}
.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(232,25,44,.08);
}
.form-control::placeholder { color: var(--text-light); }
.btn-block { width: 100%; justify-content: center; }
.divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 20px 0;
    color: var(--text-muted);
    font-size: 0.82rem;
}
.divider::before, .divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}
.btn-google {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 11px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    background: var(--bg-white);
    transition: all var(--transition);
}
.btn-google:hover { border-color: var(--primary); background: var(--primary-light); }
.otp-inputs {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 20px 0;
}
.otp-input {
    width: 50px; height: 56px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    text-align: center;
    font-size: 1.4rem;
    font-weight: 700;
    outline: none;
    transition: all var(--transition);
}
.otp-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(232,25,44,.08); }

/* ── Flash Mesaj ─────────────────────────────────── */
.flash {
    padding: 12px 18px;
    border-radius: var(--radius-sm);
    font-size: 0.87rem;
    font-weight: 500;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.flash-success { background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0; }
.flash-error   { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }
.flash-info    { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }

/* ── Admin / Panel Ortak ─────────────────────────── */
.admin-layout {
    display: flex;
    min-height: 100vh;
}
.sidebar {
    width: 240px;
    background: var(--secondary);
    color: #fff;
    flex-shrink: 0;
    padding: 24px 0;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}
.sidebar-logo {
    padding: 0 24px 24px;
    border-bottom: 1px solid rgba(255,255,255,.1);
    margin-bottom: 16px;
}
.sidebar-logo .logo { color: #fff; }
.sidebar-logo .logo-icon { background: var(--primary); }
.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 24px;
    color: rgba(255,255,255,.65);
    font-size: 0.87rem;
    font-weight: 500;
    transition: all var(--transition);
}
.sidebar-nav a:hover { color: #fff; background: rgba(255,255,255,.08); }
.sidebar-nav a.active { color: #fff; background: var(--primary); }
.sidebar-nav a i { width: 18px; text-align: center; }
.sidebar-section {
    padding: 16px 24px 8px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,.35);
}
.admin-content { flex: 1; padding: 30px; background: var(--bg-page); overflow-x: auto; }
.page-header {
    margin-bottom: 28px;
}
.page-header h1 { font-size: 1.4rem; font-weight: 800; }
.page-header p { font-size: 0.87rem; color: var(--text-muted); margin-top: 4px; }
.stat-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 28px;
}
.stat-card {
    background: var(--bg-white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}
.stat-icon {
    width: 46px; height: 46px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.stat-icon.red   { background: var(--primary-light); color: var(--primary); }
.stat-icon.green { background: #f0fdf4; color: #16a34a; }
.stat-icon.blue  { background: #eff6ff; color: #2563eb; }
.stat-icon.purple{ background: #faf5ff; color: #7c3aed; }
.stat-value { font-size: 1.6rem; font-weight: 800; line-height: 1; }
.stat-label { font-size: 0.78rem; color: var(--text-muted); margin-top: 3px; }
.card {
    background: var(--bg-white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 20px;
}
.card-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.card-body { padding: 20px; }
.table { width: 100%; border-collapse: collapse; font-size: 0.87rem; }
.table th {
    padding: 10px 14px;
    text-align: left;
    font-weight: 700;
    color: var(--text-muted);
    border-bottom: 1.5px solid var(--border);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.table td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--border-light);
    vertical-align: middle;
}
.table tbody tr:hover { background: var(--bg-page); }
.table tbody tr:last-child td { border-bottom: none; }
.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    font-size: 0.72rem;
    font-weight: 700;
}
.status-approved  { background: #f0fdf4; color: #16a34a; }
.status-pending   { background: #fffbeb; color: #d97706; }
.status-rejected  { background: #fef2f2; color: #dc2626; }
.status-suspended { background: #f5f3ff; color: #7c3aed; }

/* ── Restoran Detay (Modern) ──────────────────────── */
.rd-hero {
    height: auto;
    position: relative;
    background: #111;
    overflow: hidden;
}
.rd-hero img {
    width: 100%;
    height: auto;
    max-height: 550px;
    object-fit: cover;
    display: block;
    opacity: 0.9;
}
.rd-hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.75) 100%);
}
.rd-hero-content {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 32px clamp(16px, 5vw, 60px);
    color: #fff;
}
.rd-hero-title {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 900;
    margin: 10px 0 8px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}
.rd-hero-sub {
    display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
    font-size: 0.88rem;
    color: rgba(255,255,255,.8);
}
.rd-open-status { font-weight: 700; font-size: 0.82rem; }
.rd-badge {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.72rem; font-weight: 700;
    backdrop-filter: blur(8px);
}
.rd-badge-gurme {
    background: rgba(239,68,68,.15);
    color: #fca5a5;
    border: 1px solid rgba(239,68,68,.25);
}

/* Actions Bar */
.rd-actions {
    display: flex; gap: 10px; flex-wrap: wrap;
    margin: 20px 0 16px;
}
.rd-action-btn {
    flex: 1 1 0;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 0.88rem; font-weight: 600;
    text-decoration: none;
    background: var(--bg-white);
    color: var(--text-main);
    border: 1.5px solid var(--border);
    transition: all .2s;
    white-space: nowrap;
}
.rd-action-btn:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,.06); }
.rd-action-btn i { font-size: 1rem; }
.rd-action-primary {
    background: var(--primary) !important;
    color: #fff !important;
    border-color: var(--primary) !important;
}
.rd-action-primary:hover { opacity: 0.9; color: #fff !important; }

/* Rating Bar */
.rd-rating-bar {
    display: flex; gap: 12px; flex-wrap: wrap;
    margin-bottom: 24px;
}
.rd-rating-pill {
    display: flex; align-items: center; gap: 8px;
    padding: 10px 16px;
    background: var(--bg-white);
    border: 1.5px solid var(--border);
    border-radius: 12px;
    font-size: 0.88rem;
}
.rd-rating-pill strong { font-size: 1.1rem; font-weight: 800; color: var(--text-main); }
.rd-rating-pill span { color: var(--text-muted); font-size: 0.8rem; }

/* Feature Tags */
.rd-tags {
    display: flex; flex-wrap: wrap; gap: 8px;
    margin-bottom: 24px;
}
.rd-tag {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 7px 14px;
    background: var(--bg-white);
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-size: 0.82rem; font-weight: 600;
    color: var(--text-muted);
    transition: all .2s;
}
.rd-tag:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-1px); box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.rd-tag i { font-size: .85rem; }
.rd-tag-badge {
    background: #fef3c7; border-color: #fbbf24; color: #92400e;
}
.rd-tag-badge i { color: #f59e0b; }
.rd-tag-cuisine {
    background: #ecfdf5; border-color: #6ee7b7; color: #065f46;
}
.rd-tag-cuisine i { color: #10b981; }
.rd-tag-category {
    background: var(--primary-light); border-color: var(--primary); color: var(--primary-dark);
    text-decoration: none;
}
.rd-tag-category i { color: var(--primary); }
.rd-tag-category:hover { background: var(--primary); color: #fff; }
.rd-tag-category:hover i { color: #fff; }

/* Grid */
.rd-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 28px;
    padding-bottom: 40px;
}
.rd-main { min-width: 0; }

/* Sections */
.rd-section { margin-bottom: 28px; }
.rd-section-title {
    font-size: 1.1rem; font-weight: 800;
    margin-bottom: 14px;
    color: var(--text-main);
}
.rd-section-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 16px;
}
.rd-desc { font-size: .9rem; color: var(--text-muted); line-height: 1.8; }

/* Photo Grid */
.rd-photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
}
.rd-photo-item {
    height: 140px;
    border-radius: 12px;
    overflow: hidden;
}
.rd-photo-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.rd-photo-item:hover img { transform: scale(1.05); }

/* Show Reviews Button */
.rd-show-reviews-btn {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    width: 100%;
    padding: 14px;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    background: var(--bg-white);
    color: var(--text-main);
    font-size: 0.9rem; font-weight: 600;
    cursor: pointer;
    transition: all .2s;
}
.rd-show-reviews-btn:hover { border-color: var(--primary); color: var(--primary); }

/* Review Filters */
.rd-review-filters {
    display: flex; gap: 6px;
}
.rd-filter-btn {
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.78rem; font-weight: 600;
    border: 1.5px solid var(--border);
    background: var(--bg-white);
    color: var(--text-muted);
    cursor: pointer;
    transition: all .2s;
    display: flex; align-items: center; gap: 5px;
}
.rd-filter-btn:hover { border-color: var(--primary); color: var(--primary); }
.rd-filter-btn.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* Review Card */
.rd-review {
    background: var(--bg-white);
    border: 1.5px solid var(--border);
    border-radius: 14px;
    padding: 20px;
    margin-top: 12px;
    transition: box-shadow .2s;
}
.rd-review:hover { box-shadow: 0 4px 16px rgba(0,0,0,.05); }
.rd-review-top { display: flex; align-items: center; gap: 12px; }
.rd-review-avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fee2e2, #fecaca);
    color: var(--primary);
    font-weight: 800; font-size: .95rem;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.rd-review-info { flex: 1; min-width: 0; }
.rd-review-name { font-weight: 700; font-size: .9rem; display: flex; align-items: center; gap: 6px; }
.rd-review-date { font-size: .75rem; color: var(--text-muted); margin-top: 2px; }
.rd-review-stars { color: #f59e0b; font-size: .85rem; flex-shrink: 0; }
.rd-review-text { font-size: .87rem; color: var(--text-muted); line-height: 1.7; margin-top: 12px; }
.rd-review-source {
    font-size: .73rem; color: var(--text-muted);
    margin-top: 14px; padding-top: 10px;
    border-top: 1px solid var(--border);
    display: flex; align-items: center; gap: 6px;
}
.rd-review-source.google i { color: #4285f4; }
.rd-review-source.gurme i { color: #10b981; }
.rd-gurme-tag {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 2px 8px;
    background: #ecfdf5;
    color: #059669;
    border-radius: 10px;
    font-size: .68rem; font-weight: 700;
}

/* Empty state */
.rd-empty {
    text-align: center;
    padding: 48px 20px;
    background: var(--bg-white);
    border: 1.5px dashed var(--border);
    border-radius: 14px;
    color: var(--text-muted);
}
.rd-empty i { font-size: 2rem; margin-bottom: 10px; display: block; }

/* Sidebar */
.rd-sidebar {
    position: sticky;
    top: calc(var(--header-h) + 16px);
    height: fit-content;
}
.rd-sidebar-card {
    background: var(--bg-white);
    border: 1.5px solid var(--border);
    border-radius: 16px;
    padding: 22px;
    margin-bottom: 16px;
}
.rd-sidebar-card h3 {
    font-size: .95rem; font-weight: 800;
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}
.rd-info-row {
    display: flex; align-items: flex-start; gap: 12px;
    font-size: .85rem; color: var(--text-muted);
    margin-bottom: 14px;
}
.rd-info-row:last-child { margin-bottom: 0; }
.rd-info-row > i { color: var(--primary); width: 16px; margin-top: 3px; flex-shrink: 0; }
.rd-info-row a { color: var(--primary); text-decoration: none; font-weight: 600; }
.rd-info-row a:hover { text-decoration: underline; }

/* Working Hours */
.rd-hours-list { width: 100%; }
.rd-hour-line {
    display: flex; justify-content: space-between;
    padding: 4px 0;
    font-size: .82rem;
}
.rd-hour-line.today { font-weight: 700; color: var(--text-main); }
.rd-hour-day { color: var(--text-muted); }
.rd-hour-time { font-weight: 600; color: var(--text-main); }

/* Keep old classes for backward compat */
.rest-detail-hero { height: 360px; position: relative; background: #eee; overflow: hidden; }
.rest-detail-hero img { width: 100%; height: 100%; object-fit: cover; }
.rest-detail-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.7) 0%, transparent 60%); }
.rest-detail-hero-info { position: absolute; bottom: 0; left: 0; right: 0; padding: 30px; color: #fff; }
.rest-detail-name { font-size: 2rem; font-weight: 900; margin-bottom: 8px; }
.rest-detail-meta { display: flex; align-items: center; gap: 16px; font-size: 0.88rem; color: rgba(255,255,255,.85); }
.rest-detail-content { display: grid; grid-template-columns: 1fr 320px; gap: 24px; padding: 28px 0; }
.rest-detail-sidebar { position: sticky; top: calc(var(--header-h) + 16px); height: fit-content; }


/* ── QR Menü Sayfası ─────────────────────────────── */
.menu-page { max-width: 600px; margin: 0 auto; }
.menu-hero {
    position: relative;
    height: 220px;
    background: #eee;
    overflow: hidden;
}
.menu-hero img { width: 100%; height: 100%; object-fit: cover; }
.menu-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.75) 0%, transparent 50%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    color: #fff;
}
.menu-logo-wrap {
    position: absolute;
    bottom: -30px;
    left: 20px;
    width: 64px; height: 64px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 3px solid #fff;
    box-shadow: var(--shadow-sm);
}
.menu-logo-wrap img { width: 100%; height: 100%; object-fit: cover; }
.menu-body { padding: 44px 16px 16px; }
.menu-name { font-size: 1.4rem; font-weight: 800; }
.menu-cat-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 16px 0;
    scrollbar-width: none;
}
.menu-cat-tabs::-webkit-scrollbar { display: none; }
.menu-tab {
    padding: 7px 16px;
    border-radius: var(--radius-pill);
    border: 1.5px solid var(--border);
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: all var(--transition);
    background: var(--bg-white);
}
.menu-tab.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.menu-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--bg-white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    padding: 14px;
    margin-bottom: 10px;
}
.menu-item-img {
    width: 72px; height: 72px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    background: #eee;
    flex-shrink: 0;
}
.menu-item-info { flex: 1; }
.menu-item-name { font-weight: 700; font-size: 0.92rem; margin-bottom: 3px; }
.menu-item-desc { font-size: 0.78rem; color: var(--text-muted); line-height: 1.4; }
.menu-item-price { font-weight: 800; color: var(--primary); font-size: 1rem; white-space: nowrap; }

/* ── Restoran Kayıt ──────────────────────────────── */
.register-steps {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 36px;
}
.step-item {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
}
.step-num {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: var(--border);
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all var(--transition);
}
.step-item.active .step-num { background: var(--primary); color: #fff; }
.step-item.active { color: var(--text-main); }
.step-item.done .step-num { background: #16a34a; color: #fff; }
.step-sep { flex: 1; height: 2px; background: var(--border); margin: 0 10px; }
.step-sep.done { background: #16a34a; }

/* ── Responsive ───────────────────────────────────── */
/* ── Anasayfa Reklam/Banner Alanları ──────────────── */
/* Masaüstü: sabit 6.2:1 oran (ince-uzun), görsel alanı tam doldurur. */
.info-banner-wrapper img {
    display: block;
    width: 100%;
    aspect-ratio: 31 / 5;
    object-fit: cover;
}
/* Mobil: görselin kendi oranı korunur, tamamı kırpılmadan görünür. */
@media (max-width: 768px) {
    .info-banner-wrapper img {
        aspect-ratio: auto;
        height: auto;
        object-fit: contain;
    }
}

@media (max-width: 1200px) {
    .categories-grid { grid-template-columns: repeat(6, 1fr); }
    .rest-grid { grid-template-columns: repeat(4, 1fr); }
    .footer-grid { grid-template-columns: 1fr repeat(3, 1fr); }
}
@media (max-width: 1024px) {
    .hero-right { width: 300px; height: 260px; }
    .categories-grid { grid-template-columns: repeat(4, 1fr); }
    .stat-cards { grid-template-columns: repeat(2, 1fr); }
    .rest-detail-content { grid-template-columns: 1fr; }
    .rest-detail-sidebar { position: static; }
    .rd-grid { grid-template-columns: 1fr; }
    .rd-sidebar { position: static; }
}
@media (max-width: 768px) {
    .hero-title { font-size: 1.8rem; }
    .hero-right { display: none; }
    .hero-inner { flex-direction: column; align-items: flex-start; }
    .categories-grid { grid-template-columns: repeat(3, 1fr); }
    .rest-grid { grid-template-columns: repeat(2, 1fr); }
    .cta-banner { flex-direction: column; text-align: center; }
    .cta-left { flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
    .sidebar { display: none; }
    /* Adjust header height on mobile to naturally fit the stacked layout */
    .site-header {
        height: auto !important;
        padding: 8px 0 !important;
    }
    /* Logo + konum yan yana, ilk satırın tamamını kaplar */
    .logo-location-wrapper {
        flex: 1 1 100% !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 10px !important;
    }
    .logo {
        font-size: 1.05rem !important;
    }
    .header-location {
        display: flex !important;
        padding: 2px 6px !important;
        font-size: 0.72rem !important;
        gap: 3px !important;
        border-radius: var(--radius-sm);
        border: 1px solid var(--border);
        margin-left: 2px !important; /* Visual offset alignment */
    }
    .location-text {
        max-width: 120px !important;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        display: inline-block;
    }
    /* Mobil başlık 3 satıra yayılır: 1) logo+konum  2) aksiyonlar  3) arama */
    .header-inner { flex-wrap: wrap; row-gap: 10px; align-items: center; }
    .header-actions {
        order: 2;
        flex: 1 1 100%;
        justify-content: flex-end;
        margin-left: 0 !important;
        gap: 8px !important;
        align-items: center;
        flex-wrap: wrap;
    }
    .header-search {
        display: block;
        order: 3;
        flex: 1 0 100%;
        max-width: 100%;
        margin-top: 0;
    }

    /* Make Restaurant Add button a perfect circle on mobile */
    .btn-add-rest {
        width: 36px !important;
        height: 36px !important;
        padding: 0 !important;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        border-radius: 50% !important;
        flex-shrink: 0;
    }
    .btn-add-rest span { display: none !important; }
    .btn-add-rest i { margin: 0 !important; font-size: 0.95rem !important; }

    .header-username-text { display: none !important; }
    .user-chip { padding: 2px !important; }
    .user-chip .fa-chevron-down { display: none !important; }
    /* Tüm aksiyon butonları aynı 36px yükseklikte ve hizalı */
    .icon-btn { width: 36px !important; height: 36px !important; flex-shrink: 0; }
    .user-avatar { width: 32px; height: 32px; }
    
    .rest-detail-hero { height: 250px; }
    .rest-detail-hero-info { padding: 16px; }
    .rest-detail-name { font-size: 1.5rem; }
    .rest-detail-meta { flex-wrap: wrap; gap: 8px; font-size: 0.8rem; }

    .rd-hero { height: auto; }
    .rd-hero-content { padding: 20px 16px; }
    .rd-actions { gap: 8px; }
    .rd-action-btn { padding: 10px 12px; font-size: 0.82rem; }
    .rd-rating-bar { gap: 8px; }
    .rd-rating-pill { padding: 8px 12px; font-size: 0.82rem; }
    .rd-section-header { flex-direction: column; gap: 10px; align-items: flex-start; }
}
@media (max-width: 576px) {
    .btn-login {
        width: 36px !important;
        height: 36px !important;
        padding: 0 !important;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        border-radius: 50% !important;
        flex-shrink: 0;
    }
    .btn-login .login-text {
        display: none !important;
    }
    .btn-login i {
        margin: 0 !important;
        font-size: 0.95rem !important;
    }
}
@media (max-width: 480px) {
    .categories-grid { grid-template-columns: repeat(3, 1fr); }
    .hero-search-bar .sep, .hero-search-bar .location-pill { display: none; }
    .auth-card { padding: 24px; }
    .kategori-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 400px) {
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
    .rest-grid { grid-template-columns: 1fr; }
    .header-actions { gap: 4px; }
    .logo { font-size: 1rem; }
    .user-chip { padding: 2px 6px; font-size: 0.75rem; }
}

/* ── Kategori Özel ────────────────────────────────── */
.mobile-filter-toggle {
    display: none;
    background: var(--bg-white);
    border: 1.5px solid var(--border);
    padding: 10px 16px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    margin-bottom: 16px;
    text-align: center;
    color: var(--text-main);
}
.mobile-filter-toggle i { color: var(--primary); margin-right: 6px; }

.filters-wrapper {
    display: block;
}

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

@media (max-width: 768px) {
    .mobile-filter-toggle { display: block; }
    .filters-wrapper {
        display: none;
    }
    .filters-wrapper.show {
        display: block;
    }
    .filter-tags-wrap {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-bottom: 16px;
    }
    .kategori-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    .kategori-grid .rest-card {
        min-width: 0 !important;
    }
    .kategori-grid .rest-card-img { height: 110px; }
    .kategori-grid .rest-card-body { padding: 10px; }
    .kategori-grid .rest-card-title { font-size: 0.85rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .kategori-grid .rest-card-meta { font-size: 0.72rem; flex-wrap: wrap; }
    .kategori-grid .rest-rating { font-size: 0.75rem; }
    .kategori-grid .rest-card-meta span { white-space: nowrap; }
    
    /* Öne Çıkanlar Listesini mobilde yanyana h-scroll kaydırmalı yapıyoruz */
    .rest-grid {
        display: flex !important;
        gap: 12px !important;
        overflow-x: auto !important;
        padding-bottom: 12px !important;
        scrollbar-width: none !important;
    }
    .rest-grid::-webkit-scrollbar { display: none !important; }
    .rest-grid .rest-card {
        min-width: 175px !important;
        max-width: 175px !important;
        flex-shrink: 0 !important;
        display: flex !important;
        flex-direction: column !important;
    }
    .rest-grid .rest-card-img {
        height: 100px !important;
    }
    .rest-grid .rest-card-body {
        padding: 10px !important;
        flex: 1 !important;
        display: flex !important;
        flex-direction: column !important;
    }
    .rest-grid .rest-card-title {
        font-size: 0.82rem !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        margin-bottom: 4px !important;
    }
    .rest-grid .rest-card-meta {
        font-size: 0.7rem !important;
        gap: 4px !important;
        margin-bottom: 4px !important;
    }
    .rest-grid button,
    .rest-grid a,
    .rest-grid .btn-primary {
        padding: 6px 8px !important;
        font-size: 11px !important;
        border-radius: 6px !important;
        height: auto !important;
        line-height: 1.2 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
}

@media (max-width: 768px) {
    .h-scroll {
        gap: 10px !important;
        padding-bottom: 12px !important;
    }
    .h-scroll .rest-card {
        min-width: 175px !important;
        max-width: 175px !important;
        display: flex !important;
        flex-direction: column !important;
    }
    .h-scroll .rest-card-img {
        height: 100px !important;
    }
    .h-scroll .rest-card-body {
        padding: 10px !important;
        flex: 1 !important;
        display: flex !important;
        flex-direction: column !important;
    }
    .h-scroll .rest-card-title {
        font-size: 0.82rem !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        margin-bottom: 4px !important;
    }
    .h-scroll .rest-card-meta {
        font-size: 0.7rem !important;
        gap: 4px !important;
        margin-bottom: 4px !important;
    }
    .h-scroll .btn-primary, 
    .h-scroll .btn-outline, 
    .h-scroll button,
    .h-scroll a,
    .h-scroll a[style*="background:#f1f5f9"] {
        padding: 6px 8px !important;
        font-size: 11px !important;
        border-radius: 6px !important;
        height: auto !important;
        line-height: 1.2 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    /* Butonları kartın en altına sabitleyelim ve kartların boyunu eşitleyelim */
    .rest-card {
        height: 100% !important;
    }
    .rest-card-body {
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        flex-grow: 1 !important;
    }
    .rest-card-body > div[style*="flex-direction:column"] {
        margin-top: auto !important;
    }
}

/* Mobil cihazlarda input alanlarına odaklanıldığında tarayıcının otomatik zoom (yakınlaştırma) yapmasını engellemek için */
@media (max-width: 768px) {
    input[type="text"],
    input[type="number"],
    input[type="email"],
    input[type="tel"],
    input[type="password"],
    input[type="search"],
    select,
    textarea {
        font-size: 16px !important;
    }
}

