/* DSTRCT Activity Booking — scoped under .dg-root to avoid theme bleed */

.dg-root {
  --dg-primary: #E56B2E;
  --dg-secondary: #237655;
  --dg-heading: #0A0A09;
  --dg-body: #4A4A68;
  --dg-accent: #FDFADC;
  --dg-background: #F5F5F7;
  --dg-surface: #FFFFFF;
  --dg-muted: #759791;
  --dg-border: #F0F0F0;
  --dg-success: #31D0AA;
  --dg-amber: #f59e0b;
  --dg-red: #ef4444;
  --dg-radius: 1rem;
  --dg-stone-100: #f5f5f4;
  --dg-stone-200: #e7e5e4;
  --dg-stone-500: #78716c;
  --dg-indigo-50: #eef2ff;
  --dg-indigo-600: #4f46e5;
  --dg-violet-50: #f5f3ff;
  --dg-violet-600: #7c3aed;

  color: var(--dg-body);
  box-sizing: border-box;
}
.dg-root *, .dg-root *::before, .dg-root *::after { box-sizing: border-box; }

.dg-card { background: var(--dg-surface); border-radius: var(--dg-radius); border: 1px solid var(--dg-border); box-shadow: 0 1px 2px rgba(0,0,0,.04); overflow: hidden; }

.dg-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem .75rem; margin-bottom: 1.25rem; }
.dg-toolbar-left { display: flex; align-items: center; gap: .5rem; flex: 0 1 auto; flex-wrap: nowrap; }
.dg-toolbar-right { display: flex; align-items: center; gap: .5rem; flex: 0 0 auto; }
@media (max-width: 640px) {
  .dg-toolbar { justify-content: flex-start; }
  .dg-toolbar-left, .dg-toolbar-right { flex: 1 1 100%; }
  .dg-toolbar-left { flex-wrap: wrap; }
}

/* Themes (esp. Elementor) often style `button { color: #fff }` site-wide
   for branded CTAs — without !important, the toolbar pills get a white
   active-state background AND inherited white text, ending up unreadable. */
.dg-root .dg-view-toggle { display: inline-flex; background: var(--dg-stone-100); border-radius: 999px; padding: 3px; flex: 0 0 auto; }
.dg-root .dg-view-toggle button { background: transparent !important; border: 0 !important; padding: 0 10px !important; height: 30px !important; border-radius: 999px !important; font-size: 13px !important; cursor: pointer; color: var(--dg-body) !important; display: inline-flex !important; align-items: center !important; gap: 4px !important; line-height: 1 !important; box-shadow: none !important; text-transform: none !important; letter-spacing: 0 !important; }
.dg-root .dg-view-toggle button:hover { background: rgba(255,255,255,.5) !important; color: var(--dg-heading) !important; }
.dg-root .dg-view-toggle button.is-active { background: #fff !important; color: var(--dg-heading) !important; box-shadow: 0 1px 2px rgba(0,0,0,.08) !important; }
.dg-root .dg-view-toggle svg { width: 16px; height: 16px; color: currentColor; }

.dg-root .dg-select { height: 36px; padding: 0 32px 0 14px; border-radius: 999px; border: 1px solid var(--dg-border); background: #fff url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%234A4A68' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19.5 8.25l-7.5 7.5-7.5-7.5'/%3E%3C/svg%3E") no-repeat right 10px center / 14px 14px; font-size: 13px; color: var(--dg-body); max-width: 200px; appearance: none; -webkit-appearance: none; cursor: pointer; }

.dg-root .dg-tabs { display: inline-flex; background: var(--dg-stone-100); border-radius: 999px; padding: 3px; }
.dg-root .dg-tabs button { background: transparent !important; border: 0 !important; padding: 0 12px !important; height: 30px !important; border-radius: 999px !important; font-size: 13px !important; font-weight: 500 !important; cursor: pointer; color: var(--dg-body) !important; display: inline-flex !important; align-items: center !important; gap: 6px !important; line-height: 1 !important; box-shadow: none !important; text-transform: none !important; letter-spacing: 0 !important; }
.dg-root .dg-tabs button .dg-count { display: inline-flex !important; align-items: center !important; justify-content: center !important; min-width: 20px !important; height: 18px !important; padding: 0 5px !important; border-radius: 999px !important; background: rgba(0,0,0,.06) !important; font-size: 11px !important; font-weight: 600 !important; color: var(--dg-body) !important; }
.dg-root .dg-tabs button:hover { background: rgba(255,255,255,.5) !important; color: var(--dg-heading) !important; }
.dg-root .dg-tabs button.is-active { background: #fff !important; color: var(--dg-heading) !important; box-shadow: 0 1px 2px rgba(0,0,0,.08) !important; }
.dg-root .dg-tabs button.is-active .dg-count { background: var(--dg-primary) !important; color: #fff !important; }

.dg-root .dg-grid { display: grid !important; gap: 1.25rem !important; grid-template-columns: minmax(0, 1fr) !important; }
@media (min-width: 700px) { .dg-root .dg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (min-width: 1100px) { .dg-root .dg-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } }
.dg-list { display: flex; flex-direction: column; gap: .75rem; }
.dg-list-wrap { position: relative; min-height: 200px; }
.dg-loading::after { content: ""; position: absolute; inset: 0; background: rgba(255,255,255,.6); border-radius: var(--dg-radius); pointer-events: none; }

.dg-card-grid { display: flex; flex-direction: column; height: 100%; }
.dg-card-grid .dg-cover { position: relative; height: 208px; background: var(--dg-stone-100); overflow: hidden; }
.dg-card-grid .dg-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dg-card-grid .dg-cover .dg-placeholder { width:100%; height:100%; background: linear-gradient(135deg, var(--dg-stone-100), var(--dg-stone-200)); display: flex; align-items: center; justify-content: center; color: #d6d3d1; }
.dg-card-grid .dg-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.5), rgba(0,0,0,0)); pointer-events: none; }

.dg-badge { position: absolute; display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #fff; line-height: 1; z-index: 2; }
.dg-badge svg { width: 12px; height: 12px; }
.dg-badge-cat { top: 12px; left: 12px; }
.dg-badge-status { top: 12px; right: 12px; }
.dg-badge.bg-stone-500 { background: var(--dg-stone-500); }
.dg-badge.bg-red-500 { background: var(--dg-red); }
.dg-badge.bg-primary { background: var(--dg-primary); }
.dg-badge.bg-secondary { background: var(--dg-secondary); }
.dg-root .dg-duration { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; background: rgba(0,0,0,.45); color: #fff !important; font-size: 11px; font-weight: 600; backdrop-filter: blur(6px); z-index: 2; }
.dg-root .dg-duration svg { width: 12px; height: 12px; color: #fff !important; }

.dg-root .dg-card-grid .dg-content { padding: 1.25rem; display: flex; flex-direction: column; flex: 1; }
.dg-root .dg-card-grid h3.dg-card-title { font-size: 16px; font-weight: 600; line-height: 1.35; color: var(--dg-heading); margin: 0 0 12px 0; }
.dg-root .dg-card-grid h3.dg-card-title a { color: inherit; text-decoration: none; }
.dg-root .dg-card-grid h3.dg-card-title a:hover { color: var(--dg-primary); }

.dg-root .dg-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px 0; }
.dg-root .dg-chip { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 8px; font-size: 13px; font-weight: 500; line-height: 1; }
.dg-root .dg-chip > span { line-height: 1; }
.dg-root .dg-chip-date { background: var(--dg-indigo-50); color: var(--dg-indigo-600); }
.dg-root .dg-chip-date svg { color: #818cf8; }
.dg-root .dg-chip-time { background: var(--dg-violet-50); color: var(--dg-violet-600); }
.dg-root .dg-chip-time svg { color: #a78bfa; }
.dg-root .dg-chip-difficulty { background: rgba(35,118,85,.10); color: var(--dg-secondary); }
.dg-root .dg-chip-difficulty svg { color: var(--dg-secondary); }
.dg-root .dg-chip svg { width: 12px; height: 12px; }

.dg-root .dg-shortdesc { font-size: 13px; color: var(--dg-muted); line-height: 1.5; margin: 0 0 12px 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.dg-root .dg-difficulty-row { margin: 0 0 16px 0; }

/* Spacer pushes the divider + footer to the bottom of flex column */
.dg-root .dg-card-spacer { flex: 1 1 auto; }
.dg-root .dg-card-divider { border-top: 1px solid var(--dg-border); margin: 0 0 14px 0; }

.dg-root .dg-card-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.dg-root .dg-foot-price { display: flex; align-items: baseline; gap: 4px; }
.dg-root .dg-foot-actions { display: flex; align-items: center; gap: 8px; }
.dg-root .dg-price-free { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; background: rgba(35,118,85,.1); color: var(--dg-secondary); border-radius: 8px; font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.dg-root .dg-price { font-size: 16px; font-weight: 700; color: var(--dg-secondary); }
.dg-root .dg-price-from { font-size: 12px; color: var(--dg-muted); }
.dg-root .dg-foot-note { font-size: 12px; color: var(--dg-muted); margin: 0; }
.dg-root .dg-foot-note-danger { color: var(--dg-red); font-weight: 500; }

.dg-root .dg-btn { display: inline-flex; align-items: center; gap: 5px; height: 32px; padding: 0 12px; border-radius: 999px; font-size: 12px; font-weight: 700; text-decoration: none; cursor: pointer; border: 0; line-height: 1; transition: background .15s ease; white-space: nowrap; }
.dg-root .dg-btn svg { width: 14px; height: 14px; flex-shrink: 0; }
.dg-root .dg-btn-primary { background: var(--dg-primary); color: #fff !important; }
.dg-root .dg-btn-primary:hover { background: #d35e23; color: #fff !important; }
.dg-root .dg-btn-secondary { background: var(--dg-secondary); color: #fff !important; }
.dg-root .dg-btn-secondary:hover { background: #1b5d43; color: #fff !important; }
.dg-root .dg-btn-ghost { background: var(--dg-stone-100); color: var(--dg-body); }
.dg-root .dg-btn-ghost:hover { background: var(--dg-border); color: var(--dg-body); }
.dg-root .dg-btn-block { width: 100%; height: 36px; justify-content: center; font-size: 13px; gap: 6px; }
.dg-root .dg-btn-block svg { width: 14px; height: 14px; }

/* horizontal list-style card */
.dg-card-list { position: relative; display: flex; align-items: center; padding: 14px 16px 14px 14px; gap: 16px; overflow: hidden; }
.dg-list-status { position: absolute; top: 0; left: 0; height: 22px; padding: 0 10px; border-bottom-right-radius: 12px; display: inline-flex; align-items: center; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #fff; line-height: 1; z-index: 2; }
.dg-list-thumb { width: 112px; height: 80px; border-radius: 12px; overflow: hidden; flex-shrink: 0; background: var(--dg-stone-100); position: relative; }
.dg-list-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dg-list-thumb .dg-placeholder { width:100%; height:100%; background: linear-gradient(135deg, var(--dg-stone-100), var(--dg-stone-200)); display:flex; align-items:center; justify-content:center; color: #d6d3d1; }
.dg-list-info { flex: 1 1 0; display: flex; flex-direction: column; gap: 6px; min-width: 0; padding-top: 8px; }
.dg-list-title-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.dg-list-title { font-size: 15px; font-weight: 600; color: var(--dg-heading); text-decoration: none; line-height: 1.3; }
.dg-list-title:hover { color: var(--dg-primary); }
.dg-list-cat { display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border-radius: 999px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #fff; line-height: 1; }
.dg-list-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; font-size: 12px; color: var(--dg-muted); }
.dg-list-meta-item { display: inline-flex; align-items: center; gap: 4px; }
.dg-list-meta-item svg { color: var(--dg-muted); }
.dg-list-meta-difficulty { color: var(--dg-secondary); font-weight: 600; }
.dg-list-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.dg-list-price { display: flex; align-items: center; min-width: 0; padding-right: 4px; }
@media (max-width: 768px) {
  .dg-card-list { flex-wrap: wrap; align-items: flex-start; padding: 14px; }
  .dg-list-thumb { width: 88px; height: 88px; }
  .dg-list-info { padding-top: 4px; }
  .dg-list-cta { width: 100%; justify-content: flex-end; padding-top: 4px; border-top: 1px solid var(--dg-border); padding-top: 12px; margin-top: 4px; flex-wrap: wrap; }
  .dg-list-cta .dg-btn { flex: 1 1 auto; justify-content: center; }
  .dg-list-price { padding-right: 0; margin-right: auto; }
}
@media (max-width: 480px) {
  .dg-card-list { gap: 12px; }
  .dg-list-title { font-size: 14px; }
  .dg-list-meta { gap: 10px; font-size: 11px; }
}

.dg-empty { text-align: center; padding: 6rem 1rem; color: var(--dg-muted); }
.dg-empty .dg-empty-icon { width: 64px; height: 64px; border-radius: 999px; background: rgba(229,107,46,.1); color: var(--dg-primary); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.dg-empty .dg-empty-icon svg { width: 28px; height: 28px; }

.dg-pagination { display: flex; justify-content: center; gap: 4px; padding: 2rem 0 1rem; flex-wrap: wrap; }
.dg-pagination button, .dg-pagination span { min-width: 36px; height: 36px; padding: 0 10px; border-radius: 999px; border: 0; background: transparent; color: var(--dg-body); font-size: 14px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.dg-pagination button:hover { background: var(--dg-stone-100); }
.dg-pagination button.is-active { background: var(--dg-primary); color: #fff; }
.dg-pagination button[disabled] { opacity: .4; cursor: not-allowed; }

.dg-error { background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; padding: 12px 16px; border-radius: var(--dg-radius); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dg-error button { background: var(--dg-primary); color: #fff; border: 0; padding: 8px 14px; border-radius: 999px; cursor: pointer; }

.dg-detail-hero { position: relative; height: 400px; border-radius: 20px; overflow: hidden; margin-bottom: 1.25rem; background: var(--dg-stone-200); }
.dg-detail-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
/* z-index ordering: img(0) → ::after gradient(1) → .dg-hero-content(2)
   → top-left back btn(3) → top-right spots pill(3). The gradient was
   previously a ::before which paints UNDER the absolutely-positioned
   img in document order, so the dark fade never showed. ::after
   guarantees it sits above the image. */
.dg-detail-hero::after { content:""; position:absolute; inset:0; background: linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,.55) 35%, rgba(0,0,0,.15) 70%, rgba(0,0,0,0) 100%); pointer-events: none; z-index: 1; }
.dg-detail-hero .dg-back { position: absolute; top: 16px; left: 16px; width: 40px; height: 40px; border-radius: 999px; background: rgba(0,0,0,.3); color: #fff; display:inline-flex; align-items:center; justify-content:center; text-decoration:none; backdrop-filter: blur(6px); z-index: 3; }
.dg-detail-hero .dg-back svg { width: 18px; height: 18px; }
.dg-detail-hero .dg-spots-corner { position: absolute; top: 16px; right: 16px; z-index: 3; }
.dg-hero-content { position: absolute; left: 24px; right: 24px; bottom: 24px; color: #fff; z-index: 2; }
.dg-hero-content .dg-cat-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.dg-hero-content h1 { font-size: 28px; font-weight: 700; line-height: 1.2; margin: 0 0 8px 0; color: #fff; }
.dg-hero-content .dg-hero-short { font-size: 15px; color: rgba(255,255,255,.85); margin: 0 0 12px 0; }
.dg-hero-content .dg-hero-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.dg-hero-content .dg-hero-chips .dg-chip { background: rgba(255,255,255,.2); color: #fff; backdrop-filter: blur(6px); }
@media (min-width: 1024px) {
  .dg-detail-hero { height: 440px; }
  .dg-hero-content h1 { font-size: 32px; }
  .dg-hero-content .dg-hero-short { font-size: 16px; }
}
@media (max-width: 640px) {
  .dg-detail-hero { height: 300px; border-radius: 14px; margin-bottom: 1rem; }
  .dg-hero-content { left: 16px; right: 16px; bottom: 16px; }
  .dg-hero-content h1 { font-size: 22px; line-height: 1.25; }
  .dg-hero-content .dg-hero-short { font-size: 14px; }
  .dg-detail-hero .dg-back { top: 12px; left: 12px; width: 36px; height: 36px; }
}

/* Detail layout — flex with align-items:stretch so the sidebar column
   matches the main column's height. The INNER `.dg-detail-side-sticky`
   wrapper then has room to stick. This is the canonical flex+sticky
   pattern: outer column stretches, inner child sticks. */
.dg-root { overflow: visible !important; }
.dg-detail-body { display: flex; flex-direction: column; gap: 16px; align-items: stretch; overflow: visible !important; }
.dg-detail-main { min-width: 0; display: flex; flex-direction: column; gap: 16px; flex: 1 1 auto; overflow: visible !important; }
.dg-detail-side { min-width: 0; flex: 0 0 auto; overflow: visible !important; }
.dg-detail-side-sticky { display: flex; flex-direction: column; gap: 14px; }
@media (min-width: 1024px) {
  .dg-detail-body { flex-direction: row; gap: 24px; align-items: stretch; }
  .dg-detail-main { flex: 1 1 0; }
  .dg-detail-side { flex: 0 0 340px; max-width: 340px; }
  .dg-detail-side-sticky { position: sticky; top: 150px; align-self: flex-start; }
}

/* Sticky is broken by ANY ancestor with overflow:hidden / clip. Elementor
   sets that on .elementor-section, .e-con, .elementor-widget-container,
   etc. We target those wrappers via :has() (modern browsers) to force
   overflow:visible up the chain. The JS in klauterkooi-list.js walks the
   ancestor tree as a fallback for older engines. */
@supports selector(:has(*)) {
  body:has(.dg-detail-side) .elementor-section,
  body:has(.dg-detail-side) .elementor-container,
  body:has(.dg-detail-side) .elementor-row,
  body:has(.dg-detail-side) .elementor-column,
  body:has(.dg-detail-side) .elementor-column-wrap,
  body:has(.dg-detail-side) .elementor-widget,
  body:has(.dg-detail-side) .elementor-widget-wrap,
  body:has(.dg-detail-side) .elementor-widget-container,
  body:has(.dg-detail-side) .elementor-widget-shortcode,
  body:has(.dg-detail-side) .elementor-element,
  body:has(.dg-detail-side) .e-con,
  body:has(.dg-detail-side) .e-con-inner,
  body:has(.dg-detail-side) .e-parent,
  body:has(.dg-detail-side) main,
  body:has(.dg-detail-side) #content,
  body:has(.dg-detail-side) #primary,
  body:has(.dg-detail-side) .site-main,
  body:has(.dg-detail-side) .entry-content,
  body:has(.dg-detail-side) article {
    overflow: visible !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
  }
}

.dg-root .dg-card.dg-section { padding: 18px; }
@media (min-width: 1024px) { .dg-root .dg-card.dg-section { padding: 22px; } }
.dg-root .dg-card.dg-section h2 { font-size: 15px; font-weight: 700; color: var(--dg-heading); margin: 0 0 12px 0; display:flex; align-items:center; gap:10px; line-height: 1.3; }
.dg-root .dg-card.dg-section .dg-section-icon { width: 32px; height: 32px; border-radius: 12px; }
.dg-root .dg-card.dg-section .dg-section-icon svg { width: 16px; height: 16px; }
.dg-root .dg-prose { font-size: 14px; line-height: 1.6; color: var(--dg-body); }
.dg-root .dg-prose p { margin: 0 0 .75em 0; }
.dg-root .dg-prose p:last-child { margin-bottom: 0; }
.dg-root .dg-prose ul, .dg-root .dg-prose ol { margin: 0 0 .75em 0; padding-left: 1.25rem; }
.dg-root .dg-prose li { margin: 0 0 .25em 0; }
.dg-root .dg-prose strong { color: var(--dg-heading); }
.dg-card.dg-section .dg-section-icon { width: 36px; height: 36px; border-radius: 12px; display:inline-flex; align-items:center; justify-content:center; flex-shrink:0; }
.dg-card.dg-section .dg-section-icon svg { width: 18px; height: 18px; }
.dg-card.dg-section .dg-prose p, .dg-card.dg-section .dg-prose li { font-size: 15px; color: var(--dg-body); line-height: 1.6; }
.dg-card.dg-section .dg-prose ul { padding-left: 1.25rem; }

/* Capacity card (matches React layout: "X spots remaining" + "Y% filled"
   on a single row, bar underneath). */
.dg-root .dg-capacity-card { padding: 16px 18px; }
.dg-root .dg-capacity-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.dg-root .dg-capacity-remaining { font-size: 13px; color: var(--dg-muted); }
.dg-root .dg-capacity-pct { font-size: 13px; font-weight: 700; color: var(--dg-heading); }
.dg-root .dg-capacity-bar { height: 8px; background: #f4f4f5; border-radius: 999px; overflow: hidden; }
.dg-root .dg-capacity-bar-fill { height: 100%; transition: width .25s ease; border-radius: 999px; }
.dg-root .dg-capacity-bar-fill.is-low { background: var(--dg-secondary); }
.dg-root .dg-capacity-bar-fill.is-mid { background: var(--dg-amber); }
.dg-root .dg-capacity-bar-fill.is-high { background: #f87171; }
.dg-root .dg-capacity-bar-fill.is-full { background: var(--dg-red); }

/* Booking CTA card — vertical stack with 8px between sibling rows.
   The card itself must allow overflow so the calendar dropdown menu
   can render outside (over) the card bounds. The .dg-card base has
   overflow:hidden for image-clipping, so we override here. */
.dg-root .dg-booking-card { padding: 18px; display: flex; flex-direction: column; overflow: visible !important; position: relative; }
.dg-root .dg-booking-card > * { margin: 0 0 8px 0 !important; }
.dg-root .dg-booking-card > *:last-child { margin-bottom: 0 !important; }
.dg-root .dg-booking-card .dg-participants { margin-top: 4px !important; padding-top: 12px; }

.dg-root .dg-select-label { font-size: 13px; font-weight: 700; color: var(--dg-heading); margin: 0 0 12px 0; }

/* Price block — single row showing "Prijs" + "GRATIS" / "€X.XX" */
.dg-root .dg-price-block { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; background: #fafaf9; border: 1px solid #e7e5e4; border-radius: 14px; }
.dg-root .dg-price-block-label { font-size: 13px; font-weight: 600; color: var(--dg-heading); }
.dg-root .dg-price-block-value { font-size: 14px; font-weight: 700; color: var(--dg-secondary); }

/* Ticket list (read-only, used as ReservePriceSummary when reserve is open) */
.dg-root .dg-ticket-rows { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; list-style: none; }
.dg-root .dg-ticket-rows li { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; background: #fafaf9; border: 1px solid #e7e5e4; border-radius: 14px; }
.dg-root .dg-ticket-name { font-size: 13px; font-weight: 600; color: var(--dg-heading); }
.dg-root .dg-ticket-price { font-size: 14px; font-weight: 700; color: var(--dg-secondary); }

/* Interactive multi-ticket selector — radio-style cards matching the
   React TicketSelector. Selected: primary-tinted bg + primary border
   + filled radio dot. Unselected: stone-50 bg, border-color hover. */
.dg-root .dg-ticket-selector { display: flex; flex-direction: column; gap: 10px; }
.dg-root .dg-ticket-selector .dg-select-label { font-size: 13px; font-weight: 700; color: var(--dg-heading); margin: 0 0 2px 0; }
.dg-root .dg-ticket-options { display: flex; flex-direction: column; gap: 8px; }
.dg-root .dg-ticket-option {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  padding: 12px 14px !important;
  border-radius: 14px !important;
  border: 1px solid var(--dg-border) !important;
  background: #fafaf9 !important;
  color: var(--dg-heading) !important;
  cursor: pointer !important;
  text-align: left !important;
  transition: background .15s ease, border-color .15s ease;
  font: inherit !important;
  box-shadow: none !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  line-height: 1.3 !important;
}
.dg-root .dg-ticket-option:hover { border-color: #d6d3d1 !important; background: #f5f5f4 !important; color: var(--dg-heading) !important; }
.dg-root .dg-ticket-option.is-selected { background: rgba(229,107,46,.05) !important; border-color: var(--dg-primary) !important; }
.dg-root .dg-ticket-option-name { font-size: 13px; font-weight: 500; color: var(--dg-heading); flex: 1 1 auto; min-width: 0; }
.dg-root .dg-ticket-option-right { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.dg-root .dg-ticket-option-price { font-size: 14px; font-weight: 700; color: rgba(35,118,85,.65); transition: color .15s ease; }
.dg-root .dg-ticket-option.is-selected .dg-ticket-option-price { color: var(--dg-secondary); }
.dg-root .dg-ticket-option-radio { width: 20px; height: 20px; border-radius: 999px; border: 2px solid var(--dg-stone-200); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; transition: border-color .15s ease; }
.dg-root .dg-ticket-option.is-selected .dg-ticket-option-radio { border-color: var(--dg-primary); }
.dg-root .dg-ticket-option-dot { width: 10px; height: 10px; border-radius: 999px; background: var(--dg-primary); transform: scale(0); transition: transform .15s ease; }
.dg-root .dg-ticket-option.is-selected .dg-ticket-option-dot { transform: scale(1); }
.dg-root .dg-ticket-summary { display: flex; align-items: center; justify-content: space-between; padding: 4px 4px 0 4px; }
.dg-root .dg-ticket-summary-label { font-size: 13px; color: var(--dg-muted); }
.dg-root .dg-ticket-summary-price { font-size: 18px; font-weight: 700; color: var(--dg-secondary); }

/* Booking deadline hint — small muted centered line */
.dg-root .dg-deadline { font-size: 12px; color: var(--dg-muted); text-align: center; margin: 0; }

/* "Have account? Sign in" prompt under the book button */
.dg-root .dg-signin-line { font-size: 12px; color: var(--dg-muted); text-align: center; margin: 0; }
.dg-root .dg-signin-line a { color: var(--dg-primary); font-weight: 600; text-decoration: none; }
.dg-root .dg-signin-line a:hover { text-decoration: underline; }

/* Add to Calendar — single trigger button with a dropdown menu.
   Z-index 9999 + parent overflow:visible (set on .dg-booking-card)
   so the menu floats above sibling cards and Elementor sections.
   No primary/orange tones anywhere: clean greys for active/hover. */
.dg-root .dg-calendar-dropdown { position: relative; }
.dg-root .dg-calendar-trigger { width: 100%; height: 36px; border: 0 !important; border-radius: 999px !important; background: var(--dg-stone-100) !important; color: var(--dg-heading) !important; font-size: 13px !important; font-weight: 500 !important; cursor: pointer; display: inline-flex !important; align-items: center !important; justify-content: center !important; gap: 8px !important; transition: background .15s ease, color .15s ease; padding: 0 14px !important; line-height: 1 !important; box-shadow: none !important; text-transform: none !important; letter-spacing: 0 !important; }
.dg-root .dg-calendar-trigger:hover { background: #e7e5e4 !important; color: var(--dg-heading) !important; }
.dg-root .dg-calendar-trigger:focus,
.dg-root .dg-calendar-trigger:focus-visible,
.dg-root .dg-calendar-trigger:active { background: #e7e5e4 !important; color: var(--dg-heading) !important; outline: none !important; box-shadow: none !important; }
.dg-root .dg-calendar-trigger svg { width: 16px; height: 16px; color: var(--dg-heading) !important; }
.dg-root .dg-calendar-trigger .dg-calendar-chevron { width: 12px; height: 12px; color: var(--dg-muted) !important; transition: transform .2s ease; }
.dg-root .dg-calendar-dropdown.is-open .dg-calendar-chevron { transform: rotate(180deg); }
.dg-root .dg-calendar-dropdown.is-open .dg-calendar-trigger { background: #e7e5e4 !important; }

.dg-root .dg-calendar-menu { position: absolute !important; left: 0; right: 0; top: calc(100% + 6px); background: #fff !important; border-radius: 12px; box-shadow: 0 8px 24px rgba(0,0,0,.12), 0 2px 6px rgba(0,0,0,.06); border: 1px solid var(--dg-border); overflow: hidden; z-index: 9999 !important; }
.dg-root .dg-calendar-item { display: flex !important; align-items: center !important; gap: 10px !important; padding: 10px 14px !important; font-size: 13px !important; font-weight: 500 !important; color: var(--dg-heading) !important; text-decoration: none !important; cursor: pointer; transition: background .15s ease; background: #fff !important; border: 0 !important; }
.dg-root .dg-calendar-item:hover,
.dg-root .dg-calendar-item:focus,
.dg-root .dg-calendar-item:focus-visible,
.dg-root .dg-calendar-item:active { background: #f5f5f4 !important; color: var(--dg-heading) !important; outline: none !important; text-decoration: none !important; }
.dg-root .dg-calendar-item + .dg-calendar-item { border-top: 1px solid var(--dg-border); }
.dg-root .dg-calendar-item svg { width: 18px; height: 18px; flex-shrink: 0; }
.dg-root .dg-calendar-item[data-cal="ical"] svg { color: var(--dg-muted); }

/* Participants strip — bordered top, centered avatars + count */
.dg-root .dg-participants { display: flex; align-items: center; justify-content: center; gap: 8px; padding-top: 12px; margin-top: 4px; border-top: 1px solid var(--dg-border); }
.dg-root .dg-participants-avatars { display: inline-flex; }
.dg-root .dg-participants-avatars > span { width: 24px; height: 24px; border-radius: 999px; border: 2px solid #fff; display: inline-block; }
.dg-root .dg-participants-avatars > span + span { margin-left: -8px; }
.dg-root .dg-participants-avatars > span:nth-child(1) { background: rgba(229,107,46,.2); }
.dg-root .dg-participants-avatars > span:nth-child(2) { background: rgba(35,118,85,.2); }
.dg-root .dg-participants-avatars > span:nth-child(3) { background: rgba(165,180,252,.6); }
.dg-root .dg-participants-text { font-size: 12px; color: var(--dg-muted); }

/* Members-only / not-bookable inline banners (amber) */
.dg-root .dg-amber-banner { padding: 10px 12px; background: #fffbeb; border: 1px solid #fde68a; border-radius: 12px; }
.dg-root .dg-amber-banner-title { font-size: 13px; font-weight: 600; color: #b45309; margin: 0; }
.dg-root .dg-amber-banner-hint { font-size: 12px; color: #92400e; margin: 2px 0 0 0; line-height: 1.4; }

/* Event details rows — w-9 h-9 icon container rounded-2xl, w-4 h-4 svg,
   text-xs label, text-sm font-semibold value. */
.dg-root .dg-detail-row { display:flex; align-items:center; gap: 12px; padding: 0; }
.dg-root .dg-detail-row + .dg-detail-row { margin-top: 14px; }
.dg-root .dg-detail-row .dg-row-icon { width: 36px; height: 36px; border-radius: 16px; display:inline-flex; align-items:center; justify-content:center; flex-shrink:0; }
.dg-root .dg-detail-row .dg-row-icon svg { width: 16px; height: 16px; }
.dg-root .dg-detail-row .dg-row-icon.is-date { background: rgba(35,118,85,.10); color: var(--dg-secondary); }
.dg-root .dg-detail-row .dg-row-icon.is-time { background: rgba(229,107,46,.10); color: var(--dg-primary); }
.dg-root .dg-detail-row .dg-row-icon.is-location { background: rgba(10,10,9,.08); color: var(--dg-heading); }
.dg-root .dg-detail-row .dg-row-icon.is-difficulty { background: rgba(35,118,85,.10); color: var(--dg-secondary); }
.dg-root .dg-detail-row .dg-row-label { font-size: 12px; color: var(--dg-muted); margin: 0; }
.dg-root .dg-detail-row .dg-row-value { font-size: 14px; color: var(--dg-heading); font-weight: 600; margin: 2px 0 0 0; line-height: 1.35; }

.dg-root .dg-maps iframe { width: 100%; height: 160px; border: 0; display: block; border-radius: 12px; }
.dg-root .dg-maps a { display:inline-block; margin-top: 10px; font-size: 13px; color: var(--dg-primary); text-decoration: none; }
.dg-root .dg-maps a:hover { text-decoration: underline; }

/* === Activity gallery (thumbnails + lightbox) === */
.dg-root .dg-gallery .dg-gallery-title { font-size: 16px; font-weight: 700; color: var(--dg-heading); margin: 0 0 12px 0; }
.dg-root .dg-gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 640px) { .dg-root .dg-gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .dg-root .dg-gallery-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.dg-root .dg-gallery-tile { position: relative; aspect-ratio: 1 / 1; border-radius: 16px; overflow: hidden; background: var(--dg-stone-100); border: 1px solid var(--dg-stone-200); cursor: pointer; padding: 0; display: block; outline: none; transition: box-shadow .15s ease; }
.dg-root .dg-gallery-tile:focus-visible { box-shadow: 0 0 0 2px var(--dg-primary); }
.dg-root .dg-gallery-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.dg-root .dg-gallery-tile:hover img { transform: scale(1.05); }
.dg-root .dg-gallery-tile-hover { position: absolute; inset: 0; background: rgba(0,0,0,0); transition: background .15s ease; }
.dg-root .dg-gallery-tile:hover .dg-gallery-tile-hover { background: rgba(0,0,0,.1); }

/* Lightbox — fixed-position overlay rendered into <body>. Lives outside
   .dg-root so theme rules can't scope it weirdly; the .dg-lightbox class
   handles all of its own styling. */
.dg-lightbox { position: fixed; inset: 0; z-index: 99999; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.85); padding: 16px; opacity: 0; transition: opacity .2s ease; box-sizing: border-box; }
.dg-lightbox.is-open { opacity: 1; }
.dg-lightbox * { box-sizing: border-box; }
.dg-lightbox-stage { position: relative; max-width: 1152px; width: 100%; height: 100%; max-height: 90vh; display: flex; align-items: center; justify-content: center; transform: scale(.96); transition: transform .2s ease; }
.dg-lightbox.is-open .dg-lightbox-stage { transform: scale(1); }
.dg-lightbox-img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 12px; box-shadow: 0 20px 60px rgba(0,0,0,.6); animation: dgFadeIn .25s ease; }
@keyframes dgFadeIn { from { opacity: 0; } to { opacity: 1; } }
.dg-lightbox-btn { position: absolute; width: 44px; height: 44px; border-radius: 999px; background: rgba(255,255,255,.15); color: #fff; border: 0; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 700; backdrop-filter: blur(8px); transition: background .15s ease; }
.dg-lightbox-btn:hover { background: rgba(255,255,255,.28); }
.dg-lightbox-close { top: 16px; right: 16px; }
.dg-lightbox-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.dg-lightbox-next { right: 16px; top: 50%; transform: translateY(-50%); }
.dg-lightbox-counter-wrap { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 12px; pointer-events: none; }
.dg-lightbox-counter { font-size: 12px; font-weight: 600; background: rgba(0,0,0,.4); backdrop-filter: blur(8px); color: #fff; border-radius: 999px; padding: 4px 12px; }
.dg-lightbox-strip { display: flex; align-items: center; gap: 8px; max-width: 80vw; overflow-x: auto; pointer-events: auto; padding: 4px; }
.dg-lightbox-strip::-webkit-scrollbar { height: 4px; }
.dg-lightbox-strip::-webkit-scrollbar-thumb { background: rgba(255,255,255,.3); border-radius: 999px; }
.dg-lightbox-thumb { width: 56px; height: 56px; flex-shrink: 0; border-radius: 8px; overflow: hidden; border: 2px solid transparent; opacity: .6; cursor: pointer; padding: 0; background: transparent; transition: opacity .15s ease, transform .15s ease; }
.dg-lightbox-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dg-lightbox-thumb:hover { opacity: 1; }
.dg-lightbox-thumb.is-active { opacity: 1; border-color: #fff; transform: scale(1.05); }
@media (max-width: 640px) {
  .dg-lightbox-strip { display: none; }
  .dg-lightbox-btn { width: 38px; height: 38px; font-size: 18px; }
  .dg-lightbox-close { top: 12px; right: 12px; }
  .dg-lightbox-prev { left: 8px; }
  .dg-lightbox-next { right: 8px; }
}

/* Hide the WP page header/title on detail view. Targets common
   theme patterns (Twenty-Twenty-X, Astra, GeneratePress, Storefront,
   block themes). Themes with unusual markup may still need a custom
   selector — users can target body.dg-activity-detail-view. */
body.dg-activity-detail-view .entry-header,
body.dg-activity-detail-view .page-header,
body.dg-activity-detail-view header.entry-header,
body.dg-activity-detail-view header.page-header,
body.dg-activity-detail-view .entry-title,
body.dg-activity-detail-view .page-title,
body.dg-activity-detail-view h1.entry-title,
body.dg-activity-detail-view h1.page-title,
body.dg-activity-detail-view h1.wp-block-post-title,
body.dg-activity-detail-view .wp-block-post-title { display: none !important; }

/* Slider — arrows live in the wrapper's outer padding zone so they
   sit OUTSIDE the swiper without changing the slide width. The
   .swiper element keeps its full width inside the wrapper; nav buttons
   are absolutely positioned over the wrapper's 56px side padding. */
.dg-slider-wrap { position: relative; padding: 0 56px; }
.dg-slider .swiper-slide { height: auto; }
.dg-slider .swiper-slide > .dg-card { height: 100%; }
/* Hide pagination dots entirely (in case any Swiper preset adds them). */
.dg-slider .swiper-pagination { display: none !important; }
.dg-slider-empty { text-align: center; padding: 3rem 1rem; color: var(--dg-muted); }

.dg-root .dg-slider-nav {
  position: absolute !important;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #fff !important;
  border: 1px solid var(--dg-border) !important;
  color: var(--dg-heading) !important;
  box-shadow: 0 4px 12px rgba(0,0,0,.08), 0 1px 3px rgba(0,0,0,.06);
  cursor: pointer;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  z-index: 5;
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
}
.dg-root .dg-slider-nav:hover {
  background: #fafaf9 !important;
  border-color: #d6d3d1 !important;
}
.dg-root .dg-slider-nav:active { transform: translateY(-50%) scale(.96); }
.dg-root .dg-slider-nav svg { width: 18px; height: 18px; color: var(--dg-heading) !important; }
.dg-root .dg-slider-nav-prev { left: 8px; }
.dg-root .dg-slider-nav-next { right: 8px; }
.dg-root .dg-slider-nav.swiper-button-disabled,
.dg-root .dg-slider-nav.swiper-button-lock { opacity: .35; cursor: not-allowed; pointer-events: none; }

@media (max-width: 640px) {
  .dg-slider-wrap { padding: 0 44px; }
  .dg-root .dg-slider-nav { width: 36px; height: 36px; }
  .dg-root .dg-slider-nav-prev { left: 4px; }
  .dg-root .dg-slider-nav-next { right: 4px; }
}
