/* Mobiel thema: standaard licht; html.ikash-mobiel-theme-dark = donker (mobiel-app.css basis). */

@media (max-width: 900px) {
  /* Onderkant/safe area = footer-kleur (niet wit bij licht thema) */
  html:not(.map-root) {
    background-color: #23223B;
  }

  html:not(.ikash-mobiel-theme-dark) .ikash-mobiel-app {
    background:
      radial-gradient(ellipse 120% 70% at 50% -8%, rgba(74, 45, 184, 0.07) 0%, transparent 55%),
      radial-gradient(ellipse 70% 50% at 100% 20%, rgba(188, 105, 0, 0.06) 0%, transparent 50%),
      linear-gradient(180deg, #f8fafc 0%, #eef2f7 55%, #e8eef5 100%);
    color: #0f172a;
  }

  html:not(.ikash-mobiel-theme-dark) .mobiel-edge-fade-line {
    background: linear-gradient(
      90deg,
      transparent 0%,
      rgba(74, 45, 184, 0.12) 20%,
      rgba(74, 45, 184, 0.22) 50%,
      rgba(74, 45, 184, 0.12) 80%,
      transparent 100%
    );
    box-shadow: 0 0 10px rgba(74, 45, 184, 0.1);
  }

  html:not(.ikash-mobiel-theme-dark) .mobiel-chips-wrap {
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  }

  html:not(.ikash-mobiel-theme-dark) .mobiel-chip {
    border: 1px solid rgba(15, 23, 42, 0.1);
    background: #fff;
    color: #334155;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  }

  html:not(.ikash-mobiel-theme-dark) .mobiel-chip.mobiel-chip-active {
    background: linear-gradient(180deg, #2563eb 0%, #1d4ed8 100%);
    border-color: rgba(37, 99, 235, 0.45);
    color: #fff;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28);
  }

  html:not(.ikash-mobiel-theme-dark) .sort-bar--mobiel .sort-results-summary,
  html:not(.ikash-mobiel-theme-dark) .sort-bar--mobiel .sort-label {
    color: #334155;
  }

  html:not(.ikash-mobiel-theme-dark) .sort-bar--mobiel .sort-select {
    background: #fff;
    border-color: rgba(15, 23, 42, 0.12);
    color: #0f172a;
  }

  html:not(.ikash-mobiel-theme-dark) .mobiel-deal-row {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 2px 14px rgba(15, 23, 42, 0.07);
  }

  html:not(.ikash-mobiel-theme-dark) .mobiel-deal-row-img {
    background: #e2e8f0;
  }

  html:not(.ikash-mobiel-theme-dark) .mobiel-deal-row-title {
    color: #0f172a;
  }

  html:not(.ikash-mobiel-theme-dark) .mobiel-deal-row-merchant {
    color: #475569;
  }

  html:not(.ikash-mobiel-theme-dark) .mobiel-deal-row-price {
    color: #0f172a;
  }

  html:not(.ikash-mobiel-theme-dark) .mobiel-deal-row-meta {
    color: #64748b;
  }

  html:not(.ikash-mobiel-theme-dark) .ikash-site-footer--mobiel-only.ikash-site-footer {
    background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
    color: #475569;
    border-top: 1px solid #e2e8f0;
  }

  html:not(.ikash-mobiel-theme-dark) .ikash-site-footer--mobiel-only .ikash-footer-tagline,
  html:not(.ikash-mobiel-theme-dark) .ikash-site-footer--mobiel-only .footer-col a,
  html:not(.ikash-mobiel-theme-dark) .ikash-site-footer--mobiel-only .footer-contact-link-btn,
  html:not(.ikash-mobiel-theme-dark) .ikash-site-footer--mobiel-only .footer-small {
    color: #64748b;
  }

  html:not(.ikash-mobiel-theme-dark) .ikash-site-footer--mobiel-only .footer-col h4 {
    color: #0f172a;
  }

  html:not(.ikash-mobiel-theme-dark) .ikash-site-footer--mobiel-only .footer-col a:hover,
  html:not(.ikash-mobiel-theme-dark) .ikash-site-footer--mobiel-only .footer-contact-link-btn:hover {
    color: #0f172a;
  }

  html:not(.ikash-mobiel-theme-dark) .ikash-site-footer--mobiel-only .footer-chip {
    border-color: rgba(188, 105, 0, 0.28);
    background: rgba(188, 105, 0, 0.1);
    color: #9a3412;
  }

  /* Thema-knop in header */
  .mobiel-theme-btn {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    padding: 0;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.92);
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease, transform 0.12s ease;
  }

  .mobiel-theme-btn:hover {
    background: rgba(255, 255, 255, 0.16);
  }

  .mobiel-theme-btn:active {
    transform: scale(0.96);
  }

  .mobiel-theme-btn .mobiel-theme-icon {
    display: none;
    width: 18px;
    height: 18px;
    font-size: 16px;
    line-height: 1;
  }

  html:not(.ikash-mobiel-theme-dark) .mobiel-theme-btn .mobiel-theme-icon--moon {
    display: block;
  }

  html.ikash-mobiel-theme-dark .mobiel-theme-btn .mobiel-theme-icon--sun {
    display: block;
  }

  html.ikash-mobiel-theme-dark .sort-bar--mobiel .sort-results-summary,
  html.ikash-mobiel-theme-dark .sort-bar--mobiel .sort-label,
  html.ikash-mobiel-theme-dark .sort-bar--mobiel .sort-results-icon {
    color: rgba(241, 245, 249, 0.88);
  }

  html.ikash-mobiel-theme-dark .sort-bar--mobiel .sort-search-hint {
    color: rgba(226, 232, 240, 0.72);
  }

  html.ikash-mobiel-theme-dark .sort-bar--mobiel .sort-select {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.16);
    color: #f1f5f9;
  }
}
