/* Gemeinsames Design für Shop (index.html) und Konto (konto.html).
   Alle Farben stehen hier als Variablen – so lässt sich der Look an EINER Stelle ändern. */

:root {
  /* Schrift für Überschriften und Logo. Cochin ist auf Mac/iPhone installiert;
     auf Windows/Android springen die Ersatzschriften dahinter ein. */
  --serif: "Cochin", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  /* Weiß & Rosa – passend zu Mali 🐰 */
  --bg: #fff8fa;          /* Weiß mit einem Hauch Rosa */
  --surface: #ffffff;     /* Kacheln, Kästen */
  --text: #3a2a30;        /* warmes Pflaumenbraun statt Schwarz (wie Malis Umriss) */
  --muted: #7a606a;
  --border: #f5dfe6;
  --accent: #c93a69;      /* Himbeer-Rosa für Buttons und Akzente */
  --accent-text: #ffffff;
  --chip-bg: #fde9ef;
  --pinterest: #e60023;
  --radius: 12px;
}

* {
  box-sizing: border-box;
}

/* "hidden" muss immer gewinnen – sonst überschreibt z.B. .button { display: inline-block } es */
[hidden] {
  display: none !important;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.45;
}

a {
  color: inherit;
}

/* --- Kopfzeile ------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;              /* Logo und Navigation berühren sich nie */
  padding: 14px 16px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

/* Überschriften und Logo in der Serifenschrift (siehe --serif oben) */
h1,
h2,
.logo,
.detail-name {
  font-family: var(--serif);
}

/* --- Logo: Mali als Pinnadel + "malipin" (erzeugt von scripts/make_logo.py) --- */
.logo {
  display: inline-flex;
  align-items: flex-end;
  gap: 7px;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
  text-decoration: none;
  color: var(--text);
}

.logo-pin {
  width: 30px;
  height: 34px;
  flex: none;
  overflow: visible;
  margin-bottom: -4px;   /* Nadelspitze "steckt" etwas unter der Grundlinie */
}

.logo-word {
  display: inline-flex;
  white-space: nowrap;
}

.logo {
  flex: none;            /* Logo wird nie zusammengedrückt */
}

.header-nav .button {
  white-space: nowrap;
}

/* Kleine Handys: Logo etwas kleiner, damit Navigation und Button Platz haben */
@media (max-width: 380px) {
  .logo {
    font-size: 1.25rem;
    gap: 5px;
  }

  .logo-pin {
    width: 24px;
    height: 27px;
  }
}

.logo-pinword {
  color: var(--accent);
  font-style: italic;
}

/* Punktloses ı mit Pixel-Herz als i-Punkt */
.logo-i {
  position: relative;
  display: inline-block;
}

.logo-heart {
  position: absolute;
  left: 50%;
  top: -0.02em;
  width: 0.3em;
  height: 0.24em;
  transform: translateX(-50%);
  fill: var(--accent);
}

/* Mali blinzelt ab und zu ... */
.logo-eyes {
  transform-box: fill-box;
  transform-origin: center;
  animation: logo-blink 5s infinite;
}

@keyframes logo-blink {
  0%, 94%, 100% { transform: scaleY(1); }
  96% { transform: scaleY(0.15); }
}

/* ... und wackelt mit den Ohren, wenn man drauf zeigt */
.logo-ears {
  transform-box: fill-box;
  transform-origin: 50% 100%;
}

.logo:hover .logo-ears,
.logo:focus-visible .logo-ears {
  animation: logo-ears 0.5s ease-in-out 2;
}

.logo:hover .logo-pin,
.logo:focus-visible .logo-pin {
  animation: logo-bounce 0.5s ease-in-out;
}

@keyframes logo-ears {
  0%, 100% { transform: none; }
  30% { transform: rotate(-6deg) translateY(-1px); }
  70% { transform: rotate(6deg) translateY(-1px); }
}

@keyframes logo-bounce {
  0%, 100% { transform: none; }
  40% { transform: translateY(-4px); }
}

@media (prefers-reduced-motion: reduce) {
  .logo-eyes,
  .logo:hover .logo-ears,
  .logo:hover .logo-pin {
    animation: none;
  }
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header-link {
  font-size: 0.95rem;
  text-decoration: none;
}

.header-link:hover {
  text-decoration: underline;
}

/* --- Allgemeine Bausteine ----------------------------------------------------- */

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 16px 40px;
}

.narrow {
  max-width: 640px;
}

.button {
  display: inline-block;
  padding: 10px 18px;
  border: none;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-text);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.button.secondary {
  background: var(--chip-bg);
  color: var(--text);
}

.button.pinterest {
  background: var(--pinterest);
}

/* "Mit Pinterest verbinden" – überall gleich: Link-Icon + Text */
.button.connect {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.button.connect .icon {
  width: 18px;
  height: 18px;
  transition: transform 0.2s;
}

.button.connect:hover .icon {
  transform: rotate(-12deg);   /* kleine Bewegung beim Drüberfahren */
}

.muted {
  color: var(--muted);
  font-size: 0.9rem;
}

/* --- Stilprofil-Banner -------------------------------------------------------------- */

.profile-banner {
  padding: 18px;
  margin-bottom: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.profile-banner h1 {
  margin: 0 0 8px;
  font-size: 1.4rem;
}

.profile-banner p {
  margin: 0;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.tag {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--chip-bg);
  font-size: 0.85rem;
}

/* Kategorien ("Du pinnst oft") – gleiche Form, nur umrandet */
.tag.outline {
  background: none;
  border: 1px solid var(--border);
}

.banner-sub {
  margin-top: 12px !important;
}

.banner-button {
  margin-top: 14px;
}

/* --- Icons (SVG im HTML, Farbe = Textfarbe) ------------------------------------------- */

.icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* --- Umschalter Mode | Wohnen ------------------------------------------------------------ */

.department-switch {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  margin-bottom: 18px;
  background: var(--chip-bg);
  border-radius: 999px;
}

.dept {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border: none;
  border-radius: 999px;
  background: none;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
}

.dept.active {
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 1px 4px rgba(58, 42, 48, 0.12);
}

/* --- Tabs ----------------------------------------------------------------------------- */

.tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.tab {
  padding: 10px 14px;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;   /* Unterstrich liegt genau auf der grauen Linie */
  background: none;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}

.tab.active {
  border-bottom-color: var(--accent);
  color: var(--text);
}

/* --- Filter --------------------------------------------------------------------------- */

.filters {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 14px 24px;
  margin-bottom: 10px;
}

.filter-label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chip {
  padding: 7px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font-size: 0.9rem;
  cursor: pointer;
}

.chip.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-text);
}

select {
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  font-size: 0.95rem;
}

/* --- Produktraster ---------------------------------------------------------------------- */

/* auto-fill + minmax: so viele Spalten wie passen, jede mind. 220px breit */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
}

.card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.card-image {
  aspect-ratio: 4 / 5;
  background: var(--chip-bg);
}

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

/* Ersatz, falls das Bild nicht lädt: Produktname auf farbiger Fläche */
.card-image.fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px 14px;
}

.card-shop {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.card-name {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.card-price {
  margin: 2px 0 0;
  font-size: 1.1rem;
  font-weight: 700;
}

.card-reason {
  flex: 1;              /* schiebt den Button immer an den unteren Rand */
  margin: 4px 0 10px;
  font-size: 0.85rem;
  color: var(--muted);
  /* Lange Pin-Beschreibungen nach 3 Zeilen mit "…" abschneiden */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}

.card-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Kennzeichnung "Werbung" – bewusst gut sichtbar */
.ad-label {
  padding: 2px 8px;
  border: 1px solid var(--muted);
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
}

/* Herkunft "Link aus deinem Pin" – bewusst anders als "Werbung" */
.source-label {
  font-size: 0.75rem;
  color: var(--muted);
}

.empty {
  padding: 40px 0;
  text-align: center;
}

/* Klickbare Teile einer Produktkachel (Bild + Name führen zur Detailseite) */
.card-link {
  color: inherit;
  text-decoration: none;
}

.card-link:hover .card-name {
  text-decoration: underline;
}

/* --- Detailseite (produkt.html) -------------------------------------------------------- */

.back-link {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--muted);
  text-decoration: none;
}

.back-link:hover {
  color: var(--text);
}

.detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 36px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
}

.detail-image {
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: 12px;
  background: var(--chip-bg);
}

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

.detail-image.fallback,
.pin-card-image.fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  text-align: center;
  color: var(--muted);
}

.detail-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.detail-name {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.detail-price {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 700;
}

.detail-reason {
  margin: 0;
  color: var(--muted);
}

.detail-info .card-actions {
  margin-top: 12px;
}

/* "Mehr wie das": Spalten wie bei Pinterest (CSS columns = Masonry ohne JavaScript) */
.more-like h2 {
  margin: 40px 0 16px;
}

.masonry {
  columns: 4 200px;   /* so viele Spalten wie passen, jede mind. 200px */
  column-gap: 14px;
}

.pin-card {
  display: block;
  margin-bottom: 14px;
  break-inside: avoid;  /* Kachel nie auf zwei Spalten aufteilen */
  color: inherit;
  text-decoration: none;
}

.pin-card-image {
  overflow: hidden;
  border-radius: 14px;
  background: var(--chip-bg);
  transition: filter 0.2s;
}

.pin-card:hover .pin-card-image {
  filter: brightness(0.92);
}

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

.pin-card-body {
  padding: 8px 4px 0;
}

.pin-card-body p {
  margin: 0;
}

.pin-card-name {
  font-weight: 600;
}

.pin-card-price {
  font-weight: 700;
}

.pin-card-shared {
  font-size: 0.8rem;
  color: var(--muted);
}

@media (max-width: 720px) {
  .detail {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 14px;
  }

  .masonry {
    columns: 2;
    column-gap: 10px;
  }
}

/* --- Footer -------------------------------------------------------------------------- */

.site-footer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 16px 40px;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--muted);
}

/* --- Konto-Seite: Board-Liste und Pin-Vorschau ---------------------------------------------- */

section + section {
  margin-top: 28px;
}

#board-list {
  list-style: none;
  padding: 0;
}

#board-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
  margin-bottom: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
}

#board-list img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 4px;
}

#board-list label {
  flex: 1;
  cursor: pointer;
}

#pin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 6px;
}

#pin-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 4px;
}

/* --- Handy ------------------------------------------------------------------------------ */

@media (max-width: 520px) {
  /* Auf dem Handy immer 2 Spalten, etwas kompakter */
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .card-body {
    padding: 10px;
  }

  .card-actions {
    flex-wrap: wrap;
    gap: 6px;
  }

  .card-actions .button {
    width: 100%;
    padding: 9px 10px;
    text-align: center;
  }

  .card-reason {
    font-size: 0.8rem;
  }
}

/* --- 👍 / 👎 Buttons (feedback.js) -------------------------------------------------------- */

.card,
.detail-image,
.pin-card-wrap {
  position: relative;
}

.pin-card-wrap {
  margin-bottom: 14px;
  break-inside: avoid;   /* Masonry: Kachel nicht auf zwei Spalten aufteilen */
}

.pin-card-wrap .pin-card {
  margin-bottom: 0;
}

.vote-buttons {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  display: flex;
  gap: 6px;
  opacity: 0;            /* am Computer erst beim Drüberfahren sichtbar ... */
  transition: opacity 0.2s;
}

.card:hover .vote-buttons,
.pin-card-wrap:hover .vote-buttons,
.detail-image .vote-buttons,
.vote-buttons:focus-within,
.vote-buttons:has(.active) {
  opacity: 1;
}

@media (hover: none) {
  .vote-buttons {
    opacity: 1;          /* ... auf dem Handy (kein Drüberfahren) immer sichtbar */
  }
}

.vote-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  box-shadow: 0 2px 8px rgba(58, 42, 48, 0.18);
  cursor: pointer;
}

.vote-button .icon {
  width: 17px;
  height: 17px;
}

.vote-button:hover {
  background: #fff;
}

.vote-button.active {
  background: var(--accent);
  color: var(--accent-text);
}

/* Platzhalter nach 👎 */
.dismissed {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 180px;
  margin-bottom: 14px;
  padding: 16px;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
}

.dismissed p {
  margin: 0;
}

.button.small {
  padding: 7px 14px;
  font-size: 0.85rem;
}

/* "Ähnlich wie etwas, das dir gefallen hat" */
.card-hint {
  margin: 2px 0 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
}

/* --- Merkliste -------------------------------------------------------------------------- */

/* Gemerkt = gefülltes Herz */
.vote-button.like.active .icon {
  fill: currentColor;
}

/* Link in der Kopfzeile mit kleinem Zähler-Bläschen */
.nav-saved {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.saved-count:not(:empty) {
  min-width: 20px;
  padding: 1px 6px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-text);
  font-size: 0.75rem;
  font-weight: 700;
  text-align: center;
}

.page-title {
  margin: 8px 0 18px;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
}

.merkliste-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.saved-summary {
  margin: 0;
  font-weight: 700;
}

.saved-empty {
  grid-column: 1 / -1;   /* über alle Spalten */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  color: var(--muted);
}

@media (max-width: 640px) {
  .nav-label {
    display: none;   /* auf dem Handy nur ♡ + Zahl */
  }
}

/* --- Vorstellungsseite malipin.com (scripts/build_site.py) --- */
.button.soon {
  cursor: default;
  background: #fbe3ea;
  color: #a52a57;        /* dunkleres Rosa: gut lesbar auf hellem Rosa */
  box-shadow: none;
}

.button.soon .icon {
  display: none;
}

/* Datenschutz & Impressum */
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 32px 16px 64px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.legal h1 {
  font-family: var(--serif);
  font-size: 2rem;
}

.legal h2,
.legal h3 {
  font-family: var(--serif);
  margin-top: 1.8em;
}

/* --- Foto-Suche (foto.html) --- */
.photo-page {
  max-width: 1100px;
}

.photo-lead {
  max-width: 640px;
  color: var(--muted);
  line-height: 1.6;
}

.photo-drop {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  max-width: 640px;
  margin-top: 18px;
  padding: 36px 20px;
  border: 2px dashed #f0b8ca;
  border-radius: 24px;
  background: #fff;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.photo-drop:hover,
.photo-drop.over,
.photo-drop:focus-within {
  border-color: var(--accent);
  background: #fff4f7;
}

.photo-drop-icon {
  font-size: 2.4rem;
}

.photo-drop-hint {
  color: var(--muted);
  font-size: 0.9rem;
}

.photo-privacy {
  color: var(--muted);
  font-size: 0.88rem;
}

.photo-top {
  display: flex;
  align-items: flex-end;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.photo-preview {
  width: 160px;
  max-height: 220px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(58, 42, 48, 0.15);
}

.photo-mali {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  flex: 1;
  min-width: 240px;
}

.photo-sprite {
  width: 72px;
  height: 72px;
  flex: none;
  image-rendering: pixelated;
}

.photo-bubble {
  position: relative;
  flex: 1;
  max-width: 420px;
  margin: 0 0 16px;
  padding: 12px 14px;
  border: 1px solid #f3dbe3;
  border-radius: 16px;
  background: #fff4f7;
  line-height: 1.45;
}

.photo-bubble::before {
  content: "";
  position: absolute;
  left: -8px;
  bottom: 14px;
  width: 14px;
  height: 14px;
  background: #fff4f7;
  border-left: 1px solid #f3dbe3;
  border-bottom: 1px solid #f3dbe3;
  transform: rotate(45deg);
}

.photo-found {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
}

.photo-found p {
  margin: 0 4px 0 0;
  font-weight: 600;
}

.photo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 16px 0 8px;
}

/* Hinweis im Shop: "Ein Teil gesehen? Foto hochladen" */
.photo-teaser {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  padding: 12px 16px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #f3dbe3;
  color: var(--text);
  text-decoration: none;
}

.photo-teaser:hover {
  border-color: var(--accent);
}

.photo-teaser strong {
  color: var(--accent);
}

/* Handys: Navigation enger, "Mein Pinterest" -> "Pinterest", nie umbrechen */
@media (max-width: 440px) {
  .header-nav {
    gap: 12px;
  }

  .header-link {
    white-space: nowrap;
  }

  .nav-prefix {
    display: none;
  }
}

/* Sehr kleine Handys (≤ 350 px): Schrift, Logo und Abstände noch etwas kleiner */
@media (max-width: 350px) {
  .header-nav {
    gap: 9px;
  }

  .header-link {
    font-size: 0.88rem;
  }

  .logo {
    font-size: 1.12rem;
    gap: 4px;
  }

  .logo-pin {
    width: 21px;
    height: 24px;
  }
}

/* Linien-Icons (statt Emojis) – gleicher Stil wie die Icons der Startseite */
.line-icon {
  width: 1.15em;
  height: 1.15em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.nav-fit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-fit .line-icon {
  width: 20px;
  height: 20px;
}

.photo-drop-icon {
  color: var(--accent);
}

.photo-drop-icon .line-icon {
  width: 44px;
  height: 44px;
  stroke-width: 1.5;
}

.photo-privacy {
  display: flex;
  align-items: center;
  gap: 6px;
}

.photo-teaser .line-icon {
  width: 24px;
  height: 24px;
  color: var(--accent);
}

/* Konto: "Alle meine Daten löschen" */
.privacy-section {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

/* --- Malipin Picks --- */
.card {
  position: relative;
}

.trusted-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 12px rgba(201, 58, 105, 0.3);
}

.card.is-trusted {
  border-color: #f0b8ca;
}

.trusted-chip.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.trusted-note {
  margin: 14px 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: #fff4f7;
  border: 1px solid #f3dbe3;
}

.trusted-note p {
  margin: 6px 0 0;
  color: var(--muted);
}

/* --- Admin-Seite (admin.html) --- */
.shop-list {
  display: grid;
  gap: 12px;
}

.shop-row {
  grid-template-columns: 1fr auto;
  align-items: start;
}

.shop-row h3,
.shop-row p {
  margin: 0 0 4px;
}

.admin-card {
  display: grid;
  gap: 12px;
  max-width: 820px;
  margin-bottom: 32px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface);
}

.admin-card h2 {
  margin: 0;
  font-family: var(--serif);
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px 16px;
}

.admin-grid label,
.admin-card > label {
  display: grid;
  gap: 4px;
  font-size: 0.9rem;
  font-weight: 600;
}

.admin-grid .wide {
  grid-column: 1 / -1;
}

.admin-grid .check,
.admin-checklist label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 400;
}

.admin input:not([type="checkbox"]),
.admin select,
.admin textarea {
  padding: 9px 11px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font: inherit;
  background: #fff;
}

.admin-checklist {
  display: grid;
  gap: 6px;
  padding: 12px 14px;
  border: 1px dashed #f0b8ca;
  border-radius: 14px;
}

.admin-checklist legend {
  font-weight: 700;
  padding: 0 6px;
}


.admin-actions {
  display: flex;
  gap: 10px;
}

.admin-message {
  min-height: 1.2em;
  margin: 0;
  color: var(--muted);
}

/* Hinweis im Shop, wenn eine Quelle ausfällt (z.B. eBay) */
.source-warning {
  margin: 0 0 16px;
  padding: 10px 14px;
  border-radius: 12px;
  background: #fff6e5;
  border: 1px solid #f3dca8;
  color: #6b4e16;
  font-size: 0.9rem;
}
