/* =====================================================
   LezizMekanlar - Pure CSS (No Framework)
   Primary: #E11D48 (Rose)
   ===================================================== */

/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; color: #111827; line-height: 1.5; background: #f9fafb; min-height: 100vh; display: flex; flex-direction: column; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
input, select, textarea { font: inherit; }
ul { list-style: none; }
hr { border: none; border-top: 1px solid #f3f4f6; }

/* === Colors === */
:root {
    --primary: #E11D48; --primary-dark: #BE123C; --primary-light: #FB7185;
    --primary-50: #FFF1F3; --primary-100: #FFE4E8; --primary-200: #FECDD3; --primary-700: #9F1239;
    --warning: #F59E0B;
    --success: #22C55E; --danger: #EF4444;
    --gray-50: #F9FAFB; --gray-100: #F3F4F6; --gray-200: #E5E7EB; --gray-300: #D1D5DB;
    --gray-400: #9CA3AF; --gray-500: #6B7280; --gray-600: #4B5563; --gray-700: #374151;
    --gray-800: #1F2937; --gray-900: #111827;
}

/* === Utilities === */
.container { max-width: 1280px; margin: 0 auto; padding: 0 1rem; }
.flex { display: flex; } .flex-1 { flex: 1; } .flex-col { flex-direction: column; }
.items-center { align-items: center; } .justify-between { justify-content: space-between; } .justify-center { justify-content: center; }
.gap-1 { gap: .25rem; } .gap-2 { gap: .5rem; } .gap-3 { gap: .75rem; } .gap-4 { gap: 1rem; }
.text-center { text-align: center; } .text-right { text-align: right; }
.text-xs { font-size: .75rem; } .text-sm { font-size: .875rem; } .text-lg { font-size: 1.125rem; } .text-xl { font-size: 1.25rem; } .text-2xl { font-size: 1.5rem; }
.font-medium { font-weight: 500; } .font-semibold { font-weight: 600; } .font-bold { font-weight: 700; }
.text-primary { color: var(--primary); } .text-primary-light { color: var(--primary-light); }
.text-white { color: white; } .text-gray-400 { color: var(--gray-400); } .text-gray-500 { color: var(--gray-500); }
.text-gray-600 { color: var(--gray-600); } .text-gray-700 { color: var(--gray-700); } .text-gray-900 { color: var(--gray-900); }
.text-danger { color: var(--danger) !important; }
.bg-gray-50 { background: var(--gray-50); } .bg-white { background: white; }
.rounded { border-radius: .5rem; } .rounded-lg { border-radius: .75rem; } .rounded-xl { border-radius: 1rem; } .rounded-2xl { border-radius: 1.25rem; } .rounded-full { border-radius: 9999px; }
.shadow-sm { box-shadow: 0 1px 2px rgba(0,0,0,.05); } .shadow { box-shadow: 0 1px 3px rgba(0,0,0,.1),0 1px 2px rgba(0,0,0,.06); } .shadow-lg { box-shadow: 0 10px 15px rgba(0,0,0,.1),0 4px 6px rgba(0,0,0,.05); }
.overflow-hidden { overflow: hidden; }
.w-full { width: 100%; }
.min-h-screen { min-height: 100vh; }
.mb-1 { margin-bottom: .25rem; } .mb-2 { margin-bottom: .5rem; } .mb-3 { margin-bottom: .75rem; } .mb-4 { margin-bottom: 1rem; } .mb-6 { margin-bottom: 1.5rem; } .mb-8 { margin-bottom: 2rem; }
.mt-2 { margin-top: .5rem; } .mt-4 { margin-top: 1rem; } .mt-6 { margin-top: 1.5rem; }
.my-2 { margin-top: .5rem; margin-bottom: .5rem; }
.p-3 { padding: .75rem; } .p-4 { padding: 1rem; } .p-6 { padding: 1.5rem; }
.py-2 { padding-top: .5rem; padding-bottom: .5rem; } .py-4 { padding-top: 1rem; padding-bottom: 1rem; } .py-5 { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.px-3 { padding-left: .75rem; padding-right: .75rem; } .px-4 { padding-left: 1rem; padding-right: 1rem; } .px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.pb-6 { padding-bottom: 1.5rem; } .pb-8 { padding-bottom: 2rem; } .pb-10 { padding-bottom: 2.5rem; } .pb-20 { padding-bottom: 5rem; }
.border { border: 1px solid var(--gray-200); } .border-b { border-bottom: 1px solid var(--gray-100); }
.hidden { display: none; }
.block { display: block; }
.inline-flex { display: inline-flex; align-items: center; }
.line-clamp-1 { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.shrink-0 { flex-shrink: 0; }
.relative { position: relative; }
.transition { transition: all .2s ease; }

/* === Grid System === */
.grid { display: grid; gap: 1rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) {
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
    .grid-4 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* === Responsive Helpers === */
.mobile-only { display: block; }
.desktop-only { display: none !important; }
@media (min-width: 768px) {
    .mobile-only { display: none !important; }
    .desktop-only { display: block !important; }
    .md-pb-0 { padding-bottom: 0; }
}

/* === Buttons === */
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .625rem 1.25rem; border-radius: 9999px; font-size: .875rem; font-weight: 600; transition: all .2s; cursor: pointer; border: none; text-align: center; justify-content: center; }
.btn-sm { padding: .5rem 1rem; font-size: .8125rem; }
.btn-lg { padding: .75rem 1.5rem; font-size: 1rem; }
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-secondary { background: var(--gray-100); color: var(--gray-700); }
.btn-secondary:hover { background: var(--gray-200); }
.btn-outline { background: transparent; border: 1px solid var(--gray-200); color: var(--gray-700); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-danger { background: var(--danger); color: white; }
.btn-success { background: var(--success); color: white; }
.btn-block { width: 100%; }
.btn-ghost { background: transparent; color: var(--gray-600); }
.btn-ghost:hover { background: var(--gray-100); }

.icon-btn { padding: .5rem; border-radius: 9999px; transition: background .2s; display: flex; align-items: center; justify-content: center; }
.icon-btn:hover { background: var(--gray-100); }

/* === Header === */
.header { position: sticky; top: 0; z-index: 50; background: white; border-bottom: 1px solid var(--gray-100); box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.campaign-banner { background: var(--primary); color: white; text-align: center; font-size: .75rem; padding: .375rem 1rem; font-weight: 500; }
.header-main { max-width: 1280px; margin: 0 auto; padding: 0 1rem; height: 3.5rem; display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.header-inner { display: contents; }
.logo { display: flex; align-items: center; gap: .375rem; flex-shrink: 0; }
.logo-icon { width: 2rem; height: 2rem; background: var(--primary); border-radius: .5rem; display: flex; align-items: center; justify-content: center; color: white; font-weight: 700; font-size: .875rem; }
.logo-text { font-size: 1.125rem; font-weight: 700; color: var(--gray-900); }
@media (max-width: 639px) { .logo-text { display: none; } }
.location-btn { display: flex; align-items: center; gap: .375rem; font-size: .875rem; color: var(--gray-600); padding: .375rem .75rem; border-radius: 9999px; border: 1px solid var(--gray-200); transition: all .2s; }
.location-btn:hover { color: var(--primary); border-color: var(--primary-200); }
.search-box { flex: 1; max-width: 32rem; }
.search-input-wrap { position: relative; width: 100%; }
.search-icon { position: absolute; left: .75rem; top: 50%; transform: translateY(-50%); color: var(--gray-400); pointer-events: none; }
.search-input { width: 100%; padding: .5rem 1rem .5rem 2.5rem; border-radius: 9999px; border: 1px solid var(--gray-200); background: var(--gray-50); font-size: .875rem; outline: none; transition: all .2s; }
.search-input:focus { border-color: var(--primary); box-shadow: 0 0 0 2px var(--primary-100); }
.header-actions { display: flex; align-items: center; gap: .5rem; }
.notification-btn { position: relative; }
.notification-dot { position: absolute; top: .25rem; right: .25rem; width: .5rem; height: .5rem; background: var(--primary); border-radius: 9999px; }
.user-menu-wrap { position: relative; }
.user-menu-btn { display: flex; align-items: center; gap: .5rem; padding: .375rem .75rem; border-radius: 9999px; transition: background .2s; }
.user-menu-btn:hover { background: var(--gray-50); }
.avatar-sm { width: 2rem; height: 2rem; background: var(--primary-50); border-radius: 9999px; display: flex; align-items: center; justify-content: center; font-size: .75rem; font-weight: 700; color: var(--primary); flex-shrink: 0; }
.avatar-lg { width: 4rem; height: 4rem; font-size: 1.25rem; }
.user-name { font-size: .875rem; font-weight: 500; color: var(--gray-700); }
@media (max-width: 1023px) { .user-name { display: none; } }

/* Dropdown */
.dropdown-menu { position: absolute; right: 0; top: 100%; margin-top: .5rem; width: 14rem; background: white; border-radius: .75rem; box-shadow: 0 10px 15px rgba(0,0,0,.1); border: 1px solid var(--gray-100); padding: .5rem 0; z-index: 50; }
.dropdown-header { padding: .5rem 1rem; border-bottom: 1px solid var(--gray-50); }
.dropdown-name { font-size: .875rem; font-weight: 600; color: var(--gray-900); }
.dropdown-email { font-size: .75rem; color: var(--gray-400); }
.dropdown-item { display: flex; align-items: center; gap: .5rem; padding: .625rem 1rem; font-size: .875rem; color: var(--gray-700); transition: background .15s; }
.dropdown-item:hover { background: var(--gray-50); }
.dropdown-item.text-danger { color: var(--danger); }
.dropdown-item.text-danger:hover { background: #FEF2F2; }
.dropdown-divider { margin: .25rem 0; border-top: 1px solid var(--gray-50); }

/* Mobile menu */
.mobile-search { padding: .75rem 1rem; background: white; border-top: 1px solid var(--gray-50); }
.mobile-menu { background: white; border-top: 1px solid var(--gray-100); box-shadow: 0 10px 15px rgba(0,0,0,.1); }
.mobile-menu nav { padding: .75rem; }
.mobile-nav-item { display: flex; align-items: center; gap: .75rem; padding: .625rem .75rem; border-radius: .5rem; color: var(--gray-700); font-size: .875rem; font-weight: 500; transition: background .15s; }
.mobile-nav-item:hover { background: var(--gray-50); }
.mobile-user-info { display: flex; align-items: center; gap: .75rem; padding: .625rem .75rem; margin-bottom: .5rem; background: var(--gray-50); border-radius: .5rem; }

/* === Hero Section === */
.hero { background: linear-gradient(135deg, var(--primary), var(--primary-dark), var(--primary-700)); color: white; }
.hero .container { padding-top: 2rem; padding-bottom: 2rem; }
@media (min-width: 768px) { .hero .container { padding-top: 3.5rem; padding-bottom: 3.5rem; } }
.hero h1 { font-size: 1.5rem; font-weight: 700; margin-bottom: .5rem; line-height: 1.3; }
@media (min-width: 768px) { .hero h1 { font-size: 2.25rem; } }
.hero-subtitle { font-size: .875rem; color: rgba(255,255,255,.75); margin-bottom: 1.5rem; max-width: 32rem; }
.hero-modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
@media (min-width: 768px) { .hero-modes { gap: 1rem; } }
.hero-mode-card { background: rgba(255,255,255,.15); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.2); border-radius: 1rem; padding: 1rem; text-align: center; transition: background .2s; display: block; color: white; }
.hero-mode-card:hover { background: rgba(255,255,255,.25); }
.hero-mode-icon { width: 2.5rem; height: 2.5rem; background: rgba(255,255,255,.2); border-radius: .75rem; display: flex; align-items: center; justify-content: center; margin: 0 auto .5rem; transition: transform .2s; }
.hero-mode-card:hover .hero-mode-icon { transform: scale(1.1); }
.hero-mode-card h3 { font-size: .75rem; font-weight: 600; }
@media (min-width: 768px) { .hero-mode-card h3 { font-size: .875rem; } }
.hero-mode-sub { font-size: .625rem; color: rgba(255,255,255,.6); margin-top: .125rem; }
@media (max-width: 639px) { .hero-mode-sub { display: none; } }

/* === Category Chips === */
.chips-scroll { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .5rem; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.chips-scroll::-webkit-scrollbar { display: none; }
.chip { display: inline-flex; align-items: center; gap: .375rem; padding: .5rem 1rem; border-radius: 9999px; font-size: .8125rem; font-weight: 500; white-space: nowrap; border: 1px solid var(--gray-200); background: white; color: var(--gray-700); transition: all .2s; cursor: pointer; flex-shrink: 0; }
.chip:hover { border-color: var(--primary-200); color: var(--primary); }
.chip.active { background: var(--primary); color: white; border-color: var(--primary); }
.chip-icon { font-size: 1rem; }

/* === Promotion Banner === */
.promo-banner { border-radius: 1.25rem; overflow: hidden; position: relative; display: flex; align-items: center; min-height: 8rem; color: white; transition: transform .2s; }
.promo-banner:hover { transform: translateY(-2px); }
.promo-banner.bg-primary { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); }
.promo-banner.bg-dark { background: linear-gradient(135deg, var(--gray-900), var(--gray-800)); }
.promo-content { padding: 1.25rem; flex: 1; position: relative; z-index: 2; }
.promo-badge { display: inline-block; background: rgba(255,255,255,.2); font-size: .6875rem; font-weight: 600; padding: .25rem .625rem; border-radius: 9999px; margin-bottom: .5rem; }
.promo-title { font-size: 1rem; font-weight: 700; margin-bottom: .25rem; }
.promo-desc { font-size: .75rem; color: rgba(255,255,255,.8); line-height: 1.4; }
.promo-image { width: 8rem; height: 100%; position: absolute; right: 0; top: 0; }
.promo-image img { width: 100%; height: 100%; object-fit: cover; }
.promo-image::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3rem; background: linear-gradient(to right, currentColor, transparent); z-index: 1; }

/* === Section Headers === */
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.section-title { display: flex; align-items: center; gap: .5rem; font-size: 1.125rem; font-weight: 700; color: var(--gray-900); }
.section-link { display: flex; align-items: center; gap: .25rem; font-size: .875rem; color: var(--primary); font-weight: 500; }
.section-link:hover { text-decoration: underline; }

/* === Restaurant Card === */
.restaurant-card { display: block; background: white; border-radius: 1rem; overflow: hidden; box-shadow: 0 1px 2px rgba(0,0,0,.05); border: 1px solid var(--gray-100); transition: all .2s; }
.restaurant-card:hover { box-shadow: 0 4px 6px rgba(0,0,0,.1); }
.card-image { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--gray-100); }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.restaurant-card:hover .card-image img { transform: scale(1.05); }
.fav-btn { position: absolute; top: .75rem; right: .75rem; width: 2rem; height: 2rem; background: rgba(255,255,255,.9); backdrop-filter: blur(4px); border-radius: 9999px; display: flex; align-items: center; justify-content: center; box-shadow: 0 1px 2px rgba(0,0,0,.1); transition: transform .15s; z-index: 5; }
.fav-btn:hover { transform: scale(1.1); }
.fav-btn.active svg { fill: var(--primary); color: var(--primary); }
.card-badge { position: absolute; top: .75rem; left: .75rem; background: var(--primary); color: white; font-size: .75rem; font-weight: 700; padding: .25rem .625rem; border-radius: 9999px; box-shadow: 0 2px 4px rgba(0,0,0,.15); z-index: 5; }
.card-closed { position: absolute; inset: 0; background: rgba(0,0,0,.4); display: flex; align-items: center; justify-content: center; z-index: 4; }
.card-closed span { background: rgba(0,0,0,.7); color: white; font-size: .875rem; font-weight: 500; padding: .375rem 1rem; border-radius: 9999px; }
.card-gradient { position: absolute; bottom: 0; left: 0; right: 0; height: 4rem; background: linear-gradient(to top, rgba(0,0,0,.4), transparent); pointer-events: none; }
.card-distance { position: absolute; bottom: .5rem; left: .75rem; display: flex; align-items: center; gap: .25rem; color: white; font-size: .75rem; font-weight: 500; z-index: 5; }
.card-body { padding: .875rem; }
.card-header { display: flex; align-items: flex-start; justify-content: space-between; gap: .5rem; margin-bottom: .375rem; }
.card-title { font-weight: 600; color: var(--gray-900); font-size: .875rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: color .2s; }
.restaurant-card:hover .card-title { color: var(--primary); }
.card-rating { display: flex; align-items: center; gap: .25rem; flex-shrink: 0; }
.star-icon { color: var(--warning); fill: var(--warning); }
.rating-value { font-size: .875rem; font-weight: 700; color: var(--gray-800); }
.rating-count { font-size: .75rem; color: var(--gray-400); }
.card-meta { display: flex; align-items: center; justify-content: space-between; font-size: .75rem; color: var(--gray-500); margin-bottom: .5rem; }
.card-location { display: flex; align-items: center; gap: .25rem; }
.card-price { font-weight: 500; color: var(--gray-600); }
.card-tags { display: flex; flex-wrap: wrap; gap: .375rem; margin-bottom: .5rem; }
.tag { font-size: .625rem; font-weight: 500; padding: .125rem .5rem; border-radius: 9999px; background: var(--primary-50); color: var(--primary-700); border: 1px solid var(--primary-100); }
.card-signature { display: flex; align-items: center; gap: .375rem; font-size: .7rem; color: var(--primary); padding-top: .35rem; }
.card-signature strong { color: var(--gray-800); }
.card-cost { display: flex; align-items: center; gap: .375rem; padding-top: .35rem; font-size: .75rem; color: var(--gray-500); }
.card-cost strong { color: var(--gray-800); }
.card-menu-btn-wrap { padding-top: .5rem; border-top: 1px solid var(--gray-50); margin-top: .5rem; }
.card-menu-btn { display: inline-flex; align-items: center; gap: .35rem; padding: .35rem .75rem; background: var(--primary-50); color: var(--primary); border-radius: .375rem; font-size: .75rem; font-weight: 600; cursor: pointer; transition: all .2s; }
.card-menu-btn:hover { background: var(--primary); color: #fff; }

/* === Horizontal Scroll Section === */
.hscroll { display: flex; gap: 1rem; overflow-x: auto; padding-bottom: .5rem; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.hscroll::-webkit-scrollbar { display: none; }
.hscroll > .restaurant-card { min-width: 16.25rem; flex-shrink: 0; }
@media (min-width: 768px) { .hscroll { display: grid; grid-template-columns: repeat(3, 1fr); overflow: visible; } .hscroll > .restaurant-card { min-width: 0; } }

/* === CTA Section === */
.cta-section { background: linear-gradient(to right, var(--gray-900), var(--gray-800)); border-radius: 1rem; padding: 1.5rem; color: white; text-align: center; }
@media (min-width: 768px) { .cta-section { padding: 2.5rem; display: flex; align-items: center; justify-content: space-between; text-align: left; } }
.cta-section h2 { font-size: 1.25rem; font-weight: 700; margin-bottom: .25rem; }
.cta-section p { font-size: .875rem; color: var(--gray-400); }
.cta-section .btn { margin-top: 1rem; }
@media (min-width: 768px) { .cta-section .btn { margin-top: 0; } }

/* === Footer === */
.footer { background: var(--gray-900); color: var(--gray-300); margin-top: auto; }
.footer .container { padding-top: 3rem; padding-bottom: 1.5rem; }
.footer-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
.footer-brand { grid-column: span 2; }
@media (min-width: 768px) { .footer-brand { grid-column: span 1; } }
.footer-desc { font-size: .875rem; color: var(--gray-400); line-height: 1.6; margin-top: 1rem; }
.footer-title { color: white; font-size: .875rem; font-weight: 600; margin-bottom: .75rem; }
.footer-links li { margin-bottom: .5rem; }
.footer-links a { font-size: .875rem; transition: color .2s; }
.footer-links a:hover { color: white; }
.footer-bottom { border-top: 1px solid var(--gray-800); margin-top: 2rem; padding-top: 1.5rem; text-align: center; font-size: .75rem; color: var(--gray-500); }

/* === Bottom Navigation === */
.bottom-nav { position: fixed; bottom: 0; left: 0; right: 0; z-index: 50; background: white; border-top: 1px solid var(--gray-200); box-shadow: 0 -2px 10px rgba(0,0,0,.05); }
.bottom-nav-inner { display: flex; align-items: center; justify-content: space-around; height: 4rem; max-width: 32rem; margin: 0 auto; padding: 0 .5rem; }
.bottom-nav-item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .125rem; width: 100%; height: 100%; border-radius: .5rem; transition: color .15s; color: var(--gray-400); }
.bottom-nav-item span { font-size: .625rem; font-weight: 500; }
.bottom-nav-item.active { color: var(--primary); }
.bottom-nav-item.active span { font-weight: 600; }

/* === Forms === */
.form-group { margin-bottom: 1rem; }
.form-label { display: block; font-size: .875rem; font-weight: 500; color: var(--gray-700); margin-bottom: .375rem; }
.form-input { width: 100%; padding: .625rem .875rem; border: 1px solid var(--gray-200); border-radius: .75rem; font-size: .875rem; transition: all .2s; outline: none; background: white; }
.form-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-100); }
.form-input-lg { padding: .875rem 1rem; font-size: 1rem; }
select.form-input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .75rem center; padding-right: 2.5rem; }
textarea.form-input { resize: vertical; min-height: 5rem; }
.form-help { font-size: .75rem; color: var(--gray-400); margin-top: .25rem; }
.form-error { font-size: .75rem; color: var(--danger); margin-top: .25rem; }

/* === Cards & Panels === */
.card { background: white; border-radius: 1rem; border: 1px solid var(--gray-100); overflow: hidden; }
.card-padding { padding: 1.5rem; }
.stat-card { background: white; border-radius: 1rem; padding: 1.25rem; border: 1px solid var(--gray-100); }
.stat-value { font-size: 1.5rem; font-weight: 700; color: var(--gray-900); }
.stat-label { font-size: .75rem; color: var(--gray-500); margin-top: .25rem; }
.stat-change { font-size: .75rem; font-weight: 500; margin-top: .25rem; }
.stat-change.up { color: var(--success); }
.stat-change.down { color: var(--danger); }

/* === Tables === */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th { text-align: left; font-size: .75rem; font-weight: 600; color: var(--gray-500); text-transform: uppercase; letter-spacing: .05em; padding: .75rem 1rem; border-bottom: 1px solid var(--gray-200); }
td { padding: .75rem 1rem; border-bottom: 1px solid var(--gray-50); font-size: .875rem; color: var(--gray-700); }
tr:hover td { background: var(--gray-50); }

/* === Badge === */
.badge { display: inline-flex; align-items: center; padding: .125rem .5rem; border-radius: 9999px; font-size: .75rem; font-weight: 500; }
.badge-success { background: #DCFCE7; color: #166534; }
.badge-warning { background: #FEF3C7; color: #92400E; }
.badge-danger { background: #FEE2E2; color: #991B1B; }
.badge-info { background: #DBEAFE; color: #1E40AF; }
.badge-gray { background: var(--gray-100); color: var(--gray-600); }
.badge-primary { background: var(--primary-50); color: var(--primary-700); }

/* === Tabs === */
.tabs { display: flex; gap: .25rem; border-bottom: 1px solid var(--gray-200); margin-bottom: 1.5rem; overflow-x: auto; }
.tab { padding: .75rem 1rem; font-size: .875rem; font-weight: 500; color: var(--gray-500); border-bottom: 2px solid transparent; transition: all .2s; white-space: nowrap; cursor: pointer; }
.tab:hover { color: var(--gray-700); }
.tab.active { color: var(--primary); border-bottom-color: var(--primary); }

/* === Modal === */
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 100; align-items: center; justify-content: center; padding: 1rem; }
.modal-overlay.show { display: flex; }
.modal { background: white; border-radius: 1rem; max-width: 32rem; width: 100%; max-height: 90vh; overflow-y: auto; }
.modal-header { display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--gray-100); }
.modal-header h3 { font-size: 1.125rem; font-weight: 600; }
.modal-body { padding: 1.5rem; }
.modal-footer { padding: 1rem 1.5rem; border-top: 1px solid var(--gray-100); display: flex; justify-content: flex-end; gap: .5rem; }

/* === Alert === */
.alert { padding: 1rem; border-radius: .75rem; font-size: .875rem; margin-bottom: 1rem; }
.alert-success { background: #DCFCE7; color: #166534; border: 1px solid #BBF7D0; }
.alert-error { background: #FEE2E2; color: #991B1B; border: 1px solid #FECACA; }
.alert-warning { background: #FEF3C7; color: #92400E; border: 1px solid #FDE68A; }
.alert-info { background: #DBEAFE; color: #1E40AF; border: 1px solid #BFDBFE; }

/* === Sidebar Layout (Admin/Panel) === */
.sidebar-layout { display: flex; min-height: calc(100vh - 3.5rem); }
.sidebar { width: 16rem; background: white; border-right: 1px solid var(--gray-100); padding: 1.5rem 0; flex-shrink: 0; }
@media (max-width: 767px) { .sidebar { display: none; } .sidebar.show { display: block; position: fixed; left: 0; top: 0; bottom: 0; z-index: 40; box-shadow: 0 0 30px rgba(0,0,0,.2); } }
.sidebar-section { padding: 0 .75rem; margin-bottom: 1.5rem; }
.sidebar-title { font-size: .6875rem; font-weight: 600; text-transform: uppercase; color: var(--gray-400); letter-spacing: .05em; padding: 0 .75rem; margin-bottom: .5rem; }
.sidebar-link { display: flex; align-items: center; gap: .75rem; padding: .625rem .75rem; border-radius: .5rem; font-size: .875rem; font-weight: 500; color: var(--gray-600); transition: all .15s; }
.sidebar-link:hover { background: var(--gray-50); color: var(--gray-900); }
.sidebar-link.active { background: var(--primary-50); color: var(--primary); }
.sidebar-content { flex: 1; padding: 1.5rem; overflow-y: auto; background: var(--gray-50); }

/* === Pagination === */
.pagination { display: flex; align-items: center; justify-content: center; gap: .25rem; margin-top: 2rem; }
.pagination a, .pagination span { display: flex; align-items: center; justify-content: center; width: 2.25rem; height: 2.25rem; border-radius: .5rem; font-size: .875rem; font-weight: 500; transition: all .2s; }
.pagination a { color: var(--gray-600); }
.pagination a:hover { background: var(--gray-100); }
.pagination .active { background: var(--primary); color: white; }

/* === Empty State === */
.empty-state { text-align: center; padding: 3rem 1rem; }
.empty-state-icon { font-size: 3rem; margin-bottom: 1rem; }
.empty-state h3 { font-size: 1.125rem; font-weight: 600; color: var(--gray-900); margin-bottom: .5rem; }
.empty-state p { font-size: .875rem; color: var(--gray-500); }

/* === Loading Spinner === */
.spinner { width: 2rem; height: 2rem; border: 3px solid var(--gray-200); border-top-color: var(--primary); border-radius: 50%; animation: spin .6s linear infinite; margin: 0 auto; }
@keyframes spin { to { transform: rotate(360deg); } }

/* === Star Rating === */
.stars { display: flex; gap: .125rem; }
.stars svg { color: var(--gray-300); }
.stars svg.filled { color: var(--warning); fill: var(--warning); }

/* === Filter Section === */
.filter-bar { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; padding: 1rem 0; }
.filter-group { display: flex; align-items: center; gap: .5rem; }

/* === Gallery === */
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem; border-radius: 1rem; overflow: hidden; }
.gallery-grid .gallery-main { grid-column: span 2; aspect-ratio: 16/9; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; cursor: pointer; transition: opacity .2s; }
.gallery-grid img:hover { opacity: .9; }
@media (min-width: 768px) { .gallery-grid { grid-template-columns: 2fr 1fr 1fr; } .gallery-grid .gallery-main { grid-column: span 1; grid-row: span 2; aspect-ratio: auto; } }

/* === Auth Page === */
.auth-page { display: flex; align-items: center; justify-content: center; min-height: 100vh; background: var(--gray-50); padding: 1rem; }
.auth-card { background: white; border-radius: 1.5rem; padding: 2.5rem; max-width: 28rem; width: 100%; box-shadow: 0 4px 6px rgba(0,0,0,.05); }

/* === Quick Filters === */
.quick-filters { display: flex; gap: .5rem; flex-wrap: wrap; }
.quick-filter { display: inline-flex; align-items: center; gap: .25rem; padding: .375rem .75rem; border-radius: 9999px; font-size: .75rem; font-weight: 500; border: 1px solid var(--gray-200); background: white; color: var(--gray-600); cursor: pointer; transition: all .15s; }
.quick-filter:hover, .quick-filter.active { border-color: var(--primary); background: var(--primary-50); color: var(--primary); }

/* === Animations === */
@keyframes slideUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.animate-slide-up { animation: slideUp .3s ease forwards; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.animate-fade { animation: fadeIn .3s ease forwards; }

/* === Print === */
@media print { .header, .footer, .bottom-nav, .campaign-banner { display: none !important; } main { padding: 0 !important; } }
