/* ===== FONTS (self-hosted, latin subset, see fonts/) ===== */
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url('../fonts/jost-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Marcellus';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/marcellus-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ===== VARIABLES (Maison design system) ===== */
:root {
  --color-primary: #16306b;        /* deep blue — grounds, headings */
  --color-primary-dark: #0f2249;   /* deepest blue — hover on dark */
  --color-blue: #1c3f8f;           /* royal blue — buttons, links */
  --color-accent: #bf9c4e;         /* gold */
  --color-accent-light: #d8be86;   /* soft gold */
  --color-gold-dark: #a8863c;
  --color-gold-text: #7a5c14; /* gold that passes AA on cream and white (5.45:1) */      /* gold hover */
  --color-red: #B42025;
  --color-bg: #f6efe1;             /* cream */
  --color-cream-2: #efe6d3;
  --color-white: #ffffff;
  --color-text: #22315a;           /* ink */
  --color-text-light: #5a6783;     /* muted */
  --color-border: rgba(28, 63, 143, 0.16);
  --font-family: 'Jost', sans-serif;
  --font-display: 'Marcellus', serif;
  --max-width: 1200px;
  --header-height: 80px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-family);
  font-weight: 300;
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.7;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--color-primary);
  line-height: 1.1;
}

h1 em, h2 em {
  font-style: italic;
  color: var(--color-blue);
}

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

ul {
  list-style: none;
}

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

/* ===== UTILITY ===== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section-title {
  font-size: 2rem;
  color: var(--color-primary);
  text-align: center;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--color-text-light);
  text-align: center;
  margin-bottom: 48px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 0;
  font-family: var(--font-family);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid var(--color-blue);
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}

.btn-primary {
  background-color: var(--color-blue);
  color: var(--color-bg);
  border-color: var(--color-blue);
}

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

.btn-accent {
  background-color: var(--color-accent);
  color: var(--color-primary-dark); /* ink on gold: 6.0:1, white was 2.6:1 */
  border-color: var(--color-accent);
}

.btn-accent:hover {
  background-color: var(--color-gold-dark);
  border-color: var(--color-gold-dark);
  color: var(--color-primary-dark);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-blue);
  border: 1px solid var(--color-blue);
}

.btn-outline:hover {
  background-color: var(--color-blue);
  color: var(--color-bg);
}

/* Outline button for dark grounds (hero): one clear main action next to it */
.btn-outline-light {
  background-color: transparent;
  color: var(--color-bg);
  border: 1px solid var(--color-bg);
}

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

/* Route icon buttons (Maps, Waze) */
.route-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.btn-route-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 3px;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  box-shadow: 0 1px 3px rgba(22, 48, 107, 0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-route-icon:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(22, 48, 107, 0.12);
}

.btn-route-icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.btn-sm {
  padding: 11px 20px;
  font-size: 0.75rem;
}

/* ===== EYEBROW ===== */
.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--color-gold-text);
  font-weight: 400;
  display: inline-block;
}

/* ===== HEADER ===== */
.header {
  transition: box-shadow 0.25s ease;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background-color: var(--color-primary);
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

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

.logo img {
  height: 44px;
  width: auto;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--color-accent);
  letter-spacing: 0.18em;
  line-height: 1.2;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--color-white);
  position: relative;
  transition: color 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-accent);
  transition: width 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-accent-light);
}

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

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

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-white);
  transition: transform 0.3s, opacity 0.3s;
}

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

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

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

/* ===== HERO ===== */
.hero {
  margin-top: var(--header-height);
  position: relative;
  height: 560px;
  display: flex;
  align-items: center;
  background: var(--color-primary);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.32;
}

.hero-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 620px;
  color: var(--color-white);
}

.hero-content h1 {
  font-size: 3.4rem;
  color: var(--color-white);
  line-height: 1.1;
  margin-bottom: 22px;
}

.hero-content h1 span {
  font-style: italic;
  color: var(--color-accent);
}

.hero-content p {
  font-size: 1.1rem;
  opacity: 0.85;
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ===== QUALITY BADGES ===== */
.quality-bar {
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  padding: 32px 0;
}

.quality-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}

.quality-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.quality-item img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.quality-item span {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--color-primary);
  max-width: 120px;
  line-height: 1.3;
}

/* ===== ABOUT ===== */
.about {
  background-color: var(--color-bg);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  border-radius: 3px;
  overflow: hidden;
  background-color: var(--color-cream-2);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-light);
  font-size: 0.9rem;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-text h2 {
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.about-subtitle {
  font-size: 0.75rem;
  color: var(--color-gold-text);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.34em;
  margin-bottom: 20px !important;
}

.about-closing {
  font-style: italic;
  color: var(--color-primary) !important;
}

.about-text p {
  color: var(--color-text-light);
  margin-bottom: 16px;
  line-height: 1.8;
}

.about-text p a {
  color: var(--color-blue);
  border-bottom: 1px solid var(--color-accent);
  text-underline-offset: 3px;
}

.about-text p a:hover {
  color: var(--color-primary);
}

.about-text .highlight {
  color: var(--color-accent);
}

/* ===== KOFFIEHOEK GALLERY ===== */
.koffiehoek-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.koffiehoek-gallery-item {
  border-radius: 3px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background-color: var(--color-cream-2);
}

.koffiehoek-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .koffiehoek-gallery {
    grid-template-columns: 1fr;
  }
}

/* ===== FEATURED PRODUCTS ===== */
.featured {
  background-color: var(--color-white);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(196px, 1fr));
  gap: 22px;
}

.product-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 2px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(22, 48, 107, 0.16);
}

.product-image {
  aspect-ratio: 1/1;
  flex: none;
  background-color: var(--color-cream-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-light);
  font-size: 0.85rem;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-info h3 {
  font-size: 1.15rem;
  line-height: 1.2;
  color: var(--color-primary);
  margin-bottom: 6px;
  /* exactly 2 lines, so the description always starts at the same height */
  min-height: calc(1.15rem * 1.2 * 2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-info .product-desc {
  font-size: 0.88rem;
  color: var(--color-text-light);
  /* 12px gap + a 22px slot the "Meer" toggle sits in, so cards with and
     without a toggle keep their price on the same line */
  margin-bottom: 34px;
  line-height: 1.5;
  /* capped at 3 lines and always 3 lines tall, so the price never shifts */
  min-height: calc(0.88rem * 1.5 * 3);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-price {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--color-blue);
  margin-bottom: 16px;
}

.product-price span {
  font-family: var(--font-family);
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--color-text-light);
}

.product-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  /* pushes the button to the bottom of the card, whatever the text above does */
  margin-top: auto;
}

.product-actions .btn {
  flex: 1;
  justify-content: center;
  text-align: center;
}

/* ===== HOURS SECTION ===== */
.hours {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.hours .section-title {
  color: var(--color-white);
}

.hours .section-subtitle {
  color: rgba(246, 239, 225, 0.65);
}

.hours-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.hours-table {
  width: 100%;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid rgba(216, 190, 134, 0.18);
}

.hours-row:last-child {
  border-bottom: none;
}

.hours-day {
  font-weight: 400;
}

.hours-time {
  color: var(--color-accent-light);
  text-align: right;
}

.hours-cta {
  background-color: rgba(255, 255, 255, 0.06);
  border-radius: 3px;
  padding: 36px;
  border: 1px solid rgba(216, 190, 134, 0.18);
}

.hours-cta h3 {
  font-size: 1.4rem;
  color: var(--color-white);
  margin-bottom: 12px;
}

.hours-cta p {
  opacity: 0.75;
  margin-bottom: 24px;
  line-height: 1.7;
}

.hours-cta .contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

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

.hours-cta .contact-item svg {
  flex-shrink: 0;
  color: var(--color-accent);
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: var(--color-accent);
  text-align: center;
  padding: 64px 0;
}

.cta-section h2 {
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.cta-section p {
  color: var(--color-primary);
  margin-bottom: 28px;
  font-size: 1.05rem;
}

.cta-section .btn-primary {
  background-color: var(--color-primary);
  color: var(--color-bg);
  border-color: var(--color-primary);
}

.cta-section .btn-primary:hover {
  background-color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
}

/* ===== PRODUCT PAGE ===== */
.page-header {
  margin-top: var(--header-height);
  background: var(--color-primary);
  padding: 60px 0;
  text-align: center;
  color: var(--color-white);
}

.page-header h1 {
  font-size: 2.6rem;
  color: var(--color-white);
  margin-bottom: 8px;
}

.page-header p {
  font-size: 1.05rem;
  opacity: 0.75;
}

/* Category Filters */
.category-filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 32px 0;
}

.filter-btn {
  padding: 9px 20px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background-color: transparent;
  color: var(--color-text-light);
  font-family: var(--font-family);
  font-size: 0.75rem;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--color-blue);
  background-color: var(--color-blue);
  color: var(--color-bg);
}

/* ===== CONTACT PAGE ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 3px;
  padding: 36px;
}

.contact-info-card h2 {
  font-size: 1.6rem;
  color: var(--color-primary);
  margin-bottom: 24px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-detail svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--color-accent);
}

.contact-detail h3 {
  font-size: 1rem;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.contact-detail p,
.contact-detail a {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

.contact-detail a:hover {
  color: var(--color-accent);
}

.contact-buttons {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.map-container {
  border-radius: 3px;
  overflow: hidden;
  height: 100%;
  min-height: 400px;
  border: 1px solid var(--color-border);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  min-height: 400px;
}

.contact-hours {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 3px;
  padding: 36px;
  margin-top: 48px;
}

.contact-hours h2 {
  font-size: 1.6rem;
  color: var(--color-primary);
  margin-bottom: 24px;
}

.contact-hours-grid {
  display: grid;
  /* auto-fit, not auto-fill: empty tracks collapse so the CMS rows always
     spread across the full width instead of leaving a gap on the right */
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.contact-hours-item {
  padding: 16px;
  background-color: var(--color-bg);
  border-radius: 3px;
}

.contact-hours-item .day {
  font-weight: 400;
  color: var(--color-primary);
  font-size: 0.9rem;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-hours-item .time {
  color: var(--color-text-light);
  font-size: 0.9rem;
}

/* ===== INSTAGRAM FEED ===== */
.instagram-section {
  background-color: var(--color-bg);
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .instagram-grid {
    grid-template-columns: 1fr;
  }
}

.instagram-embed-wrap {
  border-radius: 3px;
  overflow: hidden;
  background: #fafafa;
  border: 1px solid var(--color-border);
}

.instagram-embed-wrap iframe {
  width: 100%;
  height: 365px;
  border: none;
  display: block;
}

.load-error {
  color: var(--color-text-light);
  text-align: center;
  padding: 40px 0;
}

/* ===== FOOTER ===== */
.footer {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 60px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-brand .footer-logo {
  height: 36px;
  width: auto;
}

.footer-brand p {
  opacity: 0.65;
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 360px;
}

.footer-warrant {
  margin-top: 8px;
}

.footer-warrant img {
  height: 64px;
  width: auto;
  opacity: 0.8;
}

.footer .footer-title {
  font-family: var(--font-family);
  font-size: 0.75rem;
  font-weight: 500;
  margin-bottom: 20px;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.footer-links a {
  display: block;
  font-size: 0.9rem;
  opacity: 0.65;
  margin-bottom: 10px;
  transition: opacity 0.2s;
}

.footer-links a:hover {
  opacity: 1;
}

.footer-hours .hours-row {
  font-size: 0.85rem;
  padding: 6px 0;
  border-bottom-color: rgba(216, 190, 134, 0.14);
}

.footer-bottom {
  border-top: 1px solid rgba(216, 190, 134, 0.14);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  opacity: 0.62;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.08);
  transition: background-color 0.2s;
}

.footer-social a:hover {
  background-color: var(--color-accent);
}

.footer-social svg {
  width: 18px;
  height: 18px;
  fill: white;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
  .about-grid,
  .hours-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-content h1 {
    font-size: 2.6rem;
  }

  .quality-grid {
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background-color: var(--color-primary);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.25s ease-out, opacity 0.25s ease-out, visibility 0s 0.25s;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transition-delay: 0s;
  }

  /* links drop in one after the other once the panel is open */
  .nav-links a {
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.22s ease-out, transform 0.22s ease-out;
  }

  .nav-links.open a {
    opacity: 1;
    transform: none;
  }

  .nav-links.open a:nth-child(2) { transition-delay: 0.04s; }
  .nav-links.open a:nth-child(3) { transition-delay: 0.08s; }
  .nav-links.open a:nth-child(4) { transition-delay: 0.12s; }

  .hamburger {
    display: flex;
  }

  .hero {
    height: auto;
    padding: 60px 0;
  }

  .hero-content h1 {
    font-size: 2.1rem;
  }

  .section {
    padding: 56px 0;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .products-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: flex-start;
  }

  .quality-grid {
    gap: 20px;
  }

  .quality-item span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .quality-item img {
    width: 48px;
    height: 48px;
  }
}

@media (max-width: 480px) {
  .logo-text {
    font-size: 1rem;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .product-actions {
    flex-direction: column;
  }

  /* single column: nothing to line up with, so don't reserve empty lines */
  .product-info h3,
  .product-info .product-desc {
    min-height: 0;
  }

  .product-actions .btn {
    justify-content: center;
  }

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

/* ===== ACCESSIBILITY UTILITIES ===== */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 2000;
  padding: 12px 20px;
  background: var(--color-bg);
  color: var(--color-primary);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--color-blue);
}

.skip-link:focus {
  top: 16px;
}

:focus-visible {
  outline: 3px solid var(--color-blue);
  outline-offset: 3px;
}

.header :focus-visible,
.hero :focus-visible,
.page-header :focus-visible,
.hours :focus-visible,
.footer :focus-visible {
  outline-color: var(--color-accent-light);
}

.header.is-scrolled {
  box-shadow: 0 2px 20px rgba(29, 44, 78, 0.28);
}

/* ===== LAYOUT HELPERS (replace inline styles) ===== */
.mt-16 {
  margin-top: 16px;
}

.section-cta {
  text-align: center;
  margin-top: 40px;
}

.section-gallery {
  background-color: var(--color-bg);
  padding-top: 0;
}

/* ===== SPACE RESERVED BEFORE THE CMS FILLS IT (no layout shift) ===== */
.category-filters {
  min-height: 102px;
}

.instagram-grid {
  min-height: 367px;
}

.product-card.skeleton {
  pointer-events: none;
}

.product-card.skeleton .product-info {
  min-height: 232px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sk-line {
  height: 12px;
  background: var(--color-cream-2);
  border-radius: 2px;
}

.sk-title {
  height: 18px;
  width: 70%;
  margin-bottom: 8px;
}

.sk-short {
  width: 45%;
}

.sk-btn {
  margin-top: auto;
  height: 40px;
  background: var(--color-cream-2);
}

/* ===== PRODUCT CARD: unit hidden visually, "Meer" toggle for clipped text ===== */
.product-price-empty {
  font-family: var(--font-family);
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--color-text-light);
}

.product-info .product-desc.expanded {
  -webkit-line-clamp: unset;
  line-clamp: unset;
  display: block;
  overflow: visible;
}

.desc-toggle {
  align-self: flex-start;
  height: 18px;
  margin: -30px 0 12px; /* fills the 22px slot reserved by .product-desc */
  padding: 0;
  line-height: 16px;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--color-blue);
  color: var(--color-blue);
  font-family: var(--font-family);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

/* ===== CONTACT: map loads on demand ===== */
.map-container iframe {
  border: 0;
  width: 100%;
  height: 100%;
}

.map-facade {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  height: 100%;
  min-height: 320px;
  padding: 32px;
  background: var(--color-cream-2);
  border: 1px solid var(--color-border);
  color: var(--color-primary);
  font-family: var(--font-family);
  cursor: pointer;
  text-align: center;
}

.map-facade svg {
  width: 40px;
  height: 40px;
  color: var(--color-accent);
}

.map-facade strong {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.15rem;
}

.map-facade span:not(.btn) { /* the hint only; the .btn span keeps its own colour */
  color: var(--color-text-light);
  font-size: 0.9rem;
}

.map-facade .btn {
  margin-top: 8px;
}

/* ===== MOTION LAYER (js/motion-init.js) =====
   `html.js` is set by the inline head gate only when JS runs and the viewer has
   not asked for reduced motion; `data-reveal` is set by motion-init.js just
   before it animates an element and removed when the animation finishes. No
   JS, reduced motion, print, or a failed script: nothing is ever hidden. */
html.js [data-reveal] {
  opacity: 0;
}

@media print {
  html.js [data-reveal] {
    opacity: 1;
  }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .product-card:hover,
  .btn-route-icon:hover {
    transform: none;
  }

  html.js [data-reveal] {
    opacity: 1;
  }
}

@media print {
  .skip-link,
  .hamburger,
  .desc-toggle,
  .map-facade {
    display: none;
  }
}
