/* ── Live Search ── */
.search-wrapper { position: relative; margin-bottom: 0; }
.search-wrapper .form-control { border-radius: 50px !important; padding-right: 50px; border: 2px solid #eee; font-size: 14px; transition: border-color 0.3s; }
.search-wrapper .form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(4,118,78,0.12); }
.search-icon-btn { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: none; border: none; padding: 0; cursor: pointer; }
.search-dropdown { display: none; position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: #fff; border-radius: 16px; box-shadow: 0 8px 32px rgba(0,0,0,0.14); z-index: 999; overflow: hidden; max-height: 320px; overflow-y: auto; }
.search-dropdown.show { display: block; }
.search-dropdown-item { display: flex; align-items: center; gap: 12px; padding: 12px 16px; cursor: pointer; border-bottom: 1px solid #f0f0f0; transition: background 0.2s; }
.search-dropdown-item:last-child { border-bottom: none; }
.search-dropdown-item:hover { background: var(--primary-light); }
.search-dropdown-item .item-icon { width: 40px; height: 40px; border-radius: 12px; background: var(--primary-light); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 18px; }
.search-dropdown-item .item-info { flex: 1; }
.search-dropdown-item .item-name { font-size: 13px; font-weight: 600; color: #222; margin: 0; }
.search-dropdown-item .item-meta { font-size: 11px; color: var(--text-muted); margin: 0; }
.search-dropdown-item .item-type { font-size: 10px; background: var(--primary-light); color: var(--primary); padding: 2px 8px; border-radius: 20px; font-weight: 600; }
.search-no-result { padding: 20px; text-align: center; color: var(--text-muted); font-size: 13px; }
.search-loading { padding: 16px; text-align: center; }
.search-dropdown::-webkit-scrollbar { width: 4px; }
.search-dropdown::-webkit-scrollbar-track { background: #f1f1f1; }
.search-dropdown::-webkit-scrollbar-thumb { background: #ddd; border-radius: 4px; }

/* ── QR Buton ── */
.qr-scan-btn { display: flex; align-items: center; justify-content: center; gap: 10px; background: linear-gradient(135deg, var(--primary), #06a06a); color: #fff; border: none; border-radius: 16px; padding: 14px 20px; width: 100%; font-size: 14px; font-weight: 600; cursor: pointer; margin-bottom: 20px; box-shadow: 0 4px 15px rgba(4,118,78,0.3); transition: transform 0.2s, box-shadow 0.2s; }
.qr-scan-btn:active { transform: scale(0.97); box-shadow: 0 2px 8px rgba(4,118,78,0.2); }
.qr-scan-btn svg { flex-shrink: 0; }
.qr-scan-btn .qr-btn-text { text-align: left; }
.qr-scan-btn .qr-btn-text span { display: block; font-size: 11px; font-weight: 400; opacity: 0.85; }

/* ── QR Session Badge ── */
.qr-session-badge { display: none; align-items: center; gap: 8px; background: var(--primary-light); border: 1px solid rgba(4,118,78,0.2); border-radius: 12px; padding: 10px 14px; margin-bottom: 16px; font-size: 12px; }
.qr-session-badge.show { display: flex; }
.qr-session-badge .badge-icon { font-size: 20px; }
.qr-session-badge .badge-info { flex: 1; }
.qr-session-badge .badge-business { font-weight: 700; color: var(--primary); font-size: 13px; }
.qr-session-badge .badge-table { color: #555; }
.qr-session-badge .badge-clear { color: #e33; font-size: 18px; background: none; border: none; cursor: pointer; }

/* ── Banner Slider ── */
.banner-slider-section { margin: 0 -15px 20px; }
.banner-swiper { width: 100%; border-radius: 0; }
.banner-swiper .swiper-slide img { width: 100%; height: 200px; object-fit: cover; display: block; }
.banner-swiper .swiper-pagination { bottom: 10px; }
.banner-swiper .swiper-pagination-bullet { background: rgba(255,255,255,0.7); opacity: 1; width: 6px; height: 6px; }
.banner-swiper .swiper-pagination-bullet-active { background: #fff; width: 20px; border-radius: 4px; }

/* ── Hero Coffee Slider ── */
.hero-section { background: linear-gradient(135deg,#0a4f35 0%,var(--primary) 50%,#06a06a 100%); border-radius: 24px; overflow: hidden; margin-bottom: 24px; position: relative; min-height: 160px; }
.hero-swiper { width: 100%; }
.hero-swiper .swiper-slide { display: flex; align-items: center; padding: 24px 20px; min-height: 160px; }
.hero-slide-content { flex: 1; z-index: 2; }
.hero-slide-content .hero-tag { display: inline-block; background: rgba(255,255,255,0.2); color: #fff; font-size: 10px; font-weight: 600; padding: 3px 10px; border-radius: 20px; margin-bottom: 8px; letter-spacing: 0.5px; text-transform: uppercase; }
.hero-slide-content h3 { color: #fff; font-size: 20px; font-weight: 800; margin: 0 0 4px; line-height: 1.2; }
.hero-slide-content p { color: rgba(255,255,255,0.8); font-size: 12px; margin: 0 0 14px; }
.hero-slide-content .hero-price { color: #fff; font-size: 22px; font-weight: 800; }
.hero-slide-content .hero-price del { font-size: 13px; opacity: 0.6; font-weight: 400; margin-left: 6px; }
.hero-slide-img { width: 130px; flex-shrink: 0; }
.hero-slide-img img { width: 100%; filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3)); animation: floatAnim 3s ease-in-out infinite; }
@keyframes floatAnim { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.hero-swiper .swiper-pagination { bottom: 12px; }
.hero-swiper .swiper-pagination-bullet { background: rgba(255,255,255,0.5); opacity: 1; width: 6px; height: 6px; }
.hero-swiper .swiper-pagination-bullet-active { background: #fff; width: 18px; border-radius: 4px; }
.hero-bg-circle { position: absolute; border-radius: 50%; background: rgba(255,255,255,0.05); }
.hero-bg-circle.c1 { width: 200px; height: 200px; right: -60px; top: -60px; }
.hero-bg-circle.c2 { width: 120px; height: 120px; right: 40px; bottom: -40px; }

/* ── Popüler İşletmeler ── */
.popular-section { margin-bottom: 24px; }
.popular-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.popular-card { display: flex; align-items: center; gap: 14px; background: #fff; border-radius: 18px; padding: 14px; box-shadow: 0 2px 12px rgba(0,0,0,0.07); border: 1px solid #f0f0f0; cursor: pointer; transition: transform 0.2s, box-shadow 0.2s; }
.popular-card:active { transform: scale(0.98); }
.popular-card-img { width: 64px; height: 64px; border-radius: 16px; object-fit: cover; flex-shrink: 0; }
.popular-card-img-placeholder { width: 64px; height: 64px; border-radius: 16px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 28px; }
.popular-card-info { flex: 1; min-width: 0; }
.popular-card-name { font-size: 14px; font-weight: 700; color: #222; margin: 0 0 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.popular-card-type { font-size: 11px; color: var(--text-muted); margin: 0 0 6px; }
.popular-card-location { display: flex; align-items: center; gap: 4px; font-size: 11px; color: #666; }
.popular-card-right { text-align: right; flex-shrink: 0; }
.popular-rating { display: inline-flex; align-items: center; gap: 3px; background: #fff8e1; color: #f59e0b; font-size: 12px; font-weight: 700; padding: 4px 8px; border-radius: 8px; margin-bottom: 6px; }
.popular-badge { font-size: 10px; background: var(--primary-light); color: var(--primary); padding: 2px 8px; border-radius: 6px; font-weight: 600; }

/* ── Kategoriler ── */
.categories-section { margin-bottom: 24px; }
.categories-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; }
.category-card { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 18px; padding: 14px; box-shadow: 0 2px 10px rgba(0,0,0,0.06); border: 2px solid transparent; cursor: pointer; text-decoration: none; transition: all 0.25s; position: relative; overflow: hidden; }
.category-card::before { content: ''; position: absolute; inset: 0; background: var(--cat-color,var(--primary)); opacity: 0; transition: opacity 0.25s; }
.category-card:hover::before,.category-card.active::before { opacity: 0.07; }
.category-card.active { border-color: var(--cat-color,var(--primary)); }
.cat-icon-box { width: 46px; height: 46px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; background: var(--cat-bg,var(--primary-light)); }
.cat-info { flex: 1; min-width: 0; }
.cat-name { font-size: 13px; font-weight: 700; color: #222; margin: 0 0 2px; }
.cat-count { font-size: 11px; color: var(--text-muted); margin: 0; }
.cat-arrow { color: #ccc; font-size: 16px; flex-shrink: 0; }

/* ── Section Header ── */
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.section-header h5 { font-size: 16px; font-weight: 700; color: #222; margin: 0; }
.section-header a { font-size: 12px; color: var(--primary); font-weight: 600; text-decoration: none; }

/* ── Featured ── */
.featured-biz-list { list-style: none; padding: 0; margin: 0; }
.featured-biz-list li { margin-bottom: 14px; }

/* ── Spinner ── */
.spin { width: 18px; height: 18px; border: 2px solid #eee; border-top-color: var(--primary); border-radius: 50%; animation: spin 0.6s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
