/* ============================================================
   Clip Stropdas - design tokens
   Stijl: helder, speels, rond. Geïnspireerd op de das zelf:
   een vloeiende knoop-vorm i.p.v. harde hoeken.
   ============================================================ */
:root {
  --cream: #fff8f1;
  --cream-soft: #fef1e4;
  --ink: #201a2b;
  --ink-soft: #5c5568;
  --red: #e2001a;
  --red-dark: #b5000f;
  --yellow: #ffc93c;
  --maroon: #6b1029;
  --slate: #44454a;
  --green: #1f9d5c;
  --white: #ffffff;

  --radius-lg: 32px;
  --radius-md: 20px;
  --radius-sm: 12px;
  --radius-pill: 999px;

  --shadow-soft: 0 12px 30px rgba(32, 26, 43, 0.08);
  --shadow-strong: 0 18px 40px rgba(32, 26, 43, 0.16);

  --font-display: "Baloo 2", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, sans-serif;

  --wrap-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.5em;
}

p { margin: 0 0 1em; }

.wrap {
  max-width: var(--wrap-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Respecteer 'reduced motion' voorkeur */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ============================================================
   Buttons & badges
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 14px 30px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--red);
  color: var(--white);
  box-shadow: var(--shadow-soft);
}
.btn--primary:hover { background: var(--red-dark); box-shadow: var(--shadow-strong); }

.btn--dark {
  background: var(--ink);
  color: var(--white);
}
.btn--dark:hover { background: #34293f; }

.btn--outline {
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--ink);
}
.btn--outline:hover { background: var(--ink); color: var(--white); }

.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; transform: none; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--yellow);
  color: var(--ink);
}

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 248, 241, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid rgba(32, 26, 43, 0.06);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 20px;
}
.brand__logo { height: 44px; width: auto; }

.main-nav {
  display: flex;
  gap: 28px;
  font-family: var(--font-display);
  font-weight: 600;
}
.main-nav a { padding: 8px 4px; border-bottom: 3px solid transparent; }
.main-nav a:hover, .main-nav a.is-active { border-color: var(--red); }

.site-header__actions { display: flex; align-items: center; gap: 14px; }

.cart-link { position: relative; display: inline-flex; padding: 6px; color: var(--ink); }
.cart-badge {
  position: absolute;
  top: -2px;
  right: -6px;
  background: var(--red);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 24px; height: 3px; background: var(--ink); border-radius: 3px; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 40px;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}
.hero__eyebrow {
  display: inline-block;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  color: var(--ink);
}
.hero h1 .price {
  color: var(--red);
}
.hero__lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 46ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 380px;
}
.hero__blob {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__visual img.hero-tie {
  position: relative;
  z-index: 1;
  width: min(300px, 70%);
  filter: drop-shadow(0 20px 30px rgba(32, 26, 43, 0.25));
}

/* ============================================================
   USPs
   ============================================================ */
.usps {
  padding: 20px 0 60px;
}
.usps__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.usp-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  box-shadow: var(--shadow-soft);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.usp-card__icon {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--cream-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
}
.usp-card h3 { font-size: 1.1rem; margin-bottom: 4px; }
.usp-card p { color: var(--ink-soft); margin: 0; font-size: 0.96rem; }

/* ============================================================
   Wavy section divider (signature element)
   ============================================================ */
.wave-divider { line-height: 0; }
.wave-divider svg { width: 100%; height: 48px; display: block; }
.wave-divider path { fill: var(--white); }
.wave-divider--flip { transform: rotate(180deg); }

/* ============================================================
   Product grid / cards
   ============================================================ */
.section { padding: 64px 0; }
.section--white { background: var(--white); }
.section-heading { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.section-heading h2 { font-size: clamp(1.8rem, 3.6vw, 2.4rem); }
.section-heading p { color: var(--ink-soft); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.product-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 22px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-strong); }
.product-card__img-wrap {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 12px;
  margin-bottom: 16px;
  position: relative;
}
.product-card__img-wrap img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; }
.product-card__swatch {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--white);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.08);
}
.product-card h3 { font-size: 1.15rem; margin-bottom: 4px; }
.product-card__price { font-family: var(--font-display); color: var(--red); font-size: 1.3rem; font-weight: 700; margin-bottom: 14px; }
.product-card__actions { margin-top: auto; display: flex; flex-direction: column; gap: 8px; }

/* ============================================================
   Trust banner
   ============================================================ */
.trust-banner {
  position: relative;
  padding: 90px 0;
  color: var(--white);
  background: linear-gradient(180deg, rgba(32,26,43,0.55), rgba(32,26,43,0.75)), url('/images/hero-suit.jpg') center/cover no-repeat;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 0 24px;
}
.trust-banner__inner { max-width: 640px; margin: 0 auto; text-align: center; }
.trust-banner h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
.trust-banner p { color: rgba(255,255,255,0.85); font-size: 1.1rem; }
.trust-banner .btn--primary { margin-top: 8px; }

/* ============================================================
   Generic page header (titelbalk voor subpagina's)
   ============================================================ */
.page-title {
  padding: 56px 0 20px;
  text-align: center;
}
.page-title h1 { font-size: clamp(2rem, 4vw, 2.6rem); }
.page-title p { color: var(--ink-soft); max-width: 60ch; margin: 0 auto; }

/* ============================================================
   Product detail page
   ============================================================ */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 40px 0 70px;
}
.product-detail__visual {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-detail__visual img { width: 100%; max-width: 320px; }
.product-detail__info .badge { margin-bottom: 16px; }
.product-detail__price { font-family: var(--font-display); font-size: 2rem; color: var(--red); font-weight: 700; margin-bottom: 6px; }
.product-detail__price small { display: block; font-family: var(--font-body); font-size: 0.9rem; color: var(--ink-soft); font-weight: 600; }
.product-detail__qty {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0;
}
.qty-control {
  display: inline-flex;
  align-items: center;
  border: 2px solid var(--ink);
  border-radius: var(--radius-pill);
  overflow: hidden;
}
.qty-control button {
  background: none;
  border: none;
  width: 40px;
  height: 40px;
  font-size: 1.2rem;
  font-family: var(--font-display);
  cursor: pointer;
}
.qty-control button:hover { background: var(--cream-soft); }
.qty-control input {
  width: 44px;
  text-align: center;
  border: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  background: transparent;
}
.product-detail__list { margin-top: 24px; }
.product-detail__list ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; color: var(--ink-soft); }
.product-detail__list li::before { content: "✓ "; color: var(--green); font-weight: 800; }

.related-strip { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 12px; }
.related-strip a {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-soft);
  font-weight: 700;
  font-family: var(--font-display);
}
.related-strip img { width: 34px; height: 34px; object-fit: contain; }

/* ============================================================
   Cart & Checkout
   ============================================================ */
.cart-layout, .checkout-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 32px;
  align-items: start;
  padding-bottom: 70px;
}
.cart-list { display: flex; flex-direction: column; gap: 14px; }
.cart-item {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 16px;
  display: grid;
  grid-template-columns: 72px 1fr auto auto;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-soft);
}
.cart-item img { width: 72px; height: 72px; object-fit: contain; background: var(--cream); border-radius: var(--radius-sm); padding: 6px; }
.cart-item__name { font-family: var(--font-display); font-weight: 700; }
.cart-item__price { color: var(--ink-soft); font-size: 0.9rem; }
.cart-item__remove { background: none; border: none; color: var(--red); cursor: pointer; font-weight: 700; font-family: var(--font-body); }

.summary-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-soft);
  position: sticky;
  top: 100px;
}
.summary-row { display: flex; justify-content: space-between; margin-bottom: 10px; color: var(--ink-soft); }
.summary-row--total { font-family: var(--font-display); font-size: 1.3rem; color: var(--ink); font-weight: 700; border-top: 2px dashed var(--cream-soft); padding-top: 14px; margin-top: 14px; }
.summary-note { font-size: 0.85rem; color: var(--ink-soft); margin-top: 14px; }
.empty-cart { text-align: center; padding: 60px 20px; background: var(--white); border-radius: var(--radius-lg); }

/* Checkout form */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 4px; }
.field label { font-weight: 700; font-size: 0.9rem; }
.field input, .field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 2px solid rgba(32,26,43,0.12);
  background: var(--white);
}
.field input:focus, .field textarea:focus { border-color: var(--red); outline: none; }
.form-card { background: var(--white); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-soft); }
.form-error { background: #fdeaea; color: var(--red-dark); border-radius: var(--radius-sm); padding: 12px 16px; margin-bottom: 18px; font-weight: 700; }
.ideal-note { display: flex; align-items: center; gap: 10px; margin-top: 20px; color: var(--ink-soft); font-size: 0.9rem; }
.ideal-note img { width: 32px; height: 32px; }

/* Thank you page */
.thanks-card { max-width: 560px; margin: 40px auto 90px; background: var(--white); border-radius: var(--radius-lg); padding: 48px 36px; text-align: center; box-shadow: var(--shadow-soft); }
.thanks-icon { width: 76px; height: 76px; border-radius: 50%; background: var(--cream-soft); display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; color: var(--green); }

/* Contact page */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding-bottom: 80px; }
.contact-info-card { background: var(--white); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-soft); }
.contact-info-card h3 { margin-top: 22px; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-soft); }
.contact-info-card h3:first-child { margin-top: 0; }
.contact-info-card p { margin: 4px 0 0; }
.success-box { background: #eafaf0; color: #16713f; border-radius: var(--radius-sm); padding: 16px; font-weight: 700; margin-bottom: 18px; }

/* Privacy / long-form content */
.prose { max-width: 760px; margin: 0 auto; padding-bottom: 80px; }
.prose h2 { margin-top: 1.6em; font-size: 1.4rem; }
.prose ul { padding-left: 1.2em; }
.prose a { color: var(--red); font-weight: 700; }

/* 404 */
.not-found { text-align: center; padding: 100px 20px; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--white); position: relative; margin-top: 40px; }
.footer-wave { line-height: 0; transform: translateY(1px); }
.footer-wave svg { width: 100%; height: 40px; display: block; }
.footer-wave path { fill: var(--white); }
.site-footer { background: var(--ink); color: rgba(255,255,255,0.8); }
.footer-wave path { fill: var(--ink); }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding: 20px 24px 40px; }
.footer__logo { height: 36px; margin-bottom: 14px; filter: brightness(0) invert(1); }
.footer__ideal { margin-top: 16px; background: var(--white); border-radius: 8px; padding: 4px; }
.footer__col h3 { color: var(--white); font-size: 1rem; margin-bottom: 14px; }
.footer__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.footer__col a:hover { color: var(--yellow); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.12); padding: 18px 24px; font-size: 0.85rem; text-align: center; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { order: -1; min-height: 280px; }
  .usps__grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .product-detail { grid-template-columns: 1fr; }
  .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    padding: 16px 24px;
    display: none;
    border-bottom: 2px solid rgba(32,26,43,0.06);
    box-shadow: var(--shadow-soft);
  }
  .main-nav.is-open { display: flex; }
  .nav-toggle { display: flex; }
  .product-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .cart-item { grid-template-columns: 56px 1fr; grid-template-rows: auto auto; }
  .cart-item__remove { grid-column: 2; justify-self: start; }
  .footer__inner { grid-template-columns: 1fr; }
  .trust-banner { margin: 0 12px; padding: 60px 20px; }
}
