/* =============================================================================
   Tonnie Voorn Kunst — opmaak
   Stijl en structuur volgen sanderartworks.nl (JouwWeb-thema):
   donkere achtergrond, gouden menu in Oswald, rode knoppen, gouden footer.
   ========================================================================== */

:root {
  --bg: #3f4143;            /* achtergrond buiten de content */
  --main: #38393b;          /* achtergrond van de content */
  --header: #0b0000;        /* header en submenu */
  --header-hover: #250000;  /* submenu hover */
  --text: #e8e8e8;
  --muted: #a2a2a3;
  --heading: #ffffff;
  --link: #c5a126;
  --accent: #9a7e1e;
  --gold: #dab844;          /* menukleur */
  --btn: #8c1b1b;
  --btn-hover: #611313;
  --input-bg: #515255;
  --input-border: #65676a;
  --footer: #a78856;
  --footer-link: #360b0b;
  --frame: #111111;

  --font-body: "Open Sans", "Helvetica Neue", Arial, sans-serif;
  --font-menu: "Oswald", "Arial Narrow", Arial, sans-serif;
  --font-heading: "Franklin Gothic", "Franklin Gothic Medium", "ITC Franklin Gothic", Arial, sans-serif;

  --w: 1100px;
  --pad: 20px;
}

*, *::before, *::after { box-sizing: border-box; }

html { font-size: 10px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img { max-width: 100%; height: auto; }
a { color: var(--link); text-decoration: underline; text-underline-offset: 2px; }
a:hover { text-decoration: none; }
p { margin: 0 0 14px; }
ul, ol { padding-left: 1.5em; }
strong { font-weight: 700; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--heading);
  line-height: 1.4;
  margin: 0 0 14px;
}
h1 { font-size: 30.6px; }
h2 { font-size: 23.8px; }
h3 { font-size: 19.9px; margin-top: 21px; }
h4 { font-size: 16.8px; margin-top: 14px; }
h1:first-child, h2:first-child, h3:first-child { margin-top: 0; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  background: var(--gold); color: #000; padding: 8px 14px; font-weight: 700;
}
.skip-link:focus { left: 8px; }

/* --- Header ---------------------------------------------------------------- */

.site-header { background: var(--header); color: var(--text); }
.site-header__inner {
  max-width: none; margin: 0; padding: 28px 40px;
  position: relative;
  display: flex; align-items: center; gap: 28px;
}

.brand {
  display: inline-flex; flex-direction: column; align-items: flex-start; flex: none;
  text-decoration: none; color: inherit;
}

.menu { flex: 1; min-width: 0; display: flex; justify-content: flex-end; }
.menu__list { justify-content: flex-end; }
.brand__photo {
  display: block; width: 150px; height: 150px; object-fit: cover; object-position: 50% 20%;
  border: 3px solid #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, .6);
}
.brand__name {
  display: block; margin-top: 10px;
  font-family: var(--font-menu); font-size: 26px; line-height: 1; letter-spacing: .06em;
  text-transform: uppercase; color: var(--gold);
}
.brand__tag {
  display: block; font-size: 12px; font-style: italic; color: var(--muted); line-height: 1.6;
}

.menu-toggle { display: none; }

.menu__list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; align-items: center;
  font-family: var(--font-menu); font-size: 18px; line-height: 1; text-transform: uppercase;
}
.menu__list > li { position: relative; margin-left: 10px; }
.menu__list > li:first-child { margin-left: 0; }
.menu__list a, .menu__icon-btn {
  display: block; padding: 11px; color: var(--gold); text-decoration: none;
  transition: color .2s ease, background .2s ease;
  font: inherit; background: none; border: 0; cursor: pointer; text-transform: inherit;
}
.menu__list a:hover, .menu__icon-btn:hover { color: #fff; }
.menu__list a[aria-current="page"] { color: #fff; }
.arrow { font-family: Times, serif; font-size: .85em; margin-left: .3em; }

.has-sub > .sub-toggle { display: none; }
.submenu {
  list-style: none; margin: 0; padding: 0;
  position: absolute; left: 0; top: 100%; z-index: 30;
  min-width: 170px; background: var(--header);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .35);
  display: none; font-size: 16.2px;
}
.has-sub:hover > .submenu, .has-sub:focus-within > .submenu, .has-sub.is-open > .submenu { display: block; }
.submenu a { white-space: nowrap; padding: 11px; }
.submenu a:hover { background: var(--header-hover); color: var(--gold); }

.menu__icon-btn svg { width: 18px; height: 18px; display: block; fill: currentColor; }
.menu__search { position: relative; }
.search-popover {
  position: absolute; right: 0; top: 100%; z-index: 40; margin-top: 4px;
  background: #fff; color: #333; padding: 12px; border-radius: 4px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .4); min-width: 300px;
}
.search-popover::before {
  content: ""; position: absolute; right: 16px; top: -8px;
  border: 8px solid transparent; border-top: 0; border-bottom-color: #fff;
}
.search-popover form { display: flex; gap: 0; }
.search-popover input {
  flex: 1; font: 14px/1.4 var(--font-body); padding: 8px 12px;
  border: 2px solid #ccc; border-right: 0; border-radius: 7px 0 0 7px; min-width: 0;
}
.search-popover .btn { border-radius: 0 7px 7px 0; }

/* --- Mobile bar (onderin, zoals de JouwWeb-mobielbalk) --------------------- */

.mobile-bar { display: none; }

/* --- Pagina ---------------------------------------------------------------- */

.page { background: var(--main); flex: 1; }
.strip { padding: 40px var(--pad); }
.strip--tight { padding-top: 0; }
.strip__inner { max-width: var(--w); margin: 0 auto; }
.strip--dark { background: #2f3032; }

.breadcrumbs { font-size: 12.6px; color: var(--muted); margin: -20px 0 20px; }
.breadcrumbs a { color: var(--link); }
.breadcrumbs span { margin: 0 .4em; }

.columns { display: flex; gap: 24px; align-items: flex-start; margin-bottom: 14px; }
.col--text { flex: 0 0 62%; max-width: 62%; }
.col--media { flex: 1; min-width: 0; }
.col--narrow { flex: 0 0 36%; max-width: 36%; }

.framed { margin: 0; }
.framed img {
  display: block; width: 100%; height: auto;
  border: 6px solid var(--frame); box-shadow: 0 4px 18px rgba(0, 0, 0, .5);
  background: #000;
}
.framed figcaption { font-size: 12.6px; color: var(--muted); margin-top: 6px; }

blockquote.quote {
  margin: 0 0 21px; padding: 0 0 0 16px; border-left: 4px solid var(--accent);
  font-family: var(--font-heading); font-size: 19.9px; font-weight: 700; color: #fff; line-height: 1.4;
}
blockquote.quote cite { display: block; font: italic 14px/1.8 var(--font-body); color: var(--muted); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; }

.btn, button.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--btn); color: #fff; text-decoration: none;
  font: 400 14px/1.6 var(--font-body); padding: 7px 14px; border: 0; border-radius: 7px;
  cursor: pointer; transition: background .2s ease;
}
.btn:hover, .btn:focus-visible { background: var(--btn-hover); color: #fff; text-decoration: none; }
.btn--small { font-size: 12.25px; padding: 5px 10px; }
.btn--ghost { background: transparent; border: 2px solid var(--btn); }
.btn--ghost:hover { background: var(--btn); }
.btn svg { width: 16px; height: 16px; fill: currentColor; }

.text--muted { color: var(--muted); }
.text--small { font-size: 12.6px; }

/* --- Video ----------------------------------------------------------------- */

.video-frame { margin: 0; }
.video-frame video, .video-frame iframe {
  display: block; width: 100%; aspect-ratio: 16 / 9; height: auto;
  background: #000; border: 6px solid var(--frame); box-shadow: 0 4px 18px rgba(0, 0, 0, .5);
}
.video-frame iframe { border-width: 6px; }
.video-frame figcaption { font-size: 12.6px; color: var(--muted); margin-top: 8px; }

/* --- Delen ----------------------------------------------------------------- */

.share { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 6px; }
.share a {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px;
  color: #fff; text-decoration: none; font-size: 12.6px; border-radius: 3px; line-height: 1.8;
}
.share a svg { width: 14px; height: 14px; fill: currentColor; }
.share--facebook { background: #1877f2; }
.share--whatsapp { background: #25d366; }
.share--pinterest { background: #e60023; }
.share a:hover { filter: brightness(1.1); }

/* --- Shop ------------------------------------------------------------------ */

.shop-toolbar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 10px; margin: 14px 0 4px;
}
.shop-toolbar__sort { display: flex; align-items: center; gap: 8px; }

.filters { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-bottom: 4px; }
.filters button {
  background: none; border: 0; padding: 4px 0; cursor: pointer;
  font: 14px/1.8 var(--font-body); color: var(--link);
}
.filters button[aria-pressed="true"] { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

select, input, textarea {
  font: 14px/1.5 var(--font-body); color: var(--text);
  background: var(--input-bg); border: 2px solid var(--input-border); border-radius: 0;
  padding: 6px 12px;
}
select {
  appearance: none; -webkit-appearance: none;
  padding-right: 28px;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg width='10' height='6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h10L5 6z' fill='%23e8e8e8'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center;
}
input:focus, select:focus, textarea:focus, button:focus-visible, a:focus-visible {
  outline: 2px solid var(--gold); outline-offset: 2px;
}

.products {
  list-style: none; margin: 14px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px;
}
.product {
  position: relative; display: flex; flex-direction: column;
  padding: 11px; border: 1px solid rgba(255, 255, 255, .12); background: rgba(0, 0, 0, .06);
  transition: border-color .2s ease;
}
.product:hover { border-color: rgba(255, 255, 255, .3); }
.product__image {
  position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden;
}
.product__image img {
  width: 100%; height: 100%; object-fit: contain; display: block;
  transition: transform .3s ease;
}
.product:hover .product__image img { transform: scale(1.02); }
.sticker {
  position: absolute; z-index: 2; top: 10px; right: 0;
  background: var(--btn); color: #fff; padding: 5.25px 10.5px; font-size: 14px; line-height: 1.2;
}
.sticker--sold { background: #222; color: var(--gold); }
.product__details { margin-top: 10px; flex: 1; }
.product__name {
  display: block; font-size: 16.8px; color: var(--text); text-decoration: none; line-height: 1.3;
}
.product__name:hover { color: #fff; text-decoration: underline; }
.product__price { display: block; padding-top: 5px; }
.product__price--request { color: var(--muted); }
.product__meta { font-size: 12.6px; color: var(--muted); margin-top: 2px; }
.product__actions { margin-top: 10px; }

.shop-empty { padding: 40px 0; color: var(--muted); }

.pager { display: flex; justify-content: center; gap: 6px; margin-top: 24px; color: var(--muted); }

/* --- Detailvenster (product, foto) ----------------------------------------- */

.modal {
  position: fixed; inset: 0; z-index: 200; display: none;
  background: rgba(0, 0, 0, .78); padding: 20px; overflow: auto;
}
.modal.is-open { display: flex; align-items: flex-start; justify-content: center; }
.modal__dialog {
  position: relative; width: 100%; max-width: 1000px; margin: auto;
  background: var(--main); color: var(--text); padding: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .6);
}
.modal__close {
  position: absolute; top: 8px; right: 8px; z-index: 3;
  width: 40px; height: 40px; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(0, 0, 0, .5); color: var(--gold); font-size: 26px; line-height: 40px; text-align: center;
}
.modal__close:hover { background: #000; color: #fff; }

.detail { display: grid; grid-template-columns: 55% 1fr; gap: 28px; align-items: start; }
.detail__image { position: relative; }
.detail__image img {
  display: block; width: 100%; max-height: 75vh; object-fit: contain; background: #000;
  border: 6px solid var(--frame);
}
.detail__image .sticker { right: 6px; top: 16px; }
.detail__title { font-size: 26px; margin-bottom: 8px; }
.detail__price { font-size: 18px; font-weight: 700; color: #fff; margin: 0 0 4px; }
.detail__price--request { font-weight: 400; color: var(--muted); font-size: 16px; }
.detail__note { color: #f1b5b5; font-weight: 700; font-size: 13px; margin: 0 0 14px; }
.specs { list-style: none; padding: 0; margin: 0 0 14px; font-size: 13.5px; }
.specs li { display: flex; gap: 10px; padding: 4px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.specs li span:first-child { color: var(--muted); min-width: 110px; }
.detail__actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0; }
.detail__desc { font-size: 13.5px; }

/* --- Foto gallery ---------------------------------------------------------- */

.gallery {
  list-style: none; margin: 14px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px;
}
.gallery button {
  display: block; width: 100%; padding: 0; border: 0; background: #000; cursor: pointer;
  aspect-ratio: 1 / 1; overflow: hidden; border: 4px solid var(--frame);
}
.gallery img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease, opacity .3s ease; }
.gallery button:hover img { transform: scale(1.04); opacity: .9; }

.lightbox__dialog { background: transparent; box-shadow: none; padding: 0; max-width: 1200px; text-align: center; }
.lightbox__dialog img {
  display: inline-block; max-width: 100%; max-height: 82vh; width: auto; height: auto;
  border: 6px solid var(--frame); box-shadow: 0 10px 40px rgba(0, 0, 0, .7); background: #000;
}
.lightbox__caption { color: var(--text); margin-top: 10px; min-height: 1.8em; }
.lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(0, 0, 0, .55); color: var(--gold); font-size: 28px; line-height: 46px;
}
.lightbox__nav:hover { background: #000; color: #fff; }
.lightbox__nav--prev { left: 6px; }
.lightbox__nav--next { right: 6px; }

/* --- Formulieren ----------------------------------------------------------- */

.form { max-width: 640px; }
.form__row { display: grid; grid-template-columns: 180px 1fr; gap: 8px 16px; align-items: start; margin-bottom: 16px; }
.form__row label { padding-top: 6px; }
.form__row input, .form__row textarea, .form__row select { width: 100%; }
.form__row textarea { min-height: 120px; resize: vertical; }
.form__row--check { grid-template-columns: 180px 1fr; }
.form__row--check label { display: flex; align-items: center; gap: 8px; padding-top: 0; }
.form__row--check input { width: auto; }
.form__row--submit { margin-top: 4px; }
.form__row--submit > *:first-child { grid-column: 2; }
.form__hint { font-size: 12.6px; color: var(--muted); grid-column: 2; }
.form__status--fout { font-size: 15px; font-weight: 700; color: #ff8a80; }
.reactie-bedankt { margin: 0 0 20px; padding: 18px 20px; border: 1px solid var(--link); background: rgba(0, 0, 0, .18); }
.reactie-bedankt p { margin: 0 0 6px; }
.reactie-bedankt p:last-child { margin: 0; }
.reactie-bedankt strong { color: var(--link); font-size: 18px; }
.hp { position: absolute; left: -9999px; }

.contact-direct { list-style: none; margin: 0; padding: 0; }
.contact-direct li { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.contact-direct svg { width: 22px; height: 22px; fill: var(--gold); flex: none; }
.contact-direct a { font-size: 16px; }

.reacties-list { list-style: none; margin: 0; padding: 0; }
.reactie { padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.reactie__head { display: flex; gap: 12px; align-items: baseline; }
.reactie__name { font-weight: 700; color: #fff; }
.reactie__date { color: var(--muted); font-size: 12.6px; }
.reactie p:last-child { margin-bottom: 0; }

/* --- Footer ---------------------------------------------------------------- */

.site-footer { background: var(--footer); color: #1d1408; }
.site-footer__inner { max-width: var(--w); margin: 0 auto; padding: 28px var(--pad); text-align: center; }
.site-footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; margin-bottom: 10px; font-size: 14px; }
.site-footer__links a { color: var(--footer-link); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.site-footer__links a:hover { text-decoration: underline; }
.site-footer__links svg { width: 16px; height: 16px; fill: currentColor; }
.site-footer__copy { font-size: 12.6px; margin: 0; }
.site-footer__copy a { color: var(--footer-link); }

/* --- Responsief ------------------------------------------------------------ */

@media (max-width: 1024px) {
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  body { padding-bottom: 72px; }

  .site-header__inner { padding: 12px var(--pad) 12px; display: flex; align-items: center; justify-content: center; gap: 0; min-height: 72px; }
  .menu-toggle {
    display: block; position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
    width: 44px; height: 44px; background: none; border: 0; cursor: pointer; padding: 10px;
  }
  .menu-toggle span { display: block; height: 3px; background: var(--gold); margin: 5px 0; border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  .brand { flex-direction: row; align-items: center; gap: 10px; margin: 0; }
  .brand__photo { width: 48px; height: 48px; border-width: 2px; }
  .brand__name { margin-top: 0; font-size: 18px; }
  .brand__tag { display: none; }

  .menu { display: none; position: absolute; left: 0; right: 0; top: 100%; z-index: 50; flex: none; background: var(--header); box-shadow: 0 10px 30px rgba(0, 0, 0, .4); }
  .menu.is-open { display: block; }
  .menu__list { display: block; font-size: 18px; }
  .menu__list > li { margin: 0; }
  .menu__list a, .menu__icon-btn { padding: 15px; text-align: center; width: 100%; }
  .menu__list a:hover { background: rgba(218, 184, 68, .1); color: var(--gold); }
  .has-sub > a { padding-right: 60px; padding-left: 60px; }
  .has-sub > .sub-toggle {
    display: block; position: absolute; right: 0; top: 0; width: 60px; height: 48px;
    background: none; border: 0; color: var(--gold); cursor: pointer; font-family: Times, serif; font-size: 16px;
  }
  .has-sub > .sub-toggle::after { content: "▼"; }
  .has-sub.is-open > .sub-toggle::after { content: "▲"; }
  .has-sub > .arrow, .has-sub > a .arrow { display: none; }
  .submenu { position: static; box-shadow: none; background: rgba(218, 184, 68, .1); font-size: 16px; }
  .has-sub:hover > .submenu, .has-sub:focus-within > .submenu { display: none; }
  .has-sub.is-open > .submenu { display: block; }
  .menu__search { position: static; }
  .menu__search .menu__icon-btn { display: flex; justify-content: center; }
  .search-popover { position: static; margin: 0 15px 15px; min-width: 0; }
  .search-popover::before { display: none; }

  .mobile-bar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    background: var(--footer); border-top: 1px solid rgba(0, 0, 0, .15);
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
  }
  .mobile-bar a {
    flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px;
    color: #1d1408; text-decoration: none; font-size: 12px; line-height: 1.3;
  }
  .mobile-bar svg { width: 22px; height: 22px; fill: currentColor; }

  .strip { padding: 30px var(--pad); }
  .columns { flex-direction: column; }
  .col--text, .col--narrow { flex: none; max-width: none; }
  .col--media { width: 100%; }
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .detail { grid-template-columns: 1fr; }
  .modal { padding: 10px; }
  .modal__dialog { padding: 16px; }
  .form__row, .form__row--check { grid-template-columns: 1fr; }
  .form__row--submit > *:first-child, .form__hint { grid-column: 1; }
  .share { justify-content: flex-start; }
  h1 { font-size: 26px; }
  h2 { font-size: 21px; }
}

@media (max-width: 420px) {
  .products { grid-template-columns: 1fr; }
}
