* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-main: #fff6f8;
  --bg-card: #ffffff;
  --primary: #f4a7b9;
  --accent: #ffcad4;
  --border-soft: #f1d6dc;
  --text-main: #4a4a4a;
  --text-muted: #8b8b8b;
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--bg-main);
  color: var(--text-main);
}

h1, h2 {
  font-family: 'Playfair Display', serif;
}

header {
  text-align: center;
  padding: 3rem 1rem;
}

main {
  max-width: 1100px;
  margin: auto;
  padding: 2rem;
}

.section {
  background: var(--bg-card);
  padding: 2rem;
  margin-bottom: 2rem;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

/* CAROUSEL */
.carousel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.carousel-track {
  width: 200px;
  text-align: center;
}

.carousel-track img {
  width: 100%;
  max-height: 200px;
  object-fit: contain;
}

.carousel-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--accent);
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  transition: transform 0.15s ease;
}

.carousel-btn:active {
  transform: scale(0.9);
}

/* MESSAGE */
.message-input {
  width: 100%;
  padding: 1rem;
  border-radius: 16px;
  border: 1px solid var(--border-soft);
  margin-bottom: 1rem;
}

.to-from {
  display: flex;
  gap: 1rem;
}

.to-from input {
  flex: 1;
  padding: 0.75rem;
  border-radius: 12px;
  border: 1px solid var(--border-soft);
}

/* EXPORT CARD */
.export-card {
  width: 420px;
  height: 640px;
  margin: 0 auto;
  background: linear-gradient(135deg, #ffe4ec, #f3e8ff);
  border-radius: 32px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
}

.preview-area {
  position: relative;
  height: 360px;
  width: 100%;
}

.preview-area img {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  max-height: 100%;
}

#preview-message {
  font-style: italic;
  color: var(--text-muted);
}

.to-line,
.from-line {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* BUTTONS */
.save-btn {
  display: block;
  margin: 1rem auto 0;
  padding: 0.75rem 2rem;
  border-radius: 999px;
  border: none;
  background: var(--primary);
  color: white;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.save-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.save-btn:active {
  transform: scale(0.96);
}

/* SAVED LIST */
#saved-bouquets {
  list-style: none;
}

#saved-bouquets li {
  padding: 0.75rem;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  margin-bottom: 0.5rem;
  cursor: pointer;
}

/* TOAST */
.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--primary);
  color: white;
  padding: 12px 20px;
  border-radius: 999px;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}