/* Eigen-foto-flow: immersive donker vlak (#2f3a4d) per design Eigen Foto v2.
   Tokens: creme #E7D1B9, oudroze #D99C9B, groengrijs #8C9D97, muted #8fa0b8/#aab4c6. */

[x-cloak] { display: none !important; }

/* Copy per scherm (v2-design: desktop sleept, mobiel kiest uit de galerij).
   Dubbele selector: .cp-usps span (0,1,1) won anders van .cp-mob (0,1,0) en
   dan stond beide copy naast elkaar ("Gratis kwaliteitscheck Kwaliteitscheck"). */
.cp-mob, .cp-usps .cp-mob { display: none; }
@media (max-width: 900px) {
    .cp-desk, .cp-usps .cp-desk { display: none; }
    .cp-mob, .cp-usps .cp-mob { display: inline; }
}

@keyframes cpFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes cpScan { 0% { top: 0; } 100% { top: calc(100% - 3px); } }
@keyframes cpPulse { 0%, 100% { opacity: .5; } 50% { opacity: 1; } }
@keyframes cpIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

.cp-flow { position: relative; overflow: hidden; background: #2f3a4d; color: #fff; }
.cp-glow-a { position: absolute; top: -200px; right: -140px; width: 640px; height: 640px; border-radius: 50%; background: radial-gradient(circle, rgba(231,209,185,.14) 0%, transparent 65%); pointer-events: none; }
.cp-glow-b { position: absolute; bottom: -260px; left: -180px; width: 700px; height: 700px; border-radius: 50%; background: radial-gradient(circle, rgba(217,156,155,.12) 0%, transparent 65%); pointer-events: none; }

/* Kop met voortgangsdots */
/* Dots gecentreerd, Sluiten rechts; het logo zit al in de shop-header, dus geen
   tweede "EIGEN FOTO" links (de kicker boven de titel is de enige). */
.cp-head { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 22px 56px; position: relative; }
.cp-dots { display: flex; gap: 8px; align-items: center; grid-column: 2; }
.cp-dot { width: 8px; height: 8px; min-width: 8px; border-radius: 999px; border: none; padding: 0; background: rgba(255,255,255,.25); cursor: pointer; transition: all .3s; }
.cp-dot.done { background: #E7D1B9; }
.cp-dot.active { width: 32px; background: #E7D1B9; }
.cp-dot:disabled { cursor: default; }
.cp-close { color: #c6cddb; font-weight: 700; font-size: 14px; grid-column: 3; justify-self: end; }
.cp-close:hover { color: #fff; }

/* Gedeeld */
.cp-kicker { font-size: 13px; font-weight: 700; letter-spacing: .22em; color: #E7D1B9; text-transform: uppercase; margin-bottom: 18px; }
.cp-h2 { font-family: Lora, serif; font-weight: 400; font-size: 44px; line-height: 1.1; margin: 0 0 30px; color: #fff; }
.cp-btn-accent { display: inline-block; background: #E7D1B9; color: #2f3a4d; font-weight: 800; font-size: 16px; padding: 17px 40px; border-radius: 999px; border: none; cursor: pointer; font-family: inherit; transition: background .2s; }
.cp-btn-accent:hover { background: #f0dfc9; }
.cp-btn-rose { display: inline-block; background: #D99C9B; color: #fff; font-weight: 800; font-size: 15px; padding: 16px 32px; border-radius: 999px; border: none; cursor: pointer; font-family: inherit; transition: background .2s; white-space: nowrap; }
.cp-btn-rose:hover { background: #c98887; color: #fff; }
.cp-btn-rose:disabled { opacity: .6; cursor: wait; }
.cp-link-muted { background: none; border: none; padding: 10px 0; color: #8fa0b8; font-weight: 700; font-size: 14px; cursor: pointer; font-family: inherit; }
.cp-link-muted:hover { color: #c6cddb; }
.cp-error { margin-top: 14px; background: rgba(217,156,155,.14); border: 1px solid rgba(217,156,155,.45); color: #f2cfce; font-size: 14px; line-height: 1.5; padding: 12px 16px; border-radius: 10px; }
.cp-privacy { position: relative; text-align: center; font-size: 12.5px; color: #8fa0b8; padding: 0 22px 26px; }

/* Stap 1: dropzone */
.cp-step1 { min-height: 620px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; padding: 20px 56px 72px; gap: 56px; position: relative; }
.cp-title { font-family: Lora, serif; font-weight: 400; font-size: 64px; line-height: 1.05; margin: 0 0 24px; color: #fff; }
.cp-title em { color: #E7D1B9; }
.cp-lead { font-size: 17px; line-height: 1.7; color: #aab4c6; margin: 0 0 36px; max-width: 42ch; }
.cp-usps { display: flex; gap: 28px; font-size: 13.5px; color: #8fa0b8; flex-wrap: wrap; }
.cp-usps span { display: inline-flex; align-items: center; gap: 7px; }
.cp-usps svg { width: 14px; height: 14px; color: #8C9D97; flex: none; }
.cp-drop-wrap { position: relative; }
.cp-drop { position: relative; animation: cpFloat 5s ease-in-out infinite; border: 2px dashed rgba(231,209,185,.5); border-radius: 24px; background: rgba(255,255,255,.04); padding: 80px 48px; text-align: center; transition: border-color .3s, background .3s; }
.cp-drop:hover, .cp-drop:focus-within { border-color: #E7D1B9; background: rgba(255,255,255,.08); }
.cp-drop-input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; z-index: 1; }
/* Inhoud boven de onzichtbare input tekenen maar kliks/drops doorlaten naar de input. */
.cp-drop-inner { position: relative; z-index: 2; pointer-events: none; }
.cp-drop-ico { width: 88px; height: 88px; border-radius: 50%; background: rgba(231,209,185,.15); border: 1px solid rgba(231,209,185,.4); display: flex; align-items: center; justify-content: center; margin: 0 auto 26px; color: #E7D1B9; }
.cp-drop-ico svg { width: 36px; height: 36px; }
.cp-drop-title { font-family: Lora, serif; font-size: 26px; font-weight: 500; color: #fff; margin-bottom: 10px; }
.cp-drop-sub { font-size: 14px; color: #aab4c6; margin-bottom: 26px; }
.cp-drop-btn { display: inline-block; background: #E7D1B9; color: #2f3a4d; font-weight: 800; font-size: 15px; padding: 15px 36px; border-radius: 999px; }
.cp-upload-bar { width: 220px; max-width: 100%; height: 6px; border-radius: 999px; background: rgba(255,255,255,.15); margin: 18px auto 0; overflow: hidden; }
.cp-upload-bar span { display: block; height: 100%; width: 0; border-radius: 999px; background: #E7D1B9; transition: width .3s; }

/* Stap 2: kwaliteitscheck */
.cp-step2 { min-height: 620px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; padding: 20px 56px 72px; gap: 56px; position: relative; }
.cp-scan-photo { position: relative; border-radius: 12px; box-shadow: 0 30px 60px rgba(0,0,0,.4); }
.cp-scan-photo img { display: block; width: 100%; max-height: 480px; object-fit: contain; border-radius: 12px; background: #3d495e; }
.cp-photo-missing { aspect-ratio: 3 / 2; border-radius: 12px; background: repeating-linear-gradient(45deg, #3d495e 0 12px, #465269 12px 24px); display: flex; align-items: center; justify-content: center; font-size: 13px; color: #aab4c6; }
.cp-scanline { position: absolute; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, transparent, #E7D1B9, transparent); box-shadow: 0 0 24px 6px rgba(231,209,185,.5); animation: cpScan 2.2s ease-in-out infinite alternate; }
.cp-scan-badge { position: absolute; bottom: -18px; right: -14px; background: #8C9D97; color: #fff; font-weight: 800; font-size: 14px; padding: 12px 24px; border-radius: 999px; box-shadow: 0 12px 30px rgba(0,0,0,.35); animation: cpIn .4s ease both; }
.cp-scan-badge.warn { background: #b98a3c; }
.cp-checks { display: flex; flex-direction: column; gap: 14px; margin-bottom: 36px; }
.cp-check { display: flex; align-items: center; gap: 14px; font-size: 15.5px; color: #8fa0b8; opacity: .45; transition: all .4s; }
.cp-check.busy, .cp-check.done { opacity: 1; }
.cp-check.done { color: #fff; }
.cp-check-dot { width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,.2); color: #2f3a4d; display: flex; align-items: center; justify-content: center; flex: none; transition: background .3s; }
.cp-check.busy .cp-check-dot { background: #E7D1B9; animation: cpPulse 1s ease-in-out infinite; }
.cp-check.done .cp-check-dot { background: #8C9D97; color: #fff; animation: none; }
.cp-check-dot svg { width: 13px; height: 13px; }
.cp-check-value { margin-left: auto; font-weight: 800; font-size: 13.5px; color: #E7D1B9; text-align: right; }
.cp-check-value.warn { color: #e8b56a; }
.cp-scan-note { font-size: 14px; line-height: 1.6; color: #aab4c6; margin: -14px 0 26px; max-width: 46ch; }
.cp-scan-actions { animation: cpIn .5s ease both; display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }

/* Stap 3: muur-preview + configurator */
.cp-step3 { min-height: 620px; display: grid; grid-template-columns: 1.5fr 1fr; position: relative; }
.cp-room { background: linear-gradient(180deg, #ded6c8 0%, #d5ccbc 68%, #b8ab97 68%, #ac9f8b 100%); position: relative; display: flex; align-items: center; justify-content: center; min-height: 620px; overflow: hidden; }
.cp-room-floor { position: absolute; bottom: 0; left: 0; right: 0; height: 32%; background: linear-gradient(180deg, #b8ab97, #a2947e); }
.cp-room-dresser { position: absolute; bottom: 26%; left: 8%; width: 120px; height: 44px; background: #8d7f6a; border-radius: 6px 6px 0 0; box-shadow: 0 20px 30px rgba(0,0,0,.18); }
.cp-wall-art { position: relative; width: var(--wall-w, 30%); transition: width .4s ease; box-shadow: 0 34px 70px rgba(60,50,35,.42); background: #e8ddc9; margin-bottom: 6%; }
.cp-wall-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.cp-wall-art.circle, .cp-wall-art.circle img { border-radius: 50%; }
.cp-size-caption { position: absolute; bottom: -34px; left: 50%; transform: translateX(-50%); background: rgba(47,58,77,.85); color: #fff; font-weight: 700; font-size: 12px; padding: 6px 16px; border-radius: 999px; white-space: nowrap; }
.cp-wall-art.circle .cp-size-caption { bottom: -44px; }
.cp-config { padding: 44px 48px; display: flex; flex-direction: column; justify-content: center; position: relative; }
.cp-config .cp-kicker { margin-bottom: 14px; }
.cp-config .cp-h2 { font-size: 36px; line-height: 1.12; }
.cp-label-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.cp-sublabel { font-weight: 800; font-size: 13px; color: #8fa0b8; letter-spacing: .08em; text-transform: uppercase; }
.cp-sel-size { font-weight: 800; font-size: 14px; color: #E7D1B9; }
.cp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.cp-chip { border: 1px solid rgba(255,255,255,.25); background: transparent; color: #c6cddb; font-weight: 700; font-size: 13.5px; padding: 10px 20px; border-radius: 999px; cursor: pointer; font-family: inherit; transition: all .2s; }
.cp-chip:hover { border-color: rgba(231,209,185,.7); color: #E7D1B9; }
.cp-chip.active { border: 2px solid #E7D1B9; background: rgba(231,209,185,.15); color: #E7D1B9; padding: 9px 19px; }
.cp-ticks { display: flex; gap: 6px; margin-bottom: 32px; }
.cp-tick { height: 44px; border-radius: 8px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.15); cursor: pointer; display: flex; align-items: flex-end; justify-content: center; padding: 0 0 5px; font-family: inherit; font-size: 10.5px; font-weight: 700; color: #8fa0b8; transition: all .2s; min-width: 30px; }
.cp-tick:hover { border-color: rgba(231,209,185,.7); color: #E7D1B9; }
.cp-tick.active { background: rgba(231,209,185,.25); border: 2px solid #E7D1B9; color: #E7D1B9; }
.cp-tick.warn:not(.active) { border-color: rgba(232,181,106,.55); }
.cp-tick.warn span::after { content: ""; display: block; width: 5px; height: 5px; border-radius: 50%; background: #e8b56a; margin: 2px auto 0; }
.cp-dpi-warning { display: flex; gap: 12px; align-items: flex-start; border: 1px solid rgba(232,181,106,.5); background: rgba(232,181,106,.1); color: #ecd3a8; font-size: 13.5px; line-height: 1.5; padding: 12px 16px; border-radius: 10px; margin: -14px 0 22px; }
.cp-dpi-warning svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: #e8b56a; }
.cp-dpi-warning strong { color: #f5e3c4; }
.cp-price-box { display: flex; align-items: center; justify-content: space-between; gap: 18px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 14px; padding: 20px 26px; margin-bottom: 14px; }
.cp-price-sel { font-size: 12.5px; color: #8fa0b8; }
.cp-price { font-family: Lora, serif; font-size: 32px; font-weight: 500; color: #fff; }
.cp-price-note { font-size: 12.5px; color: #8fa0b8; margin-bottom: 10px; }
.cp-added { background: rgba(140,157,151,.14); border: 1px solid rgba(140,157,151,.5); border-radius: 14px; padding: 20px 26px; margin-bottom: 14px; animation: cpIn .4s ease both; }
.cp-added-msg { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 16px; color: #fff; margin-bottom: 16px; }
.cp-added-msg svg { width: 20px; height: 20px; color: #8C9D97; flex: none; }
.cp-added-actions { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.cp-other { align-self: flex-start; }

/* Mobiel */
@media (max-width: 900px) {
    .cp-head { padding: 14px 18px; }
    .cp-step1, .cp-step2 { grid-template-columns: 1fr; min-height: 0; padding: 24px 22px 44px; gap: 28px; }
    .cp-title { font-size: 36px; line-height: 1.08; margin-bottom: 14px; }
    .cp-lead { font-size: 14px; margin-bottom: 24px; }
    .cp-usps { gap: 16px; font-size: 11.5px; }
    .cp-drop { padding: 44px 22px; border-radius: 20px; animation: none; }
    .cp-drop-ico { width: 64px; height: 64px; margin-bottom: 16px; }
    .cp-drop-ico svg { width: 26px; height: 26px; }
    .cp-drop-title { font-size: 19px; }
    .cp-h2 { font-size: 26px; margin-bottom: 18px; }
    .cp-scan-photo img { max-height: 300px; }
    .cp-scan-badge { bottom: -14px; right: 10px; font-size: 12px; padding: 10px 18px; }
    .cp-check { font-size: 14px; gap: 12px; }
    .cp-check-dot { width: 22px; height: 22px; }
    .cp-check-value { font-size: 12px; }
    .cp-btn-accent { width: 100%; text-align: center; padding: 16px; }
    .cp-step3 { grid-template-columns: 1fr; min-height: 0; }
    .cp-room { min-height: 300px; height: 300px; }
    .cp-wall-art { width: var(--wall-w-m, 42%); margin-bottom: 10%; }
    .cp-size-caption { bottom: -30px; font-size: 11px; }
    .cp-config { padding: 30px 22px 36px; }
    .cp-config .cp-h2 { font-size: 24px; }
    .cp-chip { font-size: 12.5px; padding: 12px 16px; }
    .cp-chip.active { padding: 11px 15px; }
    .cp-tick { height: 44px; }
    .cp-price-box { padding: 15px 18px; }
    .cp-price { font-size: 23px; }
    .cp-btn-rose { font-size: 13px; padding: 14px 20px; }
    .cp-privacy { padding-bottom: 22px; }
}
