/* 
 * Pokeberk – Zentrales Stylesheet
 * Struktur:
 *  1) Design Tokens & Global Resets
 *  2) Layout & Container
 *  3) Header & Navigation
 *  4) Hero & Sections
 *  5) Karten / Product Cards & Filter
 *  6) Footer & Helper
 *  7) Cart Drawer (Warenkorb)
 *  8) Instagram / Whatnot
 *  9) Profil / Admin / Checkout
 *
 * Hinweis: Nur Struktur/Kommentare angepasst – keine technischen Änderungen.
 */

:root {
  --primary: #6B38B6;        /* Hauptlila wie im Logo */
  --primary-600: #552C91;    /* dunkleres Lila für Hover/Buttons */

  --accent: #E1D7F0;         /* zartes Lavendel für Akzente */
  --bg: #F7F5FB;             /* sehr heller, leicht violetter Hintergrund */
  --surface: #FFFFFF;        /* Karten- & Headerflächen */
  --surface-2: #F0EBF7;      /* leicht abgesetzte Sektionen */

  --text: #111827;           /* gut lesbarer, fast schwarzer Text */
  --muted: #6E5C97;          /* zurückhaltender violett-grauer Text */

  --success: #16a34a;        /* kannst du beibehalten */
  --warning: #f59e0b;
  --danger: #dc2626;


  /* UI Tokens */
  --radius-xl: 20px;
  --radius-l: 16px;
  --radius: 12px;
  --radius-s: 8px;

  --shadow-1: 0 4px 12px rgba(0,0,0,0.05);
  --shadow-2: 0 8px 24px rgba(0,0,0,0.08);
}

/* Global resets */
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Inter, sans-serif;
  color: var(--text);
  line-height: 1.6;

  background-color: var(--bg);

  background-image:
    radial-gradient(circle at top left, rgba(107, 56, 182, 0.12), transparent 60%),
    radial-gradient(circle at bottom right, rgba(225, 215, 240, 0.22), transparent 60%),
    url("img/bg-pokeball-pattern.svg");

  background-repeat: no-repeat, no-repeat, repeat;
  background-size: 70vw 70vw, 70vw 70vw, 260px 260px;
  background-attachment: fixed, fixed, fixed;
}


/* =========================
 * Layout & Container
 * ========================= */

/* Container */
.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

/* =========================
 * Header & Navigation
 * ========================= */

/* Header / Nav – 2025 Look */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: linear-gradient(
    to right,
    rgba(247, 245, 251, 0.88),
    rgba(240, 235, 247, 0.94)
  );
  border-bottom: 1px solid rgba(225, 215, 240, 0.9);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}
.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid rgba(225, 215, 240, 0.9);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.brand-name {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}
.brand-tagline {
  font-size: 0.7rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* Nav Links – pill style */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(225, 215, 240, 0.9);
  box-shadow: var(--shadow-1);
}

.nav-link {
  position: relative;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.95rem;
  text-decoration: none;
  color: var(--muted);
  transition: background 0.18s ease, color 0.18s ease, transform 0.1s ease;
}
.nav-link:hover {
  background: rgba(107, 56, 182, 0.08);
  color: var(--primary-600);
  transform: translateY(-1px);
}
.nav-link.active {
  background: var(--primary);
  color: #fff;
}

/* Aktionen rechts (Cart / Profil) */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: none;
  background: radial-gradient(circle at top, #fefefe, #6b38b6);
  color: #fff;
  box-shadow: 0 10px 25px rgba(38, 14, 77, 0.35);
  cursor: pointer;
  text-decoration: none;
  font-size: 1.1rem;
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.15s ease;
}
.icon-btn:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 12px 30px rgba(38, 14, 77, 0.45);
  filter: brightness(1.05);
}

.cart-count {
  position: absolute;
  bottom: -4px;
  right: -4px;
  min-width: 18px;
  padding: 1px 4px;
  border-radius: 999px;
  background: #fff;
  color: var(--primary-600);
  font-size: 0.65rem;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
}

/* Burger für Mobile */
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(225, 215, 240, 0.9);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-1);
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: var(--primary-600);
  transition: transform 0.18s ease, opacity 0.18s ease;
}

/* Mobile Layout */
@media (max-width: 820px) {
  .nav {
    gap: 10px;
  }

  .nav-links {
    position: absolute;
    top: 62px;
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: flex-start;
    padding: 10px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-2);
    display: none;
  }

  .nav-actions {
    display: none;
    position: relative;
    margin-top: 10px;
    justify-content: center;
    gap: 20px;

    background: rgba(255, 255, 255, 0.98);
    border-radius: 16px;
    padding: 12px;
    box-shadow: var(--shadow-2);
  }

  .nav-toggle {
    display: inline-flex;
  }

  /* wenn geöffnet */
  .header.nav-open .nav-links {
    display: flex;
  }
  .header.nav-open .nav-actions {
    display: flex;
  }

  /* Icons gleichmäßig gestalten */
  .nav-actions .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
  }

  .nav-actions .icon:hover {
    background: var(--primary);
    color: white;
  }

  /* Burger Animation */
  .header.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(4px) rotate(45deg);
  }
  .header.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }
  .header.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-4px) rotate(-45deg);
  }
}

/* Desktop – Cart/Profil nicht doppelt groß */
@media (min-width: 821px) {
  .nav-toggle {
    display: none;
  }
}


/* =========================
 * Hero / Startseite
 * ========================= */

/* Hero */
.hero {
  padding: clamp(40px, 6vw, 80px) 0;
}
.hero-card {
  background: var(--surface);
  border: 1px solid var(--accent);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-2);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px;
  padding: clamp(20px, 3vw, 28px);
}
.hero-grid img,

.hero-media iframe {
  border: none;
  border-radius: var(--radius-xl);
}


@media (max-width: 900px){
  .hero-grid { grid-template-columns: 1fr; }
}

.hero h1 {
  margin: 0 0 10px 0;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}
.hero p { color: var(--muted); margin: 0 0 18px; }

/* --- Modern CTA Button --- */
.cta {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  
  background: linear-gradient(135deg, var(--primary), var(--primary-600));
  border-radius: 14px;
  font-weight: 700;
  color: #fff;
  border: none;
  cursor: pointer;
  width: 100%;
  text-align: center;
  
  box-shadow: 0 4px 16px rgba(107, 56, 182, 0.35);
  transition: transform .15s ease, box-shadow .15s ease;
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(107, 56, 182, 0.45);
}

.secondary {
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--accent);
}

/* Section */
.section {
  padding: 40px 0;
}
.section-title {
  font-size: 1.4rem;
  margin: 0 0 12px;
}
.subtle { color: var(--muted); }

.shop-hero {
  text-align: center;
  padding: 30px 0 10px;
}

.shop-title {
  font-size: 1.8rem;
  font-weight: 900;
  margin: 0;
}

.shop-subtitle {
  color: var(--muted);
  margin: 6px 0 0;
  font-size: 1rem;
}


/* Grid – Standard-Layout für Startseite, Über-uns, etc. */
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

/* Spezielles Grid nur für den Shop (produktübersicht) */
#product-grid {
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 22px;
}


@media (max-width: 900px){
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px){
  .grid { grid-template-columns: 1fr; }
}

/* =========================
 * Produktkarten / Card-Design
 * ========================= */

/* === MODERN 2025 PRODUCT CARD === */
.card {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow:
    0 4px 18px rgba(0, 0, 0, 0.06),
    0 8px 32px rgba(107, 56, 182, 0.12);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}

.card:hover {
  transform: translateY(-6px) scale(1.015);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.12),
    0 8px 24px rgba(107, 56, 182, 0.18);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  background: radial-gradient(circle at top, #faf7ff, #ece6ff);
  padding: 18px;
  border-bottom: 1px solid rgba(107,56,182,0.1);
  transition: transform .22s ease, filter .22s ease;
}

.card:hover img {
  transform: scale(1.05);
  filter: brightness(1.08);
}

.card-body {
  padding: 18px 16px;
}

.card:hover {
  box-shadow:
    0 10px 30px rgba(107,56,182,0.18),
    0 4px 18px rgba(0,0,0,0.08);
}
.card-title {
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.card-link:visited {
  color: inherit;
}


.price {
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--primary-600);
}

/* Tags */
.badge {
  background: rgba(107,56,182,0.12);
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(107,56,182,0.25);
  font-weight: 600;
  font-size: 0.75rem;
  color: var(--primary-600);
  letter-spacing: 0.02em;
}



/* =========================
 * Filter-Leiste / Shop-Filter
 * ========================= */

/* === Modern Filter Bar (Glass UI 2025) === */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding: 18px 20px;

  border-radius: 22px;
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow: 0 6px 28px rgba(0,0,0,0.08);
  margin-bottom: 32px;
}


.filters input[type="search"],
.filters select {
  height: 48px;
  border-radius: 14px;
  border: 1px solid rgba(107,56,182, 0.25);
  padding: 0 14px;
  background: rgba(255,255,255,0.9);
  font-size: 0.95rem;
}


.filters button,
.chip {
  height: 42px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid var(--accent);
  background: var(--surface-2);
  color: var(--text);
  font-size: 0.95rem;
}

/* Suche breiter */
.filters input[type="search"] {
  flex: 1 1 280px;
  min-width: 220px;
}

/* Dropdowns */
.filters select {
  cursor: pointer;
}

/* Checkbox-Label */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  background: var(--surface-2);
  border: 1px solid var(--accent);
  padding: 0 12px;
}
.chip input { accent-color: var(--primary); }

/* Reset-Button */
.filters button {
  background: var(--primary);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background .2s ease;
}
.filters button:hover { background: var(--primary-600); }

/* Responsive Anpassung */
@media (max-width: 800px) {
  .filters { flex-direction: column; align-items: stretch; }
  .filter-group { width: 100%; justify-content: space-between; }
  .filters input[type="search"], .filters select, .filters button { width: 100%; }
}


/* =========================
 * Footer
 * ========================= */

/* Footer */
.footer {
  border-top: 1px solid var(--accent);
  margin-top: 40px;
  padding: 22px 0 50px;
  color: var(--muted);
  background: var(--surface-2);
}
.footer a {
  color: var(--primary);
  text-decoration: none;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
}
@media (max-width: 700px){
  .footer-grid { grid-template-columns: 1fr; }
}

/* Helpers */
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items:center; }
.muted { color: var(--muted); }
.muted.red {
  color: #e53935;   
  font-weight: 600;   
}
.hide { display:none !important; }

/* Trust badges & Cart button */
.trust { padding: 10px 0 24px; }
.trust-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }
.trust-grid > div {
  background: var(--surface);
  border: 1px solid var(--accent);
  padding: 10px 12px;
  border-radius: 12px;
  text-align:center;
  box-shadow: var(--shadow-1);
}
@media (max-width: 900px){ .trust-grid { grid-template-columns:repeat(2,1fr); } }

.qty-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 0;
}

.qty-input {
  width: 50px;
  text-align: center;
  padding: 6px;
  border-radius: 8px;
  border: 1px solid var(--accent);
  background: var(--surface-2);
}

.qty-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: none;
  background: var(--surface-3);
  cursor: pointer;
  font-size: 20px;
  font-weight: bold;
}


/* =========================
 * Cart Drawer / Warenkorb
 * ========================= */

/* === Cart Drawer / Warenkorb rechts === */

.cart-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease-out;
  z-index: 70;
}

.cart-backdrop.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: min(420px, 100vw);
  background: var(--surface, #0f172a);
  border-left: 1px solid var(--accent, rgba(148,163,184,0.4));
  box-shadow: -16px 0 40px rgba(15,23,42,0.6);
  transform: translateX(100%);
  transition: transform .2s ease-out;
  z-index: 80;
  display: flex;
  flex-direction: column;
}

.cart-drawer.is-open {
  transform: translateX(0);
}

.cart-drawer-header {
  padding: 16px 18px;
  border-bottom: 1px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-drawer-header h2 {
  margin: 0;
  font-size: 1.1rem;
}

.cart-close-btn {
  border: none;
  background: transparent;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  color: var(--muted);
}

.cart-drawer-body {
  padding: 12px 18px;
  flex: 1;
  overflow-y: auto;
}

.cart-empty {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.cart-empty.hide {
  display: none;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cart-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(148,163,184,0.25);
}

.cart-item-main {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.cart-item-image {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-s, 8px);
  object-fit: cover;
  border: 1px solid var(--accent);
}

.cart-item-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.cart-item-name {
  font-size: 0.95rem;
  font-weight: 500;
}

.cart-item-meta {
  font-size: 0.8rem;
  color: var(--muted);
}

.cart-item-right {
  text-align: right;
}

.cart-item-price {
  font-size: 0.95rem;
  font-weight: 600;
}

.cart-item-remove {
  margin-top: 4px;
  font-size: 0.8rem;
  border: none;
  background: transparent;
  color: var(--primary);
  cursor: pointer;
}

.cart-drawer-footer {
  border-top: 1px solid var(--accent);
  padding: 12px 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cart-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.95rem;
}

.instagram-feed {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hero-media {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Wrapper sorgt für feste Proportionen und keine Scrollbar */
.hero-video-wrapper {
  position: relative;
  width: 100%;
  max-width: 420px;
  height: 620px;              /* feste Höhe für Desktop */
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-2);
}

/* Iframe füllt den Wrapper komplett aus */
.hero-video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* auf kleineren Screens etwas niedriger, damit es nicht zu lang wird */
@media (max-width: 800px) {
  .hero-video-wrapper {
    height: 520px;
  }
}


@media (max-width: 900px) {
  .instagram-feed {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .instagram-feed {
    grid-template-columns: 1fr;
  }
}

/* Instagram-Blockquote etwas neutralisieren */
.instagram-feed .instagram-media {
  background: #fff;
  border: 0;
  margin: 0;
  width: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-2);
}

/* Karte für einzelne Instagram-Embeds in der Startseite */
.instagram-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: #ffffff;
  box-shadow: var(--shadow-2);
}

/* sorgt dafür, dass das Blockquote keinen extra Rand macht */
.instagram-card .instagram-media {
  margin: 0 !important;
}


.whatnot-card {
  position: relative;
  display: block;
  border-radius: var(--radius-l, 20px);
  overflow: hidden;
  padding: 2px;
  text-decoration: none;
  transform: translateY(0);
  transition: transform 200ms ease, box-shadow 200ms ease;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
}

.whatnot-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.whatnot-glow {
  position: absolute;
  inset: 0;
  background: conic-gradient(
    from 0deg,
    #ffce00,
    #ff4d67,
    #ff9a62,
    #ffce00
  );
  animation: whatnot-rotate 6s linear infinite;
  opacity: 0.85;
}

.whatnot-inner {
  position: relative;
  z-index: 1;
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.18), rgba(11, 15, 25, 0.96));
  border-radius: inherit;
  padding: 1.6rem 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  color: #f7f7ff;
  backdrop-filter: blur(16px);
}

/* LIVE Pill */

.whatnot-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 999px;
  padding: 0.25rem 0.9rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.whatnot-live-pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #ff4d67;
  box-shadow: 0 0 0 0 rgba(255, 77, 103, 0.6);
  animation: live-pulse 1.3s ease-out infinite;
}

/* Text */

.whatnot-title {
  font-size: 1.2rem;
  margin: 0;
}

.whatnot-text {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.85;
}

/* Avatare / Meta */

.whatnot-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 0.4rem;
}

.whatnot-avatars {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.whatnot-avatars .avatar {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 2px solid rgba(0, 0, 0, 0.7);
  background-size: cover;
  background-position: center;
}

/* Optional Beispiele – du kannst hier echte Bilder nehmen */
.avatar-1 { background-image: url("../logo.jpg"); }
.avatar-2 { background-image: url("img/sv-paradox-rift.svg"); }
.avatar-3 { background-image: url("img/single-rare.svg"); }

.avatar-count {
  font-size: 0.75rem;
  opacity: 0.85;
}

.whatnot-badge {
  font-size: 0.75rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 206, 0, 0.12);
  border: 1px solid rgba(255, 206, 0, 0.6);
}

/* kleine CTA-Chip unten */

.whatnot-cta-chip {
  margin-top: 0.4rem;
  font-size: 0.8rem;
  opacity: 0.9;
}

/* Animationen */

@keyframes whatnot-rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes live-pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 77, 103, 0.7);
  }
  70% {
    transform: scale(1.18);
    box-shadow: 0 0 0 10px rgba(255, 77, 103, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 77, 103, 0);
  }
}

/* Responsiv ein bisschen kleiner auf Handy */

@media (max-width: 640px) {
  .whatnot-inner {
    padding: 1.3rem 1.4rem;
  }

  .whatnot-title {
    font-size: 1.05rem;
  }
}

    .profile-table {
      width: 100%;
      border-collapse: collapse;
      font-size: 0.9rem;
      margin-top: 10px;
    }
    .profile-table th,
    .profile-table td {
      padding: 6px 4px;
      text-align: left;
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    .profile-table th {
      font-weight: 600;
      font-size: 0.8rem;
      text-transform: uppercase;
      letter-spacing: 0.04em;
      opacity: 0.8;
    }
    .profile-pill {
      display: inline-flex;
      align-items: center;
      padding: 2px 8px;
      border-radius: 999px;
      font-size: 0.75rem;
      background: var(--surface-2);
    }
    .muted-small {
      font-size: 0.8rem;
      opacity: 0.85;
    }
    .empty-state {
      font-size: 0.85rem;
      opacity: 0.85;
      margin-top: 6px;
    }
    .chip-list {
      display: flex;
      flex-direction: column;
      gap: 8px;
      margin-top: 10px;
    }
    .chip {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 8px 10px;
      border-radius: 999px;
      background: var(--surface-2);
      font-size: 0.85rem;
    }
    .chip-main {
      display: flex;
      flex-direction: column;
    }
    .chip-label {
      font-weight: 500;
    }
    .chip-meta {
      font-size: 0.75rem;
      opacity: 0.8;
    }
    .chip-actions button {
      border: none;
      padding: 4px 10px;
      border-radius: 999px;
      font-size: 0.75rem;
      cursor: pointer;
      background: transparent;
      color: #ff6b6b;
    }

    /* =========================
 * Checkout Seite
 * ========================= */

/* === Checkout Seite === */

.checkout-shell {
  max-width: 960px;
  margin: 0 auto;
}

.checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.2fr);
  gap: 24px;
  margin-top: 24px;
}

@media (max-width: 900px) {
  .checkout-grid {
    grid-template-columns: 1fr;
  }
}

.checkout-shell {
  max-width: 960px;
  margin: 0 auto;
  padding: 12px 0 40px;             /* etwas Luft oben/unten */
}

.checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.2fr);
  gap: 24px;
  margin-top: 24px;
}

@media (max-width: 900px) {
  .checkout-grid {
    grid-template-columns: 1fr;
  }

  /* auf Mobile etwas Abstand zwischen Karten */
  .checkout-card + .checkout-card {
    margin-top: 12px;
  }
}

.checkout-card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--accent);
  box-shadow: var(--shadow-1);
  padding: 20px 22px;
}

.checkout-sidebar {
  align-self: flex-start;
}

.checkout-heading {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

/* Label+Textarea etwas luftiger */
.checkout-label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.9rem;
  margin-top: 16px;
}

.checkout-note {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--accent);
  background: var(--surface-2);
  padding: 10px 12px;
  font: inherit;
  resize: vertical;
  min-height: 90px;
}

/* Items & Summe */
.checkout-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 10px 0 14px;
}

.checkout-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.35);
  padding: 6px 0;
}

.checkout-item-main {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.checkout-item-title {
  font-weight: 500;
}

.checkout-item-meta {
  color: var(--muted);
  font-size: 0.8rem;
}

.checkout-item-price {
  font-weight: 600;
  white-space: nowrap;
}

.checkout-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(148, 163, 184, 0.45);
  font-weight: 600;
}

/* Info & Fehlertexte */
.checkout-error {
  margin: 10px 0 0;
  font-size: 0.85rem;
  color: var(--danger);
}

.checkout-info {
  margin: 10px 0 0;
  font-size: 0.85rem;
}

/* Button optisch stärker als Abschluss */
.checkout-sidebar .cta {
  width: 100%;
  margin-top: 14px;
}


/* =========================
 * Produktdetail-Seite
 * ========================= */

.product-detail-shell {
  max-width: 1100px;
  margin: 12px auto 40px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 14px;
}

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

.product-detail-card {
  padding: 20px 22px;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 28px;
  align-items: flex-start;
}

@media (max-width: 900px) {
  .product-detail-grid {
    grid-template-columns: 1fr;
  }
}

/* Bild kleiner & hochwertig wirken lassen */
.product-media {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.product-media-inner {
  width: 100%;
  max-width: 320px;          /* <-- Bildbreite begrenzen */
  border-radius: 18px;
  background: linear-gradient(180deg, #faf7ff, #eee7ff);
  padding: 18px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.18);
}

.product-media-inner img {
  width: 100%;
  height: auto;
  max-height: 340px;         /* <-- Bildhöhe begrenzen */
  object-fit: contain;
}

/* kleine Meta-Pills unter dem Bild */
.product-meta-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

/* Trust-Liste unter dem Bild */
.product-trust-list {
  list-style: none;
  padding: 0;
  margin: 6px 0 0;
  font-size: 0.85rem;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* rechte Seite: Infos */
.product-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.product-title {
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0;
}

.product-subline {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.product-price-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.product-price {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--primary-500);
}

.product-stock {
  font-size: 0.9rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
}

.product-stock--ok {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
}

.product-stock--low {
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
}

/* Beschreibung */
.product-description {
  margin-top: 6px;
}

.product-description h3 {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.8;
  margin: 0 0 4px;
}

.product-description-text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Aktionen (Menge + Button) */
.product-actions {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-buy-btn {
  width: 100%;
  justify-content: center;
}


