/* ─── FORMWANDEL SHOP ──────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;1,400&display=swap');

:root {
  --cream:    #FAF6F0;
  --white:    #FFFFFF;
  --ink:      #2B2B2B;
  --muted:    #6B6058;
  --subtle:   #9A8F86;
  --border:   #F0E8E0;
  --fuchsia:  #C8126A;
  --fuchsia-dk: #9E0E54;
  --fuchsia-lt: #FBE7F0;
  --radius:   16px;
  --radius-sm: 10px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .ff-display {
  font-family: 'Playfair Display', Georgia, serif;
}

a { color: var(--fuchsia); }

/* ── Header ── */
.shop-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 2.2rem 1.5rem 1.8rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.shop-header .butterfly-bg {
  position: absolute;
  top: -20px;
  right: -10px;
  width: 140px;
  opacity: 0.08;
  color: var(--fuchsia);
}
.shop-logo-img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  margin: 0 0 0.6rem;
  position: relative;
}
.shop-tagline {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}

/* ── Intro ── */
.shop-intro {
  max-width: 680px;
  margin: 2.8rem auto 2.2rem;
  padding: 0 1.5rem;
  text-align: center;
}
.shop-intro h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 500;
  margin: 0 0 0.7rem;
}
.shop-intro p {
  color: var(--muted);
  font-size: 1.02rem;
  margin: 0;
}

/* ── Pakete ── */
.bundle-section {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.bundle-heading {
  font-size: 1.3rem;
  font-weight: 500;
  text-align: center;
  margin: 0 0 1.2rem;
}
.bundle-card {
  --accent: var(--fuchsia);
  background: linear-gradient(135deg, var(--white) 0%, var(--fuchsia-lt) 140%);
  border: 1.5px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.8rem;
  margin-bottom: 2.5rem;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 1.5rem;
  align-items: center;
}
.bundle-card .butterfly-icon {
  width: 30px;
  height: 30px;
  color: var(--accent);
  margin-bottom: 0.7rem;
}
.bundle-card h3 {
  font-size: 1.4rem;
  font-weight: 500;
  margin: 0 0 0.5rem;
}
.bundle-card .desc {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0 0 0.6rem;
}
.bundle-card .bundle-count {
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 600;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.bundle-card .variant-row { gap: 0.7rem; }
.bundle-card .variant-option { background: var(--white); }

.product-intro-line {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.5rem;
  text-align: center;
}
.product-intro-line h2 {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--muted);
  margin: 0 0 1.2rem;
  position: relative;
}

/* ── Produktgrid ── */
.product-grid {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.product-card {
  --accent: var(--fuchsia);
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.product-card:hover {
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.product-card .butterfly-icon {
  width: 28px;
  height: 28px;
  color: var(--accent);
  margin-bottom: 0.9rem;
}

.product-card h2 {
  font-size: 1.25rem;
  font-weight: 500;
  margin: 0 0 0.5rem;
}
.product-card .desc {
  color: var(--muted);
  font-size: 0.88rem;
  margin: 0 0 1.3rem;
  flex-grow: 1;
}

.variant-row {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.variant-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.9rem;
}
.variant-option .variant-label {
  font-size: 0.85rem;
  color: var(--ink);
  min-width: 0;
}
.variant-option .variant-label .sub {
  display: block;
  font-size: 0.72rem;
  color: var(--subtle);
}
.variant-option .variant-price {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--accent);
  margin-right: 0.4rem;
  white-space: nowrap;
  flex-shrink: 0;
}
.btn-buy {
  background: var(--fuchsia);
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 0.5rem 1.1rem;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
  white-space: nowrap;
}
.btn-buy:hover { background: var(--fuchsia-dk); }

/* ── Checkout-Modal ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(43, 43, 43, 0.55);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 1000;
}
.modal-overlay.open { display: flex; }

.modal-box {
  background: var(--white);
  border-radius: var(--radius);
  max-width: 420px;
  width: 100%;
  padding: 1.8rem;
  position: relative;
}
.modal-close {
  position: absolute;
  top: 0.9rem;
  right: 1rem;
  border: none;
  background: none;
  font-size: 1.3rem;
  color: var(--subtle);
  cursor: pointer;
  line-height: 1;
}
.modal-close:hover { color: var(--ink); }

.modal-box h3 {
  font-size: 1.15rem;
  font-weight: 500;
  margin: 0 0 0.3rem;
}
.modal-box .modal-price {
  color: var(--fuchsia-dk);
  font-weight: 600;
  font-size: 1.05rem;
  margin: 0 0 1.2rem;
}

.modal-fields { margin-bottom: 1.1rem; }
.modal-fields label {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 0.3rem;
}
.modal-fields input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.8rem;
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
  font-family: inherit;
}
.modal-fields input:focus {
  outline: none;
  border-color: var(--fuchsia);
}

#paypal-button-container { min-height: 45px; }

.modal-status {
  margin-top: 0.8rem;
  font-size: 0.85rem;
  text-align: center;
}
.modal-status.success { color: #2e7d4f; }
.modal-status.error { color: #c0392b; }
.modal-status.pending { color: var(--muted); }

/* ── Footer ── */
.shop-footer {
  text-align: center;
  padding: 2rem 1.5rem 3rem;
  color: var(--subtle);
  font-size: 0.8rem;
}
.shop-footer a { color: var(--subtle); text-decoration: none; }
.shop-footer a:hover { color: var(--fuchsia); }

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

@media (max-width: 480px) {
  .variant-option { flex-wrap: wrap; gap: 0.5rem; }
  .btn-buy { width: 100%; }
}
