/* Shop-layout bovenop het design system (tokens.css + bundle.css). Alleen layout, geen nieuwe componenten. */
.shop { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--background); }
.shop-main { flex: 1; }
.shop-container { max-width: var(--content-max); margin: 0 auto; padding: var(--space-6) 48px 64px; box-sizing: border-box; }

.shop-skip { position: absolute; left: var(--space-4); top: -100px; z-index: 10; padding: var(--space-2) var(--space-3); background: var(--light); color: var(--dark); border-radius: var(--radius-control); }
.shop-skip:focus { top: var(--space-2); }
/* Verborgen labels in een scrollende tabel blijven binnen die tabel (anders scrolt de hele pagina opzij). */
.sb-table-wrap { position: relative; }
.shop-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.shop-header__home { display: flex; align-items: center; gap: var(--space-4); color: var(--light); text-decoration: none; }
.shop-header__b2b { font-family: var(--font-display); font-weight: 900; font-size: 15px; letter-spacing: 0.04em; }
.shop-header__search { min-width: 0; }

.shop-nav { overflow-x: auto; scrollbar-width: none; white-space: nowrap; }
.shop-nav::-webkit-scrollbar { display: none; }
.shop-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 4px; }

.shop-footer { margin-top: auto; background: var(--dark); color: var(--light); }
.shop-footer__inner { max-width: var(--content-max); margin: 0 auto; padding: var(--space-6) 48px; box-sizing: border-box; display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4); font-size: 12px; line-height: 20px; }
.shop-footer__inner p { margin: 0; }
.shop-footer a { color: var(--light); }
.shop-footer a:hover { color: var(--background); }

/* Smal: zoekbalk op een eigen regel onder logo en acties. */
@media (max-width: 760px) {
  .shop-header { grid-template-columns: auto 1fr; grid-template-areas: "home actions" "search search"; height: auto; row-gap: 0; padding-bottom: var(--space-3); }
  .shop-header__home { grid-area: home; }
  .shop-header .sb-header__actions { grid-area: actions; justify-self: end; }
  .shop-header__search { grid-area: search; width: auto; justify-self: stretch; padding-left: var(--space-4); }
  .shop-header__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .sb-header__action img { width: 22px; height: 22px; }
  .shop-container, .shop-footer__inner { padding-left: var(--space-4); padding-right: var(--space-4); }
}

/* Beheerder bekijkt de shop als klant (SB2B-24). */
.shop-preview { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-4); padding: var(--space-2) var(--space-4); background: var(--primary); color: var(--light); font-size: 13px; }
.shop-preview a, .shop-preview button { color: var(--light); font: inherit; font-weight: 700; text-decoration: underline; background: none; border: 0; padding: 0; cursor: pointer; }
.shop-preview form { margin: 0; }

/* Tablet: alleen iconen in de header, zodat de zoekbalk ruimte houdt (de naam staat in het aria-label). */
@media (max-width: 1080px) {
  .shop-header__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* Uitloggen: op smalle schermen alleen via de accountpagina (SB2B-12). */
.shop-header__logout { margin: 0; }
.shop-header__logout button { border: 0; padding: 0; background: none; cursor: pointer; font-weight: 500; opacity: 0.8; }
.shop-header__logout button:hover { opacity: 1; text-decoration: underline; }
@media (max-width: 760px) { .shop-header__logout { display: none; } }

/* Inloggen, wachtwoord en accountaanvraag — artboard Inloggen. */
.auth { margin: 0; min-height: 100vh; display: flex; flex-wrap: wrap; background: var(--background); color: var(--dark); font-family: var(--font-body); }
.auth a { color: var(--primary); }
.auth a:hover { color: var(--dark); }
.auth__brand { flex: 1 1 520px; min-height: 360px; background: var(--dark); color: var(--light); display: flex; flex-direction: column; justify-content: space-between; gap: var(--space-6); padding: 48px; box-sizing: border-box; }
.auth__brand a { color: var(--light); }
.auth__intro { display: flex; flex-direction: column; gap: 24px; max-width: 520px; }
.auth__intro h1 { margin: 0; font-family: var(--font-display); font-weight: 900; font-size: 72px; line-height: 0.95; letter-spacing: -0.04em; text-transform: uppercase; color: var(--light); }
.auth__intro p { margin: 0; font-size: 16px; line-height: 24px; }
.auth__address { margin: 0; font-size: 12px; line-height: 20px; }
.auth__main { flex: 999 1 560px; min-width: 0; display: flex; align-items: center; justify-content: center; padding: 48px 24px; box-sizing: border-box; }
.auth__form { width: 100%; max-width: 400px; display: flex; flex-direction: column; gap: 20px; }
.auth-form { display: flex; flex-direction: column; gap: 20px; }
.auth-form h2, .auth-form p { margin: 0; }
.auth-muted { color: var(--text-muted); }
.auth-field { display: flex; flex-direction: column; gap: 6px; }
.auth-field__row { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-3); }
.auth-field__row a { font-size: 13px; }
.auth-field label, .auth-field__label { font-family: var(--font-display); font-size: 13px; font-weight: 700; }
.auth-field label .auth-muted { font-family: var(--font-body); font-weight: 400; }
.auth-field input, .auth-field textarea { min-height: 44px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: var(--radius-control); font: inherit; font-size: 15px; box-sizing: border-box; width: 100%; background: var(--background); color: var(--dark); }
.auth-field textarea { padding: 10px 12px; resize: vertical; }
.auth-check { display: flex; align-items: center; gap: var(--space-2); font-size: 14px; }
.auth-submit { max-width: none; width: 100%; justify-content: center; cursor: pointer; }
.auth-aside { border-top: 1px solid var(--line); padding-top: 20px; display: flex; flex-direction: column; gap: 8px; }
.auth-aside__title { font-family: var(--font-display); font-weight: 700; }
.auth-alert { padding: var(--space-3) var(--space-4); border-radius: var(--radius-control); background: var(--grey); font-size: 14px; line-height: 20px; }
.auth-alert--error { background: #fbeaea; color: var(--stock-out); }
/* Onder elkaar (smaller dan beide kolommen samen): merkblok compact, zodat het formulier in beeld blijft. */
@media (max-width: 1079px) {
  .auth__brand { min-height: 0; padding: var(--space-5) var(--space-4); gap: var(--space-4); }
  .auth__intro { gap: var(--space-3); }
  .auth__intro h1 { font-size: 44px; }
  .auth__address { display: none; }
  .auth__main { padding: var(--space-6) var(--space-4); }
}

/* Productoverzicht — artboard Productoverzicht. */
.shop-stack { display: flex; flex-direction: column; gap: var(--space-5); }
.shop-stack--tight { gap: var(--space-2); }
.shop-stack h1, .shop-stack p { margin: 0; }
.shop-crumbs a, .shop-empty a { color: var(--primary); }
.shop-muted { color: var(--text-muted); }
.shop-catalog { display: flex; flex-wrap: wrap; gap: var(--space-6); align-items: flex-start; }
.shop-filters { flex: 1 1 240px; max-width: 280px; background: var(--grey); border-radius: var(--radius-image); padding: var(--space-5); box-sizing: border-box; }
.shop-filters summary { font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; cursor: pointer; }
.shop-filters__form { display: flex; flex-direction: column; gap: var(--space-5); margin-top: var(--space-4); }
.shop-filters fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-2); }
.shop-filters legend { font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: var(--space-2); padding: 0; }
.shop-filters label { display: flex; align-items: center; gap: var(--space-2); font-size: 14px; }
.shop-filters label .small { margin-left: auto; }
.shop-filters input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--primary); margin: 0; }
.shop-filters__actions { display: flex; align-items: center; gap: var(--space-4); font-size: 13px; }
.shop-filters__actions a { color: var(--primary); }
.shop-results { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: var(--space-5); }
.shop-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--space-3); padding-bottom: var(--space-3); border-bottom: 1px solid var(--line); }
.shop-toolbar p { margin: 0; }
.shop-toolbar__controls, .shop-toolbar__controls form { display: flex; gap: var(--space-3); align-items: center; flex-wrap: wrap; }
.shop-toolbar label { color: var(--dark); }
.shop-toolbar select { height: 36px; padding: 0 8px; border: 1px solid var(--line-strong); border-radius: var(--radius-control); font: inherit; background: var(--background); color: var(--dark); }
.shop-switch { display: flex; border: 1px solid var(--line-strong); border-radius: var(--radius-control); overflow: hidden; }
.shop-switch a { height: 36px; padding: 0 14px; display: inline-flex; align-items: center; color: var(--dark); text-decoration: none; }
.shop-switch a[aria-current] { background: var(--dark); color: var(--light); font-weight: 600; }
.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 28px 16px; }
.shop-grid .sb-tile__title { text-decoration: none; }
/* Een tegel mag nooit breder worden dan zijn kolom (lange titels en de bestelregel duwden hem eruit). */
.shop-grid .sb-tile { grid-template-columns: minmax(0, 1fr); min-width: 0; }
.sb-tile__order { margin: 0; }
.shop-list td { vertical-align: middle; }
.shop-list td:nth-child(2) { min-width: 200px; }
.shop-list .num { white-space: nowrap; }
.shop-list .sb-tile__order { flex-wrap: nowrap; }
.shop-row__title { color: var(--dark); text-decoration: none; }
.shop-row__title:hover { text-decoration: underline; }
.shop-thumb-col { width: 56px; }
.shop-thumb { width: 48px; height: 48px; border-radius: var(--radius-image); background: var(--grey); overflow: hidden; }
.shop-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shop-empty { margin: 0; padding: var(--space-6) 0; }
.shop-pager { display: flex; gap: var(--space-2); justify-content: center; padding-top: var(--space-3); flex-wrap: wrap; }
.shop-pager a, .shop-pager span { min-width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--radius-control); color: var(--dark); text-decoration: none; }
.shop-pager a[aria-current] { background: var(--dark); color: var(--light); }
.shop-pager a:hover:not([aria-current]) { background: var(--grey); }
/* Onder 900px staan de filters dicht (shop.js) en boven de resultaten, over de hele breedte. */
@media (max-width: 899px) {
  .shop-filters { max-width: none; flex-basis: 100%; }
}
@media (max-width: 760px) {
  .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
  .sb-tile__order { flex-wrap: wrap; }
  .shop-grid .sb-tile__order .sb-btn { flex: 1 1 100%; justify-content: center; }
}

/* Productpagina — artboard Productpagina. */
.shop-stack--loose { gap: var(--space-6); }
.shop-stack h2 { margin: 0; }
.shop-product { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.shop-product__media { flex: 1 1 380px; max-width: 560px; display: flex; flex-direction: column; gap: var(--space-3); }
.shop-product__image { position: relative; aspect-ratio: 1; border-radius: var(--radius-image); background: var(--grey); overflow: hidden; }
.shop-product__image img { width: 100%; height: 100%; object-fit: contain; display: block; }
.shop-product__thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-3); }
.shop-product__thumbs button { aspect-ratio: 1; border: 2px solid transparent; border-radius: var(--radius-image); background: var(--grey); padding: 0; overflow: hidden; cursor: pointer; }
.shop-product__thumbs button[aria-pressed="true"] { border-color: var(--dark); }
.shop-product__thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shop-product__info { flex: 999 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.shop-product__artist { font-family: var(--font-display); font-weight: 700; font-size: 18px; }
.shop-product__title { font-size: 48px; overflow-wrap: anywhere; }
.shop-buybox { display: flex; flex-direction: column; gap: var(--space-4); padding: 24px; background: var(--grey); border-radius: var(--radius-image); }
.shop-buybox__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: var(--space-4); }
.shop-buybox__price { font-size: 24px; line-height: 32px; }
.shop-buybox__stock { display: flex; flex-direction: column; gap: 2px; align-items: flex-end; }
.shop-buybox__order { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; margin: 0; }
.shop-buybox__qty { height: 44px; }
.shop-buybox__qty button { width: 40px; }
.shop-buybox__qty input { width: 56px; }
.shop-specs { margin: 0; display: grid; grid-template-columns: minmax(140px, 200px) minmax(0, 1fr); border-top: 1px solid var(--line); }
.shop-specs dt, .shop-specs dd { padding: 10px 0; border-bottom: 1px solid var(--line); }
.shop-specs dt { color: var(--text-muted); }
.shop-specs dd { margin: 0; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.shop-tracks { margin: 0; padding: 0; list-style: none; columns: 2 220px; column-gap: var(--space-6); }
.shop-tracks li { display: flex; gap: var(--space-3); padding: 6px 0; break-inside: avoid; border-bottom: 1px solid var(--line); }
.shop-tracks li .small { width: 24px; flex-shrink: 0; line-height: 20px; }
@media (max-width: 760px) {
  .shop-product { gap: var(--space-5); }
  .shop-product__title { font-size: 32px; }
  .shop-buybox { padding: var(--space-4); }
  .shop-buybox__stock { align-items: flex-start; }
  .shop-specs { grid-template-columns: minmax(110px, 140px) minmax(0, 1fr); }
}

/* Winkelwagen — artboard Winkelwagen. */
.shop-flash { padding-bottom: 0; display: flex; flex-direction: column; gap: var(--space-2); }
.shop-cart { display: flex; flex-wrap: wrap; gap: var(--space-6); align-items: flex-start; }
.shop-cart__lines { flex: 999 1 640px; min-width: 0; display: flex; flex-direction: column; gap: var(--space-4); }
.shop-cart__lines p { margin: 0; }
.shop-cart__lines form { margin: 0; }
.shop-cart__gone td { color: var(--text-muted); }
.shop-cart__checkout { flex: 1 1 340px; max-width: 420px; background: var(--grey); border-radius: var(--radius-image); padding: 24px; box-sizing: border-box; display: flex; flex-direction: column; gap: 20px; }
.shop-cart__checkout h2, .shop-cart__checkout p { margin: 0; }
.shop-cart__totals { margin: 0; display: grid; grid-template-columns: 1fr auto; row-gap: var(--space-2); font-variant-numeric: tabular-nums; }
.shop-cart__totals dd { margin: 0; text-align: right; }
.shop-cart__total { font-weight: 600; padding-top: var(--space-2); border-top: 1px solid var(--line-strong); }
.shop-cart__checkout select { height: 44px; padding: 0 8px; border: 1px solid var(--line-strong); border-radius: var(--radius-control); font: inherit; background: var(--background); color: var(--dark); }
.shop-cart__address { font-style: normal; padding: var(--space-3); background: var(--background); border-radius: var(--radius-control); line-height: 1.5; }
.shop-cart__pay { display: flex; align-items: center; gap: var(--space-2); padding: var(--space-3); background: var(--background); border-radius: var(--radius-control); }
.shop-cart__submit { max-width: none; width: 100%; justify-content: center; cursor: pointer; }
@media (max-width: 760px) {
  .shop-cart__checkout { max-width: none; padding: var(--space-4); }
}

/* Mijn account — artboard Mijn account. */
.shop-account { display: flex; flex-wrap: wrap; gap: var(--space-6); align-items: flex-start; }
.shop-account__aside { flex: 1 1 260px; max-width: 320px; display: flex; flex-direction: column; gap: var(--space-4); }
.shop-account__nav { display: flex; flex-direction: column; background: var(--grey); border-radius: var(--radius-image); padding: var(--space-2); }
.shop-account__nav a, .shop-account__nav button { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border: 0; border-radius: var(--radius-control); background: transparent; font: inherit; font-family: var(--font-display); font-weight: 700; color: var(--dark); text-decoration: none; text-align: left; cursor: pointer; }
.shop-account__nav a[aria-current] { background: var(--background); }
.shop-account__nav form { margin: 0; }
.shop-account__nav button { width: 100%; font-family: var(--font-body); font-weight: 400; color: var(--text-muted); }
.shop-account__box { display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-5); border: 1px solid var(--line); border-radius: var(--radius-image); }
.shop-account__box a:not(.sb-btn), .shop-account__main a:not(.sb-btn) { color: var(--dark); }
.shop-account__label { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; }
.shop-account__person { display: flex; gap: var(--space-3); align-items: center; }
.shop-account__person img, .shop-account__avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.shop-account__avatar { display: flex; align-items: center; justify-content: center; background: var(--grey); font-family: var(--font-display); font-weight: 900; font-size: 24px; }
.shop-account__person div { display: flex; flex-direction: column; }
.shop-account__person strong { font-family: var(--font-display); }
.shop-account__contact { display: flex; flex-direction: column; gap: 6px; padding: 0 4px; }
.shop-account__main { flex: 999 1 640px; min-width: 0; display: flex; flex-direction: column; gap: var(--space-5); }
.shop-account__main p { margin: 0; }
.shop-tabs { display: flex; gap: 24px; border-bottom: 1px solid var(--line); }
.shop-tabs a { padding: 12px 0; border-bottom: 3px solid transparent; font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--text-muted); text-decoration: none; }
.shop-tabs a[aria-selected="true"] { border-bottom-color: var(--primary); font-weight: 900; color: var(--dark); }
.shop-backorder__qty { display: inline-flex; gap: var(--space-2); align-items: center; margin: 0; }
.shop-backorder__action { white-space: nowrap; }
.shop-backorder__action a { font-size: 13px; }
.shop-backorder__confirm { display: inline-flex; gap: var(--space-3); align-items: center; margin: 0; }
.shop-addresses { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: var(--space-4); }
.shop-address { display: flex; flex-direction: column; justify-content: space-between; gap: var(--space-3); padding: var(--space-4); border: 1px solid var(--line); border-radius: var(--radius-image); }
.shop-addresses .shop-address address { padding: 0; border: 0; }
.shop-address__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4); }
.shop-address__actions form { margin: 0; }
.shop-address-form { max-width: 560px; }
.shop-address-form__row { display: grid; grid-template-columns: 1fr 2fr; gap: var(--space-4); }
.shop-address-form select { min-height: 44px; padding: 0 8px; border: 1px solid var(--line-strong); border-radius: var(--radius-control); font: inherit; font-size: 15px; background: var(--background); color: var(--dark); }
.shop-addresses address { font-style: normal; padding: var(--space-4); border: 1px solid var(--line); border-radius: var(--radius-image); }
@media (max-width: 760px) {
  .shop-account__aside { max-width: none; flex-basis: 100%; }
  .shop-tabs a { font-size: 15px; }
}

/* Homepage — artboard Home. */
.shop-home { display: flex; flex-direction: column; gap: 56px; }
.shop-home__head { display: flex; justify-content: space-between; align-items: end; gap: var(--space-4); flex-wrap: wrap; }
.shop-home__head h2 { margin: 0; }
.shop-grid--row { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 24px 16px; }
.shop-slider { display: flex; flex-direction: column; gap: var(--space-3); }
.shop-slider__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; border-radius: var(--radius-image); }
.shop-slider__track::-webkit-scrollbar { display: none; }
.shop-slide { flex: 0 0 100%; scroll-snap-align: start; min-height: 420px; display: flex; flex-wrap: wrap; background: var(--dark); color: var(--light); }
.shop-slide__image { flex: 1 1 420px; min-height: 220px; background: var(--grey); }
.shop-slide__image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shop-slide__body { flex: 1 1 420px; padding: 48px; box-sizing: border-box; display: flex; flex-direction: column; justify-content: center; gap: var(--space-5); }
.shop-slide__body .sb-badge { align-self: flex-start; }
.shop-slide__body h2 { margin: 0; font-family: var(--font-display); font-weight: 900; font-size: 56px; line-height: 0.95; letter-spacing: -0.03em; text-transform: uppercase; color: var(--light); }
.shop-slide__body p { margin: 0; font-size: 16px; line-height: 24px; max-width: 440px; }
.shop-slide__body .sb-btn { align-self: flex-start; }
.shop-slider__dots { display: flex; gap: var(--space-2); justify-content: center; }
.shop-slider__dots a { width: 32px; height: 4px; border-radius: 2px; background: var(--line); }
.shop-slider__dots a[aria-current] { background: var(--primary); }
.shop-banners { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: var(--space-4); }
.shop-banner { height: 240px; border-radius: var(--radius-image); background: var(--grey); overflow: hidden; display: flex; align-items: center; justify-content: center; color: var(--dark); text-decoration: none; font-family: var(--font-display); font-weight: 900; font-size: 24px; text-transform: uppercase; }
.shop-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 760px) {
  .shop-home { gap: 40px; }
  .shop-slide__body { padding: var(--space-5); }
  .shop-slide__body h2 { font-size: 36px; }
  .shop-grid--row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shop-banners { grid-template-columns: 1fr; }
}

/* Beheer (SB2B-14) */
.beheer { background: var(--background); }
.beheer-header { display: flex; align-items: center; gap: var(--space-4); padding: var(--space-3) var(--space-5); background: var(--dark); color: var(--light); }
.beheer-header__brand { display: inline-flex; align-items: center; gap: var(--space-2); color: inherit; text-decoration: none; font-family: var(--font-display); font-weight: 900; text-transform: uppercase; }
.beheer-header__user { margin-left: auto; font-size: 13px; opacity: .8; }
.beheer-header__logout { color: var(--light); }
.beheer-header__shop { color: var(--light); font-family: var(--font-display); font-size: 13px; font-weight: 700; text-decoration: none; }
.beheer-header__shop:hover { text-decoration: underline; }
.beheer-body { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: var(--space-6); max-width: 1280px; margin: 0 auto; padding: var(--space-6) var(--space-5); }
.beheer-nav { display: flex; flex-direction: column; gap: 2px; align-self: start; padding: var(--space-2); background: var(--grey); border-radius: var(--radius-image); }
.beheer-nav a { display: flex; align-items: center; justify-content: space-between; padding: var(--space-2) var(--space-3); border-radius: var(--radius-control); color: var(--dark); text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 14px; }
.beheer-nav a:hover { background: var(--background); }
.beheer-nav a[aria-current="page"] { background: var(--background); color: var(--primary); }
.beheer-main { min-width: 0; }
.beheer-panel { padding: var(--space-5); background: var(--background); border: 1px solid var(--line); border-radius: var(--radius-image); }
.beheer-form { display: flex; flex-direction: column; gap: var(--space-4); max-width: 760px; }
.beheer-form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: var(--space-4); }
.beheer-form select, .beheer-search input, .beheer-sort { min-height: 40px; padding: 0 10px; border: 1px solid var(--line-strong); border-radius: var(--radius-control); font: inherit; background: var(--background); color: var(--dark); }
.beheer-check { display: flex; align-items: center; gap: var(--space-2); font-size: 14px; }
.beheer-search { display: flex; gap: var(--space-2); align-items: center; max-width: 560px; }
.beheer-search input { flex: 1; }
.beheer-sort { width: 80px; text-align: right; }
.beheer-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); }
.beheer-actions form { margin: 0; }
.beheer-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: var(--space-3); }
.beheer-tile { display: flex; flex-direction: column; gap: var(--space-1); padding: var(--space-4); background: var(--grey); border-radius: var(--radius-image); font-size: 13px; }
.beheer-tile strong { font-family: var(--font-display); font-size: 28px; line-height: 1; font-variant-numeric: tabular-nums; }
.beheer-meter { height: 8px; background: var(--grey); border-radius: 4px; overflow: hidden; max-width: 560px; }
.beheer-meter span { display: block; height: 100%; background: var(--dark); border-radius: 4px; }
.beheer-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: var(--space-4); }
.beheer-panel > summary { cursor: pointer; list-style-position: outside; }
.beheer-quote { margin: 0; padding-left: var(--space-3); border-left: 2px solid var(--line-strong); font-size: 14px; }
.beheer-thumb { width: 96px; aspect-ratio: 16 / 9; background: var(--grey); border-radius: 4px; overflow: hidden; }
.beheer-thumb img, .beheer-preview { width: 100%; height: 100%; object-fit: cover; display: block; }
.beheer-preview { max-width: 480px; height: auto; border-radius: var(--radius-image); }
.beheer-manager { display: grid; grid-template-columns: 72px 1fr; gap: var(--space-4); align-items: start; }
.beheer-manager__photo { width: 72px; height: 72px; border-radius: 50%; overflow: hidden; background: var(--grey); display: grid; place-items: center; font-family: var(--font-display); font-weight: 900; font-size: 28px; }
.beheer-manager__photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 800px) {
  .beheer-body { grid-template-columns: 1fr; padding: var(--space-4); }
  .beheer-nav { flex-direction: row; overflow-x: auto; scrollbar-width: none; }
  .beheer-header { padding: var(--space-3) var(--space-4); }
  .beheer-header__user { display: none; }
  .beheer-header__shop { margin-left: auto; }
  .beheer-header form { margin-left: var(--space-3); }
  .beheer-nav a { white-space: nowrap; }
}

/* Responsive afronding (SB2B-15) */
@media (max-width: 900px) {
  /* Winkelwagen: elke regel een kaartje in plaats van een brede tabel. */
  .shop-cart__table thead { display: none; }
  .shop-cart__table, .shop-cart__table tbody { display: block; }
  .shop-cart__table tr { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; grid-template-areas: "thumb title title" "thumb stock stock" "thumb qty total" "thumb price remove"; column-gap: var(--space-3); row-gap: var(--space-2); padding: var(--space-4) 0; border-bottom: 1px solid var(--line); }
  .shop-cart__table td { display: block; padding: 0; border: 0; }
  .shop-cart__thumb { grid-area: thumb; }
  .shop-cart__title { grid-area: title; }
  .shop-cart__stock { grid-area: stock; }
  .shop-cart__qty { grid-area: qty; }
  .shop-cart__total-col { grid-area: total; align-self: center; }
  .shop-cart__price { grid-area: price; text-align: left !important; font-size: 13px; color: var(--text-muted); }
  .shop-cart__price::before { content: attr(data-label) " "; }
  .shop-cart__remove { grid-area: remove; justify-self: end; }
  .shop-cart__gone td[colspan] { grid-column: 2 / -1; }
  .shop-cart .sb-table-wrap { overflow: visible; }

  /* Tabellen in Mijn account: de eerste kolom blijft leesbaar; de rest scrolt opzij. */
  .shop-account__main .sb-table td:first-child { min-width: 170px; }
  .shop-cart__checkout { max-width: none; }
}
@media (max-width: 760px) {
  /* Mijn account: menu als horizontale balk bovenaan, accountmanager en contact onder de inhoud. */
  .shop-account { gap: var(--space-5); }
  .shop-account__aside { display: contents; }
  .shop-account__nav { order: 0; flex: 1 1 100%; flex-direction: row; overflow-x: auto; scrollbar-width: none; white-space: nowrap; }
  .shop-account__nav::-webkit-scrollbar { display: none; }
  .shop-account__nav a, .shop-account__nav button { padding: 8px 12px; gap: 6px; }
  .shop-account__nav button { width: auto; }
  .shop-account__main { order: 1; flex-basis: 100%; }
  .shop-account__box, .shop-account__contact { order: 2; flex: 1 1 100%; }

  /* Productpagina: lange titels niet op 36px in hoofdletters. */
  .shop-product h1.heading-xl { font-size: 26px; line-height: 1.05; }
}
