@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --primary: #b91c1c;
  --primary-hover: #991b1b;
  --primary-light: #fee2e2;
  --primary-glow: rgba(185, 28, 28, 0.2);
  --header-bg: #ffffff;
  --header-text: #0f172a;
  --body-bg: #f8fafc;
  --footer-bg: #0f172a;
  --footer-text: #94a3b8;
  --price-color: #dc2626;
  --product-title-color: #0f172a;
  --product-desc-color: #64748b;
  
  --surface: #ffffff;
  --surface-hover: #f1f5f9;
  --text: #0f172a;
  --text-muted: #64748b;
  --text-sub: #94a3b8;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 6px 18px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 30px rgba(15, 23, 42, 0.12);
  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --bottom-bar-height: 64px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
}

#kategoriler {
  scroll-margin-top: 120px;
}

body {
  font-family: var(--font);
  background-color: var(--body-bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--bottom-bar-height) + 24px);
  transition: background-color 0.2s ease;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main, .container, main.container {
  flex: 1 0 auto;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ============================================================
   HEADER & NAVBAR (MOBILE FIRST)
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  border-bottom: 1px solid var(--border);
  transition: all 0.25s ease;
  box-shadow: var(--shadow-xs);
}

.header-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  gap: 12px;
}

.header-left, .header-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.header-center {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 0 4px;
  overflow: hidden;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
}

.logo-img {
  height: 38px;
  max-width: 140px;
  object-fit: contain;
  border-radius: var(--radius-xs);
}

.logo-text {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--header-text);
}

.header-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-xs);
  flex-shrink: 0;
}

.header-btn:hover, .header-btn:active {
  background: var(--surface-hover);
  border-color: var(--text-sub);
  transform: translateY(-1px);
}

.header-btn.wifi-btn {
  color: #0284c7;
  background: #f0f9ff;
  border-color: #bae6fd;
}

.header-btn.whatsapp-header-btn {
  color: #16a34a;
  background: #f0fdf4;
  border-color: #bbf7d0;
}

.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
}

@media (max-width: 768px) {
  .hamburger-btn {
    display: flex;
  }
}

.hamburger-bar {
  display: block;
  width: 18px;
  height: 2px;
  background-color: var(--text);
  border-radius: 2px;
  transition: all 0.2s ease;
}

/* ============================================================
   MOBILE DRAWER / OFF-CANVAS SIDEBAR
   ============================================================ */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 9999;
  visibility: hidden;
  transition: visibility 0.25s ease;
}

@media (min-width: 769px) {
  .mobile-drawer {
    display: none !important;
  }
}

.mobile-drawer.active {
  visibility: visible;
}

.drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.mobile-drawer.active .drawer-backdrop {
  opacity: 1;
}

.drawer-panel {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 310px;
  max-width: 86vw;
  background: #ffffff;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  z-index: 2;
}

.mobile-drawer.active .drawer-panel {
  transform: translateX(0);
}

.drawer-head {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}

.drawer-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f1f5f9;
  border: none;
  font-size: 22px;
  color: #64748b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}

.drawer-close-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.drawer-status-strip {
  padding: 12px 20px;
  background: #f8fafc;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.drawer-nav {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.drawer-group-title {
  font-size: 11px;
  font-weight: 800;
  color: #94a3b8;
  letter-spacing: 0.6px;
  padding: 12px 10px 4px 10px;
  text-transform: uppercase;
}

.drawer-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  color: #334155;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s ease;
}

.drawer-nav-item:hover, .drawer-nav-item:active {
  background: #f1f5f9;
  color: var(--primary);
}

.drawer-nav-item.sub-item {
  padding-left: 24px;
  font-size: 13.5px;
}

.drawer-icon {
  font-size: 16px;
}

.drawer-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--border);
  background: #f8fafc;
}

/* ============================================================
   HERO INTERACTIVE SLIDER / CAROUSEL
   ============================================================ */
.hero-slider-wrap {
  max-width: 960px;
  margin: 16px auto 14px auto;
  padding: 0 16px;
  box-sizing: border-box;
  position: relative;
}

.hero-slider {
  position: relative;
  background-color: #0f172a;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  min-height: 250px;
  height: 290px;
}

@media (min-width: 640px) {
  .hero-slider {
    height: 330px;
  }
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  color: #fff;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-in-out, transform 0.5s ease;
  transform: scale(1.02);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 2;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.25) 0%, rgba(15, 23, 42, 0.82) 65%, rgba(15, 23, 42, 0.96) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 24px 58px;
}

@media (max-width: 480px) {
  .hero-content {
    padding: 20px 46px;
  }
}

.hero-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.hero-title {
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #ffffff;
  text-shadow: 0 2px 5px rgba(0,0,0,0.6);
  margin-bottom: 4px;
  line-height: 1.25;
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 28px;
  }
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  background: rgba(34, 197, 94, 0.2);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.4);
  backdrop-filter: blur(8px);
}

.status-badge.status-closed {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
  border-color: rgba(239, 68, 68, 0.4);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
}

.status-badge.status-closed .status-dot {
  background: #ef4444;
  box-shadow: 0 0 8px #ef4444;
}

.hero-subtitle {
  font-size: 13px;
  color: #e2e8f0;
  margin-bottom: 12px;
  line-height: 1.45;
  max-width: 620px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.hero-actions {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.hero-chip-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.hero-chip-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.hero-chip-btn.hero-primary-btn {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 2px 8px var(--primary-glow);
}

.hero-chip-btn.hero-primary-btn:hover {
  background: var(--primary-hover);
}

.hero-chip-btn.whatsapp-chip {
  background: #16a34a;
  border-color: #22c55e;
  color: #ffffff;
}

.hero-chip-btn.whatsapp-chip:hover {
  background: #15803d;
}

.hero-chip-btn.maps-chip {
  background: #0284c7;
  border-color: #38bdf8;
  color: #ffffff;
}

.hero-chip-btn.maps-chip:hover {
  background: #0369a1;
}

/* Slider Arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  font-size: 22px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
}

.slider-arrow:hover {
  background: rgba(15, 23, 42, 0.85);
  transform: translateY(-50%) scale(1.1);
}

.slider-arrow.prev { left: 12px; }
.slider-arrow.next { right: 12px; }

/* Slider Dots */
.slider-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 6px;
  align-items: center;
}

.slider-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  padding: 0;
}

.slider-dots .dot.active {
  width: 22px;
  background: #ffffff;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

/* ============================================================
   STICKY CATEGORY PILLS BAR
   ============================================================ */
.category-pills-bar {
  position: sticky;
  top: 65px;
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.pills-scroll {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2px 16px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap; /* Wraps cleanly so ALL categories are 100% visible on screen */
  align-items: center;
  box-sizing: border-box;
}

.pill-item {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--body-bg);
  border: 1px solid var(--border);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

.pill-item:hover, .pill-item.active {
  color: #ffffff;
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 4px 12px var(--primary-glow);
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .category-pills-bar {
    padding: 8px 0;
  }
  .pills-scroll {
    gap: 6px;
  }
  .pill-item {
    padding: 6px 12px;
    font-size: 12px;
  }
}

/* ============================================================
   MAIN CONTAINER & SECTIONS
   ============================================================ */
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 16px;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 26px 0 14px 0;
}

.section-title {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  background: var(--primary-light);
  color: var(--primary);
}

/* ============================================================
   FAVORITES HORIZONTAL CAROUSEL
   ============================================================ */
.fav-scroll {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 12px;
  margin: 0 -16px;
  padding-left: 16px;
  padding-right: 16px;
  scrollbar-width: none;
}

.fav-scroll::-webkit-scrollbar {
  display: none;
}

.fav-item-card {
  flex: 0 0 250px;
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
  position: relative;
}

.fav-item-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--text-sub);
}

.fav-media {
  position: relative;
  height: 140px;
  background-size: cover;
  background-position: center;
  background-color: #e2e8f0;
}

.fav-badge-star {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(6px);
  color: #facc15;
  padding: 4px 8px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.fav-content {
  padding: 12px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.fav-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--product-title-color);
  margin-bottom: 4px;
  line-height: 1.3;
}

.fav-desc {
  font-size: 12px;
  color: var(--product-desc-color);
  line-height: 1.4;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.fav-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px dashed var(--border-light);
}

.price-tag {
  font-size: 16px;
  font-weight: 800;
  color: var(--price-color);
  letter-spacing: -0.3px;
}

.var-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: var(--surface-hover);
  color: var(--text);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.15s ease;
}

.var-pill-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ============================================================
   CATEGORIES GRID
   ============================================================ */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (min-width: 640px) {
  .cat-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

.cat-box {
  position: relative;
  height: 150px;
  border-radius: var(--radius-md);
  background-size: cover;
  background-position: center;
  background-color: #334155;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.06);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.cat-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.05) 0%, rgba(15, 23, 42, 0.88) 100%);
  transition: opacity 0.25s ease;
}

.cat-box.hover, .cat-box:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.cat-box.no-img {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cat-box.no-img::before {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.2) 0%, rgba(15, 23, 42, 0.85) 100%);
}

.cat-box-placeholder-icon {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 28px;
  opacity: 0.5;
  z-index: 2;
}

.cat-box.full {
  grid-column: 1 / -1;
  height: 160px;
}

.cat-box.vertical {
  height: 220px;
}

.cat-box-content {
  position: relative;
  z-index: 2;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cat-box-name {
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.3px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

.cat-box-arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all 0.2s ease;
}

.cat-box:hover .cat-box-arrow {
  background: var(--primary);
  transform: translateX(2px);
}

/* ============================================================
   GOOGLE & TRIPADVISOR REVIEWS CAROUSEL / CARDS
   ============================================================ */
.reviews-section {
  margin: 32px 0 16px 0;
}

.reviews-badge-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.rating-score-box {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-xs);
  font-size: 13px;
  font-weight: 700;
}

.reviews-scroll {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 12px;
  margin: 0 -16px;
  padding-left: 16px;
  padding-right: 16px;
  scrollbar-width: none;
}

.reviews-scroll::-webkit-scrollbar {
  display: none;
}

.review-card {
  flex: 0 0 290px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.2s ease;
}

.review-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--text-sub);
}

.review-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.review-author-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.review-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
}

.review-author-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}

.review-date {
  font-size: 11px;
  color: var(--text-muted);
}

.review-platform-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.review-platform-badge.google {
  background: #e8f0fe;
  color: #1a73e8;
}

.review-platform-badge.tripadvisor {
  background: #e6f7f2;
  color: #00aa6c;
}

.review-stars {
  color: #f59e0b;
  font-size: 14px;
  margin-bottom: 8px;
  display: flex;
  gap: 2px;
}

.review-text {
  font-size: 13px;
  color: #334155;
  line-height: 1.5;
  font-style: italic;
}

/* ============================================================
   LOCATION & MAPS CONTACT STRIP
   ============================================================ */
.location-card-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin: 32px 0 16px 0;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.loc-details {
  flex: 1;
  min-width: 240px;
}

.loc-title {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 4px;
  color: var(--text);
}

.loc-address {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 8px;
}

.loc-btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ============================================================
   PRODUCT CARDS (CATEGORY VIEW)
   ============================================================ */
.menu-products-grid {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.product-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
  display: flex;
  overflow: hidden;
  transition: all 0.2s ease;
  position: relative;
}

.product-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--text-sub);
  transform: translateY(-2px);
}

.product-card.no-image .product-body {
  width: 100%;
  padding: 14px 16px;
}

.product-img {
  width: 110px;
  min-height: 110px;
  background-size: cover;
  background-position: center;
  background-color: #f1f5f9;
  flex-shrink: 0;
  position: relative;
}

.product-body {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  min-width: 0;
}

.product-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--product-title-color);
  line-height: 1.3;
}

.product-desc {
  font-size: 12px;
  color: var(--product-desc-color);
  line-height: 1.4;
  margin: 4px 0 8px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

/* ============================================================
   MODALS
   ============================================================ */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 100;
}

.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: fadeIn 0.2s ease;
}

.modal-content {
  position: relative;
  z-index: 2;
  width: 90%;
  max-width: 440px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  animation: modalScaleUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalScaleUp { from { opacity: 0; transform: scale(0.92) translateY(10px); } to { opacity: 1; transform: scale(1) translateY(0); } }

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-light);
}

.modal-title { font-size: 17px; font-weight: 700; color: var(--text); }
.modal-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--surface-hover);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s ease;
}

.modal-close-btn:hover { background: #fee2e2; color: var(--primary); }
.modal-body { padding: 20px; }

/* WIFI MODAL */
.wifi-card-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.wifi-icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #e0f2fe;
  color: #0284c7;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wifi-password-box {
  width: 100%;
  background: var(--body-bg);
  border: 2px dashed #38bdf8;
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wifi-text-val {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--text);
  user-select: all;
}

.copy-btn {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  background: #0284c7;
  color: #fff;
  border: none;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.copy-btn:hover { background: #0369a1; }

/* VARIANTS TABLE */
.variants-table { width: 100%; border-collapse: collapse; }
.variants-table tr { border-bottom: 1px solid var(--border-light); }
.variants-table tr:last-child { border-bottom: none; }
.variants-table td { padding: 10px 4px; font-size: 14px; }
.variants-table .v-name { font-weight: 600; color: var(--text); }
.variants-table .v-price { text-align: right; font-weight: 800; color: var(--price-color); }

/* SEARCH FIELD & RESULTS */
.search-modal-container { padding: 16px; }
.search-input-wrap { position: relative; display: flex; align-items: center; }
.search-input-wrap svg { position: absolute; left: 14px; color: var(--text-sub); }
.search-field {
  width: 100%;
  padding: 12px 14px 12px 42px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--body-bg);
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  outline: none;
  transition: all 0.2s ease;
}

.search-field:focus {
  background: var(--surface);
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.search-results-list {
  max-height: 340px;
  overflow-y: auto;
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sr-group-head {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-sub);
  letter-spacing: 0.5px;
  padding: 6px 4px 2px 4px;
}

.sr-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border-light);
  transition: all 0.15s ease;
}

.sr-row:hover { background: var(--surface-hover); border-color: var(--border); transform: translateX(2px); }
.sr-row-name { font-size: 14px; font-weight: 600; color: var(--text); }
.sr-row-sub { font-size: 11px; color: var(--text-muted); }

/* ============================================================
   MOBILE BOTTOM NAVIGATION BAR
   ============================================================ */
.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 45;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
  height: var(--bottom-bar-height);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -4px 16px rgba(15, 23, 42, 0.05);
}

@media (min-width: 768px) {
  .mobile-bottom-nav { display: none; }
  body { padding-bottom: 24px; }
}

.bnav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 600;
  border: none;
  background: transparent;
  cursor: pointer;
  flex: 1;
  height: 100%;
  transition: all 0.15s ease;
}

.bnav-btn.active, .bnav-btn:hover { color: var(--primary); }
.bnav-btn svg { width: 22px; height: 22px; }

/* ============================================================
   FOOTER (CUSTOMIZABLE VIA ADMIN)
   ============================================================ */
.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 40px 0 28px 0;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: 13px;
  line-height: 1.6;
}

.footer-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.footer-social-strip { display: flex; align-items: center; gap: 12px; }
.social-circle-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all 0.2s ease;
}

.social-circle-link:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.footer-custom-text {
  max-width: 600px;
  color: var(--footer-text);
  font-size: 13px;
}

/* Category Inner Page Hero & Title */
.cat-cover-wrap {
  width: 100%;
  max-width: var(--max-w);
  margin: 12px auto 0 auto;
  padding: 0 16px;
}

.cat-cover-photo {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  display: block;
  background-color: #334155;
  border: 1px solid var(--border);
}

@media (min-width: 640px) {
  .cat-cover-photo {
    height: 240px;
  }
}

.cat-info-bar {
  max-width: var(--max-w);
  margin: 16px auto 10px auto;
  padding: 0 16px;
}

.cat-info-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.cat-title-text {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  margin: 0;
  letter-spacing: -0.3px;
}

.cat-badge-count {
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: #f1f5f9;
  color: #475569;
  border: 1px solid var(--border);
}

/* LANGUAGE SWITCHER BAR & FLAGS */
.lang-switcher-wrap {
  display: inline-flex;
  align-items: center;
  background: rgba(241, 245, 249, 0.95);
  padding: 3px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  gap: 2px;
}

.lang-flag-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  color: #64748b;
  transition: all 0.2s ease;
  line-height: 1;
}

.lang-flag-btn:hover {
  color: #1e293b;
  background: rgba(255, 255, 255, 0.6);
}

.lang-flag-btn.active {
  background: var(--primary);
  color: #ffffff !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.lang-flag-emoji {
  font-size: 14px;
  line-height: 1;
}

.lang-code {
  font-weight: 800;
  letter-spacing: 0.2px;
}

/* Mobile Responsive Header & Language Switcher Layout */
@media (max-width: 640px) {
  .header-inner {
    padding: 8px 12px;
    gap: 8px;
  }
  .header-left, .header-right {
    gap: 6px;
    flex-shrink: 0;
  }
  .header-btn {
    width: 36px;
    height: 36px;
  }
  /* Prevent header clutter and logo collision on mobile: */
  /* WhatsApp is fixed in bottom bar; wifi & share are accessible in the drawer */
  .header-left .whatsapp-header-btn,
  .header-left .wifi-btn,
  .header-right .wifi-btn,
  .header-right .trigger-share {
    display: none !important;
  }
  .header-center {
    padding: 0 4px;
    overflow: hidden;
  }
  .logo-img {
    height: 32px;
    max-width: 110px;
  }
  .logo-text {
    font-size: 15px;
    max-width: 120px;
  }
  .lang-switcher-wrap {
    padding: 2px 3px;
    gap: 2px;
    flex-shrink: 0;
  }
  .lang-flag-btn {
    padding: 3px 6px;
    font-size: 10px;
    gap: 3px;
  }
  .lang-flag-emoji {
    font-size: 13px;
  }
  .lang-code {
    font-size: 10px;
  }
}

@media (max-width: 380px) {
  .header-inner {
    padding: 6px 8px;
    gap: 4px;
  }
  .lang-code {
    display: none; /* Show clean flags 🇹🇷 and 🇬🇧 without text on tiny screens */
  }
  .lang-flag-btn {
    padding: 3px 5px;
  }
  .logo-img {
    max-width: 90px;
    height: 28px;
  }
  .logo-text {
    font-size: 14px;
    max-width: 100px;
  }
}
