/* Baton Music – opmaak van de publieke site. Donkere modus: variabelen in :root en [data-theme]. */
:root {
  --bg: #faf9f7;
  --surface: #ffffff;
  --border: #e4e0d8;
  --text: #2b2a28;
  --text-muted: #6b6862;
  --accent: #7a3b2e;
  --accent-light: #f1e4de;
  --tag-bg: #efece5;
  --tag-text: #52504a;
  --shadow: 0 1px 3px rgba(0,0,0,0.06);
  --promo-row-alt-bg: #e6e6e6;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #1c1b19;
    --surface: #262523;
    --border: #3a3834;
    --text: #ece9e3;
    --text-muted: #a5a199;
    --accent: #d98a6f;
    --accent-light: #3a2a24;
    --tag-bg: #322f2a;
    --tag-text: #cfc9be;
    --shadow: 0 1px 3px rgba(0,0,0,0.3);
    --promo-row-alt-bg: #2c2c2c;
  }
}
:root[data-theme="dark"] {
  --bg: #1c1b19;
  --surface: #262523;
  --border: #3a3834;
  --text: #ece9e3;
  --text-muted: #a5a199;
  --accent: #d98a6f;
  --accent-light: #3a2a24;
  --tag-bg: #322f2a;
  --tag-text: #cfc9be;
  --shadow: 0 1px 3px rgba(0,0,0,0.3);
  --promo-row-alt-bg: #2c2c2c;
}
* { box-sizing: border-box; }
html { overflow-anchor: none; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
  /* the header + blue nav bar are always fixed to the top (see .site-topbar),
     so the rest of the page always needs this top padding to not sit hidden
     underneath it — unlike the footer, which is never fixed */
  padding-top: var(--topbar-h, 0px);
}
header {
  padding: 0;
  text-align: left;
  background: var(--bg);
}
.site-header-inner {
  max-width: 1500px;
  margin: 0 auto;
  padding: calc(1.4rem + 19px) 1.5rem 1.1rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.brand-mark {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
}
.brand-clickable {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
}
body.has-filters #heroSlider {
  display: none;
}
.home-promo {
  display: none;
}
body:not(.has-filters) .home-promo {
  display: block;
}
body:not(.has-filters) .page-layout {
  display: none;
}
.promo-row {
  padding: 2rem 0;
}
.promo-row:nth-child(even) {
  background: var(--promo-row-alt-bg);
}
.promo-row-inner {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.promo-row-heading {
  font-family: Arial, sans-serif;
  font-weight: 800;
  font-size: 2rem;
  color: #3d3aa8;
  margin: 0 0 1.1rem;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .promo-row-heading { color: #9fc2f0; }
}
:root[data-theme="dark"] .promo-row-heading { color: #9fc2f0; }
:root[data-theme="dark"] .promo-flip-placeholder { background: linear-gradient(135deg, #322f45, #2a2738); }
.promo-carousel {
  position: relative;
  /* width + left offset are set inline by JS so the card row lines up
     exactly with "Baton Music" and the 4th footer column */
}
.promo-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #c22b1f;
  cursor: pointer;
  padding: 0.3rem;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}
.promo-arrow svg { width: 38px; height: 38px; stroke: #c22b1f; }
.promo-arrow:disabled { opacity: 0.25; cursor: default; }
.promo-arrow-left { left: -46px; }
.promo-arrow-right { right: -46px; }
.promo-scroll {
  display: flex;
  gap: 1.7rem;
  width: 100%;
  overflow-x: hidden;
  /* Setting only overflow-x would otherwise make overflow-y compute to
     "auto" (a well-known CSS quirk), silently clipping the cards' hover
     lift at the top/bottom of this horizontally-scrolling row. */
  overflow-y: visible;
  padding: 10px 2px 18px;
  margin: -10px -2px -18px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.promo-scroll::-webkit-scrollbar { display: none; width: 0; height: 0; }
.promo-card {
  flex: 0 0 var(--promo-card-w, 210px);
  display: flex;
  height: var(--promo-card-w, 210px);
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0,0,0,0.12);
  /* Same 3D "lift" feel as the flip gallery: rises slightly and its shadow
     grows, instead of relying on overflow:hidden tricks that would clip in
     a horizontally-scrolling row (see .promo-scroll's overflow-y below). */
  transition: transform 0.22s ease, box-shadow 0.3s ease;
  position: relative;
}
.promo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 36px rgba(0,0,0,0.3);
  z-index: 2;
}
.promo-card-icon {
  flex: 0 0 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.promo-card-icon svg { width: 78%; height: 78%; opacity: 0.85; }
.promo-card-photo-wrap {
  position: relative;
  flex: 0 0 50%;
  overflow: hidden;
}
.promo-card-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  display: block;
  filter: grayscale(100%);
}
.promo-card-photo-tint {
  position: absolute;
  top:0;right:0;bottom:0;left:0;
  opacity: 0.55;
}
.promo-card-info {
  flex: 1 1 auto;
  /* without this, a flex item's default min-width is "auto", so a long
     unbreakable word (a surname) can force this box wider than the fixed-
     size card, and .promo-card's overflow:hidden then clips it — cutting
     off the right edge of the name box's white border, not just the text */
  min-width: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  padding: 0.55rem 0.6rem;
  font-family: Arial, sans-serif;
}
.promo-card-title {
  /* .promo-card-info is a flex column, so its direct children are flex
     items whose default min-width is "auto" — without this, a long word
     here can grow this item past the box's real width instead of wrapping
     within it */
  min-width: 0;
  flex: 0 0 auto;
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  line-height: 1.25;
  overflow-wrap: break-word;
}
.promo-card-name {
  /* always exactly half the height of the right-hand column, anchored to
     its bottom (the auto top margin absorbs whatever space the title
     doesn't use), with the name anchored top-left inside it — matching
     the reference design */
  flex: 0 0 50%;
  margin-top: auto;
  min-width: 0;
  box-sizing: border-box;
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 0.8rem;
  font-weight: 400;
  overflow-wrap: break-word;
  border: 1px solid rgba(255,255,255,0.7);
  padding: 0.5rem 0.5rem;
  line-height: 1.3;
}
.brand-mark svg, .brand-mark img { width: 100%; height: 100%; }
.brand-name {
  display: flex;
  align-items: center;
  font-family: 'EB Garamond', Georgia, 'Times New Roman', serif;
  font-size: 2.9rem;
  color: var(--text);
  line-height: 1;
}
.header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.6rem;
}
.brand-tagline {
  width: 700px;
  overflow: hidden;
  position: absolute;
  -webkit-mask-image: linear-gradient(to right, transparent 0, black 15px, black calc(100% - 15px), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, black 15px, black calc(100% - 15px), transparent 100%);
}
.brand-tagline-text {
  display: inline-block;
  white-space: nowrap;
  font-family: Arial, sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  animation: taglineTicker 26s ease-in-out infinite;
}
@keyframes taglineTicker {
  0% { transform: translateX(-100%); opacity: 1; }
  18% { transform: translateX(23px); opacity: 1; }
  60% { transform: translateX(23px); opacity: 1; }
  100% { transform: translateX(420px); opacity: 0; }
}
.header-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  transform: translateX(-215px);
}
.header-nav {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: Arial, sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.header-nav a {
  color: var(--text-muted);
  text-decoration: none;
  cursor: pointer;
}
.header-nav .nav-sep {
  display: inline-block;
  width: 1px;
  height: 0.85em;
  background: var(--text-muted);
}
.header-social {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.header-social-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #a89a8c;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.header-social-icon svg {
  width: 18px;
  height: 18px;
  color: #fff;
}
.header-social-icon:first-child svg {
  width: 22px;
  height: 22px;
}
.header-search-row {
  display: flex;
  align-items: center;
  gap: 0;
  transform: translateX(-140px);
}
.header-search-row input {
  width: 360px;
  padding: 0.45rem 0.7rem;
  border: 1px solid rgba(0,0,0,0.3);
  border-radius: 3px;
  background: var(--surface);
  color: var(--text);
  font-size: 0.85rem;
  font-family: Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .header-search-row input { border-color: rgba(255,255,255,0.3); }
}
:root[data-theme="dark"] .header-search-row input { border-color: rgba(255,255,255,0.3); }
.header-cart {
  position: relative;
  display: flex;
  align-items: center;
  color: var(--text-muted);
  cursor: pointer;
}
.header-cart svg { width: 38px; height: 38px; }
.header-cart .cart-badge {
  position: absolute;
  top: -8px;
  right: -10px;
  background: #c22b1f;
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-slider {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0 auto;
  aspect-ratio: 1900 / 500;
  max-height: 600px;
  overflow: hidden;
  background: #1c1b19;
}
.hero-track {
  position: relative;
  width: 100%;
  height: 100%;
}
.hero-slide {
  position: absolute;
  top:0;right:0;bottom:0;left:0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  z-index: 1;
  /* The outgoing slide stays fully visible (delay) while the new one fades in on top,
     so the two never dip through the dark background. */
  transition: opacity 1.6s ease-in-out 1.6s, filter 0.2s ease;
  pointer-events: none;
}
.hero-slide.active {
  opacity: 1;
  z-index: 2;
  transition: opacity 1.6s ease-in-out, filter 0.2s ease;
  pointer-events: auto;
}
.hero-slide.has-link {
  cursor: pointer;
}
.hero-slide.has-link:hover {
  filter: brightness(0.92);
}
.hero-slide-caption {
  position: absolute;
  left: 3.5rem;
  bottom: 5.2rem;
  max-width: 44%;
  display: inline-block;
}
.hero-slide-caption-line {
  font-family: Arial, sans-serif;
  font-size: 1.5rem;
  line-height: 1.3;
  letter-spacing: 0.02em;
}
.hero-slide-caption-line + .hero-slide-caption-line {
  margin-top: 0.15em;
}
.hero-slide.active .hero-slide-caption {
  animation: heroCaptionSlideIn 1.5s ease-out;
}
@keyframes heroCaptionSlideIn {
  from { opacity: 0; transform: translateX(-48px); }
  to { opacity: 1; transform: translateX(0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide.active .hero-slide-caption { animation: none; }
}
.hero-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.9rem;
  display: flex;
  justify-content: center;
  gap: 0.55rem;
  z-index: 5;
}
.hero-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  border: none;
  padding: 0;
  cursor: pointer;
}
.hero-dot.active {
  background: #fff;
}
@media (max-width: 640px) {
  .hero-slide-caption { max-width: 80%; left: 1.8rem; bottom: 3.4rem; }
  .hero-slide-caption-line { font-size: 1.05rem; }
}
.contact-page {
  display: none;
}
body.contact-open #heroSlider,
body.contact-open #homePromo,
body.contact-open .wrap {
  display: none;
}
body.contact-open .contact-page {
  display: block;
}
.contact-hero {
  width: 100%;
  max-width: 1900px;
  margin: 0 auto;
  overflow: hidden;
}
.contact-hero img {
  display: block;
  width: 100%;
  height: auto;
}
.contact-body {
  max-width: 1100px;
  margin: 38px auto;
  padding: 0 1.5rem;
  text-align: center;
}
.contact-inner {
  display: inline-block;
  text-align: left;
}
.contact-heading {
  font-family: 'Fira Sans', Optima, Candara, 'Segoe UI', Arial, sans-serif;
  font-weight: 600;
  font-size: 2.2rem;
  color: #3d3aa8;
  margin: 0 0 1.6rem;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .contact-heading { color: #9fc2f0; }
}
:root[data-theme="dark"] .contact-heading { color: #9fc2f0; }
.contact-details {
  font-family: Arial, sans-serif;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text);
}
.contact-details a {
  color: #3d3aa8;
  text-decoration: none;
}
.contact-details a:hover {
  text-decoration: underline;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .contact-details a { color: #9fc2f0; }
}
:root[data-theme="dark"] .contact-details a { color: #9fc2f0; }
.contact-details .contact-block {
  margin: 0 0 1.3rem;
}
.about-page {
  display: none;
}
body.about-open #heroSlider,
body.about-open #homePromo,
body.about-open .wrap {
  display: none;
}
body.about-open #aboutPage {
  display: block;
}
.about-body {
  max-width: 1100px;
  margin: 38px auto;
  padding: 0 1.5rem;
  text-align: center;
}
.about-inner {
  display: inline-block;
  text-align: left;
  max-width: 760px;
}
.about-heading {
  font-family: 'Fira Sans', Optima, Candara, 'Segoe UI', Arial, sans-serif;
  font-weight: 600;
  font-size: 2.2rem;
  color: #3d3aa8;
  margin: 0 0 1.6rem;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .about-heading { color: #9fc2f0; }
}
:root[data-theme="dark"] .about-heading { color: #9fc2f0; }
.about-text {
  font-family: Arial, sans-serif;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text);
}
.about-text p {
  margin: 0 0 1.3rem;
}
.about-text p:last-child {
  margin-bottom: 0;
}
body.privacy-open #heroSlider,
body.privacy-open #homePromo,
body.privacy-open .wrap {
  display: none;
}
body.privacy-open #privacyPage {
  display: block;
}
.privacy-page .about-text h2 {
  font-family: 'Fira Sans', Optima, Candara, 'Segoe UI', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin: 1.8rem 0 0.6rem;
  color: #3d3aa8;
}
.privacy-page .about-text h3 {
  font-size: 1.05rem;
  margin: 1.3rem 0 0.4rem;
}
.privacy-page .about-text ul { margin: 0 0 1.3rem; padding-left: 1.4rem; }
.privacy-page .about-text a { color: #3d3aa8; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .privacy-page .about-text h2, :root:not([data-theme="light"]) .privacy-page .about-text a { color: #9fc2f0; }
}
:root[data-theme="dark"] .privacy-page .about-text h2, :root[data-theme="dark"] .privacy-page .about-text a { color: #9fc2f0; }
body.terms-open #heroSlider,
body.terms-open #homePromo,
body.terms-open .wrap {
  display: none;
}
body.terms-open .terms-page {
  display: block;
}
.terms-langbar { display: flex; gap: 0.5rem; margin: -0.6rem 0 1.4rem; }
.terms-lang-btn {
  font-family: Arial, sans-serif; font-size: 0.85rem; font-weight: 700;
  padding: 0.4rem 1rem; border-radius: 999px; cursor: pointer;
  border: 1px solid #3d3aa8; background: transparent; color: #3d3aa8;
}
.terms-lang-btn.active { background: #3d3aa8; color: #fff; }
.terms-text[hidden] { display: none; }
.terms-doc-title { font-weight: 700; }
.terms-text h2 { scroll-margin-top: 190px; }
.terms-note { font-style: italic; color: var(--text-muted); font-size: 0.85rem; }
.terms-jump { font-size: 0.9rem; }
.terms-page .about-text h2 { font-size: 1.5rem; margin-top: 2.2rem; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .terms-lang-btn { border-color: #9fc2f0; color: #9fc2f0; }
  :root:not([data-theme="light"]) .terms-lang-btn.active { background: #9fc2f0; color: #111; }
}
:root[data-theme="dark"] .terms-lang-btn { border-color: #9fc2f0; color: #9fc2f0; }
:root[data-theme="dark"] .terms-lang-btn.active { background: #9fc2f0; color: #111; }
.results-pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.4rem; margin: 1.6rem auto 2rem; font-family: Arial, sans-serif; }
.results-pager[hidden] { display: none; }
.pager-btn { min-width: 2.2rem; padding: 0.45rem 0.7rem; border: 1px solid var(--border); border-radius: 6px; background: var(--surface); color: var(--text); font-size: 0.85rem; cursor: pointer; }
.pager-btn:hover:not([disabled]):not(.active) { border-color: #3d3aa8; color: #3d3aa8; }
.pager-btn.active { background: #3d3aa8; border-color: #3d3aa8; color: #fff; font-weight: 700; cursor: default; }
.pager-btn[disabled] { opacity: 0.4; cursor: default; }
.pager-gap { padding: 0 0.2rem; color: var(--text-muted); }
.pager-info { flex-basis: 100%; text-align: center; font-size: 0.8rem; color: var(--text-muted); margin-top: 0.3rem; }
body.modal-open .results-pager, body.about-open .results-pager, body.contact-open .results-pager, body.cd-open .results-pager, body.privacy-open .results-pager, body.terms-open .results-pager { display: none; }
@media (max-width: 600px) { .pager-btn { min-width: 2rem; padding: 0.4rem 0.5rem; } }
.cd-page {
  display: none;
}
body.cd-open #heroSlider,
body.cd-open #homePromo,
body.cd-open .wrap {
  display: none;
}
body.cd-open .cd-page {
  display: block;
}
.cd-body {
  max-width: 1200px;
  margin: 38px auto;
  padding: 0 1.5rem;
}
.cd-heading {
  font-family: 'Fira Sans', Optima, Candara, 'Segoe UI', Arial, sans-serif;
  font-weight: 600;
  font-size: 2.2rem;
  color: #3d3aa8;
  margin: 0 0 1.8rem;
  text-align: center;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .cd-heading { color: #9fc2f0; }
}
:root[data-theme="dark"] .cd-heading { color: #9fc2f0; }
body.cd-detail .cd-heading { display: none; }
.cd-back-row {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 1rem;
}
.cd-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2.4rem 1.8rem;
  padding-top: 0.6rem;
}
.cd-tile {
  cursor: pointer;
  min-width: 0;
  outline: none;
}
.cd-tile-cover {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 4px;
  background: var(--tag-bg);
  box-shadow: 0 1px 4px rgba(0,0,0,0.22);
  /* same "lift" as the home-page promo cards */
  transition: transform 0.22s ease, box-shadow 0.3s ease;
}
.cd-tile:hover .cd-tile-cover,
.cd-tile:focus-visible .cd-tile-cover {
  transform: translateY(-8px);
  box-shadow: 0 20px 36px rgba(0,0,0,0.3);
}
.cd-tile-title {
  margin-top: 0.8rem;
  font-family: 'Fira Sans', Optima, Candara, 'Segoe UI', Arial, sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.3;
  color: var(--text);
  text-align: center;
  overflow-wrap: break-word;
}
.cd-tile:hover .cd-tile-title { color: #c22b1f; }
@media (max-width: 900px) {
  .cd-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .cd-grid { grid-template-columns: repeat(2, 1fr); }
}
.cd-row {
  display: flex;
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}
.cd-row:first-child {
  padding-top: 0;
}
.cd-row:last-child {
  border-bottom: none;
}
.cd-cover {
  flex: 0 0 220px;
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 4px;
  background: var(--tag-bg);
}
.cd-main {
  flex: 0 0 260px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.cd-title {
  font-family: 'Fira Sans', Optima, Candara, 'Segoe UI', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--text);
  margin: 0 0 0.3rem;
}
.cd-credit {
  padding-left: 0.6em;
  text-indent: -0.6em;
  font-family: Arial, sans-serif;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--text);
}
.cd-price {
  font-family: Arial, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: #c22b1f;
  margin: 0.6rem 0 0.4rem;
}
.cd-add-btn {
  font-family: Arial, sans-serif;
  font-size: 0.78rem;
  color: #c22b1f;
  background: #fff;
  border: 1px solid #c22b1f;
  border-radius: 2px;
  padding: 0.3rem 0.6rem;
  cursor: pointer;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: background 0.15s ease, color 0.15s ease;
}
.cd-add-btn:hover {
  background: #c22b1f;
  color: #fff;
}
.cd-add-btn.in-cart {
  color: #2f7a3d;
  background: #eef7ee;
  border-color: #2f7a3d;
}
.cd-add-btn.in-cart:hover {
  background: #2f7a3d;
  color: #fff;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .cd-add-btn.in-cart { background: #1c3320; color: #7fd18f; }
}
:root[data-theme="dark"] .cd-add-btn.in-cart { background: #1c3320; color: #7fd18f; }
.cd-tracks {
  flex: 1 1 auto;
  min-width: 0;
  font-family: Arial, sans-serif;
  font-size: 0.9rem;
  line-height: 1.6;
}
.cd-track-row {
  padding: 0.1rem 0;
}
.cd-track-title {
  color: #3d3aa8;
  font-weight: 700;
}
.cd-track-link { cursor: pointer; }
.cd-track-link:hover { color: #c22b1f; text-decoration: underline; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .cd-track-title { color: #9fc2f0; }
}
:root[data-theme="dark"] .cd-track-title { color: #9fc2f0; }
.cd-track-composer {
  color: var(--text);
}
@media (max-width: 760px) {
  .cd-row { flex-direction: column; align-items: center; text-align: center; }
  .cd-main { align-items: center; }
  .cd-add-btn { align-self: center; }
  .cd-tracks { width: 100%; text-align: left; }
}
.wrap {
  max-width: 1460px;
  margin: 0 auto;
  padding: 1.5rem;
  scroll-margin-top: var(--topbar-h, 0px);
}
.page-layout {
  display: flex;
  gap: 0;
  align-items: stretch;
}
.v-divider {
  flex: 0 0 1px;
  width: 1px;
  background: #000000;
  align-self: stretch;
}
.v-divider-left {
  margin-left: 1.6rem;
  margin-right: 0.4rem;
}
.v-divider-right {
  margin-left: 0.4rem;
  margin-right: 0.9rem;
}
.sidebar {
  flex: 0 0 220px;
  font-family: Arial, sans-serif;
}
.main-content {
  flex: 1 1 auto;
  min-width: 0;
}
.promo-sidebar {
  flex: 0 0 250px;
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  margin-left: 1.6rem;
  padding-top: 1.6rem;
  padding-bottom: 1.6rem;
}
.promo-flip-item {
  display: flex;
  flex-direction: column;
}
.promo-flip-wrap {
  position: relative;
  width: 250px;
  height: 250px;
  cursor: pointer;
  border-radius: 4px;
  box-shadow: 0 1px 5px rgba(0,0,0,0.28);
  transition: transform 0.22s ease-in, box-shadow 0.4s ease;
}
.promo-flip-wrap.squeeze {
  transform: scaleX(0.02);
  transition: transform 0.22s ease-in;
}
.promo-flip-wrap:hover {
  box-shadow: 0 20px 36px rgba(0,0,0,0.38);
}
.promo-flip-face {
  position: absolute;
  top:0;right:0;bottom:0;left:0;
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
  display: block;
  /* zachte overgang tussen de zijden (update 125) */
  opacity: 0;
  visibility: hidden;
  z-index: 0;
  transition: opacity 0.9s ease, visibility 0s linear 0.9s;
}
.promo-flip-face.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
  transition: opacity 0.9s ease, visibility 0s linear 0s;
}
.promo-flip-back {
  /* subtle page-shading so the back reads as the underside of a turned
     page catching less light than the front cover */
  box-shadow: inset 10px 0 24px -14px rgba(0,0,0,0.45);
}
.promo-flip-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.promo-flip-score-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.promo-flip-glare {
  position: absolute;
  top:0;right:0;bottom:0;left:0;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.55), rgba(255,255,255,0) 60%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  mix-blend-mode: overlay;
}
.promo-flip-wrap:hover .promo-flip-glare {
  opacity: 1;
}
.promo-flip-zoom-hint {
  position: absolute;
  right: 0.4rem;
  bottom: 0.4rem;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(0,0,0,0.6);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-in;
}
.promo-flip-zoom-hint svg {
  width: 15px;
  height: 15px;
}
.promo-flip-zoom-hint:hover {
  background: #c22b1f;
}
.promo-block-rotate-btn {
  position: absolute;
  right: 0.4rem;
  top: 50%;
  margin-top: -13px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(0,0,0,0.22);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  opacity: 0.75;
  transition: background 0.2s ease, opacity 0.2s ease;
}
.promo-block-rotate-btn svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}
.promo-block-rotate-btn:hover {
  background: rgba(0,0,0,0.45);
  opacity: 1;
}
.promo-block-rotate-btn:hover svg { transform: translateX(2px); }
/* "vrij" (free-form) promo items don't show the uploaded photo on the
   card itself — that's revealed in the info popup on click. Instead the
   front face is a generated cover: a brand-colored gradient panel with
   the item's own title/subtitle typeset on it, like a little book cover,
   plus a pill inviting the click. */
.promo-flip-vrij-cover {
  width: 100%;
  height: 100%;
  background: linear-gradient(150deg, #3d3aa8 0%, #7a3696 48%, #c22b1f 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.7rem 1.3rem;
  position: relative;
  overflow: hidden;
}
.promo-flip-vrij-cover::before {
  content: '';
  position: absolute;
  top:-25%;right:-25%;bottom:-25%;left:-25%;
  background:
    radial-gradient(circle at 28% 18%, rgba(255,255,255,0.20), transparent 55%),
    radial-gradient(circle at 82% 88%, rgba(255,255,255,0.14), transparent 50%);
  pointer-events: none;
}
.promo-flip-vrij-title {
  font-family: 'EB Garamond', Georgia, serif;
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 1.18;
  color: #fff;
  position: relative;
}
.promo-flip-vrij-sub {
  font-family: 'EB Garamond', Georgia, serif;
  font-style: italic;
  font-size: 1.05rem;
  color: rgba(255,255,255,0.92);
  margin-top: 0.35rem;
  position: relative;
}
.promo-flip-vrij-cta {
  margin-top: 1.4rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 3px 10px rgba(0,0,0,0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.promo-flip-vrij-cta svg {
  width: 18px;
  height: 18px;
  stroke: #c22b1f;
  transition: transform 0.2s ease;
}
.promo-flip-wrap:hover .promo-flip-vrij-cta {
  transform: scale(1.08);
  box-shadow: 0 5px 16px rgba(0,0,0,0.35);
}
.promo-flip-wrap:hover .promo-flip-vrij-cta svg {
  transform: translateX(2px);
}
/* Single "vrij" (free-form) block in the list-view sidebar: a plain
   top/bottom split card — the uploaded image on top (scaled down to fit,
   not the full-bleed gradient cover used in the flip-book version), a
   solid-color panel below with the title/subtitle set in plain text, both
   lines the same size and upright (not italic). */
.promo-card-vrij {
  flex-direction: column;
}
.promo-card-vrij-photo {
  flex: 0 0 50%;
  background-size: cover;
  /* The uploaded image (typically a wide ~1900x500 banner) is much wider
     than this card's top half, so cover() crops most of its width away.
     The subject tends to sit a little right of center in these banners,
     not all the way at the edge — 70% keeps it in view without cropping
     into it the way a full "right" alignment would. */
  background-position: 70% center;
  background-color: var(--tag-bg);
}
.promo-card-vrij-photo-empty {
  background: linear-gradient(150deg, #3d3aa8 0%, #7a3696 100%);
}
.promo-card-vrij-info {
  flex: 1 1 auto;
  min-width: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.2rem;
  padding: 0.55rem 0.6rem 0.55rem 0.85rem;
  background: #3d3aa8;
  font-family: Arial, sans-serif;
}
/* In the list-view sidebar the image fills the whole block; the two text
   lines sit on a darker, semi-transparent band along the bottom. */
.promo-sidebar .promo-card-vrij-photo {
  position: absolute;
  top:0;right:0;bottom:0;left:0;
}
.promo-sidebar .promo-card-vrij-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.8rem;
  background: rgba(20, 18, 70, 0.38);
  justify-content: flex-end;
  align-items: center;
  text-align: center;
  padding: 0.6rem 0.7rem 0.65rem 0.7rem;
}
.promo-card-vrij-line {
  min-width: 0;
  color: #fff;
  text-align: center;
  font-style: normal;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.2;
  overflow-wrap: break-word;
}
.promo-flip-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ece9f7, #e3dff2);
  color: var(--text-muted);
  font-family: Arial, sans-serif;
  font-size: 0.78rem;
  text-align: center;
  padding: 1rem;
}
.promo-flip-caption {
  margin-top: 0.5rem;
  font-family: Arial, sans-serif;
  font-size: 0.74rem;
  line-height: 1.3;
  color: var(--text);
  cursor: pointer;
}
.promo-flip-caption-title {
  font-weight: 700;
}
.promo-flip-caption:hover { text-decoration: underline; }
@media (max-width: 1080px) {
  .promo-sidebar { display: none; }
}
.promo-preview-overlay {
  position: fixed;
  top:0;right:0;bottom:0;left:0;
  background: rgba(0,0,0,0.75);
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem;
  cursor: pointer;
}
.promo-preview-overlay.open { display: flex; }
.promo-preview-overlay img {
  max-width: 88vw;
  max-height: 82vh;
  width: auto;
  height: auto;
  object-fit: contain;
  background: #fff;
  border-radius: 3px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.55);
  cursor: pointer;
}
.promo-preview-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1.6rem;
  text-align: center;
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 0.95rem;
  pointer-events: none;
}
.promo-preview-close {
  position: absolute;
  top: 1.2rem;
  right: 1.4rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.promo-preview-close:hover { background: rgba(255,255,255,0.28); }

/* "vrij item" info popup — a rounded white card (rather than the
   full-bleed score lightbox above), used for free-form promo items that
   have no score page to flip to, just a story to tell. */
.vrij-popup-overlay {
  position: fixed;
  top:0;right:0;bottom:0;left:0;
  background: rgba(20,17,10,0.6);
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.vrij-popup-overlay.open { display: flex; }
.vrij-popup-card {
  background: var(--surface);
  color: var(--text);
  width: 480px;
  max-width: 100%;
  max-height: 86vh;
  overflow-y: auto;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  position: relative;
}
.vrij-popup-close {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(0,0,0,0.45);
  color: #fff;
  font-size: 1.3rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1;
}
.vrij-popup-close:hover { background: #c22b1f; }
.vrij-popup-img {
  width: 100%;
  max-height: 260px;
  object-fit: cover;
  display: block;
}
.vrij-popup-body {
  padding: 1.4rem 1.6rem 1.7rem;
  font-family: Arial, sans-serif;
}
.vrij-popup-title {
  font-family: 'EB Garamond', Georgia, serif;
  color: #e0621c;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.15;
}
.vrij-popup-subtitel {
  color: #e0621c;
  font-size: 1rem;
  font-weight: 400;
  margin: 0.2rem 0 0;
}
.vrij-popup-desc {
  margin: 1rem 0 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text);
  white-space: pre-line;
}
.vrij-popup-link {
  display: inline-block;
  margin-top: 1.2rem;
  background: transparent;
  color: #3d3aa8;
  border: 1px solid #3d3aa8;
  font-weight: 600;
  font-size: 0.8rem;
  text-decoration: none;
  padding: 0.45rem 1rem;
  border-radius: 4px;
  transition: background 0.2s ease, color 0.2s ease;
}
.vrij-popup-link:hover { background: #3d3aa8; color: #fff; }

/* newsletter sign-up popup (reuses the vrij-popup card) */
.payment-single { max-width: 560px; }
.payment-mollie-note { margin: 0.5rem 0 1.4rem; font-family: Arial, sans-serif; font-size: 1rem; line-height: 1.55; }
.vrij-popup-title.nl-title { color: #c22b1f; font-family: 'Fira Sans', Optima, Candara, 'Segoe UI', Arial, sans-serif; font-weight: 600; font-size: 2.2rem; line-height: 1.1; margin: 0; }
.nl-form { margin-top: 1rem; }
.nl-form .checkout-field { margin-bottom: 0.8rem; }
.nl-hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.nl-captcha { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.5rem; }
.nl-captcha img { height: 56px; width: auto; border: 1px solid var(--border); border-radius: 6px; background: #faf9f7; display: block; }
.nl-captcha-refresh { background: transparent; border: 1px solid var(--border); border-radius: 6px; color: var(--text-muted); cursor: pointer; width: 34px; height: 34px; font-size: 1.1rem; line-height: 1; }
.nl-captcha-refresh:hover { border-color: #3d3aa8; color: #3d3aa8; }
.nl-consent { display: flex; gap: 0.5rem; align-items: flex-start; font-size: 0.8rem; line-height: 1.4; color: var(--text-muted); margin: 0.2rem 0 1rem; font-family: Arial, sans-serif; }
.nl-consent input { margin-top: 0.15rem; flex-shrink: 0; }
.nl-msg { font-size: 0.85rem; margin-top: 0.8rem; min-height: 1.2em; color: #c22b1f; font-family: Arial, sans-serif; }
.nl-submit { background: #3d3aa8; color: #fff; border: 1px solid #3d3aa8; font-weight: 600; font-size: 0.85rem; padding: 0.55rem 1.3rem; border-radius: 4px; cursor: pointer; }
.nl-submit:hover { background: #2f2d86; }
.nl-submit:disabled { opacity: 0.6; cursor: default; }
.nl-done { margin-top: 1rem; font-size: 0.92rem; line-height: 1.55; font-family: Arial, sans-serif; }
.sidebar-section {
  margin-bottom: 1.5rem;
}
.sidebar-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 400;
  font-size: 1.05rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text);
  padding-top: 0.75rem;
  border-top: 3px solid var(--border);
}
.sidebar-section-header .chevron {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform 0.2s ease;
}
.sidebar-section-header .chevron svg {
  width: 100%;
  height: 100%;
  display: block;
}
.sidebar-section.collapsed .chevron { transform: rotate(-90deg); }
.sidebar-section-body {
  padding-top: 0.75rem;
}
.sidebar-section.collapsed .sidebar-section-body { display: none; }
.az-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.35rem;
  font-size: 0.78rem;
}
.az-letter {
  width: 1.1rem;
  text-align: center;
  color: var(--border);
  cursor: default;
}
.az-letter.available {
  color: var(--text-muted);
  cursor: pointer;
  font-weight: 600;
}
.az-letter.available:hover { color: var(--accent); }
.az-letter.active {
  color: #c22b1f;
}
.list-scroll-wrap {
  position: relative;
  margin-top: 0.85rem;
}
.composer-list, .arranger-list {
  max-height: 260px;
  overflow-y: auto;
  padding-right: 0.7rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.composer-list::-webkit-scrollbar, .arranger-list::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}
.genre-list, .instrumentatie-list {
  /* Genre and Instrumentation are shown fully expanded, no scrollbar */
  max-height: none;
  overflow: visible;
}
.scroll-track {
  position: absolute;
  top: 0;
  right: 0;
  width: 5px;
  height: 100%;
  border-radius: 3px;
  background: #f6d3d9;
  display: none;
  z-index: 4;
}
.scroll-thumb {
  position: absolute;
  top: 0;
  right: 0;
  width: 5px;
  min-height: 20px;
  border-radius: 3px;
  background: #e8536b;
  display: none;
  z-index: 5;
  cursor: pointer;
}
.scroll-thumb:hover, .scroll-thumb.dragging {
  background: #c22b1f;
}
.composer-list-item, .arranger-list-item, .genre-list-item, .instrumentatie-list-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.28rem 0;
  font-size: 0.85rem;
  color: var(--text);
  cursor: pointer;
}
.instrumentatie-group-header {
  color: #c22b1f;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 0.78rem;
  margin: 0.6rem 0 0.15rem;
}
.radio-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1.5px solid var(--text-muted);
  flex-shrink: 0;
}
.radio-dot.selected {
  background: #000;
  border-color: #000;
}
.checkbox-box {
  width: 12px;
  height: 12px;
  border: 1.5px solid var(--text-muted);
  flex-shrink: 0;
}
.checkbox-box.checked {
  background: #000;
  border-color: #000;
}
@media (max-width: 900px) {
  .page-layout { flex-direction: column; }
  .sidebar { flex: 0 0 auto; width: 100%; }
  .v-divider { display: none; }
}
.controls {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow);
  font-family: Arial, sans-serif;
}
.search-row {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.search-row input {
  flex: 1;
  padding: 0.6rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg);
  color: var(--text);
  font-size: 1rem;
  font-family: Arial, sans-serif;
}
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.filters select {
  padding: 0.4rem 0.6rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg);
  color: var(--text);
  font-size: 0.85rem;
  font-family: Arial, sans-serif;
  max-width: 47%;
}
.reset-btn {
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--tag-bg);
  color: var(--text);
  font-size: 0.85rem;
  font-family: Arial, sans-serif;
  cursor: pointer;
}
.reset-btn:hover { background: var(--accent-light); }
.result-count {
  display: none;
}
.active-filters {
  display: none;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  padding: 0.3rem 0 1.1rem calc(220px + 1.6rem);
  font-family: Arial, sans-serif;
  /* so scrolling here after applying a filter stops just below the fixed
     header + blue nav bar (with its normal spacing intact), instead of
     leaving an extra gap or tucking underneath it */
  scroll-margin-top: var(--topbar-h, 0px);
}
.page-layout {
  scroll-margin-top: var(--topbar-h, 0px);
}
body.has-filters .wrap {
  padding-top: 0.6rem;
}
.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text);
  cursor: pointer;
}
.filter-chip .chip-x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  background: #000;
  color: #fff;
  font-size: 0.6rem;
  line-height: 1;
  border-radius: 2px;
}
.filter-chip:hover { color: #c22b1f; }
.filter-chip:hover .chip-x { background: #c22b1f; }
.results-grid {
  display: grid;
  grid-template-columns: 1fr 1.5px 2fr 1.5px 1fr;
  row-gap: 0.75rem;
  position: relative;
  padding: 0 1.2rem;
  /* the header + blue nav bar are position:fixed on top of the page, so
     scrollIntoView() must stop short of the very top of the viewport —
     otherwise the fixed bar covers the first row(s) of the list it just
     scrolled to. */
  scroll-margin-top: var(--topbar-h, 0px);
}
.row-wrap { display: contents; }
.results-grid .divider {
  background: #000000;
  width: 1px;
}
.results-grid .head-cell {
  color: #c22b1f;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-family: Arial, sans-serif;
  padding: 0 1.5rem 0.6rem;
  grid-row: 1;
}
.results-grid .row-bg {
  background: #e4f1fb;
  border-radius: 4px;
  align-self: stretch;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .results-grid .row-bg { background: #22324a; }
}
:root[data-theme="dark"] .results-grid .row-bg { background: #22324a; }
.results-grid .cell {
  padding: 0.7rem 1.5rem;
  align-self: stretch;
}
.cell-componist {
  font-family: Arial, sans-serif;
  font-size: 0.9rem;
  color: #1b3a6b;
  cursor: pointer;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .cell-componist { color: #9fc2f0; }
}
:root[data-theme="dark"] .cell-componist { color: #9fc2f0; }
.titel-link {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  font-family: Arial, sans-serif;
}
.subtitel {
  color: var(--text);
  font-size: 0.92rem;
  margin-top: 0.15rem;
  font-family: Arial, sans-serif;
}
.instrumentatie-line {
  font-size: 0.92rem;
  color: var(--text);
  margin-top: 0.15rem;
  font-family: Arial, sans-serif;
}
.cell-arrangeur {
  font-family: Arial, sans-serif;
  font-size: 0.9rem;
  color: #1b3a6b;
  cursor: pointer;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .cell-arrangeur { color: #9fc2f0; }
}
:root[data-theme="dark"] .cell-arrangeur { color: #9fc2f0; }
.row-hover.cell-componist,
.row-hover.cell-arrangeur,
.row-hover .titel-link,
.row-hover.titel-link {
  color: #c22b1f !important;
}
.tags {
  margin-top: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.tag {
  background: var(--tag-bg);
  color: var(--tag-text);
  font-family: Arial, sans-serif;
  font-size: 0.72rem;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
}
.price {
  font-family: Arial, sans-serif;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
}
.empty {
  text-align: center;
  color: var(--text-muted);
  font-family: Arial, sans-serif;
  padding: 3rem 1rem;
}

/* Detail modal */
.overlay {
  display: none;
  position: fixed;
  top:0;right:0;bottom:0;left:0;
  background: var(--bg);
  z-index: 50;
  overflow-y: auto;
}
.overlay.open { display: block; }
.site-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--bg);
}
body.modal-open .overlay {
  position: static;
  top:auto;right:auto;bottom:auto;left:auto;
  box-sizing: border-box;
  overflow-y: visible;
}
body.modal-open .hero-slider,
body.modal-open .wrap,
body.modal-open .home-promo {
  display: none;
}
.detail-page {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 0;
}
/* the "back to results" row always marks the end of a work's detail, so the
   footer should follow close behind it instead of trailing extra page
   padding */
body.modal-open .site-footer {
  margin-top: 3rem;
}
.detail-top {
  display: block;
}
.detail-title-block {
  min-width: 0;
}
.detail-title {
  color: #e0621c;
  font-family: 'Fira Sans', Optima, Candara, 'Segoe UI', Arial, sans-serif;
  font-size: 2.2rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.1;
}
.detail-subtitel {
  color: #e0621c;
  font-family: 'Fira Sans', Optima, Candara, 'Segoe UI', Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 300;
  margin: 0.5rem 0 0;
}
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.6rem;
  margin-top: 0.7rem;
  margin-right: calc(232px + 1.5rem); /* flush with the right edge of the blue block */
}
.detail-btn {
  font-family: Arial, sans-serif;
  font-weight: 200;
  font-size: 1rem;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 1.25rem;
  padding: 0 0.3rem;
  border: none;
  border-radius: 2px;
  cursor: pointer;
}
.detail-btn.checkout-red {
  background: #c22b1f;
  color: #fff;
}
.detail-btn.checkout-red:hover { filter: brightness(1.08); }
.detail-btn.back {
  background: #3d3aa8;
  color: rgba(255,255,255,0.88);
}
.detail-btn.cart {
  background: var(--tag-bg);
  color: var(--text-muted);
  cursor: default;
}
.detail-btn.cart.has-items {
  background: #c22b1f;
  color: rgba(255,255,255,0.88);
  cursor: pointer;
}
.detail-info {
  background: #e4f1fb;
  border-radius: 4px;
  padding: 1.2rem 1.5rem;
  margin-top: 1.2rem;
  font-family: Arial, sans-serif;
  font-size: 0.95rem;
  /* flex-basis 0 + min-width 0: a long instrumentation list wraps onto
     several lines inside the box instead of widening it and pushing the
     whole box below the portrait. */
  flex: 1 1 0;
  min-width: 0;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .detail-info,
  :root:not([data-theme="light"]) .detail-desc { background: #22324a; }
}
:root[data-theme="dark"] .detail-info,
:root[data-theme="dark"] .detail-desc { background: #22324a; }
.detail-info-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  padding: 0.14rem 0;
  line-height: 1.3;
}
.detail-info-row > span:last-child {
  min-width: 0;
  overflow-wrap: anywhere;
}
.detail-info-row > span:first-child {
  font-weight: 700;
  color: var(--text);
}
.detail-price-row {
  display: grid;
  grid-template-columns: 160px 80px 1fr;
  align-items: center;
  gap: 0.2rem;
  padding: 0.2rem 0;
}
.detail-price-row > span:first-child {
  font-weight: 700;
  color: #c22b1f;
}
.detail-price-row .price-val {
  font-weight: 700;
  color: #c22b1f;
  text-align: left;
}
.detail-cart-btn {
  font-family: Arial, sans-serif;
  font-size: 0.78rem;
  color: #c22b1f;
  background: #fff;
  border: 1px solid #c22b1f;
  border-radius: 2px;
  padding: 0.3rem 0.6rem;
  cursor: pointer;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: background 0.15s ease, color 0.15s ease;
}
.detail-cart-btn:hover {
  background: #c22b1f;
  color: #fff;
}
.detail-cart-btn.in-cart {
  color: #2f7a3d;
  background: #eef7ee;
  border-color: #2f7a3d;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.detail-cart-btn.in-cart:hover {
  background: #2f7a3d;
  color: #fff;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .detail-cart-btn.in-cart { background: #1c3320; color: #7fd18f; }
}
:root[data-theme="dark"] .detail-cart-btn.in-cart { background: #1c3320; color: #7fd18f; }
.cart-toast {
  position: fixed;
  top: 185px;
  right: 24px;
  max-width: 320px;
  background: var(--surface);
  color: var(--text);
  border-left: 4px solid #4a8f3c;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  border-radius: 4px;
  padding: 0.85rem 2.2rem 0.85rem 1rem;
  font-family: Arial, sans-serif;
  font-size: 0.85rem;
  line-height: 1.4;
  z-index: 450;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.cart-toast.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.cart-toast-close {
  position: absolute;
  top: 0.4rem;
  right: 0.5rem;
  background: none;
  border: none;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  color: var(--text-muted);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .cart-toast { background: #22324a; color: #eee; }
}
:root[data-theme="dark"] .cart-toast { background: #22324a; color: #eee; }
.cart-page-body {
  margin-top: 1.5rem;
  font-family: Arial, sans-serif;
}
.cart-empty {
  text-align: center;
  padding: 4rem 1rem;
  color: var(--text-muted);
}
.cart-empty .detail-btn {
  margin-top: 1.2rem;
  height: auto;
  padding: 0.6rem 1.2rem;
  font-size: 0.85rem;
}
.cart-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.cart-table th {
  text-align: left;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text-muted);
  border-bottom: 2px solid var(--border);
  padding: 0 0.5rem 0.6rem;
}
.cart-table td {
  padding: 0.9rem 0.5rem;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
  color: var(--text);
}
.cart-item-title {
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
}
.cart-item-title:hover { text-decoration: underline; }
.cart-item-type {
  color: var(--text-muted);
  font-size: 0.82rem;
  margin-top: 0.15rem;
}
.cart-format-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.cart-format-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  border: 2px solid #9a968c;
  border-radius: 2px;
  background: var(--surface);
  color: var(--text-muted);
  padding: 0.4rem 0.6rem;
  cursor: pointer;
  white-space: nowrap;
}
.cart-format-btn:hover { background: var(--border); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .cart-format-btn { border-color: #6b675f; }
}
:root[data-theme="dark"] .cart-format-btn { border-color: #6b675f; }
.cart-format-btn.active {
  background: #5b93c7;
  border-color: #5b93c7;
  color: #fff;
}
.cart-format-fixed {
  font-family: Arial, sans-serif;
  font-size: 0.78rem;
  color: var(--text-muted);
}
.cart-qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 2px;
}
.cart-qty-stepper button {
  width: 26px;
  height: 26px;
  border: none;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
}
.cart-qty-stepper button:hover { background: var(--border); }
.cart-qty-stepper span {
  width: 28px;
  text-align: center;
  display: inline-block;
  font-size: 0.9rem;
}
.cart-remove-btn {
  background: none;
  border: none;
  color: #c22b1f;
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
  padding: 0.2rem 0.4rem;
}
.cart-line-total {
  font-weight: 700;
  white-space: nowrap;
}
.cart-summary {
  display: flex;
  justify-content: flex-end;
  margin-top: 1.5rem;
}
.cart-summary-box {
  min-width: 280px;
}
.cart-summary-box-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 1rem;
}
.cart-summary-row {
  display: flex;
  justify-content: space-between;
  padding: 0.3rem 0;
  color: var(--text);
}
.cart-summary-row.total {
  font-weight: 700;
  font-size: 1.05rem;
  border-top: 1px solid var(--border);
  margin-top: 0.5rem;
  padding-top: 0.7rem;
}
.cart-checkout-btn {
  margin-top: 1rem;
  width: 100%;
  height: auto;
  padding: 0.7rem 1rem;
  font-size: 0.85rem;
}
.cart-checkout-btn:disabled {
  opacity: 0.5;
  cursor: default;
}
.cart-checkout-btn.is-dimmed { opacity: 0.45; cursor: default; }
.checkout-layout {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  flex-wrap: wrap;
}
.checkout-form {
  flex: 1 1 320px;
  min-width: 280px;
  background: #e4f1fb;
  border-radius: 4px;
  padding: 1.2rem 1.5rem;
}
.checkout-summary {
  flex: 0 0 380px;
}
.checkout-section-heading {
  font-family: Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 1rem;
}
.checkout-field {
  margin-bottom: 1rem;
}
.checkout-field label {
  display: block;
  font-family: Arial, sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}
.checkout-field input, .checkout-field select, .checkout-field textarea {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface);
  color: var(--text);
  font-size: 0.9rem;
  font-family: Arial, sans-serif;
}
.checkout-field input:focus, .checkout-field select:focus, .checkout-field textarea:focus {
  outline: none;
  border-color: #7fb2d9;
  box-shadow: 0 0 0 2px rgba(127, 178, 217, 0.35);
}
.checkout-field textarea {
  resize: vertical;
  min-height: 3.6em;
}
.checkout-field-required {
  color: #c22b1f;
  margin-left: 0.15rem;
}
.checkout-field-row {
  display: flex;
  gap: 1rem;
}
.checkout-field-row .checkout-field {
  flex: 1 1 0;
}
.checkout-field-row-salutation .checkout-field-salutation {
  flex: 0 0 110px;
}
.checkout-field-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

.checkout-field input.ck-invalid, .checkout-field select.ck-invalid, .checkout-field textarea.ck-invalid {
  border: 2px solid #c22b1f;
  background: rgba(194, 43, 31, 0.07);
}
.ck-error-msg {
  color: #c22b1f;
  font-size: 0.78rem;
  font-weight: 700;
  font-family: Arial, sans-serif;
  margin-top: 0.3rem;
}
#placeOrderHint:not(:empty) { color: #c22b1f; font-weight: 700; }
.checkout-field-hint-error {
  color: #c22b1f;
}
.checkout-field-hint-intro {
  margin-top: 0;
  margin-bottom: 1rem;
}
.checkout-required-legend {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: -0.3rem;
  margin-bottom: 1rem;
}
.checkout-field-checkbox {
  margin: 1.4rem 0 1rem;
  padding-top: 0.2rem;
  border-top: 1px solid var(--border);
}
.checkout-field-checkbox-spaced {
  margin-top: 2rem;
  padding-top: 1.2rem;
}
.payment-method-list {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.payment-method-option {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface);
  font-family: Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
}
.payment-method-option input[type="radio"] {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: #c22b1f;
  cursor: pointer;
}
.payment-method-option.selected {
  border-color: #c22b1f;
  box-shadow: 0 0 0 1px #c22b1f;
}
.checkout-checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: Arial, sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  margin-top: 1rem;
}
.checkout-checkbox-label input[type="checkbox"] {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: #c22b1f;
  cursor: pointer;
}
#ckShippingSection {
  padding: 0.2rem 0 0.2rem;
  margin-bottom: 0.5rem;
}
.checkout-summary-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.2rem 1.3rem;
}
.checkout-order-items {
  margin-bottom: 1rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--border);
}
.checkout-order-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.5rem 0;
}
.checkout-order-item + .checkout-order-item {
  border-top: 1px dashed var(--border);
}
.checkout-order-item-info {
  min-width: 0;
}
.checkout-order-item-title {
  font-family: Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
}
.checkout-order-item-meta {
  font-family: Arial, sans-serif;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}
.checkout-order-item-price {
  font-family: Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}
.checkout-tbd {
  color: var(--text-muted);
  font-style: italic;
}
.license-form {
  flex: 1 1 100%;
}
.license-order-number {
  font-family: Arial, sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.license-licensee {
  font-family: Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.6rem 0.9rem;
  margin-bottom: 1.2rem;
}
.license-works-list {
  margin-bottom: 1.2rem;
  padding: 0.2rem 0.9rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
}
.license-terms {
  font-family: Arial, sans-serif;
  font-size: 0.85rem;
  color: var(--text);
  line-height: 1.5;
  margin-bottom: 0.5rem;
}
.license-terms p {
  margin: 0 0 0.6rem;
}
.license-terms ul {
  margin: 0;
  padding-left: 1.2rem;
}
.license-terms li {
  margin-bottom: 0.5rem;
}
@media (max-width: 720px) {
  .checkout-layout { flex-direction: column; }
  .checkout-summary { flex: 1 1 auto; width: 100%; }
}
/* always reserves the CD column, so the blue blocks have the same width on every detail page */
.detail-cds { flex: 0 0 232px; width: 232px; margin-top: 1.2rem; display: flex; flex-direction: column; gap: 1rem; }
.detail-cd { cursor: pointer; outline: none; }
.detail-cd-cover { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 4px; background: var(--tag-bg); box-shadow: 0 1px 4px rgba(0,0,0,0.22); transition: transform 0.22s ease, box-shadow 0.3s ease; }
.detail-cd:hover .detail-cd-cover, .detail-cd:focus-visible .detail-cd-cover { transform: translateY(-8px); box-shadow: 0 20px 36px rgba(0,0,0,0.3); }
.detail-cd-text { margin-top: 0.6rem; font-family: Arial, sans-serif; font-size: 0.85rem; line-height: 1.3; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.detail-cd-text b { font-weight: 700; }
.detail-main-row {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  flex-wrap: wrap;
}
.detail-portrait {
  flex: 0 0 232px;
  height: 232px;
  margin-top: 1.2rem;
  display: flex;
  border-radius: 0;
  overflow: hidden;
}
.detail-portrait-icon {
  flex: 0 0 96px;
  background: #e8b183;
  display: flex;
  align-items: center;
  justify-content: center;
}
.detail-portrait-icon svg { width: 55%; height: 55%; opacity: 0.65; }
.detail-portrait-label {
  flex: 1 1 auto;
  background: #e0621c;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0.5rem;
}
.detail-portrait-label span {
  border: 1px solid #fff;
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 0.75rem;
  text-align: left;
  padding: 0.5rem;
  width: 100%;
  height: 116px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  box-sizing: border-box;
  line-height: 1.4;
}
/* when an actual composer photo is on file, it replaces the generic
   silhouette icon in the same 96x232 left strip — the right-hand name
   plate is unchanged either way. A tint in the same color as that name
   plate washes over the photo so the two halves still read as one
   color-coded block rather than a plain photo bolted onto a color card. */
.detail-portrait-photo-wrap {
  position: relative;
  flex: 0 0 96px;
  width: 96px;
  height: 232px;
  overflow: hidden;
}
.detail-portrait-photo-img {
  position: absolute;
  top:0;right:0;bottom:0;left:0;
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 100% 100%;
  filter: grayscale(100%);
}
.detail-portrait-photo-tint {
  position: absolute;
  top:0;right:0;bottom:0;left:0;
  opacity: 0.55;
}
.detail-price-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
}
.detail-prices { flex: 1 1 auto; }
.detail-downloads {
  font-family: Arial, sans-serif;
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1.5px solid #a9c3d6;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 1.6rem;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .detail-downloads { border-top-color: #5a6a78; }
}
:root[data-theme="dark"] .detail-downloads { border-top-color: #5a6a78; }
.detail-download-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.download-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid #5b93c7;
  background: transparent;
  color: #5b93c7;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}
.download-icon-btn:hover {
  background: #5b93c7;
  color: #fff;
}
.download-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
}
.detail-download-row-disabled .download-icon-btn {
  border-color: #b8b8c6;
  color: #b8b8c6;
  cursor: default;
  pointer-events: none;
}
.detail-download-row-disabled .download-label {
  color: var(--text-muted);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .detail-download-row-disabled .download-icon-btn { border-color: #444a5e; color: #6a6f85; }
}
:root[data-theme="dark"] .detail-download-row-disabled .download-icon-btn { border-color: #444a5e; color: #6a6f85; }
.pdf-lightbox-overlay {
  position: fixed;
  top:0;right:0;bottom:0;left:0;
  background: rgba(20,17,10,0.7);
  z-index: 400;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
}
.pdf-lightbox-overlay.open { display: flex; }
.pdf-lightbox-card {
  background: var(--surface);
  width: 1300px;
  max-width: 96vw;
  height: 100%;
  max-height: 96vh;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.45);
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.pdf-lightbox-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 1rem;
  background: var(--tag-bg);
  font-family: Arial, sans-serif;
  font-size: 0.85rem;
  color: var(--text);
  flex: 0 0 auto;
}
.pdf-lightbox-title {
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pdf-lightbox-actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-shrink: 0;
}
.pdf-lightbox-actions a {
  color: #c22b1f;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
}
.pdf-lightbox-actions a:hover { text-decoration: underline; }
.pdf-download-confirm-overlay {
  position: fixed;
  top:0;right:0;bottom:0;left:0;
  background: rgba(20,17,10,0.6);
  z-index: 500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.pdf-download-confirm-overlay.open { display: flex; }
.pdf-download-confirm-card {
  background: var(--surface);
  color: var(--text);
  width: 340px;
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  padding: 1.6rem 1.5rem;
  text-align: center;
  font-family: Arial, sans-serif;
}
.pdf-download-confirm-text {
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0 0 1.3rem;
  color: var(--text);
}
.pdf-download-confirm-btn {
  background: #141413;
  color: #fff;
  font-family: Arial, sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  border: none;
  border-radius: 4px;
  padding: 0.65rem 1.6rem;
  cursor: pointer;
}
.pdf-download-confirm-btn:hover { background: #000; }
.pdf-download-confirm-cancel {
  display: block;
  margin: 0.9rem auto 0;
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: Arial, sans-serif;
  font-size: 0.82rem;
  cursor: pointer;
  text-decoration: underline;
}
.pdf-lightbox-close {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(0,0,0,0.15);
  color: var(--text);
  font-size: 1.2rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}
.pdf-lightbox-close:hover { background: #c22b1f; color: #fff; }
.pdf-lightbox-frame {
  flex: 1 1 auto;
  border: none;
  width: 100%;
  height: 100%;
  background: #525659;
}
@media (max-width: 640px) {
  .pdf-lightbox-overlay { padding: 0; }
  .pdf-lightbox-card { max-height: 100vh; border-radius: 0; }
}
.detail-desc {
  background: #e4f1fb;
  border-radius: 4px;
  padding: 1.2rem 1.5rem;
  margin-top: 1rem;
  margin-left: calc(232px + 1.5rem);
  margin-right: calc(232px + 1.5rem);
  font-size: 0.95rem;
  line-height: 1.65;
}
@media (max-width: 640px) {
  .detail-desc { margin-left: 0; margin-right: 0; }
  .detail-cds { flex: 0 0 auto; width: 100%; }
}
.detail-audio {
  background: #e4f1fb;
  border-radius: 4px;
  padding: 1.5rem 1.5rem;
  margin-top: 1.5rem;
  margin-left: calc(232px + 1.5rem);
  margin-right: calc(232px + 1.5rem);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #c40000;
  font-size: 0.95rem;
}
.detail-audio button { background: none; border: 0; padding: 0; cursor: pointer; color: #c40000; display: inline-flex; line-height: 0; }
.detail-audio button:focus-visible { outline: 2px solid #c40000; outline-offset: 2px; border-radius: 50%; }
.aud-caption { margin: 1.5rem calc(232px + 1.5rem) 0; font-size: 1rem; font-weight: 700; line-height: 1.35; color: #3d3aa8; }
.aud-caption + .detail-audio { margin-top: 0.4rem; }
/* regel over de uitvoering boven de geluidsbestanden (update 127) */
.aud-performer { margin: 1.5rem calc(232px + 1.5rem) 0; font-size: 0.95rem; font-style: italic; line-height: 1.4; color: var(--text-muted); }
.aud-performer + .aud-caption { margin-top: 0.6rem; }
.aud-performer + .detail-audio { margin-top: 0.5rem; }
@media (max-width: 900px) { .aud-performer { margin-left: 0; margin-right: 0; } }
.detail-audio + .detail-audio { margin-top: 0.7rem; }
@media (max-width: 900px) { .aud-caption { margin-left: 0; margin-right: 0; } }
.aud-bar { flex: 1 1 auto; height: 8px; background: #f6d3d3; cursor: pointer; position: relative; min-width: 60px; }
.aud-bar-fill { height: 100%; width: 0; background: #c40000; }
.aud-time { white-space: nowrap; font-variant-numeric: tabular-nums; display: inline-flex; gap: 0.3rem; }
.aud-sep { color: #e49a9a; }
.aud-vol { flex: 0 0 58px; height: 8px; background: #f6d3d3; cursor: pointer; }
.aud-vol-fill { height: 100%; width: 70%; background: #c40000; }
@media (max-width: 900px) { .detail-audio { margin-left: 0; margin-right: 0; } }
@media (max-width: 480px) { .detail-audio { padding: 1rem; gap: 0.4rem; } .aud-vol { flex-basis: 36px; } }
:root[data-theme="dark"] .detail-audio { background: #22324a; color: #ff6b6b; }
:root[data-theme="dark"] .detail-audio button { color: #e04545; }
:root[data-theme="dark"] .aud-bar, :root[data-theme="dark"] .aud-vol { background: #4a3a4a; }
:root[data-theme="dark"] .aud-bar-fill, :root[data-theme="dark"] .aud-vol-fill { background: #e04545; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .detail-audio { background: #22324a; color: #ff6b6b; }
  :root:not([data-theme="light"]) .detail-audio button { color: #e04545; }
  :root:not([data-theme="light"]) .aud-bar, :root:not([data-theme="light"]) .aud-vol { background: #4a3a4a; }
  :root:not([data-theme="light"]) .aud-bar-fill, :root:not([data-theme="light"]) .aud-vol-fill { background: #e04545; }
}
.detail-also {
  margin-top: 1rem;
  font-weight: 700;
}
.detail-also a {
  color: #e0621c;
  cursor: pointer;
  text-decoration: none;
}
.detail-also a:hover { text-decoration: underline; }
.detail-filter-link { cursor: pointer; }
.detail-filter-link:hover { text-decoration: underline; }
.detail-bottom-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.6rem;
  margin-top: 1.2rem;
  margin-right: calc(232px + 1.5rem);
}
@media (max-width: 640px) {
  .detail-actions, .detail-bottom-actions { margin-right: 0; }
  .detail-main-row { flex-direction: column; }
  .detail-portrait { flex: 0 0 auto; width: 100%; }
}
.theme-toggle {
  position: fixed;
  top: calc(1rem + 19px);
  right: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  font-family: Arial, sans-serif;
  font-size: 0.8rem;
  cursor: pointer;
  color: var(--text);
  z-index: 200;
}
.cms-dev-link {
  position: fixed;
  top: calc(1rem + 19px);
  right: 4.6rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font-family: Arial, sans-serif;
  font-size: 0.78rem;
  color: var(--text);
  text-decoration: none;
  z-index: 200;
  white-space: nowrap;
}
.cms-dev-link:hover {
  background: var(--tag-bg);
}
.nav-bar {
  background: #3d3aa8;
  border-radius: 0;
  padding: 0;
  margin-bottom: 0;
  position: relative;
  width: 100%;
}
.nav-bar-inner {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.nav-btn {
  background: none;
  border: none;
  color: #fff;
  font-family: Arial, sans-serif;
  font-weight: 400;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.45rem 1rem;
  cursor: pointer;
  white-space: nowrap;
  flex: 0 0 auto;
  text-align: left;
}
.nav-label {
  position: relative;
  display: inline-block;
}
.nav-label::after {
  content: '';
  position: absolute;
  left: 0;
  top: calc(100% + 0.45rem);
  height: 7px;
  width: 100%;
  background: #e5473a;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.9s ease;
}
.nav-btn:hover .nav-label::after,
.nav-btn.active .nav-label::after {
  transform: scaleX(1);
}
.nav-btn.decorative .nav-label::after {
  display: none;
}
.nav-btn.decorative {
  cursor: default;
  flex: 0 0 auto;
}
.nav-btn.decorative:hover {
  border-bottom-color: transparent;
}
.nav-panel {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  margin-top: 0.4rem;
  padding: 0.4rem;
  min-width: 220px;
  max-height: 320px;
  overflow-y: auto;
  z-index: 20;
  display: none;
}
.nav-panel.open { display: block; }
.nav-panel-option {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font-family: Arial, sans-serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--text);
  padding: 0.45rem 0.6rem;
  border-radius: 5px;
  cursor: pointer;
}
.nav-panel-option:hover { background: var(--tag-bg); }
.nav-panel-option.selected { background: var(--accent-light); color: var(--accent); font-weight: 600; }
#nav-panel-instrumentatie {
  min-width: 580px;
  max-height: none;
  overflow: visible;
  padding: 1rem 0.6rem;
}
.nav-panel-instr-grid {
  display: flex;
  align-items: flex-start;
}
.nav-panel-instr-col {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0 1.1rem;
  min-width: 170px;
}
.nav-panel-instr-col + .nav-panel-instr-col {
  border-left: 2px solid #b9b3a5;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .nav-panel-instr-col + .nav-panel-instr-col { border-left-color: #5a564e; }
}
:root[data-theme="dark"] .nav-panel-instr-col + .nav-panel-instr-col { border-left-color: #5a564e; }
.nav-panel-instr-header {
  color: #c22b1f;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 0.3rem;
}
.nav-panel-instr-col { gap: 0; }
.nav-panel-instr-col .nav-panel-option { padding: 0.16rem 0.35rem; }
.nav-panel .nav-panel-option, .nav-panel-instr-header { font-size: 0.78rem; }
.nav-panel-instr-header.selected {
  background: var(--accent-light);
}
/* long alphabetical lists (composers, arrangers) fan out into as many
   columns as needed instead of one tall scrolling column, keeping a
   roughly constant height — everything visible at once, like a phone book */
.nav-panel-grid-wide {
  min-width: auto;
  max-width: 98vw;
  max-height: 82vh;
  overflow: auto;
  padding: 0.9rem 1.1rem;
}
.nav-panel-grid {
  display: flex;
  align-items: flex-start;
}
.nav-panel-grid-col {
  display: flex;
  flex-direction: column;
  padding: 0 1.1rem;
}
.nav-panel-grid-col + .nav-panel-grid-col {
  border-left: 2px solid #b9b3a5;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .nav-panel-grid-col + .nav-panel-grid-col { border-left-color: #5a564e; }
}
:root[data-theme="dark"] .nav-panel-grid-col + .nav-panel-grid-col { border-left-color: #5a564e; }
.nav-panel-grid-col .nav-panel-option {
  padding: 0.16rem 0.35rem;
  font-size: 0.78rem;
  white-space: nowrap;
}
@media (max-width: 640px) {
  .nav-bar-inner { overflow-x: auto; flex-wrap: nowrap; }
}
.site-footer {
  margin-top: 2.2rem;
  font-family: Arial, sans-serif;
}
.footer-inner {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.footer-main {
  background: #3d3aa8;
  padding: 1.7rem 0 1.6rem;
}
.footer-brand {
  font-family: 'EB Garamond', Georgia, 'Times New Roman', serif;
  font-size: 3.2rem;
  color: #fff;
  margin-bottom: 1rem;
  margin-left: 57px;
}
.footer-cols {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  margin-left: 81px;
  margin-right: 61px;
}
.footer-col {
  color: rgba(255,255,255,0.85);
  font-size: 0.82rem;
  line-height: 1.7;
}
.footer-bottom {
  background: #322f8e;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
  padding: 0.6rem 1.5rem 0.6rem calc(1.5rem + 81px);
}
.header-social-icon { text-decoration: none; }
.footer-col a { color: inherit; text-decoration: none; }
.footer-col a:hover { text-decoration: underline; }
.footer-links a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 0.8rem;
  cursor: pointer;
}
.footer-links a:hover { text-decoration: underline; }
@media (max-width: 640px) {
  .footer-cols { gap: 1.2rem 2rem; }
}


.filters-toggle { display: none; }
@media (max-width: 900px) {
  .filters-toggle { display: block; width: calc(100% - 2rem); margin: 0.8rem 1rem 0; padding: 0.6rem 0.9rem; text-align: left; font-family: Arial, sans-serif; font-size: 0.95rem; letter-spacing: 0.05em; text-transform: uppercase; background: var(--surface); color: var(--text); border: 1px solid var(--border); border-radius: 6px; cursor: pointer; }
  body:not(.has-filters) .filters-toggle { display: none; }
  .sidebar { display: none; padding: 0 1rem; }
  body.filters-open .sidebar { display: block; }
  body.filters-open .filters-toggle-chev { display: inline-block; transform: rotate(180deg); }
  .detail-cds:empty { display: none; }
  .detail-cds { flex: 0 0 100%; width: 100%; margin-top: 0.4rem; }
  .detail-cd { width: 232px; }
  .detail-desc, .detail-actions, .detail-bottom-actions { margin-right: 0; }
}
@media (max-width: 640px) {
  .cart-table thead { display: none; }
  .cart-table, .cart-table tbody { display: block; }
  .cart-table tr { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.9rem; position: relative; padding: 0.9rem 2rem 0.9rem 0; border-bottom: 1px solid var(--border); }
  .cart-table td { display: block; padding: 0; border: 0; }
  .cart-table td:nth-child(1), .cart-table td:nth-child(2) { flex: 1 1 100%; }
  .cart-table td:nth-child(5) { margin-left: auto; }
  .cart-table td:nth-child(6) { position: absolute; top: 0.6rem; right: 0; }
  .cart-format-toggle { flex-wrap: wrap; }
  .results-grid { margin-top: 0.6rem; }
  .filters-toggle { margin-bottom: 0.6rem; }
}
/* ===== responsive (tablet + phone) ===== */
@media (max-width: 900px) {
  body { overflow-x: hidden; }
  .site-header-inner { padding: 0.7rem 1rem 0.6rem; flex-direction: column; align-items: stretch; gap: 0.4rem; }
  .brand { margin-left: 0 !important; }
  .brand-mark { width: 52px; height: 52px; }
  .brand-name { font-size: 2rem; }
  .brand-tagline { display: none; }
  .header-right { align-items: stretch; width: 100%; gap: 0.5rem; }
  .header-nav-row { transform: none !important; width: 100% !important; }
  .header-search-row { transform: none !important; width: 100%; gap: 0.7rem; }
  .header-search-row input { width: auto; flex: 1 1 auto; min-width: 0; transform: none !important; font-size: 16px; }
  .header-cart { transform: none !important; margin-right: 0.5rem; }
  .theme-toggle { top: 0.55rem; right: 0.6rem; padding: 0.25rem 0.55rem; }
  .cms-dev-link { top: 0.55rem; right: 3.4rem; padding: 0.25rem 0.6rem; font-size: 0.72rem; }
  .nav-bar-inner { padding: 0 0.4rem; flex-wrap: wrap; overflow-x: visible; justify-content: flex-start; }
  .nav-bar-inner::-webkit-scrollbar { display: none; }
  .nav-btn { padding: 0.5rem 0.7rem; font-size: 0.82rem; }
  .nav-panel { position: fixed; left: 0.5rem; right: 0.5rem; top: var(--topbar-h, 120px); min-width: 0 !important; max-width: none; max-height: 68vh; overflow: auto; }
  #nav-panel-instrumentatie { min-width: 0 !important; max-height: 68vh; overflow: auto; }
  .nav-panel-instr-grid { flex-wrap: wrap; }
  .nav-panel-instr-col { min-width: 140px; flex: 1 1 140px; padding: 0 0.6rem; }
  .nav-panel-grid-wide { max-width: none; }
  .nav-panel-grid { flex-wrap: wrap; }
  .nav-panel-grid-col { padding: 0 0.6rem; }
  .hero-slide-caption { font-size: 0.9rem; }
  .promo-row { padding: 1.3rem 0; }
  .promo-row-inner { padding: 0 2.6rem; }
  .promo-row-heading { font-size: 1.5rem; margin-bottom: 0.8rem; }
  .promo-arrow-left { left: -2.4rem; }
  .promo-arrow-right { right: -2.4rem; }
  .promo-arrow svg { width: 30px; height: 30px; }
  .promo-scroll { gap: 1.7rem; }
  .footer-inner { padding: 0 1rem; }
}
@media (max-width: 560px) {
  .brand-name { font-size: 1.75rem; }
  .promo-card-title, .promo-card-name { font-size: 0.72rem; }
  /* phone: bigger cards - the arrows float over the card edges */
  .promo-row-inner { padding: 0 0.9rem; }
  .promo-arrow { padding: 0; width: 30px; height: 30px; background: rgba(255,255,255,0.88); border-radius: 50%; box-shadow: 0 1px 4px rgba(0,0,0,0.25); }
  .promo-arrow-left { left: -0.5rem; }
  .promo-arrow-right { right: -0.5rem; }
  .promo-arrow svg { width: 20px; height: 20px; }
  .promo-scroll { gap: 0.8rem; }
  /* phone: compact detail page */
  .detail-title { font-size: 1.6rem; }
  .detail-subtitel { font-size: 1.05rem; margin-top: 0.3rem; }
  .detail-actions, .detail-bottom-actions { justify-content: stretch; gap: 0.5rem; margin-top: 0.9rem; }
  .detail-actions .detail-btn, .detail-bottom-actions .detail-btn { flex: 1 1 0; height: 2.3rem; font-size: 1.05rem; font-weight: 400; padding: 0 0.2rem; }
  .detail-bottom-actions { margin-top: 1.4rem; margin-bottom: 1rem; }
  .detail-info { padding: 0.9rem 1rem; font-size: 0.85rem; margin-top: 0.9rem; flex: 0 0 auto; width: 100%; box-sizing: border-box; }
  .detail-info-row { grid-template-columns: 116px 1fr; }
  .detail-info-row > span:first-child { font-weight: 600; }
  .detail-price-row { grid-template-columns: 111px 68px minmax(0, 1fr); gap: 0.3rem; }
  .detail-price-row .price-val { text-align: left; white-space: nowrap; }
  .detail-cart-btn { white-space: nowrap; justify-self: stretch; justify-content: center; font-size: 0.8rem; padding: 0.4rem 0.3rem; }
  .detail-downloads { gap: 1rem; }
}

/* ===== phone (<=640px): menu button top-left, blue tagline bar, full-height menu sheet ===== */
.menu-btn, .az-bar { display: none; }
.nav-menu-toggle { display: none; }
.nav-menu-list { display: contents; }
.footer-copy { display: none; }
.nav-extra { display: none; }
@media (max-width: 640px) {
  .hero-slider { display: none !important; }
  .detail-portrait { display: none !important; }
  .theme-toggle, .cms-dev-link { display: none !important; }
  /* header: [menu] [logo] [cart] / blue tagline bar / search */
  .site-header-inner { display: grid !important; grid-template-columns: 3.2rem 1fr 3.2rem; align-items: center; padding: 0.5rem 0.8rem 0.6rem !important; gap: 0 !important; }
  .brand { display: contents; }
  .brand-clickable { grid-column: 2; grid-row: 1; justify-self: center; }
  .brand-mark { width: 40px; height: 40px; }
  .brand-name { font-size: 1.7rem; }
  .menu-btn { display: flex; flex-direction: column; align-items: center; gap: 2px; grid-column: 1; grid-row: 1; background: none; border: 0; padding: 0; color: var(--text); font: 400 0.78rem Arial, sans-serif; letter-spacing: 0.03em; cursor: pointer; }
  .menu-btn svg { width: 30px; height: 30px; }
  .menu-btn .ico-x { display: none; }
  body.menu-open .menu-btn .ico-x { display: block; }
  body.menu-open .menu-btn .ico-bars { display: none; }
  .brand-tagline { display: block !important; position: static; width: auto; grid-column: 1 / -1; grid-row: 2; margin: 0.55rem -0.8rem 0; padding: 0.42rem 0.9rem; background: #3d3aa8; -webkit-mask-image: none; mask-image: none; overflow: visible; text-align: center; }
  .brand-tagline-text { animation: none !important; transform: none !important; opacity: 1 !important; color: #fff; font-size: 3.25vw; letter-spacing: 0.08em; white-space: normal; text-align: justify; text-align-last: justify; }
  .header-right, .header-search-row { display: contents; }
  .header-nav-row { display: none !important; }
  .header-cart { grid-column: 3; grid-row: 1; justify-self: end; margin: 0 !important; }
  .header-search-row input { grid-column: 1 / -1; grid-row: 3; margin-top: 0.55rem; width: auto !important; }
  /* the blue bar itself is gone; only its dropdown (a sheet under the logo row) remains */
  .nav-bar { height: 0; }
  .nav-bar-inner { display: block !important; overflow: visible !important; padding: 0 !important; }
  body.menu-open { overflow: hidden; }
  .nav-menu-list { display: none; position: fixed; left: 0; right: 0; top: var(--menu-top, 70px); bottom: 0; background: #3d3aa8; overflow-y: auto; -webkit-overflow-scrolling: touch; z-index: 300; flex-direction: column; border-top: 1px solid rgba(255,255,255,0.25); }
  body.menu-open .nav-menu-list { display: flex; }
  .nav-menu-list > .nav-btn { width: 100%; padding: 0.75rem 1rem; border-bottom: 1px solid rgba(255,255,255,0.18); flex: 0 0 auto; }
  .nav-menu-list .nav-label::after { display: none; }
  .nav-menu-list > .nav-btn.active { background: rgba(255,255,255,0.14); }
  .nav-menu-list > .nav-btn:not(.nav-extra) { display: flex; justify-content: space-between; align-items: center; }
  .nav-menu-list > .nav-btn:not(.nav-extra):not(#navCdBtn)::after { content: ''; width: 9px; height: 9px; border-right: 1.5px solid #fff; border-top: 1.5px solid #fff; transform: rotate(45deg); margin-right: 4px; flex: 0 0 auto; transition: transform 0.2s; }
  .nav-menu-list > .nav-btn.active:not(.nav-extra):not(#navCdBtn)::after { transform: rotate(135deg); }
  .nav-menu-list > .nav-extra { display: block; text-align: left; cursor: pointer; background: var(--surface); color: var(--text); border-bottom: 1px solid var(--border); }
  .nav-menu-list > .nav-extra .nav-label { color: var(--text-muted, #8d847f); }
  .nav-menu-list > .nav-extra:nth-of-type(n+10) { background: var(--tag-bg); }
  /* the opened list: big window, 2 boxed columns, A-Z bar on top */
  .nav-menu-list .nav-panel { position: relative; margin: 0; border-radius: 0; border: 0; box-shadow: none; max-height: calc(100vh - var(--menu-top, 70px) - 4.5rem); overflow-y: auto; left: auto; right: auto; top: auto; padding: 0.6rem 0.8rem 0.9rem; flex: 0 0 auto; }
  .nav-menu-list .nav-panel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
  .nav-menu-list .nav-panel-grid-col { display: contents; padding: 0; border: 0; }
  .nav-menu-list .nav-panel-grid .nav-panel-option { display: block; width: 100%; text-align: left; padding: 0.16rem 0.35rem; border: 0; border-radius: 4px; background: none; }
  .nav-menu-list .nav-panel-grid { gap: 0 0.6rem; }
  .az-bar { display: flex; flex-wrap: wrap; gap: 0.1rem 0.15rem; position: sticky; top: -0.6rem; z-index: 2; background: var(--surface); padding: 0.5rem 0 0.55rem; margin: -0.6rem 0 0.4rem; justify-content: space-between; }
  .az-bar button { background: none; border: 0; font: 700 0.9rem Arial, sans-serif; color: var(--text); padding: 0.15rem 0.3rem; min-width: 1.5rem; cursor: pointer; }
  .az-bar button:disabled { color: var(--border); font-weight: 400; cursor: default; }
  /* work detail: no CD picture, just the text "available on CD <title>" */
  .detail-cd-cover { display: none; }
  .detail-cd { width: auto !important; }
  .detail-cd-text { margin-top: 0; white-space: normal; }
  .detail-cds { margin-top: 0.4rem; gap: 0.3rem; }
  /* CD detail: cover left, info right, track list below */
  .cd-row { display: grid; grid-template-columns: 38% 1fr; gap: 0.8rem 1rem; align-items: start; text-align: left; padding: 1rem 0; }
  .cd-cover { width: 100%; height: auto; aspect-ratio: 1 / 1; flex: none; }
  .cd-main { align-items: flex-start; flex: none; }
  .cd-title { font-size: 1.05rem; }
  .cd-add-btn { align-self: flex-start; }
  .cd-tracks { grid-column: 1 / -1; }
  /* footer: only the copyright line */
  .site-footer .footer-main, .site-footer .footer-bottom { display: none; }
  .footer-copy { display: block; background: #3d3aa8; color: rgba(255,255,255,0.9); font: 400 0.8rem Arial, sans-serif; text-align: center; padding: 0.9rem 1rem; }
  .footer-copy a { color: inherit; text-decoration: underline; }
  /* results: same 3-column list as on larger screens */
  .results-grid { padding: 0 0.5rem; }
  .results-grid .head-cell { padding: 0 0.5rem 0.5rem; font-size: 0.68rem; }
  .results-grid .cell { padding: 0.55rem 0.5rem; min-width: 0; overflow-wrap: anywhere; }
  .cell-componist, .cell-arrangeur { font-size: 0.78rem; }
  .titel-link { font-size: 0.88rem; }
  .subtitel, .instrumentatie-line { font-size: 0.8rem; }
}
@media (max-width: 640px) {
  .active-filters { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 0.35rem 0.9rem; padding: 0.4rem 1rem 0.5rem; }
  .filter-chip { flex: 0 0 auto; font-size: 0.72rem; }
  body.contact-open .contact-hero { display: none; }
  .filters-toggle { background: #3d3aa8; color: #fff; border-color: #3d3aa8; font-weight: 600; }
  .sidebar-section-header { background: #3d3aa8; color: #fff; border-top: 0; padding: 0.55rem 0.7rem; border-radius: 4px; }
  .sidebar-section-header .chevron { color: #fff; }
  .sidebar-section { margin-bottom: 0.9rem; }
  body.filters-open .main-content { display: none; }
}
.show-results-btn { display: none; }
@media (max-width: 640px) {
  .show-results-btn { display: block; width: 100%; margin: 0.4rem 0 1rem; padding: 0.7rem 1rem; font-family: Arial, sans-serif; font-size: 0.95rem; letter-spacing: 0.05em; text-transform: uppercase; background: #c22b1f; color: #fff; border: 0; border-radius: 6px; cursor: pointer; }
}

/* cookie notice */
#cookieNotice { position: fixed; right: 14px; bottom: 14px; width: min(320px, calc(100% - 24px)); z-index: 9000; background: var(--surface); color: var(--text); border: 1px solid var(--border); border-radius: 8px; box-shadow: 0 4px 16px rgba(0,0,0,0.18); padding: 0.7rem 0.8rem; display: flex; flex-direction: column; gap: 0.55rem; font-size: 0.85rem; line-height: 1.4; }
#cookieNotice p { margin: 0; flex: 1 1 auto; }
#cookieNotice a { color: var(--accent); text-decoration: underline; cursor: pointer; }
#cookieNotice button { flex: 1 1 0; background: var(--accent); color: #fff; border: 0; border-radius: 6px; padding: 0.4rem 0.8rem; font: inherit; font-weight: 600; cursor: pointer; }
#cookieNotice button:focus-visible, #cookieNotice a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (max-width: 560px) { #cookieNotice { right: 8px; bottom: 8px; width: calc(100% - 16px); } }
.genre-dot { display: inline-block; width: 0.62em; height: 0.62em; border-radius: 50%; margin-right: 0.55em; vertical-align: 0.05em; flex: none; box-shadow: 0 0 0 1px rgba(255,255,255,0.6); }
#cookieNotice .cookie-btns { display: flex; gap: 0.5rem; }
/* cookie notice: knoppen en link in het Baton-blauw (huisstijl, zoals menubalk en voettekst) */
#cookieNotice { --cookie-blue: #3d3aa8; --cookie-blue-text: #3d3aa8; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) #cookieNotice { --cookie-blue: #5b58c9; --cookie-blue-text: #a9a7ee; } }
:root[data-theme="dark"] #cookieNotice { --cookie-blue: #5b58c9; --cookie-blue-text: #a9a7ee; }
#cookieNotice a { color: var(--cookie-blue-text); }
#cookieNotice button { background: var(--cookie-blue); }
#cookieNotice .cookie-btns button.cookie-no { background: var(--surface); color: var(--cookie-blue-text); border-color: var(--cookie-blue-text); }
#cookieNotice button:focus-visible, #cookieNotice a:focus-visible { outline-color: var(--cookie-blue-text); }
#cookieNotice button.cookie-no { background: var(--surface); color: var(--accent); border: 1.5px solid var(--accent); }
.cms-dev-link,#navExtraCms{display:none!important}

/* donkere weergave: logo wit, zodat het zichtbaar blijft op de donkere achtergrond (update 118) */
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .brand-mark img { filter: brightness(0) invert(1); } }
:root[data-theme="dark"] .brand-mark img { filter: brightness(0) invert(1); }
/* old browsers without aspect-ratio (Safari < 15) */
@supports not (aspect-ratio: 1 / 1) {
  .hero-slider { height: 0; padding-top: 26.3158%; }
  /* de slider heeft hier hoogte 0 (de ruimte komt van padding), dus de binnenkant moet de hele vlak
     zelf vullen; anders worden de slides 0 hoog en zie je alleen de donkere achtergrond (update 117) */
  .hero-slider .hero-track { position: absolute; top: 0; right: 0; bottom: 0; left: 0; height: auto; }
}
