/* zdm_photo_stack — gestapeld */
.zdm-stack { position: relative; aspect-ratio: 1 / 1.02; --zdm-frame: var(--zdm-sand); }
.zdm-stack img { position: absolute; object-fit: cover; border-radius: var(--zdm-radius); box-shadow: var(--zdm-shadow); }
.zdm-stack .zdm-stack__p1 { width: 74%; height: 76%; top: 0; left: 0; }
.zdm-stack .zdm-stack__p2 { width: 56%; height: 52%; right: 0; bottom: 0; border: 8px solid var(--zdm-frame); border-radius: calc(var(--zdm-radius) + 8px); }
.zdm-stack__badge { position: absolute; left: 6%; bottom: 8%; width: 132px; height: 132px; border-radius: 50%; background: var(--zdm-sun); color: var(--zdm-ink); display: grid; place-items: center; text-align: center; font-family: var(--zdm-display); font-weight: 800; line-height: .95; box-shadow: var(--zdm-shadow); transform: rotate(-8deg); }
.zdm-stack__badge b { display: block; font-size: 40px; letter-spacing: -0.04em; }
.zdm-stack__badge small { font-family: var(--font-family, system-ui); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }

/* zdm_photo_stack — met ronde inzet */
.zdm-inset { position: relative; --zdm-frame: var(--zdm-sand); }
.zdm-inset__main { border-radius: var(--zdm-radius); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--zdm-shadow); }
.zdm-inset__main img { width: 100%; height: 100%; object-fit: cover; }
.zdm-inset__circle { position: absolute; width: 38%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 8px solid var(--zdm-frame); right: -4%; bottom: -10%; box-shadow: var(--zdm-shadow); }
.zdm-inset--left .zdm-inset__circle { right: auto; left: -4%; }
.zdm-inset__circle img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 640px) { .zdm-inset__circle { width: 34%; bottom: -8%; } }

/* zdm_depth_gauge */
.zdm-gauge { display: flex; align-items: flex-end; gap: 16px; margin: 22px 0 26px; }
.zdm-gauge__track { flex: 1; }
.zdm-gauge__bar { height: 14px; border-radius: 99px; background: var(--zdm-sand-2); position: relative; overflow: hidden; }
.zdm-gauge__bar i { position: absolute; top: 0; bottom: 0; border-radius: 99px; background: linear-gradient(90deg, var(--zdm-lagoon), var(--zdm-pool-deep)); }
.zdm-gauge__scale { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--zdm-muted); font-weight: 600; margin-top: 6px; }
.zdm-gauge__val { font-family: var(--zdm-display); font-weight: 800; font-size: 34px; letter-spacing: -0.03em; line-height: 1; color: var(--zdm-pool-deep); white-space: nowrap; }
.zdm-gauge__val small { font-size: 16px; color: var(--zdm-muted); }

/* zdm_aerial */
.zdm-aerial { border-radius: var(--zdm-radius-l); overflow: hidden; position: relative; aspect-ratio: 21 / 9; box-shadow: var(--zdm-shadow); }
.zdm-aerial img { width: 100%; height: 100%; object-fit: cover; }
.zdm-pin { position: absolute; transform: translate(-50%, -100%); display: flex; flex-direction: column; align-items: center; text-decoration: none; }
.zdm-pin span { background: #fff; color: var(--zdm-ink); font-weight: 700; font-size: 14px; padding: 8px 14px; border-radius: 99px; box-shadow: var(--zdm-shadow); white-space: nowrap; }
.zdm-pin::after { content: ""; width: 14px; height: 14px; margin-top: 6px; border-radius: 50%; background: var(--zdm-sun); box-shadow: 0 0 0 5px rgba(255, 178, 31, .35); }
@media (max-width: 860px) { .zdm-aerial { aspect-ratio: 4 / 3; } .zdm-pin span { font-size: 12px; padding: 6px 10px; } }

/* zdm_pass */
.zdm-pass-wrap { display: grid; place-items: center; padding: 30px 0; position: relative; isolation: isolate; }
.zdm-pass { aspect-ratio: 1.586; width: 100%; max-width: 420px; border-radius: 22px; padding: 22px; color: #fff; position: relative; overflow: hidden; background: linear-gradient(135deg, var(--zdm-pool) 0%, var(--zdm-pool-deep) 60%, var(--zdm-ink) 100%); box-shadow: var(--zdm-shadow-l); display: flex; flex-direction: column; justify-content: space-between; transform: rotate(-4deg); }
.zdm-pass::after { content: ""; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 178, 31, .55), transparent 65%); }
.zdm-pass__row { display: flex; justify-content: space-between; align-items: flex-start; position: relative; z-index: 1; }
.zdm-pass__row--end { align-items: flex-end; }
.zdm-pass__chip { width: 46px; height: 36px; border-radius: 8px; background: linear-gradient(135deg, #F6D58A, #C9962E); position: relative; }
.zdm-pass__chip::after { content: ""; position: absolute; inset: 8px; border: 1.5px solid rgba(0, 0, 0, .25); border-radius: 4px; }
.zdm-pass__logo .zdm-mark { width: 46px; height: 46px; }
.zdm-pass__name { font-family: var(--zdm-display); font-weight: 800; font-size: 26px; letter-spacing: -0.02em; line-height: 1; margin: 4px 0; }
.zdm-pass small { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; opacity: .8; }
.zdm-pass__photo { width: 64px; height: 76px; border-radius: 10px; background: rgba(255, 255, 255, .2); display: grid; place-items: center; font-size: 30px; }
.zdm-pass--back { position: absolute; transform: rotate(6deg) translate(40px, 18px); background: linear-gradient(135deg, var(--zdm-sun) 0%, #F59A00 100%); z-index: -1; }
.zdm-pass--back::after { display: none; }
