/* ============================================================
   de-goedkoopste.nl - Vrolijke & Springerige Styling
   ============================================================ */

:root {
  --yellow-sun: #FFD124;
  --yellow-warm: #FFBE0B;
  --orange-pop: #FF5400;
  --coral-bright: #FF3366;
  --pink-bubble: #FF007F;
  --purple-fun: #7928CA;
  --blue-bright: #0099FF;
  --aqua-fresh: #00C49F;
  --green-deal: #10B981;
  --green-dark: #065F46;

  --bg-gradient-top: #FFF9E6;
  --bg-gradient-mid: #F0F9FF;
  --bg-gradient-bot: #FDF4FF;
  --card-bg: #FFFFFF;
  --text-dark: #1E293B;
  --text-muted: #64748B;
  --border-light: #F1F5F9;

  --font-heading: 'Fredoka', cursive, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-card: 0 10px 30px rgba(121, 40, 202, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 18px 40px rgba(255, 84, 0, 0.18), 0 8px 20px rgba(0, 0, 0, 0.06);
  --shadow-glow: 0 0 25px rgba(255, 209, 36, 0.5);

  --bounce-transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  background: linear-gradient(135deg, var(--bg-gradient-top) 0%, var(--bg-gradient-mid) 50%, var(--bg-gradient-bot) 100%);
  min-height: 100vh;
  color: var(--text-dark);
  position: relative;
  overflow-x: hidden;
  padding-bottom: 40px;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================================
   Bubbels Achtergrond Animatie
   ============================================================ */
.bubble-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.floating-bubble {
  position: absolute;
  bottom: -60px;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.8), rgba(0, 196, 159, 0.15));
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  animation: floatUp infinite linear;
  box-shadow: inset 0 0 12px rgba(255, 255, 255, 0.9), 0 4px 15px rgba(0, 153, 255, 0.1);
}

@keyframes floatUp {
  0% {
    transform: translateY(0) scale(0.8) rotate(0deg);
    opacity: 0;
  }
  15% {
    opacity: 0.7;
  }
  85% {
    opacity: 0.7;
  }
  100% {
    transform: translateY(-110vh) scale(1.2) rotate(360deg);
    opacity: 0;
  }
}

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 3px solid rgba(255, 209, 36, 0.4);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
  transition: var(--bounce-transition);
}

.brand-logo:hover {
  transform: scale(1.04) rotate(-1deg);
}

.logo-icon-wrap {
  position: relative;
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--yellow-sun) 0%, var(--orange-pop) 100%);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(255, 84, 0, 0.3);
  animation: gentleBounce 2.5s infinite ease-in-out;
}

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

.logo-emoji {
  font-size: 28px;
}

.sparkle {
  position: absolute;
  top: -6px;
  right: -6px;
  font-size: 18px;
  animation: spinSparkle 4s infinite linear;
}

@keyframes spinSparkle {
  0% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.25); }
  100% { transform: rotate(360deg) scale(1); }
}

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

.logo-title {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  color: #1E1B4B;
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.logo-title .tld {
  color: var(--coral-bright);
}

.logo-subtitle {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.header-badges {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pulse-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: #ECFDF5;
  border: 1.5px solid #A7F3D0;
  border-radius: 30px;
  font-size: 12.5px;
  font-weight: 600;
  color: #065F46;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10B981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseGreen 1.8s infinite;
}

@keyframes pulseGreen {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Knoppen Springerig */
.btn-bubble {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  padding: 9px 18px;
  border-radius: 25px;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, var(--yellow-warm) 0%, var(--yellow-sun) 100%);
  color: #78350F;
  box-shadow: 0 4px 12px rgba(255, 190, 11, 0.35);
  transition: var(--bounce-transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-bubble:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 20px rgba(255, 190, 11, 0.5);
}

.btn-bubble:active {
  transform: translateY(1px) scale(0.98);
}

/* ============================================================
   Hero Strip
   ============================================================ */
.hero-strip {
  position: relative;
  z-index: 10;
  padding: 38px 0 24px;
  text-align: center;
}

.hero-tag {
  display: inline-block;
  background: linear-gradient(135deg, #FFE4E6 0%, #FFEDD5 100%);
  color: #BE123C;
  font-weight: 700;
  font-size: 13.5px;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 14px;
  border: 1.5px solid #FECDD3;
  box-shadow: var(--shadow-sm);
  animation: tagWiggle 3.5s infinite ease-in-out;
}

@keyframes tagWiggle {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-1.5deg); }
  75% { transform: rotate(1.5deg); }
}

.hero-heading {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 700;
  color: #1E1B4B;
  letter-spacing: -1px;
  line-height: 1.2;
  margin-bottom: 14px;
}

.highlight-yellow {
  background: linear-gradient(120deg, #FFD124 0%, #FF9E00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  display: inline-block;
}

.hero-subtext {
  max-width: 680px;
  margin: 0 auto 28px;
  font-size: 17px;
  color: #475569;
  line-height: 1.6;
}

/* Quick Stats Bar */
.quick-stats-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  max-width: 1100px;
  margin: 0 auto;
}

.stat-card {
  background: var(--card-bg);
  padding: 14px 14px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-card);
  border: 2px solid transparent;
  transition: var(--bounce-transition);
  cursor: pointer;
}

.stat-card:hover {
  transform: translateY(-5px) scale(1.03);
}

.stat-card.stat-was { border-color: #BAE6FD; }
.stat-card.stat-vaat { border-color: #DDD6FE; }
.stat-card.stat-afwas { border-color: #FEF08A; }
.stat-card.stat-luier { border-color: #BBF7D0; }
.stat-card.stat-doekje { border-color: #FED7AA; }
.stat-card.stat-deals { border-color: #FECDD3; }

.stat-icon {
  font-size: 28px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F8FAFC;
  flex-shrink: 0;
}

.stat-was .stat-icon { background: #E0F2FE; }
.stat-vaat .stat-icon { background: #F3E8FF; }
.stat-afwas .stat-icon { background: #FEF9C3; }
.stat-luier .stat-icon { background: #DCFCE7; }
.stat-doekje .stat-icon { background: #FFEDD5; }
.stat-deals .stat-icon { background: #FFE4E6; }

.stat-info {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.stat-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-value {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: #0F172A;
}

.stat-value small {
  font-size: 12px;
  font-weight: 500;
  color: #64748B;
}

/* ============================================================
   Categorie Tabs
   ============================================================ */
.category-tabs {
  display: flex;
  gap: 14px;
  margin: 24px 0 20px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: none;
}
.category-tabs::-webkit-scrollbar { display: none; }

.cat-btn {
  flex: 1;
  min-width: 170px;
  background: #FFFFFF;
  border: 2.5px solid #E2E8F0;
  border-radius: 22px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: var(--bounce-transition);
  box-shadow: var(--shadow-sm);
}

.cat-btn:hover {
  transform: translateY(-4px);
  border-color: var(--yellow-warm);
}

.cat-btn.active {
  background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
  border-color: var(--orange-pop);
  box-shadow: 0 10px 25px rgba(255, 84, 0, 0.18);
  transform: translateY(-4px) scale(1.02);
}

.cat-icon {
  font-size: 24px;
}

.cat-name {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: #1E293B;
}

.cat-btn.active .cat-name {
  color: #C2410C;
}

.cat-badge {
  background: #E2E8F0;
  color: #475569;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 12px;
}

.cat-btn.active .cat-badge {
  background: var(--orange-pop);
  color: #FFFFFF;
}

/* ============================================================
   Luier Maat Filter Sectie
   ============================================================ */
.size-filter-card {
  background: linear-gradient(135deg, #FEFCE8 0%, #FFFBEB 45%, #F0FDF4 100%);
  border-radius: 24px;
  padding: 18px 22px;
  box-shadow: 0 10px 25px rgba(245, 158, 11, 0.08), 0 4px 12px rgba(0, 0, 0, 0.03);
  border: 2px solid #FDE68A;
  margin-bottom: 22px;
  animation: slideFadeIn 0.35s ease-out;
}

@keyframes slideFadeIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.size-filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 10px;
}

.size-filter-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.size-filter-badge-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, #FEF08A 0%, #FDE047 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 4px 10px rgba(234, 179, 8, 0.25);
}

.size-filter-text {
  display: flex;
  flex-direction: column;
}

.size-filter-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: #1E1B4B;
  margin: 0;
}

.size-filter-subtitle {
  font-size: 13px;
  color: #64748B;
  margin-top: 2px;
}

.btn-clear-size {
  border: 1.5px solid #FDBA74;
  background: #FFFFFF;
  color: #C2410C;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  transition: var(--bounce-transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 6px rgba(194, 65, 12, 0.08);
}

.btn-clear-size:hover {
  background: #FFF7ED;
  border-color: var(--orange-pop);
  transform: translateY(-2px);
}

.size-pills-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
}

.size-pill {
  flex: 1;
  min-width: 140px;
  background: #FFFFFF;
  border: 2px solid #E2E8F0;
  border-radius: 18px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  cursor: pointer;
  transition: var(--bounce-transition);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  text-align: left;
}

.size-pill:hover {
  transform: translateY(-3px);
  border-color: var(--yellow-warm);
  box-shadow: 0 6px 14px rgba(255, 190, 11, 0.15);
}

.size-pill.active {
  background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
  border-color: var(--orange-pop);
  box-shadow: 0 8px 20px rgba(255, 84, 0, 0.18);
  transform: translateY(-3px) scale(1.02);
}

.size-pill-content {
  display: flex;
  flex-direction: column;
}

.size-pill-title {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: #1E293B;
  line-height: 1.2;
}

.size-pill.active .size-pill-title {
  color: #C2410C;
}

.size-pill-weight,
.size-pill-sub {
  font-size: 11.5px;
  font-weight: 600;
  color: #64748B;
  margin-top: 1px;
}

.size-pill-price {
  font-size: 11px;
  font-weight: 700;
  color: #047857;
  margin-top: 2px;
}

.size-pill-count {
  font-size: 11.5px;
  font-weight: 700;
  background: #F1F5F9;
  color: #475569;
  padding: 3px 8px;
  border-radius: 12px;
  white-space: nowrap;
}

.size-pill.active .size-pill-count {
  background: var(--orange-pop);
  color: #FFFFFF;
}

/* Card Brand Row & Size Chip */
.card-brand-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.badge-size-chip {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  color: #0369A1;
  background: #E0F2FE;
  border: 1.5px solid #BAE6FD;
  padding: 2px 8px;
  border-radius: 10px;
}

.table-size-chip {
  font-size: 11.5px;
}

/* ============================================================
   Zoek- & Filterbalk
   ============================================================ */
.filter-bar-card {
  background: #FFFFFF;
  border-radius: 24px;
  padding: 18px 22px;
  box-shadow: var(--shadow-card);
  border: 2px solid #F1F5F9;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Brand Select Dropdown ipv invoerveld */
.brand-select-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(135deg, #F8FAFC 0%, #F1F5F9 100%);
  border: 2px solid #E2E8F0;
  border-radius: 20px;
  padding: 12px 18px;
  transition: var(--bounce-transition);
}

.brand-select-wrapper:focus-within {
  border-color: var(--orange-pop);
  background: #FFFFFF;
  box-shadow: 0 0 0 4px rgba(255, 84, 0, 0.12);
}

.brand-select-icon-box {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, #FEF08A 0%, #FDE047 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 4px 10px rgba(234, 179, 8, 0.25);
}

.brand-select-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brand-select-header-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.brand-select-label {
  font-size: 13px;
  font-weight: 700;
  color: #334155;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.brand-select-hint {
  font-size: 12px;
  font-weight: 600;
  color: #C2410C;
  background: #FFEDD5;
  padding: 2px 8px;
  border-radius: 8px;
}

.brand-select-inner {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.brand-dropdown-select {
  width: 100%;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: #0F172A;
  background: #FFFFFF;
  border: 2px solid #CBD5E1;
  border-radius: 14px;
  padding: 10px 42px 10px 14px;
  outline: none;
  cursor: pointer;
  transition: var(--bounce-transition);
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C2410C' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
}

.brand-dropdown-select:hover {
  border-color: var(--yellow-warm);
}

.brand-dropdown-select:focus {
  border-color: var(--orange-pop);
}

.brand-dropdown-select optgroup {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: #C2410C;
  background: #FFFBEB;
  padding: 6px 0;
}

.brand-dropdown-select option {
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 600;
  color: #1E293B;
  background: #FFFFFF;
  padding: 6px 10px;
}

.btn-clear-brand {
  position: absolute;
  right: 36px;
  background: #E2E8F0;
  border: none;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #64748B;
  transition: var(--bounce-transition);
  line-height: 1;
}

.btn-clear-brand:hover {
  background: #F87171;
  color: #FFFFFF;
  transform: scale(1.1);
}

.filter-controls {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.control-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.control-group label {
  font-size: 13.5px;
  font-weight: 700;
  color: #334155;
}

.control-group select {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  padding: 9px 14px;
  border-radius: 14px;
  border: 2px solid #CBD5E1;
  background: #FFFFFF;
  color: #1E293B;
  outline: none;
  cursor: pointer;
  transition: var(--bounce-transition);
}

.control-group select:focus {
  border-color: var(--orange-pop);
}

/* Custom Toggle Switch */
.toggle-switch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}

.toggle-switch input {
  display: none;
}

.toggle-switch .slider {
  position: relative;
  width: 44px;
  height: 24px;
  background-color: #CBD5E1;
  border-radius: 24px;
  transition: 0.3s;
}

.toggle-switch .slider::before {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  border-radius: 50%;
  transition: 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.toggle-switch input:checked + .slider {
  background-color: var(--coral-bright);
}

.toggle-switch input:checked + .slider::before {
  transform: translateX(20px);
}

.toggle-label {
  font-size: 13.5px;
  font-weight: 700;
  color: #BE123C;
}

/* ============================================================
   Resultaten Header & Weergave Toggle
   ============================================================ */
.results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding: 0 4px;
  flex-wrap: wrap;
  gap: 14px;
}

.results-header-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.results-count {
  font-size: 15px;
  color: #475569;
}

.results-count strong {
  color: #0F172A;
  font-size: 17px;
}

.active-filter-desc {
  color: #64748B;
  margin-left: 8px;
  display: inline-flex;
  align-items: center;
}

.active-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FEF3C7;
  color: #B45309;
  border: 1.5px solid #FDE68A;
  padding: 3px 10px;
  border-radius: 14px;
  font-size: 12.5px;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(245, 158, 11, 0.12);
}

.chip-remove-btn {
  background: #FDE68A;
  border: none;
  color: #92400E;
  font-size: 13px;
  font-weight: 800;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: transform 0.2s, background 0.2s;
}

.chip-remove-btn:hover {
  transform: scale(1.15);
  background: #FCD34D;
  color: #78350F;
}

.results-legend {
  font-size: 13px;
  color: #64748B;
  display: flex;
  align-items: center;
  gap: 6px;
}

.legend-color.legend-unit {
  display: inline-block;
  width: 12px;
  height: 12px;
  background: #10B981;
  border-radius: 4px;
}

/* Weergave Keuze Toggle Knoppen */
.view-toggle-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.view-toggle-label {
  font-size: 13.5px;
  font-weight: 700;
  color: #475569;
}

.view-toggle-group {
  display: inline-flex;
  background: #E2E8F0;
  padding: 4px;
  border-radius: 30px;
  gap: 4px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.btn-view-toggle {
  border: none;
  background: transparent;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 13.5px;
  padding: 7px 16px;
  border-radius: 24px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #64748B;
  transition: var(--bounce-transition);
}

.btn-view-toggle:hover {
  color: #0F172A;
}

.btn-view-toggle.active {
  background: #FFFFFF;
  color: #C2410C;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: scale(1.02);
}

.view-icon {
  font-size: 15px;
}

/* ============================================================
   Producten Tabellijst Weergave
   ============================================================ */
.products-table-wrapper {
  background: var(--card-bg);
  border-radius: 26px;
  box-shadow: var(--shadow-card);
  border: 2.5px solid #F1F5F9;
  overflow: hidden;
  margin-bottom: 40px;
  transition: var(--bounce-transition);
}

.table-responsive-box {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.products-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
  min-width: 820px;
}

.products-table thead {
  background: linear-gradient(135deg, #F8FAFC 0%, #F1F5F9 100%);
  border-bottom: 2px solid #E2E8F0;
}

.products-table th {
  padding: 16px 20px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.products-table td {
  padding: 16px 20px;
  border-bottom: 1.5px solid #F1F5F9;
  vertical-align: middle;
}

.products-table tbody tr {
  transition: background-color 0.2s ease;
}

.products-table tbody tr:hover {
  background-color: #FFFBEB;
}

.products-table tbody tr:last-child td {
  border-bottom: none;
}

/* Kolom specifieke opmaak in de tabel */
.td-store {
  white-space: nowrap;
  width: 140px;
}

.td-product {
  min-width: 340px;
}

.table-product-cell {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.table-icon {
  font-size: 26px;
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 14px;
  background: #F1F5F9;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.04);
}

.table-info {
  display: flex;
  flex-direction: column;
}

.table-brand {
  font-size: 11.5px;
  font-weight: 800;
  color: var(--blue-bright);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.table-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: #0F172A;
  line-height: 1.3;
  margin: 2px 0 4px;
}

.table-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.table-meta {
  font-size: 12px;
  font-weight: 600;
  color: #475569;
  background: #F1F5F9;
  padding: 2px 8px;
  border-radius: 6px;
}

.table-badge {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 12px;
  font-weight: 700;
}

.table-desc {
  font-size: 12.5px;
  color: #64748B;
  line-height: 1.45;
  margin-top: 6px;
  max-width: 520px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.td-unit-price {
  white-space: nowrap;
  width: 170px;
}

.table-unit-price {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: #047857;
  background: #ECFDF5;
  border: 1.5px solid #A7F3D0;
  padding: 6px 12px;
  border-radius: 12px;
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}

.table-unit-price small {
  font-size: 11px;
  font-weight: 600;
  color: #059669;
}

.td-total-price {
  white-space: nowrap;
  width: 130px;
  text-align: right;
}

.table-total-box {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.table-total-val {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: #0F172A;
}

.td-action {
  white-space: nowrap;
  width: 140px;
  text-align: center;
}

.btn-table-deal {
  width: auto;
  padding: 8px 16px;
  font-size: 13.5px;
  border-radius: 14px;
  display: inline-flex;
}

/* ============================================================
   Producten Grid & Kaarten
   ============================================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 22px;
  margin-bottom: 40px;
}

.product-card {
  background: var(--card-bg);
  border-radius: 26px;
  padding: 22px;
  box-shadow: var(--shadow-card);
  border: 2.5px solid #F1F5F9;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--bounce-transition);
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-8px) scale(1.015);
  box-shadow: var(--shadow-hover);
  border-color: rgba(255, 190, 11, 0.6);
}

/* Badge Top Right */
.card-badge-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  gap: 8px;
}

.product-badge {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 30px;
  background: linear-gradient(135deg, #FFE4E6 0%, #FECDD3 100%);
  color: #9F1239;
  box-shadow: 0 2px 6px rgba(159, 18, 57, 0.15);
  animation: badgePop 0.4s ease-out;
}

.product-badge.gold {
  background: linear-gradient(135deg, #FEF08A 0%, #FDE047 100%);
  color: #854D0E;
}

@keyframes badgePop {
  0% { transform: scale(0.8); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.store-pill {
  font-size: 12px;
  font-weight: 700;
  color: #FFFFFF;
  padding: 4px 12px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Card Header & Content */
.card-top {
  display: flex;
  gap: 14px;
  margin-bottom: 14px;
}

.card-icon-bubble {
  width: 58px;
  height: 58px;
  min-width: 58px;
  border-radius: 18px;
  background: #F1F5F9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: var(--bounce-transition);
}

.product-card:hover .card-icon-bubble {
  transform: rotate(8deg) scale(1.1);
  background: #FEF9C3;
}

.card-title-group {
  display: flex;
  flex-direction: column;
}

.card-brand {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--blue-bright);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: #0F172A;
  line-height: 1.25;
  margin-top: 2px;
}

.card-meta {
  font-size: 13px;
  color: #64748B;
  margin-top: 4px;
  display: flex;
  gap: 8px;
  align-items: center;
}

.card-desc {
  font-size: 13.5px;
  color: #475569;
  line-height: 1.5;
  margin-bottom: 16px;
  flex-grow: 1;
}

/* ============================================================
   Prijs Sectie (Hét Vergelijkingspunt)
   ============================================================ */
.price-box {
  background: linear-gradient(135deg, #F8FAFC 0%, #F1F5F9 100%);
  border-radius: 18px;
  padding: 14px 16px;
  margin-bottom: 16px;
  border: 1.5px solid #E2E8F0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price-unit-col {
  display: flex;
  flex-direction: column;
}

.price-unit-label {
  font-size: 11px;
  font-weight: 700;
  color: #065F46;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.price-unit-highlight {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: #047857;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.price-unit-highlight span.unit-sub {
  font-size: 12px;
  font-weight: 600;
  color: #059669;
}

.price-total-col {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.price-old-strikethrough {
  font-size: 13px;
  color: #94A3B8;
  text-decoration: line-through;
  font-weight: 600;
}

.price-current-total {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: #0F172A;
}

.discount-tag {
  background: #EF4444;
  color: white;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 6px;
  margin-left: 6px;
  display: inline-block;
}

/* Card Button */
.card-actions {
  display: flex;
  gap: 10px;
}

.btn-deal {
  width: 100%;
  padding: 12px;
  border-radius: 16px;
  border: none;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  background: linear-gradient(135deg, var(--yellow-sun) 0%, var(--orange-pop) 100%);
  color: #FFFFFF;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(255, 84, 0, 0.35);
  transition: var(--bounce-transition);
}

.btn-deal:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 22px rgba(255, 84, 0, 0.5);
  background: linear-gradient(135deg, #FFC700 0%, #FF3D00 100%);
}

.btn-deal:active {
  transform: translateY(1px);
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  background: #FFFFFF;
  border-radius: 28px;
  box-shadow: var(--shadow-card);
  max-width: 500px;
  margin: 30px auto;
}

.empty-icon {
  font-size: 54px;
  margin-bottom: 12px;
}

.empty-state h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  margin-bottom: 8px;
}

.empty-state p {
  color: #64748B;
  margin-bottom: 20px;
}

.btn-reset-filters {
  background: var(--blue-bright);
  color: #FFFFFF;
  border: none;
  padding: 10px 22px;
  border-radius: 20px;
  font-family: var(--font-heading);
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 153, 255, 0.3);
  transition: var(--bounce-transition);
}

.btn-reset-filters:hover {
  transform: translateY(-2px) scale(1.05);
}

/* ============================================================
   Info Banner
   ============================================================ */
.info-banner {
  background: linear-gradient(135deg, #EFF6FF 0%, #EEF2FF 100%);
  border: 2px dashed #93C5FD;
  border-radius: 24px;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
}

.info-banner-icon {
  font-size: 38px;
  width: 60px;
  height: 60px;
  min-width: 60px;
  border-radius: 18px;
  background: #DBEAFE;
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-banner-text {
  flex-grow: 1;
}

.info-banner-text h3 {
  font-family: var(--font-heading);
  font-size: 19px;
  color: #1E3A8A;
  margin-bottom: 6px;
}

.info-banner-text p {
  font-size: 14.5px;
  color: #3B82F6;
  line-height: 1.5;
}

.btn-reload {
  background: #FFFFFF;
  color: #1E40AF;
  border: 2px solid #BFDBFE;
  box-shadow: 0 4px 12px rgba(30, 64, 175, 0.1);
  white-space: nowrap;
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  border-top: 2px solid #E2E8F0;
  padding: 26px 0;
  margin-top: 40px;
  font-size: 14px;
  color: #64748B;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-sub {
  margin-top: 4px;
  font-size: 13px;
}

.update-stamp {
  font-weight: 600;
  color: #065F46;
  background: #D1FAE5;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12.5px;
}


.hidden {
  display: none !important;
}

/* Load more button */
.load-more-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 40px 0 30px;
}

.btn-load-more {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  font-size: 16px;
  font-weight: 700;
  padding: 16px 36px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 25px -5px rgba(0, 168, 232, 0.4);
  transition: var(--bounce-transition);
}

.btn-load-more:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 30px -4px rgba(0, 168, 232, 0.5);
}

/* ============================================================
   Responsiveness
   ============================================================ */
@media (max-width: 1024px) {
  .quick-stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-heading {
    font-size: 30px;
  }
  .quick-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .category-tabs {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .header-inner {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  .header-badges {
    width: 100%;
    justify-content: space-between;
  }
  .hero-heading {
    font-size: 24px;
  }
  .quick-stats-grid {
    grid-template-columns: 1fr;
  }
  .filter-controls {
    flex-direction: column;
    align-items: stretch;
  }
  .results-header {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .view-toggle-wrapper {
    justify-content: space-between;
    width: 100%;
  }
  .products-grid {
    grid-template-columns: 1fr;
  }
}
