/* =====================================================================
   Spothelder — cards.css (laadt na editorial.css)
   Productkaarten: elke kaart een eigen signatuurkleur (--acc, RGB),
   een formaat-watermerk, een lichtvlek die de cursor volgt en een
   gradiëntrand bij hover. Alleen opmaak; de data komt uit app.js.
   ===================================================================== */

body.home .prods { gap: 14px; }

/* ---------- kaart ---------- */
body.home .prods .catalog-card.xcard,
body.home .prods .catalog-card.xcard:hover {
  --mx: 50%; --my: 0%;
  position: relative; display: flex; flex-direction: column; overflow: hidden; isolation: isolate;
  border: 0; border-radius: 18px; transform: none;
  background:
    radial-gradient(120% 80% at 50% 0%, rgb(var(--acc) / .10), transparent 60%),
    linear-gradient(180deg, #17181c, #121316);
  box-shadow: inset 0 0 0 1px #ffffff0f, 0 20px 40px -28px #000;
  transition: transform .45s cubic-bezier(.2,.7,.2,1), box-shadow .45s cubic-bezier(.2,.7,.2,1);
}
body.home .prods .catalog-card.xcard:hover {
  transform: translateY(-6px);
  box-shadow: inset 0 0 0 1px rgb(var(--acc) / .0), 0 34px 60px -30px rgb(var(--acc) / .55), 0 30px 50px -30px #000;
}
/* gradiëntrand die met de cursor meeloopt */
.xcard::before {
  content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; padding: 1px; pointer-events: none;
  background: radial-gradient(260px circle at var(--mx) var(--my), rgb(var(--acc) / .95), rgb(var(--acc) / .25) 40%, #ffffff14 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0; transition: opacity .35s;
}
/* lichtvlek over het oppervlak */
.xcard::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; border-radius: inherit;
  background: radial-gradient(360px circle at var(--mx) var(--my), rgb(var(--acc) / .14), transparent 60%);
  opacity: 0; transition: opacity .35s;
}
.xcard:hover::before, .xcard:hover::after, .xcard.hv::before, .xcard.hv::after { opacity: 1; }

/* ---------- podium met ontwerpen ---------- */
body.home .prods .catalog-card.xcard:not(.prod--custom) .prod__vis {
  position: relative; z-index: 1; display: block; width: 100%;
  height: clamp(170px, 11.5vw, 240px); margin: 0; padding: 0; border: 0; cursor: zoom-in;
  border-radius: 0 !important; overflow: hidden;
  background:
    radial-gradient(70% 90% at 50% 100%, rgb(var(--acc) / .30), transparent 70%),
    radial-gradient(circle at 1px 1px, #ffffff10 1px, transparent 0) 0 0 / 16px 16px,
    #101114 !important;
}
.xcard__mark {
  position: absolute; z-index: 0; left: 12px; bottom: -.18em; transform: none;
  font: 800 clamp(70px, 6vw, 128px)/.8 "Bricolage Grotesque", var(--font); letter-spacing: -0.06em; white-space: nowrap;
  color: rgb(var(--acc) / .07); -webkit-text-stroke: 1.2px rgb(var(--acc) / .38);
  transition: transform .6s cubic-bezier(.2,.7,.2,1), -webkit-text-stroke-color .4s;
}
.xcard:hover .xcard__mark { transform: translateY(-6px); color: rgb(var(--acc) / .14); -webkit-text-stroke-color: rgb(var(--acc) / .7); }
body.home .xcard .prod__vis .pv { z-index: 1; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
body.home .xcard:hover .prod__vis .pv { transform: translateX(-50%) scale(.93) translateY(-4px); }
.xcard .prod__vis .pv__f { box-shadow: 0 18px 30px -12px #000d, 0 2px 6px #0007; }

.xcard__eta, .xcard__best {
  position: absolute; z-index: 2; top: 12px; display: inline-flex; align-items: center; gap: 7px;
  height: 26px; padding: 0 10px; border-radius: 999px; font: 600 11.5px/1 var(--font); white-space: nowrap;
}
.xcard__eta { left: 12px; background: #0b0c0ecc; color: #d7d9df; box-shadow: inset 0 0 0 1px #ffffff14; backdrop-filter: blur(8px); }
.xcard__eta i { width: 7px; height: 7px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 0 #3ddc8499; animation: xcardPulse 2.2s infinite; }
@keyframes xcardPulse { 70% { box-shadow: 0 0 0 7px #3ddc8400; } 100% { box-shadow: 0 0 0 0 #3ddc8400; } }
.xcard__best { right: 12px; background: rgb(var(--acc)); color: #111; font-weight: 750; box-shadow: 0 6px 18px -6px rgb(var(--acc) / .8); }

/* ---------- tekst ---------- */
body.home .xcard .prod__body { position: relative; z-index: 1; display: flex; flex-direction: column; flex: 1; padding: 16px 18px 18px; background: none; }
.xcard__cat { margin: 0 0 6px; font: 650 11px/1 var(--font); letter-spacing: .12em; text-transform: uppercase; color: rgb(var(--acc)); }
body.home .xcard .prod__name { margin: 0; font-size: clamp(19px, 1.2vw, 27px); font-weight: 650; letter-spacing: -0.035em; line-height: 1.1; color: #f5f6fa; }
body.home .xcard .prod__name a { color: inherit; text-decoration: none; }
body.home .xcard .prod__name a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.xcard__desc { margin: 6px 0 0; font-size: clamp(13px, .78vw, 15.5px); line-height: 1.4; color: #a3a6b0; }
.xcard__chips { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 5px; }
.xcard__chips li { font: 550 11.5px/1 var(--font); padding: 6px 8px; border-radius: 7px; background: #ffffff0b; color: #c9cbd3; box-shadow: inset 0 0 0 1px #ffffff0d; }

body.home .xcard .prod__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 16px; border: 0; }
body.home .xcard .prod__price { display: flex; flex-direction: column; margin: 0; font-size: clamp(26px, 1.7vw, 38px); font-weight: 700; letter-spacing: -0.05em; line-height: 1; color: #fff; }
body.home .xcard .prod__price small { margin: 0 0 4px; font-size: 11px; font-weight: 500; letter-spacing: 0; color: #8c8f99; }
body.home .prods .catalog-card.xcard a.prod__btn,
body.home .prods .catalog-card.xcard:hover a.prod__btn {
  position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 8px;
  height: 42px; min-height: 42px; padding: 0 14px 0 16px; border: 0; border-radius: 999px;
  background: #f2f3f7; color: #111217; font: 650 13.5px/1 var(--font); text-decoration: none;
  box-shadow: none; transform: none; transition: background-color .25s, color .25s, padding .3s cubic-bezier(.2,.7,.2,1);
}
body.home .prods .catalog-card.xcard:hover a.prod__btn { background: rgb(var(--acc)); color: #111; padding-right: 18px; box-shadow: 0 8px 22px -8px rgb(var(--acc) / .9); }
body.home .prods .catalog-card.xcard a.prod__btn svg { width: 16px; height: 16px; transition: transform .3s cubic-bezier(.2,.7,.2,1); }
body.home .prods .catalog-card.xcard:hover a.prod__btn svg { transform: translateX(3px); }

/* bestseller: altijd een zachte rand in de eigen kleur */
body.home .prods .catalog-card.xcard.is-best { box-shadow: inset 0 0 0 1px rgb(var(--acc) / .45), 0 20px 50px -30px rgb(var(--acc) / .6); }

/* ---------- Stel zelf samen: brede kaart ---------- */
body.home .prods .catalog-card.xcard.prod--custom,
body.home .prods .catalog-card.xcard.prod--custom:hover {
  grid-column: 1 / -1; display: grid; grid-template-columns: 200px minmax(0, 1fr); align-items: center;
  margin-top: 2px; border-radius: 18px;
  background: radial-gradient(60% 140% at 0% 50%, rgb(var(--acc) / .16), transparent 70%), #141519;
  box-shadow: inset 0 0 0 1px #ffffff0f;
}
body.home .prods .catalog-card.xcard.prod--custom:hover { transform: translateY(-3px); }
body.home .prods .catalog-card.xcard.prod--custom .prod__vis { position: relative; height: 104px; min-height: 0; background: none !important; }
body.home .prods .catalog-card.xcard.prod--custom .prod__vis .pv { max-width: 150px; }
.xcard.prod--custom .xcard__mark { display: none; font-size: 110px; -webkit-text-stroke-color: rgb(var(--acc) / .35); }
.xcard.prod--custom .xcard__eta { display: none; }
body.home .xcard.prod--custom .prod__body { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: 28px; align-items: center; padding: 16px 22px 16px 0; }
body.home .xcard.prod--custom .xcard__cat { grid-column: 1; grid-row: 1; }
body.home .xcard.prod--custom .prod__name { grid-column: 1; grid-row: 2; font-size: 22px; }
body.home .xcard.prod--custom .xcard__desc { grid-column: 2; grid-row: 1; margin: 0; }
body.home .xcard.prod--custom .xcard__chips { grid-column: 2; grid-row: 2; margin: 6px 0 0; }
body.home .xcard.prod--custom .prod__foot { grid-column: 3; grid-row: 1 / 3; margin: 0; padding: 0; gap: 20px; align-items: center; }

/* ---------- responsief ---------- */
@media (max-width: 1280px) { body.home .prods { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  body.home .prods { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  body.home .prods .catalog-card.xcard:not(.prod--custom) .prod__vis { height: 150px; }
  .xcard__mark { font-size: 64px; }
  .xcard__desc, .xcard__chips li:nth-child(n+3) { display: none; }
  body.home .xcard .prod__body { padding: 12px 12px 14px; }
  body.home .xcard .prod__foot { flex-direction: column; align-items: stretch; gap: 10px; }
  body.home .prods .catalog-card.xcard a.prod__btn { justify-content: center; }
  .xcard__best { top: auto; bottom: 10px; right: 10px; }
  body.home .prods .catalog-card.xcard.prod--custom { grid-template-columns: 110px minmax(0, 1fr); }
  body.home .xcard.prod--custom .prod__body { grid-template-columns: 1fr; padding: 14px 14px 14px 0; }
  body.home .xcard.prod--custom .xcard__desc, body.home .xcard.prod--custom .xcard__chips { grid-column: 1; grid-row: auto; }
  body.home .xcard.prod--custom .prod__foot { grid-column: 1; grid-row: auto; margin-top: 10px; }
}
@media (prefers-reduced-motion: reduce) { .xcard, .xcard * { animation: none !important; transition: none !important; } }

/* ---------- /shop: winkelpagina ---------- */
body.sh-shop .shop-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: end; padding-top: 44px; padding-bottom: 8px; }
.shop-hero__kick { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; font: 550 13px/1 var(--font); color: #aeb2bd; }
.shop-hero__kick span { width: 7px; height: 7px; border-radius: 50%; background: #5b7cff; box-shadow: 0 0 12px #5b7cff; }
body.sh-shop .shop-hero h1 { margin: 0; font-size: clamp(44px, 4.4vw, 84px); font-weight: 650; letter-spacing: -0.055em; line-height: .95; color: #f5f6fa; }
.shop-hero__lead { margin: 18px 0 0; max-width: 52ch; font-size: 17px; line-height: 1.55; color: #a3a6b0; }
.shop-hero__usp { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.shop-hero__usp li { display: flex; flex-direction: column; gap: 3px; padding: 16px 18px; border-radius: 14px; background: #16171b; box-shadow: inset 0 0 0 1px #ffffff0d; }
.shop-hero__usp b { font-size: 15px; font-weight: 650; color: #f2f3f7; }
.shop-hero__usp span { font-size: 13px; color: #8f929c; }

body.sh-shop .shop-list { padding-top: 34px; }
.shop-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.shop-filter { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: #15161a; box-shadow: inset 0 0 0 1px #ffffff0f; }
.shop-filter button { height: 40px; padding: 0 18px; border: 0; border-radius: 999px; background: none; color: #b7bac4; font: 600 14px/1 var(--font); cursor: pointer; }
.shop-filter button:hover { color: #fff; }
.shop-filter button[aria-selected="true"] { background: #f2f3f7; color: #111217; }
.shop-bar__note { margin: 0; font-size: 13.5px; color: #8f929c; }

body.sh-shop .prods { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
body.sh-shop .prods .catalog-card.xcard:not(.prod--custom) .prod__vis { height: clamp(240px, 17vw, 340px); }
body.sh-shop .xcard .prod__vis .pv { max-width: min(26vw, 460px) !important; }
body.sh-shop .xcard__mark { font-size: clamp(90px, 8vw, 170px); }
body.sh-shop .xcard .prod__body { padding: 20px 22px 22px; }
body.sh-shop .xcard .prod__name { font-size: clamp(22px, 1.5vw, 30px); }
body.sh-shop .xcard__desc { font-size: 15px; }
body.sh-shop .xcard[hidden] { display: none !important; }

.shop-help__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 30px 34px; border-radius: 20px; background: radial-gradient(80% 160% at 100% 50%, #3350d633, transparent 70%), #141519; box-shadow: inset 0 0 0 1px #ffffff0f; }
body.sh-shop .shop-help h2 { margin: 0; font-size: clamp(24px, 1.8vw, 34px); font-weight: 600; letter-spacing: -0.04em; color: #f5f6fa; }
.shop-help p { margin: 6px 0 0; color: #a3a6b0; }
.shop-help__btns { display: flex; gap: 10px; flex: none; }
.shop-help__primary, .shop-help__line { display: inline-flex; align-items: center; height: 48px; padding: 0 22px; border-radius: 999px; font: 650 15px/1 var(--font); text-decoration: none; }
.shop-help__primary { background: #4867f2; color: #fff; }
.shop-help__primary:hover { background: #5c79ff; }
.shop-help__line { color: #e6e7ec; box-shadow: inset 0 0 0 1px #ffffff26; }
.shop-help__line:hover { box-shadow: inset 0 0 0 1px #ffffff66; }

@media (max-width: 1100px) { body.sh-shop .prods { grid-template-columns: repeat(2, minmax(0, 1fr)); } body.sh-shop .shop-hero { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  body.sh-shop .prods { grid-template-columns: 1fr; }
  .shop-bar { flex-direction: column; align-items: stretch; }
  .shop-filter { overflow-x: auto; }
  .shop-filter button { flex: none; padding: 0 14px; }
  .shop-hero__usp { grid-template-columns: 1fr 1fr; }
  .shop-help__in { flex-direction: column; align-items: flex-start; padding: 24px; }
  body.sh-shop .xcard .prod__vis .pv { max-width: 80vw !important; }
  body.sh-shop .xcard__desc, body.sh-shop .xcard__chips li { display: block; }
}
body.sh-shop .shop-filter button[aria-selected="false"] { background: none !important; color: #b7bac4 !important; box-shadow: none !important; }
body.sh-shop .shop-filter button[aria-selected="false"]:hover { color: #fff !important; }
body.sh-shop .shop-filter button[aria-selected="true"] { background: #f2f3f7 !important; color: #111217 !important; }
