/* ===========================
   Global Styles
   =========================== */
:root {
  --primary-black: #000000;
  --primary-white: #ffffff;
  --light-grey: #f8f9fa;
  --medium-grey: #e9ecef;
  --border-color: #dee2e6;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1400px;
}

* {
  box-sizing: border-box;
}

body {
  background-color: var(--primary-white);
  color: var(--primary-black);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
  margin-bottom: 1rem;
  color: #333;
}

/* ===========================
   Container & Layout
   =========================== */
.container {
  max-width: var(--max-width);
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* ===========================
   Header & Navigation
   =========================== */
.header-wrapper {
  background: var(--primary-white);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.container-top {
  background: var(--primary-white);
  border-bottom: 1px solid var(--border-color);
}

.navbar {
  border-bottom: 1px solid var(--border-color);
  background: var(--primary-white);
  padding: 0;
}

.navbar .container {
  max-width: var(--max-width);
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.navbar-nav {
  gap: 0;
}

.navbar-nav .nav-link {
  color: var(--primary-black);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  padding: 1.5rem 2rem;
  transition: var(--transition);
  position: relative;
  text-transform: uppercase;
  white-space: nowrap;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: var(--primary-black);
  transition: var(--transition);
  transform: translateX(-50%);
}

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

.navbar-nav .nav-link:hover {
  color: var(--primary-black);
  opacity: 0.7;
}

/* Extra spacing tussen menu items op grote schermen */
@media (min-width: 1200px) {
  .navbar-nav .nav-link {
    padding: 1.5rem 1.5rem;
    font-size: 1.15rem;
  }
}

/* Mobile menu - kleinere styling */
@media (max-width: 767px) {
  .navbar-nav .nav-link {
    font-size: 0.95rem;
    padding: 1rem 1.5rem;
    text-transform: none;
    letter-spacing: 0.02em;
    font-weight: 600;
  }
}

/* ===========================
   Buttons
   =========================== */
.square-btn,
.square-btn-transparent {
  display: inline-block;
  text-align: center;
  padding: 14px 32px;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  transition: var(--transition);
  border: 2px solid var(--primary-black);
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.square-btn {
  background-color: var(--primary-black);
  color: var(--primary-white);
}

.square-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.square-btn:hover::before {
  left: 100%;
}

.square-btn:hover {
  background-color: #222;
  color: var(--primary-white);
  text-decoration: none;
}

.square-btn-transparent {
  background-color: transparent;
  color: var(--primary-black);
}

.square-btn-transparent:hover {
  background-color: var(--primary-black);
  color: var(--primary-white) !important;
  text-decoration: none;
}

.square-btn-transparent:hover i {
  color: var(--primary-white) !important;
}

/* ===========================
   Hero Section
   =========================== */
.hero-section {
  position: relative;
  width: 100%;
  max-width: 1600px;
  height: clamp(400px, 60vh, 600px);
  margin: 0 auto 4rem;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.2) 100%);
  z-index: 1;
}

.hero-section .container {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--primary-white);
}

.hero-text {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  text-shadow: 2px 4px 12px rgba(0, 0, 0, 0.3);
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
  animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.5rem);
  font-weight: 300;
  margin-bottom: 2rem;
  opacity: 0.95;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-button {
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===========================
   Cards & Products
   =========================== */
.card-shadow {
  background: var(--primary-white);
  border: 1px solid var(--border-color);
  border-radius: 0;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.g-4>*>.card-shadow {
  height: 100%;
}

.card-shadow:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-black);
}

.card-shadow img:not(.img-container-landscape-xl img) {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: var(--transition);
}

.card-shadow:hover img:not(.img-container-landscape-xl img) {
  transform: scale(1.05);
}

/* Premium verkooppunt styling */
.card-premium {
  border-color: #c9a84c;
  box-shadow: 0 2px 12px rgba(201, 168, 76, 0.15);
}

.card-premium:hover {
  border-color: #c9a84c;
  box-shadow: 0 4px 20px rgba(201, 168, 76, 0.25);
}

.text-premium {
  color: #c9a84c;
}

.badge-premium {
  background: linear-gradient(135deg, #c9a84c, #d4b85c);
  color: #fff;
}

.border-premium {
  border-color: #c9a84c !important;
  box-shadow: 0 2px 8px rgba(201, 168, 76, 0.15);
}

/* No hover effect for verkooppunten search results */
.verkooppunten .card-shadow:hover {
  transform: none;
  box-shadow: var(--shadow-sm);
  border-color: var(--border-color);
}

.verkooppunten .card-shadow:hover img {
  transform: none;
}

/* Kleinere close button */
.btn-close-sm {
  width: 0.75em;
  height: 0.75em;
  font-size: 0.875rem;
}

.card-shadow .card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
}

.card-shadow h3 {
  color: var(--primary-black);
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.card-shadow p {
  flex: 1;
  color: #666;
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

/* ===========================
   Sections
   =========================== */
.section-light {
  background-color: var(--light-grey);
  padding: 4rem 0;
}

.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-color) 20%, var(--border-color) 80%, transparent);
  margin: 3rem 0;
}

.content-section {
  padding: 4rem 0;
}

/* ===========================
   Footer
   =========================== */
footer {
  background: var(--light-grey);
  border-top: 2px solid var(--border-color);
  padding: 3rem 0 1rem;
  margin-top: 4rem;
}

footer h6 {
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
}

footer ul {
  padding: 0;
  margin: 0;
}

footer ul li {
  list-style: none;
  margin-bottom: 0.75rem;
}

footer a {
  color: var(--primary-black);
  text-decoration: none;
  transition: var(--transition);
  font-size: 0.9rem;
}

footer a:hover {
  color: #666;
  padding-left: 4px;
}

.footer-bottom {
  background: var(--primary-white);
  border-top: 1px solid var(--border-color);
  padding: 1.5rem 0;
  font-size: 0.875rem;
  color: #666;
}

/* ===========================
   Image Containers
   =========================== */
.img-container-landscape-xl {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 12rem;
  overflow: hidden;
  background: linear-gradient(90deg, var(--light-grey) 25%, var(--medium-grey) 50%, var(--light-grey) 75%);
  background-size: 200% 100%;
  animation: skeleton 1.5s ease-in-out infinite;
  border-radius: 4px;
}

.img-container-landscape-xl img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  opacity: 0;
  color: transparent;
}

.img-container-landscape-xl.loaded {
  animation: none;
  background: var(--primary-white);
}

.img-container-landscape-xl.loaded img {
  opacity: 1;
  transition: opacity 0.3s ease;
}

@keyframes skeleton {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

/* ===========================
   Text Utilities
   =========================== */
.text-rows-2 {
  min-height: 3rem;
}

.text-rows-2 .line-clamp {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.text-rows-3 {
  min-height: 4.5rem;
}

.text-rows-3 .line-clamp {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ===========================
   Grid Layouts
   =========================== */
.d-grid {
  display: grid !important;
}

.impressie {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  padding: 2rem 0;
}

.impressie>div {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: var(--primary-white);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.impressie>div:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.impressie img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  transition: var(--transition);
}

.impressie>div:hover img {
  transform: scale(1.08);
}

.impressie h6 {
  padding: 1rem;
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  background: var(--primary-white);
}

@media (max-width: 768px) {
  .impressie {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
  }

  .impressie img {
    height: 250px;
  }
}

/* ===========================
   Verkooppunten Grid
   =========================== */
.verkooppunten {
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

@media (max-width: 768px) {
  .verkooppunten {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* ===========================
   Spacing Utilities
   =========================== */
.py-section {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.mt-section {
  margin-top: 4rem;
}

.mb-section {
  margin-bottom: 4rem;
}

@media (max-width: 768px) {
  .py-section {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }

  .mt-section {
    margin-top: 2.5rem;
  }

  .mb-section {
    margin-bottom: 2.5rem;
  }
}

/* ===========================
   Animations
   =========================== */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.fade-in {
  animation: fadeIn 0.6s ease-out;
}

/* ===========================
   Loading States
   =========================== */
.spinner-border {
  border-width: 3px;
  border-color: var(--primary-black);
  border-right-color: transparent;
}

/* ===========================
   Social Icons
   =========================== */
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 2px solid var(--primary-black);
  border-radius: 50%;
  color: var(--primary-black);
  font-size: 1.25rem;
  transition: var(--transition);
  text-decoration: none;
}

.social-icon:hover {
  background: var(--primary-black);
  color: var(--primary-white);
  /* Geen transform - blijft op zijn plaats */
}

/* ===========================
   Responsive Typography
   =========================== */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.5rem;
  }

  .hero-text {
    font-size: 2.5rem;
  }
}

/* ===========================
   Pagination Styles
   =========================== */
.pagination {
  flex-wrap: wrap;
  gap: 0.25rem;
}

.pagination .page-link {
  color: var(--primary-black);
  border-color: var(--border-color);
  border-radius: 0;
  min-width: 40px;
  text-align: center;
}

.pagination .page-item.active .page-link {
  background-color: var(--primary-black);
  border-color: var(--primary-black);
  color: var(--primary-white);
}

.pagination .page-item.disabled .page-link {
  opacity: 0.5;
  cursor: not-allowed;
}

.pagination .page-link:hover:not(.disabled) {
  background-color: var(--light-grey);
  border-color: var(--primary-black);
  color: var(--primary-black);
}

/* Mobile optimization */
@media (max-width: 767px) {
  .pagination .page-link {
    padding: 0.375rem 0.625rem;
    font-size: 0.875rem;
    min-width: 36px;
  }

  .category-menu {
    gap: 0.375rem !important;
  }

  .category-menu .btn,
  .category-menu .dropdown-toggle {
    padding: 0.375rem 0.75rem !important;
    font-size: 0.7rem !important;
    letter-spacing: 0.3px;
  }

  .category-menu .dropdown-menu {
    min-width: 200px;
    font-size: 0.875rem;
  }

  .category-menu .dropdown-item {
    padding: 0.5rem 1rem;
  }
}

/* ===========================
   Badge Styles
   =========================== */
.badge {
  padding: 0.35em 0.65em;
  font-weight: 600;
  font-size: 0.75rem;
}

/* ===========================
   View Mode Buttons
   =========================== */
.btn-group .btn {
  border-radius: 0;
}

.btn-group .btn.active {
  background-color: var(--primary-black);
  color: var(--primary-white);
  border-color: var(--primary-black);
}

/* ===========================
   List View Product Cards
   =========================== */
.product-item .card-shadow .row {
  align-items: stretch;
}

.product-item .card-shadow .img-container-landscape-xl {
  min-height: 250px;
}

/* ===========================
   Category Dropdown Styles
   =========================== */
.category-menu .btn {
  border-radius: 0;
  padding: 0.5rem 1rem;
  font-weight: 400;
  border: 1px solid var(--primary-black);
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.8rem;
}

.category-menu .btn-outline-dark {
  background-color: var(--primary-white);
  color: var(--primary-black);
}

.category-menu .btn-outline-dark:hover {
  background-color: var(--primary-black);
  color: var(--primary-white);
}

.category-menu .btn-dark {
  background-color: var(--primary-black);
  color: var(--primary-white);
  border-color: var(--primary-black);
}

.category-menu .dropdown-toggle::after {
  margin-left: 0.5em;
  vertical-align: 0.15em;
}

.category-menu .dropdown-menu {
  border: 1px solid var(--primary-black);
  box-shadow: var(--shadow-md);
  border-radius: 0;
  padding: 0;
  margin-top: 0;
  min-width: 250px;
}

.category-menu .dropdown-item {
  padding: 0.75rem 1.5rem;
  color: var(--primary-black);
  transition: var(--transition);
  border-bottom: 1px solid var(--border-color);
  font-size: 0.875rem;
  font-weight: 500;
}

/* ===========================
   Brand
   =========================== */
.brand-title {
  letter-spacing: 0.15em;
}

/* ===========================
   Retailer Image
   =========================== */
.img-cover-lg {
  object-fit: cover;
  height: 400px;
}

/* ===========================
   Product Gallery
   =========================== */
.product-gallery {
  max-width: 500px;
  margin: 0 auto;
}

.product-gallery-img {
  border-radius: 8px;
  object-fit: contain;
  max-height: 500px;
}

.product-gallery-empty {
  height: 400px;
  border-radius: 8px;
}

.product-thumb {
  height: 80px;
  border-radius: 4px;
  cursor: pointer;
  object-fit: cover;
}

.product-description {
  max-height: 250px;
  overflow-y: auto;
}

/* ===========================
   Store Cards & Verkooppunten
   =========================== */
.store-card {
  transition: all 0.2s;
}

.icon-container {
  width: 50px;
}

.store-description {
  min-height: 3rem;
}

/* ===========================
   Map Placeholder
   =========================== */
.map-placeholder {
  height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===========================
   Product Info Table
   =========================== */
.table-label {
  width: 40%;
}

/* ===========================
   Offcanvas Widths
   =========================== */
.offcanvas-sm {
  width: 300px;
}

.offcanvas-lg {
  width: 85vw;
}

/* ===========================
   Search Buttons
   =========================== */
.search-btn {
  z-index: 10;
}

/* ===========================
   Rounded Utilities
   =========================== */
.rounded-lg {
  border-radius: 8px;
}

.category-menu .dropdown-item:last-child {
  border-bottom: none;
}

.category-menu .dropdown-item:hover {
  background-color: var(--light-grey);
  color: var(--primary-black);
  padding-left: 2rem;
}

.category-menu .dropdown-item.active {
  background-color: var(--primary-black);
  color: var(--primary-white);
}

.category-menu .dropdown-item.active:hover {
  background-color: var(--primary-black);
  color: var(--primary-white);
}

.category-menu .dropdown-divider {
  margin: 0;
  border-top: 2px solid var(--primary-black);
}

/* ===========================
   Cookie Consent Banner
   =========================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--primary-white);
  border-top: 2px solid var(--primary-black);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-banner-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.5rem;
}

.cookie-banner h5 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-black);
  margin-bottom: 0.5rem;
}

.cookie-banner p {
  font-size: 0.875rem;
  color: #555;
  margin-bottom: 1rem;
}

.cookie-banner a {
  color: var(--primary-black);
  text-decoration: underline;
}

.cookie-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.cookie-category {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-black);
}

.cookie-category input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary-black);
  cursor: pointer;
}

.cookie-category input[type="checkbox"]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.cookie-category label {
  cursor: pointer;
  user-select: none;
}

.cookie-category .cookie-required {
  font-size: 0.75rem;
  color: #888;
  font-weight: 400;
}

.cookie-buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.cookie-buttons .square-btn,
.cookie-buttons .square-btn-transparent {
  padding: 10px 24px;
  font-size: 0.8rem;
}

@media (max-width: 767px) {
  .cookie-banner-inner {
    padding: 1.25rem 1rem;
  }

  .cookie-categories {
    flex-direction: column;
    gap: 0.75rem;
  }

  .cookie-buttons {
    flex-direction: column;
  }

  .cookie-buttons .square-btn,
  .cookie-buttons .square-btn-transparent {
    width: 100%;
    text-align: center;
  }
}