:root {
  --pink: #ff7eb6;
  --pink-dark: #e94f95;
  --pink-soft: #ffe3ef;
  --lilac: #b69cff;
  --lilac-soft: #efe9ff;
  --mint: #7ee0c3;
  --mint-soft: #e2f8f1;
  --butter: #ffd166;
  --ink: #3b2a4d;
  --ink-soft: #6b5a7d;
  --cream: #fffafc;
  --line: #f0dce8;
  --white: #ffffff;
  --radius: 22px;
  --shadow: 0 10px 30px rgba(59, 42, 77, 0.08);
  --font-head: "Fredoka", "Trebuchet MS", sans-serif;
  --font-body: "Nunito", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; }
p { margin: 0 0 1em; }
.container { width: min(1180px, 92vw); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  padding: .85em 1.6em; border-radius: 999px; border: 2px solid var(--ink);
  background: var(--pink); color: var(--white); text-decoration: none; cursor: pointer;
  box-shadow: 0 4px 0 var(--ink); transition: transform .12s, box-shadow .12s, background .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--ink); }
.btn:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--ink); }
.btn:disabled, .btn.is-disabled { background: #e8dbe3; color: var(--ink-soft); cursor: not-allowed; transform: none; box-shadow: 0 4px 0 #cdbac6; border-color: #cdbac6; }
.btn--ghost { background: var(--white); color: var(--ink); }
.btn--mint { background: var(--mint); color: var(--ink); }
.btn--block { width: 100%; }
.btn--small { padding: .55em 1.1em; font-size: .9rem; box-shadow: 0 3px 0 var(--ink); }

/* ---------- Announcement + header ---------- */
.announcement {
  background: var(--ink); color: var(--white); text-align: center;
  font-size: .88rem; font-weight: 700; padding: .55em 1em; letter-spacing: .02em;
}
.site-header {
  position: sticky; top: 0; z-index: 40; background: rgba(255, 250, 252, .92);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem 0; }
.logo { display: flex; align-items: center; gap: .55rem; text-decoration: none; }
.logo svg { width: 46px; height: 46px; }
.logo-text { font-family: var(--font-head); font-weight: 700; font-size: 1.55rem; letter-spacing: -.01em; }
.logo-text span { color: var(--pink); }
.main-nav { display: flex; gap: .3rem; }
.main-nav a {
  text-decoration: none; font-weight: 700; padding: .45em .9em; border-radius: 999px; transition: background .2s;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { background: var(--pink-soft); }
.header-actions { display: flex; align-items: center; gap: .4rem; }
.icon-btn {
  position: relative; width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: 50%; border: none; background: transparent; cursor: pointer; color: var(--ink);
}
.icon-btn:hover { background: var(--pink-soft); }
.icon-btn svg { width: 24px; height: 24px; }
.cart-count {
  position: absolute; top: 2px; right: 0; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 999px; background: var(--pink); color: var(--white); font-size: .72rem; font-weight: 800;
  display: grid; place-items: center; border: 2px solid var(--cream);
}
.cart-count[data-count="0"] { display: none; }
.menu-toggle { display: none; }

@media (max-width: 820px) {
  .menu-toggle { display: grid; }
  .main-nav {
    position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--line); padding: .5rem 4vw 1rem;
    display: none;
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: .8em 1em; }
  .logo-text { font-size: 1.3rem; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 4.5rem 0 5rem; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(circle at 12% 20%, var(--pink-soft) 0 22%, transparent 23%),
    radial-gradient(circle at 88% 15%, var(--mint-soft) 0 18%, transparent 19%),
    radial-gradient(circle at 75% 90%, var(--lilac-soft) 0 25%, transparent 26%);
}
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 600; font-size: .9rem;
  background: var(--butter); padding: .3em .9em; border-radius: 999px; border: 2px solid var(--ink); margin-bottom: 1rem;
}
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
.hero h1 .accent { color: var(--pink); }
.hero p.lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 34ch; }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; }
.hero-art { position: relative; }
.hero-art .art-frame {
  background: var(--white); border: 3px solid var(--ink); border-radius: 40px; padding: 1.5rem;
  box-shadow: 10px 10px 0 var(--lilac); transform: rotate(2deg);
}
.sparkle { position: absolute; font-size: 2rem; animation: float 4s ease-in-out infinite; }
.sparkle.s1 { top: -10px; left: -10px; }
.sparkle.s2 { bottom: 10px; right: -14px; animation-delay: 1.2s; }
.sparkle.s3 { top: 40%; left: -30px; animation-delay: 2.1s; }
@keyframes float { 50% { transform: translateY(-12px) rotate(10deg); } }
@media (prefers-reduced-motion: reduce) { .sparkle { animation: none; } }
@media (max-width: 820px) {
  .hero { padding: 2.5rem 0 3rem; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { width: 100%; max-width: 340px; margin: 0 auto; }
  .hero-art .art-frame svg { width: 100%; height: auto; }
}

/* ---------- Sections ---------- */
.section { padding: 4rem 0; }
.section--tint { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 2rem; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); margin: 0; }
.section-head p { margin: .3rem 0 0; color: var(--ink-soft); }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; counter-reset: step; }
.step {
  background: var(--cream); border: 2px solid var(--line); border-radius: var(--radius); padding: 1.5rem;
  position: relative;
}
.step .emoji { font-size: 2.2rem; }
.step h3 { margin-top: .6rem; font-size: 1.2rem; }
.step p { color: var(--ink-soft); margin: 0; font-size: .95rem; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 1rem; right: 1rem; width: 30px; height: 30px; border-radius: 50%;
  background: var(--ink); color: var(--white); font-family: var(--font-head); display: grid; place-items: center; font-size: .9rem;
}
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Product grid ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.4rem; }
.card {
  background: var(--white); border: 2px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--pink); }
.card-media { position: relative; display: block; aspect-ratio: 1; background: var(--pink-soft); }
.card-media img, .card-media svg { width: 100%; height: 100%; object-fit: cover; }
.badge {
  position: absolute; top: .8rem; left: .8rem; z-index: 2;
  font-family: var(--font-head); font-size: .78rem; font-weight: 600; padding: .3em .8em; border-radius: 999px;
  background: var(--butter); color: var(--ink); border: 2px solid var(--ink);
}
.badge--sale { background: var(--pink); color: var(--white); left: auto; right: .8rem; }
.badge--soldout { background: var(--white); color: var(--ink-soft); border-color: var(--ink-soft); }
.card-body { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.card-title { font-family: var(--font-head); font-size: 1.15rem; font-weight: 600; text-decoration: none; }
.card-title:hover { color: var(--pink-dark); }
.card-short { color: var(--ink-soft); font-size: .92rem; margin: 0; }
.price { font-weight: 800; font-size: 1.05rem; }
.price s { color: var(--ink-soft); font-weight: 600; margin-left: .35em; font-size: .9em; }
.price .sale { color: var(--pink-dark); }
.card .btn { margin-top: auto; }
.card-actions { margin-top: auto; padding-top: .6rem; }

/* Shop filters */
.shop-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.6rem; }
.chips { display: flex; gap: .5rem; flex-wrap: wrap; }
.chip {
  font: inherit; font-weight: 700; padding: .45em 1em; border-radius: 999px; border: 2px solid var(--line);
  background: var(--white); color: var(--ink); cursor: pointer;
}
.chip:hover { border-color: var(--pink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.select {
  font: inherit; font-weight: 700; padding: .5em 2.2em .5em 1em; border-radius: 999px; border: 2px solid var(--line);
  background: var(--white); color: var(--ink); cursor: pointer;
}
.page-hero { padding: 3rem 0 1.5rem; text-align: center; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); }
.page-hero p { color: var(--ink-soft); max-width: 60ch; margin: 0 auto; }
.empty { text-align: center; padding: 3rem 1rem; color: var(--ink-soft); }

/* ---------- Product page ---------- */
.product { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; padding: 2.5rem 0 4rem; align-items: start; }
.product-media {
  position: sticky; top: 100px; border-radius: 32px; overflow: hidden; border: 3px solid var(--ink);
  box-shadow: 10px 10px 0 var(--mint); aspect-ratio: 1; background: var(--pink-soft);
}
.product-media img, .product-media svg { width: 100%; height: 100%; object-fit: cover; }
.breadcrumbs { font-size: .9rem; color: var(--ink-soft); margin-bottom: 1rem; }
.breadcrumbs a { text-decoration: none; font-weight: 700; }
.breadcrumbs a:hover { color: var(--pink-dark); }
.product h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.product .price { font-size: 1.6rem; margin-bottom: 1rem; }
.option-label { font-family: var(--font-head); font-weight: 600; margin: 1.2rem 0 .5rem; display: block; }
.size-options { display: grid; gap: .6rem; }
.size-option {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; width: 100%; text-align: left;
  font: inherit; font-weight: 700; padding: .9em 1.1em; border-radius: 16px; border: 2px solid var(--line);
  background: var(--white); color: var(--ink); cursor: pointer; transition: border-color .15s, background .15s;
}
.size-option:hover { border-color: var(--pink); }
.size-option[aria-checked="true"] { border-color: var(--ink); background: var(--pink-soft); box-shadow: 0 3px 0 var(--ink); }
.size-option .note { font-size: .75rem; background: var(--mint); padding: .15em .6em; border-radius: 999px; margin-left: .4rem; }
.qty {
  display: inline-flex; align-items: center; border: 2px solid var(--line); border-radius: 999px; background: var(--white);
}
.qty button { font: inherit; font-size: 1.2rem; width: 42px; height: 42px; border: none; background: none; cursor: pointer; color: var(--ink); border-radius: 50%; }
.qty button:hover { background: var(--pink-soft); }
.qty input { width: 44px; text-align: center; border: none; font: inherit; font-weight: 800; background: none; color: var(--ink); -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.buy-row { display: flex; gap: 1rem; align-items: center; margin-top: 1.5rem; flex-wrap: wrap; }
.buy-row .btn { flex: 1; min-width: 200px; }
.notice {
  margin-top: 1.4rem; padding: 1rem 1.2rem; border-radius: 16px; background: var(--lilac-soft);
  border: 2px dashed var(--lilac); font-size: .95rem;
}
.product-details { margin-top: 2rem; }
.product-details h3 { font-size: 1.15rem; margin-top: 1.5rem; }
.inside-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.inside-list li { background: var(--white); border: 2px solid var(--line); padding: .3em .9em; border-radius: 999px; font-weight: 700; font-size: .9rem; }
.perks { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.perks li::before { content: "💖 "; }
@media (max-width: 860px) {
  .product { grid-template-columns: 1fr; gap: 2rem; padding-top: 1.5rem; }
  .product-media { position: relative; top: 0; max-width: 480px; }
}

/* ---------- Cart drawer ---------- */
.drawer-backdrop {
  position: fixed; inset: 0; background: rgba(59, 42, 77, .4); z-index: 90; opacity: 0; pointer-events: none; transition: opacity .25s;
}
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100vw); background: var(--cream); z-index: 100;
  display: flex; flex-direction: column; transform: translateX(100%); transition: transform .3s ease; border-left: 3px solid var(--ink);
}
body.cart-open .drawer { transform: none; }
body.cart-open .drawer-backdrop { opacity: 1; pointer-events: auto; }
body.cart-open { overflow: hidden; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 1.1rem 1.3rem; border-bottom: 1px solid var(--line); }
.drawer-head h2 { margin: 0; font-size: 1.5rem; }
.drawer-body { flex: 1; overflow-y: auto; padding: 1rem 1.3rem; }
.drawer-foot { padding: 1rem 1.3rem 1.4rem; border-top: 1px solid var(--line); background: var(--white); }
.ship-progress { font-size: .9rem; font-weight: 700; margin-bottom: 1rem; }
.ship-bar { height: 10px; border-radius: 999px; background: var(--pink-soft); overflow: hidden; margin-top: .4rem; border: 1px solid var(--line); }
.ship-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--pink), var(--lilac)); border-radius: 999px; transition: width .3s; }
.line-item { display: grid; grid-template-columns: 72px 1fr auto; gap: .9rem; padding: .9rem 0; border-bottom: 1px dashed var(--line); align-items: start; }
.line-item .thumb { width: 72px; height: 72px; border-radius: 14px; overflow: hidden; border: 2px solid var(--line); }
.line-item .thumb svg, .line-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.line-item h4 { font-size: 1rem; margin: 0; }
.line-item .variant { font-size: .85rem; color: var(--ink-soft); margin: .1rem 0 .5rem; }
.line-item .qty button { width: 32px; height: 32px; font-size: 1rem; }
.line-item .qty input { width: 32px; }
.line-item .remove { background: none; border: none; color: var(--ink-soft); font: inherit; font-size: .8rem; text-decoration: underline; cursor: pointer; margin-left: .6rem; }
.line-item .line-price { font-weight: 800; }
.subtotal-row { display: flex; justify-content: space-between; font-family: var(--font-head); font-size: 1.25rem; font-weight: 600; margin-bottom: .3rem; }
.small-print { font-size: .82rem; color: var(--ink-soft); margin: 0 0 .9rem; }
.order-note { width: 100%; font: inherit; font-size: .9rem; border: 2px solid var(--line); border-radius: 14px; padding: .7em .9em; resize: vertical; min-height: 64px; background: var(--white); color: var(--ink); margin-top: .4rem; }
.order-note-label { font-weight: 700; font-size: .9rem; display: block; margin-top: 1rem; }
.form-msg { font-size: .9rem; font-weight: 700; margin: .7rem 0 0; }
.form-msg.error { color: #c1121f; }
.form-msg.ok { color: #1a7f5a; }
.cart-empty { text-align: center; padding: 3rem 0; }
.cart-empty .emoji { font-size: 3rem; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 1.5rem; transform: translate(-50%, 150%); z-index: 120;
  background: var(--ink); color: var(--white); padding: .8em 1.4em; border-radius: 999px; font-weight: 700;
  transition: transform .3s, opacity .3s, visibility .3s; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden;
}
.toast.show { transform: translate(-50%, 0); opacity: 1; visibility: visible; }

/* ---------- Feature banners ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; }
.panel {
  background: var(--white); border: 3px solid var(--ink); border-radius: 32px; padding: 2.2rem;
}
.panel--pink { background: var(--pink-soft); box-shadow: 8px 8px 0 var(--pink); }
.panel--mint { background: var(--mint-soft); box-shadow: 8px 8px 0 var(--mint); }
.panel h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.social-row { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1rem; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

/* VIP signup */
.vip { text-align: center; }
.vip-box {
  background: var(--ink); color: var(--white); border-radius: 36px; padding: 3rem 2rem; position: relative; overflow: hidden;
}
.vip-box h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.vip-box p { color: #e6dcef; max-width: 52ch; margin: 0 auto 1.5rem; }
.vip-form { display: flex; gap: .6rem; max-width: 480px; margin: 0 auto; flex-wrap: wrap; justify-content: center; }
.vip-form input {
  flex: 1; min-width: 220px; font: inherit; padding: .85em 1.2em; border-radius: 999px; border: 2px solid var(--white); background: var(--white); color: var(--ink);
}
.vip-box .form-msg.ok { color: var(--mint); }
.vip-box .form-msg.error { color: #ffb3c1; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq h2 { font-size: 1.6rem; margin-top: 2.5rem; }
.faq details {
  background: var(--white); border: 2px solid var(--line); border-radius: 18px; padding: 0 1.3rem; margin-bottom: .8rem;
}
.faq details[open] { border-color: var(--pink); }
.faq summary {
  cursor: pointer; list-style: none; font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; padding: 1.1rem 0;
  display: flex; justify-content: space-between; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--pink); }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding-bottom: 1.1rem; color: var(--ink-soft); }

/* ---------- Footer ---------- */
.site-footer { background: var(--white); border-top: 3px solid var(--ink); padding: 3rem 0 1.5rem; margin-top: 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.footer-grid h4 { font-size: 1.05rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.footer-grid a { text-decoration: none; color: var(--ink-soft); font-weight: 600; }
.footer-grid a:hover { color: var(--pink-dark); }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid var(--line); font-size: .85rem; color: var(--ink-soft); display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; } }

/* Success page */
.success { text-align: center; padding: 5rem 0; }
.success .emoji { font-size: 4rem; }
