@font-face {
  font-family: "Jakarta";
  src: url("fonts/jakarta.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --bg: #f7f4ff;
  --surface: #ffffff;
  --ink: #1e1b33;
  --ink-2: #4a4666;
  --ink-3: #6e6a8a;
  --line: #e7e2f6;

  --lilac: #ebe4ff;
  --peach: #ffe7dc;
  --mint: #dcf5e9;
  --rose: #ffe2ec;
  --sky: #ddeeff;
  --lemon: #fff3c7;

  --accent: #6a4cf5;      /* knoppen */
  --accent-2: #8b6cff;
  --accent-ink: #ffffff;
  --hot: #ff6b6b;         /* korting / urgentie */
  --hot-soft: #ffe1e1;
  --good: #1f9d6b;

  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 16px;
  --r-pill: 999px;

  --img-bg: #ffffff;    /* vlak achter productfoto's: wit, zodat feedfoto's naadloos passen */
  --font: "Jakarta", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink);
  background:
    radial-gradient(900px 500px at 8% -10%, #ffe9f2 0%, transparent 60%),
    radial-gradient(900px 600px at 100% 0%, #e4f1ff 0%, transparent 55%),
    var(--bg);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0; }
button, select { font: inherit; color: inherit; }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* Tinten per deal */
.tone-lilac { --tone: var(--lilac); }
.tone-peach { --tone: var(--peach); }
.tone-mint  { --tone: var(--mint); }
.tone-rose  { --tone: var(--rose); }
.tone-sky   { --tone: var(--sky); }
.tone-lemon { --tone: var(--lemon); }

/* Opzetbalk */
.notice {
  background: var(--ink);
  color: #fff;
  text-align: center;
  font-size: 15px;
  padding: 8px 16px;
}

/* Header */
.top {
  position: sticky; top: 0; z-index: 20;
  background: rgba(247, 244, 255, .78);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid rgba(231, 226, 246, .7);
}
.top__in { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo__mark {
  width: 44px; height: 44px; border-radius: 14px;
  display: grid; place-items: center; color: var(--accent);
  background: linear-gradient(135deg, #ffd6e7, #d9ccff 55%, #c9e7ff);
}
.logo__mark svg { width: 26px; height: 26px; }
.flag { width: 24px; height: 16px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(30,27,51,.12); flex: 0 0 auto; }
.logo__txt { font-size: 26px; font-weight: 800; letter-spacing: -0.03em; }
.logo__txt b { color: var(--accent); font-weight: 800; }

.top__right { display: flex; align-items: center; gap: 10px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  height: 44px; padding: 0 16px;
  border-radius: var(--r-pill);
  background: var(--surface); border: 1px solid var(--line);
  text-decoration: none; font-weight: 600; font-size: 16px;
}
.pill:hover { border-color: var(--accent-2); }
.lang { display: inline-flex; padding: 4px; border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--line); }
.lang a {
  min-width: 48px; height: 36px; display: grid; place-items: center;
  border-radius: var(--r-pill); text-decoration: none; font-weight: 700; font-size: 16px; color: var(--ink-3);
}
.lang a.is-on { background: var(--accent); color: var(--accent-ink); }

/* Hero / deal van de dag */
.hero { padding-top: 36px; }
.hero__card {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 0;
  background: var(--surface);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(70, 50, 160, .25);
}
.hero__media {
  position: relative; min-height: 460px;
  display: grid; place-items: center;
  background: var(--img-bg);
  border-right: 1px solid var(--line);
}
/* Productfoto's komen uit feeds meestal op wit binnen.
   Met multiply valt dat wit weg in het (bijna witte) vlak, ook bij foto's met een gebroken-witte rand. */
.pimg {
  position: absolute; left: 10%; top: 10%; width: 80%; height: 80%;
  object-fit: contain; mix-blend-mode: multiply; transition: transform .3s ease;
}
.hero__media .pimg { left: 12%; top: 14%; width: 76%; height: 72%; }
.hero__media:hover .pimg { transform: scale(1.03); }
.hero__body { padding: 44px 48px; display: flex; flex-direction: column; gap: 14px; }
.eyebrow { margin: 0; color: var(--accent); font-weight: 700; font-size: 16px; text-transform: uppercase; letter-spacing: .08em; }
.hero__title { font-size: clamp(30px, 3.4vw, 44px); font-weight: 800; }
.hero__sub { margin: 0; color: var(--ink-2); font-size: 19px; }

.badge {
  position: absolute; top: 22px; left: 22px; display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: var(--r-pill);
  background: var(--surface); font-weight: 700; font-size: 16px;
  box-shadow: 0 8px 20px -10px rgba(30, 27, 51, .3);
}
.badge svg { width: 18px; height: 18px; color: #f5b400; }
.badge { background: var(--lemon); }
.disc {
  position: absolute; top: 14px; right: 14px;
  padding: 6px 12px; border-radius: var(--r-pill);
  background: var(--hot); color: #fff; font-weight: 800; font-size: 17px;
}
.disc--xl { top: 22px; right: 22px; font-size: 24px; padding: 10px 18px; }

.prices { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.prices__old { color: var(--ink-3); font-size: 17px; }
.prices__old s { text-decoration-thickness: 2px; text-decoration-color: var(--hot); }
.prices__new { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; }
.prices__new small { font-size: 17px; font-weight: 600; color: var(--ink-3); letter-spacing: 0; }
.prices--xl .prices__old { font-size: 20px; }
.prices--xl .prices__new { font-size: 48px; }
.prices--xl .prices__new small { font-size: 20px; }
.save {
  margin: -4px 0 0; align-self: flex-start;
  padding: 6px 14px; border-radius: var(--r-pill);
  background: var(--mint); color: #0f6e4a; font-weight: 700; font-size: 17px;
}

/* Aftelklok */
.cd { display: inline-flex; align-items: center; gap: 4px; font-variant-numeric: tabular-nums; }
.cd__u { display: inline-flex; align-items: baseline; gap: 2px; }
.cd__u b { font-weight: 800; }
.cd__u i { font-style: normal; font-size: .72em; color: var(--ink-3); font-weight: 600; }
.cd__sep { color: var(--ink-3); font-weight: 700; }
.cd.is-urgent b { color: var(--hot); }

.hero__timer {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px;
  padding: 16px 20px; border-radius: var(--r-lg);
  background: var(--bg);
}
.hero__timer-label { font-weight: 700; color: var(--ink-2); }
.cd--xl { gap: 8px; }
.cd--xl .cd__u {
  flex-direction: column; align-items: center; gap: 0;
  min-width: 74px; padding: 8px 10px; border-radius: var(--r-md);
  background: var(--surface); border: 1px solid var(--line);
}
.cd--xl .cd__u b { font-size: 34px; line-height: 1.1; }
.cd--xl .cd__u i { font-size: 15px; }
.cd--xl .cd__sep { font-size: 28px; }

/* Voorraad */
.stock { display: flex; flex-direction: column; gap: 6px; }
.stock__bar { height: 10px; border-radius: var(--r-pill); background: var(--line); overflow: hidden; }
.stock__bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #a48bff, var(--accent)); }
.stock__txt { font-size: 15px; color: var(--ink-3); font-weight: 600; }
.stock--low .stock__bar span { background: linear-gradient(90deg, #ffa2a2, var(--hot)); }
.stock--low .stock__txt { color: #c43c3c; }

/* Knoppen */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 56px; padding: 0 26px;
  border-radius: var(--r-pill);
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: var(--accent-ink); text-decoration: none; font-weight: 700; font-size: 18px;
  box-shadow: 0 12px 24px -12px rgba(106, 76, 245, .8);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 28px -12px rgba(106, 76, 245, .9); }
.btn:active { transform: translateY(0); }
.btn:focus-visible, .chip:focus-visible, .pill:focus-visible, .lang a:focus-visible, select:focus-visible {
  outline: 3px solid #b9a8ff; outline-offset: 3px;
}
.btn--xl { height: 66px; font-size: 21px; margin-top: 6px; }
.shopline { margin: -4px 0 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 14px; color: var(--ink-3); font-size: 16px; }
.shopline__ship { display: inline-flex; align-items: center; gap: 6px; color: var(--good); font-weight: 600; }
.shopline__ship svg { width: 20px; height: 20px; }
.foot__dom { display: inline-flex; align-items: center; gap: 6px; }
.foot__dom .flag { width: 18px; height: 12px; }

.ticker {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin: 28px 0 0; font-weight: 600; color: var(--ink-2);
}
.ticker svg { width: 22px; height: 22px; color: var(--accent); }

/* Overzicht */
.deals { padding-top: 56px; }
.deals__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.deals__head h2 { font-size: clamp(26px, 2.6vw, 34px); font-weight: 800; }
.count {
  display: inline-block; vertical-align: middle; margin-left: 6px;
  padding: 4px 12px; border-radius: var(--r-pill);
  background: var(--lilac); color: var(--accent); font-size: 16px; font-weight: 700; letter-spacing: 0;
}
.sort { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink-2); }
.sort select {
  height: 46px; padding: 0 40px 0 16px; border-radius: var(--r-pill);
  border: 1px solid var(--line); background: var(--surface);
  appearance: none; -webkit-appearance: none; cursor: pointer; font-weight: 600;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5' fill='none' stroke='%236e6a8a' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}

.chips { display: flex; gap: 10px; margin: 22px 0 26px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto; height: 46px; padding: 0 20px; border-radius: var(--r-pill);
  border: 1px solid var(--line); background: var(--surface); cursor: pointer; font-weight: 600; font-size: 17px;
  transition: background .15s ease, border-color .15s ease;
}
.chip:hover { border-color: var(--accent-2); }
.chip.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.card {
  display: flex; flex-direction: column;
  background: var(--surface); border-radius: var(--r-lg); overflow: hidden;
  box-shadow: 0 18px 40px -28px rgba(70, 50, 160, .35);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -28px rgba(70, 50, 160, .45); }
.card[hidden] { display: none; }
.card__media {
  position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; overflow: hidden;
  background: var(--img-bg);
  border-bottom: 1px solid var(--line);
}
.card__media .pimg { top: 8%; height: 76%; }
.card:hover .pimg { transform: scale(1.05); }
.shoptag {
  position: absolute; left: 14px; bottom: 14px; border: 1px solid var(--line);
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: var(--r-pill);
  background: rgba(255,255,255,.92); font-weight: 700; font-size: 15px;
}
.shoptag i { width: 10px; height: 10px; border-radius: 50%; }

.card__body { display: flex; flex-direction: column; gap: 12px; padding: 20px 22px 22px; flex: 1; }
.card__timer {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: var(--r-pill); background: var(--bg); color: var(--ink-2); font-size: 17px;
}
.card__title { font-size: 21px; font-weight: 700; }
.card__sub { margin: -4px 0 0; color: var(--ink-3); font-size: 16px; }
.card .prices { margin-top: auto; }
.card .btn { width: 100%; }

.is-ended { opacity: .6; }
.is-ended .btn { background: var(--line); color: var(--ink-3); box-shadow: none; pointer-events: none; }

.empty { text-align: center; color: var(--ink-3); padding: 40px 0; }

/* Zo werkt het */
.how { padding: 80px 24px 24px; }
.how h2 { font-size: clamp(26px, 2.6vw, 34px); font-weight: 800; text-align: center; margin-bottom: 28px; }
.how__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.how__item { padding: 28px; border-radius: var(--r-lg); background: var(--tone); }
.how__item h3 { font-size: 21px; margin: 14px 0 6px; }
.how__item p { margin: 0; color: var(--ink-2); }
.how__n {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface); font-weight: 800; font-size: 19px;
}

/* Footer */
.foot { margin-top: 64px; padding: 40px 0 48px; border-top: 1px solid var(--line); background: rgba(255,255,255,.55); }
.foot__disc { max-width: 760px; margin: 0 auto 20px; text-align: center; color: var(--ink-2); font-size: 16px; }
.foot__links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 24px; }
.foot__links a { text-decoration: none; font-weight: 600; color: var(--ink-2); }
.foot__links a:hover { color: var(--accent); }
.foot__copy { text-align: center; color: var(--ink-3); font-size: 15px; margin: 20px 0 0; }

/* Tablet */
@media (max-width: 960px) {
  .hero__card { grid-template-columns: 1fr; }
  .hero__media { min-height: 0; aspect-ratio: 4 / 3; border-right: 0; border-bottom: 1px solid var(--line); }
  .hero__media .pimg { top: 14%; height: 72%; }
  .hero__body { padding: 30px 28px 32px; }
  .how__grid { grid-template-columns: 1fr; }
}

/* Mobiel */
@media (max-width: 600px) {
  body { font-size: 17px; }
  .wrap { padding: 0 16px; }
  .top__in { height: 64px; }
  .logo__mark { width: 38px; height: 38px; font-size: 20px; border-radius: 12px; }
  .pill { height: 40px; padding: 0 12px; font-size: 15px; }
  .pill .pill__name { display: none; }
  .lang a { min-width: 38px; height: 32px; font-size: 15px; }
  .top__right { gap: 6px; }
  .top__in { gap: 8px; }
  .logo { gap: 8px; min-width: 0; }
  .logo__txt { font-size: 20px; }
  .pill { padding: 0 10px; gap: 6px; }
  .pill > svg:last-child { display: none; }
  .hero { padding-top: 20px; }
  .hero__card { border-radius: var(--r-lg); }
  .hero__body { padding: 24px 20px 26px; }
  .badge { top: 14px; left: 14px; font-size: 15px; }
  .disc--xl { top: 14px; right: 14px; font-size: 20px; padding: 8px 14px; }
  .prices--xl .prices__new { font-size: 40px; }
  .hero__timer { padding: 14px; justify-content: center; }
  .hero__timer-label { width: 100%; text-align: center; }
  .cd--xl .cd__u { min-width: 66px; }
  .cd--xl .cd__u b { font-size: 30px; }
  .btn--xl { height: 62px; font-size: 20px; }
  .deals { padding-top: 40px; }
  .deals__head { align-items: flex-start; flex-direction: column; }
  .chips { margin: 18px -16px 22px; padding: 0 16px 4px; }
  .grid { grid-template-columns: 1fr; gap: 18px; }
  .how { padding: 56px 16px 8px; }
}
