/* ==========================================================================
   Shift.Gift – Modern Soft design system (portal + platform)
   Primary: #8c52ff | Canvas: #F1EEFC | Accent: #9EB7FF | Surface: #FFFFFF
   ========================================================================== */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@700&display=swap");

:root {
  /* Brand */
  --sg-primary: #8c52ff;
  --sg-primary-hover: #7a3ef0;
  --sg-primary-soft: rgba(140, 82, 255, 0.12);
  --sg-canvas: #f3f4f6;
  --sg-accent: #9EB7FF;
  --sg-surface: #FFFFFF;
  /* Neutrals */
  --sg-text: #1f2937;
  --sg-text-secondary: #6b7280;
  --sg-text-muted: #9ca3af;
  /* Functional */
  --sg-success: #10b981;
  --sg-success-soft: #d1fae5;
  --sg-warning: #f59e0b;
  --sg-warning-soft: #fef3c7;
  --sg-error: #ef4444;
  --sg-error-soft: #fee2e2;
  /* Soft UI */
  --sg-radius-sm: 12px;
  --sg-radius: 20px;
  --sg-radius-lg: 28px;
  --sg-radius-xl: 36px;
  --sg-radius-full: 9999px;
  /* Neutrale grijze schaduwen (niet paars) voor heel platform */
  --sg-shadow-soft: 0 4px 24px rgba(0, 0, 0, 0.04), 0 12px 48px rgba(0, 0, 0, 0.03);
  --sg-shadow-card: 0 8px 32px rgba(0, 0, 0, 0.06), 0 24px 64px rgba(0, 0, 0, 0.04);
  --sg-shadow-float: 0 16px 48px rgba(0, 0, 0, 0.08), 0 32px 80px rgba(0, 0, 0, 0.05);
  --sg-font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: var(--sg-font);
  color: var(--sg-text);
  background-color: var(--sg-canvas);
  max-width: 100%;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page {
  background-color: var(--sg-canvas);
}

.page-index {
  position: relative;
}

.index-backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-color: var(--sg-canvas);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-index .site-header,
.page-index .container,
.page-index .site-footer {
  position: relative;
  z-index: 1;
}

.hidden {
  display: none !important;
}

.container {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.site-header {
  background-color: var(--sg-surface);
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: var(--sg-shadow-soft);
}

@media (max-width: 640px) {
  .site-header {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1rem;
}

@media (max-width: 640px) {
  .header-content {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand {
  padding-left: 0.75rem;
}

.brand-mark {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sg-primary);
}

.header-balance {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--sg-text);
}

.header-balance .header-balance-amount,
.welcome-balance .header-balance-amount {
  color: var(--sg-primary);
  font-weight: 700;
}

.welcome-balance {
  text-align: center;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 1rem;
  color: var(--sg-text);
}

.voucher-welcome-block {
  text-align: center;
  margin-bottom: 1.5rem;
}

.voucher-welcome-block .welcome-balance {
  margin: 0 0 0.5rem;
}

.welcome-balance-sentinel {
  height: 1px;
  width: 100%;
  pointer-events: none;
  visibility: hidden;
}

.header-balance-sticky {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  margin: 0;
  min-width: 0;
}

.header-balance-sticky.hidden {
  display: none;
}

.voucher-actions {
  margin-top: 1rem;
  text-align: center;
}

.btn-tegoed {
  display: inline-block;
  font-size: 0.95rem;
  padding: 0.65rem 1.35rem;
  background: var(--sg-primary);
  color: var(--sg-surface);
  border: none;
  border-radius: var(--sg-radius-full);
  text-decoration: none;
  font-weight: 600;
  font-family: var(--sg-font);
  box-shadow: var(--sg-shadow-soft);
  transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease;
}

.btn-tegoed:hover {
  background: var(--sg-primary-hover);
  box-shadow: 0 8px 28px rgba(140, 82, 255, 0.2);
  transform: translateY(-1px);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--sg-text-secondary);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: var(--sg-radius-full);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-link:hover {
  background-color: var(--sg-primary-soft);
  color: var(--sg-primary);
}

.main-content {
  flex: 1;
  padding: 2rem 0 3rem;
}

.site-footer {
  background-color: var(--sg-surface);
  padding: 1.5rem 0;
  font-size: 0.9rem;
  color: var(--sg-text-secondary);
  margin-top: auto;
  box-shadow: 0 -4px 24px rgba(140, 82, 255, 0.05);
}

.site-footer .footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.site-footer .footer-actions {
  margin-left: auto;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.site-footer a {
  color: var(--sg-primary);
  text-decoration: none;
  font-weight: 500;
}

.site-footer a:hover {
  text-decoration: underline;
}

.card {
  background-color: var(--sg-surface);
  border-radius: var(--sg-radius-lg);
  padding: 2rem;
  box-shadow: var(--sg-shadow-card);
  margin-bottom: 2rem;
  border: none;
}

.card-centered {
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

h1,
h2,
h3 {
  margin: 0 0 0.5rem;
  color: var(--sg-text);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

h1 { font-size: 1.75rem; }
h2 { font-size: 1.35rem; }
h3 { font-size: 1.1rem; }

p {
  margin: 0 0 1rem;
  line-height: 1.6;
  color: var(--sg-text-secondary);
}

ol.steps {
  margin: 0.5rem 0 0;
  padding-left: 1.25rem;
  color: var(--sg-text-secondary);
}

ol.steps li {
  margin-bottom: 0.25rem;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 1rem;
}

.index-portal-link {
  margin-top: 1rem;
  margin-bottom: 0;
  text-align: center;
  font-size: 0.95rem;
}

.index-portal-link a {
  color: var(--sg-primary);
  text-decoration: none;
  font-weight: 500;
}

.index-portal-link a:hover {
  text-decoration: underline;
}

.form-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--sg-text);
}

.form-input,
textarea.form-input,
select.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--sg-radius-sm);
  border: none;
  font-size: 0.95rem;
  font-family: var(--sg-font);
  background-color: var(--sg-surface);
  box-shadow: 0 2px 12px rgba(140, 82, 255, 0.06);
  transition: box-shadow 0.2s ease;
}

.form-input:focus,
textarea.form-input:focus,
select.form-input:focus {
  outline: none;
  box-shadow: 0 4px 20px rgba(140, 82, 255, 0.12), 0 0 0 2px var(--sg-primary-soft);
}

.form-error {
  color: var(--sg-error);
  font-size: 0.9rem;
  font-weight: 500;
}

.form-success {
  color: var(--sg-success);
  font-size: 0.9rem;
  font-weight: 500;
  min-height: 1.2rem;
}

.form-hint {
  margin: 0.35rem 0 0.5rem;
  font-size: 0.875rem;
  color: var(--sg-text-secondary);
  line-height: 1.4;
}

/* Wachtwoord checklist (activeren / registratie) */
.password-field-wrap {
  margin-bottom: 0.5rem;
}

.password-input-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.password-input-row .form-input {
  flex: 1;
  min-width: 200px;
}

.password-generate-btn {
  flex-shrink: 0;
}

.password-checklist {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  font-size: 0.9rem;
  color: var(--sg-text-secondary);
}

.password-checklist li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.password-check-dot {
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--sg-text-muted);
  flex-shrink: 0;
  transition: background 0.2s ease;
}

.password-checklist li.met .password-check-dot {
  background: var(--sg-success);
}

.password-checklist li.met {
  color: var(--sg-text);
}

@media (max-width: 480px) {
  .password-input-row {
    flex-direction: column;
    align-items: stretch;
  }
  .password-input-row .form-input {
    min-width: 0;
  }
}

/* Platformnotificatie (toast) – vervangt browser-alerts */
#app-notification-container {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 22rem;
  pointer-events: none;
}

.app-notification {
  pointer-events: auto;
  padding: 1rem 1.25rem;
  border-radius: var(--sg-radius-sm);
  font-size: 0.95rem;
  line-height: 1.45;
  box-shadow: var(--sg-shadow-float);
  animation: app-notification-in 0.25s ease-out;
  white-space: pre-wrap;
  word-break: break-word;
  border: none;
}

.app-notification--success {
  background: var(--sg-success);
  color: #fff;
}

.app-notification--error {
  background: var(--sg-error);
  color: #fff;
}

.app-notification--info {
  background: var(--sg-text);
  color: #fff;
}

@keyframes app-notification-in {
  from {
    opacity: 0;
    transform: translateX(1rem);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.profile-password-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.profile-password-row .form-input {
  flex: 1;
  min-width: 180px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.25rem;
  border-radius: var(--sg-radius-full);
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--sg-font);
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease;
}

.btn-primary {
  background: var(--sg-primary);
  color: var(--sg-surface);
  box-shadow: var(--sg-shadow-soft);
}

.btn-primary:hover {
  background: var(--sg-primary-hover);
  box-shadow: 0 8px 28px rgba(140, 82, 255, 0.25);
  transform: translateY(-1px);
}

.page-index .btn-primary,
.page-portal .btn-primary,
.page-portal-login .btn-primary,
.page-activity .btn-primary,
.page-discover .btn-primary {
  background: var(--sg-primary);
  box-shadow: var(--sg-shadow-soft);
}

.page-index .btn-primary:hover,
.page-portal .btn-primary:hover,
.page-portal-login .btn-primary:hover,
.page-activity .btn-primary:hover,
.page-discover .btn-primary:hover {
  background: var(--sg-primary-hover);
  box-shadow: 0 8px 28px rgba(140, 82, 255, 0.25);
  transform: translateY(-1px);
}

.backend-body .btn-primary {
  background: var(--sg-primary);
  box-shadow: var(--sg-shadow-soft);
}

.backend-body .btn-primary:hover {
  background: var(--sg-primary-hover);
  transform: translateY(-1px);
}

.backend-file-input-hidden {
  position: absolute;
  width: 0.1px;
  height: 0.1px;
  opacity: 0;
  overflow: hidden;
  z-index: -1;
}

.backend-upload-btn {
  margin-bottom: 0.25rem;
}

.backend-format-hint {
  margin-top: 0.35rem;
  font-size: 0.9rem;
}

.btn-secondary {
  background-color: var(--sg-primary-soft);
  color: var(--sg-primary);
}

.btn-secondary:hover {
  background-color: rgba(140, 82, 255, 0.18);
  color: var(--sg-primary-hover);
}

.btn-ghost {
  background-color: transparent;
  color: var(--sg-text-secondary);
  padding-inline: 0.75rem;
}

.btn-ghost:hover {
  background-color: var(--sg-primary-soft);
  color: var(--sg-primary);
}

.btn-topup {
  background-color: var(--sg-surface);
  color: var(--sg-text-secondary);
  box-shadow: 0 2px 12px rgba(140, 82, 255, 0.06);
  font-size: 0.9rem;
  margin-left: 0.5rem;
}

.btn-topup:hover {
  background-color: var(--sg-primary-soft);
  color: var(--sg-primary);
}

.activity-rest-row {
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px dashed rgba(140, 82, 255, 0.15);
}

.activity-rest-row .rest-amount-value {
  font-weight: 600;
  color: var(--sg-text-secondary);
}

.btn-danger {
  background-color: var(--sg-error);
  color: #fff;
  box-shadow: 0 4px 16px rgba(239, 68, 68, 0.2);
}

.btn-danger:hover {
  background-color: #dc2626;
  transform: translateY(-1px);
}

.btn:disabled {
  cursor: not-allowed;
  opacity: 0.6;
  box-shadow: none;
  transform: none;
}

.actions {
  margin-top: 1rem;
}

.voucher-summary {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.voucher-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
}

.voucher-summary-label {
  color: var(--sg-text-secondary);
}

.voucher-summary-value {
  font-weight: 600;
  color: var(--sg-text);
}

.transactions-container {
  margin-top: 1rem;
}

.transactions-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  border-radius: var(--sg-radius-sm);
  overflow: hidden;
}

.transactions-table th,
.transactions-table td {
  padding: 0.75rem 1rem;
  text-align: left;
}

.transactions-table th {
  font-weight: 600;
  color: var(--sg-text);
  background: var(--sg-primary-soft);
}

.transactions-table tr:nth-child(even) td {
  background-color: rgba(241, 238, 252, 0.5);
}

.transactions-table tr:hover td {
  background-color: var(--sg-primary-soft);
}

.filters {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.filter-max-price {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

#filter-max-price {
  flex: 1;
}

.activities-top-bar {
  margin-top: 0.75rem;
  margin-bottom: 0.5rem;
}

.location-selector {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.location-label {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--sg-text-secondary);
}

.location-dropdown-wrap {
  position: relative;
  display: inline-block;
}

.location-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--sg-primary);
  background: var(--sg-primary-soft);
  border: none;
  border-radius: var(--sg-radius-full);
  cursor: pointer;
  font-family: var(--sg-font);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.location-trigger:hover {
  background: rgba(140, 82, 255, 0.18);
  box-shadow: var(--sg-shadow-soft);
}

.location-trigger-arrow {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid currentColor;
  margin-left: 2px;
  transition: transform 0.2s ease;
}

.location-dropdown-wrap[aria-expanded="true"] .location-trigger-arrow,
.location-trigger[aria-expanded="true"] .location-trigger-arrow {
  transform: rotate(180deg);
}

.location-dropdown-panel {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 8px;
  min-width: 240px;
  max-width: 340px;
  background: var(--sg-surface);
  border: none;
  border-radius: var(--sg-radius);
  box-shadow: var(--sg-shadow-float);
  z-index: 20;
  overflow: hidden;
}

.location-dropdown-search-wrap {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  background: var(--sg-primary-soft);
  gap: 0.5rem;
}

.location-search-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236b7280'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.location-dropdown-search {
  flex: 1;
  min-width: 0;
  padding: 0.5rem 0;
  font-size: 0.95rem;
  border: none;
  outline: none;
  font-family: var(--sg-font);
  background: transparent;
}

.location-dropdown-search::placeholder {
  color: var(--sg-text-muted);
}

.location-dropdown-list {
  max-height: 280px;
  overflow-y: auto;
  padding: 0.5rem 0;
}

.location-dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 1rem;
  font-size: 0.95rem;
  cursor: pointer;
  color: var(--sg-text);
  transition: background 0.15s ease;
}

.location-dropdown-item:hover {
  background-color: var(--sg-primary-soft);
}

.location-dropdown-item.selected {
  font-weight: 600;
  background-color: var(--sg-primary-soft);
  color: var(--sg-primary);
}

.location-dropdown-item.selected::after {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%238c52ff'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center/contain no-repeat;
  flex-shrink: 0;
  margin-left: 0.5rem;
}

.location-dropdown {
  max-width: 200px;
}

.filters-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.75rem 1rem;
  margin-top: 0.75rem;
  margin-bottom: 1.5rem;
}

.filters-row .filter {
  flex: 1 1 140px;
  min-width: 120px;
}

.filters-row .filter label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 500;
  color: var(--sg-text-secondary);
}

.filters-row .filter .form-input,
.filters-row .filter select.form-input {
  width: 100%;
  min-height: 44px;
}

.filters-row .filter-map-toggle {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 44px;
  padding-bottom: 0;
}

.filters-row .filter-map-toggle .btn-map-toggle {
  margin: 0;
  white-space: nowrap;
}

.btn-map-toggle {
  background: var(--sg-primary);
  color: var(--sg-surface);
  padding: 0.6rem 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--sg-radius-full);
  box-shadow: var(--sg-shadow-soft);
}

.btn-map-toggle:hover {
  background: var(--sg-primary-hover);
  transform: translateY(-1px);
}

.toggle-wrap {
  display: inline-flex;
  align-items: center;
}

.toggle-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-label {
  display: inline-block;
  width: 48px;
  height: 28px;
  background: var(--sg-primary-soft);
  border-radius: var(--sg-radius-full);
  cursor: pointer;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.toggle-label::after {
  content: "";
  display: block;
  width: 22px;
  height: 22px;
  margin: 3px;
  background: var(--sg-surface);
  border-radius: 50%;
  box-shadow: var(--sg-shadow-soft);
  transition: transform 0.2s ease;
}

.toggle-input:checked + .toggle-label {
  background: var(--sg-primary);
}

.toggle-input:checked + .toggle-label::after {
  transform: translateX(20px);
}

.activities-map-container.hidden {
  display: none !important;
}

.activities-and-map-wrap {
  display: block;
}

.activities-and-map-wrap.show-map {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: stretch;
  min-height: calc(100vh - 5rem);
}

.activities-and-map-wrap.show-map .activities-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.activities-and-map-wrap.show-map .activities-map-container {
  position: sticky;
  top: 5rem;
  min-height: calc(100vh - 5rem);
  display: flex;
  flex-direction: column;
}

.activities-and-map-wrap.show-map .activities-map-container .activities-map {
  flex: 1;
  min-height: calc(100vh - 5rem);
}

@media (max-width: 899px) {
  .activities-and-map-wrap.show-map {
    grid-template-columns: 1fr;
  }
}

.activities-map-container {
  margin-top: 0;
  margin-bottom: 1.5rem;
  border-radius: var(--sg-radius-lg);
  overflow: hidden;
  box-shadow: var(--sg-shadow-card);
}

.activities-map {
  width: 100%;
  height: 400px;
  background: var(--sg-primary-soft);
}

.map-popup {
  min-width: 180px;
  font-size: 0.95rem;
}

.map-popup a {
  color: var(--sg-primary);
  font-weight: 600;
}

.activities-grid.hide-for-map {
  display: none !important;
}

.activities-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 0;
}

.activity-card {
  border-radius: var(--sg-radius-lg);
  border: none;
  overflow: hidden;
  background-color: var(--sg-surface);
  display: flex;
  flex-direction: column;
  box-shadow: var(--sg-shadow-card);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.activity-image-placeholder {
  background: linear-gradient(160deg, var(--sg-primary-soft) 0%, rgba(158, 183, 255, 0.2) 50%, var(--sg-canvas) 100%);
  height: 160px;
  overflow: hidden;
  position: relative;
}

.activity-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.activity-detail-image {
  height: 220px;
}

.activity-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .activity-detail-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.activity-detail-left {
  background: var(--sg-surface);
  border: none;
  border-radius: var(--sg-radius-lg);
  overflow: hidden;
  box-shadow: var(--sg-shadow-card);
}

.activity-detail-left .activity-detail-image {
  height: 200px;
}

.activity-detail-provider-name {
  margin: 0;
  padding: 1rem 1.25rem 0.25rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: #111827;
}

.activity-detail-meta {
  margin: 0;
  padding: 0 1.25rem;
  font-size: 0.9rem;
  color: #6b7280;
}

.activity-detail-address {
  margin: 0;
  padding: 0.5rem 1.25rem 1rem;
  font-size: 0.9rem;
  color: #4b5563;
}

.organisation-block {
  padding-bottom: 1rem;
}

.organisation-image-wrap {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #e5e7eb;
}

.organisation-image-wrap .organisation-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.organisation-image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, var(--sg-primary-soft) 0%, rgba(158, 183, 255, 0.15) 100%);
}

.organisation-block .activity-detail-provider-name {
  padding: 1rem 1.25rem 0.5rem;
}

.organisation-description {
  margin: 0;
  padding: 0 1.25rem 1rem;
  font-size: 0.95rem;
  color: var(--sg-text-secondary);
  line-height: 1.6;
}

.organisation-contact-map-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: start;
  padding: 0 1.25rem 1rem;
}

@media (max-width: 520px) {
  .organisation-contact-map-row {
    grid-template-columns: 1fr;
  }
}

.organisation-contact-block {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.organisation-map-wrap {
  width: 100%;
  height: 180px;
  border-radius: var(--sg-radius-sm);
  overflow: hidden;
  background: var(--sg-primary-soft);
  min-height: 160px;
  box-shadow: 0 4px 16px rgba(140, 82, 255, 0.08);
}

.organisation-contact-map-row .organisation-map-wrap {
  margin: 0;
}

.organisation-map {
  width: 100%;
  height: 100%;
  border: 0;
}

.organisation-address-text,
.organisation-contact {
  margin: 0 0 0.5rem;
  padding: 0;
  font-size: 0.95rem;
  color: var(--sg-text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.organisation-icon {
  flex-shrink: 0;
  width: 1.1rem;
  height: 1.1rem;
  background: currentColor;
  opacity: 0.7;
}

.organisation-icon-address {
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E") no-repeat center;
  mask-size: contain;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E") no-repeat center;
  -webkit-mask-size: contain;
}

.organisation-icon-website {
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Crect x='2' y='3' width='20' height='14' rx='2'/%3E%3Cline x1='8' y1='21' x2='16' y2='21'/%3E%3Cline x1='12' y1='17' x2='12' y2='21'/%3E%3C/svg%3E") no-repeat center;
  mask-size: contain;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Crect x='2' y='3' width='20' height='14' rx='2'/%3E%3Cline x1='8' y1='21' x2='16' y2='21'/%3E%3Cline x1='12' y1='17' x2='12' y2='21'/%3E%3C/svg%3E") no-repeat center;
  -webkit-mask-size: contain;
}

.organisation-icon-instagram {
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Crect x='2' y='2' width='20' height='20' rx='5'/%3E%3Cpath d='M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z'/%3E%3Cline x1='17.5' y1='6.5' x2='17.51' y2='6.5'/%3E%3C/svg%3E") no-repeat center;
  mask-size: contain;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Crect x='2' y='2' width='20' height='20' rx='5'/%3E%3Cpath d='M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z'/%3E%3Cline x1='17.5' y1='6.5' x2='17.51' y2='6.5'/%3E%3C/svg%3E") no-repeat center;
  -webkit-mask-size: contain;
}

.organisation-contact a {
  color: var(--sg-primary);
  text-decoration: none;
  font-weight: 500;
}

.organisation-contact a:hover {
  text-decoration: underline;
}

.organisation-amenities {
  padding: 1rem 1.25rem 0;
  border-top: 1px solid rgba(140, 82, 255, 0.12);
  margin-top: 0.5rem;
}

.organisation-amenities-title {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--sg-text);
}

.organisation-amenities-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.organisation-amenity-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.95rem;
  color: var(--sg-text-secondary);
}

.organisation-amenity-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  background: currentColor;
  opacity: 0.8;
}

.organisation-amenity-icon.organisation-amenity-lockers {
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Crect x='3' y='11' width='7' height='10' rx='1'/%3E%3Crect x='14' y='11' width='7' height='10' rx='1'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3C/svg%3E") no-repeat center;
  mask-size: contain;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Crect x='3' y='11' width='7' height='10' rx='1'/%3E%3Crect x='14' y='11' width='7' height='10' rx='1'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3C/svg%3E") no-repeat center;
  -webkit-mask-size: contain;
}

.organisation-amenity-icon.organisation-amenity-parking {
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M5 17h14v-6H5v6zM5 9h4V5h6v4h4'/%3E%3C/svg%3E") no-repeat center;
  mask-size: contain;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M5 17h14v-6H5v6zM5 9h4V5h6v4h4'/%3E%3C/svg%3E") no-repeat center;
  -webkit-mask-size: contain;
}

.organisation-amenity-icon.organisation-amenity-showers {
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M12 2.69l5.66 5.66a8 8 0 1 1-11.31 0z'/%3E%3C/svg%3E") no-repeat center;
  mask-size: contain;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M12 2.69l5.66 5.66a8 8 0 1 1-11.31 0z'/%3E%3C/svg%3E") no-repeat center;
  -webkit-mask-size: contain;
}

.organisation-amenity-icon.organisation-amenity-changing_room {
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M6 2v6l4 4 4-4V2'/%3E%3Cpath d='M4 22h16'/%3E%3Cpath d='M12 12v10'/%3E%3Cpath d='M8 22l4-4 4 4'/%3E%3C/svg%3E") no-repeat center;
  mask-size: contain;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M6 2v6l4 4 4-4V2'/%3E%3Cpath d='M4 22h16'/%3E%3Cpath d='M12 12v10'/%3E%3Cpath d='M8 22l4-4 4 4'/%3E%3C/svg%3E") no-repeat center;
  -webkit-mask-size: contain;
}

.organisation-amenity-icon.organisation-amenity-wifi {
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M5 12.55a11 11 0 0 1 14.08 0'/%3E%3Cpath d='M1.42 9a16 16 0 0 1 21.16 0'/%3E%3Cpath d='M8.53 16.11a6 6 0 0 1 6.95 0'/%3E%3Cline x1='12' y1='20' x2='12.01' y2='20'/%3E%3C/svg%3E") no-repeat center;
  mask-size: contain;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M5 12.55a11 11 0 0 1 14.08 0'/%3E%3Cpath d='M1.42 9a16 16 0 0 1 21.16 0'/%3E%3Cpath d='M8.53 16.11a6 6 0 0 1 6.95 0'/%3E%3Cline x1='12' y1='20' x2='12.01' y2='20'/%3E%3C/svg%3E") no-repeat center;
  -webkit-mask-size: contain;
}

.provider-activities-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.provider-activity-group {
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(140, 82, 255, 0.12);
}

.provider-activity-group:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.provider-activity-name {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--sg-text);
}

.provider-activity-desc {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  color: var(--sg-text-secondary);
  line-height: 1.5;
}

.activity-book-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--sg-surface);
  border: none;
  border-radius: var(--sg-radius);
  flex-wrap: wrap;
  box-shadow: 0 4px 20px rgba(140, 82, 255, 0.06);
  transition: box-shadow 0.2s ease;
  cursor: pointer;
}
.activity-book-card:focus {
  outline: none;
  box-shadow: var(--sg-shadow-float), 0 0 0 2px var(--sg-primary-soft);
}

.activity-book-card.selected {
  box-shadow: 0 8px 28px rgba(140, 82, 255, 0.18), 0 0 0 2px var(--sg-primary-soft);
}

.activity-book-card-left {
  flex: 1;
  min-width: 0;
}

.activity-book-card .provider-activity-name {
  margin: 0 0 0.25rem;
}

.activity-book-card-bookable {
  font-size: 0.85rem;
  color: var(--sg-text-secondary);
}

.product-list-title {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--sg-text);
}

.product-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.product-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--sg-surface);
  border: none;
  border-radius: var(--sg-radius);
  flex-wrap: wrap;
  box-shadow: 0 4px 20px rgba(140, 82, 255, 0.06);
}

.product-card.selected {
  box-shadow: 0 8px 28px rgba(140, 82, 255, 0.18), 0 0 0 2px var(--sg-primary-soft);
}

.product-card-left {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
  flex: 1;
}

.product-card-duration {
  font-size: 0.85rem;
  color: var(--sg-text-muted);
}

.product-card-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--sg-text);
}

.product-card-subtitle {
  font-size: 0.9rem;
  color: var(--sg-text-secondary);
}

.product-card-bookable {
  font-size: 0.85rem;
  color: var(--sg-text-muted);
}

.btn-product-price {
  flex-shrink: 0;
  background: var(--sg-primary);
  color: var(--sg-surface);
  padding: 0.6rem 1.2rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--sg-radius-full);
  box-shadow: var(--sg-shadow-soft);
}

.btn-product-price:hover {
  background: var(--sg-primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(140, 82, 255, 0.25);
}

.activity-booking-section {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(140, 82, 255, 0.12);
}

.booking-section-title {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--sg-text);
}

.booking-expanded-details {
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.booking-detail-block {
  margin-bottom: 1rem;
}
.booking-detail-block:last-of-type {
  margin-bottom: 0;
}
.booking-detail-heading {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--sg-text);
}
.booking-detail-text {
  margin: 0;
  font-size: 0.95rem;
  color: var(--sg-text-secondary);
  line-height: 1.5;
}
.booking-detail-requirements .booking-detail-text,
.booking-process-explanation .booking-detail-text {
  font-size: 0.9rem;
}

.activity-content {
  padding: 1.25rem 1.25rem 1.25rem;
  display: grid;
  gap: 0.35rem;
}

.activity-meta {
  font-size: 0.85rem;
  color: var(--sg-text-secondary);
}

.activity-title {
  font-weight: 600;
  color: var(--sg-text);
}

.activity-description {
  font-size: 0.95rem;
  color: var(--sg-text-secondary);
  line-height: 1.5;
}

.activity-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.75rem;
}

.activity-price {
  font-weight: 700;
  color: var(--sg-primary);
  font-size: 1.05rem;
}

.activity-card a {
  text-decoration: none;
  color: inherit;
}

.activity-card:hover {
  box-shadow: var(--sg-shadow-float);
  transform: translateY(-2px);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0.65rem;
  border-radius: var(--sg-radius-full);
  font-size: 0.8rem;
  font-weight: 600;
}

.badge-category {
  background: rgba(158, 183, 255, 0.25);
  color: #4338ca;
}

.badge-location {
  background: var(--sg-primary-soft);
  color: var(--sg-primary);
}

.badge-price-ok {
  background: var(--sg-success-soft);
  color: var(--sg-success);
}

.badge-price-too-high {
  background: var(--sg-error-soft);
  color: var(--sg-error);
}

.activity-layout {
  display: grid;
  gap: 1rem;
}

.activity-header {
  display: grid;
  gap: 0.25rem;
}

.activity-header-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}

.activity-price-block {
  background: var(--sg-primary-soft);
  border-radius: var(--sg-radius-sm);
  padding: 1rem 1.25rem;
  display: grid;
  gap: 0.35rem;
  font-size: 0.95rem;
}

.activity-price-row {
  display: flex;
  justify-content: space-between;
}

.status-message {
  padding: 0.85rem 1rem;
  border-radius: var(--sg-radius-sm);
  font-size: 0.95rem;
  margin-top: 0.75rem;
  font-weight: 500;
}

.status-success {
  background: var(--sg-success-soft);
  color: #065f46;
}

.status-error {
  background: var(--sg-error-soft);
  color: #b91c1c;
}

.booking-success-banner {
  margin-bottom: 1.5rem;
  padding: 1.5rem 1.75rem;
  background: var(--sg-success-soft);
  border: none;
  border-radius: var(--sg-radius);
  color: #065f46;
  box-shadow: var(--sg-shadow-soft);
}
.booking-success-banner.hidden {
  display: none;
}
.booking-success-banner .booking-success-title {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
  font-weight: 700;
}
.booking-success-banner .booking-success-text {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
}

.admin-section h1 {
  margin-bottom: 0.25rem;
}

.admin-block {
  margin-top: 1.25rem;
}

.admin-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 0.75rem;
}

.simple-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
  font-size: 0.9rem;
}

.simple-list li {
  padding: 0.25rem 0;
  border-bottom: 1px solid #e5e7eb;
}

.status-box {
  background-color: #0b1120;
  color: #e5e7eb;
  padding: 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.8rem;
  overflow-x: auto;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 40;
}

.modal-card {
  background-color: #ffffff;
  border-radius: 0.75rem;
  padding: 1.25rem 1.5rem;
  max-width: 360px;
  width: calc(100% - 2.5rem);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.35);
}

.modal-card p {
  margin-bottom: 0.9rem;
  text-align: center;
  font-weight: 600;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .card-centered {
    padding: 2rem;
  }

  .activities-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 840px) {
  .activities-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .admin-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Discover pagina – flow (Modern Soft) */
.page-discover {
  font-family: var(--sg-font);
  background: var(--sg-canvas);
  min-height: 100vh;
}

.discover-header .header-content {
  padding: 1rem 0;
}

.page-discover .nav-link-active {
  font-weight: 600;
  background: var(--sg-primary-soft);
  color: var(--sg-primary);
}

.discover-flow {
  flex: 1;
  padding: 2.5rem 0 3.5rem;
}

.discover-container {
  max-width: 720px;
  margin: 0 auto;
}

.discover-intro {
  text-align: center;
  margin-bottom: 3rem;
}

.discover-intro-balance {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--sg-text-secondary);
  margin: 0 0 0.5rem;
}

.discover-intro-title {
  font-size: clamp(1.65rem, 4vw, 2.1rem);
  font-weight: 700;
  color: var(--sg-text);
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.discover-intro-text {
  font-size: 1.05rem;
  color: var(--sg-text-secondary);
  margin: 0;
  line-height: 1.6;
}

.discover-steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.discover-step {
  background: var(--sg-surface);
  border-radius: var(--sg-radius-lg);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--sg-shadow-card);
  border: none;
  transition: box-shadow 0.2s ease;
}

.discover-step:hover {
  box-shadow: var(--sg-shadow-float);
}

.discover-step-header {
  margin-bottom: 1.25rem;
}

.discover-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--sg-primary);
  color: var(--sg-surface);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  box-shadow: var(--sg-shadow-soft);
}

.discover-step-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--sg-text);
  margin: 0 0 0.25rem;
}

.discover-step-desc {
  font-size: 0.95rem;
  color: var(--sg-text-secondary);
  margin: 0;
  line-height: 1.5;
}

.discover-step-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.discover-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.discover-pill {
  padding: 0.6rem 1.15rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--sg-text);
  background: var(--sg-primary-soft);
  border: none;
  border-radius: var(--sg-radius-full);
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--sg-font);
}

.discover-pill:hover {
  background: rgba(140, 82, 255, 0.2);
  color: var(--sg-primary);
}

.discover-pill-active {
  background: var(--sg-primary);
  color: var(--sg-surface);
  font-weight: 600;
}

.discover-pill-active:hover {
  background: var(--sg-primary-hover);
  color: var(--sg-surface);
}

.discover-select-label {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--sg-text-secondary);
  margin: 0;
  width: 100%;
}

.discover-location-select {
  max-width: 260px;
  padding: 0.6rem 1rem;
  border-radius: var(--sg-radius-sm);
  border: none;
  font-size: 0.95rem;
  font-family: var(--sg-font);
  box-shadow: 0 2px 12px rgba(140, 82, 255, 0.06);
}

.discover-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.discover-tag {
  padding: 0.6rem 1.1rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--sg-text);
  background: var(--sg-surface);
  border: none;
  border-radius: var(--sg-radius-full);
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--sg-font);
  box-shadow: 0 2px 12px rgba(140, 82, 255, 0.06);
}

.discover-tag:hover {
  background: var(--sg-primary-soft);
  color: var(--sg-primary);
  box-shadow: var(--sg-shadow-soft);
}

.discover-tag-active {
  background: var(--sg-primary-soft);
  color: var(--sg-primary);
  font-weight: 600;
}

.discover-tag-active:hover {
  background: rgba(140, 82, 255, 0.2);
  color: var(--sg-primary-hover);
}

.discover-results-section {
  margin-top: 0.5rem;
  padding: 2rem 1.5rem;
  background: var(--sg-surface);
  border-radius: var(--sg-radius-lg);
  box-shadow: var(--sg-shadow-card);
  border: none;
}

.discover-results-header {
  margin-bottom: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem;
}

.discover-results-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--sg-text);
  margin: 0;
}

.discover-results-count {
  font-size: 0.95rem;
  color: var(--sg-text-secondary);
  margin: 0;
}

.discover-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.discover-loading,
.discover-empty {
  text-align: center;
  color: var(--sg-text-secondary);
  padding: 3rem 1rem;
  font-size: 1rem;
}

.discover-empty {
  background: var(--sg-primary-soft);
  border-radius: var(--sg-radius);
  border: none;
}

.discover-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  overflow: hidden;
  padding: 0;
  border-radius: var(--sg-radius-lg);
  border: none;
  background: var(--sg-surface);
  box-shadow: var(--sg-shadow-card);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.discover-card:hover {
  box-shadow: var(--sg-shadow-float);
  transform: translateY(-2px);
}

@media (min-width: 640px) {
  .discover-card {
    grid-template-columns: 260px 1fr;
  }
}

.discover-card-left {
  background: linear-gradient(160deg, var(--sg-primary-soft) 0%, rgba(158, 183, 255, 0.12) 100%);
}

.discover-card-image {
  height: 160px;
  overflow: hidden;
  background: linear-gradient(160deg, var(--sg-primary-soft) 0%, rgba(158, 183, 255, 0.15) 100%);
}

.discover-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.discover-card-info {
  padding: 1.25rem 1.5rem;
}

.discover-card-provider {
  margin: 0 0 0.2rem;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--sg-text);
}

.discover-card-meta {
  margin: 0 0 0.15rem;
  font-size: 0.95rem;
  color: var(--sg-primary);
  font-weight: 600;
}

.discover-card-address {
  margin: 0;
  font-size: 0.9rem;
  color: var(--sg-text-secondary);
}

.discover-card-right {
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

.discover-product-block {
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(140, 82, 255, 0.1);
}

.discover-product-block:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.discover-product-duration {
  font-size: 0.85rem;
  color: var(--sg-text-secondary);
  display: block;
  margin-bottom: 0.2rem;
}

.discover-product-name {
  margin: 0 0 0.2rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--sg-text);
}

.discover-product-subtitle {
  margin: 0 0 0.35rem;
  font-size: 0.9rem;
  color: var(--sg-text-secondary);
}

.discover-product-bookable {
  font-size: 0.85rem;
  color: var(--sg-text-muted);
  display: block;
  margin-bottom: 0.5rem;
}

.discover-price-btn {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  font-size: 0.95rem;
  text-decoration: none;
  min-width: 5rem;
  text-align: center;
  border-radius: var(--sg-radius-full);
  font-weight: 600;
  background: var(--sg-primary);
  color: var(--sg-surface);
  box-shadow: var(--sg-shadow-soft);
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease;
}

.discover-price-btn:hover {
  background: var(--sg-primary-hover);
  box-shadow: 0 8px 24px rgba(140, 82, 255, 0.25);
  transform: translateY(-1px);
}

.discover-footer {
  border-top: none;
  background: var(--sg-surface);
  box-shadow: 0 -4px 24px rgba(140, 82, 255, 0.05);
}

/* Boeking modal (activity page) – Modern Soft */
.booking-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(140, 82, 255, 0.12);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1.5rem;
}

.booking-modal-overlay.hidden {
  display: none;
}

.booking-modal {
  background: var(--sg-surface);
  border-radius: var(--sg-radius-xl);
  box-shadow: var(--sg-shadow-float);
  max-width: 440px;
  width: 100%;
  padding: 2rem;
  border: none;
}

.booking-modal-title {
  margin: 0 0 1rem;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--sg-text);
}

.booking-modal-explanation {
  margin: 1.25rem 0;
  padding: 1rem 1.25rem;
  background: var(--sg-primary-soft);
  border-radius: var(--sg-radius-sm);
  font-size: 0.95rem;
  color: var(--sg-text);
  line-height: 1.55;
}

.booking-modal-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

/* Portal meldingen (bevestiging / melding) – Modern Soft */
.portal-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(140, 82, 255, 0.12);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1.5rem;
}

.portal-modal-overlay.hidden {
  display: none;
}

.portal-modal {
  background: var(--sg-surface);
  border-radius: var(--sg-radius-xl);
  box-shadow: var(--sg-shadow-float);
  max-width: 440px;
  width: 100%;
  padding: 2rem;
  border: none;
}

.portal-modal-title {
  margin: 0 0 0.75rem;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--sg-text);
}

.portal-modal-message {
  margin: 0;
  line-height: 1.6;
  color: var(--sg-text-secondary);
}

.portal-modal-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.portal-modal-actions .btn.hidden {
  display: none;
}

.portal-qr-image-wrap {
  padding: 1rem 0;
}

