:root {
  --pink: #e8459a;
  --pink-soft: #fde4f1;
  --blue: #3c6db3;
  --blue-soft: #e3eefb;
  --purple: #8457d1;
  --purple-soft: #efe6fc;
  --cream: #fdf7ec;
  --white: #ffffff;
  --ink: #3a2f4a;
  --muted: #6e6580;
  --line: #eadff3;
  --radius: 18px;
  --shadow: 0 6px 20px rgba(132, 87, 209, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Nunito", system-ui, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 17px;
}
img { max-width: 100%; display: block; }
a { color: var(--purple); }
h1, h2, h3 { font-family: "Fredoka", "Nunito", sans-serif; line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.center { text-align: center; }

/* Announcement bar */
.promo {
  background: linear-gradient(90deg, var(--pink), var(--purple));
  color: var(--white);
  text-align: center;
  font-weight: 700;
  font-size: .9rem;
  padding: 8px 16px;
  letter-spacing: .02em;
}

/* Header */
.site-header { background: var(--cream); border-bottom: 3px dotted var(--pink); }
.header-inner { display: flex; flex-direction: column; align-items: center; padding: 18px 16px 10px; }
.brand { display: flex; flex-direction: column; align-items: center; text-decoration: none; color: var(--ink); }
.brand img { width: 110px; height: 110px; border-radius: 50%; border: 4px solid var(--white); box-shadow: var(--shadow); }
.brand span { font-family: "Fredoka", sans-serif; font-size: 2rem; font-weight: 600; margin-top: 8px; }
.brand span b { color: var(--pink); font-weight: 600; }
.brand span i { color: var(--purple); font-style: normal; }

.nav-toggle {
  display: none;
  background: var(--purple); color: var(--white);
  border: 0; border-radius: 999px; padding: 8px 18px;
  font: 700 1rem "Nunito", sans-serif; margin-top: 10px; cursor: pointer;
}
.main-nav ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 12px 0 4px; padding: 0; }
.main-nav a {
  display: block; padding: 8px 16px; border-radius: 999px;
  text-decoration: none; color: var(--ink); font-weight: 700;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { background: var(--pink-soft); color: var(--pink); }

/* Hero */
.hero { background: var(--cream); padding: 56px 0 64px; position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero p { font-size: 1.15rem; color: var(--muted); max-width: 520px; }
.hero-art { display: flex; justify-content: center; }
.hero-art img { width: min(340px, 80%); border-radius: 50%; box-shadow: 0 12px 40px rgba(232, 69, 154, .25); }
.btn {
  display: inline-block; padding: 12px 26px; border-radius: 999px;
  background: var(--pink); color: var(--white); font-weight: 800;
  text-decoration: none; border: 0; cursor: pointer; font-size: 1rem;
  font-family: "Nunito", sans-serif; transition: transform .15s, background .15s;
}
.btn:hover { transform: translateY(-2px); background: #d63488; }
.btn.alt { background: var(--white); color: var(--purple); border: 2px solid var(--purple); }
.btn.alt:hover { background: var(--purple-soft); }
.btn.blue { background: var(--blue); }
.btn.blue:hover { background: #2f5a96; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

/* Sections */
section { padding: 60px 0; }
.section-title { text-align: center; margin-bottom: 8px; }
.section-sub { text-align: center; color: var(--muted); margin: 0 auto 34px; max-width: 560px; }
.soft-purple { background: var(--purple-soft); }
.soft-blue { background: var(--blue-soft); }
.soft-pink { background: var(--pink-soft); }

/* Product grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 24px; }
.card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--line);
  display: flex; flex-direction: column; transition: transform .15s;
}
.card:hover { transform: translateY(-4px); }
.card-img { aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; position: relative; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-img svg { width: 48%; height: 48%; }
.badge {
  position: absolute; top: 12px; left: 12px; background: var(--white);
  color: var(--pink); font-weight: 800; font-size: .78rem;
  padding: 4px 10px; border-radius: 999px; box-shadow: var(--shadow);
}
.badge.sold { color: var(--muted); }
.card-body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-body h3 { font-size: 1.15rem; margin: 0; }
.card-body p { margin: 0; color: var(--muted); font-size: .95rem; flex: 1; }
.price { font-weight: 800; color: var(--blue); font-size: 1.1rem; }
.card .btn { text-align: center; margin-top: 8px; padding: 10px 18px; }
.card .btn[aria-disabled="true"] { background: #cfc6da; pointer-events: none; }

/* Filters */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 30px; }
.filters button {
  border: 2px solid var(--purple); background: var(--white); color: var(--purple);
  border-radius: 999px; padding: 7px 18px; font: 700 .95rem "Nunito", sans-serif; cursor: pointer;
}
.filters button.active, .filters button:hover { background: var(--purple); color: var(--white); }

/* Collections */
.collections { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.collection {
  border-radius: var(--radius); padding: 30px 24px; text-align: center;
  text-decoration: none; color: var(--ink); box-shadow: var(--shadow);
  transition: transform .15s;
}
.collection:hover { transform: translateY(-4px); }
.collection .icon { font-size: 2.6rem; }
.collection h3 { margin: 10px 0 6px; }
.collection p { margin: 0; color: var(--muted); }
.c-pink { background: var(--pink-soft); }
.c-blue { background: var(--blue-soft); }
.c-purple { background: var(--purple-soft); }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: center; }
.feature .dot {
  width: 64px; height: 64px; margin: 0 auto 12px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 1.8rem;
}

/* Content pages */
.page-head { background: var(--cream); padding: 44px 0; text-align: center; }
.page-head p { color: var(--muted); margin: 0; }
.prose { max-width: 760px; margin: 0 auto; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }

/* FAQ */
details {
  background: var(--white); border: 2px solid var(--line); border-radius: 14px;
  padding: 16px 20px; margin-bottom: 12px;
}
details[open] { border-color: var(--pink); }
summary { font-weight: 800; cursor: pointer; list-style: none; position: relative; padding-right: 28px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0; top: -2px; font-size: 1.4rem; color: var(--pink); }
details[open] summary::after { content: "\2212"; }
details p { margin: 10px 0 0; color: var(--muted); }

/* Forms */
form.card-form { background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); border: 1px solid var(--line); }
label { display: block; font-weight: 700; margin-bottom: 6px; }
input, textarea, select {
  width: 100%; padding: 12px 14px; border: 2px solid var(--line); border-radius: 12px;
  font: 1rem "Nunito", sans-serif; margin-bottom: 16px; background: var(--white); color: var(--ink);
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--purple); }
.hidden { display: none; }

/* Newsletter */
.newsletter { display: flex; gap: 10px; max-width: 480px; margin: 0 auto; }
.newsletter input { margin: 0; flex: 1; }

/* Footer */
.site-footer { background: var(--ink); color: #e9e2f3; padding: 44px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
.site-footer h3 { color: var(--white); font-size: 1.1rem; }
.site-footer a { color: #f6c6e0; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.footer-brand img { width: 52px; height: 52px; border-radius: 50%; }
.copyright { text-align: center; border-top: 1px solid rgba(255,255,255,.15); margin-top: 30px; padding-top: 18px; font-size: .9rem; color: #bdb3cc; }

/* Mobile */
@media (max-width: 820px) {
  .hero .wrap, .split { grid-template-columns: 1fr; text-align: center; }
  .hero p { margin-left: auto; margin-right: auto; }
  .btn-row { justify-content: center; }
  .collections, .features, .footer-grid { grid-template-columns: 1fr; }
  .nav-toggle { display: inline-block; }
  .main-nav { display: none; width: 100%; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; text-align: center; }
  .newsletter { flex-direction: column; }
  .brand img { width: 90px; height: 90px; }
}

/* Animations */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-120px) rotate(-12deg); }
  70% { opacity: 1; transform: translateX(8px) rotate(2deg); }
  to { opacity: 1; transform: translateX(0) rotate(0); }
}
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.brand img { animation: fadeIn 1.2s ease-out both; }
.hero .hero-art img { animation: slideInLeft 1.1s cubic-bezier(.22,.9,.3,1) .2s both, floaty 4s ease-in-out 1.4s infinite; }
@media (prefers-reduced-motion: reduce) {
  .brand img, .hero .hero-art img { animation: none; }
}
