/* ================= Nini's Creations ================= */

/* Self-hosted fonts (SIL Open Font License) — no outside requests */
@font-face { font-family: 'Fredoka'; font-weight: 500; font-display: swap; src: url('fonts/fredoka-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Fredoka'; font-weight: 600; font-display: swap; src: url('fonts/fredoka-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Fredoka'; font-weight: 700; font-display: swap; src: url('fonts/fredoka-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Nunito'; font-weight: 400; font-display: swap; src: url('fonts/nunito-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Nunito'; font-weight: 600; font-display: swap; src: url('fonts/nunito-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Nunito'; font-weight: 700; font-display: swap; src: url('fonts/nunito-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Nunito'; font-weight: 800; font-display: swap; src: url('fonts/nunito-latin-800-normal.woff2') format('woff2'); }
@font-face { font-family: 'Caveat'; font-weight: 600; font-display: swap; src: url('fonts/caveat-latin-600-normal.woff2') format('woff2'); }

:root {
  --cream: #FCF8F2;
  --paper: #FFFFFF;
  --ink: #3B2A33;
  --muted: #6B5560;
  --pink: #E59AAE;
  --pink-deep: #A3475F;
  --pink-soft: #FBE6E8;
  --teal: #2E7472;
  --teal-hover: #245E5C;
  --teal-soft: #E1F0EE;
  --lemon: #F5D27E;
  --line: #EFDFE1;

  --f-head: 'Fredoka', 'Trebuchet MS', system-ui, sans-serif;
  --f-body: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-hand: 'Caveat', 'Comic Sans MS', cursive;

  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 32px;
  --shadow-sm: 0 2px 8px rgba(91, 40, 60, 0.06);
  --shadow-md: 0 10px 30px rgba(91, 40, 60, 0.10);
  --shadow-lg: 0 24px 60px rgba(91, 40, 60, 0.18);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
[hidden] { display: none !important; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--pink-deep); }
h1, h2, h3 { font-family: var(--f-head); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; }

:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1160px, 100% - 2.5rem); margin-inline: auto; }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: var(--r-sm);
}
.skip-link:focus { top: 1rem; }

/* ================= Buttons ================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  min-height: 48px; padding: .75rem 1.5rem;
  border: 2px solid transparent; border-radius: 999px;
  font-family: var(--f-head); font-weight: 600; font-size: 1.05rem; text-decoration: none;
  transition: transform .2s var(--ease), background-color .2s, box-shadow .2s, color .2s;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 6px 0 var(--teal-hover); }
.btn-primary:hover { background: var(--teal-hover); transform: translateY(-2px); box-shadow: 0 8px 0 #1B4948; }
.btn-primary:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--teal-hover); }
.btn-primary:disabled { opacity: .7; cursor: wait; }
.btn-ghost { background: var(--paper); color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-block { width: 100%; }
.btn-add {
  min-height: 44px; padding: .5rem 1.1rem; font-size: .98rem;
  background: var(--ink); color: #fff;
}
.btn-add:hover { background: var(--pink-deep); transform: translateY(-1px); }
.btn-add span { font-size: 1.2em; line-height: 1; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; text-align: left; }
.link-btn:hover { color: var(--pink-deep); }

/* ================= Header ================= */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 248, 243, .82);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 1px 0 var(--line), var(--shadow-sm); }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.logo { display: flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--ink); }
.logo-img { width: 52px; height: 52px; filter: drop-shadow(0 3px 6px rgba(46, 116, 114, .18)); transition: transform .3s var(--ease); }
.logo:hover .logo-img { transform: rotate(-8deg) scale(1.05); }
.logo-text { font-family: var(--f-head); font-weight: 700; font-size: 1.35rem; letter-spacing: -0.02em; }
.logo-text span { color: var(--teal); }

.nav {
  display: flex; gap: .15rem; padding: .35rem;
  background: var(--teal); border-radius: 999px;
  box-shadow: 0 4px 0 var(--teal-hover), var(--shadow-sm);
}
.nav a {
  position: relative; padding: .5rem 1rem; border-radius: 999px;
  color: #fff; font-family: var(--f-head); font-weight: 600; font-size: .95rem;
  letter-spacing: .02em; text-decoration: none;
  transition: background-color .2s, color .2s;
}
.nav a:hover { background: rgba(255, 255, 255, .16); }
.nav a[aria-current="true"] { background: #fff; color: var(--teal); }
.nav a:focus-visible { outline-color: #fff; }

.header-actions { display: flex; align-items: center; gap: .5rem; }
.basket-btn {
  position: relative; display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 50%;
  border: 2px solid var(--ink); background: var(--paper); color: var(--ink);
  transition: transform .2s var(--ease), background-color .2s;
}
.basket-btn:hover { transform: rotate(-6deg) scale(1.05); background: var(--pink-soft); }
.basket-count {
  position: absolute; top: -6px; right: -6px; min-width: 24px; height: 24px; padding: 0 6px;
  display: grid; place-items: center; border-radius: 999px;
  background: var(--pink-deep); color: #fff; font-size: .78rem; font-weight: 800;
  border: 2px solid var(--cream); transform: scale(0); transition: transform .25s var(--ease);
}
.basket-count.has-items { transform: scale(1); }
.basket-count.pop { animation: pop .45s var(--ease); }
@keyframes pop { 40% { transform: scale(1.45); } 100% { transform: scale(1); } }

.menu-toggle { display: none; width: 48px; height: 48px; border: 0; background: none; border-radius: 50%; padding: 12px; }
.menu-toggle span { display: block; height: 2.5px; margin: 5px 0; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .25s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ================= Hero ================= */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 7vw, 6rem);
  background:
    radial-gradient(600px 400px at 85% 30%, #FAE1E5 0%, transparent 70%),
    radial-gradient(500px 380px at 5% 90%, #E1F0EE 0%, transparent 70%);
}
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: clamp(2rem, 5vw, 4rem); }

.hello {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--f-hand); font-size: 1.9rem; color: var(--pink-deep); line-height: 1; margin-bottom: .6rem;
}
.wave { display: inline-block; transform-origin: 70% 70%; animation: wave 2.4s ease-in-out 1s 2; }
@keyframes wave { 0%, 60%, 100% { transform: rotate(0); } 10%, 30% { transform: rotate(16deg); } 20%, 40% { transform: rotate(-8deg); } }

.hero h1 { font-size: clamp(2.6rem, 6.2vw, 4.6rem); font-weight: 700; color: var(--ink); margin-bottom: 1.1rem; }
.hero-ctas { position: relative; }
.nowrap { white-space: nowrap; }
.squiggle {
  color: var(--teal);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12'%3E%3Cpath d='M2 8c10-6 18-6 28 0s18 6 28 0 18-6 28 0 18 6 28 0' fill='none' stroke='%23EC6A9A' stroke-width='3.5' stroke-linecap='round'/%3E%3C/svg%3E") repeat-x left bottom / 120px 12px;
  padding-bottom: 12px;
}
.c-teal { color: var(--teal); }
.c-rose { color: var(--pink-deep); }
.c-peach { color: #B45A35; }
.hero h1 .squiggle { color: #B45A35; }
.pill-tag {
  display: inline-flex; align-items: center; gap: .45rem; margin-bottom: 1rem;
  padding: .45rem 1rem; border-radius: 999px; background: var(--teal); color: #fff;
  font-family: var(--f-head); font-weight: 600; font-size: .95rem; letter-spacing: .02em;
  box-shadow: 0 3px 0 var(--teal-hover);
}
.pill-tag span { color: var(--lemon); }
.hello { display: flex; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 34rem; margin-bottom: 1.8rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 1.8rem; }
.trust { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.trust li {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .4rem .85rem; border-radius: 999px; background: var(--paper);
  border: 1.5px dashed #E2C2C8; font-weight: 700; font-size: .92rem; color: var(--ink);
}

.hero-art { position: relative; aspect-ratio: 1 / 1; max-width: 540px; width: 100%; justify-self: center; }
.blob {
  position: absolute; inset: 8%;
  background: linear-gradient(140deg, #F8D5DC 0%, #FBEBDD 55%, #D6ECE9 100%);
  border-radius: 58% 42% 52% 48% / 46% 56% 44% 54%;
  animation: morph 14s ease-in-out infinite;
  box-shadow: inset 0 -20px 40px rgba(229, 154, 174, .18);
}
@keyframes morph {
  0%, 100% { border-radius: 58% 42% 52% 48% / 46% 56% 44% 54%; }
  50% { border-radius: 44% 56% 40% 60% / 58% 42% 58% 42%; }
}
.art { position: absolute; filter: drop-shadow(0 18px 22px rgba(91, 40, 60, .22)); animation: float 6s ease-in-out infinite; }
.art-jam      { width: 46%; left: 14%; top: 14%; --r: -6deg; }
.art-lemon    { width: 36%; right: 8%; top: 24%; --r: 7deg; animation-delay: -1.5s; }
.art-candle   { width: 31%; right: 4%; bottom: 6%; --r: 4deg; animation-delay: -3s; }
.art-bracelet { width: 42%; left: 10%; bottom: 6%; --r: -10deg; animation-delay: -4.5s; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(var(--r)); } 50% { transform: translateY(-10px) rotate(var(--r)); } }

.sticker {
  position: absolute; display: grid; place-items: center; text-align: center;
  font-family: var(--f-hand); font-size: 1.55rem; line-height: 1; color: var(--ink);
}
.hero-logo {
  position: absolute; right: -3%; top: -1%; width: 30%; max-width: 160px;
  transform: rotate(10deg); filter: drop-shadow(0 12px 18px rgba(59, 42, 51, .22));
  animation: float 7s ease-in-out infinite; --r: 10deg; animation-delay: -2s;
}
.doodle { position: absolute; color: var(--pink); font-size: 2rem; animation: twinkle 3s ease-in-out infinite; }
.doodle-heart { left: 2%; top: 58%; font-size: 2.4rem; }
@keyframes twinkle { 0%, 100% { transform: scale(1) rotate(0); opacity: 1; } 50% { transform: scale(.75) rotate(20deg); opacity: .7; } }


/* Hand-drawn doodles */
.doodle-svg { position: absolute; pointer-events: none; }
.doodle-sun { width: 21%; left: -2%; top: -4%; animation: spin 24s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-ctas .doodle-loop { position: static; align-self: center; width: 96px; transform: rotate(-8deg); }
.section-head { position: relative; }
.doodle-arrow { width: 70px; right: 6%; top: 28%; transform: rotate(8deg); }
.doodle-smilestar { width: 64px; left: -2%; top: -18px; transform: rotate(-12deg); animation: twinkle 4s ease-in-out infinite; }
@media (max-width: 920px) {
  .doodle-loop { display: none; }
  .doodle-arrow { right: 0; top: 0; width: 52px; }
  .doodle-smilestar { left: 0; width: 48px; }
}

/* ================= Ribbon ================= */
.ribbon { background: var(--ink); color: #fff; overflow: hidden; padding: .9rem 0; transform: rotate(-1.2deg); margin: -1rem -10px 0; position: relative; z-index: 2; }
.ribbon-track { display: flex; gap: 1.6rem; width: max-content; animation: marquee 30s linear infinite; font-family: var(--f-head); font-size: 1.15rem; font-weight: 600; }
.ribbon-track span:nth-child(even) { color: var(--pink); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ================= Sections ================= */
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section-head { text-align: center; max-width: 40rem; margin: 0 auto clamp(2rem, 4vw, 3rem); }
.kicker { font-family: var(--f-hand); font-size: 1.7rem; color: var(--pink-deep); line-height: 1; margin-bottom: .3rem; }
.section-head h2, .meet-copy h2 { font-size: clamp(2.1rem, 4.4vw, 3rem); margin-bottom: .6rem; }
.section-sub { color: var(--muted); }

/* ================= Filters ================= */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-bottom: 2.2rem; }
.chip {
  min-height: 44px; padding: .5rem 1.15rem; border-radius: 999px;
  border: 2px solid var(--line); background: var(--paper); font-weight: 800; font-size: .95rem;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s var(--ease);
}
.chip:hover { border-color: var(--pink); transform: translateY(-1px); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ================= Product cards ================= */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: clamp(1.1rem, 2.4vw, 1.75rem); }
.card {
  display: flex; flex-direction: column; background: var(--paper); border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm); border: 1.5px solid var(--line); overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  animation: rise .5s var(--ease) both;
}
.card:hover { transform: translateY(-6px) rotate(-.4deg); box-shadow: var(--shadow-lg); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }

.card-media {
  position: relative; display: block; width: 100%; aspect-ratio: 1 / 1; padding: 10%;
  border: 0; background: var(--tint, var(--pink-soft));
  background-image: radial-gradient(circle at 50% 60%, rgba(255,255,255,.75) 0%, transparent 62%);
}
.card-media img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 14px 16px rgba(91, 40, 60, .2)); transition: transform .45s var(--ease); }
.card:hover .card-media img { transform: scale(1.07) rotate(-2deg); }
.badge {
  position: absolute; top: 14px; left: 14px; z-index: 1;
  padding: .3rem .75rem; border-radius: 999px; background: var(--paper);
  font-size: .8rem; font-weight: 800; color: var(--pink-deep); box-shadow: var(--shadow-sm);
  transform: rotate(-3deg);
}
.soldout-sticker {
  position: absolute; top: 16px; right: 12px; z-index: 2;
  padding: .35rem .8rem; border-radius: 999px;
  background: var(--pink-deep); color: #fff;
  font-family: var(--f-head); font-weight: 600; font-size: .85rem; letter-spacing: .02em;
  transform: rotate(8deg); box-shadow: 0 3px 0 #7E3348, var(--shadow-sm);
}
.is-soldout .card-media img { filter: grayscale(.35) opacity(.8) drop-shadow(0 14px 16px rgba(91, 40, 60, .15)); }
.is-soldout:hover .card-media img { transform: none; }
.price-soon, .pd-price.price-soon { font-size: 1.05rem; color: var(--pink-deep); }
.pd-price.price-soon { font-size: 1.4rem; }
.btn-add:disabled { background: #E9E1E3; color: var(--muted); cursor: not-allowed; transform: none; }
#pdAdd:disabled { background: #E9E1E3; color: var(--muted); box-shadow: none; cursor: not-allowed; transform: none; }
.stepper button:disabled { opacity: .4; cursor: not-allowed; }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 1.15rem 1.3rem 1.3rem; }
.card-body h3 { font-size: 1.3rem; margin-bottom: .3rem; }
.card-desc { color: var(--muted); font-size: .95rem; line-height: 1.5; margin-bottom: 1rem; flex: 1; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.price { font-family: var(--f-head); font-weight: 700; font-size: 1.45rem; color: var(--teal); }

/* ================= Gift sets ================= */
.gifts { background: var(--paper); position: relative; }
.gifts::before, .gifts::after {
  content: ''; position: absolute; left: 0; right: 0; height: 28px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 28'%3E%3Cpath d='M0 28V14C10 0 30 0 40 14v14z' fill='%23FFFFFF'/%3E%3C/svg%3E") repeat-x bottom / 40px 28px;
}
.gifts::before { top: -27px; }
.gifts::after { bottom: -27px; transform: scaleY(-1); }
.gift-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.gift {
  display: flex; flex-direction: column;
  padding: 1.5rem; border-radius: var(--r-lg);
  border: 2.5px dashed #E8C1C9; background: linear-gradient(180deg, #FDF4F5 0%, #fff 100%);
  transition: transform .3s var(--ease), border-color .3s;
}
.gift:hover { transform: translateY(-4px); border-color: var(--pink); }
.gift-pics { display: flex; justify-content: center; margin-bottom: 1rem; }
.gift-pics img {
  width: 96px; height: 96px; object-fit: contain; margin: 0 -10px;
  filter: drop-shadow(0 8px 10px rgba(91, 40, 60, .2));
}
.gift-pics img:nth-child(odd) { transform: rotate(-6deg); }
.gift-pics img:nth-child(even) { transform: rotate(6deg) translateY(-6px); }
.gift h3 { font-size: 1.35rem; margin-bottom: .25rem; }
.gift-blurb { color: var(--muted); font-size: .97rem; }
.gift-items { font-weight: 700; font-size: .9rem; margin: .5rem 0 1.1rem; flex: 1; }

/* ================= Meet Nini ================= */
.meet-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.note-card {
  position: relative; padding: 2.4rem 2rem 2rem; border-radius: 6px;
  background:
    repeating-linear-gradient(transparent 0 37px, #EFD6DB 37px 38px) 0 62px / 100% calc(100% - 62px) no-repeat,
    #FFFDF6;
  box-shadow: var(--shadow-md); transform: rotate(-2.5deg);
  border-left: 4px solid #EBB7BA;
}
.note-card::before {
  content: ''; position: absolute; top: -14px; left: 50%; width: 110px; height: 30px;
  transform: translateX(-50%) rotate(3deg);
  background: rgba(245, 210, 126, .8); border-radius: 3px;
}
.note-label { font-weight: 800; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: .8rem; }
.note-text { font-family: var(--f-hand); font-size: clamp(1.9rem, 3.4vw, 2.4rem); line-height: 1.17; color: var(--ink); }
.note-sign { font-family: var(--f-hand); font-size: 1.7rem; color: var(--pink-deep); text-align: right; margin-top: .8rem; }
.meet-copy p { margin-bottom: 1rem; color: var(--muted); }
.grownup {
  display: flex; gap: .9rem; align-items: flex-start; margin-top: 1.5rem;
  padding: 1.1rem 1.25rem; border-radius: var(--r-md); background: var(--teal-soft);
}
.grownup p { margin: 0; color: var(--ink); font-size: .98rem; }
.grownup-icon { font-size: 1.6rem; line-height: 1.2; }

/* ================= How it works ================= */
.meet { background: var(--teal-soft); }
.how { background: #FFF1CC; position: relative; }
.how::before, .how::after {
  content: ''; position: absolute; left: 0; right: 0; height: 36px; background: #FFF1CC;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 36' preserveAspectRatio='none'%3E%3Cpath d='M0 36V18C33 0 67 0 100 18s67 18 100 0v18z'/%3E%3C/svg%3E") repeat-x bottom / 200px 36px;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 36' preserveAspectRatio='none'%3E%3Cpath d='M0 36V18C33 0 67 0 100 18s67 18 100 0v18z'/%3E%3C/svg%3E") repeat-x bottom / 200px 36px;
}
.how::before { top: -35px; }
.how::after { bottom: -35px; transform: scaleY(-1); }
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; counter-reset: s; }
.steps li { position: relative; background: var(--paper); border-radius: var(--r-lg); padding: 2rem 1.6rem 1.6rem; box-shadow: var(--shadow-sm); }
.step-num {
  display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 1rem;
  border-radius: 50%; background: var(--lemon); font-family: var(--f-head); font-weight: 700; font-size: 1.5rem;
  transform: rotate(-8deg); box-shadow: 0 4px 0 #DDB359;
}
.steps h3 { font-size: 1.3rem; margin-bottom: .35rem; }
.steps p { color: var(--muted); font-size: .98rem; }

/* ================= FAQ ================= */
.faq-inner { max-width: 760px; }
.faq-list { display: grid; gap: .8rem; }
details { background: var(--paper); border-radius: var(--r-md); border: 1.5px solid var(--line); transition: border-color .2s; }
details[open] { border-color: var(--pink); }
summary {
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.1rem 1.35rem; font-family: var(--f-head); font-weight: 600; font-size: 1.12rem; cursor: pointer;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: '+'; flex: none; display: grid; place-items: center; width: 32px; height: 32px;
  border-radius: 50%; background: var(--pink-soft); color: var(--pink-deep); font-size: 1.3rem; transition: transform .25s var(--ease);
}
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 1.35rem 1.2rem; color: var(--muted); }

/* ================= Footer ================= */
.site-footer { position: relative; background: var(--teal); color: #fff; padding: 3.5rem 0 2.5rem; text-align: center; margin-top: 28px; }
.site-footer::before {
  content: ''; position: absolute; left: 0; right: 0; top: -27px; height: 28px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 28'%3E%3Cpath d='M0 28V14C10 0 30 0 40 14v14z' fill='%232E7472'/%3E%3C/svg%3E") repeat-x bottom / 40px 28px;
}
.footer-inner { display: grid; gap: .5rem; justify-items: center; }
.footer-badge { width: 120px; height: 120px; margin-bottom: .5rem; filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .22)); }
.footer-logo { font-family: var(--f-head); font-weight: 700; font-size: 1.8rem; color: #fff; }
.footer-logo span { color: #FBE6E8; }
.footer-small { font-size: .88rem; color: #E1F0EE; }

/* ================= Dialogs ================= */
dialog { border: 0; padding: 0; color: var(--ink); background: var(--paper); }
dialog::backdrop { background: rgba(59, 42, 51, .45); backdrop-filter: blur(3px); }
dialog[open] { animation: dlgIn .32s var(--ease); }
@keyframes dlgIn { from { opacity: 0; transform: translateY(18px) scale(.98); } }

.icon-close {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: var(--cream); font-size: 1.7rem; line-height: 1;
  transition: background-color .2s, transform .2s var(--ease);
}
.icon-close:hover { background: var(--pink-soft); transform: rotate(90deg); }

.sheet { margin: auto; width: min(860px, 100% - 2rem); max-height: calc(100dvh - 2rem); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: auto; }

.pd-grid { display: grid; grid-template-columns: 1fr 1fr; }
.pd-image {
  display: grid; place-items: center; padding: 2.5rem; min-height: 320px;
  background: var(--tint, var(--pink-soft));
  background-image: radial-gradient(circle at 50% 60%, rgba(255,255,255,.75) 0%, transparent 65%);
}
.pd-image img { width: 100%; max-width: 340px; filter: drop-shadow(0 18px 22px rgba(91, 40, 60, .22)); }
.pd-body { padding: 2.5rem 2rem 2rem; display: flex; flex-direction: column; gap: .7rem; }
.pd-body .badge { position: static; align-self: flex-start; }
.pd-body h2 { font-size: 2rem; }
.pd-price { font-family: var(--f-head); font-size: 1.7rem; font-weight: 700; color: var(--teal); }
.pd-desc { color: var(--muted); }
.pd-info { font-size: .9rem; padding: .7rem .9rem; border-radius: var(--r-sm); background: #FFF6DB; }
.pd-actions { display: grid; grid-template-columns: auto 1fr; gap: .8rem; align-items: center; margin-top: auto; padding-top: .5rem; }

.stepper { display: inline-flex; align-items: center; border: 2px solid var(--line); border-radius: 999px; background: var(--paper); }
.stepper button { width: 44px; height: 44px; border: 0; background: none; font-size: 1.3rem; font-weight: 800; border-radius: 50%; }
.stepper button:hover { background: var(--pink-soft); }
.stepper output { min-width: 2ch; text-align: center; font-weight: 800; }
.stepper.small button { width: 36px; height: 36px; font-size: 1.1rem; }

/* Fields */
.field { display: grid; gap: .35rem; margin-bottom: 1rem; border: 0; padding: 0; }
.field label, .field legend { font-weight: 800; font-size: .95rem; }
.optional { font-weight: 600; color: var(--muted); font-size: .88rem; }
input[type="text"], input[type="email"], input[type="tel"], textarea {
  width: 100%; min-height: 48px; padding: .7rem 1rem;
  border: 2px solid var(--line); border-radius: var(--r-sm); background: #FFFCFA;
  transition: border-color .2s, box-shadow .2s;
}
textarea { resize: vertical; min-height: 90px; }
#pdNote { text-transform: uppercase; letter-spacing: .08em; }
#pdNote::placeholder { letter-spacing: .04em; }
input:focus, textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(46, 116, 114, .15); }
input[aria-invalid="true"] { border-color: var(--pink-deep); }
.error { color: var(--pink-deep); font-weight: 700; font-size: .9rem; }
.radio-row { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-top: .35rem; }
.radio-card {
  display: flex; align-items: center; gap: .6rem; min-height: 52px; padding: .7rem 1rem;
  border: 2px solid var(--line); border-radius: var(--r-sm); font-weight: 700 !important; cursor: pointer;
  transition: border-color .2s, background-color .2s;
}
.radio-card:has(input:checked) { border-color: var(--teal); background: var(--teal-soft); }
.radio-card input { accent-color: var(--teal); width: 18px; height: 18px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Basket drawer */
.drawer {
  margin: 0 0 0 auto; height: 100dvh; max-height: 100dvh; width: min(440px, 100%);
  display: none; flex-direction: column; border-radius: var(--r-lg) 0 0 var(--r-lg); box-shadow: var(--shadow-lg);
}
.drawer[open] { display: flex; animation: slideIn .38s var(--ease); }
@keyframes slideIn { from { transform: translateX(100%); } }
.drawer-head { position: relative; padding: 1.5rem 1.5rem 1rem; border-bottom: 1.5px solid var(--line); }
.drawer-head h2 { font-size: 1.7rem; }
.drawer-head .icon-close { top: 50%; transform: translateY(-50%); }
.drawer-head .icon-close:hover { transform: translateY(-50%) rotate(90deg); }
.drawer-body { flex: 1; overflow-y: auto; padding: 1rem 1.5rem; }
.drawer-foot { padding: 1.25rem 1.5rem 1.5rem; border-top: 1.5px solid var(--line); background: #FFFCFA; }
.total-row { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.1rem; }
.total-row strong { font-family: var(--f-head); font-size: 1.8rem; color: var(--teal); }
.pay-note { font-size: .88rem; color: var(--muted); margin: .2rem 0 1rem; }

.line { display: grid; grid-template-columns: 72px 1fr auto; gap: 1rem; align-items: center; padding: 1rem 0; border-bottom: 1.5px dashed var(--line); }
.line img { width: 72px; height: 72px; object-fit: contain; padding: 6px; border-radius: var(--r-sm); background: var(--tint); }
.line-name { font-weight: 800; line-height: 1.3; }
.line-note { font-weight: 800; font-size: .85rem; letter-spacing: .06em; color: var(--pink-deep); }
.line-info .stepper { margin-top: .4rem; }
.line-end { text-align: right; }
.line-price { font-family: var(--f-head); font-weight: 700; font-size: 1.15rem; }
.remove { border: 0; background: none; color: var(--muted); font-size: .85rem; text-decoration: underline; padding: .3rem 0; min-height: 32px; }
.remove:hover { color: var(--pink-deep); }

.empty { text-align: center; padding: 3rem 1rem; color: var(--muted); }
.empty-art { font-size: 4rem; margin-bottom: .5rem; }
.empty .btn { margin-top: 1.25rem; }

/* Checkout */
.checkout-sheet { width: min(560px, 100% - 2rem); padding: 2.25rem 2rem 1.75rem; }
.checkout-sheet h2 { font-size: 2rem; margin-bottom: .3rem; padding-right: 3rem; }
.checkout-sub { color: var(--muted); margin-bottom: 1.5rem; }
.order-mini { background: var(--cream); border-radius: var(--r-md); padding: 1rem 1.2rem; margin: .5rem 0 1rem; }
.order-mini-title { font-weight: 800; margin-bottom: .4rem; }
.order-mini ul { list-style: none; padding: 0; display: grid; gap: .25rem; font-size: .95rem; }
.order-mini li, .order-mini-total { display: flex; justify-content: space-between; gap: 1rem; }
.order-mini em { font-family: var(--f-hand); font-style: normal; font-size: 1.15rem; color: var(--pink-deep); }
.order-mini-total { margin-top: .6rem; padding-top: .6rem; border-top: 1.5px dashed var(--line); }
.order-mini-total strong { font-family: var(--f-head); color: var(--teal); font-size: 1.3rem; }
.privacy { text-align: center; font-size: .85rem; color: var(--muted); margin-top: .8rem; }

/* Thank-you */
.thanks-sheet { width: min(460px, 100% - 2rem); padding: 2.5rem 2rem 2rem; text-align: center; }
.thanks-art { font-size: 4.5rem; margin-bottom: .5rem; animation: float 3s ease-in-out infinite; --r: -6deg; }
.thanks-sheet h2 { font-size: 2.1rem; margin-bottom: .6rem; }
.thanks-sheet p { color: var(--muted); margin-bottom: 1.4rem; }
.demo-note { font-size: .88rem; background: #FFF6DB; color: var(--ink) !important; padding: .8rem 1rem; border-radius: var(--r-sm); }
.demo-note code { font-size: .85em; }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 300;
  transform: translate(-50%, 140%); opacity: 0;
  padding: .85rem 1.3rem; border-radius: 999px; background: var(--ink); color: #fff;
  font-weight: 700; box-shadow: var(--shadow-lg); max-width: calc(100% - 2rem); text-align: center;
  transition: transform .4s var(--ease), opacity .3s;
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }

/* Heart burst + confetti */
.heart-burst {
  position: fixed; z-index: 400; pointer-events: none; color: var(--pink); font-size: 1.1rem;
  animation: burst .9s var(--ease) forwards;
}
@keyframes burst {
  from { transform: translate(-50%, -50%) scale(.4); opacity: 1; }
  to { transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(1.2) rotate(var(--rot)); opacity: 0; }
}
.confetti {
  position: fixed; top: -12px; z-index: 400; width: 9px; height: 14px; border-radius: 2px; pointer-events: none;
  animation: fall 2.2s cubic-bezier(.3, .6, .5, 1) forwards;
}
@keyframes fall { to { transform: translateY(105vh) rotate(var(--rot)); opacity: .8; } }

/* ================= Responsive ================= */
@media (max-width: 920px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { order: 2; }
  .hero-art { order: 1; max-width: 400px; }
  .lead { margin-inline: auto; }
  .hello { justify-content: center; }
  .hero-ctas, .trust { justify-content: center; }
  .meet-inner { grid-template-columns: 1fr; }
  .note-card { max-width: 440px; justify-self: center; }
  .steps { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .menu-toggle { display: block; }
  .nav {
    position: absolute; top: var(--header-h); left: 1rem; right: 1rem;
    flex-direction: column; padding: .75rem; gap: .15rem;
    background: var(--teal); border-radius: var(--r-md); box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .2s, transform .25s var(--ease), visibility .2s;
  }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav a { padding: .85rem 1rem; font-size: 1.05rem; }
  .pd-grid { grid-template-columns: 1fr; }
  .pd-image { min-height: 0; padding: 2rem; }
  .pd-image img { max-width: 220px; }
  .pd-body { padding: 1.5rem 1.4rem 1.6rem; }
}

@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
  .container { width: min(1160px, 100% - 1.75rem); }
  .logo-text { font-size: 1.2rem; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: .8rem; }
  .card { border-radius: var(--r-md); }
  .card-body { padding: .85rem .9rem 1rem; }
  .card-body h3 { font-size: 1.08rem; }
  .card-desc { display: none; }
  .card-foot { flex-direction: column; align-items: stretch; gap: .5rem; }
  .price { font-size: 1.25rem; }
  .btn-add { width: 100%; }
  .badge { top: 8px; left: 8px; font-size: .7rem; padding: .2rem .55rem; }
  .soldout-sticker { top: 8px; right: 6px; font-size: .72rem; padding: .25rem .6rem; }
  .hero-logo { width: 30%; right: 0; }
  .checkout-sheet { padding: 2rem 1.25rem 1.5rem; }
  .radio-row { grid-template-columns: 1fr; }
  .drawer { border-radius: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
