/* Sandras Schatzkiste - gemeinsames Design-System, aus dem Logo abgeleitet */

:root {
  --ink: #203c66;
  --ink-soft: #4a5a7d;
  --coral: #e8735e;
  --coral-dark: #cf5943;
  --coral-light: #fbe2dd;
  --rose: #e4a2a1;
  --rose-light: #f8e6e4;
  --mint: #a9c9bd;
  --mint-light: #e3f0ea;
  --sun: #f4ac3c;
  --sun-light: #fdedd2;
  --lilac: #81589a;
  --lilac-light: #ede5f2;
  --cream: #fdf7f0;
  --surface: #ffffff;
  --border: #f0e2da;
  --shadow: 0 8px 24px -12px rgba(32, 60, 102, 0.18);
  --shadow-sm: 0 2px 8px -2px rgba(32, 60, 102, 0.12);
  --radius: 1.25rem;
  --radius-sm: 0.75rem;
  --font-display: "Fredoka", ui-rounded, sans-serif;
  --font-body: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
}

/* Formularfelder duerfen in einer flex-Reihe (PLZ/Ort, Preis CHF/EUR, ...)
   unter ihre Inhaltsbreite schrumpfen - sonst reisst die Reihe auf schmalen
   Handybildschirmen auf und erzwingt horizontales Scrollen. */
input, select, textarea {
  min-width: 0;
  max-width: 100%;
}

h1, h2, h3, .font-display {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
}

[x-cloak] { display: none !important; }

/* --- Site header --- */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 40;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}
.brand img { height: 42px; width: auto; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-title { font-family: var(--font-display); font-weight: 600; color: var(--ink); font-size: 1.05rem; }
.brand-sub { font-size: 0.7rem; color: var(--ink-soft); }

.nav-link {
  font-weight: 700;
  color: var(--ink-soft);
  text-decoration: none;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  transition: all .15s ease;
  font-size: 0.92rem;
}
.nav-link:hover, .nav-link.active { background: var(--coral-light); color: var(--coral-dark); }

.currency-toggle {
  display: inline-flex;
  background: var(--mint-light);
  border-radius: 999px;
  padding: 0.25rem;
  font-weight: 800;
  font-size: 0.82rem;
}
.currency-toggle button {
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  color: var(--ink);
  transition: all .15s ease;
}
.currency-toggle button.active { background: var(--ink); color: #fff; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 800;
  border-radius: 999px;
  padding: 0.7rem 1.4rem;
  transition: transform .12s ease, box-shadow .12s ease, background .15s ease;
  text-decoration: none;
  font-size: 0.95rem;
}
.btn:active { transform: scale(0.97); }
.btn-coral { background: var(--coral); color: #fff; }
.btn-coral:hover { background: var(--coral-dark); }
.btn-whatsapp { background: #25D366; color: #fff; }
.btn-whatsapp:hover { background: #1fb959; }
.btn-outline { background: var(--surface); color: var(--ink); border: 2px solid var(--border); }
.btn-outline:hover { border-color: var(--coral); color: var(--coral-dark); }
.btn-soft { background: var(--coral-light); color: var(--coral-dark); }
.btn-soft:hover { background: var(--rose-light); }
.btn-disabled { background: #eee; color: #aaa; pointer-events: none; }
.btn-sm { padding: 0.45rem 0.9rem; font-size: 0.82rem; }

/* --- Cards --- */
.card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

.badge {
  display: inline-flex;
  align-items: center;
  font-weight: 800;
  font-size: 0.72rem;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
}
.badge-mint { background: var(--mint-light); color: #2f5347; }
.badge-sun { background: var(--sun-light); color: #8a5c15; }
.badge-lilac { background: var(--lilac-light); color: var(--lilac); }
.badge-coral { background: var(--coral-light); color: var(--coral-dark); }
.badge-dark { background: rgba(32,60,102,0.85); color: #fff; }

/* --- Category tiles --- */
.cat-tile {
  border-radius: var(--radius);
  padding: 1.25rem;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  transition: transform .18s ease;
  border: 1px solid var(--border);
}
.cat-tile:hover { transform: translateY(-3px); }
.cat-tile .emoji { font-size: 2rem; }
.cat-tile .name { font-family: var(--font-display); font-weight: 600; color: var(--ink); }

/* --- Chips / filters --- */
.chip {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
  background: var(--surface);
  border: 2px solid var(--border);
  color: var(--ink-soft);
  transition: all .15s ease;
  white-space: nowrap;
}
.chip.active { background: var(--ink); border-color: var(--ink); color: #fff; }

/* --- Section helpers --- */
.section-title { font-size: 1.5rem; }
.eyebrow {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--coral-dark);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* --- Footer --- */
.site-footer { background: var(--surface); border-top: 1px solid var(--border); }

/* --- Scrollbar-less horizontal chip row --- */
.scroll-x { overflow-x: auto; scrollbar-width: none; }
.scroll-x::-webkit-scrollbar { display: none; }

/* --- Print reset shared with shipping.html --- */
@media print {
  .no-print { display: none !important; }
}
