/* CreaGirlz – "het prikbord op je kamer".
   Een kurken prikbord in een houten lijst, tegen een retro-groene muur.
   Sticky notes, punaises, washi-tape en potloodschrift doen het werk; de rest blijft rustig. */

:root {
  /* muur, hout en kurk */
  --wall: #1f5e5a;
  --wall-dot: #2a706b;
  --wood: #8a5531;
  --wood-dark: #5a3219;
  --wood-light: #b07446;
  --cork: #c08a52;
  /* inkt en accenten */
  --ink: #37322f;           /* grafiet */
  --pencil: #4b4541;
  --pencil-soft: #6a625c;
  --cherry: #e3404c;
  --cherry-dark: #a8262f;
  --teal: #13807d;
  --mustard: #e9a71c;
  --bubble: #ef5d9a;
  --paper: #fffdf6;
  --kraft: #d6b688;
  /* notitiekleuren */
  --citroen: #fff07c;
  --kauwgom: #ffc4da;
  --mint: #c0edcd;
  --lucht: #b7ddf7;
  --lila: #ddcdf8;
  --mandarijn: #ffcd96;

  --hand: 'Gochi Hand', 'Comic Sans MS', cursive;
  --display: 'Shrikhand', Georgia, serif;
  --ui: 'Fredoka', 'Trebuchet MS', system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --frame: clamp(10px, 1.6vw, 20px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--ui);
  font-size: 1.0625rem;
  line-height: 1.5;
  color: var(--ink);
  background-color: var(--wall);
  background-image: radial-gradient(var(--wall-dot) 2px, transparent 2.5px);
  background-size: 26px 26px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cherry-dark); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--paper); padding: 8px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--mustard); outline-offset: 3px; border-radius: 4px; }
.ic { width: 1.25em; height: 1.25em; flex: none; vertical-align: -.25em; }
.hand { font-family: var(--hand); color: var(--pencil); font-size: 1.25rem; line-height: 1.35; }
.muted { opacity: .7; }

/* ---------- Kop: logo, zoeken en menu op de muur ---------- */
.rail { position: relative; z-index: 5; }
.rail-in {
  max-width: 1440px; margin: 0 auto;
  padding: 14px var(--gutter) 6px;
  display: flex; align-items: center; gap: 18px 24px; flex-wrap: wrap;
}
.logo { flex: none; display: block; transform: rotate(-2deg); transition: transform .25s ease; }
.logo:hover { transform: rotate(0) scale(1.03); }
.logo img { width: clamp(190px, 24vw, 300px); filter: drop-shadow(0 5px 0 rgba(0,0,0,.18)); }

.search { flex: 1 1 260px; max-width: 420px; display: flex; position: relative; }
.search input {
  width: 100%; border: 0; border-radius: 999px;
  padding: 11px 48px 11px 20px;
  background: var(--paper);
  box-shadow: inset 0 2px 0 rgba(0,0,0,.08), 0 3px 0 rgba(0,0,0,.2);
}
.search input::placeholder { color: var(--pencil-soft); font-family: var(--hand); font-size: 1.15rem; }
.search button { position: absolute; right: 4px; top: 4px; bottom: 4px; width: 40px; border: 0; border-radius: 999px; background: var(--mustard); color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.search button:hover { background: #ffc23b; }

.menu { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.menu a {
  display: inline-flex; align-items: center; gap: 6px;
  color: #fff7e6; text-decoration: none; font-weight: 600;
  padding: 9px 14px; border-radius: 999px;
}
.menu a:hover, .menu a.on { background: rgba(255,255,255,.14); }
.menu .lang span { font-size: .9rem; letter-spacing: .04em; }
.menu .cart-link { background: var(--cherry); box-shadow: 0 4px 0 var(--cherry-dark); padding: 9px 16px; }
.menu .cart-link:hover, .menu .cart-link.on { background: #f0505b; }
.cart-count {
  min-width: 1.6em; height: 1.6em; padding: 0 .4em; border-radius: 999px;
  background: var(--citroen); color: var(--ink); font-size: .85rem; font-weight: 700;
  display: inline-grid; place-items: center;
}
.cart-count.bump { animation: bump .5s ease; }
@keyframes bump { 30% { transform: scale(1.45) rotate(-8deg); } 60% { transform: scale(.9); } }

/* ---------- Washi-tape categorieën ---------- */
.tapes { position: relative; z-index: 4; }
.tapes-in {
  max-width: 1440px; margin: 0 auto; padding: 8px var(--gutter) 4px;
  display: flex; gap: 10px 14px; flex-wrap: wrap; align-items: center;
}
.tape {
  --tc: 255, 196, 218;
  position: relative; display: inline-block;
  padding: 7px 18px 8px; text-decoration: none;
  font-family: var(--hand); font-size: 1.2rem; color: var(--ink);
  background-color: rgba(var(--tc), .92);
  clip-path: polygon(0 8%, 4% 0, 8% 10%, 12% 0, 16% 6%, 100% 0, 97% 50%, 100% 100%, 88% 92%, 84% 100%, 80% 94%, 0 100%, 3% 50%);
  transform: rotate(-1.5deg);
  transition: transform .15s ease;
}
.tape:nth-child(even) { transform: rotate(1.8deg); }
.tape:nth-child(3n) { transform: rotate(-.6deg); }
.tape:hover { transform: rotate(0) translateY(-2px); }
.tape.on { box-shadow: inset 0 -4px 0 rgba(0,0,0,.14); font-weight: bold; }
.tape.on::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 3px; background: var(--ink); border-radius: 2px; opacity: .7; }
.t0 { --tc: 255, 240, 124; background-image: repeating-linear-gradient(45deg, transparent 0 6px, rgba(255,255,255,.45) 6px 9px); }
.t1 { --tc: 255, 196, 218; background-image: radial-gradient(rgba(255,255,255,.7) 2px, transparent 2.5px); background-size: 10px 10px; }
.t2 { --tc: 192, 237, 205; background-image: repeating-linear-gradient(90deg, transparent 0 8px, rgba(255,255,255,.5) 8px 11px); }
.t3 { --tc: 183, 221, 247; background-image: repeating-linear-gradient(-45deg, transparent 0 5px, rgba(255,255,255,.45) 5px 8px); }
.t4 { --tc: 221, 205, 248; background-image: radial-gradient(rgba(255,255,255,.65) 1.6px, transparent 2px); background-size: 8px 8px; }
.t5 { --tc: 255, 205, 150; background-image: repeating-linear-gradient(0deg, transparent 0 6px, rgba(255,255,255,.4) 6px 8px); }
.t6 { --tc: 255, 158, 160; background-image: repeating-linear-gradient(45deg, transparent 0 7px, rgba(255,255,255,.4) 7px 10px); }

/* ---------- Het prikbord zelf (houten lijst + kurk) ---------- */
main {
  flex: 1;
  position: relative;
  width: min(100% - 2 * var(--gutter) + 2 * var(--frame), 1440px);
  margin: 14px auto 0;
  border: var(--frame) solid var(--wood);
  border-image: linear-gradient(135deg, var(--wood-light), var(--wood) 30%, var(--wood-dark) 70%, var(--wood)) 1;
  background-color: var(--cork);
  background-image:
    radial-gradient(ellipse at 50% 40%, transparent 55%, rgba(70,35,5,.28)),
    url('/img/art/cork.webp');
  background-size: 100% 100%, 520px 520px;
  box-shadow: 0 18px 40px rgba(0,0,0,.35), inset 0 0 0 1px rgba(0,0,0,.25), inset 0 6px 14px rgba(0,0,0,.25);
  padding: clamp(28px, 4vw, 52px) clamp(14px, 3.4vw, 48px) clamp(40px, 5vw, 64px);
}
@media (max-width: 640px) {
  main { width: 100%; margin-top: 10px; border-left-width: 6px; border-right-width: 6px; }
}

.board-head {
  display: inline-block; margin: 0 0 28px;
  font-family: var(--display); font-weight: 400; font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  color: var(--paper); text-shadow: 0 3px 0 var(--cherry-dark), 0 6px 12px rgba(0,0,0,.35);
  transform: rotate(-1.5deg);
}
.wrap { max-width: 1180px; margin: 0 auto; }
.wrap.narrow { max-width: 720px; }

/* ---------- Punaises ---------- */
.pin {
  position: absolute; z-index: 3;
  top: -16px; left: 50%; margin-left: -19px;
  width: 38px; height: 38px;
  filter: drop-shadow(3px 5px 2px rgba(40,20,0,.45));
  pointer-events: none;
}
.pin svg { width: 100%; height: 100%; }
.pc0 { color: var(--cherry); }
.pc1 { color: var(--teal); }
.pc2 { color: var(--mustard); }
.pc3 { color: var(--bubble); }
.pc4 { color: #7b57c9; }

/* Scheef hangen: vaste stand per product (r0..r7) */
.r0 { --r: -3deg; } .r1 { --r: 2deg; } .r2 { --r: -1.5deg; } .r3 { --r: 2.8deg; }
.r4 { --r: -2.4deg; } .r5 { --r: 1deg; } .r6 { --r: -.6deg; } .r7 { --r: 2.2deg; }

/* ---------- Prikbord-raster ---------- */
.board-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(232px, 1fr));
  gap: 54px 36px;
  align-items: start;
  max-width: 1320px; margin: 0 auto;
}
@media (max-width: 560px) {
  .board-grid { grid-template-columns: 1fr 1fr; gap: 40px 16px; }
}

/* ---------- Sticky note ---------- */
.note { position: relative; transform: rotate(var(--r, 0deg)); }
.note:nth-child(3n+2) { margin-top: 18px; }
.note:nth-child(4n) { margin-top: -6px; }
.note-link {
  position: relative; display: flex; flex-direction: column; gap: 8px;
  padding: 26px 16px 18px;
  color: var(--pencil); text-decoration: none;
  background-color: var(--nc, var(--citroen));
  background-image:
    linear-gradient(180deg, rgba(255,255,255,.35), rgba(255,255,255,0) 18%),
    linear-gradient(135deg, transparent 88%, rgba(0,0,0,.06) 88%);
  box-shadow: 0 1px 1px rgba(0,0,0,.12), 0 16px 18px -10px rgba(55,25,0,.6), 0 3px 6px rgba(55,25,0,.15);
  transition: transform .22s cubic-bezier(.3,1.4,.5,1), box-shadow .22s ease;
}
/* omgekruld hoekje rechtsonder */
.note-link::after {
  content: ''; position: absolute; right: 0; bottom: 0; width: 26px; height: 26px;
  background: linear-gradient(315deg, var(--cork) 0 46%, rgba(0,0,0,.18) 50%, rgba(255,255,255,.55) 56%, var(--nc, var(--citroen)) 75%);
  border-top-left-radius: 4px;
  box-shadow: -2px -2px 4px rgba(0,0,0,.08);
}
.note-link:hover, .note-link:focus-visible {
  transform: rotate(calc(var(--r, 0deg) * -1)) translateY(-6px) scale(1.03);
  box-shadow: 0 1px 1px rgba(0,0,0,.12), 0 28px 26px -12px rgba(55,25,0,.55), 0 6px 10px rgba(55,25,0,.18);
}
.c-citroen  { --nc: var(--citroen); }
.c-kauwgom  { --nc: var(--kauwgom); }
.c-mint     { --nc: var(--mint); }
.c-lucht    { --nc: var(--lucht); }
.c-lila     { --nc: var(--lila); }
.c-mandarijn{ --nc: var(--mandarijn); }

.polaroid {
  display: block; background: #fff; padding: 7px 7px 22px;
  box-shadow: 0 2px 4px rgba(0,0,0,.18);
  transform: rotate(calc(var(--r, 0deg) * -.6));
}
.polaroid img { width: 100%; aspect-ratio: 1; object-fit: cover; background: #eee; }
.no-photo { display: grid; place-items: center; aspect-ratio: 1; background: rgba(255,255,255,.5); }
.no-photo .sticker { width: 55%; }

.note-title {
  overflow-wrap: break-word; hyphens: auto;
  font-family: var(--hand); font-size: 1.45rem; line-height: 1.1; color: var(--ink);
  margin-top: 4px;
}
.note-desc { font-family: var(--hand); font-size: 1.08rem; line-height: 1.22; color: var(--pencil-soft); }
.note-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 4px; }
.price {
  font-family: var(--hand); font-size: 1.55rem; color: var(--ink); white-space: nowrap;
  padding: 2px 14px 4px;
  background: url('/img/circle.svg') no-repeat center / 100% 100%;
}
.left { font-family: var(--hand); font-size: 1.05rem; color: var(--cherry-dark); transform: rotate(-3deg); }
.left.out { color: var(--pencil-soft); }

/* stempel */
.stamp {
  position: absolute; z-index: 2; top: 12px; right: -10px;
  font-family: var(--display); font-size: .95rem; line-height: 1;
  color: var(--cherry); border: 2.5px solid currentColor; border-radius: 6px;
  padding: 5px 9px 4px; background: rgba(255,255,255,.55);
  transform: rotate(12deg);
  box-shadow: 0 2px 0 rgba(0,0,0,.08);
}
.s-bijna { color: #d66a00; }
.s-uniek { color: #7b57c9; }
.s-favoriet { color: var(--bubble); }
.s-sale { color: #fff; background: var(--cherry); border-color: var(--cherry-dark); }
.s-out { color: var(--ink); top: 38%; left: 8%; right: auto; font-size: 1.25rem; transform: rotate(-14deg); background: rgba(255,255,255,.8); }
.note.is-out .polaroid img { filter: grayscale(.7) contrast(.9); opacity: .8; }

/* mini-notes (meer van dit) */
.note.mini .note-link { padding: 20px 12px 14px; }
.note.mini .note-title { font-size: 1.2rem; }
.note.mini .price { font-size: 1.3rem; }
.note.mini .stamp { font-size: .8rem; }

/* één keer, bij binnenkomst: de briefjes worden opgeprikt */
@media (prefers-reduced-motion: no-preference) {
  .board-grid > .note, .board-grid > .card { animation: pin-up .55s cubic-bezier(.25,1.5,.5,1) backwards; }
  .board-grid > :nth-child(2) { animation-delay: .05s; }
  .board-grid > :nth-child(3) { animation-delay: .1s; }
  .board-grid > :nth-child(4) { animation-delay: .15s; }
  .board-grid > :nth-child(5) { animation-delay: .2s; }
  .board-grid > :nth-child(6) { animation-delay: .25s; }
  .board-grid > :nth-child(7) { animation-delay: .3s; }
  .board-grid > :nth-child(8) { animation-delay: .35s; }
  .board-grid > :nth-child(9) { animation-delay: .4s; }
  .board-grid > :nth-child(n+10) { animation-delay: .45s; }
  @keyframes pin-up {
    from { opacity: 0; transform: translateY(-26px) rotate(calc(var(--r, 0deg) * 3)) scale(1.06); }
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- Systeemkaartje (intro, lege staten) ---------- */
.card {
  position: relative;
  background-color: var(--paper);
  background-image:
    linear-gradient(90deg, transparent 38px, rgba(227,64,76,.45) 38px 40px, transparent 40px),
    repeating-linear-gradient(180deg, transparent 0 31px, rgba(19,128,125,.22) 31px 32px);
  background-position: 0 0, 0 52px;
  padding: 26px 22px 22px 54px;
  box-shadow: 0 14px 18px -10px rgba(55,25,0,.55), 0 2px 4px rgba(0,0,0,.12);
  transform: rotate(var(--r, 0deg));
}
.card h1, .card h2 {
  font-family: var(--display); font-weight: 400; color: var(--cherry);
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
}
.card.intro { grid-column: span 2; }
.card.intro .hand { font-size: 1.35rem; max-width: 34ch; }
@media (max-width: 560px) { .card.intro { grid-column: 1 / -1; } }
.card.empty { grid-column: 1 / -1; max-width: 560px; justify-self: center; text-align: left; }
.err-code { font-family: var(--display); font-size: 4rem; color: var(--mustard); margin: 0; line-height: 1; }
.empty-cart { max-width: 560px; margin: 30px auto; }

.sort { display: flex; align-items: center; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.sort label { font-family: var(--hand); font-size: 1.15rem; }
.sort select {
  border: 2px solid rgba(55,50,47,.25); border-radius: 999px; padding: 6px 34px 6px 14px; background: #fff;
  appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2337322f' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center; background-size: 16px;
}

/* losse stickers tussen de briefjes */
.deco { display: grid; place-items: center; align-self: center; pointer-events: none; }
.deco .sticker { width: clamp(80px, 9vw, 120px); filter: drop-shadow(0 5px 4px rgba(50,20,0,.4)); }
.deco.d0 .sticker { transform: rotate(-12deg); }
.deco.d1 .sticker { transform: rotate(9deg) translateY(10px); }
.deco.d2 .sticker { transform: rotate(-4deg) translateX(-14px); }
.deco.d3 .sticker { transform: rotate(14deg); }
.sticker.float { position: absolute; top: -26px; right: -18px; width: 86px; transform: rotate(12deg); filter: drop-shadow(0 4px 3px rgba(50,20,0,.35)); z-index: 4; }
.sticker.mini { width: 30px; height: 30px; }

/* ---------- Knoppen ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--ui); font-weight: 600; font-size: 1.05rem;
  color: #fff; background: var(--cherry); text-decoration: none;
  border: 0; border-radius: 999px; padding: 11px 22px;
  box-shadow: 0 4px 0 var(--cherry-dark);
  cursor: pointer; transition: transform .1s ease, box-shadow .1s ease, background .15s;
}
.btn:hover { background: #f0505b; }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--cherry-dark); }
.btn.big { font-size: 1.2rem; padding: 14px 28px; }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px rgba(55,50,47,.35); }
.btn[disabled] { opacity: .6; cursor: wait; }
.link-btn { border: 0; background: none; color: var(--cherry-dark); text-decoration: underline; cursor: pointer; padding: 4px 0; font-size: .95rem; }

/* ---------- Productpagina ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; margin: 0 0 24px; font-family: var(--hand); font-size: 1.15rem; }
.crumbs a, .crumbs span { color: #fff8e8; text-shadow: 0 1px 2px rgba(0,0,0,.5); }
.crumbs [aria-current] { opacity: .85; }
.pp { max-width: 1240px; margin: 0 auto; }
.pp-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (max-width: 860px) { .pp-grid { grid-template-columns: 1fr; } }

.scrap {
  position: relative;
  background-color: var(--kraft);
  background-image:
    radial-gradient(rgba(120,80,30,.18) 1px, transparent 1.5px),
    radial-gradient(rgba(255,255,255,.25) 1px, transparent 1.5px);
  background-size: 7px 7px, 11px 11px;
  padding: clamp(20px, 3vw, 36px);
  box-shadow: 0 18px 22px -12px rgba(55,25,0,.6), 0 2px 4px rgba(0,0,0,.15);
  transform: rotate(-1deg);
}
.big-polaroid { position: relative; margin: 0; background: #fff; padding: 14px 14px 52px; box-shadow: 0 6px 12px rgba(0,0,0,.22); transform: rotate(1.6deg); }
.big-polaroid img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.big-polaroid figcaption { position: absolute; left: 18px; right: 18px; bottom: 10px; font-size: 1.5rem; text-align: center; color: var(--pencil); }
.tape-strip { position: absolute; z-index: 2; width: 120px; height: 34px; background: rgba(255,240,124,.78); box-shadow: 0 1px 2px rgba(0,0,0,.12);
  clip-path: polygon(0 10%, 5% 0, 10% 12%, 100% 0, 96% 50%, 100% 100%, 92% 90%, 0 100%, 4% 50%); }
.ts1 { top: -14px; left: -26px; transform: rotate(-32deg); }
.ts2 { top: -14px; right: -26px; transform: rotate(30deg); background: rgba(255,196,218,.82); }
.thumbs { list-style: none; margin: 22px 0 0; padding: 0; display: flex; gap: 14px; flex-wrap: wrap; }
.thumb { display: block; border: 0; padding: 5px 5px 14px; background: #fff; cursor: pointer; box-shadow: 0 3px 6px rgba(0,0,0,.2); transform: rotate(var(--r)); transition: transform .15s ease; }
.thumb img { width: 74px; height: 74px; object-fit: cover; }
.thumb:hover, .thumb.on { transform: rotate(0) translateY(-4px); }
.thumb.on { outline: 3px solid var(--cherry); outline-offset: 2px; }
.scrap-sticker { position: absolute; right: -24px; bottom: -28px; width: 110px; transform: rotate(-10deg); filter: drop-shadow(0 5px 4px rgba(50,20,0,.4)); }

.paper {
  position: relative;
  background-color: var(--nc, var(--citroen));
  background-image: linear-gradient(180deg, rgba(255,255,255,.4), rgba(255,255,255,0) 14%);
  padding: clamp(28px, 3vw, 40px) clamp(20px, 3vw, 34px) clamp(22px, 3vw, 30px);
  box-shadow: 0 18px 22px -12px rgba(55,25,0,.6), 0 2px 4px rgba(0,0,0,.12);
  transform: rotate(var(--r, .6deg));
}
.paper h1 { font-family: var(--display); font-weight: 400; font-size: clamp(1.7rem, 2.9vw, 2.45rem); color: var(--ink); margin-right: 70px; overflow-wrap: break-word; hyphens: auto; }
.paper h2 { font-family: var(--display); font-weight: 400; font-size: 1.5rem; color: var(--ink); margin-top: 1em; }
.paper .stamp { top: 22px; right: 16px; font-size: 1.05rem; }
.lined {
  font-family: var(--hand); font-size: 1.32rem; line-height: 2rem; color: var(--pencil);
  background-image: repeating-linear-gradient(180deg, transparent 0 calc(2rem - 1px), rgba(19,80,120,.22) calc(2rem - 1px) 2rem);
  background-position: 0 -4px;
  margin: 8px 0 18px;
}
.lined p { margin: 0 0 2rem; }
.lined .sig { margin: 0; color: var(--cherry-dark); }
.buy-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 18px; }
.tag-price {
  position: relative; display: inline-block;
  font-family: var(--display); font-size: 1.8rem; color: #fff;
  background: var(--teal);
  padding: 10px 24px 10px 40px;
  clip-path: polygon(18px 0, 100% 0, 100% 100%, 18px 100%, 0 50%);
  transform: rotate(-3deg);
  filter: drop-shadow(0 3px 0 rgba(0,0,0,.2));
}
.tag-price::before { content: ''; position: absolute; left: 16px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: var(--nc, var(--citroen)); box-shadow: inset 0 1px 2px rgba(0,0,0,.4); }
.stock-note { font-family: var(--hand); font-size: 1.25rem; color: var(--pencil); }
.stock-note.out { color: var(--cherry-dark); }
.sold { color: var(--cherry-dark); }
.add { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.add > label { font-family: var(--hand); font-size: 1.2rem; }
.qty { display: inline-flex; align-items: center; background: #fff; border-radius: 999px; box-shadow: inset 0 0 0 2px rgba(55,50,47,.25); }
.qty button { width: 40px; height: 44px; border: 0; background: none; font-size: 1.4rem; cursor: pointer; border-radius: 999px; }
.qty button:hover { background: rgba(0,0,0,.06); }
.qty input { width: 48px; border: 0; text-align: center; font-weight: 600; background: none; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button, .qty input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.hint { margin: 14px 0 0; font-size: .95rem; color: var(--pencil-soft); }

.flip { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 30px 0; }
.flip-btn {
  display: flex; align-items: center; gap: 8px; text-decoration: none;
  background: var(--paper); color: var(--ink); padding: 12px 14px;
  box-shadow: 0 8px 12px -8px rgba(55,25,0,.6);
  font-family: var(--hand); font-size: 1.15rem; line-height: 1.1;
  transition: transform .15s ease;
}
.flip-btn small { display: block; font-family: var(--ui); font-size: .8rem; color: var(--pencil-soft); margin-bottom: 2px; }
.flip-btn.prev { transform: rotate(-1.5deg); }
.flip-btn.next { grid-column: 2; justify-content: flex-end; text-align: right; transform: rotate(1.5deg); }
.flip-btn:hover { transform: rotate(0) translateY(-3px); }

.card.cats { padding-top: 30px; }
.card.cats h2 { font-size: 1.5rem; margin-bottom: .3em; }
.card.cats ul { list-style: none; margin: 0; padding: 0; }
.card.cats li a { display: flex; align-items: center; gap: 10px; min-height: 32px; color: var(--ink); text-decoration: none; font-family: var(--hand); font-size: 1.2rem; }
.card.cats li a small { margin-left: auto; font-family: var(--ui); font-size: .85rem; color: var(--pencil-soft); }
.card.cats li a:hover span, .card.cats li a.on span { text-decoration: underline wavy var(--cherry); text-underline-offset: 4px; }

.more { margin-top: clamp(48px, 6vw, 80px); }
.more-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 44px 26px; }
@media (max-width: 560px) { .more-row { grid-template-columns: 1fr 1fr; gap: 36px 14px; } }

/* ---------- Mandje: kassabon + bestelbriefje ---------- */
.cart-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (max-width: 900px) { .cart-grid { grid-template-columns: 1fr; } }
.receipt {
  position: relative; background: #fffef9; padding: 28px 26px 40px;
  font-family: 'Courier New', Courier, monospace; color: #2d2a28;
  box-shadow: 0 18px 22px -12px rgba(55,25,0,.6);
  transform: rotate(-.8deg);
  --zig: 12px;
  mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / var(--zig) 100%;
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / var(--zig) 100%;
}
.receipt-head { text-align: center; font-weight: 700; font-size: 1.3rem; letter-spacing: .08em; border-bottom: 2px dashed #bbb; padding-bottom: 14px; }
.receipt-head small { font-weight: 400; font-size: .85rem; letter-spacing: 0; }
.receipt-foot { text-align: center; font-size: .9rem; color: #666; margin: 10px 0 0; }
.lines { list-style: none; margin: 0 0 8px; padding: 0; }
.line-item { display: grid; grid-template-columns: 56px 1fr auto auto auto; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px dashed #ccc; }
.li-photo img { width: 56px; height: 56px; object-fit: cover; border: 3px solid #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.li-main { display: flex; flex-direction: column; min-width: 0; }
.li-main a { color: inherit; font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.li-main a:hover { text-decoration: underline; }
.li-main small { color: #666; }
.li-qty { width: 56px; padding: 6px; border: 1.5px solid #bbb; border-radius: 6px; text-align: center; background: #fff; font-family: inherit; }
.li-total { font-weight: 700; white-space: nowrap; }
.li-rm { width: 32px; height: 32px; border: 0; border-radius: 50%; background: none; cursor: pointer; color: #888; display: grid; place-items: center; }
.li-rm:hover { background: #f3e1e1; color: var(--cherry-dark); }
.lines.small .line-item { grid-template-columns: 48px 1fr auto; font-family: var(--ui); }
.lines.small .li-photo img { width: 48px; height: 48px; }
@media (max-width: 480px) {
  .line-item { grid-template-columns: 48px 1fr auto; grid-template-areas: 'p m r' 'p q t'; }
  .li-photo { grid-area: p; } .li-main { grid-area: m; } .li-rm { grid-area: r; justify-self: end; } .li-qty { grid-area: q; } .li-total { grid-area: t; justify-self: end; }
  .lines.small .line-item { grid-template-areas: none; }
  .lines.small .li-photo, .lines.small .li-main, .lines.small .li-total { grid-area: auto; }
}
.sums { margin: 10px 0 0; }
.sums div { display: flex; justify-content: space-between; padding: 4px 0; }
.sums dt, .sums dd { margin: 0; }
.sums .grand { font-size: 1.25rem; font-weight: 700; border-top: 2px solid #2d2a28; margin-top: 6px; padding-top: 10px; }

.order-form { --r: .8deg; }
.order-form .hand { font-size: 1.2rem; }
.form { display: flex; flex-direction: column; gap: 14px; margin-top: 8px; }
.field { display: flex; flex-direction: column; gap: 4px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field label, .field legend { font-weight: 600; font-size: .98rem; }
.field input, .field textarea, .field select {
  width: 100%; padding: 11px 14px; border-radius: 10px;
  border: 2px solid rgba(55,50,47,.2); background: rgba(255,255,255,.85);
}
.field input:focus, .field textarea:focus { border-color: var(--teal); outline: none; box-shadow: 0 0 0 3px rgba(19,128,125,.2); }
.field-row { display: flex; gap: 12px; }
.field-row .field { flex: 0 0 9em; }
.field-row .field.grow { flex: 1; }
.choice { gap: 8px; }
.radio, .check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; line-height: 1.35; }
.radio input, .check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--cherry); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.errors { background: #fff; border-left: 5px solid var(--cherry); padding: 12px 16px; margin: 8px 0 10px; border-radius: 4px; }
.errors ul { margin: 6px 0 0; padding-left: 1.2em; }

/* ---------- Bestelling + over ons ---------- */
.order-card { --r: -.5deg; }
.order-card .meta { color: var(--pencil-soft); }
.steps { list-style: none; padding: 0; margin: 6px 0 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.steps li span { display: inline-block; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.6); font-weight: 600; font-size: .95rem; color: var(--pencil-soft); }
.steps li.done span { background: var(--mint); color: var(--ink); }
.steps li.now span { background: var(--teal); color: #fff; }
.status-cancel { font-weight: 600; color: var(--cherry-dark); }

.about { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } }
.about .hand.big { font-size: 1.5rem; line-height: 1.45; }
.about-side { display: flex; flex-direction: column; gap: 44px; padding-top: 20px; }

/* ---------- Meldingen ---------- */
.flashes { max-width: 1440px; width: 100%; margin: 6px auto 0; padding: 0 var(--gutter); }
.flash { margin: 0; padding: 10px 18px; border-radius: 999px; background: var(--mint); color: var(--ink); font-weight: 600; display: inline-block; box-shadow: 0 3px 0 rgba(0,0,0,.18); }
.flash.error { background: #ffd2d2; }
.flash.info { background: var(--lucht); }
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 60; transform: translateX(-50%) rotate(-1.5deg);
  background: var(--citroen); color: var(--ink); padding: 12px 22px; font-family: var(--hand); font-size: 1.3rem;
  box-shadow: 0 12px 20px -8px rgba(0,0,0,.5); max-width: calc(100% - 32px);
}
.toast.error { background: #ffd2d2; }
.toast a { color: var(--cherry-dark); margin-left: 8px; }
@media (prefers-reduced-motion: no-preference) {
  .toast:not([hidden]) { animation: toast-in .35s cubic-bezier(.25,1.5,.5,1); }
  @keyframes toast-in { from { opacity: 0; transform: translate(-50%, 20px) rotate(4deg); } }
}

/* ---------- Voet ---------- */
.foot { margin-top: 0; }
.foot-in { max-width: 1440px; margin: 0 auto; padding: 30px var(--gutter) 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; color: #e9f3ee; }
.foot-logo { width: 150px; transform: rotate(-3deg); }
.foot .hand { color: #fff3d6; margin: 0; }
.foot-links { margin: 0 0 0 auto; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot-links a { color: #e9f3ee; }

@media (max-width: 720px) {
  .rail-in { justify-content: center; gap: 12px; padding-top: 12px; }
  .logo img { width: 210px; }
  .search { order: 3; flex-basis: 100%; max-width: none; }
  .menu { margin-left: 0; }
  .menu .cart-label { display: none; }
  .tapes-in { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 10px; scrollbar-width: none; }
  .tapes-in::-webkit-scrollbar { display: none; }
  .tape { flex: none; }
  .note-title { font-size: 1.25rem; }
  .note-desc { display: none; }
  .price { font-size: 1.3rem; padding: 2px 10px 4px; }
  .note-link { padding: 22px 10px 14px; }
  .stamp { right: -6px; font-size: .8rem; }
  .flip { grid-template-columns: 1fr 1fr; }
  .foot-links { margin-left: 0; }
}
