/* GGN Veiling: public site */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-title); font-weight: 600; line-height: 1.1; margin: 0; letter-spacing: -.01em; }
:focus-visible { outline: 2px solid var(--ggn-navy); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(1280px, 100% - 48px); margin-inline: auto; }
@media (max-width: 640px) { .wrap { width: calc(100% - 32px); } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--font-body); font-weight: 600; font-size: 15px;
  padding: .8em 1.25em; border-radius: var(--radius-btn);
  border: 1.5px solid transparent; text-decoration: none; white-space: nowrap;
  transition: transform .2s var(--ease-out), background .2s, box-shadow .2s, color .2s, border-color .2s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:active { transform: scale(.97); }
.btn-cta { background: var(--ggn-orange); color: #fff; }
.btn-cta:hover { background: var(--ggn-orange-hover); }
.btn-cta .arrow { transition: transform .25s var(--ease-out); }
.btn-cta:hover .arrow { transform: translateX(4px); }
.btn-navy { background: var(--ggn-navy); color: #fff; }
.btn-navy:hover { background: var(--ggn-navy-90); }
.btn-ghost { background: transparent; border-color: rgba(1, 18, 70, .2); color: var(--ink); border-width: 1px; }
.btn-ghost:hover { border-color: var(--ggn-navy); background: var(--ggn-blue-50); }
.btn-soft { background: var(--ggn-blue); color: var(--ink); }
.btn-soft:hover { background: #9DD0F5; }
.btn-soft .arrow, .btn-ghost .arrow { transition: transform .25s var(--ease-out); }
.btn-soft:hover .arrow, .btn-ghost:hover .arrow { transform: translateX(4px); }
.icon-btn {
  display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: var(--radius-btn);
  border: 1px solid rgba(1, 18, 70, .15); background: #fff; position: relative;
  transition: background .2s, border-color .2s, transform .2s var(--ease-out);
}
.icon-btn:hover { border-color: var(--ggn-navy); background: var(--ggn-blue-50); }
.icon-btn svg { width: 20px; height: 20px; }
.badge-count {
  position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 10px; background: var(--ggn-orange); color: #fff; font-size: 11px; font-weight: 700;
  display: grid; place-items: center; border: 2px solid #fff;
  transform: scale(0); transition: transform .35s var(--ease-spring);
}
.badge-count.show { transform: scale(1); }
.badge-count:not(.show) { display: none; }
.badge-count.bump { animation: bump .45s var(--ease-spring); }
@keyframes bump { 40% { transform: scale(1.45); } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  /*background: rgba(226, 241, 252, .88);*/
  backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled { background: rgba(255, 255, 255, .9); border-bottom-color: var(--line); box-shadow: 0 2px 8px rgba(1, 18, 70, .06); }
.header-inner { display: flex; align-items: center; gap: 28px; height: 76px; }
.logo { display: flex; align-items: center; flex: none; }
.logo img { height: 34px; width: auto; }
.main-nav { display: flex; gap: 4px; margin-left: 12px; }
.main-nav a {
  text-decoration: none; font-weight: 500; font-size: 15px; padding: 26px 12px 25px;
  color: var(--ink); transition: box-shadow .2s;
}
.main-nav a:hover { box-shadow: inset 0 -3px var(--ggn-navy-20); }
.main-nav a.active { box-shadow: inset 0 -3px var(--ggn-orange); }
.header-actions { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.kbd-search {
  display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 8px 0 14px; min-width: 240px;
  border: 1px solid rgba(1, 18, 70, .15); border-radius: var(--radius-btn); background: rgba(255, 255, 255, .7); color: var(--ink-soft);
  font-size: 14px; transition: border-color .2s, box-shadow .2s;
}
.kbd-search:hover { border-color: var(--ggn-navy-50); box-shadow: var(--shadow-s); }
.kbd-search svg { width: 18px; height: 18px; color: var(--ink); }
.kbd-search kbd { margin-left: auto; }
kbd {
  font-family: var(--font-body); font-size: 11px; font-weight: 600; color: var(--ink-soft);
  background: var(--bg-alt); border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 6px; padding: 2px 6px;
}
.menu-toggle { display: none; }
@media (max-width: 980px) {
  .main-nav { display: none; }
  .kbd-search { min-width: 0; width: 42px; padding: 0; justify-content: center; }
  .kbd-search span, .kbd-search kbd { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: 48px 0 150px; overflow: hidden; background: var(--ggn-blue-50); }
.hero-grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 36px; align-items: center; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; color: var(--ggn-orange);
  margin-bottom: 22px;
}
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ggn-orange); position: relative; }
.live-dot::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--ggn-orange); animation: ping 1.8s var(--ease-out) infinite; }
@keyframes ping { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.hero h1 { font-size: clamp(32px, 4.2vw, 58px); font-weight: 500; }
.hero h1 .pill-title { padding: .22em .6em .3em; }
.hero h1 .pill-title { animation: rise .9s var(--ease-out) both; }
.hero h1 .pill-title:nth-child(2) { animation-delay: .12s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px) scale(.97); } }
.hero-lead { font-size: 19px; color: var(--ink-soft); max-width: 34ch; margin: 26px 0 30px; animation: rise .9s .25s var(--ease-out) both; }

.hero-search {
  display: flex; align-items: center; gap: 8px; max-width: 560px;
  background: #fff; border-radius: var(--radius-btn); padding: 6px 6px 6px 18px;
  box-shadow: var(--shadow-s); border: 1px solid rgba(1, 18, 70, .12);
  animation: rise .9s .35s var(--ease-out) both;
  transition: box-shadow .3s, border-color .3s;
}
.hero-search:focus-within { border-color: var(--ggn-navy); box-shadow: 0 0 0 3px var(--ggn-blue); }
.hero-search svg { width: 22px; height: 22px; flex: none; }
.hero-search input { flex: 1; border: 0; outline: 0; font: inherit; font-size: 17px; color: var(--ink); background: transparent; min-width: 0; }
.hero-search input::placeholder { color: var(--ggn-navy-50); }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; animation: rise .9s .45s var(--ease-out) both; }
.hero-chips button {
  border: 0; background: var(--ggn-blue-50); color: var(--ink); font-size: 14px; font-weight: 500;
  padding: 7px 14px; border-radius: var(--radius-pill); transition: background .2s, transform .2s var(--ease-out);
}
.hero-chips button:hover { background: var(--ggn-blue); transform: translateY(-2px); }

.hero-stats { display: flex; gap: 36px; margin-top: 40px; animation: rise .9s .55s var(--ease-out) both; }
.hero-stats .num { font-family: var(--font-title); font-weight: 600; font-size: 34px; line-height: 1; }
.hero-stats .lbl { font-size: 14px; color: var(--ink-soft); margin-top: 6px; }

/* Hero visual: next sale in the GGN motif, at its own ratio. The likes card floats on the top-left corner. The next-sale card
   overlaps the bottom of the motif (the percentages follow its width, so they stay below the art at any size) and still takes
   up real height, so it never reaches the quick-access panel. */
.hero-visual { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; }
.hero-visual .blob-photo { display: block; width: 100%; height: auto; }
.ellipses-deco { position: absolute; height: auto; pointer-events: none; }
.ellipses-deco ellipse { fill: none; stroke: var(--ggn-navy); stroke-width: 1.3; vector-effect: non-scaling-stroke; }
/* The outline draws itself on arrival and then makes way: the finished picture is the clean silhouette, as in the brand example */
.hero-visual .ellipses-deco { left: 0; top: 0; width: 100%; overflow: visible; opacity: .3; animation: outlineOut 1s 3.2s ease forwards; }
@keyframes outlineOut { to { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .hero-visual .ellipses-deco { opacity: 0; animation: none; } }
/* The dash is just over one oval's perimeter (in viewBox units, hence no non-scaling stroke here) */
.hero-visual .ellipses-deco ellipse { vector-effect: none; stroke-width: 2; stroke-dasharray: 1230; animation: draw 2.4s .3s var(--ease-out) both; }
.hero-visual .ellipses-deco ellipse:nth-child(2) { animation-delay: .5s; }
.hero-visual .ellipses-deco ellipse:nth-child(3) { animation-delay: .7s; }
@keyframes draw { from { stroke-dashoffset: 1230; } }
.float-card {
  position: relative; background: rgba(255, 255, 255, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-radius: var(--radius-m); box-shadow: var(--shadow-l); padding: 16px 18px; border: 1px solid rgba(255, 255, 255, .8);
  animation: floaty 6s ease-in-out infinite;
}
@keyframes floaty { 50% { transform: translateY(-6px); } }
.float-next {
  grid-row: 2; justify-self: end; width: min(480px, 100%); margin-top: -8.6%; padding: 14px 16px; text-decoration: none; transition: box-shadow .3s;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 18px; align-items: center;
}
.float-next .countdown { grid-column: 2; grid-row: 1 / span 3; }
/* Room to spare: the motif runs on past the column; the card stays on the page's right edge */
@media (min-width: 1400px) { .hero-visual { margin-right: -40px; } .float-next { margin-right: 40px; } }
@media (min-width: 981px) and (max-width: 1240px) { .hero-search .btn .arrow { display: none; } }
.float-next:hover { box-shadow: 0 30px 70px rgba(1, 18, 70, .25); }
.float-next .lbl { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ggn-orange); }
.float-next .ttl { font-family: var(--font-title); font-weight: 600; font-size: 18px; line-height: 1.25; margin: 2px 0 4px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.countdown { display: flex; gap: 6px; }
.countdown .seg { background: var(--ggn-navy); color: #fff; border-radius: 10px; padding: 6px 8px; min-width: 50px; text-align: center; }
.countdown .seg b { display: block; font-family: var(--font-title); font-size: 20px; line-height: 1; font-variant-numeric: tabular-nums; }
.countdown .seg small { font-size: 10px; opacity: .7; text-transform: uppercase; letter-spacing: .05em; }
.float-likes { position: absolute; left: 0; top: 0; margin-top: 1.2%; white-space: nowrap; padding: 12px 14px; display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px; animation-delay: -3s; }
.float-likes .heart { width: 34px; height: 34px; border-radius: 50%; background: var(--ggn-peach); display: grid; place-items: center; color: var(--ggn-orange); }
.float-likes .heart svg { width: 18px; height: 18px; }
@media (max-width: 980px) {
  .hero { padding-top: 28px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
}

/* ---------- Section headings ---------- */
.section { padding: 72px 0; position: relative; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 44px); }
.section-head p { margin: 10px 0 0; color: var(--ink-soft); max-width: 60ch; }
.kicker { font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ggn-orange); margin-bottom: 10px; display: block; }

/* ---------- "Binnenkort" rail ---------- */
.rail-wrap { position: relative; }
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 1fr); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 2px 24px; scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
@media (min-width: 1100px) { .rail { grid-auto-columns: calc((100% - 60px) / 4); } }
.rail-nav { display: flex; gap: 8px; }

/* ---------- Browser / toolbar ---------- */
.browser { background: var(--bg-alt); border-top: 1px solid var(--line); }
.toolbar {
  position: sticky; top: 76px; z-index: 30; margin: 0 -12px 22px; padding: 12px;
  border-radius: var(--radius-l); transition: background .3s, box-shadow .3s;
}
.toolbar.stuck { background: rgba(255, 255, 255, .9); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: var(--shadow-m); }
.toolbar-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.search-field {
  flex: 1 1 320px; display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 16px;
  background: #fff; border: 1px solid rgba(1, 18, 70, .15); border-radius: var(--radius-btn); transition: border-color .2s, box-shadow .2s;
}
.search-field:focus-within { border-color: var(--ggn-navy); box-shadow: 0 0 0 4px var(--ggn-blue-50); }
.search-field svg { width: 20px; height: 20px; flex: none; }
.search-field input { flex: 1; border: 0; outline: 0; font: inherit; color: var(--ink); background: transparent; min-width: 0; }
.search-field .clear { border: 0; background: var(--bg-alt); border-radius: 50%; width: 26px; height: 26px; display: none; place-items: center; }
.search-field .clear svg { width: 14px; height: 14px; }
.search-field.has-value .clear { display: grid; }
.select {
  height: 50px; padding: 0 40px 0 16px; border-radius: var(--radius-btn); border: 1px solid rgba(1, 18, 70, .15); background: #fff;
  font: inherit; font-size: 15px; color: var(--ink); appearance: none; -webkit-appearance: none;
  background-image: url("assets/chevron.svg");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
.select:hover { border-color: var(--ggn-navy-50); }
.segmented { display: inline-flex; background: #fff; border: 1px solid rgba(1, 18, 70, .15); border-radius: var(--radius-btn); padding: 4px; position: relative; height: 50px; }
.segmented button {
  position: relative; z-index: 1; border: 0; background: transparent; display: inline-flex; align-items: center; gap: 7px;
  padding: 0 14px; border-radius: 6px; font-weight: 600; font-size: 14px; color: var(--ink-soft); transition: color .25s;
}
.segmented button svg { width: 18px; height: 18px; }
.segmented button[aria-pressed="true"] { color: #fff; }
.segmented .thumb { position: absolute; z-index: 0; top: 4px; bottom: 4px; border-radius: 6px; background: var(--ggn-navy); transition: left .4s var(--ease-out), width .4s var(--ease-out); }
@media (max-width: 760px) { .segmented button span { display: none; } .segmented button { padding: 0 12px; } }
.toggle-fav {
  height: 50px; display: inline-flex; align-items: center; gap: 8px; padding: 0 16px; border-radius: var(--radius-btn);
  border: 1px solid rgba(1, 18, 70, .15); background: #fff; font-weight: 600; font-size: 14px; transition: all .2s;
}
.toggle-fav svg { width: 18px; height: 18px; }
.toggle-fav[aria-pressed="true"] { background: var(--ggn-peach); border-color: var(--ggn-orange); color: var(--ggn-orange-hover); }
.toggle-fav[aria-pressed="true"] svg { fill: currentColor; }

.cat-chips { display: flex; gap: 8px; margin-top: 12px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.cat-chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid var(--line); background: #fff; color: var(--ink);
  padding: 7px 14px; border-radius: var(--radius-pill); font-weight: 500; font-size: 14px; transition: all .2s var(--ease-out);
}
.chip:hover { border-color: var(--ggn-navy-50); }
.chip .n { font-size: 12px; font-weight: 700; background: var(--bg-alt); border-radius: 10px; padding: 1px 7px; color: var(--ink-soft); transition: all .2s; }
.chip[aria-pressed="true"] { background: var(--ggn-navy); border-color: var(--ggn-navy); color: #fff; }
.chip[aria-pressed="true"] .n { background: rgba(255, 255, 255, .18); color: #fff; }

.result-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; min-height: 34px; }
.result-count { font-size: 15px; color: var(--ink-soft); }
.result-count b { color: var(--ink); font-family: var(--font-title); font-size: 18px; }
.active-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.active-filters .af {
  display: inline-flex; align-items: center; gap: 6px; background: var(--ggn-blue-50); border: 0; border-radius: var(--radius-pill);
  padding: 5px 8px 5px 12px; font-size: 13px; font-weight: 600;
}
.active-filters .af svg { width: 14px; height: 14px; }
.active-filters .af:hover { background: var(--ggn-blue); }

/* ---------- Cards (grid view + rail) ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 22px; }
.card {
  position: relative; background: #fff; border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow-s);
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out); isolation: isolate;
  animation: cardIn .6s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 45ms);
}
@keyframes cardIn { from { opacity: 0; transform: translateY(18px) scale(.98); } }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-l); }
.card a.cover { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ggn-blue-50); }
.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .35s, transform .8s var(--ease-out); }
.card:hover .card-media img.on { transform: scale(1.05); }
.card-media img:not(.on) { opacity: 0; }
.card-media::after { content: ""; position: absolute; inset: auto 0 0 0; height: 45%; background: linear-gradient(transparent, rgba(1, 18, 70, .55)); pointer-events: none; }
.photo-dots { position: absolute; z-index: 2; bottom: 12px; left: 0; right: 0; display: flex; justify-content: center; gap: 5px; pointer-events: none; }
.photo-dots i { width: 6px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .55); transition: width .3s var(--ease-out), background .3s; }
.photo-dots i.on { width: 18px; background: #fff; }
/* right: stay clear of the like and favourite buttons (.card-actions, 10px + 40px wide); tags wrap instead of running under them */
.card-top { position: absolute; z-index: 2; top: 12px; left: 12px; right: 58px; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 6px; pointer-events: none; }
.tag {
  display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .92); color: var(--ink); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.tag.hot { background: var(--ggn-navy); color: #fff; }
.tag.today { background: var(--ggn-navy); color: #fff; }
.tag.cancel { background: var(--ggn-orange); color: #fff; }
.tag.bca { background: #fff; color: var(--ggn-navy); box-shadow: inset 0 0 0 1.5px var(--ggn-navy); }
.tag svg { width: 13px; height: 13px; }
.card-actions { position: absolute; z-index: 3; top: 10px; right: 10px; display: flex; flex-direction: column; gap: 8px; }
.fab {
  width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .94); display: grid; place-items: center;
  box-shadow: var(--shadow-s); transition: transform .25s var(--ease-spring), background .2s; position: relative;
}
.fab:hover { transform: scale(1.1); }
.fab svg { width: 19px; height: 19px; transition: transform .3s var(--ease-spring); }
.fab.like[aria-pressed="true"] { color: var(--ggn-orange); }
.fab.like[aria-pressed="true"] svg { fill: currentColor; }
.fab.fav[aria-pressed="true"] { background: var(--ggn-navy); color: #fff; }
.fab.fav[aria-pressed="true"] svg { fill: currentColor; }
.fab.pop svg { animation: pop .5s var(--ease-spring); }
@keyframes pop { 30% { transform: scale(.6); } 70% { transform: scale(1.35); } }
.burst { position: absolute; inset: 0; pointer-events: none; }
.burst i { position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; margin: -3px; border-radius: 50%; background: var(--ggn-orange); animation: burst .6s var(--ease-out) forwards; }
@keyframes burst { to { transform: translate(var(--x), var(--y)) scale(0); } }

.card-body { padding: 16px 18px 18px; }
.card-meta { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-soft); font-weight: 500; }
.card-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--ggn-navy-20); }
.card h3 { font-size: 19px; margin: 6px 0 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 12px; border-top: 1px solid var(--line); }
.when { display: flex; align-items: center; gap: 10px; }
.date-pill { background: var(--ggn-blue-50); border-radius: 12px; padding: 4px 10px; text-align: center; line-height: 1.1; }
.date-pill b { display: block; font-family: var(--font-title); font-size: 18px; }
.date-pill small { font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--ink-soft); }
.when .t { font-size: 14px; font-weight: 600; }
.when .loc { font-size: 13px; color: var(--ink-soft); display: flex; align-items: center; gap: 4px; }
.when .loc svg { width: 13px; height: 13px; }
.stats { display: flex; gap: 12px; font-size: 13px; color: var(--ink-soft); font-weight: 600; }
.stats span { display: inline-flex; align-items: center; gap: 4px; }
.stats svg { width: 15px; height: 15px; }
.card.is-cancelled .card-media img { filter: grayscale(1) contrast(.9); }
.card.is-cancelled h3 { text-decoration: line-through; text-decoration-color: var(--ggn-orange); text-decoration-thickness: 2px; color: var(--ink-soft); }
.stamp {
  position: absolute; z-index: 2; left: 50%; top: 46%; transform: translate(-50%, -50%) rotate(-12deg);
  border: 3px solid #fff; color: #fff; font-family: var(--font-title); font-weight: 700; font-size: 22px; letter-spacing: .12em;
  padding: 6px 16px; border-radius: 12px; text-transform: uppercase; background: rgba(242, 109, 0, .9); pointer-events: none;
}
mark { background: var(--ggn-orange-soft); color: inherit; border-radius: 4px; padding: 0 2px; }

/* ---------- List view ---------- */
.list { display: flex; flex-direction: column; gap: 12px; }
.row {
  position: relative; display: grid; grid-template-columns: 84px 120px 1fr auto auto; gap: 20px; align-items: center;
  background: #fff; border-radius: var(--radius-m); padding: 12px 16px 12px 12px; box-shadow: var(--shadow-s);
  transition: transform .35s var(--ease-out), box-shadow .35s; animation: cardIn .5s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 30ms);
}
.row:hover { transform: translateX(4px); box-shadow: var(--shadow-m); }
.row a.cover { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.row .cal { background: var(--ggn-navy); color: #fff; border-radius: var(--radius-s); text-align: center; padding: 10px 0; }
.row .cal small { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; opacity: .75; }
.row .cal b { display: block; font-family: var(--font-title); font-size: 28px; line-height: 1.05; }
.row .cal span { font-size: 12px; font-weight: 600; }
.row .thumb { width: 120px; height: 84px; border-radius: var(--radius-s); object-fit: cover; }
.row h3 { font-size: 18px; margin: 0 0 6px; }
.row .specs { display: flex; flex-wrap: wrap; gap: 6px; }
.row .specs span { font-size: 12px; font-weight: 600; background: var(--bg-alt); border-radius: 8px; padding: 3px 8px; color: var(--ink-soft); }
.row .where { font-size: 14px; text-align: right; }
.row .where b { display: block; }
.row .where span { color: var(--ink-soft); font-size: 13px; }
.row .row-actions { display: flex; gap: 8px; position: relative; z-index: 2; }
.row .row-actions .fab { box-shadow: none; border: 1.5px solid var(--line); }
.row.is-cancelled { opacity: .6; }
.row.is-cancelled h3 { text-decoration: line-through; }
@media (max-width: 860px) {
  .row { grid-template-columns: 64px 1fr auto; gap: 12px; }
  .row .thumb, .row .where { display: none; }
  .row .cal b { font-size: 22px; }
}

/* ---------- Calendar view ---------- */
.calendar { display: grid; grid-template-columns: 1fr 380px; gap: 22px; align-items: start; }
@media (max-width: 1060px) { .calendar { grid-template-columns: 1fr; } }
.cal-panel { background: #fff; border-radius: var(--radius-l); box-shadow: var(--shadow-s); padding: 20px; animation: cardIn .5s var(--ease-out) both; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.cal-head h3 { font-size: 26px; }
.cal-head h3::first-letter, .day-panel h4::first-letter, .sale-card .big::first-letter { text-transform: uppercase; }
.cal-head .nav { display: flex; gap: 8px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-dow { font-size: 12px; font-weight: 700; text-transform: uppercase; color: var(--ink-soft); text-align: center; padding: 6px 0; }
.cal-day {
  position: relative; min-height: 104px; border-radius: var(--radius-s); background: var(--bg-alt); border: 1.5px solid transparent; padding: 8px;
  text-align: left; display: flex; flex-direction: column; gap: 4px; transition: all .2s var(--ease-out); overflow: hidden;
}
.cal-day.other { opacity: .38; }
.cal-day .d { font-family: var(--font-title); font-weight: 600; font-size: 15px; }
.cal-day.today .d { background: var(--ggn-orange); color: #fff; border-radius: 50%; width: 26px; height: 26px; display: grid; place-items: center; margin: -3px 0 0 -3px; }
.cal-day.has { background: #fff; border-color: var(--line); cursor: pointer; }
.cal-day.has:hover { border-color: var(--ggn-navy); transform: translateY(-2px); box-shadow: var(--shadow-m); }
.cal-day.sel { border-color: var(--ggn-navy); background: var(--ggn-blue-50); box-shadow: inset 0 0 0 1.5px var(--ggn-navy); }
.cal-day .ev { display: flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 600; background: var(--ggn-navy); color: #fff; border-radius: 7px; padding: 2px 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cal-day .ev.c { background: var(--ggn-peach); color: #B85300; text-decoration: line-through; }
.cal-day .more { font-size: 11px; font-weight: 700; color: var(--ink-soft); }
.cal-day .heat { position: absolute; right: 8px; top: 8px; display: flex; gap: 2px; }
.cal-day .heat i { width: 5px; height: 5px; border-radius: 50%; background: var(--ggn-orange); }
@media (max-width: 700px) { .cal-day { min-height: 58px; } .cal-day .ev, .cal-day .more { display: none; } .cal-grid { gap: 4px; } }
.day-panel { position: sticky; top: 168px; }
.day-panel h4 { font-size: 22px; margin-bottom: 4px; }
.day-panel .sub { color: var(--ink-soft); font-size: 14px; margin-bottom: 16px; }
.loc-group { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 14px; }
.loc-group .lg-head { display: flex; gap: 10px; align-items: start; margin-bottom: 10px; }
.loc-group .lg-head .pin { width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--ggn-peach); color: var(--ggn-orange); display: grid; place-items: center; }
.loc-group .lg-head .pin svg { width: 17px; height: 17px; }
.loc-group .lg-head b { display: block; }
.loc-group .lg-head span { font-size: 13px; color: var(--ink-soft); }
.mini { position: relative; display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 8px; border-radius: 12px; transition: background .2s; text-decoration: none; }
.mini:hover { background: var(--bg-alt); }
.mini img { width: 56px; height: 44px; border-radius: 9px; object-fit: cover; }
.mini b { font-size: 14px; display: block; line-height: 1.25; }
.mini span { font-size: 12px; color: var(--ink-soft); }
.mini .t { font-weight: 700; font-size: 13px; background: var(--ggn-blue-50); padding: 3px 8px; border-radius: 8px; }
.empty-day { text-align: center; padding: 26px 8px; color: var(--ink-soft); }

/* ---------- Carousel view (coverflow) ---------- */
.coverflow { position: relative; height: 560px; perspective: 1600px; user-select: none; touch-action: pan-y; animation: cardIn .5s var(--ease-out) both; }
.cf-stage { position: absolute; inset: 0; transform-style: preserve-3d; }
.cf-item {
  position: absolute; left: 50%; top: 20px; width: min(560px, 78vw); height: 470px; margin-left: calc(min(560px, 78vw) / -2);
  border-radius: var(--radius-l); overflow: hidden; background: var(--ggn-navy); box-shadow: var(--shadow-l);
  transition: transform .75s var(--ease-out), opacity .75s, filter .75s; cursor: pointer;
}
.cf-item img { width: 100%; height: 100%; object-fit: cover; }
.cf-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(1, 18, 70, .9)); }
.cf-info { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 26px; color: #fff; }
.cf-info .cd { display: inline-flex; gap: 8px; align-items: center; background: #fff; color: var(--ggn-navy); border-radius: var(--radius-pill); padding: 5px 12px; font-weight: 700; font-size: 13px; margin-bottom: 12px; font-variant-numeric: tabular-nums; }
.cf-info h3 { font-size: 30px; margin-bottom: 8px; }
.cf-info p { margin: 0; opacity: .85; font-size: 15px; }
.cf-item .card-actions { top: 16px; right: 16px; }
.cf-controls { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: center; align-items: center; gap: 14px; }
.cf-controls .icon-btn { width: 48px; height: 48px; }
.cf-progress { display: flex; gap: 5px; }
.cf-progress i { width: 7px; height: 7px; border-radius: 4px; background: var(--ggn-navy-20); transition: all .35s var(--ease-out); cursor: pointer; }
.cf-progress i.on { width: 26px; background: var(--ggn-navy); }
@media (max-width: 640px) { .coverflow { height: 470px; } .cf-item { height: 380px; } .cf-info h3 { font-size: 22px; } }

/* ---------- Empty state ---------- */
.empty { text-align: center; padding: 60px 20px; animation: cardIn .5s var(--ease-out) both; }
.empty svg.ell { width: 194px; height: auto; margin: 0 auto 18px; }
.empty h3 { font-size: 24px; margin-bottom: 8px; }
.empty p { color: var(--ink-soft); margin: 0 0 18px; }

/* ---------- How it works ---------- */
.how { background: var(--ggn-peach); overflow: hidden; }
.how .ellipses-deco { right: -160px; top: -30px; width: 760px; opacity: .25; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { background: #fff; border-radius: var(--radius-l); padding: 26px; box-shadow: var(--shadow-s); position: relative; transition: transform .4s var(--ease-out); }
.step:hover { transform: translateY(-4px) rotate(-.4deg); }
.step .num {
  width: 64px; height: 44px; display: grid; place-items: center; font-family: var(--font-title); font-weight: 600; font-size: 20px;
  border: 2px solid var(--ggn-navy); border-radius: 50%; transform: rotate(-18deg); margin-bottom: 18px;
}
.step .num span { transform: rotate(18deg); }
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { margin: 0; color: var(--ink-soft); font-size: 15px; }
.notice { margin-top: 26px; display: flex; gap: 14px; align-items: center; background: var(--ggn-navy); color: #fff; border-radius: var(--radius-l); padding: 18px 22px; }
.notice svg { width: 26px; height: 26px; flex: none; color: var(--ggn-blue); }
.notice p { margin: 0; }
.notice a { color: var(--ggn-blue); font-weight: 600; }

/* ---------- CTA + footer ---------- */
.cta-band { background: var(--ggn-blue); border-radius: var(--radius-l); padding: 44px; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; position: relative; overflow: hidden; }
.cta-band h2 { font-size: clamp(26px, 3vw, 38px); max-width: 20ch; }
.cta-band p { margin: 10px 0 0; color: var(--ink-soft); }
.cta-band .ellipses-deco { right: 120px; top: -30px; width: 520px; opacity: .35; }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; padding: 28px; } }
.site-footer { background: var(--ggn-navy); color: #fff; margin-top: 72px; padding: 64px 0 28px; position: relative; overflow: hidden; }
.site-footer .ellipses-deco { right: -100px; bottom: -60px; width: 700px; opacity: .12; }
.site-footer .ellipses-deco ellipse { stroke: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; position: relative; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-grid h4 { font-size: 15px; margin-bottom: 14px; color: var(--ggn-blue); }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-grid a { text-decoration: none; opacity: .85; font-size: 15px; }
.footer-grid a:hover { opacity: 1; text-decoration: underline; }
.footer-grid p { opacity: .75; font-size: 14px; margin: 14px 0 0; max-width: 36ch; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .15); margin-top: 44px; padding-top: 22px; display: flex; justify-content: space-between; gap: 12px; font-size: 13px; opacity: .7; flex-wrap: wrap; position: relative; }

/* ---------- Drawer (favourites) ---------- */
.scrim { position: fixed; inset: 0; z-index: 90; background: rgba(1, 18, 70, .35); backdrop-filter: blur(3px); opacity: 0; pointer-events: none; transition: opacity .35s; }
.scrim.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; z-index: 100; top: 12px; right: 12px; bottom: 12px; width: min(440px, calc(100% - 24px)); background: #fff;
  border-radius: var(--radius-l); box-shadow: var(--shadow-l); display: flex; flex-direction: column;
  transform: translateX(calc(100% + 24px)); transition: transform .5s var(--ease-out);
}
.drawer.open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 22px 22px 12px; }
.drawer-head h3 { font-size: 24px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 4px 14px 14px; }
.drawer-foot { padding: 16px 22px 22px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.drawer-foot p { margin: 0; font-size: 12px; color: var(--ink-soft); }
.fav-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; align-items: center; padding: 10px; border-radius: 14px; transition: background .2s; animation: cardIn .4s var(--ease-out) both; }
.fav-item:hover { background: var(--bg-alt); }
.fav-item img { width: 72px; height: 56px; border-radius: 10px; object-fit: cover; }
.fav-item a { text-decoration: none; }
.fav-item b { display: block; font-size: 15px; line-height: 1.25; }
.fav-item span { font-size: 13px; color: var(--ink-soft); }

/* ---------- Command palette ---------- */
.palette {
  position: fixed; z-index: 110; left: 50%; top: 12vh; width: min(640px, calc(100% - 24px)); transform: translateX(-50%) scale(.96); opacity: 0; pointer-events: none;
  background: #fff; border-radius: var(--radius-l); box-shadow: 0 40px 100px rgba(1, 18, 70, .35); overflow: hidden; transition: all .3s var(--ease-out);
}
.palette.open { transform: translateX(-50%); opacity: 1; pointer-events: auto; }
.palette-input { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.palette-input svg { width: 22px; height: 22px; }
.palette-input input { flex: 1; border: 0; outline: 0; font: inherit; font-size: 19px; color: var(--ink); }
.palette-results { max-height: 52vh; overflow-y: auto; padding: 8px; }
.palette-results .grp { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); padding: 10px 12px 6px; }
.p-item { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; padding: 8px 12px; border-radius: 12px; text-decoration: none; }
.p-item img { width: 52px; height: 40px; object-fit: cover; border-radius: 8px; }
.p-item b { display: block; font-size: 15px; }
.p-item span { font-size: 13px; color: var(--ink-soft); }
.p-item[aria-selected="true"] { background: var(--ggn-blue-50); }
.p-item .go { opacity: 0; font-size: 12px; font-weight: 700; }
.p-item[aria-selected="true"] .go { opacity: 1; }
.palette-foot { display: flex; gap: 16px; padding: 10px 18px; border-top: 1px solid var(--line); font-size: 12px; color: var(--ink-soft); }

/* ---------- Toast ---------- */
.toast-host { position: fixed; z-index: 120; left: 50%; bottom: 24px; transform: translateX(-50%); display: grid; gap: 8px; justify-items: center; pointer-events: none; }
.toast { background: var(--ggn-navy); color: #fff; padding: 12px 18px; border-radius: var(--radius-pill); font-weight: 600; font-size: 14px; box-shadow: var(--shadow-l); display: flex; gap: 10px; align-items: center; animation: toastIn .45s var(--ease-spring) both; }
.toast svg { width: 18px; height: 18px; color: var(--ggn-blue); }
.toast.out { animation: toastOut .3s ease forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(20px) scale(.9); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(10px); } }

/* ---------- Detail page ---------- */
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--ink-soft); padding: 22px 0 14px; flex-wrap: wrap; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs svg { width: 14px; height: 14px; }
.detail { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(320px, 1fr); gap: 36px; align-items: start; }
@media (max-width: 1000px) { .detail { grid-template-columns: 1fr; } }
.gallery { display: grid; grid-template-columns: 1fr; gap: 10px; }
.gallery-main { position: relative; border-radius: var(--radius-l); overflow: hidden; aspect-ratio: 16 / 11; background: var(--ggn-blue-50); cursor: zoom-in; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s, transform 1.2s var(--ease-out); }
.gallery-main:hover img { transform: scale(1.03); }
.gallery-main .count { position: absolute; right: 16px; bottom: 16px; background: rgba(1, 18, 70, .78); color: #fff; font-weight: 600; font-size: 13px; padding: 6px 12px; border-radius: var(--radius-pill); display: flex; gap: 6px; align-items: center; }
.gallery-main .count svg { width: 15px; height: 15px; }
.gallery-main .g-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; opacity: 0; transition: opacity .25s; }
.gallery-main:hover .g-nav { opacity: 1; }
.gallery-main .g-prev { left: 14px; } .gallery-main .g-next { right: 14px; }
.thumbs { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; }
.thumbs button { flex: none; width: 104px; height: 74px; border-radius: 12px; overflow: hidden; border: 2.5px solid transparent; padding: 0; opacity: .65; transition: all .2s; }
.thumbs button.on { border-color: var(--ggn-navy); opacity: 1; }
.thumbs button:hover { opacity: 1; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.detail h1 { font-size: clamp(30px, 3.6vw, 46px); margin: 10px 0 14px; }
.detail .tags { display: flex; gap: 8px; flex-wrap: wrap; }
.detail .tags .tag:not(.hot):not(.today):not(.cancel) { background: var(--ggn-blue-50); }
.detail .tags .tag.cancel { background: var(--ggn-orange); }
.sale-card { background: var(--ggn-navy); color: #fff; border-radius: var(--radius-l); padding: 24px; position: sticky; top: 96px; overflow: hidden; }
.sale-card .ellipses-deco { right: -130px; top: -70px; width: 440px; opacity: .25; }
.sale-card .ellipses-deco ellipse { stroke: #fff; }
.sale-card .lbl { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ggn-blue); }
.sale-card .big { font-family: var(--font-title); font-weight: 600; font-size: 28px; margin: 6px 0 16px; }
.sale-card .countdown .seg { background: rgba(255, 255, 255, .12); min-width: 62px; padding: 10px; }
.sale-card .countdown .seg b { font-size: 26px; }
.sale-card .where { display: flex; gap: 12px; margin: 20px 0; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .15); }
.sale-card .where svg { width: 22px; height: 22px; flex: none; color: var(--ggn-blue); }
.sale-card .where b { display: block; }
.sale-card .where span { opacity: .8; font-size: 14px; }
.sale-card .actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sale-card .actions .btn { justify-content: center; }
.sale-card .actions .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .3); }
.sale-card .actions .btn-ghost:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.sale-card .actions .btn-ghost[aria-pressed="true"] { background: #fff; color: var(--ggn-navy); }
.sale-card .actions .btn-ghost[aria-pressed="true"] svg { fill: currentColor; }
.sale-card .actions .like[aria-pressed="true"] { background: var(--ggn-orange); border-color: var(--ggn-orange); color: #fff; }
.sale-card .cancel-note { background: var(--ggn-orange); border-radius: var(--radius-m); padding: 14px 16px; margin-bottom: 16px; font-weight: 600; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); padding: 24px; margin-top: 22px; }
.panel h2 { font-size: 22px; margin-bottom: 16px; }
.specs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.spec { background: var(--bg-alt); border-radius: 14px; padding: 12px 14px; }
.spec small { display: block; font-size: 12px; font-weight: 600; color: var(--ink-soft); }
.spec b { font-family: var(--font-title); font-size: 17px; }
.spec a { color: var(--ggn-orange-hover); font-weight: 600; font-size: 13px; text-decoration: none; }
.plate { display: inline-flex; align-items: stretch; border-radius: 6px; overflow: hidden; font-family: var(--font-title); font-weight: 700; letter-spacing: .06em; border: 1.5px solid #1a1a1a; }
.plate i { background: #003399; color: #ffcc00; font-style: normal; font-size: 9px; padding: 2px 4px; display: grid; place-items: end center; }
.plate span { background: #f5c400; color: #111; padding: 2px 8px; font-size: 16px; }
.desc { font-size: 17px; color: var(--ink-soft); margin: 0; }
.goodtoknow { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.goodtoknow li { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: start; }
.goodtoknow .ic { width: 36px; height: 36px; border-radius: 50%; background: var(--ggn-peach); color: var(--ggn-orange); display: grid; place-items: center; }
.goodtoknow .ic svg { width: 18px; height: 18px; }
.goodtoknow b { display: block; }
.goodtoknow span { color: var(--ink-soft); font-size: 15px; }
.meta-line { display: flex; gap: 18px; color: var(--ink-soft); font-size: 14px; margin-top: 14px; flex-wrap: wrap; }
.meta-line span { display: inline-flex; gap: 6px; align-items: center; }
.meta-line svg { width: 16px; height: 16px; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 130; background: rgba(1, 10, 40, .96); display: grid; place-items: center; opacity: 0; pointer-events: none; transition: opacity .35s; }
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: 92vw; max-height: 82vh; border-radius: 12px; object-fit: contain; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); transition: transform .45s var(--ease-out), opacity .3s; }
.lightbox .lb-close { position: absolute; top: 20px; right: 20px; }
.lightbox .lb-prev, .lightbox .lb-next { position: absolute; top: 50%; transform: translateY(-50%); }
.lightbox .lb-prev { left: 20px; } .lightbox .lb-next { right: 20px; }
.lightbox .icon-btn { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .2); color: #fff; width: 52px; height: 52px; }
.lightbox .lb-count { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); color: #fff; font-weight: 600; opacity: .8; }

/* View transitions */
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s; }
.view-host { min-height: 400px; }

/* Phone tweaks */
@media (max-width: 600px) {
  .specs-grid { grid-template-columns: repeat(2, 1fr); }
  .sale-card { position: static; }
  .section { padding: 52px 0; }
}

/* ---------- Quick access panel (overlaps hero band) ---------- */
.quick { position: relative; z-index: 2; margin-top: -110px; display: grid; grid-template-columns: 1.45fr 1fr; border-radius: var(--radius-m); overflow: hidden; box-shadow: var(--shadow-m); }
.quick h2 { font-size: 24px; margin-bottom: 18px; }
.quick-nav { background: var(--ggn-navy); color: #fff; padding: 28px; }
.quick-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.quick-tile {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; text-align: left;
  background: #fff; color: var(--ink); border: 0; border-radius: var(--radius-s); padding: 16px 18px; min-height: 74px;
  transition: background .15s, transform .25s var(--ease-out);
}
.quick-tile:hover { background: var(--ggn-blue-50); transform: translateY(-2px); }
.quick-tile b { display: block; font-weight: 600; font-size: 15px; line-height: 1.25; }
.quick-tile small { font-size: 12.5px; color: var(--ink-soft); }
.quick-tile svg { width: 30px; height: 30px; flex: none; color: var(--ggn-navy); }
.quick-info { background: #fff; padding: 28px; border: 1px solid var(--line); border-left: 0; border-radius: 0 var(--radius-m) var(--radius-m) 0; display: flex; flex-direction: column; }
.quick-info p { margin: 0 0 20px; color: var(--ink-soft); }
.quick-btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: auto; }
@media (max-width: 1000px) {
  .quick { grid-template-columns: 1fr; }
  .quick-info { border-left: 1px solid var(--line); border-top: 0; border-radius: 0 0 var(--radius-m) var(--radius-m); }
}
@media (max-width: 640px) { .quick-tiles { grid-template-columns: 1fr 1fr; } .quick-nav, .quick-info { padding: 20px; } .quick { margin-top: -80px; } }
.rail-nav { align-items: center; }

/* ---------- Footer (concept-site structure) ---------- */
.site-footer { padding: 48px 0 0; }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 28px; position: relative; }
.footer-top img { height: 40px; }
.footer-top .btn-soft { color: var(--ggn-navy); }
.footer-boxes { display: grid; grid-template-columns: 1fr 1.4fr; gap: 24px; position: relative; }
.footer-box { border-radius: var(--radius-m); padding: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.footer-box.filled { background: var(--ggn-navy-90); }
.footer-box.outline { border: 1px solid rgba(255, 255, 255, .2); }
.footer-box h4 { font-size: 17px; font-weight: 500; margin-bottom: 14px; color: #fff; }
.footer-box ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-box a { text-decoration: none; font-size: 15px; opacity: .9; }
.footer-box a:hover { opacity: 1; text-decoration: underline; }
.footer-box p { margin: 0; font-size: 14px; opacity: .8; grid-column: 1 / -1; }
.footer-meta { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; opacity: .8; padding: 28px 0; position: relative; }
.footer-legal { background: #fff; color: var(--ink); }
.footer-legal .wrap { display: flex; gap: 24px; flex-wrap: wrap; padding: 22px 0; font-size: 14px; }
.footer-legal a { text-decoration: none; }
.footer-legal a:hover { text-decoration: underline; }
@media (max-width: 860px) { .footer-boxes { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .footer-box { grid-template-columns: 1fr; } }

/* Responsive fixes after concept-site refinements */
.main-nav a { white-space: nowrap; }
@media (max-width: 1120px) { .main-nav { display: none; } }
.quick > *, .quick-tile > span { min-width: 0; }
@media (max-width: 480px) {
  .quick-tiles { gap: 8px; }
  .quick-tile { padding: 12px; min-height: 64px; }
  .quick-tile svg { width: 22px; height: 22px; }
  .quick-tile b { font-size: 14px; }
}

/* ---------- Hero title pills: compact, stacked with a small gap (brand "titels in pil vorm") ---------- */
.hero h1.hero-title { display: flex; flex-direction: column; align-items: flex-start; gap: .14em; font-size: clamp(28px, 3.2vw, 44px); line-height: 1.15; font-weight: 500; }
.hero h1.hero-title .pill-title { padding: .1em .5em .16em; margin: 0; white-space: nowrap; }
@media (max-width: 400px) { .hero h1.hero-title { font-size: min(28px, 8.4vw); } }

/* ---------- Mobile / small screens ---------- */
.hero-grid > *, .detail > *, .toolbar-row > * { min-width: 0; }
@media (max-width: 900px) {
  .hero-grid { gap: 20px; }
  .hero { padding: 28px 0 145px; }
  .hero-lead { font-size: 17px; margin: 18px 0 22px; }
  .hero-visual { margin-top: 12px; }
}
@media (max-width: 700px) {
  /* toolbar: tidy 2-column grid instead of a column of odd widths, and not sticky (too tall on a phone) */
  .toolbar { position: static; margin: 0 0 18px; padding: 0; }
  .toolbar.stuck { background: none; box-shadow: none; backdrop-filter: none; }
  .toolbar-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .search-field { grid-column: 1 / -1; height: 48px; }
  .select, .toggle-fav { width: 100%; height: 44px; font-size: 14px; }
  .toggle-fav { justify-content: center; }
  .segmented { grid-column: 1 / -1; display: flex; height: 46px; }
  .segmented button { flex: 1; justify-content: center; }
  .section-head { margin-bottom: 18px; }
  .section-head h2 { font-size: 28px; }
  .rail-nav .icon-btn { display: none; }
  .rail { grid-auto-columns: 84%; }
}
@media (max-width: 600px) {
  .hero-stats { gap: 18px; margin-top: 26px; }
  .hero-stats .num { font-size: 28px; }
  .hero-stats .lbl { font-size: 13px; }
  .hero-search { padding-left: 14px; }
  .hero-search input { font-size: 15px; }
  .hero-search .btn { padding: .7em .9em; }
  .hero-search .btn .arrow { display: none; }
  /* visual: the motif's silhouette lines up with the text (its box has a margin of its own), one card underneath with its countdown on its own line */
  .hero { padding-bottom: 120px; }
  .hero-visual { margin-inline: -14px; }
  .float-likes { display: none; }
  .float-next { justify-self: stretch; width: auto; margin: 2px 14px 0; grid-template-columns: minmax(0, 1fr); row-gap: 2px; animation: none; }
  .float-next .countdown { grid-column: 1; grid-row: auto; margin-top: 8px; }
  .float-next .countdown .seg { flex: 1; }
  .crumbs span:last-child { display: none; }
}

/* ---------- Views on phones ---------- */
@media (max-width: 700px) {
  /* calendar */
  .cal-panel { padding: 14px; }
  .cal-head { flex-wrap: wrap; gap: 10px; }
  .cal-head h3 { font-size: 22px; flex: 1 1 100%; }
  .cal-head .nav { width: 100%; }
  .cal-head .nav .btn { flex: 1; justify-content: center; }
  .cal-day { min-height: 52px; padding: 6px 4px; align-items: center; }
  .cal-day .d { font-size: 14px; }
  .cal-day.today .d { margin: 0; }
  .cal-day .heat { position: static; justify-content: center; margin-top: auto; }
  .cal-day .heat i { width: 4px; height: 4px; }
  .cal-dow { font-size: 11px; }
  .day-panel { position: static; }

  /* list: date block + text, actions on their own line */
  .row { grid-template-columns: 56px 1fr; grid-template-areas: "cal body" "cal actions"; gap: 6px 12px; padding: 12px; align-items: start; }
  .row .cal { grid-area: cal; padding: 8px 0; }
  .row .cal b { font-size: 22px; }
  .row > div:nth-of-type(2) { grid-area: body; }
  .row h3 { font-size: 16px; }
  .row .specs span:nth-child(n+4) { display: none; }
  .row .row-actions { grid-area: actions; }
  .row .row-actions .fab { width: 36px; height: 36px; }
  .row:hover { transform: none; }

  /* carousel: keep the 3D side cards inside the screen */
  .coverflow { overflow: hidden; height: 470px; margin: 0 -16px; }
  .cf-item { width: 82vw; margin-left: -41vw; height: 380px; }
}
@media (max-width: 700px) {
  .row { grid-template-areas: "cal body" "cal where" "cal actions"; }
  .row .where { display: block; grid-area: where; text-align: left; font-size: 13px; }
  .row .where b { display: inline; margin-right: 6px; }
}

/* Detail page: sticky sale bar on phones/tablets */
.mobile-bar { display: none; }
@media (max-width: 1000px) {
  .mobile-bar {
    display: flex; align-items: center; gap: 10px; position: fixed; z-index: 60; left: 12px; right: 12px; bottom: 12px;
    background: var(--ggn-navy); color: #fff; border-radius: var(--radius-m); padding: 10px 10px 10px 16px; box-shadow: var(--shadow-l);
  }
  .mobile-bar > div { flex: 1; min-width: 0; line-height: 1.3; }
  .mobile-bar b { display: block; font-family: var(--font-title); font-size: 16px; }
  .mobile-bar span { font-size: 13px; opacity: .8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
  .mobile-bar .fab { box-shadow: none; flex: none; }
  .mobile-bar .btn { flex: none; padding: .7em 1em; }
  body:has(.mobile-bar) .site-footer { padding-bottom: 80px; }
}
.mobile-bar .fab { background: rgba(255, 255, 255, .14); color: #fff; }
.mobile-bar .fab[aria-pressed="true"] { background: #fff; color: var(--ggn-navy); }

/* ---------- Cancelled = orange, no-photo pictogram, APK, BCA ---------- */
.cf-info .cd.cancel { background: var(--ggn-orange); color: #fff; }
.row.is-cancelled { opacity: 1; }
.row.is-cancelled .cal { background: var(--ggn-orange); }
.row.is-cancelled h3 { color: var(--ink-soft); text-decoration-color: var(--ggn-orange); }
.no-photo { display: grid; place-content: center; justify-items: center; gap: 8px; width: 100%; height: 100%; background: var(--ggn-blue-50); color: var(--ggn-navy); text-align: center; }
.no-photo svg { width: 38%; max-width: 96px; min-width: 22px; height: auto; opacity: .85; }
.no-photo span { font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.card-media .no-photo { position: absolute; inset: 0; }
.mini .no-photo, .fav-item .no-photo, .p-item .no-photo { border-radius: 9px; }
.mini .no-photo { width: 56px; height: 44px; }
.fav-item .no-photo { width: 72px; height: 56px; }
.p-item .no-photo { width: 52px; height: 40px; }
.row .no-photo.thumb { width: 120px; height: 84px; border-radius: var(--radius-s); }
.cf-item .no-photo { position: absolute; inset: 0; }
.gallery-empty { cursor: default; }
.gallery-empty .no-photo svg { max-width: 140px; }
.gallery-empty:hover img { transform: none; }
.apk-expired { display: inline-block; margin-top: 2px; font-size: 12px; font-weight: 700; color: #B85300; background: var(--ggn-peach); border-radius: 6px; padding: 1px 6px; }
.bca-panel { background: var(--ggn-blue-50); border-color: var(--ggn-blue); }
.bca-panel p { margin: 0 0 10px; color: var(--ink-soft); }
.bca-panel .btn { margin-top: 6px; }

/* ==========================================================================
   Production additions. All layout values that were inline style="" in the
   earlier templates live here, so the CSP can stay at style-src 'self'.
   ========================================================================== */
[hidden] { display: none !important; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ggn-navy); color: #fff; padding: 10px 16px; border-radius: var(--radius-btn); font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }
.section-rail { padding-top: 40px; }
.section-flush { padding-bottom: 0; }
.rel { position: relative; }
.detail-head { margin-top: 26px; }
.btn-full { grid-column: 1 / -1; justify-content: center; }
.float-meta { margin-top: 10px; font-size: 13px; color: var(--ink-soft); display: flex; gap: 6px; align-items: center; }
.float-meta svg { width: 14px; height: 14px; }
.cf-info .cd svg { width: 15px; height: 15px; }
.tag-inline { vertical-align: middle; }
.strike { text-decoration: line-through; }
.af-plain { background: transparent !important; text-decoration: underline; }
.day-ics { margin-top: 16px; width: 100%; justify-content: center; }
.legal-copy { margin-left: auto; color: var(--ink-soft); }
.is-broken { visibility: hidden; }
#aanbod, #hoe-werkt-het { scroll-margin-top: 76px; }
.noscript { background: var(--ggn-peach); padding: 14px 24px; text-align: center; font-weight: 600; }

/* Staggered entrance: delay index as a data attribute instead of an inline custom property */
[data-s="0"] { --i: 0; } [data-s="1"] { --i: 1; } [data-s="2"] { --i: 2; } [data-s="3"] { --i: 3; } [data-s="4"] { --i: 4; }
[data-s="5"] { --i: 5; } [data-s="6"] { --i: 6; } [data-s="7"] { --i: 7; } [data-s="8"] { --i: 8; } [data-s="9"] { --i: 9; }
[data-s="10"] { --i: 10; } [data-s="11"] { --i: 11; } [data-s="12"] { --i: 12; } [data-s="13"] { --i: 13; } [data-s="14"] { --i: 14; }
.fav-item { animation-delay: calc(var(--i, 0) * 40ms); }

/* Closed overlays must not be reachable by keyboard */
.drawer { visibility: hidden; transition: transform .5s var(--ease-out), visibility 0s .5s; }
.drawer.open { visibility: visible; transition: transform .5s var(--ease-out); }
.palette { visibility: hidden; transition: transform .3s var(--ease-out), opacity .3s var(--ease-out), visibility 0s .3s; }
.palette.open { visibility: visible; transition: transform .3s var(--ease-out), opacity .3s var(--ease-out); }
.lightbox { visibility: hidden; transition: opacity .35s, visibility 0s .35s; }
.lightbox.open { visibility: visible; transition: opacity .35s; }
.gallery-main:focus-within .g-nav { opacity: 1; }
@media (hover: none) { .gallery-main .g-nav { opacity: 1; } }
.g-zoom { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; background: none; border: 0; padding: 0; cursor: zoom-in; border-radius: inherit; }
.g-zoom:focus-visible { outline-offset: -4px; outline-color: #fff; box-shadow: inset 0 0 0 2px var(--ggn-navy); }
.footer-legal a:focus-visible, .site-footer a:focus-visible, .link-btn:focus-visible { outline-color: currentColor; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; font-size: 15px; opacity: .9; color: inherit; text-align: left; }
.link-btn:hover { opacity: 1; text-decoration: underline; }
.cf-link { color: inherit; text-decoration: none; }
.cf-link:hover { text-decoration: underline; }
.cf-link:focus-visible { outline-color: #fff; }
.empty svg.ell ellipse { fill: none; stroke: var(--ggn-navy); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
/* header has one more link than the original five: give it room before the nav collapses */
@media (max-width: 1300px) { .kbd-search { min-width: 180px; } .header-inner { gap: 16px; } .main-nav { margin-left: 0; } .main-nav a { padding-inline: 10px; } }
@media (max-width: 980px) { .kbd-search { min-width: 0; } }

/* Loading state */
.skel { position: relative; overflow: hidden; background: var(--ggn-navy-08); border-radius: var(--radius-s); }
.skel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, .65) 50%, transparent 80%); transform: translateX(-100%); animation: shimmer 1.5s ease-in-out infinite; }
@keyframes shimmer { to { transform: translateX(100%); } }
.skel-card { background: #fff; border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow-s); }
.skel-card .skel-media { aspect-ratio: 4 / 3; border-radius: 0; }
.skel-card .skel-lines { padding: 16px 18px 18px; display: grid; gap: 10px; }
.skel-line { height: 14px; } .skel-line.w40 { width: 40%; } .skel-line.w80 { width: 80%; height: 20px; } .skel-line.w60 { width: 60%; }
.quick-tile.skel { background: rgba(255, 255, 255, .14); min-height: 74px; }
.quick-tile.skel:hover { transform: none; }
.skel-detail { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(320px, 1fr); gap: 36px; padding-top: 58px; }
.skel-detail .skel-a { aspect-ratio: 16 / 11; border-radius: var(--radius-l); }
.skel-detail .skel-b { height: 420px; border-radius: var(--radius-l); }
@media (max-width: 1000px) { .skel-detail { grid-template-columns: 1fr; } .skel-detail .skel-b { height: 240px; } }

/* Friendly error / not-found */
.state-card { position: relative; overflow: hidden; background: #fff; border-radius: var(--radius-m); box-shadow: var(--shadow-m); padding: 56px 28px; text-align: center; margin: 48px auto; max-width: 720px; }
.state-card .ell { display: block; width: 194px; height: auto; margin: 0 auto 18px; }
.state-card .ell ellipse { fill: none; stroke: var(--ggn-navy); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.state-card h1, .state-card h2 { font-size: 28px; margin-bottom: 10px; }
.state-card p { color: var(--ink-soft); margin: 0 auto 22px; max-width: 48ch; }
.state-card .state-btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.state-overlap { position: relative; z-index: 2; margin-top: -110px; margin-bottom: 48px; max-width: none; }
@media (max-width: 640px) { .state-overlap { margin-top: -80px; } }

/* Hero with nothing to show */
.hero-eyebrow.is-quiet { color: var(--ink); }
.hero-eyebrow.is-quiet .live-dot { display: none; }

/* Rich text: descHtml and CMS pages (sanitised by the backend) */
.rich { color: var(--ink-soft); overflow-wrap: anywhere; }
.rich > :first-child { margin-top: 0; }
.rich > :last-child { margin-bottom: 0; }
.rich p, .rich ul, .rich ol, .rich blockquote, .rich table { margin: 0 0 1em; }
.rich ul, .rich ol { padding-left: 1.4em; }
.rich li { margin-bottom: .35em; }
.rich b, .rich strong { color: var(--ink); font-weight: 600; }
.rich a { color: var(--ggn-orange-hover); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.rich a:hover { color: var(--ggn-navy); }
.rich h1, .rich h2, .rich h3, .rich h4 { color: var(--ink); margin: 1.4em 0 .5em; }
.rich h1, .rich h2 { font-size: 26px; } .rich h3 { font-size: 21px; } .rich h4 { font-size: 18px; }
.rich img { height: auto; border-radius: var(--radius-s); }
.rich blockquote { border-left: 3px solid var(--ggn-blue); padding-left: 16px; }
.rich hr { border: 0; border-top: 1px solid var(--line); margin: 1.5em 0; }
.rich table { border-collapse: collapse; display: block; overflow-x: auto; }
.rich th, .rich td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.desc.rich { margin: 0; }

/* CMS page */
.page-hero { position: relative; overflow: hidden; background: var(--ggn-blue-50); padding: 8px 0 110px; }
.page-hero .ellipses-deco { right: -60px; top: -30px; width: 680px; opacity: .3; }
.page-hero h1 { position: relative; font-size: clamp(28px, 3.3vw, 48px); font-weight: 500; line-height: 1.15; margin-top: 10px; }
.page-hero .pill-title { padding: .1em .5em .16em; }
.page-hero .crumbs { position: relative; }
.page-card { position: relative; z-index: 2; margin-top: -72px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-m); box-shadow: var(--shadow-m); padding: 40px; max-width: 860px; }
.page-card.rich { font-size: 17px; }
@media (max-width: 640px) { .page-card { padding: 22px; } .page-hero .crumbs span:last-child { display: inline; } }

/* Phones: the card stops being sticky but must stay the positioning box, or its decoration escapes
   overflow:hidden, widens the layout viewport and pushes the fixed sale bar off-screen */
@media (max-width: 600px) { .sale-card { position: relative; } }

/* Finished sale on the detail page */
.sale-card .past-note { background: rgba(255, 255, 255, .14); border-radius: var(--radius-m); padding: 14px 16px; margin-bottom: 16px; font-weight: 600; }

/* ---------- "Nog geen foto" pictogram: vehicle outline (car and motor with make logo), or box for non-vehicles ---------- */
.no-photo { container-type: inline-size; }
.np-pic { position: relative; display: block; width: clamp(34px, 46cqw, 190px); }
.no-photo .np-pic svg { display: block; width: 100%; max-width: none; min-width: 0; height: auto; opacity: .9; }
.no-photo .np-pic img.np-logo { position: absolute; inset: auto; left: 50%; top: 62%; width: 28%; height: 30%; max-width: none; object-fit: contain; opacity: 1; border-radius: 0; transform: translate(-50%, -50%); transition: none; }
/* Motorbike: a little heavier than the other outlines; the logo sits on a white disc above the rear wheel */
.no-photo .np-motor { stroke-width: 3.2; }
.no-photo .np-pic-motor img.np-logo { left: 22%; top: 16%; width: 22%; height: auto; aspect-ratio: 1; padding: 2px; background: #fff; border-radius: 50%; }
.mini .np-motor, .fav-item .np-motor, .p-item .np-motor, .no-photo.thumb .np-motor { stroke-width: 5; }
.mini .np-motor .np-fine, .fav-item .np-motor .np-fine, .p-item .np-motor .np-fine, .no-photo.thumb .np-motor .np-fine { display: none; }
.gallery-empty .np-pic { width: clamp(120px, 34cqw, 260px); }
.no-photo.thumb .np-pic { width: 72cqw; }
/* Tiny thumbnails: the outline would make the logo unreadable, so show the logo alone */
.mini .np-pic, .fav-item .np-pic, .p-item .np-pic { width: 76%; }
.mini .np-has-logo .np-car, .fav-item .np-has-logo .np-car, .p-item .np-has-logo .np-car { visibility: hidden; }
.mini .np-has-logo .np-motor, .fav-item .np-has-logo .np-motor, .p-item .np-has-logo .np-motor { visibility: visible; }
.mini .np-pic-motor img.np-logo, .fav-item .np-pic-motor img.np-logo, .p-item .np-pic-motor img.np-logo { display: none; }
.mini .np-pic img.np-logo, .fav-item .np-pic img.np-logo, .p-item .np-pic img.np-logo { top: 50%; width: 80%; height: 90%; }

/* Phone/tablet menu */
@media (max-width: 1120px) {
  .menu-toggle { display: inline-grid; }
  .header-inner { position: relative; }
  .main-nav.open {
    display: flex; flex-direction: column; gap: 0; position: absolute; top: 100%; left: 0; right: 0; margin: 0;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-m); box-shadow: var(--shadow-l); padding: 8px; z-index: 5;
  }
  .main-nav.open a { padding: 12px 14px; border-radius: var(--radius-s); box-shadow: none; }
  .main-nav.open a:hover, .main-nav.open a.active { background: var(--ggn-blue-50); box-shadow: none; }
}

/* ---------- Category icons in the filter chips ---------- */
.chip > svg { width: 17px; height: 17px; flex: none; margin-right: -2px; }

/* ---------- "Doe een bod via GGN": modal ---------- */
.bca-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.bca-panel .bca-btns .btn { margin-top: 0; }
.mobile-bar .btn-soft { color: var(--ggn-navy); }
@media (max-width: 480px) { .mobile-bar.has-bid .fab { display: none; } .mobile-bar.has-bid .btn { padding: .7em .8em; font-size: 14px; } }
body.bid-locked { overflow: hidden; }
.bid-overlay { position: fixed; inset: 0; z-index: 125; display: grid; place-items: center; padding: 16px; overflow-y: auto; background: rgba(1, 18, 70, .55); backdrop-filter: blur(3px); animation: bidFade .2s ease both; }
.bid-overlay[hidden] { display: none; }
.bid-modal { position: relative; width: min(620px, 100%); padding: 28px; background: #fff; border-radius: var(--radius-l); box-shadow: var(--shadow-l); animation: bidRise .25s var(--ease-out) both; }
.bid-modal h2 { font-size: 24px; margin: 0 40px 10px 0; }
.bid-modal > p { margin: 0 0 16px; color: var(--ink-soft); }
.bid-close { position: absolute; top: 14px; right: 14px; }
@keyframes bidFade { from { opacity: 0; } }
@keyframes bidRise { from { opacity: 0; transform: translateY(14px); } }
@media (max-width: 600px) { .bid-modal { padding: 22px 18px; } .bid-modal h2 { font-size: 21px; } }
@media (prefers-reduced-motion: reduce) { .bid-overlay, .bid-modal { animation: none; } }
.bid-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
@media (max-width: 600px) { .bid-grid { grid-template-columns: 1fr; } }
.bid-field { display: grid; gap: 5px; align-content: start; min-width: 0; }
.bid-field label { font-weight: 600; font-size: 14px; }
.bid-field small { font-size: 12.5px; color: var(--ink-soft); }
.bid-req { color: var(--ggn-orange); }
.bid-input { width: 100%; height: 44px; padding: 0 12px; border: 1.5px solid var(--line); border-radius: var(--radius-s); background: #fff; font: inherit; color: var(--ink); }
.bid-input:hover { border-color: var(--ggn-navy-50); }
.bid-input[readonly] { background: var(--bg-alt); color: var(--ink-soft); }
.bid-input[aria-invalid="true"] { border-color: var(--danger, #B3261E); }
.bid-err { font-size: 13px; font-weight: 600; color: var(--danger, #B3261E); }
.bid-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.bid-privacy { margin: 14px 0 0; font-size: 13px; color: var(--ink-soft); }
.bid-alert { margin: 12px 0 0; padding: 10px 14px; border-radius: var(--radius-s); background: var(--ggn-peach, #FEF2E9); font-size: 14px; font-weight: 600; }
.bid-form .btn { margin-top: 14px; }
.bid-form .btn.is-busy { opacity: .6; cursor: progress; }
.bid-done { padding: 14px 16px; border-radius: var(--radius-s); background: var(--ggn-blue-50); }
.bid-done:focus { outline: none; }
.bid-done b { display: flex; align-items: center; gap: 8px; }
.bid-done svg { width: 20px; height: 20px; flex: none; }
.bid-done p { margin: 6px 0 12px; color: var(--ink-soft); }

/* ---------- Hero slides: photo or illustration, crossfading the same way ---------- */
.hero-slide { animation: heroFade .9s ease both; }
@keyframes heroFade { from { opacity: 0; } }

/* ---------- Illustration for adverts without photos (built in site.js). Without .hi-live this is simply the finished picture. ---------- */
.hi-card { position: relative; width: 100%; height: 100%; background: linear-gradient(135deg, #011246, #142658); overflow: hidden; }
.hi-card svg { display: block; width: 100%; height: 100%; }
.hi-caption { position: absolute; left: 14px; top: 14px; padding: 4px 12px; border-radius: var(--radius-pill); background: rgba(255, 255, 255, .14); color: #fff; font-size: 13px; font-weight: 600; }
.hi-motif ellipse { fill: none; stroke: #B0DBF9; stroke-width: 1.5; opacity: .22; vector-effect: non-scaling-stroke; }
.hi-draw { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.hi-main { stroke: #fff; stroke-width: 4.5; filter: drop-shadow(0 0 5px rgba(176, 219, 249, .55)); }
.hi-accent { stroke: var(--ggn-orange); stroke-width: 5; filter: drop-shadow(0 0 6px rgba(242, 109, 0, .6)); }
.hi-nl { font: 700 12px var(--font-title); fill: #FFCC00; }
.hi-plate-text { font: 700 29px var(--font-title); letter-spacing: .05em; fill: #111; }
.hi-label { font: 600 24px var(--font-title); fill: #fff; letter-spacing: -.005em; }
.hi-motor .hi-accent .hi-tank { fill: var(--ggn-orange); }
.hi-live .hi-accent > .hi-tank { animation-name: hiDraw, hiTank; animation-duration: .6s, .5s; animation-delay: 1s, 1.4s; }
@keyframes hiTank { from { fill-opacity: 0; } }
.hi-box .hi-main, .hi-landbouw .hi-main, .hi-bus .hi-main { stroke-width: 5.5; }
.hi-box .hi-accent, .hi-landbouw .hi-accent, .hi-bus .hi-accent { stroke-width: 6; }

.hi-live .hi-draw > * { stroke-dasharray: 1; animation: hiDraw 1.15s cubic-bezier(.55, .1, .3, 1) both; }
.hi-live .hi-draw > :nth-child(2) { animation-delay: .1s; }
.hi-live .hi-draw > :nth-child(3) { animation-delay: .2s; }
.hi-live .hi-draw > :nth-child(4) { animation-delay: .3s; }
.hi-live .hi-draw > :nth-child(5) { animation-delay: .4s; }
.hi-live .hi-draw > :nth-child(6) { animation-delay: .5s; }
.hi-live .hi-draw > :nth-child(n+7) { animation-delay: .6s; }
.hi-live .hi-accent > * { animation-duration: .6s; animation-delay: 1s; }
.hi-live .hi-accent > :nth-child(2) { animation-delay: 1.1s; }
.hi-live .hi-accent > :nth-child(n+3) { animation-delay: 1.2s; }
@keyframes hiDraw { 0% { stroke-dashoffset: 1; opacity: 0; } 1% { opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 1; } }
.hi-live .hi-float { animation: hiFloat 4.5s 1.9s ease-in-out infinite; }
@keyframes hiFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.hi-live .hi-badge { animation: hiPop .65s 1.5s cubic-bezier(.3, 1.7, .5, 1) both; }
@keyframes hiPop { from { transform: scale(0); opacity: 0; } 40% { opacity: 1; } }
.hi-live .hi-under { animation: hiSlide .7s 1.7s var(--ease-out) both; }
@keyframes hiSlide { from { transform: translateY(26px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .hero-slide, .hi-live .hi-draw > *, .hi-live .hi-float, .hi-live .hi-badge, .hi-live .hi-under { animation: none; }
  .hi-live .hi-draw > * { stroke-dasharray: none; }
}

/* Phones: room for the whole search hint in the hero */
@media (max-width: 600px) {
  .hero-search .btn svg { display: none; }
  .hero-search { padding-left: 12px; gap: 6px; }
  .hero-search input { font-size: 14px; }
}
