/* ============================================================
   Lily Letterhouse: ivory, wine and blush
   ============================================================ */
:root {
  /* ivory base, deep wine (the logo's colour) for actions, blush for soft touches, a little gold */
  --pink-50: #fbf6f1;     /* page background: ivory */
  --pink-100: #f4ebe4;    /* soft sections: cream */
  --pink-200: #efdde0;    /* blush */
  --pink-300: #e6c6cf;
  --pink-400: #c98ea2;
  --rose: #7d2942;        /* wine: headings' accents, links */
  --rose-dark: #5e1d31;
  --gold: #c4a46a;
  --gold-pale: #f6eedf;
  --gold-dark: #8a6420;
  --ink: #3a2a2e;
  --muted: #85766f;
  --white: #fffdfa;       /* cards */
  --line: #eadfd6;
  --danger: #b4434e;

  --display: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", system-ui, -apple-system, sans-serif;

  --btn: #7d2942;         /* filled buttons, chips and badges */
  --btn-hover: #5e1d31;
  --btn-text: #fffdfa;
  --danger-bg: #fdecee;
  --logo-ink: #7d2942;
  --logo-soft: #e9a9bd;
  --logo-accent: #b85c7c;
  --header-bg: rgba(251, 246, 241, 0.88);
  --frame: #fff;            /* the white edge around phone previews */

  --radius: 22px;
  --shadow: 0 18px 40px -20px rgba(125, 41, 66, 0.28);
  color-scheme: light;
}

/* ---------- Dark mode ----------
   Follows the visitor's device unless they pick light or dark with the
   header toggle (saved as data-theme on <html>). */
:root[data-theme="dark"] {
  --pink-50: #171112;
  --pink-100: #211819;
  --pink-200: #33252a;
  --pink-300: #4d3840;
  --pink-400: #8a6672;
  --rose: #e2a1b4;
  --rose-dark: #f1c3d0;
  --gold: #c4a46a;
  --gold-pale: #2e261b;
  --gold-dark: #d8bb85;
  --ink: #f4ebe4;
  --muted: #b6a49d;
  --white: #201719;
  --line: #382a2e;
  --danger: #f2939d;
  --danger-bg: #3d1f25;
  --btn: #8e3350;
  --btn-hover: #a23e5e;
  --btn-text: #fbf3ee;
  --logo-ink: #f4ebe4;
  --logo-soft: #d98fa6;
  --logo-accent: #e2a1b4;
  --header-bg: rgba(23, 17, 18, 0.88);
  --frame: #2c2124;
  --shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.75);
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --pink-50: #171112;
    --pink-100: #211819;
    --pink-200: #33252a;
    --pink-300: #4d3840;
    --pink-400: #8a6672;
    --rose: #e2a1b4;
    --rose-dark: #f1c3d0;
    --gold: #c4a46a;
    --gold-pale: #2e261b;
    --gold-dark: #d8bb85;
    --ink: #f4ebe4;
    --muted: #b6a49d;
    --white: #201719;
    --line: #382a2e;
    --danger: #f2939d;
    --danger-bg: #3d1f25;
    --btn: #8e3350;
    --btn-hover: #a23e5e;
    --btn-text: #fbf3ee;
    --logo-ink: #f4ebe4;
    --logo-soft: #d98fa6;
    --logo-accent: #e2a1b4;
    --header-bg: rgba(23, 17, 18, 0.88);
    --frame: #2c2124;
    --shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.75);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  background: var(--pink-50);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  /* keep the footer at the bottom on short pages */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
body > main { flex: 1; width: 100%; }

img { max-width: 100%; display: block; }
a { color: inherit; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }

/* Fade in on scroll (classes added by js/layout.js). An animation rather
   than a transition, so hover effects on cards keep working afterwards. */
.fade:not(.in) { opacity: 0; }
.fade.in { animation: fade-up 0.8s ease backwards; animation-delay: calc(var(--fade-i, 0) * 110ms); }
@keyframes fade-up {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: translateY(0); }
}

h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.15; margin: 0; }
h1 { font-size: clamp(2.4rem, 7vw, 4rem); }
h2 { font-size: clamp(1.9rem, 5vw, 2.8rem); }
h3 { font-size: 1.35rem; }
em { font-style: italic; color: var(--rose); }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rose);
  margin: 0 0 12px;
}
.lead { font-size: 1.12rem; color: var(--muted); max-width: 560px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font: 600 0.95rem var(--sans);
  text-decoration: none;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn-primary { background: var(--btn); color: var(--btn-text); box-shadow: 0 10px 22px -12px rgba(125, 41, 66, 0.6); }
.btn-primary:hover { background: var(--btn-hover); }
.btn-soft { background: var(--pink-100); color: var(--rose-dark); }
.btn-soft:hover { background: var(--pink-200); }
.btn-outline { background: transparent; color: var(--rose-dark); border-color: var(--pink-300); }
.btn-outline:hover { background: var(--white); border-color: var(--rose); }
.btn-small { padding: 9px 18px; font-size: 0.85rem; }
.btn-block { width: 100%; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--rose-dark); text-decoration: underline; cursor: pointer; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--header-bg);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 72px; }

/* the logo (js/logo.js): wide in the header, a shorter one on phones, the heart in the footer */
.brand { display: inline-flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.brand .logo-img { display: block; height: 42px; width: auto; }
.logo-img.logo-on-dark { display: none; }
:root[data-theme="dark"] .logo-img.logo-on-light { display: none; }
:root[data-theme="dark"] .logo-img.logo-on-dark { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .logo-img.logo-on-light { display: none; }
  :root:not([data-theme="light"]) .logo-img.logo-on-dark { display: block; }
}

.main-nav { display: flex; gap: 4px; margin-left: auto; }
.main-nav a {
  padding: 8px 14px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;
  color: var(--muted);
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { background: var(--pink-100); color: var(--rose-dark); }

.header-actions { display: flex; align-items: center; gap: 6px; }
.icon-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
}
.icon-btn:hover { background: var(--pink-100); }
/* light / dark toggle: shows the moon in light mode, the sun in dark mode */
.theme-btn .sun { display: none; }
:root[data-theme="dark"] .theme-btn .sun { display: block; }
:root[data-theme="dark"] .theme-btn .moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-btn .sun { display: block; }
  :root:not([data-theme="light"]) .theme-btn .moon { display: none; }
}
.icon-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.avatar {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--btn);
  color: var(--btn-text);
  font-weight: 600;
  font-size: 0.9rem;
}
.badge {
  position: absolute;
  top: 4px;
  right: 2px;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--btn);
  color: var(--btn-text);
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 19px;
  text-align: center;
  border: 2px solid var(--pink-50);
}
.menu-btn { display: none; }

/* small phones: keep the logo clear of the header buttons */
@media (max-width: 400px) {
  .site-header .brand .logo-img { height: 34px; }
  .site-header .container { padding: 0 12px; }
  .site-header .icon-btn { width: 38px; }
}
@media (max-width: 340px) {
  .site-header .brand .logo-img { height: 32px; }
  .site-header .icon-btn { width: 33px; }
}

@media (max-width: 760px) {
  .header-inner { gap: 8px; height: 64px; }
  .brand .logo-img { height: 36px; }
  .menu-btn { display: grid; }
  .header-actions { margin-left: auto; gap: 2px; }
  .main-nav {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 2px;
    padding: 10px 16px 18px;
    background: var(--pink-50);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 30px -20px rgba(125, 41, 66, 0.25);
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 14px; }
}

/* ---------- Sections ---------- */
.section { padding: 90px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head h2::after { content: ""; display: block; width: 46px; height: 1px; margin: 18px auto 0; background: var(--gold); }
.section-head .lead { margin: 14px auto 0; }
.section-pink { background: var(--pink-100); }
.section.no-top { padding-top: 0; }
.more-link { text-align: center; margin: 36px 0 0; }
.page-end { height: 90px; }

/* ---------- Small helpers ---------- */
.muted { color: var(--muted); }
.center { text-align: center; }
.stack { display: grid; gap: 10px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 60px 0 90px; }
.hero::before {
  content: "";
  position: absolute;
  width: 760px;
  height: 760px;
  right: -220px;
  top: -200px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--pink-200), transparent 65%);
  z-index: -1;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
/* the brand name as the headline (same lettering as the logo) */
.hero-title { display: inline-flex; flex-direction: column; align-items: center; line-height: 1; }
.hero .hero-title { margin: 0 0 30px; }
.ht-name { font-family: "Yellowtail", cursive; font-weight: 400; font-size: clamp(3rem, 7.4vw, 5.6rem); color: var(--logo-ink); padding-left: .08em; }
.ht-co { font-family: "Bodoni Moda", Georgia, serif; font-weight: 500; font-size: clamp(.78rem, 1.7vw, 1.02rem); letter-spacing: .32em; text-transform: uppercase; color: var(--logo-accent); margin: 1.9em 0 0; padding-left: .32em; }
.ht-heart { letter-spacing: 0; margin-right: .32em; font-family: "DM Sans", sans-serif; }
.ht-heart + .ht-heart, .ht-heart.end { margin: 0 0 0 .02em; }
/* hero-title on phones: keep the capitals no wider than the name */
@media (max-width: 520px) {
  .ht-name { font-size: 3rem; }
  .ht-co { font-size: .62rem; letter-spacing: .2em; padding-left: .2em; }
}
.hero .lead { margin: 0 0 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-actions.centered { justify-content: center; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 30px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 0.92rem; }
.hero-points li:first-child { flex-basis: 100%; }  /* WhatsApp line on its own, the other two share the next line */
.hero-points li::before { content: "\2665\FE0E"; color: var(--rose); margin-right: 8px; }
.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-visual .phone { transform: rotate(3deg); }
.hero-visual .phone.second {
  position: absolute;
  left: 2%;
  bottom: -30px;
  transform: rotate(-6deg);
  z-index: -1;
  opacity: 0.95;
}

/* the phones rise in one after the other, the cards fade in, then both drift gently */
@media (prefers-reduced-motion: no-preference) {
  .hero-visual .phone { animation: phone-in 1s cubic-bezier(.2, .7, .2, 1) 0.15s both, drift 7s ease-in-out 1.2s infinite; }
  .hero-visual .phone.second { animation-delay: 0.45s, 1.6s; animation-duration: 1s, 8s; }
  .hero-visual .phone > img { animation: card-in 1.4s ease 0.5s both; }
  .hero-visual .phone.second > img { animation-delay: 0.8s; }
}
@keyframes phone-in { from { opacity: 0; translate: 0 40px; } }
@keyframes card-in { from { opacity: 0; scale: 1.06; } }
@keyframes drift { 50% { translate: 0 -10px; } }

@media (max-width: 860px) {
  .hero { padding: 36px 0 70px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { margin-top: 20px; }
  .hero-visual .phone.second { left: 4%; }
}

/* ---------- Phone mockup with a live demo ---------- */
.phone {
  --s: 0.5;
  position: relative;
  box-sizing: content-box;
  width: calc(390px * var(--s));
  height: calc(844px * var(--s));
  border: 8px solid var(--frame);
  border-radius: 34px;
  overflow: hidden;
  background: var(--frame);
  box-shadow: 0 0 0 1px var(--line), var(--shadow);
  flex-shrink: 0;
}
.phone iframe {
  width: 390px;
  height: 844px;
  border: 0;
  transform: scale(var(--s));
  transform-origin: 0 0;
  pointer-events: none;
}
.phone.interactive iframe { pointer-events: auto; }
.phone > img { display: block; width: 100%; height: 100%; object-fit: cover; }

.swatches { display: inline-flex; }
.swatches i { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--white); margin-left: -5px; box-shadow: 0 0 0 1px var(--line); }
.swatches i:first-child { margin-left: 0; }

/* ---------- Design cards ---------- */
.design-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}
.design-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}
.design-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-preview {
  display: flex;
  justify-content: center;
  padding: 28px 0;
  overflow: hidden;
  background: linear-gradient(160deg, var(--pink-100), var(--pink-200));
}
.card-preview .phone { transition: transform 0.4s ease; }
.design-card:hover .card-preview .phone { transform: translateY(-10px); }
.card-body { padding: 18px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.card-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.tags { font-size: 0.78rem; color: var(--muted); letter-spacing: 0.04em; }
.card-body h3 a { text-decoration: none; }
.card-body p { margin: 4px 0 18px; color: var(--muted); }
.card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; }
.price { color: var(--muted); font-size: 0.92rem; }
.price strong { color: var(--ink); font-size: 1.1rem; }

/* ---------- Filters ---------- */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 36px; }
.chip {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--white);
  font: 500 0.9rem var(--sans);
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
}
.chip:hover { border-color: var(--pink-400); color: var(--rose-dark); }
.chip[aria-pressed="true"] { background: var(--btn); border-color: var(--btn); color: var(--btn-text); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step {
  position: relative;
  padding: 30px 24px 26px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--pink-100);
  color: var(--rose-dark);
  box-shadow: inset 0 0 0 1.5px var(--gold);
  font: italic 600 1.2rem var(--display);
}
.step h3 { font-size: 1.15rem; margin-bottom: 6px; }
.step p { margin: 0; color: var(--muted); font-size: 0.95rem; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Features ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { display: flex; gap: 14px; padding: 20px; border-radius: 18px; background: var(--white); border: 1px solid var(--line); }
.feature .f-icon { flex-shrink: 0; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 14px; background: var(--pink-100); color: var(--rose); }
.feature .f-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font: 600 1rem var(--sans); margin: 2px 0 4px; }
.feature p { margin: 0; color: var(--muted); font-size: 0.92rem; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
}
.plan.popular { border-color: var(--pink-400); box-shadow: var(--shadow); }
.plan .ribbon {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 14px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.plan h3 { font-size: 1.5rem; }
.plan .blurb { color: var(--muted); margin: 6px 0 18px; font-size: 0.95rem; }
.plan .amount { font: 500 2.6rem var(--display); line-height: 1; margin-bottom: 4px; }
.plan .per { color: var(--muted); font-size: 0.85rem; margin-bottom: 22px; }
.ticks { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; font-size: 0.95rem; }
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--pink-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23a8435f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.plan .btn { margin-top: auto; }
@media (max-width: 900px) { .pricing { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }

/* ---------- Comparison table ---------- */
.compare-wrap {
  max-width: 900px;
  margin: 0 auto;
  overflow-x: auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.compare { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 0.95rem; }
.compare th, .compare td { padding: 14px 18px; border-bottom: 1px solid var(--line); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare thead th { font: 500 1.2rem var(--display); text-align: center; vertical-align: bottom; }
.compare thead th small { display: block; font: 500 0.85rem var(--sans); color: var(--muted); margin-top: 2px; }
.compare tbody th { text-align: left; font-weight: 500; }
.compare td { text-align: center; color: var(--ink); white-space: nowrap; }
.compare .popular { background: var(--pink-50); }
.compare thead th.popular { color: var(--rose-dark); box-shadow: inset 0 3px 0 var(--gold); }
.compare .yes { color: var(--rose); font-weight: 700; }
.compare .no { color: var(--pink-300); }
/* keep feature names in view while the table scrolls sideways on phones */
.compare th:first-child { position: sticky; left: 0; background: var(--white); min-width: 190px; }
/* phones: fit all three packages without sideways scrolling */
@media (max-width: 600px) {
  .compare { min-width: 0; font-size: 0.82rem; }
  .compare th, .compare td { padding: 11px 6px; }
  .compare th:first-child { min-width: 0; width: 40%; padding-left: 14px; }
  .compare thead th { font-size: 0.95rem; }
  .compare td { white-space: normal; }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- About ---------- */
.about { max-width: 680px; padding-top: 72px; padding-bottom: 96px; }
.about-top { margin-bottom: 44px; text-align: center; }
.about-top h1 { margin: 0; font-size: clamp(2.2rem, 6vw, 3rem); }
.about p { margin: 0; color: var(--muted); }
.about-top p { margin-top: 12px; font-size: 1.08rem; }
.about-item { display: grid; grid-template-columns: 56px 1fr; gap: 20px; margin-bottom: 30px; }
.about-item > img { display: block; }
.about-item > img, .about-item .logo-img { width: 56px; height: 56px; object-fit: contain; }
.about-item h2 { margin: 0 0 4px; font-size: 1.3rem; }
.about-end { margin-top: 44px; text-align: center; }
.about-end h2 { margin: 0; font-size: 1.5rem; }
.about-end p { margin: 8px 0 18px; }

/* ---------- Privacy, Terms, Refund ---------- */
.legal { max-width: 720px; padding-top: 64px; padding-bottom: 88px; }
.legal h1 { margin: 0; font-size: clamp(2.2rem, 6vw, 3rem); }
.legal-date { margin: 8px 0 26px; color: var(--muted); font-size: 0.9rem; }
.legal h2 { margin: 30px 0 8px; font-size: 1.3rem; }
.legal p, .legal li { color: var(--muted); }
.legal strong { color: var(--ink); }
.legal p { margin: 0 0 12px; }
.legal ul { margin: 0 0 12px; padding-left: 20px; }
.legal li { margin-bottom: 6px; }
.legal-agree { margin: 12px 0 0; color: var(--muted); font-size: 0.84rem; text-align: center; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 0 22px; }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 30px 18px 0;
  font-weight: 600;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 1.4rem; color: var(--rose); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; color: var(--muted); }
.faq-more { margin: 22px 0 0; text-align: center; font-weight: 600; }
.faq-group { margin-bottom: 44px; }
.faq-group h2 { max-width: 760px; margin: 0 auto 14px; font-size: 1.5rem; }
.empty-state.faq-help { padding: 10px 20px 80px; }

/* ---------- How it works page ---------- */
.how-jump {
  list-style: none;
  counter-reset: jump;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0 0 56px;
  padding: 0;
}
.how-jump a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px 8px 8px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--white);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  transition: border-color 0.2s, color 0.2s;
}
.how-jump a::before {
  counter-increment: jump;
  content: counter(jump);
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--pink-100);
  color: var(--rose-dark);
  font: italic 600 0.85rem var(--display);
}
.how-jump a:hover { border-color: var(--pink-400); color: var(--rose-dark); }

.how-steps { display: grid; gap: 96px; padding-bottom: 96px; }
.how-step { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; scroll-margin-top: 100px; }
.how-step:nth-child(even) .how-visual { order: -1; }
.how-num {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--pink-100);
  color: var(--rose-dark);
  box-shadow: inset 0 0 0 1.5px var(--gold);
  font: italic 600 1.3rem var(--display);
}
.how-text h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin-bottom: 14px; }
.how-text p { color: var(--muted); margin: 0 0 22px; font-size: 1.05rem; }
.how-text .ticks { margin-bottom: 22px; }
.try-note { font-size: 0.9rem !important; font-style: italic; color: var(--rose-dark) !important; }

.how-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px;
  padding: 36px 20px;
  border-radius: 28px;
  background: linear-gradient(160deg, var(--pink-100), var(--pink-200));
  overflow: hidden;
}
.example-tag {
  position: absolute;
  top: 14px;
  right: 16px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--gold-pale);
  color: var(--gold-dark);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* 1: fan of phones */
.phone-fan { display: flex; align-items: flex-end; justify-content: center; }
.phone-fan .phone { border-width: 6px; border-radius: 24px; }
.phone-fan .phone:nth-child(1) { transform: rotate(-8deg) translate(30px, 16px); }
.phone-fan .phone:nth-child(2) { z-index: 1; transform: translateY(-6px); }
.phone-fan .phone:nth-child(3) { transform: rotate(8deg) translate(-30px, 16px); }

/* 2 & 3: mock cards */
.mock-card {
  width: min(380px, 100%);
  padding: 24px;
  background: var(--white);
  border-radius: 22px;
  box-shadow: var(--shadow);
}
.mock-title { font: 500 1.25rem var(--display); margin: 0 0 16px; }
.mock-card .ticks { margin: 0; }
.mock-card .ticks li { font-size: 0.95rem; }
.pkg-tag { display: block; font-size: 0.75rem; color: var(--gold-dark); font-weight: 600; }
.mock-packages .pkg { cursor: default; margin-bottom: 10px; padding: 12px 14px; }
.mock-packages .pkg .pkg-price { font-size: 1.1rem; }
.mock-packages .pkg.is-selected { border-color: var(--rose); box-shadow: 0 0 0 3px var(--pink-200); }
.mock-packages .radio { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--pink-400); }
.mock-packages .is-selected .radio { border: 5px solid var(--rose); }
.mock-packages .btn { margin-top: 6px; cursor: default; }
.mock-packages .btn:hover { transform: none; }

/* 4 & 5: chat bubbles */
.bubble {
  position: relative;
  max-width: 82%;
  padding: 10px 14px 18px;
  border-radius: 18px;
  font-size: 0.92rem;
  line-height: 1.45;
  box-shadow: 0 6px 14px -8px rgba(61, 43, 51, 0.35);
}
.bubble .time { position: absolute; right: 12px; bottom: 4px; font-size: 0.68rem; opacity: 0.65; }
.bubble.them { background: var(--white); color: var(--ink); border-bottom-left-radius: 4px; align-self: flex-start; }
.bubble.you { background: var(--btn); color: var(--btn-text); border-bottom-right-radius: 4px; align-self: flex-end; }
.bubble:not(:has(.time)) { padding-bottom: 10px; }

.review-scene { display: flex; align-items: center; justify-content: center; gap: 16px; }
.review-chat { display: flex; flex-direction: column; gap: 8px; width: 190px; flex-shrink: 0; }
.review-chat .bubble { max-width: 100%; }

.chat { display: flex; flex-direction: column; gap: 10px; width: min(380px, 100%); }
.link-card { margin: -4px -8px 10px; border-radius: 12px; overflow: hidden; background: rgba(255, 255, 255, 0.14); }
.link-thumb {
  display: grid;
  place-items: center;
  height: 120px;
  background: linear-gradient(rgba(251, 247, 239, 0.5), rgba(251, 247, 239, 0.5)),
              url("../../demos/misty-woodland/assets/back.jpg") 50% 30% / cover, #efe6d6;
}
.link-thumb span { font: italic 400 1.5rem "Playfair Display", Georgia, serif; color: #4a4436; }
.link-thumb i { color: #a88c52; }
.link-meta { padding: 8px 10px; display: grid; gap: 2px; }
.link-meta strong { font-size: 0.85rem; }
.link-meta small { font-size: 0.75rem; opacity: 0.85; }

/* 7: RSVP dashboard mock-up */
.rsvp-dash {
  width: min(520px, 100%);
  padding: 20px;
  background: var(--white);
  border-radius: 22px;
  box-shadow: var(--shadow);
  font-size: 0.85rem;
}
.dash-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; }
.dash-head strong { display: block; font: 500 1.2rem var(--display); }
.dash-head small { color: var(--muted); }
.dash-head .btn { cursor: default; white-space: nowrap; }
.dash-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.dash-stats div { padding: 10px; border-radius: 14px; background: var(--pink-50); text-align: center; }
.dash-stats strong { display: block; font: 500 1.6rem var(--display); color: var(--rose-dark); line-height: 1.1; }
.dash-stats span { color: var(--muted); font-size: 0.78rem; }
.dash-table { width: 100%; border-collapse: collapse; }
.dash-table th { text-align: left; font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); font-weight: 600; padding: 6px 6px; border-bottom: 1px solid var(--line); }
.dash-table td { padding: 9px 6px; border-bottom: 1px dashed var(--line); }
.dash-table tr:last-child td { border-bottom: 0; }
.reply { padding: 2px 8px; border-radius: 999px; font-size: 0.75rem; font-weight: 600; white-space: nowrap; }
.reply.yes { background: #e3f1e8; color: #2f6b4a; }
.reply.no { background: #eeeaec; color: #6f6469; }
/* RSVPs: the summary under an order, and the full RSVP page */
.order-details { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.order-details h4 { margin: 0; }
.order-details small { color: var(--muted); }
.order-rsvp { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.order-rsvp-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.order-rsvp-head h4 { margin: 0; font: 500 1.1rem var(--display); }
.order-rsvp-head small { color: var(--muted); }
.order-rsvp .dash-stats { margin-bottom: 14px; }
.rsvp-page { padding-bottom: 90px; }
.rsvp-totals { grid-template-columns: repeat(4, 1fr); margin-bottom: 20px; }
.rsvp-totals div { background: var(--white); box-shadow: 0 0 0 1px var(--line); }
.rsvp-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 16px; }
.rsvp-tools .filters { margin: 0; justify-content: flex-start; }
.rsvp-search { flex: 1; min-width: 180px; max-width: 280px; background: var(--white); }
.rsvp-list { padding: 8px 20px; overflow-x: auto; }
.rsvp-list .dash-table { font-size: 0.93rem; }
.nowrap { white-space: nowrap; }
@media (max-width: 560px) { .rsvp-totals { grid-template-columns: 1fr 1fr; } .rsvp-search { max-width: none; } }
:root[data-theme="dark"] .reply.yes { background: #23382b; color: #9fd3b0; }
:root[data-theme="dark"] .reply.no { background: #2e2629; color: #c3b4ba; }

@media (max-width: 900px) {
  .how-step { grid-template-columns: 1fr; gap: 28px; }
  .how-step:nth-child(even) .how-visual { order: 0; }
  .how-steps { gap: 72px; }
}
@media (max-width: 560px) {
  .how-visual { min-height: 0; padding: 28px 14px; }
  .hide-sm { display: none; }
  .phone-fan .phone { --s: 0.28 !important; }
  .review-scene { flex-direction: column; gap: 16px; }
  .review-chat { margin: 0; width: 100%; }
  .review-chat .bubble { max-width: 80%; }
  .rsvp-dash { padding: 14px; }
  .mock-card { padding: 18px 14px; }
  .mock-packages .pkg-name small { display: block; width: fit-content; margin: 4px 0 0; }
  .dash-head { flex-direction: column; align-items: flex-start; }
}

/* ---------- CTA band ---------- */
.cta-band {
  text-align: center;
  padding: 60px 24px;
  border-radius: 32px;
  background: linear-gradient(135deg, var(--pink-200), var(--pink-100));
  position: relative;
  overflow: hidden;
}
.cta-band img { width: 70px; margin: 0 auto 14px; }
.cta-band p { color: var(--muted); margin: 12px auto 26px; max-width: 480px; }

/* ---------- Page header (inner pages) ---------- */
.page-head { padding: 56px 0 30px; text-align: center; }
.page-head .lead { margin: 12px auto 0; }

/* ---------- Design detail ---------- */
.breadcrumb { font-size: 0.88rem; color: var(--muted); margin: 26px 0 0; }
.breadcrumb a { color: var(--rose-dark); text-decoration: none; }
.detail { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 48px; padding: 30px 0 90px; align-items: start; }
.preview-panel {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 28px 16px;
  border-radius: 28px;
  background: linear-gradient(160deg, var(--pink-100), var(--pink-200));
  overflow: hidden;
}
.preview-stage { display: flex; justify-content: center; max-width: 100%; }
.preview-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.detail-info h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin: 6px 0 10px; }
.detail-info .tagline { font-size: 1.15rem; color: var(--muted); margin: 0 0 20px; }
.detail-info .desc { margin: 0 0 22px; }
.opening-note { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; background: var(--white); border: 1px solid var(--line); margin-bottom: 30px; font-size: 0.95rem; }
.opening-note b { color: var(--rose-dark); }
.palette-row { display: flex; align-items: center; gap: 12px; margin-bottom: 30px; color: var(--muted); font-size: 0.9rem; }
.palette-row .swatches i { width: 26px; height: 26px; margin-left: -6px; }
.palette-row .swatches i:first-child { margin-left: 0; }

.package-options { display: grid; gap: 12px; margin: 14px 0 22px; border: 0; padding: 0; }
.package-options legend { font-weight: 600; margin-bottom: 12px; }
.pkg {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 4px 14px;
  align-items: center;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1.5px solid var(--line);
  background: var(--white);
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.pkg:hover { border-color: var(--pink-400); }
.pkg input { accent-color: var(--rose); width: 18px; height: 18px; margin: 0; }
.pkg .pkg-name { font-weight: 600; }
.pkg .pkg-name small { margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: var(--gold-pale); color: var(--gold-dark); font-size: 0.72rem; font-weight: 600; }
.pkg .pkg-price { font: 500 1.3rem var(--display); }
.pkg .pkg-blurb { grid-column: 2 / 4; color: var(--muted); font-size: 0.88rem; }
.pkg:has(input:checked) { border-color: var(--rose); box-shadow: 0 0 0 3px var(--pink-200); }
.pkg-includes { margin: 0 0 26px; }
.pkg-includes h4 { margin: 0 0 10px; font-size: 0.95rem; }
.buy-row { display: flex; gap: 12px; flex-wrap: wrap; }
.buy-row .btn-primary { flex: 1; min-width: 200px; }

@media (max-width: 900px) {
  .detail { grid-template-columns: 1fr; gap: 30px; }
  .preview-panel { position: static; }
}

/* ---------- Design page: related designs ---------- */
.related { padding-bottom: 90px; }

/* ---------- Cart & checkout ---------- */
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; align-items: start; padding-bottom: 90px; }
.cart-list { display: grid; gap: 16px; }
.cart-item {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.cart-thumb { width: 96px; height: 120px; border-radius: 14px; overflow: hidden; background: var(--pink-100); position: relative; }
.cart-thumb iframe { width: 390px; height: 488px; border: 0; transform: scale(0.246); transform-origin: 0 0; pointer-events: none; }
.cart-item h3 { font-size: 1.2rem; }
.cart-item h3 a { text-decoration: none; }
.cart-item .line-price { font: 500 1.3rem var(--display); text-align: right; }
.cart-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 10px; font-size: 0.9rem; color: var(--muted); }
.select {
  appearance: none;
  padding: 8px 34px 8px 14px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 8l4 4 4-4' fill='none' stroke='%23a8435f' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") right 10px center / 16px no-repeat;
  font: 500 0.9rem var(--sans);
  color: var(--ink);
  cursor: pointer;
}
.summary {
  position: sticky;
  top: 96px;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.summary h2 { font-size: 1.5rem; margin-bottom: 18px; }
.summary-row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; color: var(--muted); font-size: 0.95rem; }
.summary-row.total { border-top: 1px dashed var(--line); margin-top: 8px; padding-top: 16px; color: var(--ink); font-weight: 600; font-size: 1.1rem; }
.summary .btn { margin-top: 18px; }
.summary .fine { margin: 14px 0 0; font-size: 0.82rem; color: var(--muted); text-align: center; }

.empty-state { text-align: center; padding: 50px 20px 90px; }
.empty-state img { width: 90px; margin: 0 auto 16px; opacity: 0.85; }
.empty-state p { color: var(--muted); margin: 10px 0 24px; }
.card.empty-state { padding: 40px 20px; }
.empty-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.empty-state .empty-note { margin: 28px auto 0; max-width: 420px; font-size: 0.92rem; }

@media (max-width: 900px) {
  .cart-layout { grid-template-columns: 1fr; }
  .summary { position: static; }
}
@media (max-width: 520px) {
  .cart-item { grid-template-columns: 72px 1fr; }
  .cart-thumb { width: 72px; height: 92px; }
  .cart-thumb iframe { transform: scale(0.185); }
  .cart-item .line-price { grid-column: 2; text-align: left; }
}

/* ---------- Forms ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
}
.form { display: grid; gap: 18px; }
.form h2 { font-size: 1.5rem; }
.form h2:not(:first-child) { margin-top: 10px; }
.details-form { max-width: 720px; margin: 0 auto 60px; }
.details-fields { display: grid; gap: 18px; min-width: 0; margin: 0; padding: 0; border: 0; }
.details-fields h3 { margin: 6px 0 -6px; font-size: 1.05rem; }
.details-fields h3 small { font: 400 0.85rem var(--sans); color: var(--muted); }
.details-fields .field > span > span { font-weight: inherit; }
.details-fields:disabled .input { opacity: 0.85; }
.details-form .notice a { color: inherit; text-decoration: underline; }
.req { color: var(--rose); font-weight: 700; }
.details-key { margin: 0; }
.details-group { display: grid; gap: 18px; min-width: 0; }
.details-group[hidden] { display: none; }
.details-back { justify-self: start; color: var(--muted); font-size: 0.9rem; }
.mock-form { display: grid; gap: 12px; }
.mock-form .mock-title { margin-bottom: 2px; }
.mock-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mock-field { display: grid; gap: 4px; font-size: 0.78rem; font-weight: 600; }
.mock-field i { padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; font-style: normal; font-weight: 400; font-size: 0.88rem; }
.mock-form .btn { margin-top: 4px; cursor: default; }
.field-note { margin: -6px 0 0; color: var(--muted); font-size: 0.9rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; font-size: 0.9rem; font-weight: 600; }
.field small { font-weight: 400; color: var(--muted); }
.input {
  width: 100%;
  padding: 13px 16px;
  border-radius: 14px;
  border: 1.5px solid var(--line);
  background: var(--pink-50);
  font: 400 1rem var(--sans);
  color: var(--ink);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.input:focus { outline: none; border-color: var(--rose); background: var(--white); box-shadow: 0 0 0 3px var(--pink-200); }
.acct-delete { margin: 26px 0 0; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.9rem; }
.pw-wrap { position: relative; display: block; }
.pw-wrap .input { width: 100%; padding-right: 68px; }
.pw-wrap .input::-ms-reveal { display: none; }
.pw-toggle { position: absolute; top: 50%; right: 6px; translate: 0 -50%; padding: 6px 10px; border: 0; border-radius: 8px; background: none; color: var(--rose-dark); font: 600 0.84rem var(--sans); cursor: pointer; }
.pw-toggle:hover { background: var(--pink-50); }
textarea.input { resize: vertical; min-height: 96px; }
.form-error { margin: 0; padding: 10px 14px; border-radius: 12px; background: var(--danger-bg); color: var(--danger); font-size: 0.9rem; }
.choice-list { display: grid; gap: 10px; border: 0; padding: 0; margin: 0; }
.choice-list legend { font-weight: 600; font-size: 0.9rem; margin-bottom: 8px; }
.choice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  cursor: pointer;
  background: var(--white);
}
.choice input { accent-color: var(--rose); margin-top: 3px; }
.choice span { display: grid; font-weight: 600; font-size: 0.95rem; }
.choice small { font-weight: 400; color: var(--muted); }
.choice:has(input:checked) { border-color: var(--rose); background: var(--pink-50); }
.choice:has(input:disabled) { opacity: 0.55; cursor: not-allowed; }

/* ---------- Account ---------- */
.auth-wrap { max-width: 460px; margin: 0 auto; padding: 56px 0 90px; }
.auth-wrap h1 { font-size: 2rem; text-align: center; margin-bottom: 18px; }
.auth-note { color: var(--muted); margin: 0 0 24px; }
.tabs + .form-error { margin-bottom: 16px; }
.auth-alt { margin: 16px 0 0; text-align: center; font-size: 0.92rem; }
.auth-logo { width: 64px; margin: 0 auto 10px; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 999px; background: var(--pink-100); margin-bottom: 24px; }
.tabs button { border: 0; background: none; padding: 10px; border-radius: 999px; font: 600 0.95rem var(--sans); color: var(--muted); cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--white); color: var(--rose-dark); box-shadow: 0 2px 8px -2px rgba(125, 41, 66, 0.22); }
.notice { padding: 12px 16px; border-radius: 14px; background: var(--pink-100); color: var(--rose-dark); font-size: 0.88rem; margin-bottom: 20px; }

.my-orders { max-width: 760px; margin: 0 auto 70px; }
.my-orders > h2 { font-size: 1.6rem; margin-bottom: 16px; }
.orders { display: grid; gap: 16px; }
.order { padding: 22px 24px; }
.order-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; }
.order-head h3 { font-size: 1.2rem; }
.order-head .date { color: var(--muted); font-size: 0.88rem; }
.status { padding: 4px 12px; border-radius: 999px; font-size: 0.78rem; font-weight: 600; background: #fff3dc; color: #9a6b12; }
.order-lines { list-style: none; margin: 0; padding: 0; border-top: 1px dashed var(--line); }
.order-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 0.95rem; }
.order-lines li span:last-child { white-space: nowrap; }
.order-foot { display: flex; justify-content: space-between; margin-top: 12px; font-weight: 600; }
.order-foot small { font-weight: 400; color: var(--muted); }

/* status colours (customer account + admin) */
[data-status="Paid"] { background-color: #e3f1e8; color: #2f6b4a; }
[data-status="In progress"] { background-color: #e6eefa; color: #34558a; }
[data-status="Ready for review"] { background-color: var(--pink-100); color: var(--rose-dark); }
[data-status="Completed"] { background-color: #dcefe3; color: #23593b; }
[data-status="Cancelled"] { background-color: #eeeaec; color: #6f6469; }
.chip[data-status] { background-color: var(--white); color: var(--muted); }
.chip[data-status][aria-pressed="true"] { background-color: var(--btn); color: var(--btn-text); }
.chip small { opacity: 0.7; margin-left: 4px; }

/* ---------- Admin ---------- */
.admin-link { color: var(--rose-dark) !important; font-weight: 600 !important; }
.list-note { color: var(--muted); text-align: center; padding: 30px 0; margin: 0; }
.status-select .select { font-weight: 600; border-color: transparent; }

/* ---------- Confirmation ---------- */

/* ---------- Footer ---------- */
.site-footer { background: var(--white); border-top: 1px solid var(--line); margin-top: 20px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; padding-top: 50px; padding-bottom: 36px; }
.footer-brand .logo-img { height: auto; width: 100%; max-width: 300px; }
.footer-brand p { color: var(--muted); margin: 12px 0 0; max-width: 280px; }
.site-footer h4 { margin: 4px 0 12px; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--rose); }
.site-footer a:not(.brand) { display: block; text-decoration: none; color: var(--muted); padding: 4px 0; }
.site-footer a:not(.brand):hover { color: var(--rose-dark); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 18px; padding-bottom: 26px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.85rem; }
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

.footer-soon { display: block; color: var(--muted); font-size: 0.92rem; padding: 4px 0; }

/* ---------- Back to top (bottom left) ---------- */
.to-top {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 45;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--rose-dark);
  box-shadow: var(--shadow);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s, transform 0.3s, visibility 0.3s, background 0.2s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--pink-100); }
.to-top svg, .chat-widget svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Chat assistant (bottom right) ---------- */
.chat-widget { position: fixed; right: 20px; bottom: 20px; z-index: 55; }
.chat-launcher {
  position: relative;
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--btn);
  color: var(--btn-text);
  cursor: pointer;
  box-shadow: 0 14px 28px -10px rgba(125, 41, 66, 0.6);
  transition: transform 0.2s, background 0.2s;
}
.chat-launcher:hover { transform: scale(1.06); background: var(--btn-hover); }
.chat-launcher svg { width: 30px; height: 30px; stroke: none; }
.chat-launcher .bubble { fill: #fff; }
.chat-launcher .dot { fill: var(--btn); transition: fill 0.2s; }
.chat-launcher:hover .dot { fill: var(--rose-dark); }
.chat-hint {
  position: absolute;
  right: 72px;
  top: 50%;
  transform: translateY(-50%);
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: var(--shadow);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
}
.chat-launcher:hover .chat-hint, .chat-launcher:focus-visible .chat-hint { opacity: 1; }
.chat-widget.open .chat-hint { display: none; }

.chat-panel {
  position: absolute;
  right: 0;
  bottom: 76px;
  width: 370px;
  height: min(560px, calc(100vh - 120px));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px -20px rgba(61, 43, 51, 0.4);
  animation: chat-in 0.25s ease;
}
@keyframes chat-in { from { opacity: 0; transform: translateY(12px) scale(0.98); } }
.chat-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: linear-gradient(135deg, var(--btn), var(--btn-hover));
  color: var(--btn-text);
}
.chat-head strong { display: block; font: italic 500 1.2rem var(--display); line-height: 1.1; }
.chat-head small { font-size: 0.78rem; opacity: 0.85; }
.chat-avatar { width: 40px; height: 40px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; background: var(--white); }
.chat-avatar img { width: 28px; }
.chat-close { margin-left: auto; width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.15); color: #fff; cursor: pointer; }
.chat-close:hover { background: rgba(255, 255, 255, 0.28); }

.chat-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--pink-50); }
.chat-msg { display: flex; flex-direction: column; gap: 8px; }
.chat-msg.you { align-items: flex-end; }
.chat-bubble {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 18px;
  font-size: 0.92rem;
  line-height: 1.5;
}
.chat-msg.bot .chat-bubble { background: var(--white); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.chat-msg.you .chat-bubble { background: var(--btn); color: var(--btn-text); border-bottom-right-radius: 6px; }
.chat-bubble ul, .chat-bubble ol { margin: 6px 0; padding-left: 20px; }
.chat-bubble li { margin: 2px 0; }
.chat-bubble a { color: var(--rose-dark); font-weight: 600; }
.chat-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chat-chip {
  padding: 7px 12px;
  border-radius: 999px;
  border: 1.5px solid var(--pink-300);
  background: var(--white);
  color: var(--rose-dark);
  font: 500 0.82rem var(--sans);
  cursor: pointer;
}
.chat-chip:hover { background: var(--pink-100); }
.typing { display: inline-flex; gap: 4px; padding: 14px; }
.typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--pink-400); animation: dot 1s infinite ease-in-out; }
.typing span:nth-child(2) { animation-delay: 0.15s; }
.typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes dot { 40% { transform: translateY(-4px); opacity: 0.6; } }

.chat-input { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: var(--white); }
.chat-input input {
  flex: 1;
  min-width: 0;
  padding: 11px 14px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--pink-50);
  font: 400 0.95rem var(--sans);
  color: var(--ink);
}
.chat-input input:focus { outline: none; border-color: var(--rose); background: var(--white); }
.chat-input button { width: 44px; height: 44px; flex-shrink: 0; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--btn); color: var(--btn-text); cursor: pointer; }
.chat-input button:hover { background: var(--btn-hover); }

@media (max-width: 520px) {
  .chat-widget { right: 14px; bottom: 14px; }
  .to-top { left: 14px; bottom: 16px; }
  .chat-panel { position: fixed; left: 10px; right: 10px; bottom: 84px; width: auto; height: min(560px, calc(100svh - 110px)); }
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 60;
  max-width: calc(100% - 32px);
  padding: 14px 20px;
  border-radius: 16px;
  background: var(--ink);
  color: var(--pink-50);
  font-size: 0.95rem;
  box-shadow: 0 16px 30px -12px rgba(61, 43, 51, 0.5);
  transform: translate(-50%, 140%);
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }
.toast a { color: var(--gold); font-weight: 600; margin-left: 6px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Admin dashboard ---------- */
.is-admin .cart-btn, .is-admin .chat-widget { display: none; }
.admin-shop { display: none; font-size: 0.88rem; color: var(--muted); text-decoration: none; white-space: nowrap; }
body[data-page="admin"].is-admin .admin-shop { display: inline; }
body[data-page="admin"].is-admin .main-nav > a:not(.admin-link) { display: none; }
.is-admin .footer-account { display: none; }
.dash-locked { overflow: hidden; }
.acct-menu { position: fixed; z-index: 70; width: 260px; padding: 8px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 44px rgba(0, 0, 0, 0.3); }
.acct-menu[hidden] { display: none; }
.acct-who { margin-bottom: 6px; padding: 10px 12px 12px; border-bottom: 1px solid var(--line); }
.acct-who b { display: block; font-weight: 600; }
.acct-who small { display: block; color: var(--muted); font-size: 0.82rem; overflow-wrap: anywhere; }
.acct-menu button, .acct-menu a { display: block; box-sizing: border-box; width: 100%; padding: 10px 12px; border: 0; border-radius: 10px; background: none; color: var(--ink); font: inherit; font-size: 0.92rem; text-align: left; text-decoration: none; cursor: pointer; }
.acct-menu button:hover, .acct-menu a:hover { background: var(--pink-100); }
.dash-form { align-self: stretch; gap: 14px; }
.dash-form .btn { justify-self: start; }
#admin-root { max-width: 1320px; }
.dash { padding: 28px 0 70px; }
.dash-title { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin-bottom: 18px; }
.dash-title h1 { margin: 0; font: 500 2.1rem var(--display); }
.dash-title span { color: var(--muted); font-size: 0.92rem; }

/* each card has its own colour, in both light and dark mode */
.tone-rose { --tone: 201, 90, 120; }
.tone-gold { --tone: 196, 150, 70; }
.tone-lilac { --tone: 130, 110, 190; }
.tone-sage { --tone: 110, 150, 105; }
.dash-card, .dash-stat {
  background: linear-gradient(rgba(var(--tone), 0.1), rgba(var(--tone), 0.1)), var(--white);
  border: 1px solid rgba(var(--tone), 0.35);
  border-top: 3px solid rgb(var(--tone));
  border-radius: 16px;
}
.dash-card { min-width: 0; padding: 18px 20px; scroll-margin-top: 90px; }
.dash-card h2 { margin: 0 0 4px; font: 500 1.25rem var(--display); }
.dash-card > p { margin: 0 0 12px; color: var(--muted); font-size: 0.86rem; }

/* the alert: gently pulses while anything is urgent */
.dash-alert { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-bottom: 14px; padding: 12px 18px; border: 1px solid var(--danger); border-radius: 14px; background: var(--danger-bg); color: var(--ink); font-size: 0.92rem; text-decoration: none; animation: dash-glow 1.8s ease-in-out infinite; }
.dash-alert strong { color: var(--danger); }
.dash-ping { position: relative; display: inline-block; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--danger); }
.dash-ping::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--danger); animation: dash-ping 1.6s ease-out infinite; }
@keyframes dash-ping { from { transform: scale(1); opacity: 0.75; } to { transform: scale(3); opacity: 0; } }
@keyframes dash-glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(180, 67, 78, 0); } 50% { box-shadow: 0 0 0 5px rgba(180, 67, 78, 0.22); } }

.dash-summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 18px; }
.dash-stat { display: block; padding: 15px 18px; color: inherit; font: inherit; text-align: left; text-decoration: none; }
button.dash-stat, a.dash-stat { cursor: pointer; }
button.dash-stat:hover, a.dash-stat:hover { filter: brightness(1.08); }
.dash-stat small, .dash-stat em { display: block; color: var(--muted); font-size: 0.82rem; font-style: normal; }
.dash-stat strong { display: block; font: 500 2rem/1.25 var(--display); }
.dash-stat.is-hot { border-color: var(--danger); animation: dash-glow 1.8s ease-in-out infinite; }
.dash-stat.is-hot em { color: var(--danger); font-weight: 600; }

.dash-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 18px; align-items: start; margin-bottom: 18px; }
.dash-tasks, .dash-weddings { list-style: none; margin: 0; padding: 0; }
.dash-task { display: grid; grid-template-columns: 170px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 11px 0; border-top: 1px solid var(--line); }
.dash-task.is-urgent { margin: 0 -10px; padding: 11px 10px; border-radius: 12px; background: rgba(180, 67, 78, 0.1); border-top-color: transparent; }
.dash-tags { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.dash-tag { display: inline-flex; align-items: center; gap: 7px; padding: 3px 10px; border-radius: 999px; font-size: 0.74rem; font-weight: 600; white-space: nowrap; }
.tag-pay { background: rgba(201, 90, 120, 0.18); color: var(--rose); }
.tag-start { background: rgba(196, 150, 70, 0.2); color: var(--gold-dark); }
.tag-chase { background: rgba(133, 118, 111, 0.2); color: var(--muted); }
.tag-urgent { background: #b4434e; color: #fff; }
.tag-urgent .dash-ping, .tag-urgent .dash-ping::after { background: #fff; }
.dash-who, .dash-wedding { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.dash-who b, .dash-wedding b { font-weight: 600; }
.dash-who small, .dash-wedding small, .dash-orders-table small { display: block; color: var(--muted); font-size: 0.8rem; }
.dash-acts { display: flex; flex-wrap: wrap; gap: 6px; }
.dash-wedding { display: flex; gap: 12px; align-items: center; width: 100%; padding: 10px 0; border-top: 1px solid var(--line); font-size: 0.9rem; }
.dash-wedding time { flex: none; width: 46px; text-align: center; font: 500 1.15rem/1.05 var(--display); }
.dash-wedding time small { font: 500 0.66rem var(--sans); letter-spacing: 0.1em; text-transform: uppercase; }

.dash-pipe { display: grid; grid-template-columns: repeat(7, 1fr); margin: 10px 0 12px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.dash-pipe button { padding: 9px 10px; border: 0; border-left: 1px solid var(--line); background: none; color: var(--muted); font: inherit; font-size: 0.78rem; line-height: 1.25; text-align: left; cursor: pointer; }
.dash-pipe button:first-child { border-left: 0; }
.dash-pipe b { display: block; color: var(--ink); font: 500 1.15rem var(--display); }
.dash-pipe button[aria-pressed="true"] { background: var(--pink-200); color: var(--ink); }
.dash-tools { display: flex; gap: 10px; margin-bottom: 6px; }
.dash-tools .input { flex: 1; min-width: 0; background: var(--white); }
.dash-tools .select { flex: none; width: auto; background-color: var(--white); }
.dash-orders-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.dash-orders-table th { padding: 10px 8px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 0.76rem; font-weight: 500; text-align: left; white-space: nowrap; }
.dash-orders-table td { padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.dash-orders-table tbody tr:last-child td { border-bottom: 0; }
.dash-orders-table tbody tr { cursor: pointer; }
.dash-orders-table tbody tr:hover, .dash-orders-table tbody tr.is-open { background: rgba(var(--tone), 0.12); }
.dash-orders-table .num { text-align: right; font-weight: 600; }
.dash-orders-table td:first-child { white-space: nowrap; }
.dash-orders-table .on-phone { display: none; }
.dash-dot { display: inline-flex; align-items: center; gap: 6px; font-size: 0.84rem; white-space: nowrap; }
.dash-dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.dash-dot.ok::before { background: #6f9b5f; }
.dash-dot.part::before { background: var(--gold); }
.dash-orders-table .status-select .select { padding-top: 6px; padding-bottom: 6px; font-size: 0.8rem; }

.dash-veil { position: fixed; inset: 0; z-index: 60; background: rgba(10, 6, 7, 0.45); }
.dash-panel { position: fixed; top: 0; right: 0; bottom: 0; z-index: 61; display: flex; flex-direction: column; align-items: flex-start; width: 460px; max-width: 100%; padding: 22px 24px 30px; overflow: auto; background: var(--white); border-left: 1px solid var(--line); box-shadow: -20px 0 50px rgba(0, 0, 0, 0.3); animation: dash-in 0.2s ease-out; }
.dash-panel[hidden], .dash-veil[hidden] { display: none; }
@keyframes dash-in { from { transform: translateX(40px); opacity: 0; } }
.dash-panel-top { display: flex; align-self: stretch; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.dash-panel-top small { color: var(--muted); font-size: 0.82rem; }
.dash-panel-top h2 { margin: 2px 0 0; font: 500 1.55rem var(--display); }
.dash-close { flex: none; width: 34px; height: 34px; border: 0; border-radius: 50%; background: var(--pink-100); color: var(--ink); font-size: 1.3rem; line-height: 1; cursor: pointer; }
.dash-panel .dash-acts { margin-top: 12px; }
.dash-panel h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 20px 0 6px; color: var(--muted); font: 600 0.76rem var(--sans); letter-spacing: 0.1em; text-transform: uppercase; }
.dash-panel h3 .dash-dot { font-weight: 400; letter-spacing: 0; text-transform: none; }
.dash-panel dl { display: grid; grid-template-columns: 124px 1fr; gap: 6px 10px; align-self: stretch; margin: 0; font-size: 0.9rem; }
.dash-panel dt { color: var(--muted); }
.dash-panel dd { margin: 0; overflow-wrap: anywhere; }
.dash-panel .list-note { margin: 0; text-align: left; }

@media (prefers-reduced-motion: reduce) {
  .dash-alert, .dash-stat.is-hot, .dash-ping::after, .dash-panel { animation: none; }
}
@media (max-width: 980px) {
  .dash-grid { grid-template-columns: 1fr; }
  .dash-summary { grid-template-columns: 1fr 1fr; }
  .dash-task { grid-template-columns: 1fr; gap: 8px; }
  .dash-tags { flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 720px) {
  .dash-pipe { grid-template-columns: repeat(3, 1fr); }
  .dash-pipe button:nth-child(3n + 1) { border-left: 0; }
  .dash-pipe button:nth-child(n + 4) { border-top: 1px solid var(--line); }
  .dash-tools { flex-wrap: wrap; }
  .dash-tools .input { flex-basis: 100%; }
  .dash-orders-table thead, .dash-orders-table .off-phone { display: none; }
  .dash-orders-table .on-phone { display: block; }
  .dash-orders-table td { padding: 10px 4px; }
  .dash-panel { width: 100%; }
}

/* ---------- Payment page ---------- */
.pf { max-width: 600px; margin: 0 auto; padding: 22px 0 70px; }
.pf h1 { margin: 0; font: 500 2rem var(--display); text-align: center; }
.pf h1 em { color: var(--rose); }
.pf-back { display: inline-block; margin-bottom: 12px; padding: 0; border: 0; background: none; color: var(--muted); font: inherit; font-size: 0.9rem; text-decoration: none; cursor: pointer; }
.pf-steps { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 20px; color: var(--muted); font-size: 0.8rem; }
.pf-steps b { display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 5px; border: 1px solid var(--line); border-radius: 50%; font-size: 0.72rem; font-weight: 600; }
.pf-steps i { width: 22px; height: 1px; background: var(--line); }
.pf-steps .on { color: var(--ink); font-weight: 600; }
.pf-steps .on b { background: var(--btn); border-color: var(--btn); color: var(--btn-text); }
.pf-steps .done b { background: #5f8f5f; border-color: #5f8f5f; color: #fff; }
.pf-lead { margin: 6px 0 18px; color: var(--muted); text-align: center; }
.pf-card { display: grid; gap: 14px; padding: 20px; background: var(--white); border: 1px solid var(--line); border-radius: 20px; }
.pf-amount { display: flex; align-items: baseline; justify-content: space-between; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.pf-amount small { color: var(--muted); }
.pf-amount strong { font: 500 1.8rem var(--display); }
.pf-qr { justify-self: center; margin: 0; text-align: center; }
.pf-qr img { display: block; width: 210px; height: 210px; padding: 10px; background: #fff; border-radius: 14px; image-rendering: pixelated; }
.pf-qr figcaption { margin-top: 6px; color: var(--muted); font-size: 0.8rem; }
.pf-or { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 0.78rem; }
.pf-or::before, .pf-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.pf-rows { display: grid; grid-template-columns: auto 1fr; gap: 7px 16px; margin: 0; font-size: 0.94rem; }
.pf-rows dt { color: var(--muted); }
.pf-rows dd { margin: 0; overflow-wrap: anywhere; }
.pf-copy { margin-left: 4px; padding: 2px 10px; background: none; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); font: inherit; font-size: 0.76rem; cursor: pointer; }
.pf-upload { display: grid; gap: 8px; padding-top: 14px; border-top: 1px solid var(--line); }
.pf-upload label { cursor: pointer; }
.pf-upload label.is-busy { opacity: 0.6; pointer-events: none; }
.pf-upload small { color: var(--muted); font-size: 0.78rem; text-align: center; }
.pf-note { margin: 0; font-size: 0.92rem; }
.pf-note.is-ok { color: #4d8a4f; font-weight: 600; }
.pf-note.is-warn { color: var(--danger); font-weight: 600; }
.pf-cancel { display: block; margin: 14px auto 0; padding: 0; background: none; border: 0; color: var(--muted); font: inherit; font-size: 0.88rem; text-decoration: underline; cursor: pointer; }
.pf-veil { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 16px; background: rgba(10, 6, 7, 0.6); }
.pf-veil[hidden] { display: none; }
.pf-pop { width: 100%; max-width: 380px; padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: 20px; text-align: center; }
.pf-pop h2 { margin: 0 0 6px; font: 500 1.5rem var(--display); }
.pf-pop p { margin: 0 0 16px; color: var(--muted); font-size: 0.92rem; }
.pf-pop .form-error { color: var(--danger); text-align: left; }
.pf-pop-actions { display: grid; gap: 8px; }
.pf-tick { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 12px; background: #5f8f5f; border-radius: 50%; color: #fff; font-size: 1.6rem; font-weight: 700; animation: pf-pop 0.35s ease-out; }
@keyframes pf-pop { from { transform: scale(0.4); opacity: 0; } }
.pf-danger { background: none; border: 1px solid var(--danger); color: var(--danger); }
.pf-thanks { text-align: center; }
.pf-lily { display: block; width: 64px; height: 64px; margin: 0 auto 6px; }
.pf-order { display: inline-block; margin-bottom: 18px; padding: 6px 14px; background: var(--pink-100); border-radius: 999px; font-size: 0.86rem; font-weight: 600; }
.pf-next { display: grid; gap: 10px; padding: 24px 22px; background: linear-gradient(rgba(201, 90, 120, 0.14), rgba(201, 90, 120, 0.14)), var(--white); border: 2px solid var(--rose); border-radius: 20px; animation: pf-draw 1.8s ease-in-out infinite; }
@keyframes pf-draw { 0%, 100% { box-shadow: 0 0 0 0 rgba(201, 90, 120, 0); } 50% { box-shadow: 0 0 0 7px rgba(201, 90, 120, 0.2); } }
.pf-next > em { justify-self: center; padding: 3px 12px; background: var(--btn); border-radius: 999px; color: var(--btn-text); font-size: 0.72rem; font-style: normal; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.pf-next h2 { margin: 0; font: 500 1.5rem var(--display); }
.pf-next p { margin: 0; color: var(--muted); font-size: 0.92rem; }
.pf-next .btn { justify-self: center; margin-top: 6px; padding: 15px 34px; font-size: 1.05rem; }
.pf-list { display: grid; gap: 7px; margin: 18px 0 0; padding: 0; color: var(--muted); font-size: 0.88rem; list-style: none; text-align: left; }
.pf-list b { margin-right: 6px; color: #6f9b5f; }
.pf-later { display: inline-block; margin-top: 16px; color: var(--muted); font-size: 0.88rem; }
@media (prefers-reduced-motion: reduce) { .pf-next, .pf-tick { animation: none; } }
.dash-note { margin: 0 0 8px; font-size: 0.88rem; color: var(--muted); }
