/* ==========================================================================
   İpeksüt Dondurma & Waffle - Master Stylesheet
   Modern, responsive, artisanal dessert & ice cream aesthetic
   ========================================================================== */

:root {
  /* Color Palette - Light Theme */
  --bg-primary: #FFFDF9;
  --bg-secondary: #FAF5EE;
  --bg-card: #FFFFFF;
  --bg-surface: #F3ECE1;
  --text-primary: #2D241E;
  --text-secondary: #6B5E55;
  --text-muted: #9C8E84;
  
  --primary: #E65100;
  --primary-hover: #D84315;
  --primary-light: #FFE0B2;
  --primary-glow: rgba(230, 81, 0, 0.25);

  --secondary: #8D6E63;
  --accent-gold: #F59E0B;
  --accent-pistachio: #10B981;
  --accent-strawberry: #F43F5E;
  --accent-chocolate: #4E342E;
  
  --border-color: #EFE7DC;
  --border-light: rgba(0, 0, 0, 0.06);
  --shadow-sm: 0 4px 12px rgba(45, 36, 30, 0.05);
  --shadow-md: 0 8px 24px rgba(45, 36, 30, 0.08);
  --shadow-lg: 0 16px 40px rgba(45, 36, 30, 0.12);
  --shadow-glow: 0 0 30px var(--primary-glow);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);

  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-serif: 'Outfit', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Outfit', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

[data-theme="dark"] {
  --bg-primary: #12100E;
  --bg-secondary: #1C1815;
  --bg-card: #231E1A;
  --bg-surface: #2E2722;
  --text-primary: #F5EFEB;
  --text-secondary: #C4B8AF;
  --text-muted: #8E8278;

  --primary: #FF7043;
  --primary-hover: #FF8A65;
  --primary-light: #3E2723;
  --primary-glow: rgba(255, 112, 67, 0.35);

  --border-color: #38302A;
  --border-light: rgba(255, 255, 255, 0.08);
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.6);
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

ul {
  list-style: none;
}

button, input, textarea {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5.5rem 0;
  position: relative;
}

.text-center {
  text-align: center;
}

.text-danger {
  color: #EF4444;
}

.text-success {
  color: #10B981;
}

.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.w-100 { width: 100%; }

/* Typography */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary);
}

.section-header {
  max-width: 700px;
  margin: 0 auto 3.5rem;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.1rem;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  margin-bottom: 0.8rem;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-fast);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent-gold));
  color: #FFFFFF;
  box-shadow: 0 4px 16px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--primary-glow);
  filter: brightness(1.05);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border-color: var(--border-color);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--bg-surface);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-color);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

.btn-whatsapp {
  background: #25D366;
  color: #FFFFFF;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background: #20BA5A;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.btn-white {
  background: #FFFFFF;
  color: #2D241E;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-white:hover {
  background: #FAF5EE;
  transform: scale(1.03);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

/* Button Ripple (Project 20: Button Ripple Effect) */
.ripple-btn {
  position: relative;
  overflow: hidden;
}

.circle-ripple {
  position: absolute;
  background-color: rgba(255, 255, 255, 0.5);
  width: 100px;
  height: 100px;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  animation: rippleScale 0.5s ease-out;
  pointer-events: none;
}

@keyframes rippleScale {
  to {
    transform: translate(-50%, -50%) scale(3);
    opacity: 0;
  }
}

/* ==========================================================================
   Toast Notification Container (Project 27)
   ========================================================================== */
#toasts {
  position: fixed;
  bottom: 25px;
  right: 25px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  z-index: 9999;
}

.toast {
  background: var(--bg-card);
  color: var(--text-primary);
  border-radius: var(--radius-md);
  padding: 1rem 1.4rem;
  margin: 0;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  font-weight: 500;
  border-left: 4px solid var(--primary);
  animation: slideInToast 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  max-width: 380px;
}

.toast.toast-success { border-left-color: #10B981; }
.toast.toast-danger { border-left-color: #EF4444; }
.toast.toast-info { border-left-color: var(--accent-gold); }

@keyframes slideInToast {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* ==========================================================================
   Announcement Bar
   ========================================================================== */
.announcement-bar {
  background: linear-gradient(90deg, #2D241E, #3E2723);
  color: #FAF5EE;
  font-size: 0.85rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.announcement-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.announcement-left, .announcement-right {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.live-badge {
  background: rgba(16, 185, 129, 0.2);
  color: #34D399;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.pulse-dot {
  font-size: 0.5rem;
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

.phone-link:hover {
  color: var(--accent-gold);
}

.social-mini {
  display: flex;
  gap: 0.8rem;
}

.social-mini a {
  color: #C4B8AF;
}

.social-mini a:hover {
  color: #FFFFFF;
}

/* Announcement Bar — Konya Sıralama Rozeti */
.konya-rank-badge {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.22), rgba(245, 158, 11, 0.15));
  color: #FCD34D;
  border: 1px solid rgba(251, 191, 36, 0.4);
  padding: 0.18rem 0.7rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
  animation: rankGlow 3s ease-in-out infinite;
}

@keyframes rankGlow {
  0%, 100% { box-shadow: 0 0 0px rgba(251, 191, 36, 0); }
  50% { box-shadow: 0 0 10px rgba(251, 191, 36, 0.5); }
}


/* ==========================================================================
   Navbar (Project 25 & 14: Sticky & Animated Navigation)
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: all var(--transition-normal);
}

.navbar.sticky {
  background: rgba(255, 253, 249, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  padding: 0.4rem 0;
}

[data-theme="dark"] .navbar.sticky {
  background: rgba(18, 16, 14, 0.95);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  transition: height var(--transition-fast);
}

.navbar.sticky .nav-container {
  height: 64px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.logo-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 4px 12px var(--primary-glow);
  flex-shrink: 0;
}

.logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-full);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--text-primary);
}

.brand-sub {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: -3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  white-space: nowrap;
}

.nav-link {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-secondary);
  position: relative;
  padding: 0.4rem 0;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.highlight-link {
  color: var(--primary) !important;
  background: var(--primary-light);
  padding: 0.4rem 0.9rem !important;
  border-radius: var(--radius-full);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.highlight-link::after {
  display: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  white-space: nowrap;
}

.theme-toggle-btn, .cart-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  position: relative;
  transition: all var(--transition-fast);
}

.theme-toggle-btn:hover, .cart-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: scale(1.05);
}

.cart-count-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--primary);
  color: #FFFFFF;
  font-size: 0.7rem;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px var(--primary-glow);
}

.hamburger-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.hamburger-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all var(--transition-fast);
  transform-origin: center;
}

.hamburger-btn.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger-btn.active span:nth-child(2) {
  opacity: 0;
  transform: scale(0);
}

.hamburger-btn.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   Hero Section (Project 7: Split Landing Page + Project 30: Auto Text)
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #111;
}

.hero-center-badge {
  position: absolute;
  top: 95px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  pointer-events: none;
  max-width: 90%;
}

.center-badge-inner {
  background: rgba(255, 253, 249, 0.94);
  backdrop-filter: blur(20px);
  padding: 10px 24px;
  border-radius: var(--radius-full);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  gap: 16px;
  pointer-events: auto;
  font-size: 0.95rem;
  font-weight: 700;
}

[data-theme="dark"] .center-badge-inner {
  background: rgba(28, 22, 18, 0.94);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.65);
}

.rating-mini {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-gold);
  white-space: nowrap;
}

.rating-mini span {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.85rem;
}

/* Hero Badge — Row + Rank Pill */
.hero-badge-row {
  display: flex;
  align-items: center;
  gap: 10px;
  border-right: 1px solid var(--border-color);
  padding-right: 14px;
}

.rank-pill {
  display: flex;
  align-items: center;
  gap: 4px;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.18), rgba(245, 158, 11, 0.1));
  border: 1px solid rgba(251, 191, 36, 0.35);
  border-radius: var(--radius-full);
  padding: 2px 10px;
  font-size: 0.8rem;
  white-space: nowrap;
}

.rank-num {
  font-weight: 800;
  color: var(--accent-gold);
}

.rank-label {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.75rem;
}


.auto-text-container {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-primary);
  white-space: nowrap;
}

.dynamic-text {
  display: inline-block;
  color: var(--primary);
  background: linear-gradient(135deg, var(--primary), var(--accent-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
}

.cursor {
  display: inline-block;
  color: var(--primary);
  font-weight: 300;
  animation: blink 0.9s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero-split-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
}

.split-side {
  position: relative;
  flex: 1;
  height: 100%;
  overflow: hidden;
  transition: flex 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: flex;
  align-items: flex-end;
  padding: 80px 60px;
}

.hero-split-wrapper.hover-left .split-left {
  flex: 1.75;
}
.hero-split-wrapper.hover-left .split-right {
  flex: 0.65;
}

.hero-split-wrapper.hover-right .split-right {
  flex: 1.75;
}
.hero-split-wrapper.hover-right .split-left {
  flex: 0.65;
}

.split-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s ease;
}

.split-side:hover .split-bg {
  transform: scale(1.08);
}

.split-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(18, 16, 14, 0.2) 0%, rgba(18, 16, 14, 0.9) 100%);
  transition: opacity 0.5s ease;
}

.split-side:hover .split-overlay {
  opacity: 0.75;
}

.split-content {
  position: relative;
  z-index: 5;
  color: #FFFFFF;
  max-width: 480px;
  backdrop-filter: blur(14px);
  background: rgba(18, 16, 14, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  transition: transform 0.4s ease, border-color 0.4s ease;
}

.split-side:hover .split-content {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.4);
}

.split-content .badge-tag {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: #FFF;
}

.split-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.2;
  margin: 8px 0 12px;
}

.split-desc {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.btn-split {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  background: #FFFFFF;
  color: #12100E;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-full);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.25s ease;
}

.btn-split:hover {
  background: var(--primary);
  color: #FFFFFF;
  transform: translateX(4px);
  box-shadow: 0 8px 25px var(--primary-glow);
}

.btn-split-waffle:hover {
  background: #E65100;
  color: #FFFFFF;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero-subtext {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 1.8rem;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   Stats Section (Project 15: Incrementing Counter)
   ========================================================================== */
.stats-section {
  background: var(--bg-card);
  padding: 3rem 0;
  border-bottom: 1px solid var(--border-color);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stat-card {
  text-align: center;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  transition: transform var(--transition-fast);
}

.stat-card:hover {
  transform: translateY(-4px);
}

.stat-icon {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 0.8rem;
}

.stat-number-wrapper {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--text-primary);
  font-family: var(--font-serif);
}

.stat-unit {
  color: var(--primary);
  font-size: 1.8rem;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 600;
  margin-top: 0.2rem;
}

.stat-sub {
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 500;
  margin-top: 0.1rem;
}

.stat-rank-num {
  font-size: 2.2rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent-gold), #F59E0B);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

.stat-card-rank {
  border: 1px solid rgba(251, 191, 36, 0.3) !important;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.06), rgba(245, 158, 11, 0.03)) !important;
}

.stat-icon-gold {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.2), rgba(245, 158, 11, 0.1)) !important;
  color: var(--accent-gold) !important;
  box-shadow: none !important;
}


/* ==========================================================================
   Expanding Cards Section (Project 1: Expanding Cards)
   ========================================================================== */
.specialties-section {
  background: var(--bg-secondary);
}

.expanding-cards-container {
  display: flex;
  width: 100%;
  height: 520px;
  gap: 16px;
}

.panel {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100%;
  border-radius: var(--radius-lg);
  color: #fff;
  cursor: pointer;
  flex: 0.6;
  margin: 0;
  position: relative;
  transition: flex 0.7s cubic-bezier(0.05, 0.6, 0.4, 0.9);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.85) 100%);
  transition: opacity 0.4s ease;
}

.panel.active {
  flex: 4;
}

.panel-content {
  position: absolute;
  bottom: 25px;
  left: 25px;
  right: 25px;
  z-index: 2;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease 0.2s, transform 0.4s ease 0.2s;
}

.panel.active .panel-content {
  opacity: 1;
  transform: translateY(0);
}

.panel-badge {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  background: var(--primary);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.6rem;
}

.panel-content h3 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: #FFFFFF;
  margin-bottom: 0.5rem;
}

.panel-content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
  max-width: 500px;
}

/* ==========================================================================
   Waffle Studio Builder (Projects 2, 21, 44)
   ========================================================================== */
.waffle-studio-section {
  background: var(--bg-primary);
}

.builder-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 3rem;
  box-shadow: var(--shadow-md);
}

/* Progress Steps (Project 2) */
.progress-steps-container {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-bottom: 3.5rem;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.progress-line {
  background-color: var(--border-color);
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  height: 4px;
  width: 100%;
  z-index: 1;
}

.progress-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--accent-gold));
  transition: width 0.4s ease;
}

.step-circle {
  background-color: var(--bg-card);
  color: var(--text-muted);
  border-radius: 50%;
  height: 38px;
  width: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--border-color);
  transition: all 0.4s ease;
  z-index: 2;
  position: relative;
  font-weight: 700;
  font-size: 0.95rem;
}

.step-circle label {
  position: absolute;
  top: 46px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  transition: color 0.3s ease;
}

.step-circle.active {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 0 12px var(--primary-glow);
}

.step-circle.active label {
  color: var(--primary);
}

.step-circle.completed {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.step-circle.completed label {
  color: var(--text-primary);
}

.builder-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: start;
}

.builder-step-panel {
  display: none;
  animation: fadeIn 0.4s ease;
}

.builder-step-panel.active {
  display: block;
}

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

.builder-step-panel h3 {
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-primary);
}

.step-desc {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin-bottom: 1.5rem;
}

.options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}

.option-card {
  background: var(--bg-secondary);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  position: relative;
  transition: all var(--transition-fast);
}

.option-card input {
  position: absolute;
  opacity: 0;
}

.option-card:hover {
  border-color: var(--primary-light);
  transform: translateY(-2px);
}

.option-card.active {
  border-color: var(--primary);
  background: var(--primary-light);
  box-shadow: 0 4px 14px var(--primary-glow);
}

[data-theme="dark"] .option-card.active {
  background: var(--bg-surface);
}

.option-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--primary);
  flex-shrink: 0;
}

.choc-icon.milk { color: #8D6E63; }
.choc-icon.white { color: #D7CCC8; }
.choc-icon.dark { color: #3E2723; }
.choc-icon.pistachio { color: #10B981; }
.choc-icon.lotus { color: #D97706; }

.fruit-icon { color: #F43F5E; }
.fruit-icon.banana { color: #FBBF24; }
.fruit-icon.kiwi { color: #84CC16; }
.fruit-icon.berry { color: #8B5CF6; }

.option-info h4 {
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.option-info p {
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-bottom: 0.3rem;
}

.price-tag {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
}

.check-mark {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.5);
  transition: all var(--transition-fast);
}

.option-card.active .check-mark {
  opacity: 1;
  transform: scale(1);
}

/* Sweetness Slider (Project 44) */
.slider-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 1.2rem 1.5rem;
  border-radius: var(--radius-md);
}

.slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.8rem;
}

.slider-header label {
  font-weight: 600;
  font-size: 0.92rem;
}

.slider-value-badge {
  background: var(--primary);
  color: #fff;
  padding: 0.2rem 0.7rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
}

.custom-range {
  width: 100%;
  accent-color: var(--primary);
  cursor: pointer;
}

.range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
}

/* Builder Navigation */
.builder-nav-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}

/* Summary Card */
.summary-card {
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  border: 1px solid var(--border-color);
}

.summary-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.summary-badge {
  font-weight: 700;
  color: var(--primary);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.summary-total {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-primary);
  font-family: var(--font-serif);
}

.summary-details {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.summary-row strong {
  color: var(--text-primary);
}

.order-notes-box {
  margin-bottom: 1.5rem;
}

.order-notes-box label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.order-notes-box input {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  color: var(--text-primary);
}

.summary-actions {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

/* Live Preview Sidebar */
.builder-preview-sidebar {
  position: sticky;
  top: 90px;
}

.preview-box {
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  padding: 1.5rem;
  text-align: center;
}

.preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.preview-header h4 {
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.pulse-live {
  background: #EF4444;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
  animation: pulse 1.5s infinite;
}

.waffle-plate-visual {
  height: 220px;
  background: radial-gradient(circle, #FAF5EE 0%, #EFE7DC 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.06);
}

[data-theme="dark"] .waffle-plate-visual {
  background: radial-gradient(circle, #2E2722 0%, #1C1815 100%);
}

.plate-base {
  width: 170px;
  height: 170px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.waffle-base-layer {
  width: 140px;
  height: 140px;
  background: #E0A96D;
  border-radius: 20px;
  border: 4px dashed #C68B59;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.waffle-sauce-layer {
  position: absolute;
  width: 120px;
  height: 120px;
  background: rgba(109, 76, 65, 0.7);
  border-radius: 18px;
  filter: blur(2px);
  transition: all 0.3s ease;
}

.waffle-fruit-layer {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.fruit-dot {
  font-size: 1.4rem;
  animation: bounceDot 2s infinite ease-in-out;
}

.fruit-dot.strawberry { color: #EF4444; }
.fruit-dot.banana { color: #FBBF24; }

@keyframes bounceDot {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.waffle-icecream-layer {
  position: absolute;
  top: 15%;
  right: 15%;
  z-index: 5;
}

.waffle-icecream-layer.hidden {
  display: none;
}

.icecream-ball {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #FFFDF9;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.preview-info-card {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.82rem;
}

.preview-info-row {
  display: flex;
  justify-content: space-between;
  color: var(--text-secondary);
}

.preview-info-row strong {
  color: var(--text-primary);
}

.preview-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.6rem;
  padding-top: 0.6rem;
  border-top: 1px dashed var(--border-color);
  font-size: 0.95rem;
}

.live-price {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-serif);
}

/* ==========================================================================
   Menu Catalog (Projects 42, 4, 29)
   ========================================================================== */
.menu-section {
  background: var(--bg-secondary);
}

.menu-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.filter-tabs {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.filter-tab {
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition-fast);
}

.filter-tab:hover, .filter-tab.active {
  background: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
  box-shadow: 0 4px 12px var(--primary-glow);
}

/* Hidden Search (Project 4) */
.search-box-wrapper {
  position: relative;
}

.search {
  position: relative;
  height: 44px;
}

.search .search-input {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  font-size: 0.92rem;
  padding: 0 15px;
  height: 44px;
  width: 44px;
  border-radius: var(--radius-full);
  transition: width 0.3s ease;
  color: var(--text-primary);
}

.search-btn {
  background-color: var(--bg-card);
  border: 0;
  cursor: pointer;
  font-size: 1rem;
  position: absolute;
  top: 0;
  right: 0;
  height: 44px;
  width: 44px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: transform 0.3s ease;
}

.search-btn:focus, .search .search-input:focus {
  outline: none;
}

.search.active .search-input {
  width: 260px;
  padding-right: 45px;
  border-color: var(--primary);
}

.heart-counter-banner {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  padding: 0.6rem 1.4rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.pulse-slow {
  animation: pulse 2.5s infinite;
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.8rem;
}

.product-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.product-image-box {
  position: relative;
  height: 200px;
  overflow: hidden;
  cursor: pointer;
}

.product-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-image-box img {
  transform: scale(1.08);
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(45, 36, 30, 0.8);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.product-badge.best {
  background: var(--primary);
}

/* Double Click Heart (Project 29) */
.product-image-box .heart-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  color: #EF4444;
  font-size: 4rem;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
  animation: growHeart 0.6s linear;
  pointer-events: none;
  z-index: 10;
}

@keyframes growHeart {
  0% { transform: translate(-50%, -50%) scale(0); opacity: 0; }
  50% { transform: translate(-50%, -50%) scale(1.4); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(1.8); opacity: 0; }
}

.product-likes-count {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  color: #fff;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.product-info {
  padding: 1.3rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-category-tag {
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}

.product-title {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
  font-weight: 700;
}

.product-desc {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-bottom: 1.2rem;
  flex-grow: 1;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.8rem;
  border-top: 1px solid var(--border-color);
}

.product-price {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-primary);
  font-family: var(--font-serif);
}

/* ==========================================================================
   Taste Quiz Section (Project 46: Quiz App)
   ========================================================================== */
.quiz-section {
  background: var(--bg-primary);
}

.quiz-container {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  max-width: 680px;
  margin: 0 auto;
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.quiz-progress-bar {
  background: var(--border-color);
  height: 6px;
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: 1.2rem;
}

.quiz-progress-fill {
  background: linear-gradient(90deg, var(--primary), var(--accent-gold));
  height: 100%;
  width: 25%;
  transition: width 0.4s ease;
}

.quiz-step-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
}

.quiz-badge-tag {
  color: var(--primary);
  font-weight: 700;
}

.quiz-question-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: 1.8rem;
  color: var(--text-primary);
}

.quiz-options-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-bottom: 1.5rem;
}

.quiz-opt-btn {
  background: var(--bg-secondary);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.4rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all var(--transition-fast);
}

.quiz-opt-btn:hover {
  border-color: var(--primary);
  background: var(--primary-light);
  transform: translateX(4px);
}

.quiz-result-card {
  text-align: center;
  padding: 1rem 0;
  animation: fadeIn 0.5s ease;
}

.result-icon {
  font-size: 3.5rem;
  color: var(--accent-gold);
  margin-bottom: 1rem;
}

.quiz-result-card h3 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  margin-bottom: 0.6rem;
}

.quiz-result-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.recommended-box {
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  border: 1px solid var(--border-color);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  text-align: left;
}

.recommended-box img {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

/* ==========================================================================
   Testimonials & Feedback UI (Projects 47 & 43)
   ========================================================================== */
.testimonials-section {
  background: var(--bg-secondary);
}

.testimonials-wrapper {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2.5rem;
  align-items: stretch;
}

/* Testimonial Box Switcher (Project 47) */
.testimonials-container {
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 3.5rem 3rem;
  position: relative;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.fa-quote {
  color: rgba(230, 81, 0, 0.15);
  font-size: 1.8rem;
  position: absolute;
  top: 35px;
}

.fa-quote-right { left: 40px; }
.fa-quote-left { right: 40px; }

.star-rating-row {
  color: var(--accent-gold);
  font-size: 1rem;
  margin-bottom: 1.2rem;
}

.testimonial {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-primary);
  margin-bottom: 2rem;
  font-style: italic;
  min-height: 90px;
}

.user-info-box {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.user-image {
  border-radius: 50%;
  height: 55px;
  width: 55px;
  object-fit: cover;
  border: 2px solid var(--primary);
}

.username {
  font-size: 1.05rem;
  margin-bottom: 0.1rem;
}

.role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.progress-bar-line {
  background-color: var(--primary);
  height: 4px;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  animation: growBar 10s linear infinite;
  transform-origin: left;
}

@keyframes growBar {
  0% { transform: scaleX(0); }
  100% { transform: scaleX(1); }
}

/* Feedback UI Design (Project 43) */
.feedback-panel {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feedback-panel h3 {
  font-size: 1.3rem;
  margin-bottom: 0.4rem;
}

.feedback-panel p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  margin-bottom: 1.5rem;
}

.ratings-container {
  display: flex;
  justify-content: space-around;
  margin-bottom: 1.5rem;
}

.rating {
  cursor: pointer;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-md);
  text-align: center;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
}

.rating-emoji {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.2rem;
}

.rating small {
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.78rem;
}

.rating:hover, .rating.active {
  background: var(--primary-light);
  border-color: var(--primary);
  transform: scale(1.08);
}

.feedback-input-group textarea {
  width: 100%;
  padding: 0.9rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-secondary);
  color: var(--text-primary);
  resize: none;
  margin-bottom: 1.2rem;
}

.feedback-success {
  text-align: center;
  padding: 2rem 0;
  animation: fadeIn 0.4s ease;
}

.feedback-success.hidden {
  display: none;
}

.success-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

/* ==========================================================================
   FAQ Section (Project 12: FAQ Collapse)
   ========================================================================== */
.faq-section {
  background: var(--bg-primary);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin: 1rem 0;
  padding: 1.5rem 2rem;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.faq.active {
  background-color: var(--bg-card);
  border-color: var(--primary);
  box-shadow: 0 6px 18px var(--primary-glow);
}

.faq-title {
  margin: 0 35px 0 0;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
}

.faq-text {
  display: none;
  margin: 1.2rem 0 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq.active .faq-text {
  display: block;
}

.faq-toggle {
  background-color: transparent;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  padding: 0;
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  height: 30px;
  width: 30px;
  color: var(--text-secondary);
}

.faq-toggle .fa-times {
  display: none;
}

.faq.active .faq-toggle .fa-times {
  display: block;
  color: var(--primary);
}

.faq.active .faq-toggle .fa-chevron-down {
  display: none;
}

/* ==========================================================================
   Contact & Location Section
   ========================================================================== */
.contact-section {
  background: var(--bg-secondary);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.5rem;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast);
}

.info-card:hover {
  transform: translateY(-2px);
}

.info-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.info-text h4 {
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}

.info-text p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  margin-bottom: 0.4rem;
}

.phone-number {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary);
}

.text-link {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.status-pill.open {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(16, 185, 129, 0.15);
  color: #10B981;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
}

.map-wrapper {
  position: relative;
  min-height: 420px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.map-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.map-overlay-card {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(255, 253, 249, 0.94);
  backdrop-filter: blur(12px);
  padding: 1rem 1.4rem;
  border-radius: var(--radius-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow-lg);
}

[data-theme="dark"] .map-overlay-card {
  background: rgba(30, 24, 20, 0.94);
}

.overlay-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.overlay-brand i {
  font-size: 1.5rem;
  color: var(--primary);
}

.overlay-brand strong {
  display: block;
  font-size: 0.95rem;
}

.overlay-brand small {
  color: var(--text-secondary);
}

/* ==========================================================================
   Shopping Cart Drawer
   ========================================================================== */
.cart-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.cart-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -450px;
  width: 100%;
  max-width: 420px;
  height: 100vh;
  background: var(--bg-card);
  z-index: 10001;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-drawer.active {
  right: 0;
}

.cart-header {
  padding: 1.4rem 1.8rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-title-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.1rem;
  color: var(--text-primary);
}

.cart-title-row i {
  color: var(--primary);
}

.cart-close-btn {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--text-secondary);
}

.cart-items-list {
  flex-grow: 1;
  overflow-y: auto;
  padding: 1.5rem 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.empty-cart-state {
  text-align: center;
  margin: auto 0;
  color: var(--text-muted);
}

.empty-cart-state i {
  color: var(--border-color);
  margin-bottom: 1rem;
}

.empty-cart-state h4 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
  color: var(--text-primary);
}

.empty-cart-state p {
  font-size: 0.85rem;
  margin-bottom: 1.2rem;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--border-color);
}

.cart-item-img {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.cart-item-details {
  flex-grow: 1;
}

.cart-item-details h4 {
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.cart-item-details small {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.cart-item-price {
  font-weight: 700;
  color: var(--primary);
  font-size: 0.95rem;
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.qty-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: var(--bg-secondary);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  cursor: pointer;
}

.cart-footer {
  padding: 1.5rem 1.8rem;
  border-top: 1px solid var(--border-color);
  background: var(--bg-secondary);
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.1rem;
  font-weight: 700;
  margin-top: 0.6rem;
  padding-top: 0.6rem;
  border-top: 1px solid var(--border-color);
}

.cart-total-price {
  font-size: 1.5rem;
  color: var(--primary);
  font-family: var(--font-serif);
}

.cart-address-input label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.cart-address-input input {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  color: var(--text-primary);
  font-size: 0.85rem;
}

.cart-actions-group {
  margin-top: 1.2rem;
}

/* ==========================================================================
   Floating WhatsApp Button
   ========================================================================== */
.floating-whatsapp-widget {
  position: fixed;
  bottom: 25px;
  left: 25px;
  z-index: 999;
}

.whatsapp-float-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
  position: relative;
  transition: transform var(--transition-fast);
}

.whatsapp-float-btn:hover {
  transform: scale(1.1);
}

.float-tooltip {
  position: absolute;
  left: 70px;
  background: #2D241E;
  color: #fff;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(-10px);
  transition: all var(--transition-fast);
}

.whatsapp-float-btn:hover .float-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: #1C1815;
  color: #C4B8AF;
  padding: 5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #fff;
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.footer-logo i {
  color: var(--primary);
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.footer-socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all var(--transition-fast);
}

.footer-socials a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.footer-heading {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
}

.footer-links li {
  margin-bottom: 0.7rem;
}

.footer-links a {
  font-size: 0.88rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 4px;
}

.contact-col p {
  font-size: 0.88rem;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.footer-google-review {
  margin-top: 1.2rem;
  padding: 0.8rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
}

.footer-google-review .stars {
  color: var(--accent-gold);
  font-size: 0.85rem;
  margin-bottom: 0.2rem;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
}

/* ==========================================================================
   Project 8: Form Input Wave Animation
   ========================================================================== */
.form-control-wave {
  position: relative;
  margin: 1.2rem 0;
  width: 100%;
}

.form-control-wave input {
  background-color: transparent;
  border: 0;
  border-bottom: 2px solid var(--border-color);
  display: block;
  width: 100%;
  padding: 10px 0 6px 0;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text-primary);
  transition: border-color var(--transition-fast);
}

.form-control-wave input:focus,
.form-control-wave input:valid {
  outline: 0;
  border-bottom-color: var(--primary);
}

.form-control-wave label {
  position: absolute;
  top: 10px;
  left: 0;
  pointer-events: none;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.form-control-wave label span {
  display: inline-block;
  font-size: 0.88rem;
  min-width: 5px;
  transition: 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.form-control-wave input:focus + label span,
.form-control-wave input:valid + label span {
  color: var(--primary);
  transform: translateY(-24px);
  font-weight: 600;
  font-size: 0.8rem;
}

/* ==========================================================================
   Project 13: Surprise Random Choice Picker
   ========================================================================== */
.surprise-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-card);
  border: 2px dashed var(--primary);
  color: var(--primary);
  font-weight: 700;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.surprise-btn:hover {
  background: var(--primary);
  color: #fff;
  border-style: solid;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(224, 86, 36, 0.3);
}

.surprise-btn i {
  font-size: 1.1rem;
  animation: diceRoll 2s infinite ease-in-out;
}

@keyframes diceRoll {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(180deg); }
}

.product-card.surprise-highlight {
  outline: 4px solid var(--accent-gold) !important;
  box-shadow: 0 0 25px rgba(251, 191, 36, 0.8) !important;
  transform: scale(1.04) translateY(-6px) !important;
  z-index: 10;
  animation: pulseCard 0.4s infinite alternate ease-in-out;
}

@keyframes pulseCard {
  from { transform: scale(1.02) translateY(-4px); }
  to { transform: scale(1.06) translateY(-8px); }
}

/* ==========================================================================
   Project 6: Scroll Reveal Animations — Yönlü Geliş Animasyonları
   ========================================================================== */

/* --- Base State: görünür (JS olmadan da içerik görünür kalır) --- */
.reveal-on-scroll {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Başlangıç: gizli & yerinden --- */
.reveal-on-scroll.reveal-hidden {
  opacity: 0;
}
.reveal-on-scroll.reveal-hidden[data-reveal="top"],
.reveal-on-scroll.reveal-hidden:not([data-reveal]) {
  transform: translateY(-48px);
}
.reveal-on-scroll.reveal-hidden[data-reveal="bottom"] {
  transform: translateY(48px);
}
.reveal-on-scroll.reveal-hidden[data-reveal="left"] {
  transform: translateX(-60px);
}
.reveal-on-scroll.reveal-hidden[data-reveal="right"] {
  transform: translateX(60px);
}
.reveal-on-scroll.reveal-hidden[data-reveal="scale"] {
  transform: scale(0.88);
}
.reveal-on-scroll.reveal-hidden[data-reveal="fade"] {
  transform: none;
}

/* --- Görünür hale gelince: sıfır konum --- */
.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: none;
}

/* --- Stagger delays (birden fazla kart için) --- */
.reveal-on-scroll[data-delay="1"] { transition-delay: 0.05s; }
.reveal-on-scroll[data-delay="2"] { transition-delay: 0.12s; }
.reveal-on-scroll[data-delay="3"] { transition-delay: 0.20s; }
.reveal-on-scroll[data-delay="4"] { transition-delay: 0.28s; }
.reveal-on-scroll[data-delay="5"] { transition-delay: 0.36s; }
.reveal-on-scroll[data-delay="6"] { transition-delay: 0.44s; }


/* ==========================================================================
   Project 38: Mobile Bottom Navigation Bar (Base Definition)
   ========================================================================== */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
  z-index: 999;
  justify-content: space-around;
  align-items: center;
  backdrop-filter: blur(12px);
  padding: 0 0.5rem;
}

.mobile-tab-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 600;
  gap: 3px;
  text-decoration: none;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  position: relative;
}

.mobile-tab-item i {
  font-size: 1.15rem;
  transition: transform var(--transition-fast);
}

.mobile-tab-item.active {
  color: var(--primary);
}

.mobile-tab-item.active i {
  transform: scale(1.15) translateY(-2px);
}

.tab-icon-wrap {
  position: relative;
  display: inline-flex;
}

.mobile-cart-badge {
  position: absolute;
  top: -6px;
  right: -10px;
  background: var(--primary);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 5px;
  border-radius: var(--radius-full);
  min-width: 16px;
  text-align: center;
  line-height: 1;
}

/* ==========================================================================
   Comprehensive Responsive Media Queries & Mobile System
   ========================================================================== */

/* =====================================================================
   TABLET (max-width: 1024px) — Hamburger menu, hide announcement
   ===================================================================== */
@media (max-width: 1024px) {
  .announcement-bar { display: none; }
  .konya-rank-badge { display: none; }

  .navbar { padding: 0; }
  .nav-container { height: 64px; padding: 0 1rem; }
  .brand-name { font-size: 1.2rem; }
  .brand-sub { font-size: 0.68rem; }
  .logo-icon { width: 40px; height: 40px; }
  .nav-actions { gap: 8px; }
  .theme-toggle-btn, .cart-btn { width: 36px; height: 36px; font-size: 0.9rem; }
  .nav-order-btn { display: none; }

  .hamburger-btn {
    display: flex;
    width: 38px; height: 38px;
    align-items: center; justify-content: center;
    background: var(--bg-surface);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    cursor: pointer;
    color: var(--text-primary);
    font-size: 1.1rem;
    flex-shrink: 0;
  }

  .nav-menu {
    position: fixed;
    top: 64px; left: -100%;
    width: 82%; max-width: 300px;
    height: calc(100vh - 64px);
    background: var(--bg-card);
    flex-direction: column;
    padding: 1.5rem 1.2rem;
    transition: left 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 4px 0 24px rgba(0,0,0,0.2);
    z-index: 9999;
    overflow-y: auto;
    border-right: 1px solid var(--border-color);
  }
  .nav-menu.active { left: 0; }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    width: 100%;
  }

  .nav-link {
    font-size: 1rem;
    width: 100%;
    padding: 0.65rem 0.5rem;
    border-radius: var(--radius-sm);
    display: block;
    white-space: normal;
  }

  .highlight-link { margin-top: 0.5rem; width: auto; }

  /* Hero stack */
  .hero-section { min-height: auto; padding: 16px 0 24px; background: #12100E; overflow: hidden; display: block; }

  .hero-center-badge {
    position: relative; top: auto; left: auto; transform: none;
    margin: 0 auto 18px;
    width: calc(100% - 2rem); max-width: 480px;
    display: flex; justify-content: center; z-index: 10;
  }

  .center-badge-inner {
    width: 100%; flex-direction: column; align-items: center;
    gap: 8px; padding: 10px 16px; font-size: 0.85rem; border-radius: 16px;
  }

  .hero-badge-row { border-right: none; padding-right: 0; gap: 8px; justify-content: center; flex-wrap: wrap; }
  .auto-text-container { justify-content: center; font-size: 0.88rem; }

  .hero-split-wrapper {
    position: relative; top: auto; left: auto;
    width: 100%; height: auto;
    flex-direction: column; gap: 14px; padding: 0 1rem;
  }

  .split-side {
    position: relative;
    width: 100% !important;
    min-height: 320px; height: auto;
    flex: none !important;
    border-radius: var(--radius-lg);
    overflow: hidden; padding: 0;
    display: flex; align-items: flex-end;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  }
  .split-side:hover { flex: none !important; }

  .split-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
  .split-overlay { position: absolute; inset: 0; }
  .split-content { position: relative; z-index: 2; width: 100%; padding: 20px 18px; }
  .split-title { font-size: 1.6rem; }
  .split-desc { font-size: 0.85rem; margin-bottom: 14px; line-height: 1.5; }
  .btn-split { width: 100%; justify-content: center; font-size: 0.88rem; padding: 10px 16px; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }

  .expanding-cards-container { flex-direction: column; height: auto; gap: 10px; }
  .panel { height: 90px; flex: none !important; transition: height 0.4s ease; border-radius: var(--radius-md); }
  .panel.active { height: 280px; flex: none !important; }
  .panel-content { bottom: 14px; left: 14px; right: 14px; }
  .panel-content h3 { font-size: 1.15rem; }

  .builder-grid { grid-template-columns: 1fr; gap: 20px; }
  .builder-preview-sidebar { position: static; }
  .testimonials-wrapper { grid-template-columns: 1fr; gap: 20px; }
  .contact-grid { grid-template-columns: 1fr; gap: 20px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}

/* =====================================================================
   MOBILE (max-width: 768px)
   ===================================================================== */
@media (max-width: 768px) {
  .mobile-bottom-nav { display: flex !important; }
  body { padding-bottom: 68px; }
  .floating-whatsapp-widget { bottom: 74px; }
  .whatsapp-float-btn { width: 48px; height: 48px; font-size: 1.4rem; }
  #toasts { bottom: 74px; right: 12px; max-width: calc(100% - 24px); }

  .container { padding: 0 1rem; }
  .section { padding: 2.8rem 0; }
  .section-title { font-size: 1.75rem; }
  .section-subtitle { font-size: 0.88rem; }
  .section-header { margin-bottom: 2rem; }

  .nav-container { height: 60px; }
  .nav-menu { top: 60px; height: calc(100vh - 60px); }

  .hero-center-badge { width: calc(100% - 1.5rem); }
  .center-badge-inner { padding: 8px 12px; font-size: 0.8rem; gap: 6px; }
  .hero-badge-row { flex-wrap: wrap; justify-content: center; gap: 6px; }
  .rating-mini { border-right: none; padding-right: 0; }
  .rank-pill { padding: 2px 8px; font-size: 0.75rem; }

  .hero-split-wrapper { padding: 0 0.75rem; gap: 12px; }
  .split-side { min-height: 300px; }
  .split-content { padding: 16px 14px; }
  .split-title { font-size: 1.4rem; }
  .split-desc { font-size: 0.82rem; margin-bottom: 12px; }
  .badge-tag { font-size: 0.75rem; padding: 4px 10px; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .stat-card { padding: 1.1rem 0.75rem; }
  .stat-number-wrapper { font-size: 1.7rem; }
  .stat-rank-num { font-size: 1.8rem; }

  .panel { height: 85px; }
  .panel.active { height: 260px; }
  .panel-content p { font-size: 0.8rem; margin-bottom: 0.7rem; }

  .builder-card { padding: 1.2rem 1rem; border-radius: var(--radius-md); }
  .progress-steps-container { margin-bottom: 2rem; padding: 0 4px; }
  .step-circle { width: 30px; height: 30px; font-size: 0.75rem; }
  .step-circle label { top: 34px; font-size: 0.6rem; font-weight: 700; white-space: nowrap; }
  .builder-step-panel h3 { font-size: 1.1rem; }
  .step-desc { font-size: 0.8rem; margin-bottom: 0.8rem; }
  .options-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .option-card { padding: 10px 6px; flex-direction: column; align-items: center; text-align: center; gap: 5px; }
  .option-icon { width: 34px; height: 34px; font-size: 1rem; }
  .option-info h4 { font-size: 0.8rem; }
  .option-info p { display: none; }
  .price-tag { font-size: 0.72rem; }
  .check-mark { top: 5px; right: 5px; width: 16px; height: 16px; font-size: 0.55rem; }
  .builder-nav-buttons { margin-top: 1.5rem; padding-top: 0.8rem; }
  .preview-box { padding: 1rem; }
  .waffle-plate-visual { height: 160px; }
  .plate-base { width: 120px; height: 120px; }
  .waffle-base-layer { width: 98px; height: 98px; }
  .waffle-sauce-layer { width: 80px; height: 80px; }
  .summary-card { padding: 1.1rem 0.9rem; }
  .summary-total { font-size: 1.3rem; }

  .menu-controls { flex-direction: column; align-items: stretch; gap: 0.9rem; margin-bottom: 1.4rem; }
  .filter-tabs-wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; width: 100%; padding-bottom: 4px; }
  .filter-tabs-wrapper::-webkit-scrollbar { display: none; }
  .filter-tabs { display: flex; flex-wrap: nowrap; width: max-content; gap: 6px; }
  .filter-tab { white-space: nowrap; padding: 6px 12px; font-size: 0.8rem; }
  .search-box-wrapper { width: 100%; }
  .search { width: 100%; height: 42px; }
  .search .search-input { width: 100% !important; height: 42px; padding-left: 12px; padding-right: 42px; }
  .search-btn { height: 42px; width: 42px; }
  .heart-counter-banner { width: 100%; justify-content: center; font-size: 0.76rem; padding: 0.5rem 1rem; }
  .products-grid { grid-template-columns: 1fr; gap: 14px; }
  .product-image-box { height: 175px; }
  .product-title { font-size: 1rem; }

  .quiz-container { padding: 1.4rem 1rem; }
  .quiz-question-title { font-size: 1.1rem; margin-bottom: 1rem; }
  .quiz-opt-btn { padding: 0.85rem 1rem; font-size: 0.85rem; }
  .recommended-box { flex-direction: column; text-align: center; gap: 0.8rem; }
  .recommended-box img { margin: 0 auto; }

  .testimonials-container { padding: 1.8rem 1rem; }
  .testimonial { font-size: 0.9rem; min-height: auto; margin-bottom: 1.2rem; }
  .feedback-panel { padding: 1.4rem 1rem; }
  .ratings-container { gap: 4px; }
  .rating { padding: 6px 8px; }
  .rating-emoji { font-size: 1.4rem; }

  .faq { padding: 1.1rem 0.9rem; }
  .faq-title { font-size: 0.9rem; padding-right: 26px; }
  .faq-toggle { top: 1rem; right: 0.7rem; }

  .map-wrapper { min-height: 260px; height: 260px; }
  .map-overlay-card { position: static; margin-top: 10px; padding: 0.8rem 1rem; }

  .footer { padding: 2.5rem 0 1.2rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 22px; margin-bottom: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 8px; }

  .cart-drawer { width: 100%; max-width: 100%; right: -100%; }
}

/* =====================================================================
   SMALL PHONES (max-width: 480px)
   ===================================================================== */
@media (max-width: 480px) {
  .section-title { font-size: 1.5rem; }
  .section-subtitle { font-size: 0.82rem; }

  .hero-section { padding: 12px 0 20px; }
  .hero-center-badge { width: calc(100% - 1rem); margin-bottom: 12px; }
  .center-badge-inner { flex-direction: column; gap: 6px; padding: 8px 10px; }
  .hero-badge-row { flex-direction: row; flex-wrap: wrap; justify-content: center; border-right: none; padding-right: 0; }
  .rating-mini { border-right: none; padding-right: 0; }
  .rank-pill .rank-label { display: none; }
  .hero-split-wrapper { padding: 0 0.6rem; gap: 10px; }
  .split-side { min-height: 275px; }
  .split-title { font-size: 1.25rem; }
  .btn-split { font-size: 0.8rem; padding: 9px 10px; }

  .stats-grid { gap: 8px; }
  .stat-card { padding: 0.9rem 0.5rem; }
  .stat-number-wrapper { font-size: 1.5rem; }
  .stat-rank-num { font-size: 1.6rem; }
  .stat-icon { font-size: 1.3rem; margin-bottom: 0.3rem; }
  .stat-label { font-size: 0.72rem; }

  .options-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .option-card { padding: 8px 4px; }
}

@media (max-width: 1024px) {
  .hero-section {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    height: auto !important;
    min-height: auto !important;
    padding: 20px 0 !important;
  }
  .hero-center-badge {
    position: static !important;
    transform: none !important;
    width: 90% !important;
    margin: 10px auto !important;
  }
  .hero-split-wrapper {
    position: static !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important;
    padding: 15px !important;
  }
  .split-side {
    position: relative !important;
    width: 100% !important;
    flex: none !important;
    padding: 0 !important;
  }
  .split-content {
    width: 100% !important;
    max-width: 100% !important;
    left: 0 !important;
    right: 0 !important;
    padding: 20px !important;
  }
}
@media (max-width: 1024px) {
  body { background-color: red !important; }
}

/* === CRITICAL MOBILE HERO FIX (CACHE BUSTED) === */
@media (max-width: 768px) {
  .hero-section {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    min-height: auto !important;
    padding: 30px 10px !important;
    height: auto !important;
    background: #111 !important;
  }
  .hero-split-wrapper {
    position: static !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
    height: auto !important;
  }
  .hero-center-badge {
    position: static !important;
    transform: none !important;
    width: 100% !important;
    margin-bottom: 20px !important;
  }
  .split-side {
    position: relative !important;
    width: 100% !important;
    height: 350px !important;
    flex: none !important;
    border-radius: 16px !important;
  }
  .split-bg {
    width: 100% !important;
    height: 100% !important;
  }
}
