/**
 * Responsive Anpassungen & Mobile Optimierung für Wunschliste
 */

@media (max-width: 768px) {
  .app-header {
    padding: 1.25rem 1rem 2rem 1rem;
    margin-bottom: 1.5rem;
  }

  .main-container {
    padding: 0 1rem 3rem 1rem;
  }

  .header-top-bar {
    margin-bottom: 1.5rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .brand-badge {
    justify-content: center;
  }

  .header-actions {
    justify-content: center;
    gap: 0.5rem;
  }

  .header-hero {
    gap: 0.5rem;
  }

  .hero-icon-large {
    width: 56px;
    height: 56px;
    font-size: 1.85rem;
  }

  .header-title {
    font-size: 1.65rem;
  }

  .header-subtitle {
    font-size: 0.925rem;
  }

  .stats-bar {
    gap: 0.5rem;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-divider {
    display: none;
  }

  .stat-card {
    min-width: 0;
    padding: 0.65rem 0.5rem;
  }

  .stat-value {
    font-size: 1.25rem;
  }

  .stat-label {
    font-size: 0.65rem;
  }

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

  /* Filter Bar Mobile */
  .filter-bar-wrapper {
    padding: 1rem;
    gap: 0.85rem;
    margin-bottom: 1.5rem;
  }

  .filter-main-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .search-input-box {
    min-width: 100%;
  }

  .status-pills-group {
    overflow-x: auto;
    padding-bottom: 0.35rem;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
    scrollbar-width: none;
  }

  .status-pills-group::-webkit-scrollbar {
    display: none;
  }

  .status-pill {
    white-space: nowrap;
    padding: 0.45rem 0.75rem;
    font-size: 0.8rem;
    flex-shrink: 0;
  }

  .filter-secondary-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .selects-group {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .select-wrapper {
    width: 100%;
    justify-content: space-between;
  }

  .custom-select {
    flex: 1;
    width: 100%;
  }

  /* Cards Mobile */
  .gift-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .card-media-wrapper {
    height: 190px;
  }

  /* Modals Mobile */
  .modal-overlay {
    padding: 0.5rem;
    align-items: flex-end;
  }

  .modal-card {
    max-height: 88vh;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  }

  .modal-header {
    padding: 1rem 1.25rem;
  }

  .modal-body {
    padding: 1.25rem;
    gap: 1rem;
  }

  .form-row-grid {
    grid-template-columns: 1fr;
  }

  .radio-options-grid {
    grid-template-columns: 1fr;
  }

  .import-header-card {
    flex-direction: column;
    align-items: stretch;
  }

  .toast-container {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    max-width: none;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .gift-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .stats-bar {
    gap: 0.65rem;
  }

  .stat-card {
    min-width: 110px;
    padding: 0.65rem 1rem;
  }
}

@media (max-width: 480px) {
  .card-actions {
    grid-template-columns: 1fr;
  }

  .header-actions {
    flex-wrap: wrap;
  }

  .event-select-dropdown {
    width: 100%;
  }

  .event-switcher-wrapper {
    width: 100%;
  }
}
