/* Portret van je Huisdier */
:root {
  --paper: #F6F1E7;
  --ink: #1E1B18;
  --ink-2: #4A433B;
  --muted: #6B6358;
  --line: #E2D9C6;
  --line-2: #CFC4AE;
  --white: #FFFFFF;
  --green: #23493A;
  --green-dark: #18352A;
  --gold: #B08A3E;
  --gold-dark: #6B5320;
  --night: #2A2622;
  --error: #A3321C;
  --ok: #2F6B45;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: Karla, 'Segoe UI', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 var(--sans); }
img { max-width: 100%; }
a { color: var(--ink); }
a:hover { color: var(--green); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.01em; line-height: 1.15; margin: 0; }
p { margin: 0; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.center { text-align: center; align-items: center; }
.muted { color: var(--muted); }
.small { font-size: 15px; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Knoppen */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 13px 26px; border-radius: 4px; border: 1.5px solid transparent; font: 700 17px/1.2 var(--sans); text-decoration: none; cursor: pointer; transition: background .15s, color .15s, transform .1s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--green); color: var(--paper); }
.btn-primary:hover { background: var(--green-dark); color: var(--paper); }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: #000; color: var(--paper); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-lg { padding: 17px 30px; font-size: 18px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* Kop en voet */
.topbar { background: var(--green); color: var(--paper); text-align: center; padding: 10px 16px; font-size: 15px; font-weight: 500; }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; padding-bottom: 20px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo span { font: 600 23px/1 var(--serif); letter-spacing: -0.01em; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 26px; font-weight: 500; }
.nav a { text-decoration: none; }
.nav .btn { min-height: 44px; padding: 10px 20px; font-size: 16px; }
.site-footer { background: var(--ink); color: #D9D0BF; font-size: 15px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 32px; justify-content: space-between; padding-top: 36px; padding-bottom: 36px; }
.site-footer a { color: #D9D0BF; }
.site-footer .brand { font: 600 18px var(--serif); color: var(--paper); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }

/* Homepage */
.hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); gap: 56px; align-items: center; padding-top: 32px; padding-bottom: 88px; }
.eyebrow { font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: 13px; color: var(--gold-dark); }
.hero h1 { font-size: clamp(40px, 5.4vw, 68px); line-height: 1.04; letter-spacing: -0.02em; }
.hero h1 em { font-weight: 500; color: var(--green); }
.hero .lead { font-size: 20px; max-width: 520px; }
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 24px; font-size: 15px; font-weight: 500; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
/* Portret als canvas aan de muur (zonder lijst) */
.frame { position: relative; border-radius: 2px; box-shadow: 0 28px 50px -18px rgba(30, 27, 24, .5), 0 2px 0 rgba(0, 0, 0, .12), 8px 8px 0 -2px #D6CCB6; }
.frame img { display: block; width: min(420px, 72vw); height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 2px; }
.with-original { position: relative; }
.orig-inset { position: absolute; left: -14px; bottom: -18px; width: 32%; background: #fff; padding: 5px 5px 4px; box-shadow: 0 8px 20px rgba(0, 0, 0, .28); transform: rotate(-4deg); text-align: center; }
.orig-inset img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.orig-inset span { display: block; font: 600 12px/1.6 var(--sans); color: var(--ink-2); letter-spacing: .04em; text-transform: uppercase; }
.style-card .with-original .orig-inset { left: 8px; bottom: 8px; width: 30%; transform: none; padding: 3px 3px 2px; }
.style-card .with-original .orig-inset span { font-size: 10px; }
.grid4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 24px; }
.tag-original { position: absolute; top: 10px; left: 10px; background: rgba(255,255,255,.92); color: var(--ink); font-weight: 700; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; padding: 3px 9px; border-radius: 3px; }
figure { margin: 0; }
.hero figure { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.hero figcaption { font: italic 16px var(--serif); color: var(--ink-2); }

.band { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section { padding-top: 88px; padding-bottom: 88px; }
.section-title { font-size: clamp(32px, 4vw, 44px); }
.grid3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 28px; }
.style-card img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 3px; display: block; }
.style-card figcaption { display: flex; flex-direction: column; gap: 2px; margin-top: 14px; }
.style-card strong { font: 600 24px var(--serif); }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { background: var(--white); border: 1px solid #D6CCB6; border-radius: 999px; padding: 8px 18px; font-weight: 500; }
.chips li.dark { background: var(--ink); color: var(--paper); border-color: var(--ink); font-weight: 700; }
.panel { background: var(--paper); border-radius: 6px; padding: 28px; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 36px; }
.steps li { border-top: 2px solid var(--ink); padding-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.steps .num { font: italic 40px/1 var(--serif); color: var(--gold-dark); }
.steps h3 { font-size: 24px; }

.dark { background: var(--ink); color: var(--paper); }
.dark .muted { color: #D9D0BF; }
.price-row { display: flex; flex-wrap: wrap; gap: 24px; align-items: stretch; }
.price-main { flex: 2 1 440px; min-width: 0; background: var(--paper); color: var(--ink); border-radius: 6px; padding: 34px; display: flex; flex-direction: column; gap: 18px; outline: 3px solid var(--gold); outline-offset: -3px; }
.price-side { flex: 1 1 280px; min-width: 0; background: var(--night); border-radius: 6px; padding: 34px; display: flex; flex-direction: column; gap: 16px; }
.price-side ul { margin: 0; padding-left: 20px; color: #D9D0BF; }
.price-side .btn { margin-top: auto; align-self: flex-start; border-color: var(--paper); color: var(--paper); }
.price-side .btn:hover { background: var(--paper); color: var(--ink); }
.big-price { font: 52px/1 var(--serif); }
.badge { background: var(--gold); color: var(--ink); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 3px; }
.mat-list { list-style: none; margin: 0; padding: 0; }
.mat-list li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid #D6CCB6; }
.mat-list li:last-child { border-bottom: 0; }
.mat-list .d { display: block; font-size: 15px; color: var(--ink-2); }
.mat-list .p { white-space: nowrap; font-weight: 700; }
.addon { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; background: var(--white); border: 1px dashed var(--gold); border-radius: 4px; padding: 12px 16px; font-size: 15px; }

.callout { background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 36px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.callout h2 { font-size: 32px; }

.faq { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); padding: 20px 4px; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 19px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font: 400 26px/1 var(--serif); }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin-top: 12px; }

.cta { background: var(--green); color: var(--paper); }
.cta .muted { color: #DCE6DF; }

/* Maak-pagina */
.maker { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 40px; align-items: start; padding-top: 24px; padding-bottom: 80px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 28px; }
.step-title { display: flex; align-items: baseline; gap: 12px; font-size: 26px; margin-bottom: 16px; }
.step-title .n { font: italic 30px/1 var(--serif); color: var(--gold-dark); }
.dropzone { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; min-height: 220px; border: 2px dashed var(--line-2); border-radius: 6px; padding: 24px; background: var(--paper); cursor: pointer; transition: border-color .15s, background .15s; }
.dropzone:hover, .dropzone.drag { border-color: var(--green); background: #EEF2EC; }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dropzone img { max-height: 260px; border-radius: 4px; }
#drop-content { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.style-picker { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.style-picker label { display: flex; flex-direction: column; gap: 6px; border: 1.5px solid var(--line-2); border-radius: 6px; padding: 8px 8px 10px; cursor: pointer; font-weight: 500; background: var(--white); }
.style-picker img, .style-ph { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 4px; display: block; }
.style-ph { display: flex; align-items: center; justify-content: center; background: var(--paper); color: var(--gold-dark); font: italic 40px var(--serif); }
.style-name { display: flex; align-items: center; gap: 8px; line-height: 1.25; }
.style-desc { font-size: 13px; line-height: 1.35; color: var(--muted); font-weight: 400; }
.prices summary { cursor: pointer; font-weight: 700; }
.prices table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 10px 0 6px; }
.prices th { text-align: left; vertical-align: top; padding: 6px 10px 6px 0; white-space: nowrap; }
.prices td { padding: 6px 0; border-bottom: 1px solid var(--line); }
.prices td span { display: inline-block; margin-right: 12px; white-space: nowrap; }
.style-picker input { accent-color: var(--green); width: 18px; height: 18px; }
.style-picker label:has(input:checked) { border-color: var(--green); background: #EEF2EC; font-weight: 700; }
.group-label { font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 18px 0 8px; }
.result { display: flex; flex-direction: column; gap: 16px; }
.result-img { position: relative; aspect-ratio: 1; background: var(--paper); border: 1px solid var(--line); border-radius: 6px; display: flex; align-items: center; justify-content: center; overflow: hidden; text-align: center; padding: 20px; color: var(--muted); }
.result-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.spinner { width: 44px; height: 44px; border: 4px solid var(--line); border-top-color: var(--green); border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.progress-text { margin-top: 14px; font-weight: 500; }
.thumbs { display: flex; flex-wrap: wrap; gap: 10px; }
.thumbs button { padding: 0; border: 2px solid transparent; border-radius: 4px; background: none; cursor: pointer; width: 76px; height: 76px; overflow: hidden; }
.thumbs button[aria-pressed="true"] { border-color: var(--green); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.alert { border-radius: 4px; padding: 12px 16px; font-size: 15px; }
.alert-error { background: #F8E4DF; color: var(--error); }
.alert-info { background: #EEF2EC; color: var(--green-dark); }

/* Formulieren */
.form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .field legend { font-weight: 700; font-size: 15px; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field select, .field textarea { font: inherit; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 4px; background: var(--white); color: var(--ink); min-height: 48px; width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--green); outline-offset: 1px; border-color: var(--green); }
.row2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 14px; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.options { display: grid; gap: 10px; }
.option { display: flex; align-items: center; gap: 12px; border: 1.5px solid var(--line-2); border-radius: 6px; padding: 14px 16px; cursor: pointer; background: var(--white); }
.option:has(input:checked) { border-color: var(--green); background: #EEF2EC; }
.option input { accent-color: var(--green); width: 18px; height: 18px; flex: none; }
.option .grow { flex: 1; }
.option .d { display: block; font-size: 14px; color: var(--muted); }
.check { display: flex; gap: 10px; align-items: flex-start; }
.check input { accent-color: var(--green); width: 18px; height: 18px; margin-top: 3px; flex: none; }
.summary-line { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.summary-total { display: flex; justify-content: space-between; font: 600 26px var(--serif); padding-top: 12px; }

/* Beheer */
.admin table { width: 100%; border-collapse: collapse; font-size: 15px; background: var(--white); }
.admin th, .admin td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.admin th { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 6px; }
.pill { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; background: var(--paper); }
.pill.betaald { background: #DCEBDF; color: var(--ok); }
.pill.nieuw { background: #FBEBC7; color: #6B4A06; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; }
.stat { background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 16px; }
.stat b { display: block; font: 600 28px var(--serif); }

@media (max-width: 600px) {
  .section { padding-top: 64px; padding-bottom: 64px; }
  .price-main, .price-side, .callout, .card { padding: 22px; }
  .nav { gap: 6px 18px; font-size: 15px; }
}
