/* Shoes.sr – rustig, wit, veel ruimte, grote foto's */
:root {
  --ink: #111;
  --muted: #707072;
  --line: #e5e5e5;
  --soft: #f5f5f5;
  --accent: #d43f21;
  --ok: #007d48;
  --radius-pill: 30px;
  --font: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: var(--font); color: var(--ink); background: #fff; font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; display: block; }
main { min-height: 60vh; }

/* Topbar + nav */
.topbar { background: var(--soft); text-align: center; font-size: 12px; padding: 8px 16px; }
.nav { display: flex; align-items: center; justify-content: space-between; height: 60px; padding: 0 36px; position: sticky; top: 0; background: #fff; z-index: 10; }
.wordmark { font-weight: 900; font-size: 24px; letter-spacing: -1px; text-decoration: none; font-style: italic; text-transform: lowercase; }
.wordmark span { color: var(--accent); }
.wordmark-light { color: #fff; }
.nav-links { display: flex; gap: 24px; }
.nav-links a { text-decoration: none; font-weight: 500; font-size: 16px; padding: 18px 0; border-bottom: 2px solid transparent; }
.nav-links a:hover { border-bottom-color: var(--ink); }
.nav-cart { position: relative; display: inline-flex; padding: 6px; border-radius: 50%; }
.nav-cart:hover { background: var(--line); }
.cart-count { position: absolute; top: 9px; left: 0; right: 0; text-align: center; font-size: 9px; font-weight: 700; }
.flash { max-width: 1200px; margin: 16px auto 0; padding: 12px 16px; background: var(--soft); border-radius: 8px; }

/* Hero */
/* Hero: compacte banner (tekst links, schoen rechts) zodat de producten meteen in beeld staan */
.hero { max-width: 1440px; margin: 0 auto; padding: 0 36px; display: grid; grid-template-columns: 2fr 3fr; align-items: center; background: linear-gradient(135deg, #f5f5f5 0%, #e9e9e9 100%); }
.hero-media { order: 2; height: 38vh; min-height: 220px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero-media img { max-height: 92%; max-width: 100%; width: auto; }
.hero-text { order: 1; text-align: left; padding: 16px 0 16px 24px; }
.hero-text .eyebrow { font-weight: 500; margin: 0 0 8px; }
.hero-text h1 { font-size: clamp(32px, 3.6vw, 56px); line-height: .9; margin: 0; font-weight: 900; text-transform: uppercase; letter-spacing: -2px; font-family: "Helvetica Neue", "Arial Black", Arial, sans-serif; }
.hero-text p { margin: 12px 0 20px; max-width: 36ch; }

/* Buttons */
.btn { display: inline-block; border: 0; cursor: pointer; font: 500 16px/1 var(--font); padding: 18px 24px; border-radius: var(--radius-pill); background: var(--ink); color: #fff; text-decoration: none; text-align: center; }
.btn:hover { background: #3a3a3a; }
.btn-block { display: block; width: 100%; }
.btn-light { background: #fff; color: var(--ink); border: 1.5px solid #cacacb; }
.btn-light:hover { background: #fff; border-color: var(--ink); }
.btn-wa { background: #25d366; color: #fff; }
.btn-wa:hover { background: #1ebe5a; }
.btn-small { padding: 10px 16px; font-size: 14px; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; text-decoration: underline; cursor: pointer; color: var(--muted); }

/* Grid */
.section { max-width: 1440px; margin: 0 auto; padding: 32px 36px 48px; }
.section h2 { font-size: 24px; font-weight: 500; margin: 0 0 24px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.card { text-decoration: none; }
.card-img { background: var(--soft); aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center; }
.card-img img { width: 86%; }
.card-body { padding: 12px 0 24px; }
.card-badge { color: var(--accent); font-weight: 500; font-size: 15px; }
.card-title { font-weight: 500; }
.card-sub { color: var(--muted); }
.card-price { font-weight: 500; margin-top: 8px; }

.info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.info h3 { font-size: 20px; font-weight: 500; margin: 0 0 8px; }
.info p { color: var(--muted); margin: 0; }

/* Product */
.pdp { max-width: 1200px; margin: 0 auto; padding: 48px 36px; display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; }
.pdp-img { background: var(--soft); aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center; }
.pdp-img img { width: 88%; }
.pdp h1 { font-size: 28px; font-weight: 500; margin: 0; line-height: 1.2; }
.pdp .sub { font-weight: 500; margin: 4px 0 20px; }
.pdp .price { font-size: 18px; font-weight: 500; margin-bottom: 36px; }
.size-head { display: flex; justify-content: space-between; font-weight: 500; margin-bottom: 12px; }
.size-head span { color: var(--muted); font-weight: 400; }
.sizes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 24px; }
.sizes input { position: absolute; opacity: 0; pointer-events: none; }
.sizes label { display: block; text-align: center; padding: 12px 0; border: 1px solid var(--line); border-radius: 6px; cursor: pointer; }
.sizes label:hover { border-color: var(--ink); }
.sizes input:checked + label { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.sizes input:focus-visible + label { outline: 2px solid var(--ink); outline-offset: 2px; }
.pdp .desc { margin-top: 36px; }
.error { color: var(--accent); margin: 0 0 12px; }

/* Cart / checkout */
.page { max-width: 1100px; margin: 0 auto; padding: 48px 36px; }
.page h1 { font-size: 24px; font-weight: 500; margin: 0 0 24px; }
.two-col { display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; align-items: start; }
.line { display: grid; grid-template-columns: 150px 1fr auto; gap: 16px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.line img { background: var(--soft); aspect-ratio: 1/1; object-fit: contain; padding: 8px; }
.line .muted { color: var(--muted); }
.line form { display: inline; }
.qty { display: inline-flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: var(--radius-pill); padding: 4px 8px; margin-top: 12px; }
.qty button { background: none; border: 0; font-size: 18px; width: 28px; height: 28px; border-radius: 50%; cursor: pointer; }
.qty button:hover { background: var(--soft); }
.summary h2 { font-size: 22px; font-weight: 500; margin: 0 0 16px; }
.summary .row { display: flex; justify-content: space-between; margin: 8px 0; }
.summary .total { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 16px 0; margin: 16px 0 24px; font-weight: 500; }
.empty { padding: 48px 0; }

.form label { display: block; font-size: 14px; margin: 0 0 6px; }
.form .field { margin-bottom: 18px; }
.form input[type=text], .form input[type=tel], .form input[type=password], .form textarea, .form select {
  width: 100%; font: 16px var(--font); padding: 16px; border: 1px solid #cacacb; border-radius: 8px; background: #fff;
}
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--ink); }
.form .hint { color: var(--muted); font-size: 13px; margin-top: 4px; }
.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.choice input { position: absolute; opacity: 0; }
.choice label { border: 1px solid #cacacb; border-radius: 8px; padding: 16px; cursor: pointer; margin: 0; font-size: 16px; }
.choice input:checked + label { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.choice small { display: block; color: var(--muted); }

/* Test-betaalpagina */
.gateway { max-width: 440px; margin: 48px auto; border: 1px solid var(--line); border-radius: 16px; padding: 32px; text-align: center; }
.gateway .tag { display: inline-block; background: #fff3cd; color: #7a5b00; font-size: 12px; padding: 4px 10px; border-radius: 20px; margin-bottom: 16px; }
.gateway .amount { font-size: 40px; font-weight: 700; margin: 8px 0 24px; }
.gateway form { margin-top: 12px; }

/* Bon */
.receipt { max-width: 560px; margin: 0 auto; padding: 48px 24px; }
.receipt .check { width: 56px; height: 56px; border-radius: 50%; background: var(--ok); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 28px; margin-bottom: 16px; }
.receipt h1 { font-size: 28px; font-weight: 500; margin: 0 0 4px; }
.receipt .ordernr { color: var(--muted); margin: 0 0 32px; }
.receipt dl { display: grid; grid-template-columns: 140px 1fr; gap: 8px 16px; margin: 0 0 24px; }
.receipt dt { color: var(--muted); }
.receipt dd { margin: 0; }
.receipt .items { border-top: 1px solid var(--line); margin: 24px 0; }
.receipt .item { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); }
.status { display: inline-block; padding: 2px 10px; border-radius: 20px; font-size: 13px; font-weight: 500; background: var(--soft); }
.status-betaald { background: #e3f5ec; color: var(--ok); }
.status-open { background: #fff3cd; color: #7a5b00; }
.status-geannuleerd { background: #fde8e4; color: var(--accent); }
.status-afgeleverd { background: #e7eefc; color: #1d4ed8; }

/* Admin */
.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.admin-table th, .admin-table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.admin-table th { font-weight: 500; color: var(--muted); }
.admin-table td:nth-child(-n+2), .admin-table td:nth-child(5) { white-space: nowrap; }
.admin-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.admin-table select { font: 14px var(--font); padding: 6px; border-radius: 6px; border: 1px solid #cacacb; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.filters a { text-decoration: none; padding: 6px 14px; border: 1px solid var(--line); border-radius: 20px; font-size: 14px; }
.filters a.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 32px; }
.stats div { background: var(--soft); padding: 16px; border-radius: 8px; }
.stats strong { display: block; font-size: 24px; }

/* 404 */
.notfound { max-width: 640px; margin: 0 auto; padding: 96px 24px; text-align: center; }
.notfound .eyebrow { color: var(--muted); font-weight: 500; margin: 0 0 8px; }
.notfound h1 { font-size: clamp(32px, 5vw, 48px); font-weight: 900; text-transform: uppercase; letter-spacing: -1.5px; line-height: 1; margin: 0 0 16px; }
.notfound p { color: var(--muted); margin: 0 0 32px; }
.notfound-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Footer */
.footer { background: #111; color: #fff; padding: 48px 36px 24px; margin-top: 64px; }
.footer-cols { display: flex; gap: 96px; }
.footer p { color: #a7a7a7; max-width: 360px; }
.footer h4 { margin: 0 0 12px; font-weight: 500; }
.footer a { display: block; color: #a7a7a7; text-decoration: none; margin-bottom: 8px; }
.footer a:hover { color: #fff; }
.footer-small { font-size: 12px; margin-top: 36px; max-width: none !important; }

@media (max-width: 900px) {
  .nav { padding: 0 16px; }
  .nav-links { display: none; }
  .hero { padding: 0; grid-template-columns: 1fr; }
  .hero-media { order: 1; height: 30vh; min-height: 180px; }
  .hero-text { order: 2; text-align: center; padding: 16px 16px 8px; }
  .hero-text p { margin: 12px auto 16px; }
  .section, .page, .pdp { padding: 32px 16px; }
  .grid { grid-template-columns: 1fr; }
  .info { grid-template-columns: 1fr; gap: 24px; }
  .pdp, .two-col { grid-template-columns: 1fr; gap: 24px; }
  .line { grid-template-columns: 96px 1fr; }
  .line > :last-child { grid-column: 2; }
  .footer-cols { flex-direction: column; gap: 24px; }
  .flash { margin: 12px 16px 0; }
  .stats { gap: 8px; }
  .stats div { padding: 12px; font-size: 13px; }
  .stats strong { font-size: 20px; }
  .admin-table { display: block; overflow-x: auto; }
}

/* ---- Cloudflare-versie (shop/): galerij, voorraad, handmatig betalen ---- */
.muted, .muted-note { color: var(--muted); }
.muted-note { font-size: 13px; margin-top: 12px; }
.narrow { max-width: 420px; }
.wide { max-width: 1300px; }
.back-link { margin-top: 24px; }
.gallery { min-width: 0; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 8px; margin-top: 8px; }
.thumb { padding: 0; border: 1px solid transparent; background: var(--soft); aspect-ratio: 1/1; cursor: pointer; border-radius: 4px; overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: contain; }
.thumb.active, .thumb:hover { border-color: var(--ink); }
.pdp-img img { max-height: 100%; object-fit: contain; }
.card-img img { aspect-ratio: 1/1; object-fit: contain; }
.card-badge-out { color: var(--muted); }
.card-soldout .card-img img { opacity: .55; }
.btn-disabled, .btn:disabled { background: #cacacb; cursor: not-allowed; }
.stock-note { color: var(--accent); font-size: 14px; margin: 10px 0 0; text-align: center; }
.qty button:disabled { opacity: .3; cursor: not-allowed; }
.notice { background: var(--soft); border-radius: 12px; padding: 20px 24px; margin: 16px 0 24px; }
.notice ol { margin: 12px 0 0; padding-left: 20px; }
.notice li { margin-bottom: 6px; }
.gateway-title { font-size: 20px; font-weight: 500; margin: 0; }
.admin-h2 { font-size: 20px; font-weight: 500; margin: 48px 0 8px; }
.stock-form { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.stock-form input[type=number] { width: 80px; font: 14px var(--font); padding: 6px; border: 1px solid #cacacb; border-radius: 6px; }
.stock-avail { min-width: 40px; }
.stock-active { display: inline-flex; gap: 6px; align-items: center; font-size: 14px; }
