/* Krommekom – de winkel (overzicht en pagina per stuk). Gebruikt de kleuren en lettertypes uit style.css. */

/* ---------- Overzicht ---------- */
.w-overzicht { padding: 56px 0 104px; }
.w-kop {
  font-family: var(--kopje-font);
  font-size: var(--verhaal-kop-grootte);
  font-weight: 600;
  line-height: 1.1;
  text-transform: var(--verhaal-letters);
  color: var(--ink);
  margin: 0 0 .25em;
}
.w-intro {
  font-family: var(--verhaal-font);
  font-style: var(--tekst-stijl);
  font-size: 1.25rem;
  color: var(--ink);
  margin: 0 0 2.2em;
  max-width: 52ch;
}

.w-raster {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 40px 32px;
}
.w-kaart a { display: block; color: var(--ink); text-decoration: none; }
.w-beeld {
  position: relative; display: block;
  aspect-ratio: 1;
  background: var(--sand-light);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 14px;
}
.w-beeld img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.w-kaart a:hover .w-beeld img, .w-kaart a:focus-visible .w-beeld img { transform: scale(1.04); }
.w-naam {
  display: block;
  font-family: var(--verhaal-font);
  font-size: 1.3rem;
  line-height: 1.25;
  margin-bottom: 4px;
}
.w-prijs-klein { display: block; color: var(--text); font-size: 1rem; }
.is-verkocht .w-beeld img { filter: grayscale(.35); opacity: .75; }
.is-verkocht .w-prijs-klein { text-decoration: line-through; opacity: .7; }

/* Label "verkocht" / "gereserveerd" op de foto */
.w-label {
  position: absolute; top: 14px; left: 14px;
  background: var(--ink); color: var(--paper);
  font-family: var(--kopje-font);
  font-size: 1.5rem; line-height: 1;
  padding: 6px 14px 8px;
  border-radius: 3px;
  transform: rotate(-3deg);
}
.w-label-licht { background: var(--paper); color: var(--ink); }

/* ---------- Eén stuk ---------- */
.w-stuk { padding: 40px 0 104px; }
.w-terug { margin: 0 0 28px; }
.w-terug a { color: var(--accent-dark); text-decoration: none; }
.w-terug a:hover { text-decoration: underline; }

.w-stuk-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 64px; align-items: start; }

.w-hoofdfoto { position: relative; margin: 0; background: var(--sand-light); border-radius: 4px; overflow: hidden; }
.w-hoofdfoto img { width: 100%; height: auto; }
.w-geenfoto { aspect-ratio: 1; background: var(--sand-light); border-radius: 4px; }

.w-duimen { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.w-duimen button {
  display: block; padding: 0; border: 2px solid transparent; border-radius: 4px;
  background: none; cursor: pointer; overflow: hidden;
}
.w-duimen button[aria-current="true"] { border-color: var(--accent-dark); }
.w-duimen img { width: 76px; height: 76px; object-fit: cover; }

.w-info { position: sticky; top: calc(var(--header-h) + 24px); }
.w-titel {
  font-family: var(--verhaal-font);
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  font-weight: 400;
  margin: 0 0 .25em;
}
.w-prijs { font-size: 1.4rem; color: var(--ink); margin: 0 0 1.2em; }
.w-status {
  font-family: var(--verhaal-font); font-style: italic;
  color: var(--accent-dark); margin: -0.4em 0 1.2em;
}
.w-tekst p { line-height: 1.85; margin-bottom: 1.1em; }
.w-uniek {
  display: flex; align-items: center; gap: 10px;
  color: var(--accent-dark); font-size: .98rem;
  margin: 1.6em 0 1.8em;
}
.w-uniek .icon { flex: none; }
.w-klein { font-size: .92rem; color: #6d625a; margin-top: 1.2em; }

/* ---------- Tablet en gsm ---------- */
@media (max-width: 1024px) {
  .w-stuk-grid { gap: 40px; }
}
@media (max-width: 767px) {
  .w-overzicht { padding: 40px 0 72px; }
  .w-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
  .w-naam { font-size: 1.1rem; }
  .w-label { font-size: 1.15rem; top: 10px; left: 10px; padding: 4px 10px 6px; }
  .w-stuk { padding: 24px 0 72px; }
  .w-stuk-grid { grid-template-columns: 1fr; gap: 28px; }
  .w-info { position: static; }
  .w-info .btn { width: 100%; text-align: center; }
}
@media (max-width: 380px) {
  .w-raster { grid-template-columns: 1fr; }
}

/* ---------- Winkelmandje in de menubalk ---------- */
.nav-mandje a { font-weight: 600; }
.header-mandje { position: relative; color: var(--ink); justify-self: end; text-decoration: none; }
.header-mandje .icon { width: 28px; height: 28px; }
.mandje-teller {
  position: absolute; top: -6px; right: -10px;
  min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px;
  background: var(--accent-dark); color: #fff;
  font: 600 .75rem/20px var(--font-body); text-align: center;
}
@media (min-width: 768px) { .header-mandje { display: none; } }
@media (max-width: 767px) { .js .nav-mandje { display: none; } }

/* ---------- Mandje en afrekenen ---------- */
.w-smal { max-width: 760px; }
.w-mandje { list-style: none; margin: 0 0 24px; padding: 0; border-top: 1px solid var(--bar-line); }
.w-mandje li {
  display: grid; grid-template-columns: 84px 1fr auto; gap: 18px; align-items: center;
  padding: 14px 0; border-bottom: 1px solid var(--bar-line);
}
.w-mandje-foto { display: block; width: 84px; height: 84px; background: var(--sand-light); border-radius: 4px; overflow: hidden; }
.w-mandje-foto img { width: 100%; height: 100%; object-fit: cover; }
.w-mandje-tekst { display: grid; gap: 2px; }
.w-mandje-tekst a { color: var(--ink); text-decoration: none; font-family: var(--verhaal-font); font-size: 1.2rem; }
.w-mandje-tekst a:hover { text-decoration: underline; }
.w-weg { background: none; border: 0; padding: 6px; color: var(--accent-dark); text-decoration: underline; cursor: pointer; font: inherit; font-size: .95rem; }
.w-totaal { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.2rem; color: var(--ink); margin: 0 0 .4em; max-width: none; }
.w-totaal strong { font-size: 1.4rem; }
.w-knoppen { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 1.6em; }
.w-verder { color: var(--accent-dark); }

.w-afrekenen { max-width: 1100px; }
.w-afrekenen-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.w-sub {
  font-family: var(--kopje-font); font-size: 2rem; font-weight: 600; line-height: 1.1;
  color: var(--ink); margin: 1.2em 0 .5em;
}
.w-form .w-sub:first-of-type { margin-top: .2em; }
.w-veld { display: grid; gap: 6px; margin-bottom: 16px; }
.w-veld label { font-weight: 500; color: var(--ink); }
.w-veld small { font-weight: 400; color: #6d625a; }
.w-veld input, .w-veld textarea {
  width: 100%; font: inherit; color: var(--text);
  background: #fbf9f6; border: 1px solid #cfc6bb; border-radius: 4px; padding: 11px 12px;
}
.w-veld input:focus, .w-veld textarea:focus { outline: 2px solid var(--accent-dark); outline-offset: 1px; }
.w-rij { display: grid; grid-template-columns: 1fr 2fr; gap: 14px; }
.w-keuzes { display: grid; gap: 8px; margin-bottom: 16px; }
.w-keuze {
  display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center;
  background: #fbf9f6; border: 1px solid #cfc6bb; border-radius: 6px; padding: 13px 14px; cursor: pointer;
}
.w-keuze input { width: 20px; height: 20px; accent-color: var(--accent-dark); }
.w-keuze span { color: var(--ink); }
.w-keuze:has(input:checked) { border-color: var(--accent-dark); box-shadow: 0 0 0 1px var(--accent-dark); }
.w-blok { margin-bottom: 8px; }
.w-blok[hidden] { display: none; }
.w-vink { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; margin: 14px 0; cursor: pointer; }
.w-vink input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--accent-dark); }
.w-betaal { width: 100%; margin-top: 10px; padding: 1em; font-size: 1.1rem; }
.w-betaal:disabled { opacity: .6; cursor: wait; }

.w-samenvatting {
  background: #f6f3ee; border: 1px solid var(--bar-line); border-radius: 6px; padding: 8px 24px 20px;
  position: sticky; top: calc(var(--header-h) + 24px);
}
.w-samenvatting ul { list-style: none; margin: 0 0 14px; padding: 0; }
.w-samenvatting li { display: flex; justify-content: space-between; gap: 14px; padding: 8px 0; border-bottom: 1px solid var(--bar-line); }

@media (max-width: 767px) {
  .w-mandje li { grid-template-columns: 64px 1fr; }
  .w-mandje-foto { width: 64px; height: 64px; }
  .w-mandje form { grid-column: 2; }
  .w-weg { padding: 0; }
  .w-afrekenen-grid { grid-template-columns: 1fr; gap: 28px; }
  .w-samenvatting { position: static; order: -1; }
  .w-rij { grid-template-columns: 1fr; gap: 0; }
  .w-knoppen .btn { width: 100%; text-align: center; }
}

/* ---------- Btw-vermelding en factuur ---------- */
.w-prijs small { font-size: .9rem; color: #6d625a; margin-left: .3em; }
.w-intro + .w-btw { margin: -1.8em 0 2.2em; }
.w-samenvatting .w-klein { margin-top: 0; text-align: right; }
.w-blok-factuur { margin: 0 0 8px 30px; }
.w-blok-factuur[hidden] { display: none; }
@media (max-width: 767px) { .w-blok-factuur { margin-left: 0; } }

/* ---------- Gegevens en links onderaan elke pagina ---------- */
.footer-gegevens { margin: 0; max-width: none; font-size: .92rem; line-height: 1.7; color: #d8cfc6; }
.footer-gegevens a, .footer-links a { color: #fff; }
.footer-links { margin: 0; max-width: none; font-size: .92rem; }
.footer-links a:hover, .footer-gegevens a:hover { color: var(--sand-light); }

/* ---------- Voorwaarden, privacy, herroeping ---------- */
.juridisch .prose { max-width: 760px; }
.juridisch .prose h2 {
  font-family: var(--font-head); font-size: 1.45rem; font-weight: 600;
  margin: 1.8em 0 .5em;
}
.juridisch .prose ul { padding-left: 1.2em; margin: 0 0 1em; max-width: 62ch; }
.juridisch .prose li { margin-bottom: .6em; line-height: 1.75; }
.formulier-model {
  background: #f6f3ee; border: 1px solid var(--bar-line); border-radius: 6px;
  padding: 18px 22px; margin-top: 1.4em;
}
.formulier-model p { margin-bottom: .7em; }
